#silverstripe IRC Log

IRC log for 18 November 2014

All timestamps are in UTC.

1: [00:00:32] <Stomach> novaweb - that code doesn't work at all anymore
2: [00:00:39] <Stomach> still using prototype.js :\
3: [00:00:49] <novaweb> gaybots.
4: [00:01:04] <novaweb> is that in swears ;p
5: [00:09:56] <Ryan-Toast> novaweb: I don’t think so, you drity bastard slut.
6: [00:10:13] <simon_w|work> Oh no, what have I started?
7: [00:10:17] <simon_w|work> Whatever it is, I approve :p
8: [00:10:44] <Ryan-Toast> Pyro still dominates the majority of them, twat.
9: [00:11:49] <novaweb> Ryan-Toast. Well that's just shittastic.
10: [00:13:34] * guci0 quit (Ping timeout: 246 seconds)
11: [00:13:52] <simon_w|work> I really need to get the username grouping done
12: [00:13:59] * simon_w|work wants to start winning more of these :p
13: [00:14:50] * simon_w|work would also like to see more MRs then there are projects
14: [00:15:36] <simon_w|work> Ooh, and new features come out next week :D
15: [00:23:16] * Kingy is now known as Kingy[a]
16: [00:25:39] <harold_> guys can I ask for your feedback on a site I'm building
17: [00:29:07] * Kingy[a] is now known as Kingy
18: [00:29:13] <novaweb> shoot
19: [00:29:36] <harold_> http://www.lewishamplumber.com/
20: [00:31:03] <novaweb> All looks great... your graphic in the footer is not responsive though (the one with the big blue background)
21: [00:31:29] <simon_w|work> harold_, the second image in the carousal is a different size to the other two
22: [00:31:30] <novaweb> honestly I'd just delete that from the template and put the business name and contact details in thefooter by your copyright statement
23: [00:31:30] * Tanger has joined #silverstripe
24: [00:31:41] <simon_w|work> Also, you can read things before the custom font loads! Yay!
25: [00:31:58] <harold_> thanks.. the imgaes in the carousel are temporary
26: [00:32:08] <harold_> and the footer i'm not happy with
27: [00:32:19] <simon_w|work> harold_, assuming their image objects, use SetSize instead of CroppedImage
28: [00:32:22] <simon_w|work> *they're
29: [00:32:25] <harold_> I put it together a few months ago and had been waiting for some decent SERP
30: [00:32:41] <harold_> got it on the first page for Lewisham Plumber - so need ot get my act togehter
31: [00:32:51] <novaweb> for SEO reasons, you should have a "Plumbing" page too.
32: [00:33:07] <harold_> simon_w|work: thnaks
33: [00:33:31] <harold_> the content is far form complete
34: [00:33:36] <harold_> lots of pages to add yet
35: [00:33:41] <novaweb> and add "Plumbers in [Name of City] in your title tag
36: [00:33:42] <novaweb> :)
37: [00:33:48] <simon_w|work> (or the other way around. Which ever one actually ensures it's that size)
38: [00:34:38] <harold_> but you're right I need a Plumbing page - even if the subject is covered in other sections it owuld be god to have a Plumbing page as food for the spider!
39: [00:34:53] <novaweb> yeep
40: [00:36:01] <simon_w|work> mmm, spiders
41: [00:37:12] <harold_> been using CakePHP for the past 4 or 5 months - so gotta familiarise myself with SS again
42: [00:40:34] * Azure has joined #silverstripe
43: [00:41:35] * camfindlay has joined #silverstripe
44: [00:41:47] <harold_> Thank you for your help
45: [00:42:26] <harold_> I'm off for some R&A - been at the desk over 12 hours!
46: [00:42:40] * novaweb o/
47: [00:44:14] <Stomach> novaweb - hows the CMS htmleditor coming along
48: [00:45:16] <novaweb> Stomach - it's not. I rolled back to the pastie I showed you, then tried HtmlConfigEditor::set($configIWant) in a bunch of different places
49: [00:45:28] <novaweb> it either renders our primary config
50: [00:45:32] <novaweb> or the one I set up
51: [00:45:39] <Stomach> balls.
52: [00:45:46] <novaweb> or the default tinymce
53: [00:46:15] <novaweb> yeah :/ If I could see logs from yesty i'd be able to find out who helped me getting started on this approach
54: [00:46:32] <novaweb> I'll see if it's in my chat history
55: [00:46:35] <Stomach> im guessing its due to the static being evaluated late in the lifecycle when include_js is called
56: [00:46:49] <novaweb> yeah it seems to be a caching thing also
57: [00:46:55] <novaweb> the behaviour is intimittend
58: [00:46:56] <novaweb> t
59: [00:46:59] <novaweb> blah
60: [00:47:12] <novaweb> intermittent
61: [00:47:21] <novaweb> I should go to lunch soon :p
62: [00:48:35] <novaweb> this was the advice: HtmlEditorConfig::set_active('superspecial'); $fields->push(new HtmlEditorField('blah')); HtmlEditorConfig::set_active('default');
63: [00:48:51] <novaweb> you can't attach a particular config to a particular field, you have to tell it to use config B, add the field, then set it back to using config A (or all future fields will use B as well)
64: [00:51:01] * harold_ quit (Ping timeout: 246 seconds)
65: [00:51:10] <Stomach> hmmm
66: [00:51:25] <novaweb> i'll try push instead of addfieldtotab
67: [00:51:42] * UncleCheese has joined #silverstripe
68: [00:52:06] <novaweb> perhaps UncleCheese has experience in this ;p
69: [00:52:20] <UncleCheese> stealing from old people?
70: [00:52:22] <UncleCheese> a bit
71: [00:52:37] <Olliepop> "We’re pleased to announce that @AndrewLittleMP is Labour’s new Leader. Congratulations Andrew!" - https://twitter.com/nzlabour/status/534507611110899713
72: [00:54:58] <JeremyRoundill> It was pretty obvious he had it in the bag.
73: [00:55:09] <JeremyRoundill> Same with the previous one that Cunliffe won.
74: [00:55:21] <novaweb> UncleCheese, I'm trying to run two HtmlEditorConfigs on one site at the same time.
75: [00:55:35] <UncleCheese> not support at this time
76: [00:55:53] <novaweb> Is there a hacky way to do it?
77: [00:56:29] <UncleCheese> not really
78: [00:56:40] <UncleCheese> all that ->get('cms') stuff is just future proofing
79: [00:56:44] <UncleCheese> there's really only one config
80: [00:56:52] <UncleCheese> so any changes you make have a global effect
81: [00:56:55] <novaweb> ok so nothing like this will work: http://pastie.org/private/vi21ejx7umh5igxpvbfleg
82: [00:57:20] <novaweb> 4-28 first config
83: [00:57:30] <novaweb> 30-35 second config
84: [00:57:50] <novaweb> line 47 and 51 "switching" the configs
85: [00:58:13] <JeremyRoundill> novaweb: You can do it with Javascript.
86: [00:58:29] <JeremyRoundill> You can modify the editors after they've been created.
87: [00:58:36] * antmas has joined #silverstripe
88: [00:58:48] <novaweb> Ok Jeremy. Just using jQuery to target the frame and remove the elements by id or something?
89: [00:58:49] <JeremyRoundill> It's super hacky, but doable.
90: [00:58:55] * AdriAn_s has joined #silverstripe
91: [00:59:00] <JeremyRoundill> I think that's how I did it.
92: [00:59:06] <JeremyRoundill> But I did do it with CKEditor.
93: [00:59:21] <novaweb> churp, will do that so this task is not a complete failure. churp to the urp!
94: [00:59:58] <JeremyRoundill> TinyMCE should have an API you can manipulate the fields with.
95: [01:00:28] <JeremyRoundill> You should be able to get it pretty smooth, but the code will be a bit of a hack.
96: [01:00:35] <antmas> "too little, too late"
97: [01:00:41] * UncleChe_ has joined #silverstripe
98: [01:00:44] <JeremyRoundill> Yup.
99: [01:00:57] * UncleCheese quit (Ping timeout: 240 seconds)
100: [01:01:00] <UncleChe_> novaweb that HtmlEditorConfig::get() isn't going to do shit
101: [01:01:06] <antmas> tbf he's prolly the best candidate out of the lot
102: [01:01:11] <AdriAn_s> hey guys. Just wondering what the best way is to handle linking to dataobjects. I dont want to do 'page_name/view/ID' where ID is the ID of the dataobject as it is not very SEO friendly. Is there a way to get links to dataobjects that work the same as pages so is page_name/certain_data_object_name.
103: [01:01:14] <novaweb> considering tinymce is compiled in to the ss framework, that approach may be a bit complex for me. i'll just do it with jQuery
104: [01:01:20] <UncleChe_> exactly
105: [01:01:32] <UncleChe_> you only need htmleditorfield if you want to use the core ss stuff, like adding files, etc
106: [01:01:37] <UncleChe_> or links
107: [01:01:39] <JeremyRoundill> AdriAn_s: set up routes in your config.yml
108: [01:02:11] <novaweb> AdrAn_s - I have done it on one of my projects. I'll just go through git and find it.
109: [01:02:15] * antmas quit (Client Quit)
110: [01:03:09] <AdriAn_s> i believe SS tracks changes in URLs of pages and updates links in content if they change and will redirect to the new URL if needed. will either of these methods handle this as well?
111: [01:03:50] <novaweb> You'd need to write a custom onBeforeWrite for my approach to auto update
112: [01:04:18] <JeremyRoundill> And mine would be the same.
113: [01:04:35] <novaweb> Just preparing a pastie for you now
114: [01:04:59] <JeremyRoundill> Unless you're generating urls on the fly rather from in a Content field.
115: [01:05:04] <Stomach> UncleChe_ - thats a shame seeing as you could do it in 2.4
116: [01:05:08] <JeremyRoundill> *rather than
117: [01:05:51] <UncleChe_> Stomach false
118: [01:06:00] <AdriAn_s> cheers guys.
119: [01:06:14] <AdriAn_s> there could be links in content fields
120: [01:06:29] <Stomach> UncleChe_ - whats this then: https://github.com/silverstripe-labs/silverstripe-recipes/blob/master/forms/CustomConfigHtmlEditorField.php
121: [01:07:15] <UncleChe_> Stomach a workaround :)
122: [01:07:28] <Stomach> yeah but it was doable :P
123: [01:07:39] <JeremyRoundill> Should be doable in the same way.
124: [01:07:42] * antmas has joined #silverstripe
125: [01:07:44] <JeremyRoundill> That's a JS hack.
126: [01:07:45] <UncleChe_> it still should be if you're willing to make a heroic effort like that
127: [01:07:57] * Stomach goes into hero mode
128: [01:08:01] <JeremyRoundill> Pretty much what I was suggesting :)
129: [01:08:04] <UncleChe_> well one obvious problem is that Behaviour.register is gone
130: [01:08:10] <Stomach> yeah :(
131: [01:08:14] <UncleChe_> so that would all have to be converted to Entwine
132: [01:09:04] <Stomach> and UncleChe_ you had SimpleHTMLEditor and HTMLEditor in 2.4
133: [01:09:06] <Stomach> so hah
134: [01:09:07] <Stomach> :D
135: [01:09:19] <UncleChe_> right, that was my original suggestion
136: [01:09:28] <UncleChe_> just circumvent the core SS editor
137: [01:09:37] <UncleChe_> it's too monolithic and beastly
138: [01:10:04] <novaweb> AdriAn_s http://pastie.org/private/lxunlfl4mavcpuj1wqvxq
139: [01:10:25] <novaweb> thats the file that needs an on after write
140: [01:11:45] <Stomach> oooo https://github.com/nathancox/silverstripe-customhtmleditorfield
141: [01:12:38] <AdriAn_s> cheers novaweb. what needs to be in the on after write then>
142: [01:12:39] <AdriAn_s> ?
143: [01:12:48] <novaweb> and http://pastie.org/private/gpzoiu7pjjg8t0cza4jvw
144: [01:13:38] <novaweb> onBeforeWrite needs to update the URLSegment field in the database if your dataobject name/title changes - i'd assume
145: [01:14:00] * UncleChe_ quit (Ping timeout: 250 seconds)
146: [01:15:28] <AdriAn_s> ah fair call
147: [01:15:46] <AdriAn_s> so no need for any routes in config.yml then?
148: [01:15:59] <novaweb> I don't have any set up on that project
149: [01:16:19] <novaweb> this was written pre .yml files, but still works using 3.1.X
150: [01:19:06] <novaweb> someone yesterday helped me getting custom javascript working in the cms, using some sort of use_custom_javascript call from config.yml
151: [01:19:21] <novaweb> can someone please clarify how I do that or direct me to the appropriate page?
152: [01:19:43] <Kingy> after I do $blah->write(); how can I get the ID?
153: [01:19:50] <novaweb> use_custom_javascript is not the exact call - I forgot what it was.
154: [01:21:07] * _muskie9_ is now known as muskie9
155: [01:21:14] <AdriAn_s> ritio il get thhis thing happening
156: [01:21:19] <AdriAn_s> thanks for the help
157: [01:21:28] <novaweb> cool
158: [01:21:59] <novaweb> find my website and email me if you need additional instruction. i'll give you the raw files and you can go from there
159: [01:22:11] <Stomach> novaweb -
160: [01:22:22] <Stomach> LeftAndMain: extra_requirements_javascript: '/path/to/file'
161: [01:22:27] <novaweb> Churp!
162: [01:22:37] <novaweb> I will add this to the doc page now.
163: [01:23:02] <Stomach> also novaweb try this out https://github.com/nathancox/silverstripe-customhtmleditorfield
164: [01:23:15] <pippy> Olliepop: boo andrew little :(
165: [01:23:52] <novaweb> chur stomach
166: [01:26:19] <Stomach> hmm doesnt seem to work either
167: [01:26:34] <novaweb> Boobs.. you just tried it?
168: [01:26:53] <Stomach> yeah am having a paly
169: [01:26:55] <Stomach> play *
170: [01:27:22] * cloph is now known as cloph_away
171: [01:30:18] * Liquide has joined #silverstripe
172: [01:33:47] * muskie9 is now known as _muskie9_
173: [01:41:07] <Kingy> So I have an Article model. It has a has_many "AccessProducts" => "Product"
174: [01:41:35] <Kingy> if I'm manually adding an article ($article = new Article()) how can I add in a bunch of AccessProducts?
175: [01:42:00] <JeremyRoundill> $article->AccessProducts()->add() I think
176: [01:42:01] <Kingy> is it just $article->AccessProducts = array()?
177: [01:42:02] <JeremyRoundill> Gimme a sec
178: [01:44:02] * antmas has a heart attack
179: [01:44:08] <antmas> FUCKING FIRE ALARM TESTING o.O
180: [01:44:16] <Snowman23> lol
181: [01:44:31] <JeremyRoundill> Yeah, I think I'm right there, Kingy.
182: [01:44:44] <JeremyRoundill> $product = new Product();
183: [01:44:54] <JeremyRoundill> $article->AccessProducts()->add($product);
184: [01:44:54] <Kingy> don't want to add new product
185: [01:44:59] <Kingy> one already existing
186: [01:45:03] <Kingy> so i'll need to fetch that?
187: [01:45:24] <Kingy> can't just cheat and put ProductID in the add :P?
188: [01:45:29] <JeremyRoundill> $product = Product::get()->filter('name'='product1');
189: [01:45:31] <JeremyRoundill> $article->AccessProducts()->add($product);
190: [01:45:46] <JeremyRoundill> Might be able to.
191: [01:45:46] <Kingy> yep thought so. thanks champ!
192: [01:45:52] <JeremyRoundill> I can't remember.
193: [01:45:59] <Kingy> can't hurt to try :)
194: [01:46:02] <JeremyRoundill> I get all confused between Laravel and SilverStripe with relationships. :D
195: [01:49:10] <Stomach> novaweb - got it working :D
196: [01:50:31] * mahfuz quit (Ping timeout: 246 seconds)
197: [01:53:17] <Stomach> novaweb - http://pastie.org/private/quua6eruivqpzospotesw
198: [01:53:51] <JeremyRoundill> Dude, that's cool.
199: [01:54:00] <JeremyRoundill> Way more elegant than that 2.4 solution
200: [01:54:22] <Kingy> JeremyRoundill: Fatal error: Call to a member function add() on a non-object :|
201: [01:54:45] <JeremyRoundill> Dag, yo
202: [01:54:47] <Stomach> JeremyRoundill - its using this https://github.com/nathancox/silverstripe-customhtmleditorfield
203: [01:54:58] <Stomach> which is basically the 2.4 stuff :P
204: [01:55:08] <JeremyRoundill> :)
205: [01:55:09] <Stomach> wheres UncleCheese when I need to gloat
206: [01:55:41] <simon_w|work> On the toilet
207: [01:55:54] * simon_w|work can think of no other reason why he wouldn't be on IRC
208: [01:56:44] <novaweb> Shot Stomach!
209: [01:56:52] <novaweb> is that using the nathancox module?
210: [01:57:05] <JeremyRoundill> Kingy, sure Article has_many AccessProducts? :P
211: [01:57:22] <novaweb> yep it is
212: [01:57:22] <novaweb> shot
213: [01:57:39] <Kingy> ah wait it's many many
214: [01:57:46] <JeremyRoundill> Kingy: That should still work fine
215: [01:57:52] <JeremyRoundill> Pastebin it
216: [01:57:53] <Kingy> fff
217: [01:58:04] <Kingy> rodger
218: [01:58:16] <Stomach> novaweb - yea
219: [01:59:57] <Kingy> JeremyRoundill: http://www.sspaste.com/paste/show/546aa2f359c11
220: [02:00:09] <Kingy> dano if you need any more info than that lol
221: [02:00:50] <antmas> Ryan-Toast: you heard this? https://www.youtube.com/watch?v=cblCg4AzMAE
222: [02:01:07] <Ryan-Toast> antmas: yarp, good song :)
223: [02:01:24] <JeremyRoundill> Kingy: You didn't copy my code, silly-billy.
224: [02:01:30] <JeremyRoundill> Kingy: You're missing some parens.
225: [02:01:36] <antmas> Ryan-Toast: awesome beat eh
226: [02:01:45] <JeremyRoundill> $article->AccessProducts()->add($product);
227: [02:01:45] <antmas> JeremyRoundill: ^^^
228: [02:01:54] <Kingy> dawwww
229: [02:02:14] <JeremyRoundill> More Rat Trap :O
230: [02:02:27] <antmas> JeremyRoundill: :P
231: [02:05:33] <Kingy> lol ok JeremyRoundill: Server error Sorry, there was a problem with handling your request.
232: [02:06:14] <JeremyRoundill> Haha, wut
233: [02:06:42] <Kingy> yeah lol
234: [02:06:46] <JeremyRoundill> Try write it first.
235: [02:06:48] <Kingy> this isn't some 3.1 magic?
236: [02:07:00] <Kingy> yeah I tried writing first
237: [02:07:05] <JeremyRoundill> Same deal?
238: [02:07:08] <JeremyRoundill> Damn
239: [02:07:13] <Kingy> yeah screwed up
240: [02:07:22] <JeremyRoundill> What's the server error?
241: [02:07:48] <Kingy> trying to find out now
242: [02:07:51] <Kingy> nothing in php logs
243: [02:08:05] <Stomach> E_USER_ERROR
244: [02:08:41] <Kingy> error_reporting(-1) should everything no?
245: [02:09:36] <JeremyRoundill> Haha
246: [02:09:47] <JeremyRoundill> Well, Server Error is a 500
247: [02:09:52] <JeremyRoundill> So it should be in your apache logs
248: [02:11:32] <JeremyRoundill> Plus SilverStripe likes trapping errors a bit. Try setting your environment to dev in config.yml
249: [02:14:15] <Kingy> JeremyRoundill: Uncaught Exception: Object->__call(): the method 'accessproducts' does not exist on 'DataList'
250: [02:14:29] <JeremyRoundill> Hahaha
251: [02:14:43] <JeremyRoundill> Jeez
252: [02:15:00] <Stomach> Product::get()->byID(3)
253: [02:15:34] <Kingy> negatory Stomach lol
254: [02:15:43] <Stomach> $article->AccessProducts()->add($product);
255: [02:15:43] <JeremyRoundill> $article->AccessProducts()->add($product);
256: [02:17:27] <JeremyRoundill> var_dump that $article.
257: [02:17:32] <JeremyRoundill> Just so we can see what it looks like.
258: [02:18:32] <Kingy> kk
259: [02:18:54] <Kingy> http://www.sspaste.com/paste/show/546aa2f359c11 added a comment
260: [02:19:26] * nicolaas has joined #silverstripe
261: [02:19:30] <nicolaas> does anyone know why many_many tables are MyISAM and other tables InnoDB?
262: [02:19:36] <nicolaas> is that correct?
263: [02:19:47] <JeremyRoundill> Kingy: Did you add those parens?
264: [02:19:56] <Kingy> yeah
265: [02:20:00] <Kingy> ignore the main pastie that's the old one
266: [02:20:43] <Kingy> there isn't anything in the var_dump about accessproducts
267: [02:20:47] <antmas> I really want to see this http://io9.com/will-we-ever-get-to-see-chinas-legendary-bomb-empires-1659833746
268: [02:21:34] <JeremyRoundill> I take it that you've run /dev/build after adding the many_many?
269: [02:22:02] <Kingy> many_many has been there for months/years
270: [02:22:02] <simon_w|work> No more MRs? So much for Stomach saying I'll be flooded with them :p
271: [02:22:10] <JeremyRoundill> I submitted one!
272: [02:22:26] <Kingy> JeremyRoundill: I'm writing a build task to import old articles
273: [02:22:35] <Kingy> so I need to put them in the right product subscriptions
274: [02:22:59] <JeremyRoundill> Hmm
275: [02:23:11] <simon_w|work> 1 is hardly a flood :p
276: [02:23:22] <JeremyRoundill> Seems weird that that relationship isn't being picked up.
277: [02:23:22] <Stomach> do you have $belongs_many_many = array("Articles" => "Article"); on article?
278: [02:23:32] <Stomach> Kingy - paste what code you have now
279: [02:23:41] <Stomach> on product, not article
280: [02:24:03] <Kingy> which bit Stomach because it's 871 lines long
281: [02:24:08] <Stomach> simon_w|work - yeah well I might have been a bit euphemistic
282: [02:24:45] <Stomach> the task
283: [02:24:45] <simon_w|work> Kingy, $article->AccessProducts should be $article->AccessProducts()
284: [02:25:04] <Kingy> simon_w: yep we got that bit, but now i'm getting Uncaught Exception: Object->__call(): the method 'accessproducts' does not exist on 'DataList'
285: [02:25:38] <Stomach> Kingy - http://www.codeshare.io/vnyVo
286: [02:26:04] <simon_w|work> Kingy, also, $product = Product::get()->byID(3);
287: [02:26:12] <simon_w|work> You want the product, not the DataList
288: [02:26:21] <Kingy> also done that
289: [02:26:32] <simon_w|work> Can you pastie updated code then? :p
290: [02:27:07] <Kingy> yessir
291: [02:28:23] <Kingy> ohh hold on new error now
292: [02:28:35] <JeremyRoundill> Haha
293: [02:28:40] <Kingy> Uncaught Exception: ManyManyList::add() can't be called until a foreign ID is set
294: [02:28:48] <simon_w|work> Kingy, you on 3.0?
295: [02:28:53] <Kingy> yep
296: [02:29:01] <simon_w|work> Call ->write(), then do the ->add()
297: [02:29:42] <Kingy> thank fuck for that
298: [02:29:53] <Kingy> thanks simon_w/ Stomach/ JeremyRoundill
299: [02:30:03] <JeremyRoundill> I thought you'd already swapped those lines around. :P
300: [02:30:14] <simon_w|work> Upgrade to 3.1, and you don't need to!
301: [02:32:48] <Kingy> JeremyRoundill: yeah I did but that was before I did the whole byID business
302: [02:32:52] <Stomach> you just cant install 3.1 anymore :P
303: [02:33:01] <Tanger> hey guys, why would I get a 403 forbidden when attempting to create a new DO using "item/new"?
304: [02:33:06] <Kingy> simon_w|work: wish I could, but gotta deal with all the shit first lol
305: [02:34:12] <Stomach> Tanger - you might need canCreate, canEdit, canView functions
306: [02:34:22] <Stomach> if you aren't logged in as an admin user
307: [02:36:26] <antmas> :o https://www.flickr.com/photos/europeanspaceagency/15114103644/in/set-72157638315605535/
308: [02:37:38] <Stomach> ROCKS
309: [02:37:39] <Stomach> IN
310: [02:37:41] <Stomach> SPACE
311: [02:37:55] <antmas> Stomach: lol
312: [02:38:04] <Tanger> Stomach: Hmm, I am logged in as Admin and I have canCreate, canView and canEdit set as true. It's not logging any requests or responses in the net panels
313: [02:38:33] <Stomach> is it in dev mode?
314: [02:38:39] <Stomach> add ?isDev=1 to the request
315: [02:39:35] <camfindlay> adrexia what was your flowcharting module called again?
316: [02:40:01] <adrexia> silverstripe flowchart
317: [02:40:29] <adrexia> it's likel;y to be the first hgit in google ;)
318: [02:40:53] <adrexia> https://github.com/adrexia/silverstripe-flowchart
319: [02:41:30] <novaweb> if($extraJs) {
320: [02:41:31] <novaweb> foreach($extraJs as $file => $config) {
321: [02:41:31] <novaweb> if(is_numeric($file)) {
322: [02:41:31] <novaweb> $file = $config;
323: [02:41:31] <novaweb> }
324: [02:41:31] <novaweb> Requirements::javascript($file);
325: [02:41:33] <novaweb> }
326: [02:41:41] <novaweb> opps didnt mean to do that
327: [02:41:47] <Stomach> yea thats right novaweb !
328: [02:41:48] <novaweb> sorry for code bombing yall
329: [02:42:09] <novaweb> anywho - anyone know why this is showing up?
330: [02:42:31] <novaweb> it's from using extra_requirments_javascript
331: [02:42:45] <novaweb> i had this working yesterday but didn't commit it :/
332: [02:42:54] <Tanger> Dang, no dice.
333: [02:43:20] <Stomach> novaweb - paste your code somewhere?
334: [02:43:32] <Stomach> extra_requirements_javascript has an extra e you've missed btw
335: [02:43:39] <Stomach> Tanger - no error
336: [02:43:40] <Stomach> ?
337: [02:44:04] * _muskie9_ is now known as muskie9
338: [02:44:06] <Tanger> Stomach: Just 403 forbidden with no extra information
339: [02:44:19] <Stomach> is this locally or on a server somewhere?
340: [02:44:20] <novaweb> thanks stomach, it's got an e in my config.yml :)
341: [02:44:27] <Tanger> Local dev
342: [02:44:35] <Stomach> whats the request URI?
343: [02:44:55] <Stomach> URL*
344: [02:44:56] <Tanger> trunk/admin/pages/edit/EditForm/field/MediaObjectsMany/item/new
345: [02:45:10] <Tanger> Perhaps adding it from an edit form is the issue
346: [02:46:14] <Stomach> your page editor doesnt have an id in it
347: [02:46:23] * muskie9 is now known as _muskie9_
348: [02:46:46] <Tanger> Does it need one if it's adding a new item?
349: [02:47:00] <Stomach> is the page new as well?
350: [02:47:40] <Tanger> No. The editform is dataobject edit form for a gridfield
351: [02:47:40] <camfindlay> thanks adrexia :)
352: [02:47:47] <adrexia> no problem
353: [02:48:02] <Tanger> Ah, maybe it's calling it on the wrong controller
354: [02:50:35] <novaweb> Stomach.. the path to the js file needed a "-" in front of it ;)
355: [02:50:50] <Stomach> ah yep
356: [02:50:54] <Stomach> its an array!
357: [02:53:36] * antmas quit (Quit: Page closed)
358: [02:53:57] * Kingy is now known as Kingy[a]
359: [03:03:30] <Tanger> Stomach: Thanks man, got it now
360: [03:03:38] <Stomach> what was happening?
361: [03:05:05] <Stomach> simon_w|work your trait loader doesn't run on a dev/build!
362: [03:05:12] <Stomach> Fix SilverStripe (preferred)
363: [03:05:15] <Stomach> please implement
364: [03:05:19] <Stomach> :D
365: [03:05:27] <simon_w|work> Stomach, open an issue :p
366: [03:09:22] <simon_w|work> Or fix it yourself. That'll work too.
367: [03:09:31] * simon_w|work is WATCHING YOU
368: [03:10:06] * Praveen_ quit (Quit: Page closed)
369: [03:10:17] <Tanger> When adding a new DO from a DO edit field, it looked like the request wasn't being passed to a gridField_Itemrequest properly and instead being handled by CMSEditPageController
370: [03:10:53] <Stomach> simon_w|work am fixing it now
371: [03:10:56] <Tanger> Which didn't have the right allowed_actions, hence forbidden
372: [03:11:39] * UncleCheese has joined #silverstripe
373: [03:12:41] <Olliepop> @simon_w|work: spf=softfail (google.com: domain of transitioning git@simon.geek.nz does not designate 128.199.232.208 as permitted sender)
374: [03:13:11] <Stomach> simon_w|work - https://git.simon.geek.nz/simon_w/trait-loader/merge_requests/1
375: [03:13:11] <simon_w|work> Olliepop, blah blah blah, effort to fix :p (not really, but is from work)
376: [03:13:45] <simon_w|work> Stomach, aha, SilverStripe being stupid causes it I see!
377: [03:13:53] <UncleCheese> hmm.. think it's insulated? http://www.nelsonfinehomes.co.nz/?post_type=listings&p=3481
378: [03:14:02] <JeremyRoundill> Jeez, I just hit an SPF error.
379: [03:14:14] <JeremyRoundill> Some IT support place sent through an SPF record for me to set up.
380: [03:14:28] <novaweb> Stomach, fyi that nathancox solution didn't work as we're running a custom editor config as it is, so it was caching the original config, the custom config and the new custom config. they were all rendering at different time inconsistently
381: [03:14:31] <JeremyRoundill> I set it up, and the spaces were actually html entities of three-em-spaces.
382: [03:14:32] <Stomach> simon_w|work I refer you to https://git.simon.geek.nz/simon_w/trait-loader/issues/2 bullet point one
383: [03:14:33] <simon_w|work> UncleCheese, given that it says "double glazing", I'm going with yes
384: [03:14:34] <novaweb> back to js :)
385: [03:14:37] <JeremyRoundill> Broke the SPF record :P
386: [03:14:58] <Stomach> novaweb - if you want to send me your code I will make it work
387: [03:15:00] <simon_w|work> Stomach, haha, yeah need to get around to doing that
388: [03:15:04] <Stomach> I'm too heavily invested now
389: [03:19:42] <simon_w|work> Stomach, interesting. You commenting +1 actually marks it as a +1 and puts a little thing on the issue list
390: [03:19:54] <simon_w|work> GitLab has inbuilt issue voting :D
391: [03:20:00] <Stomach> thats pretty fucking cool
392: [03:21:03] <Stomach> simon_w|work - https://github.com/silverstripe/silverstripe-framework/issues/3241#issuecomment-63416963
393: [03:21:04] <Stomach> :D
394: [03:21:28] <novaweb> has anyone ever successfully targeted/manipulated tinymce using jquery?
395: [03:21:36] <novaweb> just a simple yes or no...
396: [03:21:41] <simon_w|work> novaweb, yes
397: [03:22:06] <simon_w|work> Can't remember how, but I've done it
398: [03:22:18] <novaweb> was it being an ass in the first instance?
399: [03:22:29] <Stomach> does anyone know how to view PR's you're involved in on github
400: [03:23:09] <micmania1> Stomach: all or just one a single repo?
401: [03:23:17] <Stomach> all of them
402: [03:23:26] <Stomach> I know you can do assignee, my own and mentions
403: [03:23:34] <Stomach> but I want to view stuff I'm currently commenting on
404: [03:25:40] * Michal_ has joined #silverstripe
405: [03:25:53] * Michal_ is now known as MichalKleiner
406: [03:26:50] <novaweb> Stomach... ? http://stackoverflow.com/questions/17045347/where-can-i-see-my-pull-requests-on-github
407: [03:27:11] <novaweb> ah.. you mean other than your own..
408: [03:27:59] <Stomach> yeah
409: [03:28:08] <Stomach> so other peoples pull requests which I have commented on
410: [03:29:39] <novaweb> Nothing showing from google searched
411: [03:29:55] <novaweb> Days over for me. Cheers for yo help.
412: [03:29:56] * Stomach facebooks his github friend
413: [03:29:59] <Stomach> later buddy
414: [03:30:08] * novaweb quit (Quit: Leaving)
415: [03:36:50] <Stomach> simon_w|work - can you tag that merge? :D
416: [03:37:01] <simon_w|work> Stomach, will when I get home
417: [03:37:07] <Stomach> sweet, you're a champ
418: [03:37:12] <Stomach> have a good evening, im out of here
419: [03:37:17] <simon_w|work> Like to sign them. Can't do that from work ;)
420: [03:38:30] * travis-ci has joined #silverstripe
421: [03:38:30] <travis-ci> silverstripe/silverstripe-framework#3641 (3.1 - 27e2a68 : Sean Harvey): The build passed.
422: [03:38:30] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7b89c1734901...27e2a68ef2ff
423: [03:38:30] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41322954
424: [03:38:30] * travis-ci has left #silverstripe
425: [03:40:00] <Stomach> if anyone is interested it 'commenter'
426: [03:50:52] * Stomach quit (Quit: zzz)
427: [03:55:55] * jordanmk has joined #silverstripe
428: [04:04:46] <nicolaas> Sorry, I just sort of dropped in, but I am wondering if anyone knows why many_many tables are MyISAM and other tables InnoDB?
429: [04:04:57] * _muskie9_ is now known as muskie9
430: [04:05:31] * spekulatius quit (Quit: Leaving)
431: [04:06:48] <Olliepop> MyISAM is best for high reading, low writing
432: [04:07:34] <Olliepop> because many_many tables simply act as relational MyISAM is most suitable
433: [04:07:54] <Olliepop> my thoughts at least
434: [04:11:15] * muskie9 is now known as _muskie9_
435: [04:21:47] * camfindlay quit (Quit: camfindlay)
436: [04:23:21] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
437: [04:34:22] * micmania1 quit (Quit: micmania1)
438: [04:34:56] <MichalKleiner> someone who manages the SS blog here?
439: [04:36:17] <simon_w|work> MichalKleiner, nope
440: [04:36:45] <MichalKleiner> ok, I won't report a broken link then :-D
441: [04:36:53] * Hailwood quit (Ping timeout: 240 seconds)
442: [04:36:57] <Snowman23> I can probably poke somieone
443: [04:37:03] <Snowman23> MichalKleiner: Which link? Is it important?
444: [04:37:16] <Snowman23> 17:06:49 < Olliepop> MyISAM is best for high reading, low writing
445: [04:37:17] <MichalKleiner> http://www.silverstripe.org/blog/category/software/
446: [04:37:23] <Snowman23> And for corrupting the shit out of all of your data
447: [04:37:23] <Snowman23> :P
448: [04:37:33] <MichalKleiner> the download link has some Sitetree rubbish in it and is not working
449: [04:37:41] <MichalKleiner> it's working from the article though
450: [04:37:41] <Snowman23> Sweet MichalKleiner, I'll pass that along
451: [04:38:06] <MichalKleiner> thx
452: [04:38:09] <Snowman23> Oh yeah, I remember that bug
453: [04:38:15] <Snowman23> I thought someone fixed it
454: [04:40:12] * travis-ci has joined #silverstripe
455: [04:40:12] <travis-ci> silverstripe/silverstripe-framework#3642 (3.1.8 - d849264 : Damian Mooyman): The build passed.
456: [04:40:12] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/commit/d84926492c94
457: [04:40:12] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41326210
458: [04:40:12] * travis-ci has left #silverstripe
459: [04:46:08] * cloph has joined #silverstripe
460: [04:46:50] * cloph_away quit (Ping timeout: 272 seconds)
461: [04:47:54] * Ryan-Toast quit (Quit: Ryan-Toast)
462: [04:53:48] * travis-ci has joined #silverstripe
463: [04:53:48] <travis-ci> silverstripe/silverstripe-cms#1087 (3.1.8 - 708e706 : Damian Mooyman): The build passed.
464: [04:53:48] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.8
465: [04:53:48] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/41326225
466: [04:53:48] * travis-ci has left #silverstripe
467: [04:57:22] * Tanger quit (Ping timeout: 258 seconds)
468: [05:12:06] * Tanger has joined #silverstripe
469: [05:42:48] * travis-ci has joined #silverstripe
470: [05:42:49] <travis-ci> silverstripe/silverstripe-framework#3643 (3.1.8 - 8b3695b : Damian Mooyman): The build passed.
471: [05:42:49] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d84926492c94...8b3695bd41e5
472: [05:42:49] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41328674
473: [05:42:49] * travis-ci has left #silverstripe
474: [05:48:52] * camfindlay has joined #silverstripe
475: [05:52:37] <jordanmk> hey guys
476: [05:53:09] <jordanmk> is it possible for SS to send an email to multiple recipients via the BCC field? i.e. i need to send an email to a large group of recipients but can't have them all seeing each other's email addresses
477: [05:53:13] * travis-ci has joined #silverstripe
478: [05:53:13] <travis-ci> silverstripe/silverstripe-framework#3644 (3.1.8 - 8b3695b : Damian Mooyman): The build passed.
479: [05:53:13] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.8
480: [05:53:13] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41328685
481: [05:53:13] * travis-ci has left #silverstripe
482: [05:53:38] * Kingy[a] is now known as Kingy
483: [05:58:35] * camfindlay quit (Quit: camfindlay)
484: [06:02:18] * jedateach quit (Ping timeout: 264 seconds)
485: [06:08:15] * travis-ci has joined #silverstripe
486: [06:08:16] <travis-ci> silverstripe/silverstripe-cms#1088 (3.1.8 - 708e706 : Damian Mooyman): The build was broken.
487: [06:08:16] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.8
488: [06:08:16] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/41328702
489: [06:08:16] * travis-ci has left #silverstripe
490: [06:11:07] * travis-ci has joined #silverstripe
491: [06:11:08] <travis-ci> silverstripe/silverstripe-framework#3645 (3.1 - 72484cd : Damian Mooyman): The build passed.
492: [06:11:08] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/27e2a68ef2ff...72484cd0bfff
493: [06:11:08] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41329082
494: [06:11:08] * travis-ci has left #silverstripe
495: [06:16:08] <MichalKleiner> jordanmk: you would need to use custom headers... $email->addCustomHeader('Bcc', 'email@domain.com');
496: [06:16:22] <MichalKleiner> http://doc.silverstripe.org/framework/en/topics/email
497: [06:23:19] * antmas has joined #silverstripe
498: [06:23:28] <antmas> morning all
499: [06:24:06] <antmas> can someone remind me where you disallow/allow file types in via uploads?
500: [06:27:23] <MichalKleiner> old way via _config was like http://www.silverstripe.org/community/forums/general-questions/show/16454
501: [06:27:32] <antmas> cheers
502: [06:27:35] <MichalKleiner> File::$allowed_extensions[] = 'ogv' ;
503: [06:27:36] <antmas> found it
504: [06:27:55] <antmas> how do I enable certain file extensions via yml?
505: [06:32:58] * Shrike_Finland has joined #silverstripe
506: [06:40:34] <Colin[pi]> antmas: File: allowed_extensions: - ext ?
507: [06:40:38] <Colin[pi]> I think?
508: [06:49:26] * jrthomer quit (Ping timeout: 244 seconds)
509: [06:51:31] <MichalKleiner> antmas: http://doc.silverstripe.org/framework/en/reference/uploadfield
510: [06:51:40] <MichalKleiner> as Colin[pi] says ;-)
511: [06:51:50] * MichalKleiner is now known as MK_away
512: [06:56:09] <antmas> Colin[pi] ahhh thanks man :D
513: [06:58:31] <antmas> Colin[pi] I made the mistake of showing a client a site with a <video> as a background :|
514: [07:01:30] <jordanmk> MichalKleiner, cheers for that. i'm guessing the correct format for multiple BCC emails would be $email->addCustomHeader('Bcc', 'email@domain.com;email2@domain.com;email3@domain.com'); ??
515: [07:05:11] * antmas quit ()
516: [07:09:40] * Stomach has joined #silverstripe
517: [07:10:01] * wmk has joined #silverstripe
518: [07:10:05] * r_hector has joined #silverstripe
519: [07:21:30] * wmk quit (Ping timeout: 264 seconds)
520: [07:34:33] * Eliseth has joined #silverstripe
521: [07:36:58] * jrthomer has joined #silverstripe
522: [07:40:15] * Stomach quit (Quit: zzz)
523: [07:41:29] <Eliseth> Morning
524: [07:43:26] * wmk has joined #silverstripe
525: [07:46:08] <Eliseth> When using File as datatype you can't use SetSize(x,x) in the template anymore? An image datatype is required for that?
526: [07:48:24] <wmk> Eliseth, it only works for images, which is a subclass of File
527: [07:49:04] <wmk> so <% if ClassName = 'Image %> do something <% end_if %> could work
528: [07:49:18] <wmk> but why do you use File instead of Image when you want a Image?
529: [07:49:32] <Eliseth> Because Image doesn't support uploading svg files
530: [07:50:02] <wmk> Write an extension ;)
531: [07:50:20] <wmk> so you need either a vector or a pixel image in one field
532: [07:51:21] <Eliseth> So I use <% if $MyImage == 'svg' %> display SVG withtout modification <% else %> Resize pixelfile <% end_if %>
533: [07:51:41] <Eliseth> But the resize part isn't functioning :)
534: [07:51:54] <Eliseth> Because of the File datatype I now understand
535: [07:52:26] <wmk> hmm... debug and see what ClassName is set and if it's the right object type
536: [07:53:20] <Eliseth> Well, it isn't I think, because it's a File :)
537: [07:53:39] <Eliseth> And as you said before, it only works for images
538: [07:55:32] * Guits has joined #silverstripe
539: [07:57:43] <Eliseth> So how would I go about fixing this (as a beginning programmer & silverstripe "developer")
540: [07:58:37] <Eliseth> You said "Write an extension"... Can you be a bit more specific? An extension to do what? I haven't done anything like that before :D
541: [08:06:07] * DimiStripe has joined #silverstripe
542: [08:07:30] * Kingy is now known as Kingy[a]
543: [08:08:50] <Eliseth> I'm using ->setAllowedExtensions(array("png","jpg","svg")) for file upload
544: [08:08:56] <Eliseth> PNG and JPG are fine
545: [08:09:13] <Eliseth> But when uploading SVG I get the message "Forbidden"
546: [08:09:26] * arnhoe has joined #silverstripe
547: [08:09:31] <wmk> Eliseth, re
548: [08:10:08] <Eliseth> re?
549: [08:10:18] <wmk> re
550: [08:10:25] <wmk> i was away, now i'm back
551: [08:10:31] <Eliseth> ohhh
552: [08:10:37] <wmk> just to let you know
553: [08:10:39] <Eliseth> srry :D
554: [08:10:50] <wmk> well, what i wonder most: are you the first to handle svg?
555: [08:10:59] <wmk> if not, is there already a solution for that?
556: [08:11:41] <Eliseth> No idea, but since I must learn this stuff anyway I figured I better solve the problem
557: [08:12:02] <wmk> easiest for now is to split up the field in two fields, one for svg, one for pixel
558: [08:12:12] <wmk> and let your controller decide which image to use
559: [08:12:21] <wmk> what kind of image is this for?
560: [08:12:31] <wmk> most easiest would be: avoid svg!
561: [08:12:33] <Eliseth> Yes, but I don't want that :)
562: [08:12:41] <Eliseth> They're company logo's
563: [08:12:53] <wmk> USE PNG / JPG FOR THAT
564: [08:12:59] <wmk> and tell your client to do it
565: [08:13:01] <Eliseth> Nono
566: [08:13:07] <Eliseth> I don't want that
567: [08:13:10] <wmk> Yea yea
568: [08:13:14] <wmk> you want
569: [08:13:16] <Eliseth> Retina displays, responsive etc :)
570: [08:13:54] <Eliseth> Besides, we have most logo's in SVG already. It's the minority I need to resize because they're pixel
571: [08:15:08] <wmk> ok, in DB File Table, is the ClassName for a png already "Image" ?
572: [08:15:13] <wmk> if not you have to set it there
573: [08:16:25] <Eliseth> No, it's file
574: [08:16:49] <Eliseth> Because: 'CompanyLogoImage' => 'File',
575: [08:16:53] <wmk> it's a has_one relation in your DO?
576: [08:17:00] <Eliseth> Yes
577: [08:17:17] <wmk> so you can try something like this in your DO:
578: [08:17:26] <wmk> public funciton onAfterWrite() {
579: [08:18:30] <wmk> if $this->FooImage()->getExtension() == svg
580: [08:18:48] <wmk> $this->FooImage()->ClassName = Image
581: [08:18:55] <wmk> (vice versa, if not svg, sorry)
582: [08:19:12] <wmk> you get the idea?
583: [08:19:18] * gavro has joined #silverstripe
584: [08:19:21] <wmk> don't forget to write it back to DB
585: [08:19:29] <wmk> $this->FOoImage()->write()
586: [08:19:49] <wmk> and check if an Image exists before
587: [08:20:12] <wmk> by calling the ID, if $this->FooImageID
588: [08:23:24] <wmk> even better check: if $this->FooImage()->appCategory() == 'image'
589: [08:23:33] <wmk> then make it an image class
590: [08:34:27] * nicolaas quit (Remote host closed the connection)
591: [08:41:02] * Stomach has joined #silverstripe
592: [08:45:09] <wmk> hey Stomach
593: [08:45:15] <Stomach> hey buddy
594: [08:45:20] <wmk> you forked betterbuttons?
595: [08:46:11] <Stomach> yeah we have a private fork of it running with a config option to allow/disallow it running for certain objects
596: [08:46:46] <wmk> good idea. any chance to PR it back?
597: [08:47:19] <wmk> i set the config when running the subclass of CatalogAdmin
598: [08:47:20] <Stomach> could do - ill talk to the dev who did it in the morning and see what he
599: [08:47:21] <Stomach> did
600: [08:47:29] <wmk> nice
601: [08:47:46] <Stomach> im just looking at his commits now, he actually had just commited the entire thing as a single commit including his changes :\
602: [08:48:02] <Stomach> didnt realise - will be on his ass for that in the morning
603: [08:48:20] <wmk> how late is it in NZ now?
604: [08:48:23] <wmk> about 10pm?
605: [08:48:39] <Stomach> yeah 9:50 ish
606: [08:48:51] <wmk> ok. so 12h difference to central europe
607: [08:49:01] <wmk> good to know ;)
608: [08:49:24] <Stomach> but it looks like all he has done is add a config setting then set a check in itemeditform on GridFieldBetterButtonsItemRequest to see if its turned off
609: [08:49:32] <Stomach> should be easy enough to PR
610: [08:49:37] <Stomach> ill add it to my calendar
611: [08:50:53] * Tanger quit (Quit: Tanger)
612: [08:50:54] <Stomach> anyway I have to go pay attention to my girlfriend or I'll get killed
613: [08:51:00] <Stomach> catch you later :)
614: [08:51:29] <Stomach> ps simon_w thanks for pushing that tag
615: [08:52:03] * Sj0hn has joined #silverstripe
616: [08:52:51] * Stomach quit (Quit: zzz)
617: [08:59:28] * kinglozzer has joined #silverstripe
618: [09:03:22] * svandragt quit (Quit: Page closed)
619: [09:16:28] <kinglozzer> dafuq
620: [09:16:37] <kinglozzer> git won't add a set of files
621: [09:16:58] <kinglozzer> "git add ." then "git status" shows working directory clean
622: [09:17:02] <kinglozzer> They're not submodules, just images
623: [09:17:04] <kinglozzer> O.o
624: [09:17:19] <kinglozzer> Not .gitignored, not in .git/info/exclude
625: [09:17:22] <kinglozzer> The hell?!
626: [09:17:40] <Snowman23> Add them specifically
627: [09:17:41] <Snowman23> git add thefile
628: [09:18:41] <kinglozzer> Snowman23: Tried, won't let me
629: [09:18:51] <Snowman23> "Won't let me"?
630: [09:18:52] <kinglozzer> No errors, just "git status" shows they're not added :/
631: [09:18:58] <Snowman23> -vvv
632: [09:19:03] <kinglozzer> git add -vvv?
633: [09:19:10] <Snowman23> idk, yeah
634: [09:19:13] <Snowman23> whatever the verbose stuff is
635: [09:19:40] <kinglozzer> lol, it works with -v
636: [09:19:49] <kinglozzer> I'm so confused :(
637: [09:20:03] <Snowman23> lol
638: [09:20:05] <Snowman23> ss23 master of fixing
639: [09:20:06] <Snowman23> o/
640: [09:20:08] <wmk> force?
641: [09:20:11] <wmk> git add -f foo
642: [09:20:22] * zippy has joined #silverstripe
643: [09:20:23] <kinglozzer> wmk: I tried that, didn't work either
644: [09:20:33] <wmk> another computer?
645: [09:20:35] <kinglozzer> Just did "git reset --hard" before trying -v, so maybe the reset fixed it
646: [09:21:57] <kinglozzer> Right, let's start again
647: [09:22:03] <zippy> wow
648: [09:22:06] <zippy> 3.1.7 is out
649: [09:22:17] <kinglozzer> zippy: And 3.1.8
650: [09:22:20] <kinglozzer> Because 3.1.7 was broken
651: [09:22:21] <kinglozzer> :D
652: [09:22:23] <zippy> haha
653: [09:22:30] <zippy> simon_w: topic link is wrong
654: [09:22:39] <kinglozzer> WTF IT'S HAPPENING AGAIN
655: [09:22:47] <Snowman23> lol
656: [09:22:50] <kinglozzer> git status
657: [09:22:58] <kinglozzer> modified: /path/to/file.jpg
658: [09:23:13] <kinglozzer> git add /path/to/file.jpg
659: [09:23:19] <kinglozzer> git status
660: [09:23:27] <kinglozzer> STILL THERE NOT ADDED
661: [09:23:30] <kinglozzer> >:(
662: [09:23:52] <kinglozzer> Okay not -v doesn't work either
663: [09:23:54] <kinglozzer> now*
664: [09:25:07] <Snowman23> ...
665: [09:25:11] <Snowman23> If git status says it's modified
666: [09:25:12] <Snowman23> YOU DO GIT COMMIT
667: [09:25:17] <Snowman23> git commit /path/to/file.jpg
668: [09:25:20] <Snowman23> You don't need to stage your commits
669: [09:25:23] <kinglozzer> FINE I'LL TRY THAT
670: [09:25:41] <kinglozzer> no changes added to commit
671: [09:25:46] <kinglozzer> HAPPY NOW? :'( :'(
672: [09:25:50] <Snowman23> git commit -a
673: [09:25:52] <Snowman23> What it say?
674: [09:25:56] <Snowman23> idk soz kinglozzer
675: [09:26:00] <kinglozzer> no changes added to commit
676: [09:26:00] <Snowman23> I AM NOT UR MOM I DON'T HAVE ACCESS TO UR PC
677: [09:26:01] <Snowman23> GOD
678: [09:26:03] <zippy> -a will add all the changes...
679: [09:26:12] <zippy> stage all I think
680: [09:26:12] <kinglozzer> git commit -a just says "no changes added to commit"
681: [09:26:25] <kinglozzer> simon_w: help
682: [09:26:35] <zippy> git add -A
683: [09:26:35] <zippy> :D
684: [09:26:46] <kinglozzer> zippy: Nothing added :P
685: [09:26:54] <kinglozzer> Is there a git IRC channel?
686: [09:26:57] <kinglozzer> #git or something
687: [09:27:04] <zippy> kinglozzer: do a git satus, and put ALL of that into a paste bin and show
688: [09:27:08] <simon_w> kinglozzer, what does git status say?
689: [09:27:19] <kinglozzer> sec, i'll paste all the things
690: [09:27:36] <simon_w> zippy, BLAH BLAH
691: [09:27:57] <zippy> like that is it..
692: [09:28:09] <simon_w> You fix it! :p
693: [09:28:15] <simon_w> Neither the 3.1.7 or 3.1.8 links work!
694: [09:28:25] * zippy sets mode +O zippy
695: [09:28:31] * simon_w changed the topic to 'Welcome to #silverstripe | Ask your questions! | IRC Logs: http://ss.org.nz/logs | Feature requests: http://ss.org.nz/features | Dev Mailing List: http://ss.org.nz/ss-dev | Latest stable releases: http://ss.org.nz/3.1.8 and http://ss.org.nz/3.0.11 | Release Archive: http://www.silverstripe.org/release-archive/'
696: [09:28:37] <zippy> http://doc.silverstripe.org/framework/en/changelogs/3.1.8 ?
697: [09:28:38] <simon_w> Yeah, that won't fix the links :p
698: [09:29:34] <kinglozzer> http://pastie.org/9727159
699: [09:30:14] <kinglozzer> git y u do dis
700: [09:30:15] <simon_w> kinglozzer, what's in your ignore file?
701: [09:30:36] <kinglozzer> simon_w: cms, framework, other modules, nothing to do with that file
702: [09:30:59] <zippy> kinglozzer: why you adding asset to git anyway?...
703: [09:31:01] <simon_w> zippy, there, link works now
704: [09:31:10] <zippy> you tried git add -f assets/Uploads/8.jpg ?
705: [09:31:13] <kinglozzer> zippy: Long story, old site
706: [09:31:35] <simon_w> kinglozzer, also, the git commit -a shows a different file path
707: [09:31:36] <kinglozzer> zippy: Yep, no joy
708: [09:31:38] <zippy> can you (making a copy of the file first) delete the file, then git checkout assets/Uploads/8.jpg and then try and copy it back ?
709: [09:31:53] <kinglozzer> simon_w: Yeah it's because I shortened it, but it's the same
710: [09:32:48] <kinglozzer> Right, I had temporary joy after a reset before... imma try that again
711: [09:33:29] <kinglozzer> git reset --hard, git status, shouldn't be anything modified, right?
712: [09:33:48] <simon_w> Usually
713: [09:34:00] <kinglozzer> The file is still there after a hard reset, except now apparently I can add it
714: [09:34:07] <kinglozzer> Oo
715: [09:34:32] <zippy> if in doubt, blow it all away and clone again
716: [09:34:45] <kinglozzer> Well, that worked
717: [09:34:56] <kinglozzer> They're added and committed
718: [09:35:33] <wmk> congrats kinglozzer
719: [09:36:16] <kinglozzer> That was some... weird shit
720: [09:36:40] <zippy> what'd be more accurate for determing if an IP is from NZ. Grabbing from apnic latest - or using something like maxmind
721: [09:37:19] <zippy> eg parsing this; ftp://ftp.apnic.net/public/stats/apnic/delegated-apnic-extended-latest
722: [09:38:42] <simon_w> Well, you only have to do it once
723: [09:40:58] <zippy> do what
724: [09:41:15] <zippy> ip allocations change often...
725: [09:41:51] <zippy> I don't think it being allocated to NZ means that it's being used in NZ however, same with any other IP, could be routed via NZ so false positivies
726: [09:41:52] <zippy> hmm
727: [09:42:32] <simon_w> IP allocations don't change very often
728: [09:42:38] <simon_w> Especially IPv4
729: [09:42:47] <simon_w> Only have to worry if it's a 103. or 108.
730: [09:43:14] <simon_w> Olliepop, there, updated the SPF record
731: [09:55:18] * Guits quit (Ping timeout: 265 seconds)
732: [10:03:14] * Guits has joined #silverstripe
733: [10:08:46] * simon_w quit (Quit: Ping timeout: your mum)
734: [10:10:57] * Guits quit (Read error: Connection reset by peer)
735: [10:11:09] * Guits has joined #silverstripe
736: [10:15:15] * ThePeach has joined #silverstripe
737: [10:15:42] * Pylashk has joined #silverstripe
738: [10:19:08] * Colin[pi] quit (Ping timeout: 250 seconds)
739: [10:35:33] * Copperis has joined #silverstripe
740: [10:35:37] <Copperis> hello
741: [10:38:18] * simon_w has joined #silverstripe
742: [10:40:40] <Copperis> how can html bet outputted to a gridfield's column? I defined the summary field in the dataobject, but it gets escaped when displaying in the gridfield
743: [10:41:58] * Otterpocket has joined #silverstripe
744: [10:42:40] <Otterpocket> Good morning, Is there a way to hide ModelAdmin in the cms?
745: [10:42:53] <Pylashk> don't have one?
746: [10:43:06] <kinglozzer> Copperis: $gridField->getConfig()->getComponentByType('GridFieldDataColumns')->setFieldCasting(array('MyField' => 'StringField->RAW'))
747: [10:43:07] <kinglozzer> Maybe
748: [10:43:08] * jcwacky has joined #silverstripe
749: [10:43:54] <Pylashk> Copperis: define the summary as ThatField.RAW
750: [10:43:55] <Otterpocket> For example in testing I look to have them to be able to edit objects, but in live mode they serve no pupose for the client
751: [10:44:05] <Otterpocket> s/look/like
752: [10:44:22] <Pylashk> Otterpocket: don't commit them.
753: [10:44:41] <Copperis> Pylashk, that field is actually a function
754: [10:44:45] <Copperis> kinglozzer, i'll try that
755: [10:44:48] <Pylashk> Copperis: oh.
756: [10:45:12] <Pylashk> Otterpocket: you can disallow access to sections of the cms per user/group
757: [10:45:31] <Pylashk> or you can go about hiding the menu item, although you can still get to it.
758: [10:45:35] <Pylashk> via url.
759: [10:45:52] <Otterpocket> Pylashk: I was hoping for a magical "$active = false;"
760: [10:45:58] <Pylashk> Nup.
761: [10:46:04] <Otterpocket> or something of the sort
762: [10:46:08] <Pylashk> it's there or it's not.
763: [10:46:16] <Guits> Is it possible to set a "end valid date" on member?
764: [10:46:25] <Pylashk> Otterpocket: it's like any other controller.
765: [10:46:39] <Pylashk> Guits: eh?
766: [10:47:10] <Pylashk> make them expire?
767: [10:47:16] <Guits> :) yes
768: [10:48:14] <Pylashk> I think you can make a password expire, but to disallow re-signing... I don't think so.
769: [10:49:28] <kinglozzer> Add your own MemberAuthenticator class, maybe?
770: [10:49:41] * wmk quit (Ping timeout: 244 seconds)
771: [10:50:25] <Copperis> kinglozzer, that works, thanks. Any idea why the same doesn't work using the $casting variable on the dataobject?
772: [10:51:41] <kinglozzer> Dunno, I'd guess GridField doesn't consider it if it doesn't work
773: [10:52:16] <Pylashk> Copperis: because it's the gridfield that's escaping it, not the object output
774: [10:53:56] <Pylashk> at a guess
775: [10:54:00] <Copperis> ok. As per http://doc.silverstripe.org/framework/en/topics/data-types#casting-html-text I though it wouldn't
776: [10:54:21] <kinglozzer> Mm, that's template land though
777: [10:54:34] <Pylashk> yeah, that would work fine if it were being directly output. but (I'm guessing here) that the gridfield intercepts the ouptut and escapes it
778: [10:55:16] <Copperis> yeah, my guess it doesn't have the same logic
779: [10:55:17] <Pylashk> that or summaryfields is
780: [10:55:27] <Pylashk> since it's a summary, not a direct output
781: [10:56:36] <kinglozzer> http://api.silverstripe.org/3.1/source-class-GridFieldDataColumns.html#212-239
782: [10:56:44] <Pylashk> http://api.silverstripe.org/3.1/source-class-DataObject.html#3320-3359
783: [10:57:11] <Copperis> how should i go about proposing a change for this? Make an issue or just a pull request?
784: [10:57:29] <Pylashk> * Casts a field to a string which is safe to insert into HTML
785: [10:57:35] <Pylashk> it's designed to be like that Copperis.
786: [10:57:45] <Pylashk> kinglozzer's suggestion is the correct solution.
787: [10:57:47] <kinglozzer> For your personal safety ;)
788: [10:58:10] * kinglozzer has to go to a meeting
789: [10:58:24] <Pylashk> bl2u kinglozzer
790: [10:58:29] <kinglozzer> Like, travel to one too D:
791: [10:58:29] <Pylashk> I did meetings all day yesterday.
792: [10:58:37] <Pylashk> kinglozzer: what, with the boss?
793: [10:58:46] <Pylashk> or pay for your own petrol and transport?
794: [10:58:51] <Pylashk> if the latter, get a new job :<
795: [10:58:56] <kinglozzer> Pylashk: Nah with the boss
796: [10:59:07] <Pylashk> not so bad then
797: [10:59:17] <Pylashk> take a tablet
798: [10:59:21] <Pylashk> pretend to be doing notes
799: [10:59:27] <Pylashk> trip balls instead xD
800: [10:59:39] <Pylashk> *BADUM... PSH*
801: [11:00:11] <Pylashk> kinglozzer: so you get to go and be the expert?
802: [11:00:42] <Pylashk> so when is PHPSE?
803: [11:00:51] <Snowman23> Special Edition of PHP1
804: [11:00:52] <Snowman23> :D
805: [11:00:54] <Snowman23> !
806: [11:00:55] <Snowman23> Not 1
807: [11:00:59] <Pylashk> lulz
808: [11:01:06] <Pylashk> PHPNE is today actually :/
809: [11:01:09] <Pylashk> shit, forgot.
810: [11:01:12] <Pylashk> almost.
811: [11:01:23] <Pylashk> fk, can't go to aikido
812: [11:02:20] <Pylashk> so guys
813: [11:02:20] <Pylashk> like
814: [11:02:24] <kinglozzer> Pylashk: It's a frontend only project, so...
815: [11:02:35] <Pylashk> kinglozzer: so?
816: [11:02:35] <kinglozzer> "expert" ;)
817: [11:02:43] <Pylashk> 7 red lines all perpendicular
818: [11:02:44] <Pylashk> DO IT
819: [11:02:49] <kinglozzer> I'm already suggesting Angular
820: [11:02:53] <kinglozzer> I've not even seen the brief
821: [11:02:54] <Pylashk> angular is balls
822: [11:02:55] <Snowman23> Don't tlel me you don't know what a red line is, kinglozzer?
823: [11:03:01] <Snowman23> After all, you *are* the expert
824: [11:03:02] <kinglozzer> Lol
825: [11:03:17] <kinglozzer> PERPENDICULAR LINES
826: [11:03:17] <Pylashk> yes, the task has been set.
827: [11:03:29] <Snowman23> Also, could you make the lines look like cats?
828: [11:03:41] <Pylashk> in the shape of a kitten
829: [11:03:48] <kinglozzer> Yes, I can do anything
830: [11:03:55] <Snowman23> :D
831: [11:03:56] <Pylashk> I'M AN EXPERT
832: [11:03:57] <Pylashk> :D
833: [11:05:26] <Pylashk> is it just me or does functional programming seem extremely inefficient?
834: [11:06:29] <Pylashk> Snowman23: weigh in here.
835: [11:07:13] <Snowman23> Um
836: [11:07:28] <Snowman23> I don't know enough about functional programming to feel qualified to speak about it :O
837: [11:07:34] * jeroenem has joined #silverstripe
838: [11:07:40] <Pylashk> Neither do I, hence the question.
839: [11:07:46] <simon_w> Pylashk, depends on the use case
840: [11:07:52] <Pylashk> but basically it summarises down to 'programming with no assignemnts'
841: [11:08:04] <simon_w> Does tend to be more efficient than OOP though
842: [11:08:17] <Pylashk> really simon_w?
843: [11:08:20] <Pylashk> how so?
844: [11:08:31] <simon_w> A lot less boiler plate
845: [11:08:38] <Pylashk> I mean, people tend to inflate OOP to stupid levels, sure. But in essence...
846: [11:08:38] <simon_w> Once you can reason about immutability, things get a lot easier
847: [11:08:53] <Pylashk> I get the immutability thing...
848: [11:09:02] <Pylashk> kinda like strings in JS
849: [11:09:03] <simon_w> If you don't inflate OOP, you're not using it properly :p
850: [11:09:07] <Pylashk> hhahaha
851: [11:09:23] * wmk has joined #silverstripe
852: [11:09:24] <Pylashk> I tried learning lua last night.
853: [11:09:37] <Pylashk> wholey hell. Seems so easy, then suddenly you're all 'wut'
854: [11:10:04] <Pylashk> they're all Private members?
855: [11:10:12] <Pylashk> Sure, JUST DON'T USE THEM -.-
856: [11:10:41] <simon_w> Pylashk, most people that actually learn and use a functional language find them a lot easier to use than OOP. Does require effort to learn though, especially if you're coming from procedural languages
857: [11:10:53] <Pylashk> and I'm all "exactly the argument I've been using on people who say multiple inheritance is bad for YEARS - to no avail."
858: [11:10:54] <wmk> lua?
859: [11:11:15] <simon_w> Anyway, bed time!
860: [11:11:16] <Pylashk> wmk: yes. Portrugese for 'moon' (luna)
861: [11:11:19] <Pylashk> simon_w: yeah I get that
862: [11:11:31] <Pylashk> I can see that, but I mean, if you're writing complex code, it seems inefficient
863: [11:11:35] <wmk> the language?
864: [11:11:42] <Pylashk> in the way that it uses a dickload of memory
865: [11:11:45] <Pylashk> since immutable
866: [11:11:49] <simon_w> Pylashk, also, https://git.simon.geek.nz/simon_w/logbot-www/blob/master/swears.txt, you can submit your own swears a lot easier now!
867: [11:11:59] <Pylashk> and also re-does the same function over and over because no assignments, etc.
868: [11:12:12] <Pylashk> oh simon_w ? what is this?
869: [11:12:20] <Pylashk> ooh
870: [11:12:22] <Pylashk> gits!
871: [11:12:23] <Pylashk> :D
872: [11:12:24] <simon_w> That's the swears list. Now somewhere that takes MRs
873: [11:12:37] <Pylashk> merge requests
874: [11:12:39] <simon_w> A lot easier for me to work with than getting .diff files emailed to me :p
875: [11:12:40] <Pylashk> cool.
876: [11:12:46] <Pylashk> yeh, hehe :P
877: [11:12:55] * simon_w poofs
878: [11:13:16] <Pylashk> lol, web 2 point oh.#
879: [11:13:19] <Pylashk> win!
880: [11:13:27] <Pylashk> anyway, n
881: [11:13:28] <Pylashk> nn*
882: [11:13:30] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
883: [11:13:38] <Pylashk> yes wmk, the language :>
884: [11:13:55] <wmk> and?
885: [11:14:00] <wmk> how's it?
886: [11:14:12] <Pylashk> both cool, easy, confusing and hard.
887: [11:14:29] <Pylashk> well, not really hard.
888: [11:14:33] <Pylashk> but... yeah.
889: [11:14:41] <Pylashk> It's prototypal, like javascript.
890: [11:14:54] <Pylashk> but it's not intuitive.
891: [11:15:19] <Pylashk> you have to explicitly use it as an object oriented language in order to make it object oriented.
892: [11:15:31] <Pylashk> you don't new anything, although that's kinda cool too.
893: [11:15:52] <Pylashk> you manually set prototype chains.
894: [11:16:41] <Pylashk> althoguh what I DO like is that you can set the prototype to a function (because first class functions are win), and in that function you can search through multiple 'parent' prototypes (ie, not a singular chain, but multiple)
895: [11:17:10] <Pylashk> which you can't do in JS, the prototype member is simply a reference, it won't automatically call it if it's a funciton type.
896: [11:17:42] <Pylashk> And it's kinda weird where the 'objects' aren't really objects of the traditional type.
897: [11:17:54] <wmk> i guess i didn't understand this prototype stuff yet.
898: [11:18:06] <wmk> though i didn't have to ;)
899: [11:18:37] <Pylashk> it's an array of things, which can be keyed (more like php in this case), which can contain functions (because first class) but those functions have no concept of 'this' - they're purely abstract functions that just happen to share a 'table' with other ones.
900: [11:19:08] <Pylashk> but you can give it a semblence of 'this' when accessing it by using a different operator
901: [11:19:20] <wmk> ss2.4 (from 2012) has some fancy errors when run on php 5.5
902: [11:19:26] <Pylashk> function thing(self, var, var2, var3) {}
903: [11:19:38] <Pylashk> table.thing(obj, var, var, etc)
904: [11:19:42] <Pylashk> is the same as
905: [11:19:44] * NETim has joined #silverstripe
906: [11:19:47] <Pylashk> function thing(var, var2, var3) {}
907: [11:19:57] <Pylashk> obj:thing(var, var, etc)
908: [11:20:08] <Pylashk> oh, and there are no {}
909: [11:20:10] * Guits quit (Ping timeout: 244 seconds)
910: [11:20:15] <Pylashk> it goes until 'end'
911: [11:20:20] <Pylashk> more like bash in that case I guess
912: [11:20:41] <Pylashk> wmk: yeah, it was especially updated for 2.4
913: [11:20:44] <Pylashk> err, 5.4
914: [11:20:54] <Pylashk> I imagine that it's not been updated to 5.5
915: [11:21:01] <Pylashk> nor 5.6 (kinda obviously)
916: [11:21:29] <Pylashk> wmk: try 2.4.10 or whatever the very last version was
917: [11:21:48] <wmk> i update to 3.1, as it's basic cms only
918: [11:21:54] <Pylashk> that works in 5.4 - might work 5.5 (or at least would hopefullly need less updating)
919: [11:21:56] <wmk> then we're future proof
920: [11:22:07] <Pylashk> indeed, would be mroe recommended :>
921: [11:22:14] <wmk> server is on 5.4, got errors (cannot login), vagrant is on 5.5, cannot get old version running
922: [11:22:22] <wmk> however, git rm old stuff
923: [11:22:25] <wmk> move to composer
924: [11:22:57] <Pylashk> hahah, oh gawd https://git.simon.geek.nz/simon_w/logbot-www/blob/master/swears.txt#L25
925: [11:24:11] <wmk> oh
926: [11:24:17] <wmk> line 42 is the same
927: [11:24:37] <wmk> line 1 LOL
928: [11:25:58] <NETim> Morning. 2 things, first: Pylashk what function syntax doesn't have {}? Got me curious.
929: [11:26:22] <NETim> Second, need to sort the search results from the standard SS search form into tabs for output, any ideas?
930: [11:42:26] * r_hector quit (Ping timeout: 256 seconds)
931: [11:44:07] * Olliepop quit (Ping timeout: 246 seconds)
932: [11:50:28] * r_hector has joined #silverstripe
933: [12:06:31] <Otterpocket> Im trying to run phpunit on my tests in command line I am getting : PHP Fatal error: Class 'FunctionalTest' not found in *test path*
934: [12:06:34] <Otterpocket> any ideas?
935: [12:07:11] * gelignite has joined #silverstripe
936: [12:09:29] <Otterpocket> forget it, I think its a Pear thing
937: [12:10:46] <Pylashk> NETim: about every language that isn't C based.
938: [12:11:23] <Pylashk> second: don't use standard SS search. Or capture them and modify the results first. Or something.
939: [12:11:40] <Pylashk> Otterpocket: no setup xml
940: [12:11:42] <Pylashk> probably
941: [12:11:44] <Pylashk> or something
942: [12:11:45] <Pylashk> idk
943: [12:13:17] <Otterpocket> Pylashk: Ill check my phpunit xml
944: [12:16:43] <wmk> how do you guys solve an customer editable sidebar?
945: [12:17:44] <Pylashk> wigets
946: [12:17:49] <Pylashk> +d
947: [12:17:58] <Pylashk> well, depends on the complexity.
948: [12:18:12] <wmk> can you add a global sidebar with widtgets in SiteConfig?
949: [12:18:21] <wmk> i know they fall back to parent page
950: [12:21:25] <wmk> doesn't seem so.
951: [12:22:10] <Otterpocket> Pylashk: I think it is the location of the bootstrape file that is defined in the xml, where should it be pointing?
952: [12:22:25] <Otterpocket> The SS docs say "/sapphire/tests/bootstrap.php"
953: [12:22:39] <Otterpocket> as far as I am aware this does not exist
954: [12:24:40] <Pylashk> s/sapphire/framework/
955: [12:26:00] <Otterpocket> nothing there
956: [12:26:26] <Pylashk> sapphire is framework.
957: [12:26:48] <Pylashk> renamed at 3.0
958: [12:26:51] <Otterpocket> Yea, I get that, but there is no bootstrap or test
959: [12:26:52] <Pylashk> for some reason.
960: [12:27:04] <Pylashk> well then you shouldn't delete them! ;0
961: [12:27:17] <Pylashk> It's included in the release.
962: [12:27:28] <Pylashk> (in framework)
963: [12:27:31] <Otterpocket> really?
964: [12:27:34] <Pylashk> where as the xml is in the installer.
965: [12:27:52] <Pylashk> https://github.com/silverstripe/silverstripe-framework/blob/3.1/tests/bootstrap.php
966: [12:28:08] <Pylashk> https://github.com/silverstripe/silverstripe-installer/blob/3.1/phpunit.xml.dist
967: [12:28:22] * wmk quit (Ping timeout: 244 seconds)
968: [12:28:35] <Otterpocket> Pylashk: strange, ill check my repo
969: [12:31:31] * arnhoe quit ()
970: [12:33:48] <Otterpocket> hahaha, its not in this branch...
971: [12:36:04] * arnhoe has joined #silverstripe
972: [12:43:01] <Copperis> how can a 404 be displayed by a controller method?
973: [12:44:39] <Copperis> found it
974: [12:48:57] * shellbackpacific has joined #silverstripe
975: [12:52:47] <Pylashk> Copperis: if you have cms installed, see ErrorPage
976: [12:53:00] <Pylashk> otherwise... not particularly easily.
977: [12:55:28] <Copperis> yeah, i'm using the cms. It can be done with "return new SS_HTTPResponse(null, 404)"
978: [12:56:43] * Guits has joined #silverstripe
979: [12:57:48] <kinglozzer> Copperis: return $this->httpError(404);
980: [12:58:42] <Pylashk> Copperis: no, $this-.htt... shit, what kinglozzer just said.
981: [12:59:06] <Copperis> kinglozzer, yup, that works too
982: [12:59:11] <Pylashk> you can do that without cms too, but it won't render any special page (where as cms does)
983: [13:00:02] * Shrike_Finland quit (Quit: Leaving.)
984: [13:00:26] <Copperis> the cms doesn't render anything, just returns the status with both methods
985: [13:01:46] <Otterpocket> errr there is no /framework/tests in 3.1.6
986: [13:03:40] * r_hector quit (Quit: Leaving.)
987: [13:13:40] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
988: [13:14:52] * UndefinedOffset has joined #silverstripe
989: [13:19:01] <jeroenem> I'm adding a home link to my breadcrumbs, i normally use BaseHref but this website has mutliple languages. BaseHref links to the default language. Do i need to write a new function or can i use a variable to get the homepage of the current translation?
990: [13:27:33] <Pylashk> TIL
991: [13:27:53] <Pylashk> Businesses are discovering (a slightly modified) IRC - https://slack.com/
992: [13:28:14] <Pylashk> jeroenem: why?
993: [13:28:38] <Pylashk> href="/"
994: [13:30:13] <Pylashk> why $BaseHref I mean.
995: [13:30:20] <Pylashk> may still not work with translation
996: [13:30:28] <Pylashk> if not, there are a bunch of things to do.
997: [13:30:43] <Pylashk> one is as you say. Another might be homepage_for_domain
998: [13:31:11] <Pylashk> another might be $Page('/').Link() or something to that effect.
999: [13:40:57] <jeroenem> i guess i will go and write a function to get it
1000: [13:41:44] * shellbackpacific quit (Read error: Connection reset by peer)
1001: [13:41:51] * shellbackpacific has joined #silverstripe
1002: [13:43:48] <Otterpocket> Doesn't seem to be one in the 3.1.8 tar.gz
1003: [13:54:41] * stnvh has joined #silverstripe
1004: [13:56:09] <Pylashk> Otterpocket: are you serious!?
1005: [13:56:11] <Pylashk> hahahahahahhahaha
1006: [14:02:39] <Snowman23> What is it missing?
1007: [14:02:47] <Snowman23> I'm going to bed, but if it's important, PM or like talk to someone who can fix :O
1008: [14:08:11] <Pylashk> TIL: piloerection
1009: [14:08:27] <Pylashk> Snowman23: the entire test suite.
1010: [14:09:48] <Pylashk> kinglozzer: saaaaaave meeeeeee
1011: [14:09:59] <Pylashk> zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz :<
1012: [14:11:10] <kinglozzer> Pylashk: I has Red Bull
1013: [14:11:13] * NETim quit (Quit: Page closed)
1014: [14:12:30] <Pylashk> kinglozzer: ffffffffffffffffffffffffffffff
1015: [14:12:44] <Pylashk> ir.. oh :< gue - send me Vs
1016: [14:12:53] <Pylashk> one green, one black :D
1017: [14:12:59] <Pylashk> errr s/black/graphite/
1018: [14:13:14] <Pylashk> I need me some of that wake up catpiss
1019: [14:13:36] <Pylashk> xD
1020: [14:17:25] <kinglozzer> Pylashk: Yeah but I'll crash and feel like shit in about an hour
1021: [14:26:16] <jeroenem> i love 2.4.x sites =X
1022: [14:27:27] <jeroenem> we got one running with language prefixes in the URL - now they ask me to install the google sitemap module - but somehow it can't interact with the language prefixes
1023: [14:29:06] <jeroenem> its just giving a page not found / 404 error
1024: [14:29:11] <Pylashk> because honeybadger on the domain front.
1025: [14:35:30] * Shrike_Finland has joined #silverstripe
1026: [14:38:51] * travis-ci has joined #silverstripe
1027: [14:38:52] <travis-ci> dhensby/silverstripe-framework#32 (3.1 - 72484cd : Damian Mooyman): The build passed.
1028: [14:38:52] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/646a57c3244e...72484cd0bfff
1029: [14:38:52] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/41365229
1030: [14:38:52] * travis-ci has left #silverstripe
1031: [14:39:00] * jordanmk quit (Read error: Connection reset by peer)
1032: [14:39:35] * jordanmk has joined #silverstripe
1033: [14:41:49] * muskie9 has joined #silverstripe
1034: [14:41:56] * Shrike_Finland quit (Quit: Leaving.)
1035: [14:43:25] * shellbackpacific quit (Ping timeout: 272 seconds)
1036: [14:48:25] <Pylashk> kinglozzer: wholey shit I can't concentrate :<
1037: [14:48:29] <Pylashk> how was your meeting?
1038: [14:49:25] <kinglozzer> Not bad actually! Short and sweet
1039: [14:50:45] * slievr has joined #silverstripe
1040: [14:54:10] * catcher has joined #silverstripe
1041: [14:58:16] <Pylashk> OMG, Pumba and Timone singing 'can you feel the love tonight' in Spanish.
1042: [14:58:26] <Pylashk> omgomg wtf lol
1043: [14:58:28] <Pylashk> amazing
1044: [14:58:38] * travis-ci has joined #silverstripe
1045: [14:58:38] <travis-ci> dhensby/silverstripe-framework#33 (master - 05f49e5 : Daniel Hensby): The build passed.
1046: [14:58:38] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/26d7febe053c...05f49e5b8121
1047: [14:58:38] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/41365297
1048: [14:58:38] * travis-ci has left #silverstripe
1049: [15:01:19] <Pylashk> Esta noche es para amar
1050: [15:01:34] * Copperis quit (Quit: Leaving)
1051: [15:03:58] <slievr> hello can anyone tell me how to do an or mySQL query in silverstripe
1052: [15:04:49] <slievr> I have a datalist which I preform a where query on and I'd like to add an or
1053: [15:05:12] <slievr> e.g. $List->where()->or();
1054: [15:08:03] <Pylashk> filterAny
1055: [15:08:21] <Pylashk> no, never use where.
1056: [15:08:41] <kinglozzer> http://beta.docs.silverstripe.org/en/ << gonna be using this instead of the main docs site :P
1057: [15:08:45] <kinglozzer> (except search is broken)
1058: [15:09:08] <Pylashk> smae thing, different skin, no?
1059: [15:09:17] <kinglozzer> Pylashk: Most of the docs have been rewritten
1060: [15:09:37] <Pylashk> man I fucking wish ->where woudl be rm -rFFFFF'd out of DataList
1061: [15:10:40] <Pylashk> every single time, EVER
1062: [15:10:44] <Pylashk> someone is new to SS
1063: [15:11:09] <Pylashk> they plough straight on in headfirst to ->where() without ever looking at other things, or seeing how to do it properly
1064: [15:11:25] <Pylashk> subsequently learning nothing, and thinking that DataList is a simple query wrapper.
1065: [15:11:39] <Pylashk> query *abstraction*
1066: [15:12:04] <Pylashk> slievr: $list->filter()->filterAny()
1067: [15:12:26] <Pylashk> kinglozzer: fixitifixitifixit
1068: [15:12:31] <slievr> I keep trying to filter but every time I filter I get an error
1069: [15:12:53] <Pylashk> because you're probably trying to write plain SQL in it
1070: [15:13:05] <Pylashk> which is 100% the wrong thing.
1071: [15:13:14] <Pylashk> It's the common pitfall anyway.
1072: [15:13:23] <Pylashk> if not, you'll need to tell me what the error is before I can help :)
1073: [15:13:49] * travis-ci has joined #silverstripe
1074: [15:13:49] <travis-ci> dhensby/silverstripe-framework#34 (codeception - 05f49e5 : Daniel Hensby): The build passed.
1075: [15:13:49] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/codeception
1076: [15:13:49] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/41365381
1077: [15:13:49] * travis-ci has left #silverstripe
1078: [15:14:22] <slievr> $results->filter("foo",$data['foo']);
1079: [15:14:45] <slievr> this returns the error foo in where clause is ambiguous
1080: [15:15:03] <Pylashk> shouldn't.
1081: [15:15:32] <Pylashk> this is a search form is it?
1082: [15:15:37] <slievr> yes
1083: [15:17:52] * Pylashk_ has joined #silverstripe
1084: [15:18:16] <Pylashk_> heh, who would have thought that ctrl+shift+key annoyingly close to these two would drop from server.
1085: [15:19:10] <Pylashk_> $results = Page::get()->filter('Content:PartialMatch', $data['search']);
1086: [15:19:43] * Pylashk quit (Ping timeout: 246 seconds)
1087: [15:20:15] <Pylashk_> should work fine.
1088: [15:20:58] <slievr> $results -> Bar::get()->filter('foo',$data['foo']);
1089: [15:21:27] <slievr> bar is DataObject
1090: [15:21:32] <Pylashk_> 'foo' shouldn't be ambiguious.
1091: [15:21:48] <slievr> I Can't tell why it is
1092: [15:21:52] <Pylashk_> You're only getting one thing.
1093: [15:22:06] <Pylashk_> well the error will give you a full stacktrace
1094: [15:22:09] <Pylashk_> including the query
1095: [15:22:12] <slievr> It's set using Enum could that be causing the issue?
1096: [15:24:44] <Pylashk_> nup
1097: [15:25:08] <Pylashk_> well
1098: [15:25:15] <Pylashk_> do a dev/build and then try again
1099: [15:25:47] <Pylashk_> should tidy up anything that's out of place
1100: [15:26:57] <slievr> will do some more research see what I can find
1101: [15:28:03] * Shrike_Finland has joined #silverstripe
1102: [15:31:39] * KF5WYX has joined #silverstripe
1103: [15:31:45] <KF5WYX> Morning all
1104: [15:33:55] <slievr> Morning
1105: [15:34:00] <KF5WYX> Is there some way I can provide functions to call in the main page template?
1106: [15:34:09] <KF5WYX> morning slievr
1107: [15:35:46] <kinglozzer> KF5WYX: Add the functions to your Page_Controller
1108: [15:36:48] <KF5WYX> kinglozzer - I may be misunderstanding. If I put something into the Page_Controller, I can only call them from within a template/layout/Page.ss rather than /template/Page.ss right?
1109: [15:36:55] * Shrike_Finland quit (Quit: Leaving.)
1110: [15:37:00] <kinglozzer> KF5WYX: No, you can call them from any template
1111: [15:37:10] <KF5WYX> ok, thanks, I'll try that.
1112: [15:37:49] * toddvalentine has joined #silverstripe
1113: [15:38:02] * travis-ci has joined #silverstripe
1114: [15:38:02] <travis-ci> dhensby/silverstripe-framework#35 (master - 17c52c1 : Daniel Hensby): The build was broken.
1115: [15:38:02] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/05f49e5b8121...17c52c11c307
1116: [15:38:02] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/41366236
1117: [15:38:02] * travis-ci has left #silverstripe
1118: [15:42:01] * Shrike_Finland has joined #silverstripe
1119: [15:43:06] <Pylashk_> slievr: the query compiler should prepend the correct table to the front of any field.
1120: [15:43:37] <Pylashk_> KF5WYX: think OOP. Page_Controller is the base for all other pages, so that function is available on all other pages.
1121: [15:43:51] <Pylashk_> thus available in templates.
1122: [15:43:55] * wmk has joined #silverstripe
1123: [15:45:37] * r3v3rb has joined #silverstripe
1124: [15:46:10] <r3v3rb> eek, is Silex a banned word here?
1125: [15:55:06] * gavro_ has joined #silverstripe
1126: [15:56:00] * gavro quit (Read error: Connection reset by peer)
1127: [16:03:28] <Pylashk_> r3v3rb: is what?
1128: [16:04:21] <r3v3rb> the Silex framework a banned word like Symfony2 or WordPress
1129: [16:04:26] <Pylashk_> nah, no.
1130: [16:04:30] <Pylashk_> looks terrible though.
1131: [16:05:00] <Pylashk_> https://git.simon.geek.nz/simon_w/logbot-www/blob/master/swears.txt
1132: [16:05:00] <slievr> Pylashk I got it working now thanks for all your help
1133: [16:05:16] <Pylashk_> slievr: what was teh solution?
1134: [16:06:32] * derek-b has joined #silverstripe
1135: [16:06:39] <slievr> I was working on code from a previous dev and he had left joined all the tables in order to filter a relation
1136: [16:06:52] <r3v3rb> Pylashk_: its not great, but for a single page app its better than the whole ss framework
1137: [16:06:58] <r3v3rb> needs no db setup etc etc
1138: [16:07:10] <r3v3rb> but adds routing blah blah blah
1139: [16:07:12] * Shrike_Finland quit (Quit: Leaving.)
1140: [16:07:14] <slievr> so once I fixed that to return an ArrayList it worked Perfectly
1141: [16:07:40] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1142: [16:10:51] * Sj0hn quit ()
1143: [16:17:49] * slievr quit (Ping timeout: 246 seconds)
1144: [16:17:54] <Pylashk_> r3v3rb: yeh, I get it.
1145: [16:23:39] * slievr has joined #silverstripe
1146: [16:24:37] * arnhoe quit ()
1147: [16:27:40] * jeroenem quit (Quit: Page closed)
1148: [16:32:10] * slievr quit (Ping timeout: 246 seconds)
1149: [16:38:44] * Shrike_Finland has joined #silverstripe
1150: [16:39:14] * gavro_ quit (Remote host closed the connection)
1151: [16:39:46] * gavro has joined #silverstripe
1152: [16:43:33] * Shrike_Finland quit (Client Quit)
1153: [16:43:57] * gavro quit (Ping timeout: 240 seconds)
1154: [16:44:38] * Shrike_Finland has joined #silverstripe
1155: [16:48:38] * jenniferaslan has joined #silverstripe
1156: [16:51:46] * Shrike_Finland quit (Quit: Leaving.)
1157: [16:52:45] * UndefinedOffset quit (Quit: Leaving.)
1158: [17:05:47] * Shrike_Finland has joined #silverstripe
1159: [17:14:39] * Shrike_Finland quit (Quit: Leaving.)
1160: [17:16:22] * UndefinedOffset has joined #silverstripe
1161: [17:17:15] * kinglozzer quit ()
1162: [17:18:11] * Shrike_Finland has joined #silverstripe
1163: [17:18:22] * stnvh quit (Quit: quit)
1164: [17:22:25] * Shrike_Finland quit (Client Quit)
1165: [17:29:10] * Shrike_Finland has joined #silverstripe
1166: [17:31:59] * stnvh has joined #silverstripe
1167: [17:33:07] * derek-b_ has joined #silverstripe
1168: [17:35:22] * derek-b quit (Ping timeout: 255 seconds)
1169: [17:38:24] * Otterpocket quit (Quit: Otterpocket)
1170: [17:45:10] * Shrike_Finland quit (Quit: Leaving.)
1171: [17:50:24] * gavro has joined #silverstripe
1172: [17:54:46] * gavro quit (Ping timeout: 258 seconds)
1173: [18:02:49] * derek-b_ is now known as derek-b
1174: [18:03:36] * derek-b has left #silverstripe
1175: [18:03:46] * ThePeach quit (Quit: leaving)
1176: [18:06:55] * DimiStripe quit (Quit: DimiStripe)
1177: [18:13:29] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1178: [18:45:15] * r3v3rb quit (Quit: r3v3rb)
1179: [18:55:36] * Shrike_Finland has joined #silverstripe
1180: [18:57:18] * Kingy[a] is now known as Kingy
1181: [19:06:58] * muskie9 has joined #silverstripe
1182: [19:13:12] * Olliepop has joined #silverstripe
1183: [19:18:40] * lerni_ has joined #silverstripe
1184: [19:27:17] * lerni_ quit (Remote host closed the connection)
1185: [19:33:43] * Stomach has joined #silverstripe
1186: [19:35:04] * jedateach has joined #silverstripe
1187: [19:40:35] <Stomach> morning yall
1188: [19:45:51] <Kingy> hey mate
1189: [19:47:38] * phpdev has joined #silverstripe
1190: [19:48:33] <phpdev> anyone know if stripe's built in checkout (https://checkout.stripe.com/checkout.js) has changed in the last day? I can no longer get it to render in phantomjs
1191: [19:54:10] <Stomach> phantomjs is your problem :P
1192: [19:54:35] <catcher> phantomjs.org: Site temporarily disabled
1193: [19:54:49] * phpdev quit (Ping timeout: 246 seconds)
1194: [19:55:46] * travis-ci has joined #silverstripe
1195: [19:55:46] <travis-ci> silverstripe/silverstripe-cms#1088 (3.1.8 - 708e706 : Damian Mooyman): The build passed.
1196: [19:55:46] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.8
1197: [19:55:46] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/41328702
1198: [19:55:46] * travis-ci has left #silverstripe
1199: [20:06:23] * Ryan-Toast has joined #silverstripe
1200: [20:06:37] * spekulatius has joined #silverstripe
1201: [20:11:57] * travis-ci has joined #silverstripe
1202: [20:11:57] <travis-ci> silverstripe/silverstripe-framework#3646 (3.1 - dceaeed : Damian Mooyman): The build has errored.
1203: [20:11:57] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/72484cd0bfff...dceaeedc4311
1204: [20:11:57] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41400841
1205: [20:11:57] * travis-ci has left #silverstripe
1206: [20:20:34] * novaweb has joined #silverstripe
1207: [20:20:39] * willr has joined #silverstripe
1208: [20:20:42] <JeremyRoundill> Damo's going a bit mad this morning, huh?
1209: [20:25:05] * spronk2 has joined #silverstripe
1210: [20:25:40] * spronk2 quit (Max SendQ exceeded)
1211: [20:35:15] * spronk2 has joined #silverstripe
1212: [20:36:34] * spekulatius2 has joined #silverstripe
1213: [20:36:34] * spekulatius2 quit (Client Quit)
1214: [20:38:22] <KF5WYX> How can I put the current user name into templates/Page.ss only if logged in, and otherwise do something else?
1215: [20:38:48] * KF5WYX seems to have done the more complicated bits, but keeps getting stuck on what he expects to be simple.
1216: [20:38:56] <simon_w> KF5WYX, <% if $CurrentUser %> $CurrentUser.Name <% else %> blah <% end_if %>
1217: [20:39:07] <Stomach> <% if $CurrentMember %>$FirstName<% else %>No member<% end_if %>
1218: [20:39:09] <KF5WYX> Many thanks simon_w
1219: [20:39:13] <Stomach> damnit simon_w
1220: [20:39:16] <KF5WYX> & Stomach
1221: [20:39:19] <simon_w> Stomach, too slooooooow
1222: [20:39:33] <Stomach> yeah pretty pathetic typing speed there
1223: [20:40:47] <KF5WYX> ok, race off guys. If I add a function to Page_Controller, say it's called GetBanner() and it expects an array of strings... GetBanner( $strings ) { } - how can I insert a call to that in Page.ss and pass in strings.
1224: [20:41:12] <simon_w> KF5WYX, you can't. Change it to accept lots of strings and then use func_get_args() instead
1225: [20:41:31] <KF5WYX> A single string would be fine, I can explode it at the commas
1226: [20:41:40] <KF5WYX> but how to pass the string into the template?
1227: [20:42:50] <KF5WYX> can I used $GetBanner( "whatever" ) ?
1228: [20:43:35] <simon_w> yes
1229: [20:44:21] <KF5WYX> Perfect, thanks.
1230: [20:52:37] * micmania1 has joined #silverstripe
1231: [20:53:40] * wmk quit (Ping timeout: 244 seconds)
1232: [20:58:33] * UncleCheese has joined #silverstripe
1233: [20:58:51] <UncleCheese> lol... 3.17 is soooooo yesterday
1234: [21:00:45] <spronk2> o_O
1235: [21:01:21] * vin_ has joined #silverstripe
1236: [21:01:28] <vin_> Hi
1237: [21:02:04] * vin_ quit (Client Quit)
1238: [21:02:19] * vinneeeeh has joined #silverstripe
1239: [21:02:30] <Olliepop> dammit GitHub... http://parsleyjs.org/doc/
1240: [21:02:31] <vinneeeeh> Hi there.
1241: [21:02:32] <Stomach> UncleCheese - fastest release cycle ever
1242: [21:02:40] <UncleCheese> yeah
1243: [21:02:58] <UncleCheese> this just in: SilverStripe 7.0 due to be released before end of year
1244: [21:03:13] <vinneeeeh> I want to install SilverStripe on my domain. But i get the warning: URL rewriting support: You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.
1245: [21:03:21] <vinneeeeh> How can I fix this?
1246: [21:03:32] <JeremyRoundill> a2enmod rewrite
1247: [21:03:47] <JeremyRoundill> In saying that, it's just a warning.
1248: [21:03:50] <vinneeeeh> In my .htaccess file?
1249: [21:03:57] <JeremyRoundill> Nah, command line.
1250: [21:04:24] <vinneeeeh> And if i dont have a command line available :).
1251: [21:04:33] <Stomach> do you have cpanel access?
1252: [21:04:36] <JeremyRoundill> Does the server have mod_rewrite installed?
1253: [21:05:08] <vinneeeeh> I dont have access to apache. And the server has mod_rewrite installed, so it says on their website
1254: [21:05:17] <novaweb> Hey fellas. So used to using git in command line and not on the web Gui. I have commited a couple of merge requests to the doc.silverstripe site but he wants them merged as one commit, instead of two separate ones. Can you do this via the github gui?
1255: [21:05:19] <vinneeeeh> But i cant change any settings for apache or what so ever
1256: [21:06:01] <JeremyRoundill> LoadModule rewrite_module modules/mod_rewrite.so
1257: [21:06:03] <JeremyRoundill> That might work
1258: [21:06:08] <novaweb> he = someone at silverstripe
1259: [21:06:27] <vinneeeeh> Where can i put that command?
1260: [21:06:36] <JeremyRoundill> .htaccess
1261: [21:06:42] <JeremyRoundill> I gotta run though
1262: [21:06:50] <muskie9> when setting up a sapphire test with a fixture file, the ->objFromFixture() should setup any relations declared in the fixture file right?
1263: [21:06:51] <JeremyRoundill> That line should get you through with a bit of Google-fu
1264: [21:06:56] * antmas has joined #silverstripe
1265: [21:07:01] <vinneeeeh> thanks man :).
1266: [21:07:10] <antmas> morning all :)
1267: [21:07:18] <antmas> adrexia: hey, are you about?
1268: [21:07:22] <adrexia> yep
1269: [21:07:27] <adrexia> what's up?
1270: [21:07:39] <antmas> adrexia: had a bit of a hiccup with batchactions last friday
1271: [21:07:41] <vinneeeeh> Does it matter where i put that command
1272: [21:08:08] <adrexia> oh?
1273: [21:08:13] <antmas> adrexia: I got a bad class error on line 48 of CMSBatchActionHandler.php
1274: [21:08:25] <antmas> adrexia: after moving some changes I made to the live server
1275: [21:08:30] <novaweb> Is Dan Hensby in here adrexia? ... Don't know his screen name...
1276: [21:08:49] <adrexia> I don't hink I know Dan
1277: [21:09:08] <adrexia> antmas what was the error?
1278: [21:11:35] <adrexia> line 48 is the register method. Suppose you ran dev build flush and all that?
1279: [21:12:36] <JeremyRoundill> Top of .htaccess, vinneeeeh
1280: [21:13:55] * vinneeeeh quit (Ping timeout: 246 seconds)
1281: [21:14:45] <spronk2> wow
1282: [21:14:51] <spronk2> atlassian products are a fucking mess
1283: [21:14:54] <spronk2> how many different auth systems do they need :|
1284: [21:18:25] * zippy_ has joined #silverstripe
1285: [21:18:30] <zippy_> mornings
1286: [21:18:51] <zippy_> UncleCheese: Hows the hood treating you these days
1287: [21:18:57] <UncleCheese> meh
1288: [21:19:22] <zippy_> still looking else where or now the roof jumpers have left pretty content?
1289: [21:19:34] <UncleCheese> there was a dude standing in the middle of the road last night holding a bottle and doing karate kicks
1290: [21:19:36] <zippy_> Stomach: You mentioned you use cloudflare for the CDN part. I have found it slower... serving css/js and images..
1291: [21:20:00] <UncleCheese> yeah, we're keen to leave.. hope something comes up
1292: [21:20:39] <Stomach> zippy_ - it might be slightly slower if your server is in NZ and you are too
1293: [21:21:08] <zippy_> mmm.. before was like 70ms and now it's 200ms~ so, I don't see the point of it really, if your target audience is in NZ...
1294: [21:21:27] <zippy_> sometimes requests blow out to a second or two as well, it's pretty strange
1295: [21:22:25] * zippy_ is now known as zippy__
1296: [21:22:55] * zippy__ is now known as Guest19720
1297: [21:23:04] <Guest19720> mooseballs
1298: [21:24:30] <antmas> adrexia: sorry, meeting :(
1299: [21:24:43] * Guest19720 tries to remember his nickserv passwor
1300: [21:24:45] <Guest19720> d
1301: [21:24:52] <Guest19720> hunter2 not working
1302: [21:26:15] <adrexia> antmas I have one of those myself in a few minutes
1303: [21:27:02] <Stomach> Guest19720 - we don't use it for NZ target audiences :P
1304: [21:27:13] <Stomach> only sites that are internationally targetted
1305: [21:27:31] * Guest19720 is now known as zippy
1306: [21:27:31] <Stomach> most of our cloudflare backed sites are linodes based in new york or london
1307: [21:27:56] <zippy> i c
1308: [21:28:31] <zippy> I think we might drop it, slap on https and go for spdy
1309: [21:28:45] <zippy> just have to optimize the https
1310: [21:28:51] <zippy> and go with full page caching
1311: [21:28:54] <zippy> shit will zoom then
1312: [21:30:29] <Stomach> zoom zoom zoom
1313: [21:30:39] * Ryan-Toast quit (Quit: Ryan-Toast)
1314: [21:30:48] <zippy> bloody server runs on plesk thou, god damn people that use that shit
1315: [21:32:42] * Ryan-Toast has joined #silverstripe
1316: [21:32:42] * Colin[pi] has joined #silverstripe
1317: [21:34:33] <Colin[pi]> moin moin
1318: [21:35:45] * travis-ci has joined #silverstripe
1319: [21:35:45] <travis-ci> silverstripe/silverstripe-framework#3648 (3.1 - e5bed94 : Daniel Hensby): The build passed.
1320: [21:35:45] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/dceaeedc4311...e5bed94d0739
1321: [21:35:45] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41407734
1322: [21:35:45] * travis-ci has left #silverstripe
1323: [21:37:09] <muskie9> in this instance of a fixture, if I create a Bar object from fixture, it should create the related Foo object and set the relation correct? https://gist.github.com/nhorstmeier/5d2d62f1c44318679564 working on a test in an app of mine... still pretty green with these
1324: [21:41:34] <Stomach> Zauberfisch has got my back <3
1325: [21:42:09] * UndefinedOffset quit (Quit: Leaving.)
1326: [21:44:29] <antmas> adrexia: yup I did build and flush
1327: [21:44:58] <antmas> although there was heavy site traffic (another story) so maybe something went wrong during
1328: [21:47:08] <spronk2> GOYS
1329: [21:47:17] <spronk2> FUR AN APE EE EYE
1330: [21:47:47] <spronk2> if i've got i.e. a reset password endpoint, what http code is appropriate to send back to client ? 202?
1331: [21:48:09] <Shrike_Finland> Hi, if I have multiple images inside $content, is the $this->Images() a right call, or should it be image()? https://github.com/tractorcow/silverstripe-opengraph/issues/10
1332: [21:48:12] <spronk2> 201?
1333: [21:49:38] <adrexia> antmas tried running it again? does the erorr always happen, or just sometimes?
1334: [21:50:24] <antmas> adrexia: hmmmm I will try it again
1335: [21:50:30] <zippy> spronk2: appropriate for what, fail, or success?
1336: [21:50:34] <spronk2> success
1337: [21:50:38] <spronk2> as in.. password reset and sent to you
1338: [21:50:50] <Colin[pi]> spronk2: 200?
1339: [21:50:51] <Colin[pi]> :P
1340: [21:50:57] <spronk2> hmm
1341: [21:51:01] <spronk2> 200 doesn't seem semantically correct :p
1342: [21:51:13] <Colin[pi]> 201 doesnt seem right doe
1343: [21:51:17] <Colin[pi]> 202 perhaps?
1344: [21:51:19] <spronk2> hmm
1345: [21:51:22] <spronk2> yeah
1346: [21:51:25] <spronk2> i think 202 seems best fit..
1347: [21:51:42] <zippy> 202 seems good, but then "The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place."
1348: [21:51:47] <spronk2> yeahh
1349: [21:51:49] <Colin[pi]> mm
1350: [21:51:51] <zippy> ah well, 202
1351: [21:52:02] <Stomach> Shrike_Finland - $this->Images() will call a function Images() on the class which isn't how you get it out of content
1352: [21:52:07] <antmas> adrexia: it must have been the build process as it works fine on other environments :P
1353: [21:52:22] <Stomach> if you have images in the content you'll most likely need to parse the content field to grab the image url
1354: [21:52:40] <Shrike_Finland> damn...
1355: [21:52:41] <adrexia> antmas possibly
1356: [21:53:27] <spronk2> hmm
1357: [21:53:32] <Colin[pi]> spronk2: http://www.restapitutorial.com/lessons/httpmethods.html ?
1358: [21:53:40] <Colin[pi]> not sure if that has any helpful info
1359: [21:53:48] <spronk2> what would you call and endpoint that either resets a password if an account exists, or creates an account if one doesn't?
1360: [21:53:52] <Colin[pi]> because it's crud specific
1361: [21:53:53] <spronk2> ...and sends a password
1362: [21:54:07] <spronk2> hmm
1363: [21:54:10] <spronk2> i gues 204 no content almost applies
1364: [21:54:17] <Colin[pi]> ah the programmer dilemma... what to call shit
1365: [21:54:24] <spronk2> its not really
1366: [21:54:25] <spronk2> create...
1367: [21:54:30] <spronk2> i could split it into two APIs but that seems silly
1368: [21:54:46] <spronk2> init?
1369: [21:55:05] <spronk2> join?
1370: [21:55:07] <spronk2> register
1371: [21:55:08] <Colin[pi]> mm I wouldn't use init, bit too associated with config stuff
1372: [21:55:08] <spronk2> REGISTER!
1373: [21:55:15] <Colin[pi]> yeah that sounds ok
1374: [21:55:22] * spronk2 <3 naming things
1375: [21:55:54] <Colin[pi]> spronk2: whats the api for? or if you tell me you'll have to kill me?
1376: [21:56:03] <spronk2> Colin[pi] registration for a mobile ap
1377: [21:56:04] <spronk2> p
1378: [21:56:10] <Colin[pi]> ah k
1379: [21:56:11] <spronk2> well, the api is for a mobile app but this part of it is rego
1380: [21:56:26] <spronk2> whatsapp-style registration, enter your contact detail, get sent a code
1381: [21:56:27] <spronk2> etc
1382: [21:56:54] * spronk2 unfortunately now has to kill you. And everyone else in this chan.
1383: [21:56:56] <spronk2> :D
1384: [21:57:01] <Colin[pi]> noooo
1385: [21:57:04] <antmas> adrexia: haha, someone had pasted this exact error months ago http://www.sspaste.com/paste/show/531e5e6813230
1386: [21:57:05] <Colin[pi]> I'm too almost middle aged to die
1387: [21:57:37] <Ryan-Toast> antmas: https://www.youtube.com/playlist?list=PLx_tr69QV8CAll6JVEFJW94v4aE9pCtIf
1388: [21:57:54] <adrexia> interesting
1389: [22:07:26] <Stomach> Shrike_Finland - https://github.com/tractorcow/silverstripe-opengraph/issues/10
1390: [22:09:07] <Shrike_Finland> Stomach: testing right away!
1391: [22:10:53] <Kingy> I have a pretty messy issue I could use a hand with if possible..
1392: [22:11:13] <Kingy> on the site we tag an article under a publication header right
1393: [22:11:20] <Kingy> sometimes they get tagged under multiple publications
1394: [22:11:20] * r_hector has joined #silverstripe
1395: [22:11:42] * Colin[pi] nods
1396: [22:11:59] <Kingy> when browsing to the article it uses a url param to distinguish the publication ?p=X
1397: [22:12:22] <Kingy> so that knows to display the right header img, and allows us to target ads to specific publications
1398: [22:12:38] <Kingy> occasionally though it messes it all up and displays on the complete different one
1399: [22:12:51] <Stomach> Shrike_Finland - sweet let me know how it goes
1400: [22:13:24] <Kingy> I'm confused as to how I should fix/change it
1401: [22:13:38] <Colin[pi]> Kingy: I'd try to investigate a better way than passing a url param if poss
1402: [22:13:42] <Kingy> yeah
1403: [22:13:44] <Stomach> yeah what he said
1404: [22:13:45] <Kingy> that
1405: [22:13:47] <Kingy> is my thought
1406: [22:14:11] <Colin[pi]> because that url param disappears, and boom, all goes to shit
1407: [22:14:14] <Stomach> /publications/publication/article
1408: [22:14:21] <Stomach> makes more sense?
1409: [22:14:29] <Shrike_Finland> Stomach: seems to work!! Is there a way to pickup images from multiple HTMLVars (like Content, Column etc.)?
1410: [22:14:44] <Colin[pi]> Stomach: I try to stick as much as I can into url segments, yeah
1411: [22:14:45] <Stomach> Shrike_Finland - just concatenate them where I did the domdocument load
1412: [22:14:45] <Kingy> Stomach, yeah I think that's going to have to be the way
1413: [22:14:50] <Colin[pi]> looks much neater too
1414: [22:14:54] <Shrike_Finland> sweet!
1415: [22:16:24] <Stomach> or alternatively just do extract that out to a function
1416: [22:16:32] <Stomach> getContentFromDom or whatever
1417: [22:17:05] <Stomach> then do $images = array_merge($this->getContentFromDom($this->Content), $images); $images = array_merge($this->getContentFromDom($this->OtherContent), $images);
1418: [22:19:02] <Shrike_Finland> Hmm, that's good idea!
1419: [22:19:33] <Shrike_Finland> Have to tune it up, thank man!
1420: [22:22:22] * catcher quit (Ping timeout: 245 seconds)
1421: [22:24:07] <Stomach> no problem :)
1422: [22:28:07] <JeremyRoundill> vinneeeeh: Did you get it going?
1423: [22:28:29] <JeremyRoundill> Oh, he's gone :O
1424: [22:34:39] <simon_w|work> mmm, muffins
1425: [22:38:02] * travis-ci has joined #silverstripe
1426: [22:38:03] <travis-ci> silverstripe/silverstripe-framework#3650 (3.1 - 2e416b6 : Josh Kosmala): The build passed.
1427: [22:38:03] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/e5bed94d0739...2e416b60f31c
1428: [22:38:03] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41415115
1429: [22:38:03] * travis-ci has left #silverstripe
1430: [22:38:26] * Shrike_Finland quit (Quit: Leaving.)
1431: [22:38:59] <simon_w|work> Uh oh, HHVM is missing the most important PHP feature! http://3v4l.org/WY1Vs
1432: [22:44:52] <KF5WYX> Think I'm starting to beat this thing into shape: http://chapmanworld.com/cms
1433: [22:46:41] <antmas> anyone know if running a PCI 3.0 GPU on an older mobo would cause any issues?
1434: [22:47:10] <simon_w|work> antmas, get a mac :p
1435: [22:47:37] * Guits quit (Ping timeout: 240 seconds)
1436: [22:47:59] <KF5WYX> later all.
1437: [22:48:04] <Colin[pi]> antmas: PCIe is backwards compatible afaik
1438: [22:48:16] <antmas> Colin[pi]: yeah I know, just wondering if it will bottleneck
1439: [22:48:21] <Colin[pi]> possible
1440: [22:48:42] <simon_w|work> Colin[pi], but which way? Newer chips in older boards or older chips in newer boards?
1441: [22:49:11] <antmas> simon_w|work: it's not the chip, but the interface
1442: [22:50:12] * wmk has joined #silverstripe
1443: [22:51:21] <Stomach> wmk - https://github.com/unclecheese/silverstripe-gridfield-betterbuttons/pull/71
1444: [22:51:22] <Stomach> :)
1445: [22:51:53] <Snowman23> Kingy: Have you noticed the test site being any better?
1446: [22:52:16] * KF5WYX quit (Ping timeout: 246 seconds)
1447: [22:52:52] <Colin[pi]> simon_w|work: newer gpus in older boards, less bandwidth
1448: [22:53:55] <antmas> Colin[pi]: exacry
1449: [22:54:17] <Colin[pi]> but apparently the performance difference is negligible in most cases
1450: [22:54:25] <Colin[pi]> like 2-5% difference
1451: [22:54:29] * wmk quit (Ping timeout: 255 seconds)
1452: [22:55:17] * UncleCheese quit (Ping timeout: 240 seconds)
1453: [22:55:52] <Colin[pi]> lol: http://i.imgur.com/Qk2vogu.png
1454: [22:56:21] <adrexia> hahahaha
1455: [22:56:30] <Stomach> :D
1456: [22:56:44] <JeremyRoundill> Haha
1457: [22:58:06] <novaweb> antmas.. I have a mac for sale :p
1458: [22:58:19] <antmas> novaweb: how much and what model?
1459: [23:00:27] * travis-ci has joined #silverstripe
1460: [23:00:27] <travis-ci> silverstripe/silverstripe-framework#3651 (master - 6baf63e : Damian Mooyman): The build passed.
1461: [23:00:27] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/05f49e5b8121...6baf63e18c40
1462: [23:00:27] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41418010
1463: [23:00:27] * travis-ci has left #silverstripe
1464: [23:04:44] <antmas> adrexia: tried again with a dev/build, same error
1465: [23:05:04] <adrexia> but only in one environment?
1466: [23:05:26] <antmas> yup
1467: [23:05:32] <adrexia> wait, have we had this conversation before? It sounds familiar
1468: [23:06:01] <Colin[pi]> DAY JAR VOO
1469: [23:06:06] <Colin[pi]> they changed something in the Matrix
1470: [23:06:09] <antmas> I haven't had this error before though
1471: [23:06:10] * markcl has joined #silverstripe
1472: [23:06:45] <adrexia> but you have had other errors with the same module that only happened in that one environment, right?
1473: [23:06:56] <antmas> yup
1474: [23:06:56] <markcl> The flush=all on the admin/cms and flush=all on the non-admin pages are different it seems
1475: [23:07:10] <adrexia> how wasd it fixed last time?
1476: [23:07:19] <markcl> the flush=all on the non-admin pages does not affect the cms pages
1477: [23:07:21] <antmas> adrexia: oh wait, sorry no
1478: [23:07:28] <antmas> no errors until now
1479: [23:07:29] <markcl> Is this intended?
1480: [23:07:47] <simon_w|work> markcl, it should do
1481: [23:08:36] <markcl> It shoud do what?
1482: [23:08:44] <adrexia> I have noticed that before too markcl but only when doping things that involve adding a new left and main or overriding the gridfield display in a modeladmin
1483: [23:09:01] <markcl> adrexia: All I did was remove a module from composer
1484: [23:09:18] <markcl> Then when the client logged in to the CMS, he said he encountered a Warning
1485: [23:09:26] <adrexia> from what I understand it *should* just work
1486: [23:09:28] <markcl> which i fixed by doing a flush=all
1487: [23:09:49] <markcl> Which was really weird because I already did a flush=all on the non-cms pages
1488: [23:10:29] <simon_w|work> markcl, the problem is that ?flush doesn't clear everything
1489: [23:10:42] <jedateach> Hey guys, I’m consdering writing an “ExternalLinkField” module for purely handling external URLs: https://github.com/burnbright/silverstripe-externalurlfield
1490: [23:10:49] <jedateach> (readme driven development)
1491: [23:11:13] <jedateach> I mean “ExternalURLField”
1492: [23:11:38] <adrexia> nice includes www?
1493: [23:11:43] <Stomach> jedateach - https://github.com/sheadawson/silverstripe-linkable ?
1494: [23:12:16] <jedateach> Stomach: yeah willr just mentioned that to me, but I’m not keen on the DataObject based approach
1495: [23:12:27] <Stomach> fair enough
1496: [23:12:50] * toddvalentine quit ()
1497: [23:12:51] <jedateach> I’m just thinking somthing minmal to put a URL into a db field, and provide some display options
1498: [23:13:04] <antmas> adrexia: that error typically refers to a class either changing/adding to the register right? something that happens at build time?
1499: [23:13:30] <adrexia> you didn't post the actual error, but it sounded like that one to me, yeah
1500: [23:13:58] <adrexia> like the class didn't exist in the manifest
1501: [23:14:01] <antmas> trouble is, I can't build as it posts that erro :P
1502: [23:14:05] <antmas> error:P
1503: [23:14:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
1504: [23:14:17] <adrexia> the module exists on the server, right?
1505: [23:14:26] <adrexia> wait, I guess it must
1506: [23:14:29] <antmas> basically, I have the /batchactions folder in there ^^^ and the lines in the config to enable them
1507: [23:14:38] <adrexia> that class exists, and is only defined once?
1508: [23:14:53] <antmas> would I need to build before adding those lines to the config maybe?
1509: [23:14:57] <adrexia> this is horribly familiar
1510: [23:15:08] <antmas> yes I know :P
1511: [23:15:08] <adrexia> nope
1512: [23:15:13] <antmas> driving me nuts
1513: [23:16:26] <adrexia> http://logs.simon.geek.nz/index.php?date=2014-09-17#log_1403880
1514: [23:16:30] <Stomach> http://www.juliewinklegiulioni.com/wp-content/uploads/2014/03/driving-nuts.jpg
1515: [23:17:07] <antmas> adrexia: I remember this, but totally differnet error
1516: [23:17:20] <adrexia> yeah, similar problem set though
1517: [23:17:34] <adrexia> being the difference between your dev environemnts and live
1518: [23:18:52] <simon_w|work> Yay! Logs links don't make my phone make noise!
1519: [23:18:58] <adrexia> hahah
1520: [23:19:23] <simon_w|work> Looks like one of the options I changed in Textual works now
1521: [23:19:34] <Snowman23> When I get that feeling I want
1522: [23:19:37] <Snowman23> Textual editing
1523: [23:19:39] <Snowman23> I want textual
1524: [23:19:40] <Snowman23> EDITING
1525: [23:20:16] <Snowman23> simon_w|work: So you're saying your phone makes a noise when someone says your name?
1526: [23:20:19] <Snowman23> simon_w|work: Interesting
1527: [23:20:20] <Snowman23> simon_w|work: I'll keep that
1528: [23:20:21] <Snowman23> simon_w|work: in
1529: [23:20:24] <Snowman23> simon_w|work:mind.
1530: [23:20:42] * Snowman23 has joined #silverstripe
1531: [23:20:43] <Stomach> mod fight!
1532: [23:20:43] <Snowman23> :(
1533: [23:20:49] <Snowman23> :P
1534: [23:20:54] <Snowman23> `composer install --no-dev`
1535: [23:20:57] <Snowman23> -> 10 years later
1536: [23:21:01] <adrexia> lol
1537: [23:21:02] <Snowman23> It's insane how slow it is
1538: [23:21:17] <Snowman23> Go back to SVN I say
1539: [23:21:28] <simon_w|work> Just move away from Github
1540: [23:21:37] <Stomach> fork all projects locally
1541: [23:21:40] <Snowman23> lol
1542: [23:21:41] <Stomach> run satis branch
1543: [23:21:42] <Stomach> profit
1544: [23:21:52] <Stomach> spend years updating projects locally
1545: [23:21:55] <Stomach> not profit :(
1546: [23:24:35] <Snowman23> oh god someine is ringing us
1547: [23:24:36] <adrexia> or take up sword fighting
1548: [23:24:40] * Snowman23 looks at novaweb
1549: [23:24:50] <adrexia> http://xkcd.com/303/
1550: [23:25:38] * travis-ci has joined #silverstripe
1551: [23:25:38] <travis-ci> silverstripe/silverstripe-cms#1089 (master - 638fb46 : Damian Mooyman): The build passed.
1552: [23:25:38] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/dd98317b6705...638fb464078c
1553: [23:25:38] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/41418022
1554: [23:25:38] * travis-ci has left #silverstripe
1555: [23:26:01] <Snowman23> novaweb sux
1556: [23:26:06] <Snowman23> :D
1557: [23:26:08] <novaweb> hahaha
1558: [23:27:02] <antmas> adrexia: found it :P
1559: [23:27:12] <adrexia> what was it?
1560: [23:27:28] <antmas> a class didn't copy across
1561: [23:27:35] <antmas> folder did, but not a file within it
1562: [23:27:40] <adrexia> ahh, yeah that makes sense
1563: [23:27:41] <antmas> so weird, but that was it
1564: [23:27:54] <adrexia> so you... just copy the files from one p[lace to the other?
1565: [23:28:11] <antmas> I don't, but our neckbeard does :P
1566: [23:28:16] <adrexia> :D
1567: [23:28:28] <antmas> before you say anything 'I KNOW I KNOW I HAVE THIS DISCUSSION WITH HIM ALL THE TIME'
1568: [23:29:00] <adrexia> yep ;)
1569: [23:32:01] <novaweb> here
1570: [23:33:35] * cloph is now known as cloph_away
1571: [23:36:48] <antmas> adrexia: I need to take a good argument for an alternative approach to FTP :P
1572: [23:36:51] <antmas> suggestions?
1573: [23:37:39] <adrexia> https://www.google.co.nz/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=why%20to%20not%20use%20ftp
1574: [23:37:49] <adrexia> lots anj lots of hits
1575: [23:37:51] <adrexia> :D
1576: [23:37:57] <antmas> adrexia: :D
1577: [23:38:16] <antmas> I dunno dude, I have to fight through a lvl 80 neckbeard for this
1578: [23:38:35] <adrexia> he's not much of a neckbeard if he still uses ftp
1579: [23:38:51] <spronk2> yeahh
1580: [23:38:57] <adrexia> not unless he also has a time machine and comes direct from the year 2000
1581: [23:38:58] <spronk2> tell him he's an antiquated cowboy hcaker
1582: [23:39:05] <spronk2> and using FTP is not professional.
1583: [23:39:10] <Colin[pi]> get him to use SFTP at the very least
1584: [23:39:11] <antmas> oh good he would lose his mind if I called him that :P
1585: [23:39:21] <spronk2> well tbh
1586: [23:39:27] <spronk2> anyone who uses ftp these days is a fucking script kiddie
1587: [23:39:35] <antmas> I'm not disagreeing with anyone here
1588: [23:39:40] <spronk2> so he needs ot know
1589: [23:39:40] <spronk2> :p
1590: [23:39:40] <adrexia> its really just for people starting out
1591: [23:39:49] <adrexia> not for real world websites
1592: [23:40:27] <Colin[pi]> give adrexia his phone number, she'll sort him out
1593: [23:40:30] <spronk2> :D
1594: [23:40:38] <antmas> I should check we're not actuall using SFTP
1595: [23:40:41] <spronk2> it can be a useful tool
1596: [23:40:44] <spronk2> but not on its own
1597: [23:40:53] <antmas> I might have jumped the gun as I've had this argument with him ages ago
1598: [23:40:55] <spronk2> only if used with a deployment tool that verifies that everything worked correctly
1599: [23:41:21] <spronk2> just plain ftp on its own is like copying and pasting all your module code
1600: [23:41:26] <spronk2> instead of, yknow, using composer.
1601: [23:42:36] <Olliepop> "anyone who uses ftp these days is a fucking script kiddie" beautiful haha
1602: [23:43:37] <antmas> could I use a composer setup to keep things in check between servers?
1603: [23:43:44] <antmas> that would be ace
1604: [23:45:12] <Olliepop> what do you mean in check?
1605: [23:45:24] <spronk2> hrm
1606: [23:45:26] <spronk2> you... can
1607: [23:45:27] <Stomach> antmas - use beam
1608: [23:45:28] <spronk2> but its not a good idea
1609: [23:45:29] <Olliepop> synchronized?
1610: [23:46:15] <antmas> yeah in check/syncd
1611: [23:46:25] <antmas> we have a dev>UAT>Pord setup
1612: [23:46:30] <antmas> lol Pord
1613: [23:46:32] <antmas> Prod*
1614: [23:49:13] <antmas> so yeah, I'd like a good approach/tool for keeping all 3 in check with each other outside of _configs and permissions
1615: [23:53:05] * mobiusnz has joined #silverstripe
1616: [23:54:56] <mobiusnz> did SiteTree backtrack on having static vars as private?
1617: [23:55:24] <simon_w|work> mobiusnz, nope
1618: [23:55:39] * simon_w|work guesses your Page class needs updating
1619: [23:55:40] <mobiusnz> weird
1620: [23:56:03] <zippy> funk soul brother
1621: [23:56:30] <mobiusnz> my Page has private static and cms/code/model/SiteTree has just static
1622: [23:56:41] <mobiusnz> after I did a composer update
1623: [23:56:42] <simon_w|work> You've got a 3.0 cms?
1624: [23:56:46] <zippy> mobiusnz: that 3.0..
1625: [23:56:48] <antmas> zippy: right about now?
1626: [23:56:54] <zippy> antmas: check it out now!
1627: [23:58:25] <antmas> I always thought it was Funk Show Brother
1628: [23:58:29] <antmas> but that makes no sense
1629: [23:59:10] <mobiusnz> simon_w|work: yeah "silverstripe/cms": "3.0.*@stable",
1630: [23:59:17] <mobiusnz> should that be changed
1631: [23:59:23] <simon_w|work> If you want 3.1, yes
1632: [23:59:52] <mobiusnz> odd. I must've gotten 3.1 via not-composer in the past :/

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