#silverstripe IRC Log

IRC log for 7 May 2013

All timestamps are in UTC.

1: [00:02:00] * spronk has joined #silverstripe
2: [00:04:00] <Zippy_> Morning
3: [00:04:00] * Zauberfisch-idle has joined #silverstripe
4: [00:04:00] <Zippy_> Well, afternoon now I suppose
5: [00:04:00] * Zippy_ has joined #silverstripe
6: [00:06:00] <Colin[pi]> hey there
7: [00:07:00] <Zippy_> yeap, almost!
8: [00:07:00] <willr_> lunch time!
9: [00:07:00] <Colin[pi]> neg, 10am here :(
10: [00:08:00] <simon_w> willr_, bring me some!
11: [00:08:00] <Zippy_> Is there a way to have a "Page" in the CMS which is just a holder. Not like a XXXHolder page, but a page which isn't a page. I don't need it to have a content field or url field. I simply want it as a way to group some pages together, so I can display them 'grouped' on the front end. I am sure SS2.x had something like that, but seems SS3 doesn't.
12: [00:09:00] <simon_w> A tick box? A many_many on SiteConfig?
13: [00:10:00] <willr_> make the parent page redirect to one of the children. Until show in menus/show in search
14: [00:10:00] <willr_> Zippy I use a RedirectorPage
15: [00:11:00] * folibis has joined #silverstripe
16: [00:11:00] <Zippy_> Ah, that might do it
17: [00:13:00] <willr_> course. But anything in site tree will need a url
18: [00:13:00] * priithansen has joined #silverstripe
19: [00:13:00] <Zippy_> Mmmm the redirector page still needs a url
20: [00:13:00] * priithansen has left #silverstripe
21: [00:14:00] <folibis> is it possible to create my own search form? the buildin one is not good for my html code. I mean I need only <input class="text"><span class="submit"> and no <div class="middleColumn"> and whatever
22: [00:15:00] <willr_> folibis you can use setTemplate() on the form object to provide a custom ss template
23: [00:15:00] <Zippy_> ok, thanks Will.
24: [00:16:00] <Zippy_> Are classes which end in Holder not shown in the CMS -> Right Click -> Add New Page Here menu? I am thinking only classes which end in Page are visible in that context menu?
25: [00:17:00] <willr_> Zippy_ would be nice, but nothing in core for that
26: [00:17:00] <Zippy_> hmm, as I have a ArticleHolder, and it doesn't show up there, but if I click the Add new button, it does show in the list
27: [00:18:00] <Zippy_> I was thinking maybe something is stopping the xxxHolder pages from being applied onto certain page types
28: [00:20:00] * priithansen quit (Quit: priithansen)
29: [00:20:00] <willr_> The cms uses $allowed_children to hide certain types
30: [00:20:00] <willr_> prevents users from making blog entries outside blogs etc
31: [00:21:00] <Pyromanik> guys guys I need help
32: [00:22:00] <Pyromanik> how can I put a Requirements::javascriptTemplate() into the 2.4 CMS?
33: [00:22:00] <Pyromanik> folibis: yes, you can.
34: [00:22:00] <simon_w> Pyromanik, You can't
35: [00:22:00] <willr_> Pyromanik has no one told you before that you need help?
36: [00:22:00] <Pyromanik> as I said earlier: $form = new Form(); $form->setFormMethod('GET'); $form->disableSecurityToken();
37: [00:23:00] <Pyromanik> simon_w: how could I get around this issue then?
38: [00:23:00] <Pyromanik> willr_: many times.
39: [00:23:00] <Pyromanik> of course, your code will be more filled out than that (like the Form constructor will have parameters, etc)
40: [00:23:00] <Pyromanik> ajax handler on the form field?
41: [00:24:00] <Pyromanik> eg, country, city, region
42: [00:24:00] <Pyromanik> I have a cascading option field
43: [00:24:00] <simon_w> Pyromanik, what are you trying to do?
44: [00:24:00] <Pyromanik> dropdowns
45: [00:25:00] <Pyromanik> currently it works well on the front end
46: [00:25:00] <Pyromanik> using jstemplate with json maps
47: [00:26:00] * SphereSilver quit (Remote host closed the connection)
48: [00:26:00] <Pyromanik> but of course doesn't work in CMS
49: [00:27:00] <Pyromanik> to determine locations
50: [00:27:00] <Pyromanik> frontend works from logged in user
51: [00:28:00] <Pyromanik> but CMS ... yeah. I have request from client to have it work in the backend, but they of course have access to all regions, so I need to also get it to filter by which ever member they select (prior to selecting address)
52: [00:28:00] <Pyromanik> so yeah, ajax url_handler on form field my best option?
53: [00:29:00] <Pyromanik> maybe FrozenFire has an idea (2.4)
54: [00:30:00] <Pyromanik> lunchtime, please leave a message after the *beep*
55: [00:33:00] <FrozenFire> Re-summarize the question for me
56: [00:47:00] <irogue> picked the best possible place for it
57: [00:47:00] <irogue> helicopter down in the harbour
58: [00:47:00] <irogue> so
59: [00:48:00] <irogue> in between police maritime unit and the navy base
60: [00:50:00] <Colin[pi]> :o
61: [00:51:00] <irogue> navy base at A, police boat/heli base at B
62: [00:51:00] <irogue> http://goo.gl/maps/o3Ori
63: [00:52:00] * spronk2 quit (Ping timeout: 245 seconds)
64: [00:52:00] * spronk quit (Ping timeout: 276 seconds)
65: [01:00:00] * spronk2 has joined #silverstripe
66: [01:09:00] <travis-ci> [travis-ci] silverstripe/sapphire#2137 (3.1 - 7b997a6 : Simon Welsh): The build passed.
67: [01:09:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6941706
68: [01:09:00] * travis-ci has left #silverstripe
69: [01:09:00] * travis-ci has joined #silverstripe
70: [01:09:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/8930304dfc78...7b997a698d70
71: [01:10:00] * Zippy_ quit (Quit: Zippy_)
72: [01:16:00] * spronk has joined #silverstripe
73: [01:26:00] * spronk2 quit (Ping timeout: 246 seconds)
74: [01:27:00] * spronk quit (Ping timeout: 264 seconds)
75: [01:28:00] * spronk2 has joined #silverstripe
76: [01:37:00] * Zippy_ has joined #silverstripe
77: [01:44:00] * folibis quit (Quit: Page closed)
78: [01:48:00] * DesignerX has joined #silverstripe
79: [01:58:00] * simon_w quit (Read error: Connection reset by peer)
80: [02:01:00] * simon_w has joined #silverstripe
81: [02:05:00] * Zippy_ quit (Ping timeout: 258 seconds)
82: [02:21:00] * UncleCheese has joined #silverstripe
83: [02:28:00] * zippy_ has joined #silverstripe
84: [02:32:00] <Pyromanik> country, region, city, address.
85: [02:32:00] <Pyromanik> FrozenFire: I have a form field that is basically a set of cascading selection dropdowns.
86: [02:33:00] <Pyromanik> provides options for valid addresses depending on member supplied to constructor
87: [02:34:00] <FrozenFire> Good luck.
88: [02:34:00] <Pyromanik> works great in front end, it basically generates a json map which JS then reads to switch dropdown options in and out depending on parent selection
89: [02:34:00] <Pyromanik> but I now need it to work for the backend too
90: [02:34:00] <Pyromanik> in 2.4
91: [02:34:00] <FrozenFire> :P
92: [02:34:00] * FrozenFire bolts
93: [02:34:00] <Pyromanik> where of course there is no current member as they're admen
94: [02:34:00] * Pyromanik felt like that would be the case.
95: [02:34:00] <Pyromanik> :P
96: [02:35:00] <Pyromanik> FrozenFire: since I can't use JS maps with Requirements::javascriptTemplate
97: [02:35:00] <Pyromanik> I was wondering if an ajax url_handler method would be my best approach
98: [02:35:00] * Pyromanik sighs
99: [02:36:00] <Pyromanik> FrozenFire: such as?
100: [02:36:00] <FrozenFire> Such as not that
101: [02:36:00] <FrozenFire> :P
102: [02:36:00] <Pyromanik> I'm assuming so at this point, but wanted to ask the community at large if they had any other ideas that might be better.
103: [02:36:00] <FrozenFire> Yeah. Pick a less messed up way of entering data.
104: [02:37:00] <simon_w> rm -rf cms :p
105: [02:37:00] <Pyromanik> haha
106: [02:37:00] * spronk has joined #silverstripe
107: [02:37:00] <Pyromanik> :<
108: [02:37:00] <FrozenFire> I struggle to think of a situation in which restricting the address to a dropdown is a good idea. :P
109: [02:38:00] <FrozenFire> Also, if the Member has a limited set of addresses to pick from, wouldn't that set be pretty small?
110: [02:38:00] <FrozenFire> And thus something you could just shit into the page on load?
111: [02:39:00] <Pyromanik> f<tab> - not only once.
112: [02:39:00] <Pyromanik> FrozenFire: FrozenFire not when the memeber hasn't been selected yet (in backend case - as I said, works great on front end)
113: [02:39:00] <FrozenFire> :P
114: [02:39:00] <Pyromanik> :<
115: [02:40:00] <Pyromanik> FrozenFire: well yeah. But then I need to update the dropdowns somehow
116: [02:40:00] <FrozenFire> Maybe force the admin to pick a member first?
117: [02:40:00] <Pyromanik> well
118: [02:40:00] <FrozenFire> Dunno. Crazy weird way of selecting shit
119: [02:40:00] <FrozenFire> So they can save, then set the others.
120: [02:40:00] <FrozenFire> Meh. I usually just hide the fields until the prerequisites are met. :P
121: [02:41:00] <Pyromanik> Yeh, normally that's pretty much what I would do too
122: [02:41:00] <Pyromanik> but it's kinda not nice in that it twosteps (at least) the process
123: [02:45:00] <Pyromanik> and especially because I have onafterwrite notifications
124: [02:45:00] <Pyromanik> :<
125: [02:46:00] <simon_w> Get better notifications?
126: [02:50:00] <Pyromanik> how would you suggest
127: [02:50:00] <Pyromanik> well
128: [02:50:00] <Pyromanik> ?
129: [02:50:00] <Pyromanik> no
130: [02:56:00] <simon_w> I don't know. It's been so long since I've done any sort of CMS dev.
131: [03:00:00] <lewellyn> pfft. CMSes are so last year.
132: [03:00:00] <simon_w> Yeah, it's been longer than that :p
133: [03:01:00] <FrozenFire> The CMS is 99% of why I use it
134: [03:01:00] <FrozenFire> Then why do you use SS? :P
135: [03:02:00] <simon_w> The ORM, template system and routing mostly
136: [03:02:00] <irogue> i use it for ModelAdmin primarily, not the actual CMS part of the CMS
137: [03:03:00] <irogue> could've done it in Cake or Django since they both have ModelAdmin type interfaces, but i'd been using SS as a CMS for a while so it's what i was used to
138: [03:03:00] <FrozenFire> The ORM is eh. It's friendly, but meh.
139: [03:03:00] <FrozenFire> Routing is nothing special?
140: [03:03:00] <FrozenFire> Template system is nothing at all to write home about
141: [03:04:00] <FrozenFire> :P
142: [03:04:00] <simon_w> I still don't know why I even bother responding to you
143: [03:04:00] <FrozenFire> Masochist
144: [03:08:00] <FrozenFire> I just see ditching the CMS as basically ditching the majority of why I love SS
145: [03:10:00] * eikonos quit (Read error: Connection reset by peer)
146: [03:10:00] * eikonos1 has joined #silverstripe
147: [03:12:00] * eikonos quit (Changing host)
148: [03:12:00] * eikonos has joined #silverstripe
149: [03:12:00] * eikonos1 is now known as eikonos
150: [03:13:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
151: [03:16:00] <simon_w> And I like other things. Maybe you'll get used to that someday.
152: [03:17:00] <FrozenFire> This is not acceptable to me.
153: [03:17:00] <simon_w> And that's exactly how you come across
154: [03:17:00] <FrozenFire> And we can't have that.
155: [03:17:00] <FrozenFire> Otherwise they're wrong.
156: [03:17:00] <FrozenFire> Everyone needs to like what I like
157: [03:18:00] <FrozenFire> :)
158: [03:20:00] * abitran has joined #silverstripe
159: [03:23:00] <K2> in my controllers init function
160: [03:23:00] * K2 has joined #silverstripe
161: [03:23:00] <K2> hey all
162: [03:23:00] <K2> Im trying to block a css file using Requirements::block('/themes/groove/css/layout.css');
163: [03:24:00] <FrozenFire> Have you tried removing the leading slash?
164: [03:24:00] <K2> but it doesnt seem to be working
165: [03:24:00] <K2> silverstripe is putting ?m=1233124 onto the end of the css links in the source code - could that be the problem?
166: [03:24:00] <FrozenFire> Nah
167: [03:24:00] <lewellyn> FrozenFire: i like K&R C.
168: [03:25:00] <K2> hahaha! Thanks FrozenFire!
169: [03:25:00] <FrozenFire> lewellyn, The one true brace style, or the bastardization?
170: [03:26:00] <lewellyn> my eclipse code style is actually a slightly modified version of K&R. i use it for C++ too.
171: [03:26:00] <lewellyn> one true, of course.
172: [03:26:00] <lewellyn> my eyes can't follow the others
173: [03:26:00] <lewellyn> it is even passable for php ;)
174: [03:28:00] <zippy_> For some reason, when I try and call $Size on a file object, I get false returned. the $Link works fine, and has the link of the file I can download, but for some reason Size is empty. I had a look into the code, and the call to file_exists fails, which seems odd!
175: [03:29:00] <zippy_> I am looping over the list of files as part of my page, so, maybe it's a scope issue...
176: [03:30:00] <zippy_> <% loop ImageFiles %><a href="$Link">View ($Size)</a><% end_loop %>
177: [03:31:00] <irogue> i modified PostmarkMailer at some point
178: [03:31:00] <irogue> fuuu
179: [03:31:00] <DesignerX> zippy_: hi, ImageFiles is a has_many relation to "Image" ?
180: [03:32:00] <zippy_> DesignerX: I am using File, but yes I have a has_many
181: [03:33:00] <zippy_> DesignerX: It all works fie in the CMS, I can upload files etc, and it displays the $Link ok, just the size
182: [03:35:00] <DesignerX> zippy_: try $getSize in the template
183: [03:35:00] <irogue> and now i can't find my modified version
184: [03:35:00] * UncleCheese quit (Quit: UncleCheese)
185: [03:36:00] <irogue> I FIXED SO MUCH
186: [03:36:00] <zippy_> DesignerX: Tried, same result
187: [03:37:00] <DesignerX> <% loop ImageFiles %>$Me.Size<% end_loop %>
188: [03:37:00] <DesignerX> git it a try
189: [03:37:00] <DesignerX> giv*
190: [03:38:00] * cloph_away has joined #silverstripe
191: [03:39:00] * cloph quit (Ping timeout: 264 seconds)
192: [03:40:00] <zippy_> Wonder if it's a bug
193: [03:40:00] <DesignerX> could be .. or we doing it wrong
194: [03:40:00] <zippy_> No go, same issue
195: [03:40:00] <zippy_> weird
196: [03:42:00] <zippy_> I can see it calls the getSize function on the filesystem/File.php class
197: [03:43:00] <spronk> found a json_encode bug?
198: [03:43:00] <Pyromanik> spronk: according to chrome, at least.
199: [03:43:00] <Pyromanik> good news everyone (frozendisconnected, simon_w, willr_) - I don't need to filter in the back end, json_encode is returning invalid json for a particular set of addresses on the front end.
200: [03:43:00] <Pyromanik> spronk: well, apparently.
201: [03:44:00] * travis-ci has left #silverstripe
202: [03:44:00] <Pyromanik> "Uncaught Invalid JSON: {..."
203: [03:44:00] <Pyromanik> which... chrome being chrome...
204: [03:44:00] <Pyromanik> though tbh I'd be surprised if there was a v8 issue, with all the node.js and stuff backing it.
205: [03:44:00] * travis-ci has joined #silverstripe
206: [03:44:00] <travis-ci> [travis-ci] silverstripe/sapphire#2139 (3.1 - 6771222 : Sean Harvey): The build passed.
207: [03:44:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7b997a698d70...677122256e57
208: [03:44:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6944259
209: [03:45:00] <spronk> hmm
210: [03:47:00] <Pyromanik> spronk: hmm, turns out it's using jQuery.parseJSON not JSON.parse
211: [03:47:00] <spronk> oic
212: [03:47:00] <Pyromanik> could be an issue with the old as hell jQuery bundeled with 2.4
213: [03:51:00] <Pyromanik> var parsejson = JSON.parse || $.parseJSON; should about do the trick right?
214: [03:51:00] <Pyromanik> spronk?
215: [03:52:00] * K2 quit (Ping timeout: 245 seconds)
216: [03:56:00] <Pyromanik> seems like it probably is json_encode()
217: [03:56:00] <Pyromanik> spronk: "Uncaught SyntaxError: Unexpected number "
218: [03:58:00] <spronk> o_O
219: [03:58:00] <simon_w|air> Pyromanik, what version of PHP?
220: [03:58:00] <FrozenFire> Straight up
221: [03:58:00] <spronk> that looks dodgy as fuck
222: [03:58:00] <spronk> dawg
223: [04:05:00] <zippy_> Word
224: [04:05:00] * zippy_ quit (Quit: zippy_)
225: [04:07:00] <Pyromanik> which seems to work fine in most circumstances
226: [04:07:00] <Pyromanik> but seems to be excapign something it probably shouldn't in this case
227: [04:07:00] <Pyromanik> hmm
228: [04:07:00] <Pyromanik> seems the JSON itself is valid, just that every string identifier is escaped
229: [04:08:00] <Pyromanik> json is looking like:
230: [04:10:00] <Pyromanik> normal?
231: [04:10:00] <Pyromanik> http://sspaste.com/paste/show/51887e7e454ec
232: [04:11:00] <spronk> that doesn't.... loooook normal
233: [04:11:00] <Pyromanik> before and afters is probably supposed to be ", rather than '
234: [04:11:00] <Pyromanik> simon_w|air: 5.3.10
235: [04:11:00] <spronk> hmm
236: [04:11:00] <Pyromanik> hmm, actually
237: [04:12:00] <Pyromanik> (would explain why all " are escaped in json_encode
238: [04:12:00] <Pyromanik> )
239: [04:12:00] <Pyromanik> does that matter in JS like it does in PHP?
240: [04:17:00] <DesignerX> hi.. anyone used SourceTree with GitHub ?
241: [04:26:00] <ss23> What am I doing wrong? :<
242: [04:26:00] <ss23> I presume I have a typo here -- https://gist.github.com/ss23/5530252
243: [04:26:00] <ss23> Get [User Error] Uncaught ReflectionException: Class MarkerDescription does not exist
244: [04:31:00] <DesignerX> line 8
245: [04:31:00] <DesignerX> extra comma at the end
246: [04:32:00] <DesignerX> m .kk
247: [04:32:00] <ss23> simon_w|air: It shows nothing I can decipher, but I will paste it :<
248: [04:32:00] <simon_w|air> In an array, doesn't matter
249: [04:32:00] <simon_w|air> ss23, call stack!
250: [04:33:00] <ss23> lol
251: [04:33:00] <ss23> simon_w|air: https://gist.github.com/ss23/5530252 comment on
252: [04:33:00] <DesignerX> is it.. ! nice .. I know JS will crash IR for that small comma
253: [04:33:00] <DesignerX> crash IE
254: [04:33:00] <ss23> DesignerX: I do that to make it easier if I add more stuff later (it's allowed in PHP)
255: [04:34:00] <irogue> hahaha
256: [04:34:00] <simon_w|air> line 8's the problem
257: [04:34:00] <simon_w|air> Now play guess!
258: [04:35:00] <DesignerX> ah lol its still the comma lol
259: [04:35:00] <DesignerX> or 88
260: [04:35:00] <ss23> lol
261: [04:35:00] <DesignerX> the 200 ?:
262: [04:35:00] <ss23> simon_w|air: Oh
263: [04:35:00] <ss23> Saw it
264: [04:35:00] <ss23> lol
265: [04:35:00] <ss23> ty
266: [04:35:00] <ss23> Knew it was either 8 or 18 :<
267: [04:36:00] <DesignerX> fetch pull push branch merge tag ... W T F IS ALL THIS .... hhh .. need a break !!
268: [04:37:00] <ss23> Git rules!
269: [04:37:00] <ss23> lol DesignerX
270: [04:41:00] <Pyromanik> spronk: simon_w|air hmm, looks like it might be SS's fault.
271: [04:45:00] <ss23> Ideas?
272: [04:45:00] <ss23> string(9) "3.0.x-dev"
273: [04:45:00] <ss23> I get that when I try load a page, but I can't think a) when I would var_dump that kind of value or b) can't see anywhere
274: [04:45:00] <ss23> nothing shows up for var_dump in a grep through my code
275: [04:46:00] <ss23> Calling die in the page types init doesn't show when I try load that page, so I can't help but feel it's before that (though don't get me wrong, probably 100% my fault, I just have no idea how to find out..)
276: [04:47:00] <ss23> It's only doing it on the second of this page type, not the first
277: [04:47:00] <ss23> oh fml
278: [04:48:00] <ss23> DesignerX: A user added a page called "test" in the CMS
279: [04:48:00] <ss23> hi, abitran :<
280: [04:48:00] <DesignerX> ss23: call it TestPage.php ?
281: [04:48:00] <ss23> DesignerX: It's not a .php
282: [04:48:00] <abitran> hi all
283: [04:48:00] <ss23> It's a known bug in Silverstripe? You can't name a page "test" because test.php will take precedence?
284: [04:48:00] <ss23> Why is this test.php even part of this ;_;
285: [04:49:00] <Pyromanik> $Variable.RAW is to no avail.
286: [04:49:00] <Pyromanik> simon_w|air: var_dump gives me string '{"1":{"1":"Auckland","4":"Canterbury"}}', Requirements::javascriptTemplate() is outputting '{\"1\":{\"1\":\"Auckland\",\"4\":\"Canterbury\"}}'
287: [04:49:00] <ss23> DesignerX: I understand it's easy to fix, but now I'm just confused as to why this test.php exists since it's literally one line with a var_dump, and if it's a known bug
288: [04:50:00] <Pyromanik> assuming because it's not cast.
289: [04:50:00] <Pyromanik> messing up my JSON parsability
290: [04:50:00] <Pyromanik> ss23: not magic quotes, but yes, magic in the sense they are appearing.
291: [04:50:00] <ss23> magic_quotes rules
292: [04:51:00] <Pyromanik> $replace[] = str_replace("\\'","'", Convert::raw2js($v));
293: [04:51:00] <ss23> lol
294: [04:51:00] <Pyromanik> if($vars) foreach($vars as $k => $v) {
295: [04:51:00] <Pyromanik> $search[] = '$' . $k;
296: [04:51:00] <Pyromanik> }
297: [04:51:00] <Pyromanik> FFFFFFFFFF
298: [04:52:00] <ss23> hahaha
299: [04:52:00] <Pyromanik> SS Y U DO DIS?
300: [04:52:00] <Pyromanik> it's not even SSViewer!
301: [04:52:00] <Pyromanik> :<
302: [04:52:00] <Pyromanik> I just... don't... even...
303: [04:53:00] <Pyromanik> yes, JS in my PHP, wtf blergh but will work better than this :/
304: [04:53:00] <ss23> I have to say, Silverstripe is one of those things where you poke it a little too hard and it bursts open with wounds
305: [04:53:00] <Pyromanik> F-this. Typeity type to change Requirements::javascriptTemplate to just customScript
306: [04:53:00] <ss23> lol
307: [04:54:00] <Pyromanik> on a scale of 0 to mad I'd say I'm hovering around 0.67 with this.
308: [04:55:00] <Pyromanik> almost like that time at Waikato uni when the computing lecturer ended up with a graph on the board of binary 0.5
309: [04:56:00] <DesignerX> need Git Help : is there a way to falltern all commits
310: [04:56:00] <ss23> DesignerX: rebase!
311: [04:59:00] <simon_w|air> DesignerX, yes, but most of the time you don't want to use it
312: [04:59:00] <DesignerX> just playing around with the optioins
313: [05:03:00] * nickmolhoek quit (Quit: nickmolhoek)
314: [05:03:00] <simon_w|air> Well, with a version control system, rewriting your history is usually not an option you should use
315: [05:04:00] <unsignedint> simon_w|air: what if you have a temporary branch that you want to merge in and erase all history of?
316: [05:05:00] <unsignedint> also sometimes your history gets huge (if you have a lot of binary files in your repo) and you dont actually care about reverting them, you just want to reduce history size
317: [05:06:00] <simon_w|air> unsignedint, then you're being stupid, and use something that can actually version binary files
318: [05:07:00] <simon_w|air> Or, if you don't want to revert, don't version them at all
319: [05:07:00] <DesignerX> lol
320: [05:07:00] <DesignerX> 1st time I use Git, I messed up the history with unqanted files/branches .. i wanna flatten verything & get a fresh start
321: [05:07:00] <unsignedint> well I keep binary files (pictures etc) in my repo because they are required for a fully functioning copy of my website and I use git as a deployment tool
322: [05:08:00] <unsignedint> DesignerX: you could probably delete the .git folder and git init a new repo :)
323: [05:08:00] <DesignerX> the question is : I am still learing & if i later on I mess up my history, how can I fix it :D
324: [05:08:00] <simon_w|air> DesignerX, so, new repository?
325: [05:09:00] <DesignerX> I may still need part of the history but not all of it
326: [05:09:00] <simon_w|air> DesignerX, don't. That's not the point of VCS
327: [05:12:00] <DesignerX> simon_w: ok , new repo .:D
328: [05:29:00] * Pyromanik quit (Quit: leaving)
329: [05:34:00] * willr_ quit (Quit: willr_)
330: [05:46:00] <DesignerX> does SourceStree or any othr GitHub client should create remote repo from the client itself ? or should I make the repo on the website then link to it >
331: [05:49:00] <howardgrigg> DesignerX: not an answer to your question but this is helpful http://www.silverstripe.org/assets/doc-silverstripe-org/collaboration-on-github.png
332: [05:53:00] <DesignerX> thanks
333: [05:55:00] <simon_w|air> DesignerX, not likely. You do know you don't need to use GitHub to use git, right?
334: [05:56:00] <DesignerX> simon_w|air: yeh I know that. I can work locally .. but I need to push the code online too .
335: [05:57:00] <DesignerX> simon_w|air: can I work locally now then later on create an empty repo & push all my work into it ? will it upload all the history 7 sync it with local ?
336: [05:58:00] <simon_w|air> Yes
337: [06:00:00] <simon_w|air> Also, for private repos, have a look at https://bitbucket.org
338: [06:15:00] * jon-shape quit (Ping timeout: 252 seconds)
339: [06:21:00] * jon-shape has joined #silverstripe
340: [06:26:00] <DesignerX> in a many many relation between MyPage & MyObject .. how can I make the MyObject know the current MyPage its getting linked/displayed at ?
341: [06:30:00] <howardgrigg> DesignerX: what are you trying to do?
342: [06:31:00] <Colin[pi]> Director::get_current_page() ?
343: [06:38:00] * willr_ has joined #silverstripe
344: [06:41:00] * Colin[pi] quit (Ping timeout: 268 seconds)
345: [06:43:00] * columbo is now known as kerosene
346: [06:51:00] * zfmf has joined #silverstripe
347: [06:54:00] <DesignerX> howardgrigg: I need MyObject to know which page its gettting siplayed at .. like when I do " < loop MyObjects > $Me <end_loop> I need $Me(the object) to know the ID of the page .
348: [06:56:00] <howardgrigg> So will Director::get_current_page() work?
349: [06:59:00] <willr_> DesignerX $Top.ID will return the ID of the top most scoped object (in your case a page)
350: [07:03:00] * chillu has joined #silverstripe
351: [07:07:00] <DesignerX> Thanks guys .. i will do some test & see which will work best .. another question (which is more practical & can be used in more cases) : for ObjectA many_many ObjectB .. if I call ManyObjectB() on ObjectA, is there a way for each of ManyObjectB() to know the info of the "Calling" object ?
352: [07:14:00] <howardgrigg> unless you pass it that information is some other way
353: [07:14:00] <howardgrigg> I don't think so...
354: [07:15:00] <DesignerX> mm.. like loop though the relation then pass in the "Calleer" object to each of the items in the relation ?
355: [07:22:00] * kerosene quit (Quit: leaving)
356: [07:23:00] * Zauberfisch has joined #silverstripe
357: [07:28:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
358: [07:29:00] * Zauberfisch-idle has joined #silverstripe
359: [07:48:00] * Colin[pi] has joined #silverstripe
360: [07:51:00] <Zauberfisch> DesignerX ohai
361: [07:51:00] * gumble quit (Read error: Connection timed out)
362: [07:51:00] * Zauberfisch quit (Remote host closed the connection)
363: [07:52:00] * gumble has joined #silverstripe
364: [07:52:00] * Zauberfisch has joined #silverstripe
365: [07:57:00] * kinglozzer has joined #silverstripe
366: [07:59:00] <kinglozzer> chillu: As this was merged into master https://github.com/silverstripe/sapphire/pull/1336, when will it get into 3.1?
367: [07:59:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
368: [08:00:00] <chillu> It won't, since its a new feature, and 3.1 is in late stage beta
369: [08:02:00] <chillu> Fork sapphire and cherrypick it in
370: [08:02:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
371: [08:02:00] <kinglozzer> Whaaa? I need it for a project :(
372: [08:03:00] <chillu> I mean, its not really a huge feature, and the risk of putting that specific change into 3.1 is minimal, but there's always going to be *some* commit that is not in a release you want it to be
373: [08:03:00] * Zauberfisch quit (Ping timeout: 276 seconds)
374: [08:05:00] <kinglozzer> chillu: We're planning on running multiple sites from the same codebase with different assets directories, so it's a pretty big feature for us :/. Client won't be happy with any modifications to core, really. Pretty please?
375: [08:05:00] * popeshoe quit (Quit: Leaving)
376: [08:06:00] * lx-berlin_ has joined #silverstripe
377: [08:06:00] <chillu> OK OK ;)
378: [08:06:00] <kinglozzer> :D thank you <3
379: [08:06:00] * Zauberfisch-idle has joined #silverstripe
380: [08:07:00] <chillu> https://github.com/silverstripe/sapphire/commit/429ac17a0f3ef9d8292b791d92c7a59032754aea
381: [08:08:00] <chillu> In general, we merge "upwards", so 3.0 -> 3.1 -> master. You should file pull requests against the earliest release you think this change should be contained in. So in this case, 3.1 would've been a OK for the original PR
382: [08:09:00] <kinglozzer> chillu: Yeah I learned that a little after that PR! Thanks again
383: [08:10:00] * popeshoe has joined #silverstripe
384: [08:12:00] * DesignerX quit (Read error: Connection reset by peer)
385: [08:12:00] * MichaelDesignerX has joined #silverstripe
386: [08:13:00] * Zauberfisch has joined #silverstripe
387: [08:14:00] * waveydave has joined #silverstripe
388: [08:14:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6948622
389: [08:14:00] * travis-ci has left #silverstripe
390: [08:14:00] <travis-ci> [travis-ci] silverstripe/sapphire#2140 (3.1 - 429ac17 : Loz Calver): The build passed.
391: [08:14:00] * travis-ci has joined #silverstripe
392: [08:14:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/677122256e57...429ac17a0f3e
393: [08:20:00] * priithansen has joined #silverstripe
394: [08:23:00] * SticksM quit (Read error: Connection reset by peer)
395: [08:29:00] * MichaelDesignerX is now known as DesignerX
396: [08:29:00] <MichaelDesignerX> How can I custmoize the GF use in ModelAdmin ? when ModelAdmin manage any object it just provides a basic GF (I think it uses GridFieldConfig_RecordEditor ? ) .. I wanna add new components & customize GridFieldDataColumns
397: [08:31:00] * Pigeon is now known as Guest50860
398: [08:31:00] * Pigeon has joined #silverstripe
399: [08:35:00] <simon_w|air> Override getEditForm
400: [08:51:00] * EasyCo quit (Quit: EasyCo)
401: [08:54:00] <kinglozzer> MichaelDesignerX: I did this about 5 minutes ago. As simon_w|air says, override getEditForm() - http://pastie.org/7812127
402: [08:57:00] * osterlaus has joined #silverstripe
403: [09:03:00] <willr_> @chillu you still planning to do another sync of open tickets to github?
404: [09:03:00] <chillu> Yeah, seen that you marked a couple as todo - how many tickets are left to be looked at?
405: [09:03:00] * gumble quit (Ping timeout: 248 seconds)
406: [09:03:00] <willr_> 237
407: [09:03:00] <willr_> http://open.silverstripe.org/query?status=accepted&status=assigned&status=infoneeded&status=infoneeded_new&status=new&status=started&keywords=!~migration-todo&keywords=!~migrate-todo&col=id&col=summary&col=status&col=type&col=priority&col=milestone&col=component&report=132&order=priority
408: [09:05:00] <willr_> Going through them while I wait for tests to finish to run.. damn dev/tests/all :P
409: [09:09:00] * gumble has joined #silverstripe
410: [09:10:00] * gumble quit (Client Quit)
411: [09:19:00] * SphereSilver has joined #silverstripe
412: [09:22:00] * kerosene has joined #silverstripe
413: [09:24:00] <ocm> howdy!
414: [09:24:00] * ocm has joined #silverstripe
415: [09:24:00] <SphereSilver> morning
416: [09:27:00] * Shrike_Finland has joined #silverstripe
417: [09:29:00] <simon_w|air> willr_, just run a module's :p
418: [09:30:00] <willr_> simon_w|air this is a rather an API breaking change. I want to know how much carnage it does
419: [09:30:00] <simon_w|air> All of it!
420: [09:31:00] <simon_w|air> Woo
421: [09:31:00] <willr_> that's the goal
422: [09:31:00] <simon_w|air> And someone should probably go through the paramterised query patch sometime
423: [09:33:00] <simon_w|air> Though he still hasn't answered if it's slower or not and how often the query cache thing gets flushed
424: [09:38:00] <kinglozzer> simon_w|air: If I have a method on a DataObject that returns a Form, any idea what the best way to handle it is?
425: [09:38:00] * osterlaus quit (Quit: Leaving.)
426: [09:39:00] <kinglozzer> DesignerX: You can do either. Override it or create an extension
427: [09:39:00] <DesignerX> simon_w|air: willr_ I see $this->extend('updateEditForm', $form); line 170 ModelAdmin.php ... does that mean i should be using the updateEditForm() to customize the GF in ModelAdmin instead of overLoading getEditForm()?
428: [09:40:00] <willr_> Either will work
429: [09:40:00] <DesignerX> I'm hoping updateEditFrom is called last, becasue getEditFrom(); doesnt seem to allow me to remove Tabs from ModelAdmin\
430: [09:41:00] <DesignerX> testing time
431: [09:41:00] <kinglozzer> DesignerX: No it doesn't, I assume you're managing multiple classes in ModelAdmin and only want one tab?
432: [09:42:00] <DesignerX> related *
433: [09:42:00] <kinglozzer> That was my problem earlier - I had a "FormBase" class, with numerous child classes that I wanted to manage in ModelAdmin. I had to set $managed_models to just be "FormBase" and it picked up the child records automatically.
434: [09:42:00] <kinglozzer> Not sure how you'd solve your issue
435: [09:42:00] <DesignerX> kinglozzer: yeh, trying to group relates Objects into sub-tabs
436: [09:45:00] <DesignerX> kinglozzer: mm.. all good, I can work around it , it not a high priority requirement to me ..
437: [09:50:00] <kinglozzer> chillu, willr_: If any of you are free, can you give me any pointers on how to handle a form that's being returned from a DataObject? I'm stumped http://pastie.org/7812322
438: [09:51:00] <willr_> kinglozzer Use a controller.
439: [09:53:00] * Bollig|DesignCty has joined #silverstripe
440: [09:53:00] <kinglozzer> willr_: How? :P. I tried adding a Controller class, but in my template when I do <% loop Forms %>$Form I can't get it to return the Form
441: [09:54:00] <willr_> Might want to give http://doc.silverstripe.org/framework/en/tutorials/3-forms a reread
442: [09:56:00] <willr_> make sure you allow the form name in the $allowed_actions
443: [09:56:00] <willr_> Have a function on your controller which returns your form instance, as well as a processing function
444: [09:57:00] <kinglozzer> willr_: I understand how to create forms, just not when getting the Form object from a DatObject class. The methods for getting the form and processing it have to be methods in the DataObject class
445: [09:58:00] <willr_> Then on your controller you'll still need to have a function which returns the form object (i.e on the controller public function ShowForm() { return singleton('MyObject')->getForm(); }
446: [09:59:00] <willr_> I think there might be a way to do it directly through the form class (as it does extend RequestHandler) but don't have an example off the top of my head
447: [09:59:00] <willr_> as well with the processing side of things. You can pass the work through to your dataobject
448: [10:00:00] <kinglozzer> willr_: How would I handle that in the template? in my <% loop Forms %> how can I pass in the class name? If I do <% loop Forms %>$Top.ShowForm($Title)<% end_loop %> it'll be taken out of the correct scope
449: [10:02:00] <kinglozzer> willr_: Yeah that's right. So have a method in my controller to access the lists manually instead of just using the relationship name?
450: [10:02:00] <willr_> So you have a list of data objects to output the forms? I think you'll need to generate those forms in your controller (as forms must be tied to a controller)
451: [10:04:00] <willr_> how similar are all your processing functions? You may need to pass your DataObject classname / ID as hidden fields in the form
452: [10:05:00] <kinglozzer> Not similar - all the forms have different fields/required fields etc
453: [10:13:00] * popeshoe quit (Read error: Connection reset by peer)
454: [10:18:00] * popeshoe has joined #silverstripe
455: [10:24:00] <kinglozzer> willr_: I've managed it, thanks for your help
456: [10:24:00] <willr_> Sorry couldn't help more, what did you end up with?
457: [10:27:00] <kinglozzer> wllr_: No problem, this: http://pastie.org/7812450
458: [10:29:00] <simon_w|air> kinglozzer, you may want to check that $className is something valid
459: [10:31:00] <kinglozzer> simon_w|air: What other checks would you recommend?
460: [10:32:00] <kinglozzer> Checking it's a subclass of FormBase?
461: [10:32:00] <simon_w|air> Yeah
462: [10:33:00] <kinglozzer> Okay will do. Thanks guys
463: [10:36:00] <Zauberfisch> running on ss latest
464: [10:36:00] <Zauberfisch> latest dev that is
465: [10:36:00] <Zauberfisch> have you guys expierienced any bugs that allowed_actions = array('Form') still tells you that action Form is not allowed?
466: [10:38:00] <Zauberfisch> so its not a bug with allowed actions
467: [10:38:00] <kinglozzer> Zauberfisch: I did that literally 5 minutes ago with my issue and I didn't have that problem
468: [10:41:00] <kinglozzer> Zauberfisch: I don't think so, I didn't encounter it anyway
469: [10:42:00] <Zauberfisch> well, lunchtime now
470: [10:42:00] <Zauberfisch> cya later
471: [10:42:00] <Zauberfisch> alright
472: [10:42:00] <Zauberfisch> thanks
473: [10:47:00] <osterlaus> hi there
474: [10:47:00] * osterlaus has joined #silverstripe
475: [10:48:00] <osterlaus> willr_, can you give more information about the ticket http://open.silverstripe.org/ticket/6429#comment:1 you recently closed?
476: [10:48:00] <osterlaus> why is the status "invalid"? as the whole widget-stuff was rewritten?
477: [10:50:00] <osterlaus> well, the code is still the same in https://github.com/silverstripe/sapphire/blob/2.4/core/control/ContentController.php#L244
478: [10:50:00] <willr_> Yep, lack of information to triage, age and the module has had updates. Tests around widget submissions
479: [10:52:00] <willr_> Feel free to raise the issue with the widgets project if it's still an issue on 3.0. Seemed to also be related to your specific widget example?
480: [10:52:00] <willr_> If you could provide a unit test which fails, that'll increase the likelihood of someone getting to a fix for it
481: [10:53:00] * lx-berlin_ has left #silverstripe
482: [10:53:00] <osterlaus> okay, i'll have a further look at it...
483: [10:54:00] * osterlaus quit (Quit: Leaving.)
484: [10:54:00] <willr_> Everythings either being fixed on open, migrated or closed. The odds for that one looked in favour of closed
485: [10:56:00] * NobrainerWeb has joined #silverstripe
486: [10:58:00] <howardgrigg> willr_: & chillu how are you finding the move of the tickets to GitHub?
487: [10:59:00] <willr_> Been fucking slack over the last 4 years :P
488: [10:59:00] <willr_> howardgrigg slow but liberating to clean stuff up
489: [11:00:00] <howardgrigg> lol - I imagine it's tricky with such a imbalance between ticket creators and fixers
490: [11:01:00] <willr_> oh yeah and it's not as simple as copy X tickets to Y, that'll just be moving the problem. Got several more core features as modules now so go testing / checking etc
491: [11:01:00] <DesignerX> any quick way to remove existing GF config & re-assigining my own ? l
492: [11:02:00] <willr_> DesignerX - use $gf->setConfig($yourConfig);
493: [11:05:00] * DimiStripe has joined #silverstripe
494: [11:05:00] * wmk has joined #silverstripe
495: [11:06:00] <DimiStripe> HI Guys, in 2.4 how can I set up Titles for the $db fields (to be displayed in CMS) , I found how can I do this for $searchable , but not for $db . Anyone can help me with this ?
496: [11:07:00] <howardgrigg> DimiStripe: where do you want the title displayed?
497: [11:07:00] <howardgrigg> over form fields or something else?
498: [11:09:00] <DimiStripe> as a title fot the complextable in RemodelAdmin
499: [11:11:00] <willr_> DimiStripe use $field_labels to update ModelAdmin $db fields
500: [11:12:00] <howardgrigg> DimiStripe: see http://doc.silverstripe.org/framework/en/reference/modeladmin#result-columns
501: [11:14:00] <howardgrigg> is it just me seeing the CSS error in the API docs nav bar? chillu? looks like the 51px custom padding is not needed
502: [11:14:00] <DimiStripe> OK, thanks guys, looking into it ...
503: [11:15:00] <DimiStripe> willr_: $field_labels worked like a charm :) Thanks . (Also what should I use it for has_one ? As it doesnt seem to be working on has_one )
504: [11:15:00] <chillu> howardgrigg Wanna send a PR? https://github.com/silverstripe/api.silverstripe.org/blob/master/conf/apigen/templates/resources/custom.css
505: [11:18:00] * Marvanni quit (Ping timeout: 256 seconds)
506: [11:20:00] * Bollig|DesignCty quit (Quit: Connection Reset by Mexicans with wirecutters)
507: [11:21:00] <willr_> DimiStripe pretty sure it will use field_labels as well. You may have to use "KeyID" your key rather than "Key"
508: [11:21:00] <howardgrigg> chillu: is the .has-ss-globaltoolbar from the old unified search bar?
509: [11:22:00] * pippy_ has joined #silverstripe
510: [11:23:00] * pippy quit (Ping timeout: 260 seconds)
511: [11:27:00] * chillu quit (Quit: chillu)
512: [11:30:00] * chillu has joined #silverstripe
513: [11:35:00] * kerosene quit (Quit: beep beep)
514: [11:36:00] <DesignerX> can GridFieldConfig or its subClasses access the GF object ? class GridFieldConfig_MultiClassFullControl extends GridFieldConfig {...} I need GridFieldConfig_MultiClassFullControl to access the GridField its been used for &return differnt components based os some validation
515: [11:36:00] <howardgrigg> man the latest wordpress has a nice interface for adding images/media through tinymce
516: [11:37:00] <DesignerX> howardgrigg: it took them long enough to get one nice thing into that CMS !!
517: [11:39:00] * zippy_ has joined #silverstripe
518: [11:41:00] * willr_ quit (Quit: willr_)
519: [11:43:00] * DimiStripe quit (Quit: Page closed)
520: [11:47:00] <zippy_> Evening
521: [11:48:00] <zippy_> o/
522: [11:48:00] <folibis> hi all!
523: [11:48:00] * folibis has joined #silverstripe
524: [11:50:00] <folibis> I am so surprised but how can I get the real class name of a page in template? All my nested page return SiteTree (
525: [11:51:00] <folibis> i mean $ClassName
526: [11:54:00] * folibis quit (Quit: Page closed)
527: [11:55:00] <zippy_> Should just be $ClassName
528: [11:56:00] * lx-berlin_ has joined #silverstripe
529: [11:57:00] <kinglozzer> Unit testing gurus: how can I test that a method redirects to a certain page?
530: [12:07:00] * UndefinedOffset has joined #silverstripe
531: [12:08:00] * lx-berlin_ has joined #silverstripe
532: [12:08:00] * lx-berlin_ has left #silverstripe
533: [12:15:00] <kinglozzer> Never mind, I was using $this->request instead of $this->response
534: [12:21:00] <kinglozzer> $this->assertEquals(302, $page->response->getStatusCode()); :D
535: [12:26:00] <SphereSilver> How to check if a form has an error message?
536: [12:44:00] * zippy_ quit (Quit: zippy_)
537: [12:46:00] * kerosene has joined #silverstripe
538: [12:47:00] * osterlaus has joined #silverstripe
539: [12:54:00] * helion has joined #silverstripe
540: [12:59:00] * wmk quit (Quit: nice to meet you ;))
541: [13:02:00] * helion quit (Quit: Page closed)
542: [13:06:00] * NobrainerWeb quit (Quit: NobrainerWeb)
543: [13:14:00] * lx-berlin_ quit (Ping timeout: 264 seconds)
544: [13:42:00] * Shrike_Finland quit (Quit: Leaving.)
545: [14:03:00] * willmorgan has joined #silverstripe
546: [14:05:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
547: [14:08:00] * priithansen quit (Read error: Connection reset by peer)
548: [14:08:00] * Zauberfisch_ has joined #silverstripe
549: [14:08:00] * Zauberfisch quit (Read error: Connection reset by peer)
550: [14:08:00] * Zauberfisch_ quit (Excess Flood)
551: [14:10:00] <zfmf> he guys, is there somethink like FilteredDropdownSet for SS 3
552: [14:10:00] * priithansen has joined #silverstripe
553: [14:10:00] * Colin[pi] quit ()
554: [14:11:00] * Nivery has joined #silverstripe
555: [14:12:00] <ocm> Just fetched the widgets module from git
556: [14:12:00] <ocm> is this correct? Fatal error: Access level to Widget::$db must be public (as in class DataObject) in ..\widgets\code\model\Widget.php on line 217
557: [14:14:00] <ocm> though I doubt it is wrong in the source. what ma I doing wrong here?
558: [14:14:00] <ocm> hmm.. build?flush=1 gives fatal errors on all the functions from the widget module, should be public instead of private
559: [14:15:00] <ocm> is 3.1 out yet?
560: [14:15:00] <SphereSilver> Widget::$db is probably a private, it should be public otherwise it can't be accessed by the manifest builder?
561: [14:15:00] <SphereSilver> 3.2?
562: [14:15:00] <priithansen> ocm probably the widget module is changed to work with ss 3.2 which needs these to be private
563: [14:16:00] <ocm> ah :)
564: [14:16:00] <SphereSilver> It's what I use, but I believe it's officially still in beta
565: [14:16:00] <priithansen> my bad 3.1
566: [14:16:00] <priithansen> http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#upgrading
567: [14:16:00] <SphereSilver> 3.1 requires the static $db to be private???
568: [14:16:00] <ocm> I figured it would work by putting the privates to public
569: [14:17:00] * Zauberfisch-idle has joined #silverstripe
570: [14:17:00] <ocm> it is not just for the $db, anything that is a private function in the sidebar dataobject should put to public
571: [14:17:00] <ocm> as soo in the controller
572: [14:18:00] <ocm> ahh, thank you priithansen :) should learn to read more closely what the requirements says :)
573: [14:18:00] <priithansen> as you can see the master branch of the widget module has requirements ss 3.1 too
574: [14:18:00] <priithansen> you could try the 0.1 branch
575: [14:18:00] <DesignerX> hi, I have GridField question : does GridFieldConfig class has access to the $GridField that is using the config ?
576: [14:18:00] <SphereSilver> hmmmm, public static $db works in SS3.1....
577: [14:19:00] <ocm> on the build\
578: [14:19:00] <priithansen> SphereSilver: could be that 3.1 has both ways enabled and 3.2 starts to complaing about it
579: [14:19:00] <ocm> 0.1 branch works perfectly :)
580: [14:20:00] <SphereSilver> sucks, that's gonna require more branches :/
581: [14:20:00] <DesignerX> priithansen: I had problem with widgets when a page has more then one WidgetArea, they all show up on one Tab !
582: [14:20:00] <SphereSilver> Could be... That means I need a new release for 3.1 officially :/
583: [14:21:00] <priithansen> I'm using 3.2/master and since some modules aren't updated yet I have this in my config Deprecation::notification_version('3.1.0-dev');
584: [14:22:00] <priithansen> DesignerX: I too had some weird problems with widgets. Everything develops so fast except the documentation :)
585: [14:23:00] <DesignerX> lol .. its more of a bug .. the way you use a wdigetArea shouldnt have changed that much & I can add widgets but they all dumped on one tab.. I'm working on my own small "Gadgets" modules using GF only .
586: [14:35:00] <priithansen> I think I had some weird problem with then widget needing a controller even if it didn't have any methods
587: [14:36:00] <priithansen> That might have been the problem that the controller thing wasn't mentioned in docs
588: [14:36:00] <DesignerX> priithansen: you still need to extend the WidgetController I think, even if its empty
589: [14:36:00] <DesignerX> same appy for pageTypes
590: [14:37:00] <DesignerX> best learn from existing code .. docs only point to things but not much details
591: [14:37:00] <priithansen> And it kinda worked too as long as I didn't have more than one type of widget or something
592: [14:38:00] <DesignerX> try download a widgts for the blog modules & see how its done ..
593: [14:39:00] <priithansen> Jeah somehow I figured it out but lots of widgets don't have controllerls defined either
594: [14:43:00] * Zauberfisch quit (Excess Flood)
595: [14:43:00] * Zauberfisch has joined #silverstripe
596: [14:44:00] * Zauberfisch quit (Excess Flood)
597: [14:44:00] * Zauberfisch has joined #silverstripe
598: [14:45:00] * Zauberfisch has joined #silverstripe
599: [14:45:00] * UndefinedOffset quit (Read error: Connection reset by peer)
600: [14:45:00] * Zauberfisch quit (Read error: Connection reset by peer)
601: [14:47:00] * Zauberfisch has joined #silverstripe
602: [14:53:00] * UndefinedOffset has joined #silverstripe
603: [14:55:00] * gordon is now known as elgrodo
604: [14:55:00] * gordon has joined #silverstripe
605: [14:56:00] <Nivery> is there something like embargo-expiry available for SS3?
606: [15:04:00] * Zauberfisch_ quit (Excess Flood)
607: [15:04:00] * Zauberfisch_ has joined #silverstripe
608: [15:05:00] * Zauberfisch quit (Read error: Connection reset by peer)
609: [15:05:00] * Zauberfisch_ has joined #silverstripe
610: [15:05:00] * Zauberfisch_ quit (Excess Flood)
611: [15:17:00] <SphereSilver> I think you'll have to rewrite it yourself Nivery
612: [15:18:00] <SphereSilver> What do you need it for?
613: [15:19:00] <Nivery> i was just curious -- i think i can implement similar functionality for events on a site i'm working on without too much trouble
614: [15:26:00] <SphereSilver> It's not a really complicated feature I'd think
615: [15:27:00] <Nivery> true enough
616: [15:27:00] * lx-berlin_ has left #silverstripe
617: [15:27:00] * lx-berlin_ has joined #silverstripe
618: [15:28:00] <priithansen> anyone experienced with html to pdf solutions? wkhtmltopdf seems like a great idea but doesn't support @page @top css stuff that's important for print and since I need it for reports that are pdf only It kind of falls short.
619: [15:29:00] * lx-berlin_ has joined #silverstripe
620: [15:31:00] * lx-berlin_ has left #silverstripe
621: [15:32:00] <SphereSilver> I have once werked with convert-to-pdf
622: [15:33:00] <SphereSilver> but it's always a disaster in my experience
623: [15:33:00] <priithansen> that's an online service?
624: [15:36:00] <zfmf> priithansen: have you tested dompdf?
625: [15:36:00] <zfmf> i'm also looking for a html2pdf soluton i thinki will use dompdf
626: [15:37:00] <priithansen> zfmf: reading about it now but just realised I have highcharts svg charts on my report and those php dom engines most likely will not like them
627: [15:45:00] * SphereSilver quit (Remote host closed the connection)
628: [15:46:00] <willmorgan> I think I might be stepping on uncharted territory at the moment, for opauth
629: [15:46:00] <willmorgan> chillu is there any way I can perform validation without requiring a form?
630: [15:46:00] <chillu> You mean on the model? Not through the Validator class
631: [15:46:00] <willmorgan> i've seen ValidationResult but I'm not sure that's what I need
632: [15:47:00] <willmorgan> and Member->validate doesn't use that
633: [15:47:00] <willmorgan> but yes, for the model
634: [15:47:00] <chillu> DataObject->validate()?
635: [15:47:00] <willmorgan> I've got that, but the Member_Validator is something I want to augment
636: [15:49:00] <willmorgan> and I don't know if I'm being stupid/missing something
637: [15:49:00] <willmorgan> basically I want to take ValidationResult's error list and apply them to a form
638: [15:49:00] <willmorgan> I'll see if I can just write my own validator within a MemberExtension
639: [16:00:00] * DesignerX quit (Ping timeout: 264 seconds)
640: [16:06:00] <priithansen> zfmf: have you seen WeasyPrint
641: [16:11:00] * kinglozzer quit (Remote host closed the connection)
642: [16:24:00] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more?)
643: [16:29:00] * SphereSilver has joined #silverstripe
644: [16:32:00] * waveydave has left #silverstripe
645: [16:53:00] * Nivery quit (Quit: Nivery)
646: [16:57:00] * FrozenFire quit (Ping timeout: 256 seconds)
647: [16:57:00] * lewellyn quit (Ping timeout: 256 seconds)
648: [16:59:00] <SphereSilver> Is it possible to add data-elements to a Requirements::javascript?
649: [16:59:00] * lewellyn has joined #silverstripe
650: [17:01:00] * FrozenFire has joined #silverstripe
651: [17:02:00] <osterlaus> spheresilver, what do you mean by that? are you looking for Requirements::javascriptTemplate?
652: [17:03:00] <SphereSilver> no, I'm looking to have this: <script data-aloha-plugins="common/ui, common/format, common/table, common/list, common/link, common/highlighteditables, common/block, common/undo, common/image, common/contenthandler, common/paste, common/characterpicker, common/commands, extra/flag-icons, common/abbr" src="http://cdn.aloha-editor.org/latest/lib/aloha.js" type="text/javascript">
653: [17:03:00] <SphereSilver> specifically, I want the data-aloha-plugins
654: [17:05:00] <osterlaus> as I see the requirements backend, that is not possible
655: [17:06:00] <SphereSilver> I was afraid you'd say that ;)
656: [17:09:00] <osterlaus> as far as I see, https://github.com/alohaeditor/Aloha-Editor/pull/481 solves your problem
657: [17:10:00] <SphereSilver> Ow hey! They're on github!
658: [17:10:00] <SphereSilver> thanks!
659: [17:10:00] <SphereSilver> I've been searching all over github yesterday for an aloha-repo
660: [17:14:00] * Zauberfisch has joined #silverstripe
661: [17:21:00] <priithansen> is there any simple way to allow cms access without login? or one controller to be precise
662: [17:23:00] <Zauberfisch> which controller?
663: [17:23:00] <Zauberfisch> priithansen version? ss23 ss24 or ss3?
664: [17:23:00] * osterlaus quit (Quit: Leaving.)
665: [17:23:00] <priithansen> latest master
666: [17:23:00] <SphereSilver> What do you mean by "one controller"?
667: [17:24:00] <Zauberfisch> SphereSilver the cms tags are controllers
668: [17:24:00] <priithansen> in modeladmin
669: [17:24:00] <priithansen> I'ts SoelumineGridFieldDetailForm_ItemRequest i think
670: [17:24:00] <SphereSilver> I'm a bit half-half reading along ;) My bad
671: [17:24:00] <priithansen> would like to test some pages with wktohtmlpdf and it would be nice to just show it an url while testing
672: [17:24:00] <SphereSilver> yourdomain.com/ControllerName/FunctionName
673: [17:24:00] <Zauberfisch> *tags => tabs/pages on the left
674: [17:24:00] <SphereSilver> You mean that?
675: [17:25:00] <priithansen> Oh sorry that's the name of my extended version of GridFieldDetailForm_ItemRequest
676: [17:26:00] <priithansen> I have method in there that calls $this->record->renderPreview() and then a method on dataobject renders me html output
677: [17:27:00] <Zauberfisch> priithansen I am not sure
678: [17:27:00] <Zauberfisch> but I think you can work with permissions and canEdit/canView
679: [17:27:00] <Zauberfisch> like make all canView return true
680: [17:28:00] <priithansen> since it's just for testing it could be some simple 'fix' in core file too
681: [17:28:00] <priithansen> I can probably map an url for my dataobject and use the methods directly
682: [17:30:00] <priithansen> hm damit can't route to dataobject I suppose
683: [17:30:00] <Zauberfisch> priithansen leftAndMain has a canView()
684: [17:31:00] <Zauberfisch> so you could just try doing: canView() { return true; }
685: [17:32:00] <priithansen> Zauberfisch: thank You! Needed to comment out //HtmlEditorConfig::set_active(Member::currentUser()->getHtmlEditorConfigForCMS()); too but now it seems to work
686: [17:34:00] <priithansen> And since I'm using composer with beanstalk deployment there is no way the core edit goes live even if I forget :)
687: [17:41:00] * willmorgan quit (Ping timeout: 260 seconds)
688: [18:02:00] * Zauberfisch_ has joined #silverstripe
689: [18:05:00] * Zauberfisch quit (Ping timeout: 256 seconds)
690: [18:26:00] * cloph_away is now known as cloph
691: [19:12:00] * Nivery has joined #silverstripe
692: [19:21:00] * kerosene is now known as columbo
693: [19:32:00] * zfmf has left #silverstripe
694: [19:33:00] * willmorgan has joined #silverstripe
695: [19:40:00] * gelignite has joined #silverstripe
696: [20:02:00] * columbo quit (Quit: my wife, she worries)
697: [20:04:00] * UndefinedOffset quit (Quit: Leaving.)
698: [20:06:00] <SphereSilver> utter silence :'(
699: [20:07:00] <SphereSilver> idd?
700: [20:07:00] <FrozenFire> Idd
701: [20:08:00] <FrozenFire> Yes
702: [20:08:00] <SphereSilver> is that "indeed"?
703: [20:09:00] <SphereSilver> Funny, the Dutch version of idd means "in the deed", which means the same, but I didn't know the short was the same in English :D
704: [20:10:00] * UncleCheese has joined #silverstripe
705: [20:10:00] <SphereSilver> The next person that makes something, whatever it is, and says "easy to implement" is going to get a brick thrown at his/her head
706: [20:10:00] <FrozenFire> That's where idd came from, for me, actually. :P
707: [20:11:00] <SphereSilver> You Dutch?
708: [20:11:00] <FrozenFire> Though not because I'm Dutch. Just picked it up from a friend who is
709: [20:14:00] * UncleCheese quit (Client Quit)
710: [20:15:00] * UncleCheese has joined #silverstripe
711: [20:18:00] <FrozenFire> Is there a way to mutate a DataList to a GroupedList from the template?
712: [20:19:00] <FrozenFire> Not seeing that on DataList
713: [20:19:00] * UncleCheese quit (Client Quit)
714: [20:19:00] <SphereSilver> GroupBy?
715: [20:20:00] <FrozenFire> Or do SS_ListDecorators apply to all lists?
716: [20:22:00] <FrozenFire> Hrmm, and now that I think of it, I want a PaginatedList
717: [20:24:00] <FrozenFire> Bah. No I don't.
718: [20:24:00] * FrozenFire needs caffeine
719: [20:28:00] <FrozenFire> Just had to remember the MultipleOf grouping thing. :P
720: [20:28:00] * wmk has joined #silverstripe
721: [20:45:00] <irogue> good thinking
722: [20:45:00] <irogue> caffeine
723: [20:45:00] * nickmolhoek has joined #silverstripe
724: [20:45:00] <irogue> mmmm
725: [20:45:00] * nickmolhoek quit (Remote host closed the connection)
726: [20:45:00] * SphereSilver switches to beer
727: [20:46:00] * nickmolhoek has joined #silverstripe
728: [20:59:00] * irogue grabs a Red Bull from the fridge
729: [20:59:00] <simon_w> irogue, share?
730: [21:01:00] * vogels has joined #silverstripe
731: [21:01:00] * irogue hands simon_w one
732: [21:01:00] <irogue> hope you don't mind sugarfree!@
733: [21:01:00] <simon_w> Bleugh!
734: [21:03:00] <simon_w> I'll stick with my cheap schweppes stuff :p
735: [21:08:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
736: [21:13:00] * Pyromanik has joined #silverstripe
737: [21:16:00] * vogels quit (Quit: Page closed)
738: [21:22:00] <ss23> Everyone always comes to talk to me while I'm AFK ;_;
739: [21:24:00] <irogue> haha
740: [21:25:00] <irogue> ss23: what you wanna do for accommodationy shiz in wgtn?
741: [21:25:00] <ss23> irogue: what is good? :S
742: [21:26:00] <SphereSilver> O_O
743: [21:26:00] <SphereSilver> No Mountain Dew?
744: [21:27:00] <SphereSilver> Are you guys sure you know how to code?
745: [21:32:00] * Zauberfisch-idle has joined #silverstripe
746: [21:34:00] <ss23> lol
747: [21:34:00] <ss23> I thought Mountain Dew was a different forumula here in NZ anyway?
748: [21:35:00] <irogue> ss23: well last time i just crashed in a hostel cos cheap$$
749: [21:36:00] <SphereSilver> yeah, the US-version of Mountain Dew is the best, any other country-version is ehm.... sucky
750: [21:36:00] <ss23> oh cool
751: [21:36:00] <ss23> (I know the sugar difference)
752: [21:36:00] <irogue> ours has more caffeine than Lift Plus
753: [21:36:00] <ss23> I was thinking caffine, not sugar
754: [21:36:00] <irogue> nope
755: [21:36:00] <ss23> I thought that was us?
756: [21:36:00] <ss23> ^
757: [21:36:00] <irogue> didn't some country's version of it not have caffeine?
758: [21:36:00] <simon_w> ss23, in most things, we use real sugar and that's the only difference
759: [21:37:00] <ss23> Now I want mountain dew :O
760: [21:37:00] <irogue> i think it might be AU's
761: [21:37:00] <simon_w> Australian introduced caffeinated mountain dew last year
762: [21:37:00] <ss23> Though that's probably just dehydration from not injecting enough insulin
763: [21:37:00] <ss23> irogue: cheap hotel or w/e is fine, backpackers is fine too
764: [21:37:00] <simon_w> Canada was still caffeine free last time I checked
765: [21:37:00] <irogue> looks like canada introduce caffeinated last year too
766: [21:37:00] <simon_w> Hey FrozenFire, does your Mountain Dew still suck?
767: [21:38:00] <ss23> I wonder what HFCS in soft drinks tastes like :O
768: [21:38:00] <irogue> so... they just sold non-US mountain dew in the US? :-P
769: [21:38:00] <FrozenFire> Haven't had Mountain Dew in ages
770: [21:38:00] <irogue> heh
771: [21:38:00] <irogue> "PepsiCo in 2009 released a limited run production of Mountain Dew Throwback, a variation consisting of sugar in place of high fructose corn syrup."
772: [21:38:00] <irogue> apart from the sugar vs HFCS thing
773: [21:38:00] <irogue> must be trying to make it the same worldwide
774: [21:38:00] <ss23> lol
775: [21:39:00] <ss23> All the Americans I know are all like "WOW SUGAR IS WAY BETTER", but I'm thinking there's a lot of placebo effect there
776: [21:39:00] <simon_w> ss23, crap
777: [21:41:00] <ss23> Wrong like AU milo tastes wrong?
778: [21:41:00] <ss23> Cause AU milo took me months to get used to
779: [21:41:00] <simon_w> Their coke just tastes wrong
780: [21:41:00] <simon_w> I ended up having Dr Pepper more often, since it's not something that I'm used to
781: [21:41:00] <simon_w> Haven't had AU milo
782: [21:42:00] <simon_w> That's probably the closest comparison
783: [21:42:00] <ss23> It's like more... refined or something, idk
784: [21:42:00] <simon_w> Like how diet drinks taste weird
785: [21:43:00] * Zauberfisch_ quit (Remote host closed the connection)
786: [21:44:00] <ss23> Serious Sam 3 is 80% off :O
787: [21:46:00] <ss23> That for you and larksie?
788: [21:46:00] <simon_w> We got flights to Melbourne for NZD$150 per person
789: [21:46:00] <ss23> nice
790: [21:46:00] <simon_w> Including a bag
791: [21:46:00] <simon_w> Ya
792: [21:46:00] <ss23> Awwww
793: [21:46:00] <ss23> Are you guys getting married, simon_w? :D
794: [21:46:00] <simon_w> And no, you can't come :p
795: [21:46:00] <ss23> XD
796: [21:47:00] <ss23> I didn't even ask!
797: [21:47:00] <ss23> :P
798: [21:47:00] <simon_w> Not that I'm aware of...
799: [21:47:00] <simon_w> Oh, but you were going to!
800: [21:47:00] * UncleCheese has joined #silverstripe
801: [21:47:00] <simon_w> UncleCheese, so, coming to the hackathon?
802: [21:47:00] <ss23> lol
803: [21:49:00] <irogue> [09:38] <ss23> I wonder what HFCS in soft drinks tastes like :O
804: [21:49:00] <irogue> the warehouse sometimes sells boxes of US coke
805: [21:50:00] <irogue> have had it, thought it was delicious at first (way sweeter, and i like sweet)
806: [21:50:00] <irogue> but then after half a can it was just too much
807: [21:50:00] <irogue> like... its sweet, but it's not *sugar* sweet
808: [21:50:00] <ss23> lol
809: [21:50:00] <irogue> its like putting way too much artificial sweetener in something
810: [21:51:00] <irogue> yes, it's sweet, but it's not *sugar*
811: [21:51:00] <ss23> hmm
812: [21:51:00] <ss23> I should try it
813: [21:51:00] <irogue> http://i.imgur.com/Wzksldh.jpg
814: [21:51:00] * wmk quit (Quit: nice to meet you ;))
815: [21:51:00] <ss23> saw that
816: [21:52:00] <ss23> http://simonsites.geek.nz/
817: [21:52:00] <ss23> o.o
818: [21:52:00] <irogue> suddenly wet finger
819: [21:52:00] <irogue> oh fuck that scared me
820: [21:52:00] <ss23> oh Dick.
821: [21:52:00] <FrozenFire> What's the most efficient way of merging the results from a set of equivalent DataLists?
822: [21:52:00] <FrozenFire> I have a Hierarchy of categories for which I need AllItems()
823: [21:52:00] <ss23> ERROR ERROR
824: [21:53:00] <ss23> XD
825: [21:53:00] <irogue> dog snuck up on me and licked
826: [21:54:00] * helion has joined #silverstripe
827: [21:54:00] <simon_w> Oh right, forgot that was a cname
828: [21:55:00] <Pyromanik> don't lie irogue, you loved it.
829: [21:57:00] <helion> The example in the docs only seems to handle one model.
830: [21:57:00] <helion> When a sub-class of ModelAdmin is set to handle multiple models can getExportFields() be set for each one?
831: [22:00:00] <spronk> lul
832: [22:01:00] * SightUnseen has left #silverstripe
833: [22:01:00] * SightUnseen has joined #silverstripe
834: [22:02:00] * UncleCheese quit (Quit: UncleCheese)
835: [22:02:00] <zippy_> Morning
836: [22:02:00] * zippy_ has joined #silverstripe
837: [22:04:00] * willmorgan quit (Read error: Connection reset by peer)
838: [22:06:00] <simon_w> It'll be fixed in the next 24 hours or so
839: [22:06:00] <ss23> mmk
840: [22:06:00] <ss23> simon_w: You've requested a page on a website (simonsites.geek.nz) that is on the CloudFlare network. Unfortunately, it is resolving to an IP address that is creating a conflict within CloudFlare's system.
841: [22:06:00] <ss23> BROKEN STILL
842: [22:06:00] <simon_w> ss23, I know.
843: [22:07:00] * travis-ci has left #silverstripe
844: [22:07:00] * travis-ci has joined #silverstripe
845: [22:07:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#353 (3.1 - a196933 : Ingo Schommer): The build passed.
846: [22:07:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b4f2e35b3266...a196933e05fc
847: [22:07:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6972304
848: [22:14:00] * FrozenFire wonders why Extension doesn't inherit Object
849: [22:14:00] <FrozenFire> Annoying not being able to put config on an extension
850: [22:15:00] <FrozenFire> Well, let me rephrase that. It's annoying not being able to use the same syntax.
851: [22:15:00] <simon_w> Uh, you can?
852: [22:15:00] <FrozenFire> Can't do MyExtension::config()->SomeKey = "foo";
853: [22:16:00] <simon_w> Yeah, you can't use that syntax
854: [22:16:00] <simon_w> Feel free to add the method to Extension :p
855: [22:16:00] <FrozenFire> Nor self::config()->SomeKey in the extension itself
856: [22:19:00] <zippy_> When you unpublished and delete a page in the CMS, it still shows it but struck out with a DELETED label. Is there a way to purge those deleted pages?
857: [22:20:00] <simon_w> or you've got deleted pages turned on
858: [22:20:00] <simon_w> That sounds like it's still on live
859: [22:22:00] <zippy_> It will be whatever the default is, as I haven't turned a "deleted pages" setting on or off
860: [22:22:00] <zippy_> so...
861: [22:22:00] <zippy_> magic happened :)
862: [22:22:00] <zippy_> hmm ok, dev build and went into live mode, and the deleted pages are now gone
863: [22:24:00] * helion quit (Quit: Page closed)
864: [22:25:00] <simon_w> doc.silverstripe.org/configuration
865: [22:25:00] * UncleCheese has joined #silverstripe
866: [22:25:00] <Pyromanik> simon_w: FrozenFire what is this config() business, can I have a link to some docs?
867: [22:25:00] <UncleCheese> simon_w: when is the hackathon? after july? I'll be there
868: [22:26:00] <FrozenFire> Basically it's just a shortcut instead of doing Config::inst()->forClass("Class")->Key
869: [22:26:00] <simon_w> UncleCheese, not dedicated enough! (Yes, there'll be more after July)
870: [22:26:00] <FrozenFire> Pyromanik, 3.1
871: [22:26:00] <Pyromanik> thx
872: [22:26:00] <Pyromanik> FrozenFire: I guessed as much, but want to learn about it
873: [22:27:00] <FrozenFire> One that seriously needs backporting into 3.0 :P
874: [22:27:00] <FrozenFire> Though it'll never happen
875: [22:27:00] <FrozenFire> Since someone will balk about it maybe, possibly, conflicting in existing code.
876: [22:28:00] <UncleCheese> we don't have many, if all, in the US
877: [22:28:00] <UncleCheese> I've always wanted to attend one in person
878: [22:29:00] <simon_w> ss23, CloudFlare just sent me the email saying it's fixed now
879: [22:29:00] <simon_w> Come on, even Pyromanik's made it to one and getting off the mainland is hard :p
880: [22:30:00] <ss23> yay :D
881: [22:31:00] * azureKnight has joined #silverstripe
882: [22:32:00] <simon_w> All it is is http://simon.geek.nz/services/ without the blog stuffs :p
883: [22:33:00] <Pyromanik> it's true. It's almost cheaper to fly to Aussie than it is to get from one island to the other.
884: [22:33:00] * UncleCheese quit (Quit: UncleCheese)
885: [22:34:00] <simon_w> There's logs!
886: [22:34:00] <azureKnight> I'm missing out!
887: [22:34:00] <simon_w> azureKnight, so?
888: [22:34:00] <Pyromanik> I'm still not sure I'll be able to make the next one :(
889: [22:34:00] <simon_w> At least you're already in Chch
890: [22:34:00] <azureKnight> And again, I'm showing up in the middle of a conversation.
891: [22:35:00] * azureKnight thinks it over.
892: [22:36:00] <Pyromanik> simon_w: buy me tickets
893: [22:36:00] <simon_w> Pyromanik, crowd source!
894: [22:36:00] <Pyromanik> "File is not a valid upload" - 24
895: [22:36:00] <Pyromanik> go thirds with irogue and ss23
896: [22:36:00] <Pyromanik> also
897: [22:37:00] <simon_w> too big, wrong extension, can't write to tmp, can't write to assets
898: [22:37:00] <Pyromanik> size
899: [22:37:00] <Pyromanik> oh yeh
900: [22:37:00] <simon_w> Um, possible?
901: [22:37:00] <Pyromanik> will that be in an error log somewhere if that's the case?
902: [22:37:00] <Pyromanik> ta
903: [22:37:00] <Pyromanik> true
904: [22:37:00] <Pyromanik> 2.4*
905: [22:37:00] <Pyromanik> I can't remember what causes, what do?
906: [22:37:00] <Pyromanik> is DOM at fault?
907: [22:37:00] <Pyromanik> I have a sneaky suspicion it is
908: [22:38:00] <Pyromanik> bugger.
909: [22:38:00] <simon_w> Nope
910: [22:38:00] <Pyromanik> Oh well, email's away!
911: [22:42:00] <irogue> ss23: wellywood backpackers is practically next door to SS
912: [22:43:00] <Pyromanik> wholey shit, $35 return
913: [22:43:00] <irogue> and they have a super sexy website
914: [22:43:00] <irogue> http://www.wellywoodbackpackers.co.nz/rooms
915: [22:43:00] * travis-ci has joined #silverstripe
916: [22:43:00] <travis-ci> [travis-ci] silverstripe/sapphire#2146 (3.0 - 4de032b : Ingo Schommer): The build passed.
917: [22:43:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a5d69f2bf5b8...4de032b3640a
918: [22:43:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6972994
919: [22:43:00] * travis-ci has left #silverstripe
920: [22:43:00] <Pyromanik> (as in the 1 flight, on the way back)
921: [22:43:00] <Pyromanik> but $109 up
922: [22:43:00] <Pyromanik> +accom +copious amount of drink
923: [22:44:00] <simon_w> Pyromanik, get ss23 to cover accom, since he's not paying for anything else :p
924: [22:44:00] <Pyromanik> lulz
925: [22:45:00] <Pyromanik> legit, might check bank and book at lunch
926: [22:46:00] * eikonos quit (Ping timeout: 252 seconds)
927: [22:46:00] <irogue> have an SS room at backpackers
928: [22:46:00] <irogue> throw phat party
929: [22:46:00] <irogue> :P
930: [22:47:00] <irogue> http://goo.gl/maps/AZWwG
931: [22:48:00] <irogue> might have to walk the other way or might lose ss23 at mermaid bar...
932: [22:48:00] * irogue estimates gas cost
933: [22:48:00] * eikonos has joined #silverstripe
934: [22:48:00] * eikonos quit (Changing host)
935: [22:48:00] * eikonos has joined #silverstripe
936: [22:49:00] <simon_w> irogue, out the back door, straight down
937: [22:51:00] <irogue> hmm, prob cheaper to fly tbh
938: [22:51:00] <irogue> ooo, back door
939: [22:51:00] <simon_w> I'm fairly sure you can get past Bunnings down there
940: [22:52:00] * azureKnight quit (Quit: Gone.)
941: [22:52:00] <ss23> irogue: :<
942: [22:52:00] <irogue> even for 2 peeps
943: [22:52:00] <ss23> 10:47:07 <@simon_w> Pyromanik, get ss23 to cover accom, since he's not paying for anything else :p
944: [22:52:00] <ss23> ;_;
945: [22:52:00] <ss23> irogue: I can help pay petrol
946: [22:53:00] <simon_w> All alone, in a car, for an 8-ish hour drive
947: [22:53:00] <simon_w> Come on irogue, ss23 wants to road trip with you!
948: [22:53:00] <simon_w> How romantic :p
949: [22:54:00] <Pyromanik> flying is boss
950: [22:54:00] <simon_w> Eh, I'll be bussing
951: [22:54:00] <irogue> ss23: yeah but even dividing the petrol cost in half it's gonna be cheaper to fly. i.e. we should both just fly
952: [22:54:00] <Pyromanik> stay fly down sat, fly back sun, get railed in Electric Avenue sat. night.
953: [22:55:00] <irogue> yup, way cheaper
954: [22:55:00] <irogue> grabaseat has $49 one way $29 the other
955: [22:56:00] * SphereSilver quit (Remote host closed the connection)
956: [22:56:00] <simon_w> irogue, also, backdoor route: http://goo.gl/maps/FffIU no strip clubs that way
957: [22:59:00] <ss23> irogue: But uh, I gotta get to auckland some how?
958: [22:59:00] <ss23> irogue: Can fly if you want
959: [23:01:00] <irogue> bus!
960: [23:01:00] <irogue> i know you love buses
961: [23:02:00] <spronk> guys, is there a config for datefield that separates the date boxes into dropdowns?
962: [23:02:00] <spronk> as opposed to text fields?
963: [23:02:00] * chillu quit (Quit: chillu)
964: [23:03:00] <ss23> irogue: ;_;
965: [23:03:00] <ss23> irogue: so mean
966: [23:04:00] <irogue> or we could just bus THE WHOLE WAY
967: [23:04:00] <irogue> you'd love it
968: [23:05:00] <irogue> and at least one creepy old guy who smells
969: [23:05:00] <irogue> at least one baby
970: [23:05:00] <irogue> there'll be at least one girl from papakura on there playing hip hop on her cellphone the whole way
971: [23:08:00] <ss23> irogue: NOT A CHANCE
972: [23:08:00] <simon_w> spronk, nup
973: [23:08:00] <ss23> fuck me
974: [23:09:00] <irogue> ss23: haha
975: [23:09:00] <irogue> i wasn't srs
976: [23:09:00] <irogue> did that last time
977: [23:09:00] <irogue> was a bad experience
978: [23:09:00] <irogue> cheap as fuck, but omg so bad
979: [23:09:00] <irogue> paid like $25 each way but was on a bus for like 10 hours at a time with all of what i just described
980: [23:09:00] <simon_w> spronk, http://www.sspaste.com/paste/show/518989b654129 is what we use for pocketrent
981: [23:09:00] <spronk> hmm
982: [23:09:00] <spronk> alternate field available somewhere?
983: [23:10:00] <simon_w> two drop downs and a year field
984: [23:11:00] <ss23> irogue: Well if you wanna fly, that's cool, but ya, I gotta get to auckland. Hamilton have cheap flights to Auckland too?
985: [23:12:00] <simon_w> train!
986: [23:12:00] <spronk> simon_w: leet thanks
987: [23:13:00] <ss23> I thought train was being shut down or somehting, and it was expensive or something
988: [23:13:00] <ss23> simon_w: Is there a train? :O
989: [23:14:00] <simon_w> MattSS, backlog :p
990: [23:14:00] <MattSS> nakedbus?
991: [23:14:00] <irogue> ss23: nah flights from hams are like $140 each way
992: [23:14:00] <simon_w> ss23, http://www.kiwirailscenic.co.nz/northern-explorer/
993: [23:14:00] <simon_w> Also, hi MattSS!
994: [23:14:00] <irogue> yeah, bus to aucks and fly from there, way cheaper
995: [23:15:00] <ss23> irogue: blurgh, bus to auckland sux though ;_;
996: [23:15:00] <MattSS> hello everyone, been a while :>
997: [23:17:00] <ss23> train mega expsnive, simon_w ;_;
998: [23:17:00] <ss23> Train not worth paying an extra $200 for :P
999: [23:17:00] <irogue> yeah train is massively inexplicably expensive
1000: [23:17:00] <simon_w> MattSS, how's things?
1001: [23:17:00] <ss23> lol
1002: [23:17:00] <simon_w> Train! :D
1003: [23:17:00] <simon_w> ss23, but is a train!
1004: [23:22:00] <simon_w> spronk, 2.4
1005: [23:22:00] <simon_w> Aww, newzealand.com lost its awesome scrolling thingy
1006: [23:22:00] <spronk> simon_w: pocketrent is 3.0 or 3.1?
1007: [23:23:00] <spronk> ah right
1008: [23:23:00] <simon_w> You may notice we use DateTime and an immutable subclass, not SS_DateTime
1009: [23:25:00] <MattSS> How's things with y'all?
1010: [23:25:00] <MattSS> simon_w: Just the usual :)
1011: [23:28:00] * joelpittet has joined #silverstripe
1012: [23:28:00] <spronk> simon_w: so, for ss3 compat, swap immutabledt with ss_dt, adjust to use getAttributes, and change Field() declaration - anything else you can think of?
1013: [23:31:00] <irogue> ss23: anywhere you need to be on the Monday?
1014: [23:32:00] <simon_w> MattSS, same old.
1015: [23:32:00] <ss23> irogue: Nope ^.^
1016: [23:32:00] * EasyCo has joined #silverstripe
1017: [23:35:00] * willr has joined #silverstripe
1018: [23:37:00] * Jeremy_ is now known as Guest83781
1019: [23:37:00] * Jeremy_ has joined #silverstripe
1020: [23:37:00] * Guest83781 is now known as clodeindustrie
1021: [23:38:00] <clodeindustrie> is it possible to add to my general search, the content of data objects?
1022: [23:38:00] <clodeindustrie> hi there
1023: [23:38:00] <zippy_> o/
1024: [23:38:00] <willr> Howdey.
1025: [23:38:00] * Bollig|DesignCty has joined #silverstripe
1026: [23:39:00] <willr> Yes, take a look at FulltextSearchable
1027: [23:41:00] <irogue> ugh, planes are hard
1028: [23:41:00] <irogue> esp since the wellington airport buses don't run late
1029: [23:42:00] <ss23> irogue: Well how much is it to drive?
1030: [23:42:00] <willr> irogue at least it's not a $80 taxi to town
1031: [23:42:00] <willr> I have a car if you get in late and need a ride somewhere
1032: [23:42:00] <ss23> If it's not much more expensive, can just do that
1033: [23:43:00] <irogue> willr: if you pay $80 you're taking the wrong taxi company :P
1034: [23:43:00] <ss23> idk, I was paying around that in Sydney for some taxis
1035: [23:43:00] <ss23> :<
1036: [23:43:00] * Colin[pi] has joined #silverstripe
1037: [23:43:00] <zippy_> I got a new Form, which I am wanting to add Mollom too. I have the Mollom module and SpamProtection module installed, but when I go to the form and fill it in (not logged in) it won't show the captcha on submit (with nasty words) - it also doesn't complete the FormAction, so it seems to be working (blocking), just not showing the captcha odly enough 
1038: [23:44:00] <irogue> ss23: hard to guesstimate
1039: [23:44:00] <irogue> my flatmate taxis to/from airport a lot
1040: [23:44:00] <clodeindustrie> willr thanks mate
1041: [23:44:00] <irogue> $35 to/from CBD
1042: [23:44:00] <irogue> $60 to/from our place
1043: [23:45:00] <irogue> based on normal driving, costs me $0.19/km for gas
1044: [23:45:00] <irogue> obv long-term driving uses less gas tho
1045: [23:45:00] <willr> or $28 for the bus return and it stops outside our auckland office
1046: [23:45:00] <irogue> yup
1047: [23:45:00] <willr> so handy
1048: [23:45:00] <irogue> bussing is best
1049: [23:45:00] <ss23> I hate busses!
1050: [23:45:00] <irogue> lol
1051: [23:45:00] <irogue> hmm
1052: [23:45:00] <irogue> so
1053: [23:46:00] <ss23> oh
1054: [23:46:00] * SightUnseen1 has joined #silverstripe
1055: [23:46:00] <ss23> How many KM is it?
1056: [23:46:00] <simon_w> 700-odd?
1057: [23:46:00] <willr> irogue what do you use to track? In car computer?
1058: [23:46:00] <ss23> $133
1059: [23:46:00] <ss23> Not too much?
1060: [23:46:00] <ss23> each way, true
1061: [23:47:00] <ss23> I'm not in Auckland!
1062: [23:47:00] <Colin[pi]> how much is petrol per litre in NZ on average?
1063: [23:47:00] <irogue> willr: nah, excel spreadsheet where i log kms travelled on each tank of gas
1064: [23:47:00] <ss23> Colin[pi]: idk, $2.30/l atm or something
1065: [23:47:00] <irogue> average it out
1066: [23:47:00] <Colin[pi]> WTF?
1067: [23:47:00] * SightUnseen1 has left #silverstripe
1068: [23:47:00] <Colin[pi]> damn
1069: [23:47:00] <ss23> You know, if I had a parachute, I could save time by flying back from Wellington and just parachuting above h-town
1070: [23:47:00] <ss23> o/
1071: [23:47:00] <willr> ss23 only since you're in auckland. $2.14 here
1072: [23:47:00] <irogue> ss23 isn't in auckland :P
1073: [23:48:00] <Colin[pi]> jesus 2.08 is still crazy compared to AU
1074: [23:48:00] <ss23> Hamilton
1075: [23:48:00] <irogue> is $2.08 here
1076: [23:48:00] <willr> No comment
1077: [23:48:00] <ss23> lol
1078: [23:48:00] <ss23> XD
1079: [23:48:00] <irogue> 2.05 now
1080: [23:48:00] <irogue> oh no i lie
1081: [23:48:00] <irogue> keeps goin down
1082: [23:49:00] <simon_w> Quality costs more too :p
1083: [23:49:00] <Colin[pi]> and that's expensive for AU
1084: [23:49:00] <irogue> yeah, prob less taxes
1085: [23:49:00] <irogue> my car takes 95 though so 2.13
1086: [23:49:00] <Colin[pi]> lol the price never changes in Canberra now
1087: [23:49:00] <Colin[pi]> $1.54 here
1088: [23:49:00] <Colin[pi]> which is 1.85 NZD
1089: [23:50:00] <Colin[pi]> in Sydney they pay about $1.57 NZD/l
1090: [23:50:00] * UncleCheese has joined #silverstripe
1091: [23:51:00] <irogue> which is what funds roading
1092: [23:51:00] <irogue> http://z.co.nz/motorists/fuel-pricing/
1093: [23:51:00] <irogue> 61c per litre fuel tax
1094: [23:52:00] <Pyromanik> ss23: grabaseat.co.nz has cheap hlz -> akl atm iirc
1095: [23:53:00] <irogue> Pyromanik: now yes but not at those dates
1096: [23:53:00] <simon_w> Hehe, petrol tax
1097: [23:53:00] <Colin[pi]> tax here is capped at 38.15c/L + GST
1098: [23:53:00] <irogue> Colin[pi]: yeah, so either your roading is getting less money or you're just paying for it elsewhere (income tax etc)
1099: [23:53:00] <ss23> irogue: What date is it?
1100: [23:53:00] <ss23> 25th or something?
1101: [23:53:00] <irogue> yeah
1102: [23:54:00] <ss23> $69
1103: [23:54:00] <ss23> $96 on thursday + friday
1104: [23:54:00] <Colin[pi]> lol have you used our roads? they're shit lol
1105: [23:54:00] <ss23> uh
1106: [23:54:00] <irogue> what about the return trip?
1107: [23:55:00] <ss23> ouch
1108: [23:55:00] <ss23> $99
1109: [23:55:00] <ss23> :,
1110: [23:55:00] <irogue> $84 total round-trip for me :P
1111: [23:55:00] <ss23> ;___;
1112: [23:55:00] <irogue> get a better city, bro
1113: [23:55:00] <irogue> ;)
1114: [23:55:00] <ss23> lol
1115: [23:55:00] <spronk> simon_w: for ss3, should I be using strings or SS_DateTimes for that nzdatetime field?
1116: [23:55:00] <ss23> New plan
1117: [23:56:00] <ss23> ^.^
1118: [23:56:00] <ss23> Hackfest in Hamilton
1119: [23:56:00] <simon_w> spronk, probably strings
1120: [23:56:00] <ss23> irogue: $10 each way bus, pretty cheap
1121: [23:56:00] <ss23> but hate busses, urgh
1122: [23:57:00] <Pyromanik> haha, suckz 2 b u
1123: [23:57:00] <Pyromanik> irogue: ss23 lucky akl is like an hours drive from hlz
1124: [23:57:00] <ss23> Pyromanik: Let me just go get my car
1125: [23:57:00] <ss23> Oh wait.
1126: [23:58:00] <ss23> I used to have one. Then when I was in AU my brother totalled it.
1127: [23:58:00] <Colin[pi]> what happened?
1128: [23:58:00] <ss23> idk
1129: [23:58:00] <Colin[pi]> like most australians
1130: [23:58:00] <ss23> He was probably drunk or something
1131: [23:58:00] <Colin[pi]> no car ss23, sucks
1132: [23:58:00] <ss23> Hardly ever need one *shrug*
1133: [23:58:00] <Colin[pi]> I wouldn't be able to live in Canberra without a car, our buses suck nuts
1134: [23:59:00] <ss23> Only reason he came up was cause he got expelled from school for smoking pot
1135: [23:59:00] <ss23> He ended up having to leave Hamilton because he started doing meth or something
1136: [23:59:00] <Colin[pi]> oh wait, he's NZ
1137: [23:59:00] <ss23> I wasn't here when it all happened so idk
1138: [23:59:00] <ss23> yeah
1139: [23:59:00] <irogue> worst i did was crash my car into a police car
1140: [23:59:00] <ss23> :P
1141: [23:59:00] <Colin[pi]> worst I did was crash my car into my own carport pole LOL
1142: [23:59:00] <Colin[pi]> jesus dude that sucks

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