#silverstripe IRC Log

IRC log for 23 June 2013

All timestamps are in UTC.

1: [00:00:32] * RojoD quit (Ping timeout: 256 seconds)
2: [00:17:06] <supernovah> How can I make my page empty (as in 404) instead of an empty page with the title of it's sitetree name
3: [00:17:17] <supernovah> I just want it as a CMS structure basically
4: [00:32:30] <Nightjar> what
5: [00:32:43] <Nightjar> delete it.
6: [00:33:17] <supernovah> But I need it for it's data structure to allow our admin to modify content
7: [00:33:25] <supernovah> on other parts, it's like a config holder
8: [00:46:17] * willr_ has joined #silverstripe
9: [00:46:17] * willr_ quit (Changing host)
10: [00:46:17] * willr_ has joined #silverstripe
11: [00:49:10] * pex quit (Quit: pex)
12: [01:14:44] * willr_ quit (Quit: willr_)
13: [01:17:07] <Nightjar> supernovah: so you want the class to be there, but not able to be created in the CMS?
14: [01:17:39] <supernovah> No I want it in the CMS for the tab I added called config, but I don't want it to create the page it's accesible at
15: [01:17:52] <Nightjar> public function canCreate(){if($this->ClassName)=='AbstractBaseClass') return false; return parent::canCreate();}
16: [01:17:54] <supernovah> which comes up as /promotion-controls for me
17: [01:18:19] <Nightjar> yeah, I'm really not following here.
18: [01:18:26] <supernovah> As in I don't want it to have a URL
19: [01:18:32] <supernovah> I'm just utilising it as a data holding mechanism
20: [01:18:35] <Nightjar> don't make one?
21: [01:18:41] <supernovah> It automatically did
22: [01:18:50] <Nightjar> delete it
23: [01:19:18] <supernovah> It fills it in automatically in JS if I try lol
24: [01:19:31] <Nightjar> it fills it in with js
25: [01:19:34] <Nightjar> ...
26: [01:19:35] <Nightjar> what
27: [01:19:46] <supernovah> javascript on the cms fills it back in after I delete it
28: [01:19:58] <Nightjar> that
29: [01:19:59] <Nightjar> sounds
30: [01:20:01] <Nightjar> terrible
31: [01:20:09] <supernovah> even if you access the class name of the page controller as a url it redirects you to the working one
32: [01:20:36] <Nightjar> well yeah, it's supposed to. Every controller does that
33: [01:21:06] <Nightjar> define a route that catches it first and 404s instead
34: [01:22:11] <supernovah> I just deleted it from the sitetree, now it redirects home
35: [01:22:31] <supernovah> Is there a website about the routes on ss.org
36: [01:24:04] <Nightjar> check the class for canCreate, canDelete
37: [01:24:14] <Nightjar> and defaultRecords
38: [01:24:15] <Nightjar> iirc
39: [01:24:28] <supernovah> It's not about creating/deleting the page, it's about preventing a template being thrown up
40: [01:24:50] <supernovah> deleting the url from the sitetree means it doesn't have an access route so it redirects home
41: [01:46:25] * funkygibbon has joined #silverstripe
42: [02:07:59] <Nightjar> it should 404
43: [02:32:21] <supernovah> Someone on this site I'm working on, has a form that operates on the FormAction register, his register function accepts ($data, Form $form), immediately he goes $this->addMember($form), in addMember he accesses the form data as $member = new Member();$form->saveInto($member);
44: [02:32:36] <supernovah> Is that normal
45: [02:33:06] <supernovah> Does it put the posted data into the Member Object?
46: [02:33:37] <supernovah> sorry, the instance, $member
47: [02:50:02] <Nightjar> save into saves data from a form, yes.
48: [02:50:10] <Nightjar> into a dataobject
49: [02:50:38] <Nightjar> a bit weird to needlessly separate it into it's own function though.
50: [03:38:29] <supernovah> On my CMS page for a dataObject, I have a form come up to edit part of a managed dataObject (through dataObjectManager I assume) and I want to have a field have an ajax dropdown where the entered value calls a function on the dataObject class and returns a value to it
51: [03:38:37] <supernovah> IE< they enter and ID and I return the string of the name
52: [03:38:41] <supernovah> Is that a quick thing to do
53: [03:51:33] * cloph has joined #silverstripe
54: [03:51:34] * cloph_away quit (Ping timeout: 240 seconds)
55: [03:58:31] * RojoD has joined #silverstripe
56: [03:58:31] * RojoD quit (Changing host)
57: [03:58:31] * RojoD has joined #silverstripe
58: [04:02:49] * RojoD quit (Ping timeout: 248 seconds)
59: [04:17:21] * travis-ci has joined #silverstripe
60: [04:17:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#395 (3.1 - e72f976 : Will Rossiter): The build passed.
61: [04:17:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e908613c471b...e72f9762b048
62: [04:17:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8352457
63: [04:17:21] * travis-ci has left #silverstripe
64: [04:27:08] * abitran_ quit (Ping timeout: 260 seconds)
65: [04:28:55] * abitran has joined #silverstripe
66: [04:32:48] <supernovah> Lol a build for a url change for help lol
67: [04:37:41] * mobiusnz quit (Quit: Leaving.)
68: [04:43:46] <simon_w|air> That's how continuos integration works
69: [04:44:09] <ss23> simon_w|air: Welcome back ^.^
70: [04:45:06] <simon_w|air> Blegh, bring me caffeine
71: [04:47:33] <ss23> lol
72: [04:47:38] <ss23> simon_w|air: I don't think you're close to me!
73: [04:47:43] <ss23> I'm going out for lunch/breakfast/dinner
74: [04:48:56] <simon_w|air> It's Wellington. Everything's close.
75: [04:48:58] <simon_w|air> Just catch a 3.
76: [04:49:59] <ss23> sif sif
77: [04:50:59] <simon_w|air> Only takes like half an hour
78: [04:52:20] <ss23> dude
79: [04:52:23] <ss23> I'll die in that time!
80: [04:53:48] <simon_w|air> pfft
81: [04:53:53] <simon_w|air> I'll fall asleep though
82: [05:07:54] * mobiusnz has joined #silverstripe
83: [05:18:18] <supernovah> If I'm adding ajax to a formField, is it entirely up to my JS to do that or can SS help
84: [05:19:05] <simon_w|air> It's entirely up to you
85: [05:19:22] <supernovah> swt as
86: [05:20:58] <supernovah> Wait I meant in the CMS
87: [05:21:08] <ss23> simon_w|air: McDonalds for dinner/lunch/breakfast :D
88: [05:43:28] <supernovah> How do you add a field with just an html block like you would a field
89: [05:43:42] <supernovah> LiteralField oic
90: [06:31:14] * mobiusnz quit (Ping timeout: 256 seconds)
91: [06:49:02] <simon_w|air> ss23, where's my caffeine?
92: [06:54:48] <ss23> simon_w|air: sitting on my desk in the form of coke
93: [07:08:52] * silentreaper has joined #silverstripe
94: [07:09:29] * mobiusnz has joined #silverstripe
95: [07:13:26] * willr_ has joined #silverstripe
96: [07:13:26] * willr_ quit (Changing host)
97: [07:13:26] * willr_ has joined #silverstripe
98: [07:13:58] * mobiusnz quit (Ping timeout: 255 seconds)
99: [07:20:21] <supernovah> How can I get the ID of a field after dataObjectManager has messed around with its CMSFields
100: [07:20:59] <supernovah> I want to add a LiteralField which contains some JS, so I need the ID
101: [07:21:24] <supernovah> But I have to add it before dataObjectManager gets ahold of it
102: [07:22:19] <simon_w|air> I would start by not using DataObjectManager
103: [07:22:33] <supernovah> -_- it's already integrated into the site
104: [07:22:46] <supernovah> It's used to display lists from the DB in the cms pages
105: [07:23:17] <simon_w|air> Yes, I know it's a horrible "replacement" for ComplexTableField
106: [07:23:32] <supernovah> What does it do
107: [07:23:39] <supernovah> There isn't any documentation for it that I could find
108: [07:23:53] <simon_w|air> What does what do?
109: [07:23:59] <supernovah> DOM
110: [07:24:05] <simon_w|air> Break :p
111: [07:24:30] <supernovah> Can complextableField list data entries in a CMS page and provide edit forms for them
112: [07:24:38] <simon_w|air> Yes
113: [07:24:51] <simon_w|air> It's like you've never used 2.4 :p
114: [07:25:05] <supernovah> I really haven't lol
115: [07:27:11] <supernovah> Oh it's because the site uses sortable
116: [07:27:12] <Nightjar> supernovah: it does not much more than re-decorate ComplexTableField
117: [07:27:18] <supernovah> apparently it requires it
118: [07:27:25] <Nightjar> nup
119: [07:27:28] <Nightjar> DOM does it's own thing
120: [07:27:35] <Nightjar> orderable extension is a CTF thing
121: [07:27:45] <supernovah> Oh right
122: [07:27:52] <supernovah> I got confused between names because of "SortableDataObject::"
123: [07:29:38] <Nightjar> yeah that's just some BS wrapper that DOM has that you can use to wrap objects and add a sortable column that DOM will use (but pretty much nothing else)
124: [07:33:29] <supernovah> Lol so basically the exactly same functionality exists
125: [07:33:33] <supernovah> Except not as pretty
126: [07:34:23] <simon_w|air> Well, its look fits better in the CMS
127: [07:41:02] <supernovah> Can you have it display more columns than just ID
128: [07:41:15] <Nightjar> yeah, same deal as CTF
129: [07:41:19] <Nightjar> everything the same.
130: [07:41:32] <Nightjar> because it IS a CTF (just a subclass)
131: [07:42:33] <supernovah> Actually now I realise I don't know what fields it was displaying anyway
132: [07:45:20] <supernovah> Sweet got it, much cleaner and now the damned API works too
133: [07:45:26] <supernovah> Not bastardly rewritten over lol
134: [08:07:58] * supernovah quit (Read error: Connection reset by peer)
135: [08:09:56] * mobiusnz has joined #silverstripe
136: [08:13:29] * supernovah has joined #silverstripe
137: [08:14:16] * mobiusnz quit (Ping timeout: 255 seconds)
138: [08:35:35] * priithansen has joined #silverstripe
139: [08:39:24] * oleze has joined #silverstripe
140: [08:40:03] * oleze quit (Client Quit)
141: [08:41:28] <ss23> simon_w|air: Wanna bring my dessert? Just catch the number 3!
142: [08:41:41] <ss23> s/my/me/
143: [08:44:11] <simon_w|air> Can't, watching P&P
144: [08:44:35] <ss23> P&P?
145: [08:44:42] <simon_w|air> Pride and Prejudice
146: [08:44:53] <ss23> lol
147: [08:44:56] <ss23> Is Larskie still there?
148: [08:44:57] <ss23> :P
149: [08:45:03] <simon_w|air> Nope
150: [08:45:05] <ss23> Thoguh my flatmates were watching it the other day...
151: [08:45:18] <ss23> Can't say love stories do it for me.
152: [08:52:53] * priithansen quit (Quit: priithansen)
153: [08:56:18] <supernovah> Is there a way in SQL to return the 4 nearest results by field value, compared to a value
154: [08:56:20] <supernovah> say +- 5
155: [08:57:48] <simon_w|air> WHERE ABS("Field" - value) <= 5 ORDER BY ABS("Field" - value) ASC
156: [08:59:14] <simon_w|air> LIMIT 4
157: [09:02:16] <Nightjar> ss23 Can't say love stories do it for me.
158: [09:02:29] <Nightjar> they're an empathetical thing.
159: [09:02:53] <simon_w|air> You two are missing the point. Colin Firth.
160: [09:02:55] <Nightjar> something women are far more susceptible to, so as you're a bloke, I can't say I blame you.
161: [09:03:24] <Nightjar> Colin Firth, the 'older man' most women dream about?
162: [09:03:45] <simon_w|air> He's not that old in this :p
163: [09:03:56] <ss23> Oh please, I would rather watch Sherlock and enjoy benedict cumberbatch, simon_w|air
164: [09:06:32] * silentreaper has left #silverstripe
165: [09:10:27] * mobiusnz has joined #silverstripe
166: [09:11:15] <Nightjar> so true
167: [09:11:39] <Nightjar> hell, even martin freeman
168: [09:13:32] * Shrike_Finland quit (Ping timeout: 268 seconds)
169: [09:14:45] * mobiusnz quit (Ping timeout: 256 seconds)
170: [09:20:20] * priithansen has joined #silverstripe
171: [09:20:41] * priithansen quit (Client Quit)
172: [09:35:47] * NobrainerWeb has joined #silverstripe
173: [09:35:50] * NobrainerWeb quit (Client Quit)
174: [09:35:57] * Shrike_Finland has joined #silverstripe
175: [09:36:07] * NobrainerWeb has joined #silverstripe
176: [09:36:15] <NobrainerWeb> Hi
177: [09:37:13] <NobrainerWeb> Is there a date for the next release of SilverStripe? When will 3.1 go out of beta?
178: [09:38:48] <simon_w|air> Nope, soon.
179: [09:38:57] <ss23> I wanna get my change put in, since it's not an API break
180: [09:39:01] <ss23> But I doubt ingo will allow it
181: [09:39:48] <simon_w|air> What change?
182: [09:40:06] <supernovah> Lol I just spent forever making a neat Ajax thingy that tells you the name of a person who's ID you're editing in a ComplexTableField and returns the nearest few closest members by ID. Little did I know you can just use an inner join and Member.FirstName etc
183: [09:40:11] <supernovah> *cries a little*
184: [09:40:33] <ss23> Removing the default old page -> new page redirector from the ModelAsController / CoreController to a single class that extends all of them, simon_w|air
185: [09:40:51] <simon_w|air> Ah, that
186: [09:41:08] <ss23> simon_w|air: Clients we need it for are on 3.1 :<
187: [09:47:16] * willr_ quit (Quit: willr_)
188: [09:50:53] * NobrainerWeb quit (Quit: NobrainerWeb)
189: [10:10:58] * mobiusnz has joined #silverstripe
190: [10:15:19] * mobiusnz quit (Ping timeout: 246 seconds)
191: [10:25:30] * micmania1 has joined #silverstripe
192: [10:40:05] * RojoD has joined #silverstripe
193: [10:40:05] * RojoD quit (Changing host)
194: [10:40:05] * RojoD has joined #silverstripe
195: [10:49:07] <supernovah> Is there a quick and easy way to implement a search on a CMS page which lists entries
196: [10:50:19] <ss23> isn't that part of modeladmin/gridfield?
197: [10:51:28] <supernovah> apparently
198: [10:56:35] <supernovah> But I have to use modelAdmin then?
199: [10:56:56] <supernovah> I am already using this ComplexTableField
200: [10:59:00] <supernovah> I have a searchable fields enabled, but no search shows up on the CMS
201: [11:07:31] <supernovah> Should I just use modelAdmin and scrap the tablelist stuff which already exists?
202: [11:11:30] * mobiusnz has joined #silverstripe
203: [11:14:44] <Nightjar> supernovah: 2.4 or 3.0?
204: [11:14:52] <supernovah> 2.4
205: [11:14:55] <Nightjar> if 2.4, itemsetfield
206: [11:15:04] <supernovah> Okay
207: [11:15:07] <Nightjar> also, gridfield isn't a think in 2.4
208: [11:15:14] <Nightjar> thing*
209: [11:15:47] <supernovah> well I still need to make a list in the cms searchable
210: [11:16:04] * mobiusnz quit (Ping timeout: 255 seconds)
211: [11:26:53] <supernovah> Without altering member.php in core, how can I change its searchable_fields
212: [11:26:58] <supernovah> to a custom array
213: [11:27:10] <Nightjar> decorate
214: [11:27:12] <Nightjar> maybe
215: [11:27:31] <supernovah> The site uses this weird package called memberprofiles or something like it
216: [11:27:34] <Nightjar> it's time to decorate your member!
217: [11:27:45] <Nightjar> what a great package!
218: [11:27:51] <supernovah> Is it
219: [11:59:47] <Nightjar> yeah, it's a great modular package that basically comes in three parts
220: [12:00:01] <Nightjar> the longest part is the member
221: [12:00:02] <Nightjar> list
222: [12:01:42] <Nightjar> but nestled in tightly underneath it is a great tight system of email notifications and registrations
223: [12:02:42] <Nightjar> fantastic little subsystems that really help the package deliver it's payload.
224: [12:03:14] <Nightjar> using the power of the decorated member.
225: [12:04:16] * Nightjar has left #silverstripe
226: [12:10:01] * pex has joined #silverstripe
227: [12:11:57] * mobiusnz has joined #silverstripe
228: [12:16:04] * mobiusnz quit (Ping timeout: 246 seconds)
229: [12:18:37] * gelignite has joined #silverstripe
230: [12:24:17] <gordon__> still fixing a clusterf**k - now got an amazon micro instance running fastr than the most expensive setup you can buy from Amazon :)
231: [12:24:40] <gordon__> doing 1000 queries per page and also a DNS lookup to the database wasn't helping...
232: [12:53:09] * Bollig|DesignCty has joined #silverstripe
233: [13:12:26] * mobiusnz has joined #silverstripe
234: [13:17:24] * mobiusnz quit (Ping timeout: 264 seconds)
235: [13:40:05] <supernovah> In a module, what script is run first
236: [13:40:09] <supernovah> in a module folder
237: [13:42:11] <supernovah> Ugh I don't know whether to go further down this rabbit hole that is 2.4 or just pursue 3.1
238: [13:42:23] <supernovah> or 3.x
239: [14:02:21] * pex quit (Quit: pex)
240: [14:12:59] * mobiusnz has joined #silverstripe
241: [14:17:36] * mobiusnz quit (Ping timeout: 256 seconds)
242: [14:41:54] * RojoD quit (Read error: Connection reset by peer)
243: [14:49:40] * SphereSilverNL has joined #silverstripe
244: [14:50:00] <SphereSilverNL> any git geniusses here?
245: [14:50:21] <SphereSilverNL> Because ehm.... I guess this will bug out: https://github.com/silverstripe/silverstripe-framework/pull/2105/commits
246: [14:50:34] <SphereSilverNL> I just now notice I pulled upstream into the wrong branch
247: [15:13:26] * mobiusnz has joined #silverstripe
248: [15:15:44] <SphereSilverNL> How long does it take to run 201 tests. Can't be that hard, right?
249: [15:15:47] <SphereSilverNL> right?
250: [15:17:43] * mobiusnz quit (Ping timeout: 255 seconds)
251: [16:13:12] * gordon__ quit (Ping timeout: 264 seconds)
252: [16:13:28] * gordon__ has joined #silverstripe
253: [16:13:56] * mobiusnz has joined #silverstripe
254: [16:18:19] * mobiusnz quit (Ping timeout: 256 seconds)
255: [16:34:42] * seventeenfou has joined #silverstripe
256: [16:50:59] * Shrike_Finland1 has joined #silverstripe
257: [16:51:00] * Shrike_Finland quit (Read error: Connection reset by peer)
258: [17:14:38] * mobiusnz has joined #silverstripe
259: [17:19:29] * mobiusnz quit (Ping timeout: 268 seconds)
260: [17:44:18] * SphereSilverNL quit (Ping timeout: 276 seconds)
261: [18:03:39] * gelignite quit (Ping timeout: 246 seconds)
262: [18:14:56] * mobiusnz has joined #silverstripe
263: [18:19:04] * mobiusnz quit (Ping timeout: 240 seconds)
264: [18:26:14] * ARNHOE has joined #silverstripe
265: [18:37:19] * funkygibbon quit (Ping timeout: 245 seconds)
266: [18:43:06] * funkygibbon has joined #silverstripe
267: [18:48:34] * funkygibbon quit (Ping timeout: 245 seconds)
268: [19:13:24] * mobiusnz has joined #silverstripe
269: [19:15:18] * mobiusnz1 has joined #silverstripe
270: [19:15:18] * mobiusnz quit (Read error: Connection reset by peer)
271: [19:31:38] * SightUnseen has joined #silverstripe
272: [19:43:02] * seventeenfou quit (Ping timeout: 250 seconds)
273: [20:06:11] * mobiusnz1 quit (Quit: Leaving.)
274: [20:09:04] * ARNHOE quit (Remote host closed the connection)
275: [20:16:42] * gordon__ quit (Ping timeout: 248 seconds)
276: [20:17:23] * gordon__ has joined #silverstripe
277: [20:19:53] * mobiusnz has joined #silverstripe
278: [20:26:56] * gelignite has joined #silverstripe
279: [20:27:54] * oleze has joined #silverstripe
280: [20:28:45] * oleze quit (Client Quit)
281: [20:39:37] * DigNZ has joined #silverstripe
282: [20:39:42] * DigNZ quit (Remote host closed the connection)
283: [20:39:57] * DigNZ has joined #silverstripe
284: [20:40:20] * funkygibbon has joined #silverstripe
285: [20:45:16] * SightUnseen has left #silverstripe
286: [20:47:03] * nickmolhoek has joined #silverstripe
287: [20:47:04] * nickmolhoek quit (Remote host closed the connection)
288: [20:47:21] * nickmolhoek has joined #silverstripe
289: [20:59:01] * gumble has joined #silverstripe
290: [20:59:41] <gumble> can I just redirect users to /Security/login for them to login?
291: [20:59:49] <irogue> yep
292: [21:00:25] <irogue> and put a ?BackURL= on the end to tell the login form where to send them back to after login
293: [21:00:50] <gumble> ok thanks irogue
294: [21:03:10] <gumble> would it redirect automatically if the user is already logged in?
295: [21:06:09] <simon_w> Nope
296: [21:08:26] * MrJeremy has joined #silverstripe
297: [21:14:48] <supernovah> Whenever I have used a form, its post data is sent to /urlsegment/action, and that results in page-not-found unless I put it in allowed_actions
298: [21:14:56] <supernovah> but the topic for controllers says not to do that
299: [21:17:44] * zfmf1 has joined #silverstripe
300: [21:19:51] <simon_w> No, it says you need to put that in $allowed_actions
301: [21:19:53] <simon_w> "Methods returning forms also count as actions which need to be defined"
302: [21:20:14] <supernovah> "Form action methods (targets of FormAction) should NOT be included in $allowed_actions, they're handled separately through the form routing (see the "forms" topic)"
303: [21:20:55] <simon_w> Yes, that's not the /urlsegment/action method
304: [21:21:01] <simon_w> That's the doSave or whatever
305: [21:21:37] <supernovah> I assume it meant what I wrote before
306: [21:22:08] <simon_w> Is it the target of a FormAction?
307: [21:22:57] <supernovah> Say my forms action is addForm, and the controller is page1, the form submits to /page1/addForm and the handling method in page1_controller is addForm
308: [21:23:22] <simon_w> It shouldn't be
309: [21:23:30] <simon_w> It should be /page1/FormName
310: [21:23:41] <supernovah> that's what I thought according to these docs
311: [21:25:00] <supernovah> Oh haha, may help that I have setFormAction customising it
312: [21:31:07] <irogue> ugh
313: [21:31:16] <irogue> why the heck did i agree to doing some c# dev?
314: [21:31:40] <irogue> i mean, i have no problem with c#, but when the entire documentation for the COM Object i have to use is in C++...
315: [21:36:33] <supernovah> Why does the API online have no page/page_controller page
316: [21:37:01] <simon_w> because that's part of the installer, and is site specific
317: [21:37:41] <supernovah> So how do I know what properties/methods/classes that page_controller inherits/implements and extends
318: [21:37:55] <simon_w> You look at SiteTree and ContentController
319: [21:39:10] * micmania1 quit (Ping timeout: 250 seconds)
320: [21:39:19] <supernovah> oic thanks
321: [21:44:43] * gumble quit (Ping timeout: 256 seconds)
322: [21:46:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
323: [21:48:31] * travis-ci has joined #silverstripe
324: [21:48:31] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#398 (3.1 - b0e359d : Ingo Schommer): The build passed.
325: [21:48:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e72f9762b048...b0e359ddb71e
326: [21:48:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8370113
327: [21:48:31] * travis-ci has left #silverstripe
328: [21:51:31] * ARNHOE has joined #silverstripe
329: [22:00:05] * willr_ has joined #silverstripe
330: [22:01:12] <supernovah> bye for a while
331: [22:01:14] <supernovah> week of exams :D
332: [22:02:09] <supernovah> thanks for all the help ss23, simow_w, simo_w|air etc, and the ~6 or so who aren't here atm
333: [22:04:12] * funkygibbon quit (Ping timeout: 264 seconds)
334: [22:20:40] * spronk has joined #silverstripe
335: [22:21:10] * MrJeremy quit (Ping timeout: 255 seconds)
336: [22:22:15] * MrJeremy has joined #silverstripe
337: [22:24:05] * ARNHOE quit (Remote host closed the connection)
338: [22:25:17] * Pyromanik has joined #silverstripe
339: [22:27:13] <spronk> rawr
340: [22:30:03] <simon_w> Oh yay, another place where composer fails. Handling an update with local file changes.
341: [22:30:40] <spronk> ugh
342: [22:31:45] <simon_w> With git, it offers "Discard changes [y,n,v,s,?]?"
343: [22:32:43] <simon_w> And heaven forbid you pick s (stash) when your changes conflict with upstream
344: [22:45:26] * ryanwachtl has joined #silverstripe
345: [22:45:40] * Jayden90 has joined #silverstripe
346: [22:47:57] <ryanwachtl> is it possible to register a shortcode callback using the yaml config?
347: [22:47:57] <spronk> hmm
348: [22:48:14] <spronk> is there any shortcut way to filter() based on a parentID somewhere in a hierarchy?>
349: [22:48:46] <spronk> i.e. filter( { this page's parent, or grandparent, or greatgrandparent id is x })
350: [22:49:03] <simon_w> spronk, nope
351: [22:49:28] <spronk> :(
352: [22:49:31] <simon_w> ryanwachtl, nope
353: [22:49:44] <ryanwachtl> okay, thanks @simon_w
354: [22:53:09] <simon_w> spronk, does MySQL even support recursive clauses yet?
355: [22:53:39] <spronk> probably not
356: [22:53:59] <spronk> there are ways around that sorta thing though
357: [22:54:08] * ryanwachtl quit (Ping timeout: 250 seconds)
358: [22:54:10] <spronk> like storing a hierarchy key col
359: [23:23:34] <unsignedint> yep, see: http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/
360: [23:23:54] <unsignedint> basically, MySQL's lack of support for CTE's which enable recursion is a pain the the ass
361: [23:25:33] <ss23> holy shit Pyromanik
362: [23:25:42] <ss23> Pyromanik: You know that float bugs in Chrome? I'M GETTING IT
363: [23:25:45] <ss23> YOU TELL ME ABOUT IT
364: [23:25:49] <ss23> AND NOW ALL OF A SUDDEN I'M GETTING IT
365: [23:25:50] <ss23> DAMMIT
366: [23:26:02] <ss23> I'm like "wtf this is clear..." remove it, add it, and it works fine...
367: [23:26:03] <ss23> idek
368: [23:26:04] <ss23> WHY CHROME WHY
369: [23:26:15] <ss23> Must be that they're still on Webkit and webkit sux
370: [23:26:17] <ss23> I wait for Blink <3
371: [23:26:41] * travis-ci has joined #silverstripe
372: [23:26:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#399 (3.0 - d8b106e : Craig Weber): The build passed.
373: [23:26:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d1756a5a58f4...d8b106e6ee3b
374: [23:26:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/8371884
375: [23:26:42] * travis-ci has left #silverstripe
376: [23:26:45] <simon_w> Yet Safari doesn't have this problem at all :p
377: [23:26:53] <unsignedint> ss23: that happened to me too! except it was with a percentage width that wasnt taking up 100%, I toggled the 'display' attribute in the inspector and it made it work properly
378: [23:27:06] <ss23> simon_w: Conspiracy by the Bad Apple
379: [23:27:49] <simon_w> ss23, yeah, they made a bug in an open source project that only happens in Chrome. Such a conspiracy!
380: [23:27:55] <ss23> haha
381: [23:29:51] * zfmf1 has left #silverstripe
382: [23:29:56] <simon_w> Hmm, I wonder if I can use WebKit nightlies again yet
383: [23:31:04] <spronk> hrmm
384: [23:33:28] <simon_w> Nope, still can't use the nightlies

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