#silverstripe IRC Log

IRC log for 9 March 2015

All timestamps are in UTC.

1: [00:02:15] <Pyromanik> fuck me it's midnight
2: [00:02:29] <Colin[pi]> Pyromanik: no thanks
3: [00:02:35] <Pyromanik> nawww
4: [00:02:53] <Pyromanik> but I'm busy releasing shit code into the wild!
5: [00:02:56] <Pyromanik> With no testing!
6: [00:04:29] * travis-ci has joined #silverstripe
7: [00:04:30] <travis-ci> silverstripe/silverstripe-framework#4353 (3 - 3b9129f : Daniel Hensby): The build passed.
8: [00:04:30] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/e3478e96fd92...3b9129f68166
9: [00:04:30] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53589482
10: [00:04:30] * travis-ci has left #silverstripe
11: [00:05:56] <Pyromanik> Hmm, what to call this module.
12: [00:06:49] * travis-ci has joined #silverstripe
13: [00:06:50] <travis-ci> dhensby/silverstripe-framework#259 (pulls/cofig-lru-fix - 09ff472 : Daniel Hensby): The build has errored.
14: [00:06:50] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/920318db6e2e...09ff472f6747
15: [00:06:50] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53589955
16: [00:06:50] * travis-ci has left #silverstripe
17: [00:07:46] <zauberfisch> Pyromanik: haha you are at the hardest part now
18: [00:08:01] <zauberfisch> Pyromanik: I guess you can scratch your time schedule of releaseing today :D
19: [00:08:02] <Pyromanik> zauberfisch, hmm?
20: [00:08:08] <zauberfisch> "< Pyromanik> Hmm, what to call this module."
21: [00:08:14] <Pyromanik> zauberfisch, nope! I'm just ... Oh, yeah. FK
22: [00:08:15] <Pyromanik> lol
23: [00:08:20] <Pyromanik> Have gone for joson
24: [00:08:40] <zauberfisch> for me its like
25: [00:08:52] <Pyromanik> because this http://knowyourmeme.com/memes/doom-repercussions-of-evil
26: [00:09:35] <zauberfisch> :O
27: [00:10:19] * travis-ci has joined #silverstripe
28: [00:10:20] <travis-ci> dhensby/silverstripe-framework#258 (3 - 3b9129f : Daniel Hensby): The build passed.
29: [00:10:20] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/e3478e96fd92...3b9129f68166
30: [00:10:20] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53589627
31: [00:10:20] * travis-ci has left #silverstripe
32: [00:14:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
33: [00:22:51] <Pyromanik> https://github.com/NightJar/silverstripe-joson
34: [00:22:59] <Pyromanik> hurrah. COMPLETELY UNTESTED
35: [00:23:23] <Pyromanik> (code changes to remove client references, etc)
36: [00:26:03] * travis-ci has joined #silverstripe
37: [00:26:04] <travis-ci> silverstripe/silverstripe-framework#4355 (3.1 - a59e102 : Daniel Hensby): The build passed.
38: [00:26:04] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1a9c206d156a...a59e102c615a
39: [00:26:04] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53590115
40: [00:26:04] * travis-ci has left #silverstripe
41: [00:26:16] * UncleCheese has joined #silverstripe
42: [00:27:58] * Colin[pi]_2 has joined #silverstripe
43: [00:28:28] <Pyromanik> Alright, bed time! good chatting zauberfisch :>
44: [00:28:50] <zauberfisch> sleep well
45: [00:28:57] <zauberfisch> and see you soon hopefully ;)
46: [00:31:22] * Colin[pi] quit (Ping timeout: 244 seconds)
47: [00:31:49] <Pyromanik> ciao!
48: [00:31:53] * Pyromanik quit (Quit: zzzzz)
49: [00:32:14] * Colin[pi]_2 is now known as Colin[pi]
50: [00:37:01] <Hailwood> Hmm, using micmania1/silverstripe-blog - How difficult would it be to get the top X posts that have the most categories in common with a given post?
51: [00:38:28] * travis-ci has joined #silverstripe
52: [00:38:29] <travis-ci> dhensby/silverstripe-framework#260 (pulls/cofig-lru-fix - e97df9e : Daniel Hensby): The build has errored.
53: [00:38:29] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/09ff472f6747...e97df9ec9173
54: [00:38:29] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53592501
55: [00:38:29] * travis-ci has left #silverstripe
56: [00:39:09] <zauberfisch> Hailwood: sounds like a 1 liner in sql ;)
57: [00:39:13] <zauberfisch> though a very long line
58: [00:39:18] <micmania1> Hailwood: depends what you mean by ‘Top’ posts
59: [00:39:53] <zauberfisch> sort by count(Category.*) I presume
60: [00:40:38] <micmania1> yeah, it’d probably be custom SQL I think. Sounds complex
61: [00:41:10] <zauberfisch> well, I would use sqlquery
62: [00:41:45] * Stomach has joined #silverstripe
63: [00:42:36] <Hailwood> I was thinking something along the lines of get post 72's categories then do a select postID from (table) where categoryID in (post 72's categories) group by postID order by COUNT(categoryID)
64: [00:42:40] <Hailwood> would that work?
65: [00:43:17] <Hailwood> micmania1, Top being "post that has the most in common categories"
66: [00:43:28] <antmas> how I feel when I get to work on Monday https://i.imgur.com/B92ZjT3.gif
67: [00:43:39] <micmania1> Hailwood: I got that. Just confused myself :p
68: [00:45:51] <micmania1> Hailwood: $this->Categories()->relation(‘BlogPosts’) - That would give all common blog posts I think.
69: [00:46:20] * Stomach quit (Client Quit)
70: [00:46:50] <Hailwood> micmania1, How does that work? (any docs anywhere?)
71: [00:46:53] <micmania1> Then you might be able to group & sort but not sure how off the top of my head
72: [00:47:18] <micmania1> Hailwood: not sure. I’ve just seen it on IRC. Just var_dump it then it’ll show you what properties it has
73: [00:48:37] <Hailwood> micmania1, I'm more doing this as theory atm (client scope that I can't charge for :/)
74: [00:48:37] * 6A4ABQ5NP has joined #silverstripe
75: [00:48:38] <6A4ABQ5NP> dhensby/silverstripe-framework#261 (pulls/cofig-lru-fix - 5bc99d7 : Daniel Hensby): The build has errored.
76: [00:48:38] <6A4ABQ5NP> Change view : https://github.com/dhensby/silverstripe-framework/compare/e97df9ec9173...5bc99d72a40e
77: [00:48:38] <6A4ABQ5NP> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53593128
78: [00:48:38] * 6A4ABQ5NP has left #silverstripe
79: [00:49:13] <micmania1> Hailwood: ah ok. Yeah, its possible - it’ll just take a bit of work to get working.
80: [00:51:00] * ss-helper quit (Ping timeout: 244 seconds)
81: [00:51:05] * Colin[pi] has left #silverstripe
82: [00:58:51] * ss-helper has joined #silverstripe
83: [01:00:00] <mobiusnz> do mariadb and mysql handle indexes differently?
84: [01:02:37] <ss23> Not externally
85: [01:02:40] <ss23> That is, not that SilverStripe could tell
86: [01:02:44] <ss23> Internally, maybe a little
87: [01:03:01] <veb> fukign!
88: [01:03:06] <veb> efsjhvfdks
89: [01:03:08] <veb> I move into the lounge where it's full of sun
90: [01:03:10] <mobiusnz> hmm. it seems to be broken
91: [01:03:10] <veb> what happens?
92: [01:03:12] <veb> sun goes away.
93: [01:03:19] <mobiusnz> http://www.sspaste.com/paste/show/54fcef9dd9550
94: [01:03:51] <mobiusnz> I'm basing that off http://doc.silverstripe.org/en/developer_guides/model/indexes/
95: [01:03:59] <Hailwood> Hmm, anyone know if it's possible to add a CMS Editable content area to the login page? I know you can customize the template via Security_login.ss so I was thinking to add an HTMLEditorField to SiteConfig and display that in the template, but I would rather have an actual "login" page where I can use the content field.
96: [01:05:23] <mobiusnz> ah, nevermind. the second example type seems to work
97: [01:05:34] * Colin[pi] has joined #silverstripe
98: [01:08:09] * Azure quit (Ping timeout: 245 seconds)
99: [01:09:28] * muskie9 has joined #silverstripe
100: [01:09:46] <Hailwood> Especially since I also need to ability to set things like the header image, header image text, footer links.. All stuff on the actual page class.
101: [01:12:27] * travis-ci has joined #silverstripe
102: [01:12:28] <travis-ci> dhensby/silverstripe-framework#262 (pulls/cofig-lru-fix - 1b33ce5 : Daniel Hensby): The build has errored.
103: [01:12:28] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/5bc99d72a40e...1b33ce547a31
104: [01:12:28] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53594841
105: [01:12:28] * travis-ci has left #silverstripe
106: [01:14:32] * travis-ci has joined #silverstripe
107: [01:14:33] <travis-ci> dhensby/silverstripe-framework#263 (pulls/cofig-lru-fix - 235ce0c : Daniel Hensby): The build has errored.
108: [01:14:33] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/1b33ce547a31...235ce0c17204
109: [01:14:33] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53594909
110: [01:14:33] * travis-ci has left #silverstripe
111: [01:18:05] * Azure has joined #silverstripe
112: [01:24:56] * travis-ci has joined #silverstripe
113: [01:24:56] <travis-ci> dhensby/silverstripe-framework#264 (pulls/cofig-lru-fix - 3630da5 : Daniel Hensby): The build has errored.
114: [01:24:57] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/235ce0c17204...3630da5ac708
115: [01:24:57] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53595540
116: [01:24:57] * travis-ci has left #silverstripe
117: [01:29:29] <ss-helper> Re: SS3 SiteConfig Problems on /dev/build - http://www.silverstripe.org/community/forums/general-questions/show/21109#post400629
118: [01:29:55] <Hailwood> New question - Any tutorials/guides anywhere on changing the SS login form to use a custom one (I want people to login in at /login and depending on several factors redirect them to different places).
119: [01:37:47] * UncleCheese quit (Ping timeout: 246 seconds)
120: [01:38:29] * Tanger has joined #silverstripe
121: [01:48:21] * Hailwood quit (Ping timeout: 250 seconds)
122: [01:49:25] <novaweb> uh oh, we've hit a third party function that essentially states if($something=true or $something=false){ do this }... hmmmpf.
123: [02:03:17] * travis-ci has joined #silverstripe
124: [02:03:18] <travis-ci> dhensby/silverstripe-framework#265 (pulls/cofig-lru-fix - af20a6c : Daniel Hensby): The build has errored.
125: [02:03:19] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/3630da5ac708...af20a6c1c259
126: [02:03:19] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53597827
127: [02:03:19] * travis-ci has left #silverstripe
128: [02:05:08] * travis-ci has joined #silverstripe
129: [02:05:09] <travis-ci> dhensby/silverstripe-framework#266 (pulls/cofig-lru-fix - 1d13555 : Simon Welsh): The build has errored.
130: [02:05:10] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/af20a6c1c259...1d135552cfbc
131: [02:05:10] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53597908
132: [02:05:10] * travis-ci has left #silverstripe
133: [02:05:24] <mahfuz> Hey guys, is there a way to check whether the current logged in user belongs to a certain group in template?
134: [02:09:30] <Ryan-Toast> mahfuz: with $Member?
135: [02:11:27] <MichalKleiner> mahfuz not sure it's a thing that should be in a template..but $Member.inGroup('groupName') should do the trick
136: [02:12:08] <MichalKleiner> is someone using Atlassian's Bamboo?
137: [02:17:07] * Stomach has joined #silverstripe
138: [02:23:55] <mahfuz> Thanks MichalKleiner
139: [02:26:08] * muskie9 is now known as muskie9_afk
140: [02:29:27] * webpal has joined #silverstripe
141: [02:30:46] <webpal> is there a plugin for cropping images? my client cannot get her head around cropping pictures and i'd ideally like her to just have a guide rectangle of the right aspect ratio that she can drag/zoom the input image against
142: [02:30:51] * Stomach quit (Quit: zzz)
143: [02:31:42] * novaweb quit (Quit: Leaving)
144: [02:31:43] <MichalKleiner> I think I saw such thing.. let me search..
145: [02:32:08] <MichalKleiner> http://www.silverstripe.org/blog/focuspoint-smarter-image-cropping-for-silverstripe/
146: [02:32:48] <MichalKleiner> hmm, not a solution for cropping but might be of better use actually
147: [02:33:10] <webpal> oh yeah i looked at this
148: [02:33:56] * Stomach has joined #silverstripe
149: [02:34:46] * Stomach quit (Client Quit)
150: [02:35:55] <Ryan-Toast> Come back Stomach.
151: [02:37:28] * Colin[pi] quit (Ping timeout: 272 seconds)
152: [02:48:01] * Colin[pi] has joined #silverstripe
153: [02:49:46] * muskie9_afk is now known as muskie9
154: [02:50:02] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
155: [02:51:01] * spronk2 quit (Quit: I may need a longer sleep timer...)
156: [02:52:56] <MichalKleiner> I guess you need to broadcast it differently than here on irc :-D Ryan-Toast
157: [02:53:07] <Ryan-Toast> MichalKleiner: Hmm?
158: [02:53:12] <Ryan-Toast> Oh, right :P
159: [02:53:21] <Ryan-Toast> I’ll post on his wall over and over.
160: [02:53:32] <MichalKleiner> something like that :-D
161: [03:06:44] * camfindlay quit (Quit: camfindlay)
162: [03:16:07] <mahfuz> Hi guys. Can any one tell me why this is not working in a template - <% if $CurrentMember.inGroup('Users') %> True <% else %> False <% end_if %> ?
163: [03:17:02] <mahfuz> I was just trying to test inGroup() in template but every time the output is False
164: [03:17:36] <MichalKleiner> hmm, try swapping the 'Users' with numeric ID of the group
165: [03:18:50] <MichalKleiner> or remove the apostrophes
166: [03:19:02] <MichalKleiner> I always struggle to make such things work too :-D
167: [03:20:21] <mahfuz> It is working with ID
168: [03:20:34] <Ryan-Toast> mahfuz: inGroup is an id check I believe
169: [03:20:56] <Ryan-Toast> I would check that in your controller though, not the template.
170: [03:22:12] <MichalKleiner> that's what I said before too.. inGroup should take both ID and string according to docs
171: [03:22:38] <Ryan-Toast> Why?
172: [03:22:51] <Ryan-Toast> What happens iuf you have two groups that have the same name?
173: [03:23:09] <MichalKleiner> but on the other hand it's not worth wrapping a function call with another call just for the sake of doin it
174: [03:23:20] <mahfuz> Ryan-Toast inGroup doc says like - inGroup( integer|Group|string $group, boolean $strict = false ) . So string should also work or not?
175: [03:23:21] <MichalKleiner> I guess SS should not allow that? or will return true for both
176: [03:23:42] <Ryan-Toast> Again, it should be handled in your controller.
177: [03:23:58] <MichalKleiner> I wouldn't be so strict on this
178: [03:24:22] <Ryan-Toast> what if you wanted to change the group?
179: [03:24:28] <Ryan-Toast> Or if the group is deleted?
180: [03:24:37] <Ryan-Toast> then you’re stuck with something hard coded.
181: [03:24:40] <MichalKleiner> then it will return false
182: [03:25:05] <Ryan-Toast> I would map the groups in a listbox in your pagetype, and return that.
183: [03:25:19] <mahfuz> Ryan-Toast: How can I check whether the currently logged in user belongs to certain group or not from the Controller and use that in template?
184: [03:25:38] <MichalKleiner> wrap it with another function and use that instead
185: [03:25:40] <Ryan-Toast> mahfuz: you can check against a logged in user in the controller.
186: [03:26:15] <Ryan-Toast> mahfuz: http://doc.silverstripe.org/en/developer_guides/security/permissions/
187: [03:27:15] <Ryan-Toast> mahfuz: Or if you eneed specific biz from the user: http://doc.silverstripe.org/en/developer_guides/security/member
188: [03:29:15] <mahfuz> Thanks Ryan-Toast
189: [03:29:19] <Ryan-Toast> mahfuz: np :)
190: [03:29:49] <Ryan-Toast> mahfuz: Makes life a lot easier when you have to maintain stuff later down the track.
191: [03:39:11] * Phlunk3 quit (Quit: Leaving)
192: [03:44:32] * chrisrio has joined #silverstripe
193: [03:48:03] * Stomach has joined #silverstripe
194: [03:51:51] <chrisrio> SS 3.1.10 - if I throw an image into the content area the src link wont start with a forward slash and mis-paths in subpages.
195: [03:51:57] <chrisrio> anyone seen that recently? :P
196: [03:52:24] <chrisrio> /subpage/assets/Uploads etc
197: [03:52:36] <chrisrio> bit random out of the box.
198: [03:57:46] * kerosene has joined #silverstripe
199: [04:00:27] * chrisrio quit (Quit: Page closed)
200: [04:06:00] * wmk has joined #silverstripe
201: [04:09:08] <MichalKleiner> zauberfisch: hi, just ran into your vagrant box for ss.. any specifics to know about?
202: [04:11:30] * Stomach quit (Quit: zzz)
203: [04:12:11] <wmk> MichalKleiner, the zauberfisch vm box?
204: [04:12:18] <MichalKleiner> yep
205: [04:12:20] * Stomach has joined #silverstripe
206: [04:12:21] * spronk2 has joined #silverstripe
207: [04:12:25] * wmk uses it, too
208: [04:12:51] <MichalKleiner> does it have something nice to know about or just a standard set of tools i'd install anyway?
209: [04:12:52] <wmk> well, it's a ready-to-use box for silverstripe
210: [04:13:45] <wmk> mysql user is silverstripe, there should be a _ss_environment.php in / with mysql settings
211: [04:14:14] <wmk> and it has mailcatcher installed, so you can see your mails on port 8025
212: [04:14:40] <wmk> based on ubuntu
213: [04:15:00] <wmk> xdebug, phpmyadmin...
214: [04:15:56] <wmk> what kind of other information do you need ?
215: [04:17:54] <wmk> the biggest pro is: it's a ready to use vm, so run vagrant up and you have everything installed instead of running an installation script that downloads everything
216: [04:19:29] <Tanger> Hey guys, really silly question but I'm drawing a serious blank: Without using a gridfield, how does one manage a $has_one relation to a custom dataobject in the CMS?
217: [04:19:55] <wmk> MichalKleiner, and running vagrant ssh -c "cd www; sake dev/build flush=1" should work in the latest release
218: [04:20:10] <wmk> Tanger, dropdown?
219: [04:20:30] <wmk> there is also an extension to dropdown that lets you add a has_one
220: [04:20:53] <MichalKleiner> wmk: cool, sounds interesting.. I guess I'll build my basebox anyway to go through the process and see how things are configured etc..
221: [04:20:56] <Tanger> wmk: So use the modeladmin or something to create the object?
222: [04:20:57] <wmk> Tanger, sheadawson/quickaddnew
223: [04:21:07] <MichalKleiner> also to conform with our preprod and prod versions etc.
224: [04:21:31] <wmk> MichalKleiner, it's surely good to have the same settings like your prod servers
225: [04:21:42] <wmk> had the classical "it runs on my dev but not on live" problem last week
226: [04:22:11] <wmk> as there is no suhosin on the vm but on my live server, that caused problems with grid pagination and export
227: [04:22:49] <MichalKleiner> yes.. we have other lot of tools like rabbitmq, supervisord, solr etc..
228: [04:22:57] <wmk> Tanger, modeladmin is one solution, i used the quickaddnew module to add e.g. new Country dataobjects to a list of shops selling something.
229: [04:23:15] <wmk> as there won't be sooo much countries in near future it was a nice solution
230: [04:23:30] <wmk> MichalKleiner, everything on one box?
231: [04:23:55] <MichalKleiner> yes, it's all used on production
232: [04:23:58] <Tanger> wmk: Ah, right. Just occured to me that I've never needed to manage anything other than a $has_one to an image or file before in 3.x
233: [04:24:07] <MichalKleiner> might have multiple base boxes for different projects tho
234: [04:24:25] <wmk> you could also configure more than one machine in one Vagrantfile, so with running "vagrant up" it spins up one box for php, one for the db, one for search...
235: [04:24:45] <wmk> yup, i have one dev box per project
236: [04:24:58] <MichalKleiner> yep, I know about multiboxes for project
237: [04:25:15] <MichalKleiner> how do you manage working on multiple projects at one time?
238: [04:25:39] <MichalKleiner> I find a bit annoying having to use different port forwards so I guess I'd go with static IPs from a reserver range
239: [04:25:56] <MichalKleiner> reserved*
240: [04:27:06] <wmk> well, i tend not to spin up too much vms on my laptop the same time
241: [04:27:15] * travis-ci has joined #silverstripe
242: [04:27:16] <travis-ci> silverstripe/silverstripe-framework#4366 (3.1 - a7bd6de : Damian Mooyman): The build passed.
243: [04:27:16] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a59e102c615a...a7bd6de2ec3d
244: [04:27:16] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53605220
245: [04:27:16] * travis-ci has left #silverstripe
246: [04:27:26] <wmk> on a subsite project i defined names for localhost in my hosts file
247: [04:27:40] <wmk> domain1-local, domain2-local etc...
248: [04:28:43] <wmk> https://github.com/silverstripe/silverstripe-framework/issues/3855 Yo, suhisin problem solved!
249: [04:37:23] <MichalKleiner> I meant something more like working on one project but needs to fix or showcase some other thing so running two or three VMs is not a big issue but to remember port numbers could drive me crazy :-D
250: [04:37:46] <wmk> same here...
251: [04:39:22] * travis-ci has joined #silverstripe
252: [04:39:23] <travis-ci> silverstripe/silverstripe-cms#1141 (3.1 - c238e1e : Damian Mooyman): The build passed.
253: [04:39:23] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/cabd8bbab919...c238e1e15bd2
254: [04:39:23] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/53605246
255: [04:39:23] * travis-ci has left #silverstripe
256: [04:39:36] <wmk> well, running a local dns you could make the box register there automatically
257: [04:44:02] * Ryan-Toast quit (Quit: Ryan-Toast)
258: [04:45:50] <MichalKleiner> thinking about something that would work locally for each dev and also to access other's dev computer over the network..
259: [04:46:19] <MichalKleiner> but it's too late today :-D
260: [04:46:35] <wmk> MichalKleiner, if you find a solution let me know ;)
261: [04:46:46] <MichalKleiner> maybe that never happens :-D
262: [04:47:02] <wmk> the solution or the notice?
263: [04:49:39] * Audlex quit ()
264: [04:52:05] <MichalKleiner> solution, I'm not that mean :-D
265: [04:55:07] <MichalKleiner> this could be a solution
266: [04:55:08] <MichalKleiner> https://github.com/cogitatio/vagrant-hostsupdater
267: [04:57:06] <Tanger> wmk: Man, that quickaddnew is pretty awesome. Thanks for the tip
268: [04:59:21] * MichalKleiner is now known as MichalKleiner|aw
269: [05:07:49] * kerosene quit (Quit: went thaddaway -->)
270: [05:08:45] * Shrike_Finland has joined #silverstripe
271: [05:10:20] * Stomach quit (Quit: zzz)
272: [05:30:42] * travis-ci has joined #silverstripe
273: [05:30:43] <travis-ci> silverstripe/silverstripe-framework#4368 (3.1.11 - a7bd6de : Damian Mooyman): The build passed.
274: [05:30:43] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.11
275: [05:30:43] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53608673
276: [05:30:43] * travis-ci has left #silverstripe
277: [05:44:44] * travis-ci has joined #silverstripe
278: [05:44:45] <travis-ci> silverstripe/silverstripe-cms#1142 (3.1.11 - c238e1e : Damian Mooyman): The build failed.
279: [05:44:46] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.11
280: [05:44:46] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/53608713
281: [05:44:46] * travis-ci has left #silverstripe
282: [05:46:23] * travis-ci has joined #silverstripe
283: [05:46:25] <travis-ci> silverstripe/silverstripe-framework#4369 (3.1.11 - 872d05f : Damian Mooyman): The build passed.
284: [05:46:25] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a7bd6de2ec3d...872d05fd1b94
285: [05:46:25] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53609130
286: [05:46:25] * travis-ci has left #silverstripe
287: [05:52:07] * mahfuz quit (Ping timeout: 246 seconds)
288: [05:54:10] * travis-ci has joined #silverstripe
289: [05:54:11] <travis-ci> silverstripe/silverstripe-framework#4370 (3.1.11-rc1 - 872d05f : Damian Mooyman): The build passed.
290: [05:54:11] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.1.11-rc1
291: [05:54:11] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53609144
292: [05:54:11] * travis-ci has left #silverstripe
293: [06:10:04] * travis-ci has joined #silverstripe
294: [06:10:05] <travis-ci> silverstripe/silverstripe-cms#1143 (3.1.11-rc1 - c238e1e : Damian Mooyman): The build passed.
295: [06:10:05] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.11-rc1
296: [06:10:05] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/53609155
297: [06:10:05] * travis-ci has left #silverstripe
298: [06:17:05] * travis-ci has joined #silverstripe
299: [06:17:06] <travis-ci> silverstripe/silverstripe-framework#4371 (3.1 - 7bf4d2e : Damian Mooyman): The build passed.
300: [06:17:06] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a7bd6de2ec3d...7bf4d2e95e9c
301: [06:17:06] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53610199
302: [06:17:06] * travis-ci has left #silverstripe
303: [06:18:59] <ss-helper> SilverStripe 3.1.11-rc1 Release Candidate - https://groups.google.com/d/msg/silverstripe-announce/1uiEuPb7UEk/J8xwX8MRRJIJ
304: [06:21:49] <Tanger> wmk: With that quickaddnew module, have you had issues with it redirecting? Whenever I add a new DO it just shows me a blank page with only the dropdown field
305: [06:22:32] <wmk> hm, no...
306: [06:26:10] <Tanger> Hmm
307: [06:27:00] <Tanger> It looks like it's just returning the new field for me instead of reloading the CMS page
308: [06:27:29] <wmk> did you configure it properly?
309: [06:28:29] <Tanger> Based off it's github info, yeah
310: [06:29:18] * Stomach has joined #silverstripe
311: [06:29:22] <Tanger> Unless 3.1.9 has issues with it
312: [06:29:23] * Stomach quit (Client Quit)
313: [06:30:38] <ss-helper> SilverStripe 3.1.11-rc1 Release Candidate - http://www.silverstripe.org/community/forums/releases-and-announcements/show/101328
314: [06:31:34] <wmk> oh, nice. faster release cycles?
315: [06:37:12] <wmk> is forum broken or cant i just reply to a release announcement?
316: [06:37:49] * markcl has joined #silverstripe
317: [06:39:42] <markcl> How many times can I call customise on a ViewableDataObject
318: [06:39:47] <markcl> ?
319: [06:40:26] <markcl> I've got a Page that gets customised a lot, now some data there are not appearing when the Page is shown.
320: [06:40:44] <wmk> markcl, in theory as often as you want
321: [06:40:54] <wmk> but you should think about a better strategy to get the data in your page
322: [06:40:56] * Shrike_Finland quit (Quit: Leaving.)
323: [06:42:36] <markcl> I'm not the one who made it that way, any way, it's too complicated for me to refactor it now.
324: [06:42:56] <markcl> Is there an easy way to know which customise it is using?
325: [06:43:06] <wmk> hm, no
326: [06:43:11] <markcl> There is just this specific field that displays a wrong value
327: [06:43:12] <markcl> ...
328: [06:43:13] <markcl> ok
329: [06:43:17] <markcl> I guess that's that.
330: [06:43:26] <wmk> customize just return a clone with some data set
331: [06:43:33] <wmk> the easiest way: xdebug
332: [06:43:48] <wmk> set some breakpoints and see what is adding what
333: [06:44:54] <markcl> ok… thanks wmk
334: [06:44:59] <markcl> I guess there's no other easier way
335: [06:50:18] <wmk> depending on your IDE / editor it might be very easy
336: [06:51:31] <ss-helper> Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/jB4C6rnM6HQJ
337: [06:52:14] <markcl> It seems like the first occurence is the one taken
338: [06:52:20] <markcl> instead of the last customise data
339: [06:52:27] <markcl> Is this really how it's intended to behave?
340: [07:00:57] <markcl> Actually, it seems like the 2 vieable data that were customized were fighting each other out.
341: [07:01:20] <markcl> So, what I did was, to only customize 1 viewable data and let the other customizations be non-viewable data.
342: [07:01:27] <markcl> (arrays)
343: [07:01:39] <markcl> Anyway, it looks like I'll have to refactor the code after all =(
344: [07:02:02] <wmk> why not just make getter methods you can access from the template?
345: [07:07:45] <markcl> I have no idea why not either
346: [07:07:51] <markcl> I'm taking over someone else's project
347: [07:12:05] <Tanger> Hey fellas, anybody have experience deploying SS to Azure SaaS?
348: [07:21:12] * wmk quit (Ping timeout: 246 seconds)
349: [07:21:24] <zauberfisch> MichalKleiner|aw: I have to correct wmk: mysql user is root
350: [07:22:18] <zauberfisch> but yeah, there is a _ss_env file, phpmyadmin without password and a command "mysql-client" & "mysql-dump" which also don't need a password. so you probably don't need it anyway
351: [07:22:56] <zauberfisch> it also has sassc and compass installed, if you use any of those
352: [07:23:03] <zauberfisch> and wkhtmltopdf
353: [07:23:14] <zauberfisch> npm, node, bower, composer, ...
354: [07:27:51] * Eliseth has joined #silverstripe
355: [07:28:21] * markcl quit (Quit: Leaving.)
356: [07:28:29] * r_hector has joined #silverstripe
357: [07:51:18] * wmk has joined #silverstripe
358: [08:00:08] * Zopiclone has joined #silverstripe
359: [08:16:23] * Frans_Amsterdam has joined #silverstripe
360: [08:16:56] * Stomach has joined #silverstripe
361: [08:18:21] * wmk wonders if we can add bulkuploadfield to assets
362: [08:19:06] * markcl has joined #silverstripe
363: [08:31:16] * Stomach quit (Quit: zzz)
364: [08:32:31] <Frans_Amsterdam> Hi All, I have difficulties with a Silverstripe installation on a Windows IIS server. It is about URL rewriting. The url now is http://datametrics.nl/home/index.php. I would like to have clean URL's. I'm not familair with the IIS environment. Before I start changing the setup I would like if anyone is familiar with setting up a SS-site on IIS?
365: [08:32:58] * Stomach has joined #silverstripe
366: [08:35:10] <markcl> Hi Frans!
367: [08:35:27] <markcl> You probably need to set up your web.config
368: [08:36:30] * markcl quit (Quit: Leaving.)
369: [08:41:15] * Stomach quit (Quit: zzz)
370: [08:45:02] * Stomach has joined #silverstripe
371: [08:46:46] * Shrike_Finland has joined #silverstripe
372: [08:49:17] <ss-helper> SilverStripe 3.0.5 release - https://groups.google.com/d/msg/silverstripe-announce/1SQtn7wsDd4/foLmnZoBNuYJ
373: [08:50:27] * Shrike_Finland quit (Client Quit)
374: [09:00:22] * kinglozzer has joined #silverstripe
375: [09:01:12] <ss-helper> Odd caching problem - http://www.silverstripe.org/community/forums/all-other-modules/show/101329
376: [09:01:16] <wmk> should i write <%cached ... .max('LastEdited') or max(LastEdited) ??
377: [09:01:16] * Frans_Amsterdam quit (Ping timeout: 252 seconds)
378: [09:01:24] <wmk> hi kinglozzer
379: [09:02:12] * kinglozzer yawns
380: [09:02:16] <kinglozzer> Good morning
381: [09:03:01] * wmk hands kinglozzer a cup of coffee
382: [09:04:18] <ss-helper> SilverStripe 3.0.6 Security Release - https://groups.google.com/d/msg/silverstripe-announce/m4vmXYmV0CE/EfSzp3t6mvsJ
383: [09:07:44] <kinglozzer> wmk: Quotes!
384: [09:08:04] <kinglozzer> (doesn't actually matter at all) :P
385: [09:09:11] <wmk> kinglozzer, docs say nothing about quotes, but with it just looks better
386: [09:09:17] <wmk> if it doesn't matter then i add them
387: [09:10:38] <kinglozzer> Yeah I tend to add them for arguments. If I had my way, you'd _have_ to add them for arguments - so max(LastEdited) "LastEdited" would be treated like a PHP constant or something if no string was given
388: [09:11:42] <wmk> but <% cached 'foo', $ID, $Location.LastEdited, $LastEdited %> the $ signs are wrong?
389: [09:12:55] <kinglozzer> wmk: The $ signs are correct there, I just mean if you do <% cached $List("Location").Max("LastEdited") %>
390: [09:13:08] <kinglozzer> Those arguments
391: [09:14:52] <wmk> kinglozzer, really for List(), too? http://doc.silverstripe.org/en/developer_guides/performance/partial_caching says nothing about that
392: [09:16:14] <ss-helper> Re: Odd caching problem - http://www.silverstripe.org/community/forums/all-other-modules/show/101329#post400632
393: [09:25:34] <kinglozzer> wmk: Yeah - if it’s calling a method, I prefix it with a $. I don't know if that's a convention (it is a convention for <% loop $Foo %>) for List(), but I'm just in the habit of $-prefixing anything that isn't a string
394: [09:26:33] <wmk> so i wonder if i should update this docs page...
395: [09:26:50] <wmk> as it just seems to be more consistent
396: [09:31:35] * GioVdK has joined #silverstripe
397: [09:35:02] <kinglozzer> wmk: Go for it, none of the arguments in those examples have the $ and that's definitely a convention throughout all other control methods (<% loop %>, <% with %>, <% if %> etc)
398: [09:41:48] * cloph_away is now known as cloph
399: [09:46:22] <ss-helper> Re: Odd caching problem - http://www.silverstripe.org/community/forums/all-other-modules/show/101329#post400633
400: [09:48:39] * travis-ci has joined #silverstripe
401: [09:48:40] <travis-ci> silverstripe/silverstripe-framework#4372 (3 - 93dca9a : Loz Calver): The build passed.
402: [09:48:41] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/3b9129f68166...93dca9aabd86
403: [09:48:41] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53624293
404: [09:48:41] * travis-ci has left #silverstripe
405: [09:52:21] * Stomach quit (Quit: zzz)
406: [09:52:27] * Colin[pi] quit (Ping timeout: 252 seconds)
407: [10:01:02] * Colin[pi] has joined #silverstripe
408: [10:02:52] * r_hector quit (Quit: Leaving.)
409: [10:06:11] * Shrike_Finland1 has joined #silverstripe
410: [10:10:15] * Tanger quit (Quit: sleep())
411: [10:10:57] * Tanger has joined #silverstripe
412: [10:11:33] * veb quit (Quit: veb-irc: &)
413: [10:11:53] * Tanger quit (Client Quit)
414: [10:14:23] * Pymonmrnk has joined #silverstripe
415: [10:14:32] * wmk quit (Ping timeout: 245 seconds)
416: [10:14:32] <Pymonmrnk> haluuuu
417: [10:14:33] * wmk has joined #silverstripe
418: [10:14:53] <Pymonmrnk> kinglozzer: oi, kinglozzer, kinglozzer!!
419: [10:14:56] <Pymonmrnk> check it oooout!
420: [10:15:31] <Pymonmrnk> It's only taken me an entire year and 3 months.
421: [10:15:42] <Pymonmrnk> and it's still stupidly unfinished
422: [10:15:59] <Pymonmrnk> sup MichalKleiner|aw
423: [10:16:02] <Pymonmrnk> err, fk
424: [10:16:08] <Pymonmrnk> micmania1 ^
425: [10:16:20] <Pymonmrnk> tho you're probably afk too
426: [10:18:03] <kinglozzer> Pymonmrnk: wut wut wut
427: [10:18:12] <kinglozzer> What is it?
428: [10:18:13] <Pymonmrnk> haaaaai!
429: [10:18:26] <Pymonmrnk> \o
430: [10:18:55] <Pymonmrnk> kinglozzer: on the githubs. I pushed something new. Will probably interest you, given your last two blog posts
431: [10:20:30] <Pymonmrnk> kinglozzer: just be sure to read the About section towards the bottom of the readme
432: [10:21:52] <kinglozzer> Pymonmrnk: Ooo I see, cool!
433: [10:22:47] <Pymonmrnk> kinglozzer: it was written that way because the RESTful service was developed in parallel, so endpoints changed/(dis)appeared all the time.
434: [10:22:59] <Pymonmrnk> Needed to abstract definition from gruntwork.
435: [10:23:04] <Pymonmrnk> so sorta did both :>
436: [10:23:55] <kinglozzer> Pymonmrnk: Yeah that's kinda what happened with the blog post I did - the actual site that it came from was constantly changing so I had a couple of classes I could swap in/out of the list implementation to deal with all the inconsistencies
437: [10:24:21] <Pymonmrnk> I went for config :> just ?flush & carry on :D
438: [10:27:08] <kinglozzer> Pymonmrnk: I couldn't :( it was horrible. The two APIs provided completely different data (e.g. one provided a list of images, the other had 3 lists, one of which needed to be joined together for a 360degree view)
439: [10:27:16] <kinglozzer> I had to do entirely different templates and stuff
440: [10:27:28] <kinglozzer> Because they wanted to be able to switch between to API endpoints O.o
441: [10:27:34] <kinglozzer> I still can't work out why
442: [10:28:09] * arnhoe has joined #silverstripe
443: [10:28:13] <Pymonmrnk> you mean two* ?
444: [10:28:24] <Pymonmrnk> :P
445: [10:28:35] <Pymonmrnk> Hey sweet, found a USB drive in my drawer.
446: [10:28:45] <Pymonmrnk> 512Mb. Full of health and safety stuff.
447: [10:28:51] * Pymonmrnk FORMATS
448: [10:28:53] <Pymonmrnk> xD
449: [10:29:05] <Pymonmrnk> It dated from 2008, so well old like.
450: [10:29:32] * Pymonmrnk might try to install linux on it.
451: [10:29:35] <Pymonmrnk> kehehe
452: [10:30:07] <Pymonmrnk> kinglozzer: two different apis at ... random points?
453: [10:30:07] <kinglozzer> TOO
454: [10:30:34] <kinglozzer> Pymonmrnk: Yep. I told them it had to be a config.yml change, so a dev would need to do it
455: [10:30:38] <kinglozzer> They never changed it once
456: [10:30:40] <Pymonmrnk> haha
457: [10:30:43] <kinglozzer> Then the entire project got shelved
458: [10:30:44] <kinglozzer> :P
459: [10:30:51] <Pymonmrnk> winning xD
460: [10:32:33] <Pymonmrnk> Nothing quite like a RESTless api :P
461: [10:33:47] <Pymonmrnk> the guys developing the one for our app had this endpoint that basically returned the entire fucking database encoded as JSON. It was terrible :<
462: [10:34:52] <kinglozzer> Hahaha yeah that sounds familiar. Having to unset tonnes of sensitive data before returning the data from a controller :P
463: [10:35:43] <Pymonmrnk> Nah, because it formatted into ArrayData, we just didn't spit it out in the template :P
464: [10:36:09] <Pymonmrnk> Wasn't much sensitive stuff in there anyway. You had to log in to use the app, and only saw your own data.
465: [10:37:04] <Pymonmrnk> It was more (was a resume builder) that it contained the person's info, and every object that linked to them such as employers, positions, roles, reposnisibilities, projected career desires, interests, ALL the things.
466: [10:37:32] <Pymonmrnk> (site also helped user choose a career path, so LOTS of info - targeted at younger folks)
467: [10:38:34] <Pymonmrnk> including tasks in checklists on how to get qualifications for their next desired job, etc.
468: [10:39:06] <Pymonmrnk> people building the api were... uhh... not all that co-operative :<
469: [10:39:25] <Pymonmrnk> Not blocking progress, just not all that responsive to change.
470: [10:40:16] <Pymonmrnk> was quite a hilarious project. Client tried to blame us, we told them they did the whole thing wrong, shit hit the fan, it was quite spectacular from a non-invested point of view.
471: [10:40:26] * Zopiclone quit (Read error: Connection reset by peer)
472: [10:40:39] <Pymonmrnk> But it got finished in the end. Slow as fuck, but worked.
473: [10:40:49] <Pymonmrnk> (because api was slow as shit)
474: [10:44:52] <kinglozzer> Pymonmrnk: Ours was so close to being finished, client had already paid an awfully large amount of money to another agency (outsourced to us, we'd been paid too), but they just lost interest
475: [10:44:54] <kinglozzer> Bizarre really
476: [10:46:17] * Otterpocket has joined #silverstripe
477: [10:46:17] * Otterpocket quit (Changing host)
478: [10:46:17] * Otterpocket has joined #silverstripe
479: [10:46:40] <Otterpocket> Is there a way to suppress error messages when in devmode?
480: [10:47:11] <Pymonmrnk> Otterpocket: yeah, put it in live mode.
481: [10:47:17] <Otterpocket> Pymonmrnk, lol
482: [10:47:27] <Pymonmrnk> well... maybe test mode?
483: [10:47:27] <kinglozzer> Otterpocket: That's kinda the point of dev mode :P
484: [10:47:48] <Pymonmrnk> Otterpocket: 8/10 times if there was no message there wouldn't be any data anyway.
485: [10:48:11] <Otterpocket> Is it possible to run build tasks from sake without being in dev?
486: [10:48:16] <Pymonmrnk> Otterpocket: there's test mode, the environment type that no one ever uses.
487: [10:48:26] <Pymonmrnk> Otterpocket: you're never in dev with sake
488: [10:48:32] <Pymonmrnk> so far as I know.
489: [10:48:56] <Pymonmrnk> or rather, sake doesn't set the environment var before running (so far as I know)
490: [10:49:03] * PigeonFriend is now known as dhensby
491: [10:49:29] <Pymonmrnk> dhensby: NFI about that issue you queried.
492: [10:49:37] * ss31noob has joined #silverstripe
493: [10:49:55] <Pymonmrnk> I tried, it failed, I moved on.
494: [10:50:10] <Pymonmrnk> I think whatever I was running it on has long since done the same, too.
495: [10:50:15] <Pymonmrnk> (ie, php versions, etc)
496: [10:50:20] <Otterpocket> Cron is not running my sake build tasks
497: [10:50:50] <Pymonmrnk> Otterpocket: first things first, is it even trying to?
498: [10:51:32] <dhensby> Pymonmrnk: which issue?
499: [10:51:53] <Pymonmrnk> uhh, something to do with apache falling over
500: [10:52:03] <dhensby> right... ok
501: [10:52:18] <Pymonmrnk> how does one even github these days anyway?
502: [10:53:40] <Pymonmrnk> is there some kind of feed where I can see that you've commented on the issue I opened>?
503: [10:53:49] <kinglozzer> Otterpocket: Build tasks should check if you're in CLI mode and allow it
504: [10:53:50] <Pymonmrnk> I mean, it sends me an email... surely there must be.
505: [10:54:30] <dhensby> Pymonmrnk the notifications in the top right?
506: [10:54:47] <dhensby> or go to github.com and there is a issue / PR tab
507: [10:54:58] <Pymonmrnk> dhensby: apparently not :< (and yeah, that's what I'm doing.)
508: [10:55:24] <Pymonmrnk> oh wait no, it defaults to only showing unread.
509: [10:55:34] <Pymonmrnk> cool, found it, thanks :>
510: [10:56:05] <Pymonmrnk> dhensby: I'll check my stats and see which env I was running it in, I might still be able to reproduce.
511: [10:56:11] <dhensby> Pymonmrnk https://dl.dropbox.com/u/3429338/Clippings/2015-03/2015-03-09_10-55-36_4DVW56MXwW.png
512: [10:56:14] <Pymonmrnk> (thus test if it's still an issue)
513: [10:56:55] <Pymonmrnk> oh yup, ta. That makes it easier too :>
514: [10:58:05] <Pymonmrnk> hmm, yeah nah that's my VM which has been updated since that report.
515: [10:59:24] <dhensby> Pymonmrnk: who are you on GH?
516: [10:59:35] <dhensby> I have like no idea who anyone is on IRC :P
517: [10:59:50] <Otterpocket> Pymonmrnk, yea, they work fine in dev mode but when live it redirects to Security/login
518: [11:02:04] <Pymonmrnk> dhensby: comment just submitted.
519: [11:02:22] <Pymonmrnk> Otterpocket: must be something you've done then.
520: [11:02:29] <Pymonmrnk> perhaps.
521: [11:02:44] <Pymonmrnk> most build tasks check for cli.
522: [11:02:53] <Pymonmrnk> if not, then it's worth reporting :>
523: [11:03:57] <Otterpocket> Ill show you my crontab
524: [11:04:23] <Pymonmrnk> well, just the command should be enough ;)
525: [11:04:43] <Otterpocket> sh ~/app/public_html/framework/sake dev/tasks/NbcFeedBiteImporter
526: [11:08:39] <Pymonmrnk> Otterpocket: yeah, but does your task have some kind of if(envornment != dev) { goto security; ?
527: [11:08:52] <Pymonmrnk> becasue most have something like : if(Director::is_cli()) {
528: [11:09:06] <Pymonmrnk> so you probably want !=dev && != iscli
529: [11:09:15] <Pymonmrnk> err, just !iscli
530: [11:09:16] <Pymonmrnk> whatever
531: [11:09:17] <Pymonmrnk> :>
532: [11:10:02] * BarkChudson has joined #silverstripe
533: [11:11:02] <Otterpocket> Pymonmrnk, no
534: [11:11:36] <Pymonmrnk> hahahaha https://twitter.com/jamesrwhite/status/574875988628234240
535: [11:11:54] <kinglozzer> Otterpocket: Does your task class have an init() method? Can you share just that?
536: [11:12:27] <Otterpocket> NbcFeedBiteImporter extends FeedBiteImporter ... that’s the only thing out of the the ordinary
537: [11:13:23] <kinglozzer> Otterpocket: Okay, does FeedBiteImporter have an init() method that checks access levels or environment?
538: [11:13:33] <Otterpocket> nope
539: [11:13:46] <Otterpocket> just 2 methods
540: [11:13:53] <Otterpocket> public function run($request) {}
541: [11:15:09] * BarkChudson has left #silverstripe
542: [11:15:49] <Otterpocket> https://gist.github.com/Otterpocket/27b7750ebd3e11a39cb8
543: [11:16:39] <ss-helper> Re: Odd caching problem - http://www.silverstripe.org/community/forums/all-other-modules/show/101329#post400635
544: [11:23:53] <Otterpocket> Seems to work find on my local machine, NM ill sort it
545: [11:24:24] * NETim has joined #silverstripe
546: [11:24:54] <NETim> Morning, anyone know of a difference between https://github.com/silverstripe-labs/silverstripe-googlesitemaps
547: [11:24:55] <NETim> and
548: [11:25:01] <NETim> http://addons.silverstripe.org/add-ons/silverstripe/googlesitemaps
549: [11:25:29] <NETim> Ok, ignore me. Low blood caffeine levels.
550: [11:28:57] <Pymonmrnk> lol
551: [11:29:26] <NETim> yup
552: [11:29:26] <Pymonmrnk> He's got the double M, lets just hope he doesn't come down with the terrible affliction known as the triple M
553: [11:29:36] <Pymonmrnk> Monday, Morning... MEETING
554: [11:29:38] <Pymonmrnk> D:
555: [11:29:48] <NETim> Nope, no third m.
556: [11:29:52] <Pymonmrnk> lucky you!
557: [11:30:01] <Pymonmrnk> because the 2M is easily curable.
558: [11:30:48] <Pymonmrnk> the M^3 is much more serious and takes some time to get over, it's a difficult struggle that often leaves the subject physically and emotionally drained.
559: [11:31:03] <Pymonmrnk> Y'know... like cancer.
560: [11:31:36] * zaki quit (Ping timeout: 252 seconds)
561: [11:31:43] <ss-helper> Re: Odd caching problem - http://www.silverstripe.org/community/forums/all-other-modules/show/101329#post400636
562: [11:41:45] <Pymonmrnk> Otterpocket: are any of those models or whatever limited access?
563: [11:42:14] <Pymonmrnk> if you've defined a canView/Edit etc which checks for a valid user, that could be a cause.
564: [11:42:17] <Pymonmrnk> maybe
565: [11:42:46] <Pymonmrnk> dhensby: heh, it took an age to run (composer create-project), but now I'm getting 404 d:
566: [11:42:49] <Pymonmrnk> D:*
567: [11:43:02] <Pymonmrnk> still, better than 500 :P
568: [11:44:28] <dhensby> Pymonmrnk for assets that exist? what vagrant image you using?
569: [11:44:28] * travis-ci has joined #silverstripe
570: [11:44:29] <travis-ci> silverstripe/silverstripe-framework#4373 (3 - ef818b3 : Daniel Hensby): The build passed.
571: [11:44:30] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/93dca9aabd86...ef818b3b7bd5
572: [11:44:30] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53635233
573: [11:44:30] * travis-ci has left #silverstripe
574: [11:44:47] <Pymonmrnk> dhensby: ah, manual set of rewrite base and we're away
575: [11:44:58] <dhensby> Pymonmrnk great
576: [11:45:07] <Pymonmrnk> now to install and test I guess :>
577: [11:45:50] <Pymonmrnk> oh, no, wait, I don't need to.
578: [11:46:02] <Pymonmrnk> it's assets dir, and no dhensby, still get a big 500
579: [11:46:46] <ss-helper> Silverstripe on Dreamhost - http://www.silverstripe.org/community/forums/hosting-requirements/show/101331
580: [11:47:20] <dhensby> :(
581: [11:48:24] <Pymonmrnk> hahahahahahahaaha, dickhead boss is finally getting around to interviews. However as 2 technicians are on the sick as of today, suddenly we have A SINGLE IT GUY FOR 1600 USERS ACROSS THE ENTIRE TOP HALF OF A COUNTRY
582: [11:48:31] * travis-ci has joined #silverstripe
583: [11:48:32] <travis-ci> dhensby/silverstripe-framework#267 (pulls/case-sensitive-class-info - 35bd88f : Daniel Hensby): The build has errored.
584: [11:48:32] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/6a3f9993791b...35bd88fef058
585: [11:48:32] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53636763
586: [11:48:32] * travis-ci has left #silverstripe
587: [11:51:07] * cloph quit (Ping timeout: 245 seconds)
588: [11:52:49] * travis-ci has joined #silverstripe
589: [11:52:50] <travis-ci> silverstripe/silverstripe-framework#4374 (3.1 - 81c1e36 : Loz Calver): The build passed.
590: [11:52:50] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7bf4d2e95e9c...81c1e36305a1
591: [11:52:50] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53635927
592: [11:52:50] * travis-ci has left #silverstripe
593: [11:55:05] * ThePeach has joined #silverstripe
594: [11:55:18] <ThePeach> hi all
595: [11:55:27] <Pymonmrnk> hi
596: [11:55:37] <Pymonmrnk> how are you today James?
597: [11:55:39] <ThePeach> is it not possible to convert an ArrayList into a JSON string?
598: [11:55:49] <Pymonmrnk> of course it is
599: [11:56:07] <ThePeach> oh ok, do I need to convert it to a plain array first?
600: [11:56:15] <Pymonmrnk> yep.
601: [11:56:27] <Pymonmrnk> json_encode($arraylist->toArray())
602: [11:56:37] <ThePeach> ok, I was hoping there would have been a method to convert it directly
603: [11:56:45] <ThePeach> nice thanks Pymonmrnk
604: [11:57:06] <Pymonmrnk> you could make an Extension to apply to it to do that.
605: [11:58:02] * cloph_away has joined #silverstripe
606: [11:58:14] <ThePeach> that's also an idea. for now it's just a call, I'll reconsider once I got a use case in place
607: [11:58:18] <ThePeach> thanks again Pymonmrnk
608: [12:00:40] * slievr quit (Ping timeout: 246 seconds)
609: [12:01:51] * Shrike_Finland1 quit (Quit: Leaving.)
610: [12:05:21] * Colin[pi] quit (Ping timeout: 246 seconds)
611: [12:07:20] * cloph_away is now known as cloph
612: [12:09:06] * travis-ci has joined #silverstripe
613: [12:09:07] <travis-ci> silverstripe/silverstripe-framework#4375 (3 - 9c70a91 : Loz Calver): The build passed.
614: [12:09:08] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/ef818b3b7bd5...9c70a91f1bd8
615: [12:09:08] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53636334
616: [12:09:08] * travis-ci has left #silverstripe
617: [12:13:51] * Shrike_Finland has joined #silverstripe
618: [12:20:04] <dhensby> ThePeach: Convert::array2json($list->toArray()); is more "framework safe"
619: [12:27:05] * UndefinedOffset has joined #silverstripe
620: [12:31:55] <ss-helper> Betterbuttons module installation - http://www.silverstripe.org/community/forums/customising-the-cms/show/101332
621: [12:34:37] * Shrike_Finland quit (Quit: Leaving.)
622: [12:41:25] <ThePeach> dhensby: that's what I've done :) thanks mate
623: [12:41:30] <ThePeach> dhensby: all cool on your side ?
624: [12:44:26] <zauberfisch> wmk: seems that your suhosin problem has been fixed in ss now
625: [12:44:33] <wmk> zauberfisch, seen it
626: [12:44:34] <zauberfisch> 3.1.11 release notes claim that at least
627: [12:44:45] <wmk> 3.1.11 out?`or just rc?
628: [12:44:52] * wmk wonders if translations will be fixed
629: [12:48:16] * greenma__ has joined #silverstripe
630: [12:51:52] <dhensby> ThePeach: yep - went ice skating with Laura on the weekend, was fun
631: [12:52:14] <dhensby> wmk - rc I believe
632: [13:08:07] * kerosene has joined #silverstripe
633: [13:12:57] * travis-ci has joined #silverstripe
634: [13:12:58] <travis-ci> silverstripe/silverstripe-framework#4380 (master - cf2089b : Daniel Hensby): The build has errored.
635: [13:12:58] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/a86ed93759b9...cf2089bc54ea
636: [13:12:58] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53638554
637: [13:12:58] * travis-ci has left #silverstripe
638: [13:13:47] <zauberfisch> rc
639: [13:18:10] * veb has joined #silverstripe
640: [13:18:53] * cloph quit (Remote host closed the connection)
641: [13:23:57] * Shrike_Finland has joined #silverstripe
642: [13:27:21] * cloph_away has joined #silverstripe
643: [13:31:56] * cloph_away is now known as cloph
644: [13:41:26] * muskie9 has joined #silverstripe
645: [13:42:47] * catcher has joined #silverstripe
646: [13:48:08] <Pymonmrnk> dhensby: seems that it might be AllowOverride
647: [13:48:12] <Pymonmrnk> (caused by)
648: [13:48:39] <Pymonmrnk> php_flag is not allowed to be overridden I guess. But the module exists, so ifmodule mod_php5.c works.
649: [13:59:03] * lerni_ has joined #silverstripe
650: [14:00:23] * UndefinedOffset quit (Quit: Leaving.)
651: [14:04:17] <wmk> zauberfisch, didn't you push your betteri18n module to packagist?
652: [14:06:40] <dhensby> Pymonmrnk - yes if you dont have allowoveride all, then lots will break
653: [14:07:59] * UndefinedOffset has joined #silverstripe
654: [14:10:39] <ThePeach> dhensby: ice skating? in Norway?
655: [14:12:58] * Uitto has joined #silverstripe
656: [14:13:44] <dhensby> Norway? dream on. Streatham
657: [14:14:07] * Shrike_Finland quit (Quit: Leaving.)
658: [14:14:14] <ThePeach> lol
659: [14:15:50] <Pymonmrnk> dhensby: mmm. I am using userdir (apache mod) - are there any options other than all or none?
660: [14:16:53] <Pymonmrnk> rewrite and everything else (seems to) work, but not php_flg
661: [14:16:57] <Pymonmrnk> php_flag*
662: [14:17:03] <dhensby> hmm
663: [14:17:05] <dhensby> strange
664: [14:17:10] <Pymonmrnk> mmm
665: [14:17:18] <dhensby> ThePeach may have an idea
666: [14:17:54] * Shrike_Finland has joined #silverstripe
667: [14:20:56] <ThePeach> allowOverride all maybe?
668: [14:21:18] <Pymonmrnk> yeah, are there any other options that just all or none ThePeach ?
669: [14:21:41] <ThePeach> you can specify what you can allow to override
670: [14:21:42] <Pymonmrnk> that would allow php_flag but not necessarily all the other things?
671: [14:21:50] <Pymonmrnk> oh, hmm
672: [14:21:54] <ThePeach> I believe, can't remember off the top of my head
673: [14:21:56] <Pymonmrnk> how to allow just php? just type php?
674: [14:22:37] <ThePeach> what is that you're trying to set?
675: [14:22:37] <Pymonmrnk> current conf for /home/*/public_html stands at: AllowOverride FileInfo AuthConfig Limit Indexes
676: [14:22:49] <Pymonmrnk> php_flag engine off => php_flag is not allowed here
677: [14:23:06] <Pymonmrnk> https://github.com/silverstripe/silverstripe-installer/issues/67#issuecomment-77447868
678: [14:23:30] <wmk> Pymonmrnk, you can set some php ini values in your virtualhost conf
679: [14:23:36] <wmk> so it's per vhost
680: [14:23:39] <Pymonmrnk> wmk: I don't have a virtualhost
681: [14:23:47] <wmk> ok
682: [14:23:49] <Pymonmrnk> I'm making use of userdirs
683: [14:23:53] <ThePeach> Pymonmrnk: http://stackoverflow.com/questions/24665333/htaccess-mod-rewrite-unable-to-set-it
684: [14:24:02] <ThePeach> have a look here there might be a bit more info
685: [14:24:30] <wmk> Pymonmrnk, you mean like domain.com/~pyk/ ?
686: [14:24:34] <Pymonmrnk> wmk: yup.
687: [14:24:50] <wmk> that looks soooo 1995
688: [14:25:09] <Pymonmrnk> like localhost:2222/~pytestk/ssbase
689: [14:25:15] <Pymonmrnk> wmk: haha :<
690: [14:31:03] * muskie9_ has joined #silverstripe
691: [14:34:27] * muskie9 quit (Ping timeout: 246 seconds)
692: [14:35:23] * muskie9_ quit (Read error: Connection reset by peer)
693: [14:53:34] * wmk quit (Ping timeout: 245 seconds)
694: [14:56:04] <Pymonmrnk> sorted, thanks dhensby :)
695: [14:56:12] <dhensby> what was it in the end?
696: [14:56:20] <Pymonmrnk> added "Options" to the end of the AllowOverride line.
697: [14:57:02] <Pymonmrnk> I was wondering if there was a way to limit it specifically to php flags, but in the end I was still able to get away with less that 'All' - which is more what I was after (even though it's irrelevant in this setting, it's good to know)#
698: [14:58:31] <dhensby> Pymonmrnk: great
699: [15:01:48] * veb quit (Quit: veb-irc: &)
700: [15:02:38] <Pymonmrnk> dhensby: I updated the ticket (err, 'ticket' - issue. whatever.) and closed it too.
701: [15:03:32] <Pymonmrnk> I learnt something as a result of being far too lazy to set up a 'proper' environment.
702: [15:03:34] <Pymonmrnk> xD
703: [15:04:23] <dhensby> Pymonmrnk: I think itd be useful to go into the docs around hosting / environments with userdir :)
704: [15:04:40] <dhensby> in fact, around any environment - I think we say allowoveride all is needed, but if you can be more specific, that'd be nice
705: [15:05:03] <Pymonmrnk> dhensby: Indeed. I think it'd be super excellent to have a DEFINITIVE list of all the server settings that are needed, no matter the server or the configuration.
706: [15:05:25] <dhensby> > no matter the server or the configuration
707: [15:05:29] <Pymonmrnk> eg, set it all in httpd, the vhost, using .htaccess, or nginx.
708: [15:05:39] <Pymonmrnk> "you want to get it so..."
709: [15:05:43] <dhensby> yes, a nice guide would be good
710: [15:06:07] <Pymonmrnk> things like - assets is unable to execute php. - php files are not directly executable in any directory
711: [15:06:09] <Pymonmrnk> - etc.
712: [15:06:29] <Pymonmrnk> a basic bolt down, as such.
713: [15:06:51] <Pymonmrnk> but, that's another day. I should probably do something towards my /actual/ job for the day now :P
714: [15:07:38] <Pymonmrnk> pacman -Syu
715: [15:07:43] <Pymonmrnk> ffffff windows ><
716: [15:07:47] <Pymonmrnk> lol
717: [15:08:27] <kinglozzer> How do you escape <% tags in templates? Stupid JS
718: [15:08:41] <Pymonmrnk> kinglozzer: uhh
719: [15:08:46] <NETim> Anyone know how to use staticexporter?
720: [15:09:03] <Pymonmrnk> kinglozzer: nfi, actually :<
721: [15:09:06] <dhensby> <\% ?
722: [15:09:11] <Pymonmrnk> use a better template! :P
723: [15:09:14] <dhensby> are you using handlebars?
724: [15:09:18] <Pymonmrnk> {{ ohyeah }}
725: [15:09:27] <dhensby> or underscore?
726: [15:09:31] <dhensby> kinglozzer ^
727: [15:09:33] <Pymonmrnk> mustache.js
728: [15:09:45] <kinglozzer> Yep that's the one, thanks dhensby
729: [15:09:52] <kinglozzer> dhensby: underscore
730: [15:09:57] <dhensby> you can change the delimiters
731: [15:09:58] <Pymonmrnk> kinglozzer: oh, that actually works? mint.
732: [15:09:59] <dhensby> we did that a lot
733: [15:10:02] <dhensby> much better
734: [15:10:23] <dhensby> if only I could remember which project...
735: [15:10:55] <Pymonmrnk> I used mustache.js once. It was both cool and a pain in the arse.
736: [15:11:43] * catcher tries not to picture a mustache hurting Pymonmrnk's arse
737: [15:11:46] <NETim> kinglozzer: _.templateSettings.escape = /\{\{-(.*?)\}\}/g
738: [15:12:02] <Pymonmrnk> haha catcher
739: [15:12:09] <kinglozzer> Ty NETim
740: [15:12:10] <NETim> Set it to what you want, but don't forget to escape the escape...
741: [15:12:28] <NETim> Doesn't the template parser ignore included js?
742: [15:13:11] <Pymonmrnk> catcher: https://www.youtube.com/watch?v=xQ9TWJcjyMo
743: [15:13:31] <Pymonmrnk> NETim: well included JS doesn't go through the parser.
744: [15:13:41] <Pymonmrnk> but when you have hard coded inline stuff...
745: [15:13:48] <NETim> Which should get around the issue with <%
746: [15:13:51] <Pymonmrnk> (usually because tempalte vars)
747: [15:14:03] <NETim> define the template in an included file.
748: [15:14:04] <Pymonmrnk> (needed in js lib config)
749: [15:14:31] <Pymonmrnk> yes but how to get SS model info into JS ... thing?
750: [15:14:39] <Pymonmrnk> hmmmmmmmm? ;)
751: [15:14:55] <NETim> Depends how much, could use data-attr for small scale.
752: [15:15:11] <NETim> Larger stuff, I agree on letting SS fill it in for you.
753: [15:15:14] <Pymonmrnk> oh what?
754: [15:15:16] <Pymonmrnk> body?
755: [15:15:18] <NETim> ?
756: [15:15:19] <Pymonmrnk> :<
757: [15:15:23] <Pymonmrnk> plz
758: [15:16:14] <NETim> back to my original question, static exporter? any ideas?
759: [15:16:40] <dhensby> this is what we used:
760: [15:16:40] <dhensby> _.templateSettings = {
761: [15:16:41] <dhensby> interpolate: /\{\{(.+?)\}\}/g,
762: [15:16:41] <dhensby> evaluate: /<=([\s\S]+?)=>/g,
763: [15:16:41] <dhensby> };
764: [15:17:15] <dhensby> so {{ var_name }} is escaped, and <= var_name => is not
765: [15:17:16] <kinglozzer> Oh ffs, entwine is not entwining again :(
766: [15:17:45] <kinglozzer> dhensby: Did you solve your issue from last week?
767: [15:17:50] <kinglozzer> (entwine)
768: [15:18:42] <Pymonmrnk> NETim: eh?
769: [15:18:53] <NETim> http://api.silverstripe.org/master/class-StaticExporter.html
770: [15:19:21] <Pymonmrnk> Doesn't work on Windows.
771: [15:19:22] <Pymonmrnk> Coule!
772: [15:19:24] <Pymonmrnk> could*
773: [15:19:29] <NETim> Customer wants to export all the things to have translated.
774: [15:19:38] <Pymonmrnk> ha
775: [15:20:07] <NETim> ?
776: [15:20:08] <Pymonmrnk> select Content from SiteTree > hereyagaanyalazyshit.csv
777: [15:20:18] <Pymonmrnk> :P
778: [15:20:40] <NETim> possibly, but they want to try and use staticexporter for some reason.
779: [15:21:20] <NETim> Does it still work in 3.1? How do you get it to export?
780: [15:22:57] <ss-helper> Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/OVXVgOn5_EkJ
781: [15:23:00] <Pymonmrnk> should do
782: [15:24:19] <NETim> Unfortunately not. They want content/title/meta translations and need actual translations noot Googlish.
783: [15:25:24] <Pymonmrnk> NETim: so it's... not working?
784: [15:25:28] <NETim> not*
785: [15:25:33] <Pymonmrnk> is there a task in /dev ?
786: [15:25:41] <Pymonmrnk> or dev/tasks or something?
787: [15:25:45] <NETim> Pymonmrnk: nope. Assuming I'm using it right to begin with.
788: [15:26:00] <Pymonmrnk> oh, NETim - what version are you using>?
789: [15:26:14] <NETim> 3.1
790: [15:30:11] <Pymonmrnk> you might (unsure what version it was brought in on - kinglozzer?) need to add a route to get to it first.
791: [15:30:25] <Pymonmrnk> if it's old enough specifying the controller name will do it
792: [15:30:39] <Pymonmrnk> can probably test by typing site/Page_Controller in
793: [15:30:51] <Pymonmrnk> should get a default page with no content
794: [15:31:16] <NETim> nope.
795: [15:31:23] <Pymonmrnk> then add the route.
796: [15:31:32] <NETim> ok.
797: [15:31:39] <Pymonmrnk> routes: StaticExporter => *
798: [15:31:53] <kinglozzer> NETim: That class you linked doesn't exist O.o
799: [15:32:05] <NETim> que?
800: [15:32:13] <NETim> That's not good.
801: [15:32:15] <dhensby> kinglozzer: no, i didn't solve it :(
802: [15:32:15] <Pymonmrnk> kinglozzer: not in 3.1, does appear to exist in master docs though
803: [15:32:24] <kinglozzer> Pymonmrnk: Yeah but the class doesn't exist in master :P
804: [15:32:30] <Pymonmrnk> eh?
805: [15:32:33] <Pymonmrnk> :<
806: [15:32:33] <kinglozzer> So I have NFI why it's in the docs
807: [15:32:45] <NETim> Ok, is there a replacement?
808: [15:32:48] <Pymonmrnk> NETim: kinglozzer well I had thougtht so earlier, but the docs were there...
809: [15:33:01] <Pymonmrnk> kinglozzer: NETim I'm pretty sure it was split out into a module.
810: [15:33:08] <kinglozzer> It was, yeah
811: [15:33:08] <Pymonmrnk> check github/silverstripe-labs
812: [15:33:19] <Pymonmrnk> if not on /silverstripe
813: [15:33:30] <Pymonmrnk> or check addons.silverstripe.org
814: [15:33:33] <kinglozzer> https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/code/controllers/StaticExporter.php
815: [15:33:45] <Pymonmrnk> yeh, there we go.
816: [15:33:56] <Pymonmrnk> Silly me thinknig the core still had it because the docs said so
817: [15:34:00] <Pymonmrnk> I should have said that first!
818: [15:34:01] <Pymonmrnk> :<
819: [15:34:07] <kinglozzer> dhensby: My onmatch isn't onmatching >< yet as soon as I open the inspector, it fires
820: [15:34:18] <kinglozzer> It's like it's missing a dom ready event or something
821: [15:34:36] * greenma__ quit (Read error: Connection reset by peer)
822: [15:34:56] <Pymonmrnk> fuck you wisdom tooth :<
823: [15:35:10] * greenma__ has joined #silverstripe
824: [15:35:22] <Pymonmrnk> lol greenma, it's like granma
825: [15:35:26] <Pymonmrnk> xD
826: [15:36:52] <dhensby> kinglozzer - that is strange...
827: [15:36:57] <NETim> kinglozzer: Success.
828: [15:44:06] * david_bru has joined #silverstripe
829: [15:45:09] * Shrike_Finland quit (Quit: Leaving.)
830: [15:45:26] <david_bru> hey. i'm trying to upgrade from ss 3.0.10 to ss 3.1.10.. but when i call /dev/build it shows me the changes in green and blue but does not actually change anything in the db
831: [15:46:04] <david_bru> *3.0.11
832: [15:46:17] <david_bru> the upgrade from 3.0.3 to 3.0.11 worked just fine..
833: [15:46:32] <david_bru> working on a local version of a live site
834: [15:46:47] <david_bru> any ideas what the problem could be?
835: [15:48:05] * DimiStripe has joined #silverstripe
836: [15:48:19] <dhensby> david_bru: is there actually a problem?
837: [15:48:38] <dhensby> I think that there's a problem where indexes will show in blue no matter what during dev/build
838: [15:49:36] <david_bru> yes. if i call the normal page with the new core files it showing this: http://www.sspaste.com/paste/show/54fdc084c327d
839: [15:50:21] <david_bru> and the TempIDHash-field is exactly one of them which should be created by dev/build
840: [15:52:35] <david_bru> and it's actually not displaying "Database build completed!" at the end of the /dev/build page
841: [15:56:12] <UndefinedOffset> david_bru sounds like a fatal error is occuring make sure you have display_errors turned on in php
842: [15:57:44] <david_bru> ah interesting:
843: [15:57:51] <david_bru> Fatal error: Access level to ErrorPage::$db must be public (as in class Page) in /Applications/MAMP/htdocs/foobar/cms/code/model/ErrorPage.php on line 318
844: [15:58:12] <david_bru> is what i get when i call dev/build
845: [15:58:23] <UndefinedOffset> are you upgrading to 3.1.x?
846: [15:59:06] <UndefinedOffset> if you are then you need to look at the upgrading docs, much of the statics have been made private in 3.1 http://doc.silverstripe.org/en/upgrading/
847: [15:59:48] <UndefinedOffset> hmm that doc isn't what it used to be lol
848: [16:00:05] <david_bru> wanted to say just that
849: [16:00:18] <david_bru> and yes i'm updaten from 3.0.11 to 3.1.10
850: [16:01:04] <Pymonmrnk> david_bru: fails before it reaches the bottom.
851: [16:01:07] <Pymonmrnk> output is not live.
852: [16:01:20] <Pymonmrnk> problem is likely that you've not updated your config statics
853: [16:01:44] * david_bru quit (Read error: Connection reset by peer)
854: [16:01:56] <Pymonmrnk> public static $configthing --> private static $configthing
855: [16:01:58] <Pymonmrnk> fffff he quit :<
856: [16:02:02] <Pymonmrnk> ish
857: [16:02:19] <dhensby> http://doc.silverstripe.org/en/changelogs/3.1.0/
858: [16:02:19] <UndefinedOffset> lol mm i was just about to point to the change log for 3.1.0 which seems to have the info he needs oh well lol
859: [16:02:40] <dhensby> I think his problem is that he's got default records
860: [16:02:47] <dhensby> this has been an issue reported several times
861: [16:03:10] * david_bru has joined #silverstripe
862: [16:03:19] <david_bru> sry my pc just crashed
863: [16:03:20] <dhensby> david_bru https://github.com/silverstripe/silverstripe-framework/issues/3660
864: [16:03:24] <UndefinedOffset> based on what he posted it seems to be that his statics in Page.php are public not private
865: [16:03:24] <dhensby> http://doc.silverstripe.org/en/changelogs/3.1.0/
866: [16:03:42] <dhensby> david_bru: are you using blog module?
867: [16:03:57] <UndefinedOffset> dhensby he mentioned he was upgrading from 3.0 to 3.1
868: [16:04:04] <david_bru> no blog module
869: [16:04:24] <UndefinedOffset> davig_bru have a look at the upgrading section here http://doc.silverstripe.org/en/changelogs/3.1.0/
870: [16:05:29] <dhensby> Ok, well, that error has been well reported and it's usually caused by default records being checked or a permission check as it's trying to query the DB for cols before the cols have been added. all a bit strange.
871: [16:05:46] <Pymonmrnk> david_bru: fails before it reaches the bottom.
872: [16:05:48] <Pymonmrnk> output is not live.
873: [16:05:53] <Pymonmrnk> problem is likely that you've not updated your config statics
874: [16:05:56] <Pymonmrnk> public static $configthing --> private static $configthing
875: [16:06:23] <david_bru> http://www.sspaste.com/paste/show/54fdc477a0d5a
876: [16:06:27] <UndefinedOffset> dhensby ya i've seen that issue many times when upgrading to newer versions of 3.1, quick dev/build fixes that assuming the statics are properly scoped :)
877: [16:06:29] <Pymonmrnk> that includes $db, $has_one, $has_many, $many_many, $belongs_many_many, $many_many_extraFields, etc
878: [16:06:37] <david_bru> ah ok
879: [16:06:58] <UndefinedOffset> david_bru: ya you should read the upgrading section in the 3.1.0 change log http://doc.silverstripe.org/en/changelogs/3.1.0/ it talks about all of that
880: [16:07:05] <david_bru> so i should just change all of them to private..
881: [16:07:10] <Pymonmrnk> mmhmm, it's all there :>
882: [16:07:12] <Pymonmrnk> david_bru: yes.
883: [16:07:26] <Pymonmrnk> and if you're ever using Class::$db, don't.
884: [16:07:49] <david_bru> ok i will have a look
885: [16:07:52] <david_bru> thanks for your help
886: [16:07:58] <Pymonmrnk> update that to use Config::inst()->get('Class', 'db') (as an example, a very VERY bad example, but yeah)
887: [16:08:14] <Pymonmrnk> very bad as in, I hope you never do that :>
888: [16:17:13] <david_bru> did the way to extend DataObject also change? i've got this http://www.sspaste.com/paste/show/54fdc62bc2494 but phpStorm tells me in line 2 "class must be declared abstract or implement methods 'instance_get', 'instance_get_one'"
889: [16:17:39] <ss-helper> Russian (cyrillic) URL addresses - http://www.silverstripe.org/community/forums/general-questions/show/101333
890: [16:24:15] <UndefinedOffset> david_bru no what you have should be fine
891: [16:25:00] <david_bru> mh oke..
892: [16:26:30] <Otterpocket> Ok it is only with Cron that my build tasks redirect to Security/login, when run on the same server via the shell, they work fine. Any ideas?
893: [16:27:23] <Pymonmrnk> Otterpocket: some kind of environment setting?
894: [16:27:43] <UndefinedOffset> Otterpocket: happen to be a cpanel server?
895: [16:27:52] <Otterpocket> UndefinedOffset, Yes....
896: [16:27:54] <UndefinedOffset> if it is try php-cli
897: [16:28:16] <Otterpocket> UndefinedOffset, I did try that, but now you say that ill give it another go
898: [16:28:44] <UndefinedOffset> Otterpocket: for some reason cpanel has the php command simlinked to the cgi php compiler which silverstripe's core expects php's cli compiler
899: [16:30:06] <Otterpocket> basically replace /sake with php-cli.php and run it with php ?
900: [16:30:40] <UndefinedOffset> mm replace it with php-cli (no .php its an application on the server)
901: [16:30:52] <UndefinedOffset> sry it would have to be
902: [16:31:02] * david_bru quit (Read error: Connection reset by peer)
903: [16:31:17] <UndefinedOffset> php-cli framework/cli-script.php
904: [16:31:31] <Otterpocket> UndefinedOffset, Ill give it a try
905: [16:32:18] <UndefinedOffset> Otterpocket sake is litterally just a wrapper for cli-script.php, it trys to find the first instance of php on the system's path which on a cpanel server unfortunatly is php's cgi compiler (bumped into it a few times)
906: [16:35:28] <Otterpocket> still getting Security redirect, I am calling it like this: php ~/foo-app/public_html/framework/cli-script.php dev/tasks/BBCFeedBiteImporter
907: [16:35:58] <UndefinedOffset> try calling this instead php-cli ~/foo-app/public_html/framework/cli-script.php dev/tasks/BBCFeedBiteImporter
908: [16:36:07] * ss31noob quit (Ping timeout: 246 seconds)
909: [16:37:22] * arnhoe quit (Ping timeout: 240 seconds)
910: [16:38:40] <Otterpocket> UndefinedOffset, sir
911: [16:38:44] <Otterpocket> UndefinedOffset, you are win
912: [16:39:18] <UndefinedOffset> fought with that issue just recently on a cpanel server so its a fresh one in my mind :)
913: [16:39:54] <Pymonmrnk> wholey... what... is this nonsense?
914: [16:39:56] <Pymonmrnk> o.0
915: [16:40:03] <Pymonmrnk> UndefinedOffset: Otterpocket ?
916: [16:40:04] <Otterpocket> UndefinedOffset, Thanks for your help
917: [16:40:11] <Pymonmrnk> php vs php-cli !?
918: [16:40:20] <Pymonmrnk> I just don't even D:
919: [16:42:00] <UndefinedOffset> gotta love cpanel lol
920: [16:47:46] <ss-helper> Re: Russian (cyrillic) URL addresses - http://www.silverstripe.org/community/forums/general-questions/show/101333#post400640
921: [16:51:29] <kinglozzer> Pymonmrnk: Talking about PSR / PHP-FIG last week reminded me of this: http://phpstyleguide.com/
922: [16:58:39] * lerni_ quit (Remote host closed the connection)
923: [17:00:56] <Pymonmrnk> kinglozzer: weeyyyy heyyyyy
924: [17:01:57] <Pymonmrnk> that sounds like something we should all adhere to. After all, as it says, we're not translating War and Peace.
925: [17:02:50] <ss-helper> Re: Russian (cyrillic) URL addresses - http://www.silverstripe.org/community/forums/general-questions/show/101333#post400641
926: [17:06:58] * cloph is now known as cloph_away
927: [17:08:09] <ss-helper> Re: [silverstripe-dev] Re: Ensuring open collaboration on the SilverStripe project - https://groups.google.com/d/msg/silverstripe-dev/IZz_1tmaV2M/r6uB2Nk4MMsJ
928: [17:09:01] <NETim> Trying to move some code over into a separate module. Need to extend page to have many objects and use the config.yml to declare the extension.
929: [17:11:55] * Liquide quit ()
930: [17:14:13] <NETim> It's not even building the tables...
931: [17:16:48] <Pymonmrnk> NETim: ya wot m8?
932: [17:17:16] <NETim> Trying to extend page with a sitetreeextension, but it isn't working.
933: [17:17:23] <Pymonmrnk> why not?
934: [17:17:39] <NETim> If I knew, I wouldn't have to ask how to fix it :P
935: [17:17:49] <Pymonmrnk> yeah, what are you trying to do?
936: [17:17:57] <NETim> It isn't even creating tables for the newly related objects...
937: [17:18:19] <NETim> Adding a new DO to sitetree.
938: [17:18:24] <Pymonmrnk> class MyThing extends DataExtension { private static $has_many = ['Things' => 'Thing']; }
939: [17:18:35] <Pymonmrnk> SiteTree:
940: [17:18:38] <NETim> But we use it intermittently, so I wanted to create it as a droppable module.
941: [17:18:41] <Pymonmrnk> extensions:
942: [17:18:45] <Pymonmrnk> - MyThing
943: [17:19:19] <NETim> That's what I thought, but it doesn't work.
944: [17:19:33] <Pymonmrnk> of course it doesn't build any table, it doesn't need to.
945: [17:19:41] <Pymonmrnk> it's has_many, right?
946: [17:19:46] <NETim> tried MyThing extends SiteTreeExtension, but that fails as well
947: [17:20:01] <NETim> yes, but it isn't building the table for the DO at all
948: [17:20:10] <Pymonmrnk> because it doesn't need to.
949: [17:20:30] <NETim> ?
950: [17:20:32] <Pymonmrnk> It's just adding a relation to SiteTree, for which the table needs no modification
951: [17:20:47] <NETim> So the DO (which has data attributes) doesn't need a table?
952: [17:21:07] <NETim> It's not the relation I'm on about, it isn't building the DO table to be related.
953: [17:21:18] <NETim> table MyThing doesn't exist.
954: [17:27:22] <Pymonmrnk> NETim: oh, so it's not the extension that's the issue?
955: [17:27:42] <Pymonmrnk> NETim: do you have a _config/ or a _config.php in the module's root?
956: [17:27:53] <Pymonmrnk> need that for the manifest to pick it up.
957: [17:28:02] <Pymonmrnk> cat > _config.php
958: [17:28:05] <Pymonmrnk> <?php
959: [17:28:07] <Pymonmrnk> ctrl+c
960: [17:28:29] <Pymonmrnk> echo "<?php\n" > module/_config.php
961: [17:28:37] <Pymonmrnk> mkdir module/_config
962: [17:28:47] <Pymonmrnk> either or
963: [17:29:17] <Pymonmrnk> right, it's like home time 'n stuff.
964: [17:30:44] <Pymonmrnk> what the fuck are you supposed to set for sqlserver type bit in ssis package?#
965: [17:30:47] <Pymonmrnk> ffffffff
966: [17:33:11] * kinglozzer home
967: [17:33:12] * kinglozzer quit ()
968: [17:34:38] <NETim> Pymonmrnk: fair point, I'll fight it again in the morning.
969: [17:35:45] <Pymonmrnk> :>
970: [17:35:46] * Pymonmrnk quit ()
971: [17:36:11] * Otterpocket quit (Remote host closed the connection)
972: [17:38:12] <ss-helper> Re: SilverStipe UserHelp card sort discussion - https://groups.google.com/d/msg/silverstripe-dev/XU40-UKcD8M/gCumi1ayRcUJ
973: [17:44:16] * ThePeach quit (Quit: leaving)
974: [17:57:24] * vanny has joined #silverstripe
975: [17:58:10] <vanny> hi all
976: [18:00:59] <vanny> MY admin page is all messed up, the fields are floating at the top of the page and overlapping each other. Any tips
977: [18:02:10] <catcher> vanny, custom editor.css?
978: [18:02:37] * UndefinedOffset quit (Quit: Leaving.)
979: [18:02:42] <vanny> I hadnt touched the css for the forms
980: [18:06:43] * vanny quit (Quit: Page closed)
981: [18:07:07] * vanny has joined #silverstripe
982: [18:08:13] * GioVdK quit (Ping timeout: 264 seconds)
983: [18:08:36] * lerni_ has joined #silverstripe
984: [18:09:17] * UndefinedOffset has joined #silverstripe
985: [18:11:07] * vanny quit (Client Quit)
986: [18:16:41] * Stomach has joined #silverstripe
987: [18:36:32] * Stomach quit (Quit: zzz)
988: [18:38:18] * Colin[pi] has joined #silverstripe
989: [18:45:09] * wmk has joined #silverstripe
990: [18:45:16] * antmas quit (Quit: Page closed)
991: [18:45:37] * elgabbu quit (Ping timeout: 246 seconds)
992: [18:56:55] * CodeTrap has joined #silverstripe
993: [19:02:01] * Shrike_Finland has joined #silverstripe
994: [19:03:54] * Stomach has joined #silverstripe
995: [19:18:06] * Stomach quit (Quit: zzz)
996: [19:18:33] * travis-ci has joined #silverstripe
997: [19:18:34] <travis-ci> silverstripe/silverstripe-framework#4387 (3.1 - 59496be : Daniel Hensby): The build passed.
998: [19:18:34] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/fcf0e8980ad3...59496be8eb4c
999: [19:18:34] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53693027
1000: [19:18:34] * travis-ci has left #silverstripe
1001: [19:19:04] * Stomach has joined #silverstripe
1002: [19:23:34] * gelignite has joined #silverstripe
1003: [19:24:02] * mobiusnz quit (Quit: Leaving.)
1004: [19:30:58] <Shrike_Finland> Anyone familiar with eventmanagement? Is it possible to use registration, without payments?
1005: [19:32:37] <wmk> Shrike_Finland, do you mean a special module?
1006: [19:33:24] <ss-helper> Re: Odd caching problem - http://www.silverstripe.org/community/forums/all-other-modules/show/101329#post400642
1007: [19:34:53] <Shrike_Finland> wmk: https://github.com/burnbright/silverstripe-eventmanagement#
1008: [19:36:24] <wmk> Shrike_Finland, optionally requires omnipay
1009: [19:37:05] <Shrike_Finland> wmk: I seems, that it can not be installed without omnipay or payments…
1010: [19:37:11] <Shrike_Finland> i = it
1011: [19:37:55] <wmk> why?
1012: [19:37:57] <wmk> composer?
1013: [19:38:13] * Stomach quit (Quit: zzz)
1014: [19:38:31] <Shrike_Finland> By dragging the files to servers.
1015: [19:43:38] * mobiusnz has joined #silverstripe
1016: [19:46:27] * Ryan-Toast has joined #silverstripe
1017: [19:47:31] * greenma__ quit (Remote host closed the connection)
1018: [19:52:43] * mobiusnz quit (Quit: Leaving.)
1019: [19:55:28] * veb has joined #silverstripe
1020: [19:56:21] * Colin[pi] quit (Ping timeout: 252 seconds)
1021: [19:58:17] * Stomach has joined #silverstripe
1022: [20:06:47] <Shrike_Finland> Getting: [User Error] Uncaught ReflectionException: Class Payable does not exist
1023: [20:07:19] * Hailwood has joined #silverstripe
1024: [20:08:40] * CodeTrap quit (Quit: CodeTrap)
1025: [20:09:01] * Stomach quit (Quit: zzz)
1026: [20:10:16] * Stomach has joined #silverstripe
1027: [20:12:09] * Pyromanik has joined #silverstripe
1028: [20:25:56] * UndefinedOffset quit (Quit: Leaving.)
1029: [20:30:43] * travis-ci has joined #silverstripe
1030: [20:30:44] <travis-ci> silverstripe/silverstripe-framework#4388 (3.1.11 - 6367848 : Damian Mooyman): The build passed.
1031: [20:30:45] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/872d05fd1b94...636784845e69
1032: [20:30:45] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53703303
1033: [20:30:45] * travis-ci has left #silverstripe
1034: [20:35:48] * Stomach quit (Quit: zzz)
1035: [20:38:30] <ss-helper> Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/vbKaPWHVv0gJ
1036: [20:42:19] * Stomach has joined #silverstripe
1037: [20:43:06] * cloph_away is now known as cloph
1038: [20:53:16] * Stomach quit (Quit: zzz)
1039: [20:53:23] <MichalKleiner|aw> zauberfisch: thanks for clarifying about the vagrant box
1040: [20:53:26] <MichalKleiner|aw> sounds interesting
1041: [20:53:33] * MichalKleiner|aw is now known as MichalKleiner
1042: [20:57:21] * travis-ci has joined #silverstripe
1043: [20:57:22] <travis-ci> silverstripe/silverstripe-cms#1142 (3.1.11 - c238e1e : Damian Mooyman): The build has errored.
1044: [20:57:22] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.1.11
1045: [20:57:22] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/53608713
1046: [20:57:22] * travis-ci has left #silverstripe
1047: [20:59:15] * UncleCheese has joined #silverstripe
1048: [21:00:45] * mahfuz has joined #silverstripe
1049: [21:04:13] * lerni_ quit ()
1050: [21:08:38] * greenma__ has joined #silverstripe
1051: [21:11:06] * Shrike_Finland quit (Quit: Leaving.)
1052: [21:16:29] * Colin[pi] has joined #silverstripe
1053: [21:19:35] * wmk quit (Read error: Connection reset by peer)
1054: [21:19:35] * Werner_2_ has joined #silverstripe
1055: [21:22:17] * Jakx has joined #silverstripe
1056: [21:23:29] * kinglozzer has joined #silverstripe
1057: [21:23:35] <ss-helper> AW: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/76kPFU8DeLsJ
1058: [21:23:52] * Werner_2_ is now known as wmk
1059: [21:23:59] <kinglozzer> Good eve
1060: [21:24:03] <wmk> hi kinglozzer
1061: [21:24:14] <Jakx> Hey there
1062: [21:24:24] <wmk> seems like en.yml is not uploaded to transifex?
1063: [21:24:59] * mobiusnz has joined #silverstripe
1064: [21:28:01] <Jakx> How do I render my class using it's parents template?
1065: [21:28:41] <catcher> class = controller?
1066: [21:29:10] <catcher> and does it need to be dynamic?
1067: [21:29:36] <Jakx> catcher, nah, DataObject. And no, it's static.
1068: [21:29:41] * simon_w|air has joined #silverstripe
1069: [21:30:52] <Colin[pi]> oh no it's him
1070: [21:31:18] <catcher> Jakx, viewable DO?
1071: [21:31:37] <kinglozzer> wmk: Strange, the boolean things have been in framework for years but I can't find them on transifex :S
1072: [21:31:49] <wmk> yup
1073: [21:31:56] <Jakx> catcher, yep
1074: [21:32:02] <catcher> Jakx, http://api.silverstripe.org/3.1/class-ViewableData.html#_renderWith
1075: [21:32:25] <wmk> kinglozzer, and it's just annoying scaffolding a boolean db field and have english yes/no instead of german
1076: [21:33:16] <kinglozzer> wmk: Mmm, you can just add your own lang files of course but that's still annoying :(
1077: [21:33:29] <wmk> Jakx, there is also a method to get the right template of the current class or the parent
1078: [21:34:09] <wmk> kinglozzer, yup, of course i can add my own strings for that for hotfixing, but if you want to ship a good framework on the german market it should be translated
1079: [21:34:20] <wmk> and i'd love to translate it if it was on transifex
1080: [21:35:08] <catcher> wmk, which method is that?
1081: [21:35:39] <Jakx> catcher, thanks. Nailed it.
1082: [21:36:06] <catcher> Jakx, cool, np
1083: [21:36:06] * travis-ci has joined #silverstripe
1084: [21:36:07] <travis-ci> silverstripe/silverstripe-framework#4389 (3.1 - 95deae8 : Daniel Hensby): The build passed.
1085: [21:36:07] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/59496be8eb4c...95deae8a69f7
1086: [21:36:07] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53711368
1087: [21:36:07] * travis-ci has left #silverstripe
1088: [21:37:50] <kinglozzer> wmk: Wait, I can see the boolean things on Transifex
1089: [21:37:58] <kinglozzer> Are they not an option on German?
1090: [21:38:14] <kinglozzer> Oh, last update 2 minutes ago
1091: [21:38:21] <kinglozzer> That may be why they've appeared :P
1092: [21:38:30] <wmk> catcher, http://api.silverstripe.org/3.1/class-SSViewer.html#_get_templates_by_class
1093: [21:38:41] <wmk> *G*
1094: [21:39:10] <catcher> wmk, coo
1095: [21:39:31] <wmk> catcher, sometimes i wonder if there is already a method for getting what i want.
1096: [21:39:36] <wmk> and often i find it
1097: [21:41:22] <wmk> kinglozzer, still only see Boolean.ANY possbile to tranlsate
1098: [21:42:50] * Jakx has left #silverstripe
1099: [21:47:49] * travis-ci has joined #silverstripe
1100: [21:47:50] <travis-ci> silverstripe/silverstripe-framework#4390 (3 - c35b1c4 : Daniel Hensby): The build passed.
1101: [21:47:50] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/9c70a91f1bd8...c35b1c432f19
1102: [21:47:50] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/53713630
1103: [21:47:50] * travis-ci has left #silverstripe
1104: [21:52:21] * travis-ci has joined #silverstripe
1105: [21:52:22] <travis-ci> dhensby/silverstripe-framework#268 (3 - c35b1c4 : Daniel Hensby): The build passed.
1106: [21:52:22] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/3b9129f68166...c35b1c432f19
1107: [21:52:22] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53714113
1108: [21:52:22] * travis-ci has left #silverstripe
1109: [21:52:39] * Jakx has joined #silverstripe
1110: [21:53:38] <ss-helper> More robust form traversing and manipulation needed? - https://groups.google.com/d/msg/silverstripe-dev/c3RajiT7gMI/YoPD9Q5n3OoJ
1111: [21:54:30] <Jakx> Does anyone know where templates are processed in the core? Specially the script that parses the $Reference.Reference syntax?
1112: [21:54:44] <simon_w|air> Jakx, SSTemplateParser
1113: [21:54:57] <simon_w|air> Is hiding in view/
1114: [21:55:12] <simon_w|air> You probably want to read the .inc version
1115: [21:56:56] * Stomach has joined #silverstripe
1116: [21:57:44] <Jakx> simon_w|air, thx. Is this the same for 2.4?
1117: [21:58:04] <simon_w|air> Jakx, nope. 2.4 is a bunch of regexs in SSViewer
1118: [21:58:19] <wmk> hey simon_w|air
1119: [22:00:04] <wmk> kinglozzer, https://www.transifex.com/projects/p/silverstripe-framework/viewstrings/#en/master/15329064?key=Boolean do you still see three boolean things, or only Boolean.ANY on transifex?
1120: [22:00:21] * Stomach quit (Client Quit)
1121: [22:01:10] * greenma__ quit (Remote host closed the connection)
1122: [22:01:28] <kinglozzer> wmk: I only see one there, but if I download it (https://www.transifex.com/projects/p/silverstripe-framework/language/en/, then click master YML and download) the YESANSWER and NOANSWER are included in the YAML download
1123: [22:01:41] <wmk> wtf
1124: [22:01:47] <kinglozzer> Perhaps it's a transifex bug? :|
1125: [22:02:32] <Pyromanik> Jakx, if you want to change 2.4's template parsing, I'd recommend... not.
1126: [22:02:54] <Pyromanik> perhaps shortcodes or something could be of better help?
1127: [22:03:22] <Jakx> Pyromanik, thx for the heads up. Fortunately not looking to change anything, just looking to see how it's parsing the references
1128: [22:03:39] <Pyromanik> regex :I(
1129: [22:03:55] <ss-helper> Re: New Home Page on each build - http://www.silverstripe.org/community/forums/general-questions/show/101323#post400643
1130: [22:03:58] <wmk> kinglozzer, right. i see it in download, but it doesn't seem to be parsed
1131: [22:05:18] <Jakx> Pyromanik, more specifically. I'm finding that method_exists() doesn't return true for $has_one references, and I need to. I'm hoping to find someone of the like in SSViewer
1132: [22:05:46] <wmk> Jakx, ->hasMethod() ???
1133: [22:05:47] <Pyromanik> Jakx, Object::has_method (or something like that
1134: [22:05:48] <Pyromanik> )
1135: [22:05:53] <Pyromanik> yes wmk :>
1136: [22:05:54] <webpal> can i use a sortable grid field to select from an existing collection of items? like i have a bunch of products already made in the database and just want to choose from a handful to put in the gridfield
1137: [22:06:03] <Pyromanik> wmk, but... 2.4 :/
1138: [22:06:19] <Pyromanik> webpal, look at simon_w|air's module for that.
1139: [22:06:26] <Pyromanik> it's on addons.silverstripe.org
1140: [22:06:41] <Pyromanik> form memory it's called 'relation manager' or something like that
1141: [22:06:50] <Pyromanik> from*
1142: [22:06:57] <wmk> Pyromanik, Jakx also on 2.4
1143: [22:06:57] * Liquide has joined #silverstripe
1144: [22:07:04] <Pyromanik> wmk, :D
1145: [22:07:41] <webpal> Pyromanik: this? http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler
1146: [22:07:55] <Pyromanik> Jakx, you either need hasMethod, or to check has_one('name') - which I think will return true or false if there's a relation of that name.
1147: [22:08:01] * Stomach has joined #silverstripe
1148: [22:08:18] <Jakx> Pyromanik, wmk, thanks. Massive help. I'll go have a play
1149: [22:08:22] <Pyromanik> from memory.
1150: [22:08:26] <Pyromanik> Jakx, good luck!
1151: [22:08:32] <Pyromanik> Jakx, done any dj'n sessions lately?
1152: [22:08:40] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/_L73_PMZlaIJ
1153: [22:08:40] <Pyromanik> got any soundbytes to share?
1154: [22:16:29] <webpal> so i guess i'm just looking for a way of choosing items from an existing collection of items
1155: [22:16:47] <Colin[pi]> oh goody, a client has decided to select the hosting for me, I'm very confident this will go well..........
1156: [22:18:34] <Pyromanik> webpal, yes, see the module.
1157: [22:18:44] <Pyromanik> Colin[pi], lulz
1158: [22:18:53] <Pyromanik> Colin[pi], do you even server access?
1159: [22:18:56] <kinglozzer> Colin[pi]: Oh I love those clients. They sometimes pick which modules I should install too
1160: [22:19:04] <Pyromanik> increase rate for external hosting support!
1161: [22:19:15] <Pyromanik> kinglozzer, hahahahahhahha really?
1162: [22:19:17] <Pyromanik> brilliant
1163: [22:20:16] <catcher> I do that, when they want a host that doesn't provide shell access.
1164: [22:20:32] <Colin[pi]> Pyromanik: well so far, they don't have mod_rewrite available, so off to a great start
1165: [22:20:49] <Pyromanik> Colin[pi], wait, /AVAILABLE/ !>
1166: [22:20:51] <Pyromanik> !?*
1167: [22:20:51] <catcher> Colin[pi], you have new tech support friends!
1168: [22:21:04] * Liquide quit (Ping timeout: 245 seconds)
1169: [22:21:05] <Colin[pi]> Pyromanik: nope
1170: [22:21:12] <Colin[pi]> catcher: yes lol
1171: [22:21:14] <micmania1> Colin[pi]: so zip up the website & database and give it to them :p
1172: [22:21:15] <Colin[pi]> talking with them now
1173: [22:21:22] <Pyromanik> Colin[pi], so like, they gotta compile and shit? amazing.
1174: [22:21:37] <Colin[pi]> Pyromanik: no like, what I mean is that the .htaccess stuff is being ignored
1175: [22:21:42] <Pyromanik> Colin[pi], basically what micmania1 said. If not, increase charge out rate while dealing with that stuff.
1176: [22:21:43] <Colin[pi]> it's using index.php
1177: [22:21:54] <Pyromanik> Colin[pi], oh, well that's not so bad.
1178: [22:21:57] <Colin[pi]> mm
1179: [22:22:03] <Pyromanik> just add it all to the vhost and job done.
1180: [22:22:16] <Colin[pi]> tbh it's actually going smoother than I anticipated lol
1181: [22:22:20] * Liquide has joined #silverstripe
1182: [22:22:33] <Pyromanik> but don't forget about assets/.htaccess and framework/.htaccess and cms/.htaccess and mysite/.htaccess!!
1183: [22:22:44] <Pyromanik> .htallthethings!
1184: [22:23:02] <Colin[pi]> Pyromanik: it's a cPanel host, can I enable apache mods?
1185: [22:23:07] * travis-ci has joined #silverstripe
1186: [22:23:08] <travis-ci> dhensby/silverstripe-framework#269 (3 - 14a897a : Daniel Hensby): The build was broken.
1187: [22:23:08] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/c35b1c432f19...14a897a1b05e
1188: [22:23:08] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53718525
1189: [22:23:08] * travis-ci has left #silverstripe
1190: [22:23:41] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/gBv0QLScF9EJ
1191: [22:25:15] <Hailwood> Hey guys, any idea what would cause upon file upload it to return [{"error":"Filesize is zero bytes."}]
1192: [22:25:26] <Pyromanik> yeh, a file of 0 bytes.
1193: [22:25:49] <Colin[pi]> lol
1194: [22:26:27] <wmk> Colin[pi], is this hosting really cheaper than setting up a 5 or 10 $ VM ??
1195: [22:29:22] <Hailwood> Pyromanik, Cheers! :| Heh, no the files I am uploaded are ~30KB so it's not 0, and it's not going over the php.ini max file/upload size.
1196: [22:29:50] <Pyromanik> Hailwood, it is when it gets to your server!
1197: [22:30:05] <Pyromanik> something to do with permissions, and a stab in the dark.
1198: [22:30:09] <Pyromanik> at*
1199: [22:30:58] <Colin[pi]> wmk: I tried to convince them otherwise
1200: [22:31:04] <Colin[pi]> wmk: clients gon client
1201: [22:31:43] <wmk> i can feel you
1202: [22:31:44] <Hailwood> Pyromanik, Yeah someone had changed the assets directory permissions :/ Why does SS not do a is writable check first!
1203: [22:33:17] * mobiusnz quit (Quit: Leaving.)
1204: [22:33:25] * travis-ci has joined #silverstripe
1205: [22:33:26] <travis-ci> dhensby/silverstripe-framework#270 (added-max-size-by-upload-type-turnerj - e01a586 : Turnerj): The build has errored.
1206: [22:33:26] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/added-max-size-by-upload-type-turnerj
1207: [22:33:26] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/53718831
1208: [22:33:26] * travis-ci has left #silverstripe
1209: [22:33:59] <Pyromanik> Hailwood, it's php at that point.
1210: [22:34:10] <Pyromanik> uploads go to temp, then copy is done manuals
1211: [22:34:28] * Pyromanik shrugs
1212: [22:34:39] <Pyromanik> I dunno how it all works man. It's like voodoo.
1213: [22:38:43] <ss-helper> Re: [silverstripe-dev] Re: Translations in 3.1.11 - https://groups.google.com/d/msg/silverstripe-dev/PcGki_saaak/8GvtcJPkTqQJ
1214: [22:41:43] * wracu quit (Quit: Leaving)
1215: [22:42:41] <Ryan-Toast> Stomach: you guys still in the James Hardie running?
1216: [22:46:12] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1217: [22:46:21] * catcher quit (Quit: Leaving)
1218: [22:53:44] <ss-helper> Re: [silverstripe-dev] Re: Ensuring open collaboration on the SilverStripe project - https://groups.google.com/d/msg/silverstripe-dev/IZz_1tmaV2M/D7I0OmCIn5oJ
1219: [22:54:39] * Stomach quit (Quit: zzz)
1220: [22:54:51] <Hailwood> Hi guys, any idea why $config->addComponent(new GridFieldSortableRows('SortOrder')); would be causing "Sort column SortOrder must be an Int, column is of type" The gridfield is showing this DO https://gist.github.com/hailwood/0126c5facb856611b257
1221: [22:57:06] <Ryan-Toast> Hailwood: you’re suing thew wrong gridfield
1222: [22:57:08] <kinglozzer> Hailwood: /dev/build?
1223: [22:57:08] <Ryan-Toast> using
1224: [22:57:24] <Ryan-Toast> you’re using has_many, when you should be using the many_many one
1225: [22:58:01] <Ryan-Toast> Hailwood: https://github.com/UndefinedOffset/SortableGridField/blob/master/docs/ManyManyExample.md
1226: [22:59:43] * kinglozzer sleeps
1227: [22:59:44] * kinglozzer quit ()
1228: [22:59:52] * Colin[pi] quit (Ping timeout: 244 seconds)
1229: [23:02:06] * Stomach has joined #silverstripe
1230: [23:05:40] * antmas has joined #silverstripe
1231: [23:05:49] <antmas> hi all o/
1232: [23:06:10] <Pyromanik> \o
1233: [23:10:31] * vanny has joined #silverstripe
1234: [23:11:14] <MichalKleiner> o/
1235: [23:16:50] <vanny> hi all
1236: [23:26:37] * Azure quit (Max SendQ exceeded)
1237: [23:28:47] <Pyromanik> 'lo
1238: [23:28:50] <Hailwood> Ryan-Toast, Ok so I believe I have updated the DO and page to match the example: https://gist.github.com/hailwood/2ed8cf5dc4297ac791be but I'm still getting the same error. Any ideas?
1239: [23:29:50] <Ryan-Toast> Hailwood: have you dropped the table row and dev/built?
1240: [23:30:29] <Hailwood> Ryan-Toast, Yep, before I did that I was getting told SortOrder was ambiguous
1241: [23:30:48] <Ryan-Toast> Hailwood: hmm, interesting
1242: [23:31:00] <Ryan-Toast> have you tried it without the extra components?
1243: [23:33:31] <Hailwood> Ryan-Toast, I got it, I had new GridField('Team Members', null, $this->Team(), $config) when I needed new GridField('Team', 'Team Members', $this->Team(), $config)
1244: [23:33:46] <Ryan-Toast> ah, nice :)
1245: [23:34:18] * vanny quit (Quit: Page closed)
1246: [23:34:57] <Hailwood> I wonder how that would work if you had two gridfields listing the same relationship (although I can't think of a valid use case...)
1247: [23:35:22] <Pyromanik> just fine.
1248: [23:35:42] <Pyromanik> They work on lists, not on relationships.
1249: [23:35:50] <Pyromanik> Any list, in theory.
1250: [23:36:36] <Pyromanik> also Hailwood, you need Gridfield::create, not new Gridfield.
1251: [23:36:53] <Pyromanik> Just to tidy that up.
1252: [23:37:03] <Pyromanik> glhf
1253: [23:37:08] * Pyromanik quit (Quit: ciao)
1254: [23:37:53] <Hailwood> Ah yeah I'm slowly transitioning over to Class::create() but I usually do new Class() first so I can see the constructor params in my IDE then convert it to Class::create()
1255: [23:39:12] <Hailwood> Also, it gets confusing when it's Gridfield::create but it's new GridFieldBulkManager !
1256: [23:42:29] * Azure has joined #silverstripe
1257: [23:44:58] * Azure quit (Read error: Connection reset by peer)
1258: [23:45:19] <Hailwood> I'm using sheadawson/silverstripe-linkable but the SiteTreeID field isn't showing when Type = 'SiteTree' aka this line: https://github.com/sheadawson/silverstripe-linkable/blob/master/code/dataobjects/Link.php#L71 any ideas?
1259: [23:47:48] <spronk2> GOLD MACBOOK MOTHERFUCKERS
1260: [23:49:17] <ss-helper> Re: Betterbuttons module installation - http://www.silverstripe.org/community/forums/customising-the-cms/show/101332#post400644
1261: [23:51:46] * mobiusnz has joined #silverstripe
1262: [23:53:16] <Hailwood> Actually, it's only in a specific case - when I "Has Many" to a page - if it's just a "Has One" then it opens the edit form in the popup which works..
1263: [23:54:24] * wmk quit (Ping timeout: 245 seconds)
1264: [23:56:05] * muskie9 has joined #silverstripe
1265: [23:59:04] <Hailwood> Ah, so it's because it's linked to a page so SS is replacing the field with a readonly field with the current page..

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