#silverstripe IRC Log

IRC log for 16 October 2013

All timestamps are in UTC.

1: [00:00:51] <BPower> What do you mean by "balanced"?
2: [00:01:04] <BPower> Neeeeevermind
3: [00:01:09] <BPower> Found a missing end_if
4: [00:01:14] <BPower> simon_w: Thanks!
5: [00:01:17] <simon_w> That :p
6: [00:10:34] <Pyromanik> BPower: something opens and doesn't close, or you're doing what I often do
7: [00:10:45] <Pyromanik> <% notif blah %><% end_if %>
8: [00:13:19] <Pyromanik> Colin[pi]: do you rob banks?
9: [00:13:48] <BPower> Colin[pi]: they're on to us....
10: [00:16:29] <Colin[pi]> huh?
11: [00:21:16] <simon_w> ss23, want lunch?
12: [00:21:20] <UncleCheese> ok
13: [00:21:27] <UncleCheese> nando's?
14: [00:21:34] <simon_w> BurgerFuel
15: [00:21:42] <UncleCheese> oooh
16: [00:21:48] <UncleCheese> beet root!!!!!!!
17: [00:22:01] <BPower> Root beer?
18: [00:22:04] <BPower> :-P
19: [00:22:07] <simon_w> One word :p
20: [00:22:53] <ss23> simon_w: Alraedy had, sorry
21: [00:23:08] <simon_w> ss23, sucks to be you then :p
22: [00:23:13] <simon_w> BurgerFUel time!
23: [00:23:16] <ss23> I ate too much
24: [00:23:16] <ss23> ;_;
25: [00:26:57] <BPower> simon_w: w/e
26: [00:26:59] <BPower> :-P
27: [00:27:01] <Pyromanik> he's got needles again!
28: [00:27:03] * BPower quit (Remote host closed the connection)
29: [00:27:19] * liam__ has joined #silverstripe
30: [00:27:27] <ss23> :D
31: [00:27:54] * chillu quit (Quit: chillu)
32: [00:28:05] <liam__> I am trying to submit my form but it is giving me a white screen with this error… "There seems to have been a technical problem. Please click the back button, refresh your browser, and try again." Any ideas?
33: [00:29:05] <ss23> Sounds like CSRF token issues, liam__
34: [00:29:57] * travis-ci has joined #silverstripe
35: [00:29:58] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1261 (3.1 - 653d7bc : Ingo Schommer): The build passed.
36: [00:29:58] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/cc6bdfe459b1...653d7bc1b73a
37: [00:29:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12592116
38: [00:29:58] * travis-ci has left #silverstripe
39: [00:30:06] <ss23> liam__: It's not a perm solution, but see if it works if you do a Form->disableSecurityToken()
40: [00:33:44] <ss23> That'll tell you if thats the issue at least :)
41: [00:33:58] * terryapodaca has joined #silverstripe
42: [00:36:39] <Pyromanik> ss23: nah, it tells you if it's CSRF
43: [00:36:51] <Pyromanik> liam__: you're trying to load the form directly, without any data.
44: [00:37:22] <liam__> Pyromanik: I think it is CSRF as I am using a custom template and I didnt include the security ID
45: [00:37:26] <liam__> thanks for the help guys
46: [00:39:32] <Pyromanik> ok, I'll rephrase - it USED to tell you if it was CSRF token. http://api.silverstripe.org/3.1/source-class-Form.html#276
47: [00:47:42] <ss23> Not anymore, Pyromanik
48: [00:47:43] <ss23> :P
49: [00:47:44] * UncleCheese quit (Quit: UncleCheese)
50: [00:51:10] <terryapodaca> can we not use SSViewer::set_theme(''); in teh Page_Controller in 2.4?
51: [00:51:17] <terryapodaca> in the init()
52: [00:52:05] <terryapodaca> based on the URLSegment
53: [00:54:03] * liam__ quit (Quit: liam__)
54: [00:54:56] * travis-ci has joined #silverstripe
55: [00:54:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1263 (3.1 - 814c0c4 : Ingo Schommer): The build passed.
56: [00:54:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/653d7bc1b73a...814c0c405549
57: [00:54:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12592593
58: [00:54:57] * travis-ci has left #silverstripe
59: [01:01:37] <Pyromanik> terryapodaca: you can.
60: [01:01:53] <Pyromanik> you can use it wherever you wish! It's public static!
61: [01:02:28] <Pyromanik> I think you'll find that it's being set _again_ further down the line (using the value set in SiteConfig)
62: [01:03:19] <Colin[pi]> syntax error, unexpected '}' in cached template file :(
63: [01:03:29] <Colin[pi]> flush doesn't fix it, any ideas
64: [01:04:05] <ss23> Colin[pi]: Hmm
65: [01:04:10] <ss23> Colin[pi]: Delete tmp dir, try again
66: [01:04:15] <ss23> Colin[pi]: If it persists, check template for errors
67: [01:04:25] <Colin[pi]> k :D one sec
68: [01:05:08] <Colin[pi]> nope it persists :C
69: [01:05:14] <Colin[pi]> k checking template
70: [01:05:43] <ss23> Colin[pi]: It should give you the template name so you'll know where to look at least
71: [01:05:53] <Colin[pi]> it does ye\
72: [01:06:07] <Colin[pi]> weird thing was it just started doing it :\
73: [01:06:11] <Colin[pi]> and I hadn't touched that template
74: [01:06:13] <ss23> Colin[pi]: If you're not familar with templating parsing, you might have to do a binary search of commenting to find out what line causes it
75: [01:06:19] <ss23> Colin[pi]: Upgraded SilverStripe/
76: [01:06:25] <ss23> Colin[pi]: Could've been a cached template for the last long time
77: [01:06:42] <Colin[pi]> nope not upgraded
78: [01:09:06] <terryapodaca> Pyromanik: you are correct. this is frustrating...as it will always be what you select in the SiteConfig. Unless you leave it set to "default"
79: [01:10:44] * travis-ci has joined #silverstripe
80: [01:10:45] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#610 (3.1 - 611772c : Ingo Schommer): The build passed.
81: [01:10:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/aae6b2b2966d...611772c5ec94
82: [01:10:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12594021
83: [01:10:45] * travis-ci has left #silverstripe
84: [01:17:17] <Colin[pi]> found it, a deeply nested include that was modified :)
85: [01:27:26] * terryapodaca has left #silverstripe
86: [01:30:07] * UncleCheese has joined #silverstripe
87: [01:42:28] * liam_ has joined #silverstripe
88: [01:42:31] * liam_ quit (Client Quit)
89: [02:26:17] * unsignedint quit (Remote host closed the connection)
90: [02:26:45] <Pyromanik> ter... so set it to default and remove the option to set it from the siteconfig.
91: [02:28:40] <Pyromanik> IE !<3 CSRF Tokens
92: [02:29:22] * unsignedint has joined #silverstripe
93: [02:33:53] * nickmolhoek has joined #silverstripe
94: [02:34:39] * unsignedint quit (Ping timeout: 252 seconds)
95: [02:35:46] * unsignedint has joined #silverstripe
96: [02:51:47] * trent001 has joined #silverstripe
97: [02:52:44] <ss23> "Flooding emergency in Wanganui #2: As flood waters recede and river levels drop, the Mayor of Wanganui has ended"
98: [02:52:48] <ss23> well that's one way to say the Mayor died
99: [02:52:50] <ss23> He's ended!
100: [02:53:01] <trent001> hey guys little help here how do I set the overall $BASEHREF for my site I went to a dev/build?flush=1 and it seems to have change my base href back to an old url...???
101: [02:53:02] <guzzlefry> :(
102: [02:53:22] <simon_w> trent001, is this on a 404 page?
103: [02:53:43] <ss23> simon_w: pls make patch that regenerates the error pages on flush
104: [02:53:57] <guzzlefry> I thought it did that?
105: [02:54:02] <simon_w> Nope
106: [02:54:05] <simon_w> Does it on save
107: [02:54:06] <guzzlefry> !
108: [02:54:20] <Pyromanik> simon_w: unsaved relations - can do for has_one?
109: [02:54:20] <ss23> Uh
110: [02:54:27] <ss23> s/flush/dev\/build/
111: [02:54:33] <trent001> nope just everywher I refer to $BASEHREF is now different to what it was before need to change it back QUICKLY..
112: [02:54:35] <simon_w> Pyromanik, yes
113: [02:54:41] <Pyromanik> simon_w: how do please?
114: [02:54:51] <simon_w> Pyromanik, $this->BlahID = $otherThing->ID;
115: [02:55:04] <ss23> $this->BlahID = $otherThing->write()
116: [02:55:05] <ss23> :3
117: [02:55:06] <Pyromanik> simon_w: but otherthing->ID is not yet ... on fuck yes it is. wtf
118: [02:55:09] <Pyromanik> not working :<
119: [02:55:18] <trent001> i mean in templates like {$BASEHREF}
120: [02:55:21] * Pyromanik mads around the fase
121: [02:55:45] <Pyromanik> trent001: clear your cache
122: [02:55:55] <trent001> where is the global setting for BASEHREF Stored??
123: [02:55:58] <Pyromanik> BackURL is a session set thing sometimes
124: [02:56:06] <simon_w> trent001, have you set Director: alternate_base_url?
125: [02:56:09] <Pyromanik> othertimes it's coming directly from $_REQUEST
126: [02:56:17] <trent001> nope
127: [02:56:29] <simon_w> Then it's pulled out of the request
128: [02:56:59] <Pyromanik> suggest some goof has set the domain to iframe forwarding.
129: [02:57:04] <Pyromanik> or something
130: [02:57:12] * Pyromanik shrugs
131: [02:58:14] <Pyromanik> Should work, right? CustomField::saveInto(): if($record->hasField($rel.'ID')) $record->setField($rel.'ID', $items->first()->ID);
132: [02:58:50] <Pyromanik> where rel = $field->name
133: [03:00:49] <trent001> should I be able to use Director::setBaseURL(); to set it back
134: [03:00:57] <Pyromanik> maybe
135: [03:01:47] <trent001> damn doesn't seem to work :S what to do?
136: [03:03:00] <Pyromanik> find out why
137: [03:03:13] <Pyromanik> check IPs are correct
138: [03:08:31] <Pyromanik> herp
139: [03:08:41] <Pyromanik> can't even call his own api correctly.
140: [03:13:24] <antmas> herp and derp
141: [03:17:56] <ss23> harp darp
142: [03:18:35] * nickmolhoek quit (Quit: nickmolhoek)
143: [03:23:19] * trent001 quit (Remote host closed the connection)
144: [03:24:57] * zippy__ quit (Ping timeout: 265 seconds)
145: [03:26:51] * cloph_away has joined #silverstripe
146: [03:27:09] * pippy has joined #silverstripe
147: [03:27:11] * cloph quit (Ping timeout: 260 seconds)
148: [03:29:10] * pippy_ quit (Ping timeout: 245 seconds)
149: [03:30:03] * antmas quit (Quit: Page closed)
150: [03:30:48] <Pyromanik> hurp durp
151: [03:31:08] <guzzlefry> herpa derpa derpity doo?
152: [03:31:36] * nickmolhoek has joined #silverstripe
153: [03:31:40] * pippy quit (Ping timeout: 245 seconds)
154: [03:32:12] * pippy has joined #silverstripe
155: [03:37:37] <DesignerX> hi, is $summary_fields, How can I set the Value of a column to be a function() instead of FieldName ?
156: [03:38:42] <simon_w> Nam the function getFieldName
157: [03:38:45] <simon_w> *Name
158: [03:49:33] <DesignerX> simon_w: ty, just noticed I had to dev/build after I update $summary_fields !
159: [03:49:54] <simon_w> Well, you need to ?flush
160: [03:50:15] <DesignerX> ah ok
161: [03:51:25] <DesignerX> one more thing, is if ParentObject has_many ChildObject , is there a way to have "Filter Section" on the left of ParentObject like in ModelAdmin?
162: [03:52:06] <simon_w> So, you want to have a search_field with like ParentObject.Name?
163: [03:53:18] <DesignerX> simon_w: The filter section needs to be on the Parentobject to search for ChildObjects
164: [04:03:50] * Pyromanik quit (Quit: Lost terminal)
165: [04:04:44] * nickmolhoek quit (Quit: nickmolhoek)
166: [04:24:46] <simon_w> Home time!
167: [04:26:38] <ss23> simon_w: :D
168: [04:26:42] <ss23> I got up before you
169: [04:26:47] <ss23> simon_w: I have a 7am releas tomorrow too
170: [04:27:08] <simon_w> ss23, half past 6?
171: [04:27:15] <ss23> ...
172: [04:27:16] <ss23> almost!
173: [04:27:18] <ss23> kind of...
174: [04:27:20] * ss23 coughs
175: [04:27:24] <ss23> simon_w: CYA, HAVE FUN GOING HOME
176: [04:27:24] <ss23> :D
177: [04:31:05] <spronk> lol
178: [04:31:13] <spronk> why 7am release!?
179: [04:33:25] <guzzlefry> yay
180: [04:36:35] <ss23> spronk: Client wants it, client gets it
181: [04:37:55] <spronk> damn
182: [04:38:13] <spronk> grr
183: [04:38:16] <spronk> why my java class no found
184: [04:39:40] <guzzlefry> not in path
185: [04:39:44] <spronk> ohh
186: [04:39:44] <spronk> fuck
187: [04:39:45] <spronk> missing public
188: [04:39:50] <ss23> lol
189: [04:39:53] <spronk> man
190: [04:39:54] <ss23> >java
191: [04:39:56] <spronk> dont need that shit in php
192: [04:40:00] * ss23 looks at spronk
193: [04:40:01] <ss23> >java
194: [04:40:11] <spronk> ITS RUNNING ON OUR WINDOWS BOX MAN
195: [04:40:13] <guzzlefry> scala > *
196: [04:40:15] <spronk> LEGACY APP
197: [04:40:16] <ss23> XD
198: [04:40:17] <guzzlefry> ss23: amirite?!
199: [04:40:29] <ss23> Yeah, I did Java maintence programming at last job (kind of)
200: [04:42:56] <spronk> i'm writing this fucking API warpper
201: [04:42:58] <spronk> wrapper*
202: [04:43:04] <spronk> using Spark microframework
203: [04:43:24] <spronk> so our php app on linux can get data from java app... used to conn directly to ms sql db, but none of the php+mssql shit works on linux anymore, unless it's RHEL or CentOS
204: [04:43:29] <spronk> and even then it's a dog
205: [04:43:51] * stecman quit (Quit: This computer has gone to sleep)
206: [04:44:34] <guzzlefry> say what
207: [04:44:52] <spronk> trying to connect to ms sql databases
208: [04:44:55] <spronk> from php running on linux
209: [04:44:59] <spronk> is a mission and a half
210: [04:45:07] <longtips> doesn't pdo talk mssql
211: [04:45:11] <spronk> hahahahahah
212: [04:45:35] <spronk> so, there's an ancient MS SQL driver that comes with PHP, but it doesn't work for newer MS SQL databases, and i'm pretty sure it doesn't work on lniux
213: [04:45:42] <longtips> great stuff
214: [04:45:47] <spronk> microsoft released a SQL Server driver, incl a PDO driver, but only works on windows
215: [04:45:48] <longtips> love software
216: [04:45:50] <longtips> it's the best
217: [04:45:56] <ss23> spronk: They released one that works for Linux a while ago
218: [04:46:03] <spronk> microsoft also released a SQL server driver for PHP on linux, buti t's a RedHat package
219: [04:46:38] <spronk> aaand it's an ODBC driver
220: [04:46:49] <spronk> and PDO + ODBC doesn't support shit like database quote
221: [04:47:18] <spronk> so the only other alternative is freetds
222: [04:47:22] <spronk> which segfaults
223: [04:47:29] <guzzlefry> :/
224: [04:47:29] <spronk> so... fuck that
225: [04:47:34] <guzzlefry> postgres!
226: [04:47:41] <ss23> ^^
227: [04:47:41] <ss23> :D
228: [04:47:44] <spronk> unfortunately this app is reasonably well tied to sqlserv :(
229: [04:48:04] <spronk> i had a fork ages ago trying to make it agnostic, but there's quite a bit of mssql specific code
230: [04:48:06] <ss23> KILL IT
231: [04:48:23] <spronk> it's written in java, yet it's tied to windows
232: [04:48:37] <spronk> wd original devs
233: [04:49:15] <ss23> Write once, run anywhere, badly!
234: [04:49:41] <guzzlefry> well
235: [04:49:41] <spronk> stupid thing is
236: [04:49:43] <spronk> it uses JDO
237: [04:49:45] <spronk> and JDBC
238: [04:49:47] <guzzlefry> if you do it correctly :P
239: [04:49:52] <spronk> so it's not like it NEEDS to be died to SQLServ
240: [04:49:58] <guzzlefry> System.lineseparator or whatever
241: [04:50:00] <spronk> tied*
242: [04:50:03] <guzzlefry> godddd
243: [04:54:02] * metanat quit (Ping timeout: 256 seconds)
244: [04:59:46] * UncleCheese quit (Quit: UncleCheese)
245: [05:17:19] * SightUnseen has joined #silverstripe
246: [05:18:18] * SightUnseen has left #silverstripe
247: [05:37:03] * Nimle has joined #silverstripe
248: [05:38:13] <Nimle> Hi guys, what configurations do I need to make the session a database-based one?
249: [05:38:46] <simon_w|air> You need a custom session handler that does that
250: [05:39:03] <simon_w|air> http://php.net/SessionHandler
251: [05:39:26] <simon_w|air> and http://php.net/manual/en/class.sessionhandlerinterface.php
252: [05:40:52] <Nimle> ok, cool. so, there is no config setting in ss to enable it. I thought I can choose whether it will be cookie-based, database based.
253: [05:41:23] <Nimle> for big sites with shopping cart, session kills the server.
254: [05:41:33] <Nimle> if not database-based
255: [05:42:29] <Nimle> when I say kills, I mean memory usage becomes too high when the number of users increase
256: [05:43:20] <simon_w|air> Sessions tend to be file based, so I don't think that's to do with how they're stored
257: [05:48:54] * Shrike_Finland has joined #silverstripe
258: [05:49:25] <Colin[pi]> simon_w! your stats floats are fubared!
259: [05:49:34] <simon_w|air> They're not floats!
260: [05:49:42] <Colin[pi]> display: table-cell ?
261: [05:49:47] <simon_w|air> inline-block
262: [05:49:53] <Colin[pi]> ahhh
263: [05:50:13] <Colin[pi]> hmm fair bit of wasted whitespace ;P
264: [05:50:44] <simon_w|air> Patches welcome :p
265: [05:50:50] <Colin[pi]> lawl
266: [05:50:57] * SightUnseen has joined #silverstripe
267: [05:52:03] <simon_w|air> I did add this though: http://logs.simon.geek.nz/stats.php#bitch
268: [05:52:25] <Colin[pi]> ooh highlighting
269: [05:53:14] <simon_w|air> Also, case-insensitive sort next update
270: [05:57:35] <Colin[pi]> I just used this method for a site I'm building, maybe you could use on teh swear page? http://css-tricks.com/examples/ResponsiveTables/responsive.php
271: [06:05:23] <guzzlefry> guys!
272: [06:05:40] <guzzlefry> Does the Blog module have something to grab all but the first paragraph of an entry?
273: [06:06:26] <simon_w|air> Nope
274: [06:23:56] * NobrainerWeb has joined #silverstripe
275: [06:31:06] * SightUnseen has left #silverstripe
276: [06:38:22] * mrzero quit (Ping timeout: 268 seconds)
277: [06:39:18] <NobrainerWeb> Hi guys, in SS2.4 i have public static $allowed_actions = array('send'); in my Page_Controller. when i navigate to example.com/mypage/send - i get the output of my function send (just echoes hello) - but how do i make it render the page after my function has run?
278: [06:39:33] <simon_w|air> return an array
279: [06:44:14] <NobrainerWeb> Anything special need to be in this array?
280: [06:45:25] <NobrainerWeb> if i just return an empty array i get: [Warning] substr() expects parameter 1 to be string, array given
281: [06:50:18] <simon_w|air> Shouldn't need to
282: [06:51:05] <NobrainerWeb> simon_w|air: i have this code: http://www.sspaste.com/paste/show/525e35930f315
283: [06:51:44] <NobrainerWeb> doing example.com/price-calculator/send i can print $request
284: [06:52:43] <NobrainerWeb> Ok it works now
285: [06:53:03] <NobrainerWeb> hmm don't know if it was me still echoing something before or why it did not
286: [06:54:04] <NobrainerWeb> thank you simon_w|air
287: [06:55:37] * hubertusanton has joined #silverstripe
288: [07:26:06] <ss23> ss23 lyfe
289: [07:26:10] <ss23> wake up at 7:30am for once
290: [07:26:13] <ss23> gets tired at 8:30pm
291: [07:26:14] <ss23> :<
292: [07:26:19] <simon_w|air> Haha!
293: [07:26:24] <ss23> Still, least if I go to bed now, I'll be in good shape for the 7am release
294: [07:26:30] <simon_w|air> You hope
295: [07:26:41] <ss23> Yeah :<
296: [07:26:48] <ss23> Well, generally, ~12 hours is about the max I sleep
297: [07:26:55] <ss23> This should give me ~10 at least
298: [07:27:03] <ss23> SO, goodnight
299: [07:27:04] <ss23> ^.^
300: [07:33:07] * Nimle quit (Ping timeout: 250 seconds)
301: [07:40:15] * violetina has joined #silverstripe
302: [07:43:14] * chillu has joined #silverstripe
303: [07:51:51] * SightUnseen has joined #silverstripe
304: [07:52:18] * SightUnseen has left #silverstripe
305: [07:57:04] * metanat has joined #silverstripe
306: [07:59:00] * metanat quit (Client Quit)
307: [08:11:43] * kinglozzer has joined #silverstripe
308: [08:13:18] * zippy__ has joined #silverstripe
309: [08:15:41] * NobrainerWeb quit (Quit: NobrainerWeb)
310: [08:16:50] * metanat has joined #silverstripe
311: [08:24:50] * simon_w|air quit (Ping timeout: 256 seconds)
312: [08:25:34] * simon_w|air has joined #silverstripe
313: [08:51:19] * NobrainerWeb has joined #silverstripe
314: [08:59:07] <NobrainerWeb> hello - how can i loop the array Accessories in template: http://www.sspaste.com/paste/show/525e51cc07c2f ?
315: [08:59:41] <NobrainerWeb> Or maybe i should ask, how should the array be formed so that i can loop it in template? I just need to output the value
316: [09:01:17] <longtips> in silverstripe can i set it up so one class of users can create content and another class is required to sign it off / publish it?
317: [09:05:11] <violetina> hmm is it hard to render a rss feed from an other site into silverstripe , i seem to fail at google this morning :(
318: [09:05:37] * g4b0 has joined #silverstripe
319: [09:06:02] <g4b0> hi all
320: [09:06:22] <violetina> my goal is : i have a nuxeo site for documents and i want to render the changed documents list from rss in silverstripe
321: [09:10:13] <kinglozzer> violetina: If I were doing it, I'd AJAX load it, so it doesn't slow down the initial request
322: [09:10:32] <kinglozzer> And cache it as well
323: [09:15:07] <violetina> hmm i'll have a look at ajax with rss render , good idea
324: [09:16:01] * swordsmanz quit (Quit: swordsmanz)
325: [09:16:11] <kinglozzer> violetina: If you're using jQuery there might be a library that can parse and RSS feed. Otherwise, I'd make an AJAX request to your Controller, then have that do a request to the RSS feed (using RestfulService) and parse & return the result
326: [09:21:15] <kinglozzer> chillu: Can you merge this? https://github.com/silverstripe/silverstripe-framework/pull/2533 straight-forward change, it's just that translatable is broken at the moment without this fix
327: [09:29:34] <g4b0> I'm fighting with page versioning
328: [09:29:49] <g4b0> Page has_many DoFiles
329: [09:29:57] <g4b0> DoFile has_one Page
330: [09:30:32] <g4b0> Files are not versioned among page versions...
331: [09:30:50] <g4b0> the last file set is always displayed...
332: [09:30:54] <g4b0> :/
333: [09:32:57] <chillu> kinglozzer: can you add parentheses to make the boolean precedence clearer on that PR please?
334: [09:33:36] <chillu> Thanks for fixing that - its high time that we get some Behat test coverage on translatable to discover bugs like that earlier
335: [09:40:33] * kinglozzer finally has an excuse to use git punch
336: [09:40:43] <kinglozzer> chillu Done :)
337: [09:41:31] <chillu> aaaand merged :)
338: [09:41:51] <chillu> wtf is git punch?
339: [09:42:05] <kinglozzer> <kinglozzer> git config --global --add alias.punch "push --force"
340: [09:42:08] <kinglozzer> :P
341: [09:42:12] <chillu> haha, brilliant
342: [09:42:31] <kinglozzer> Zauberfisch23 suggested we add an alias for origin: ss23
343: [09:42:33] <kinglozzer> git punch ss23
344: [09:42:49] <kinglozzer> haha
345: [09:46:34] * Nightjar has joined #silverstripe
346: [09:53:13] <kinglozzer> chillu: When you have a moment spare, any comments on https://github.com/silverstripe/silverstripe-framework/issues/2534 ? tldr; should we try to force devs to put actions in the 'actions' FieldList, or should actions also be allowed in the main 'fields' FieldList as well?
347: [09:53:42] <Nightjar> ha! I had that exact use case the other day
348: [09:54:11] <Nightjar> kinglozzer: there is code for it, it's just commented out. It's how CTF used to work.
349: [09:54:49] <kinglozzer> Nightjar: CTF?
350: [09:55:13] <Nightjar> 2.4 gridfield.
351: [09:55:28] <Nightjar> well, 2.x
352: [09:55:32] <kinglozzer> Ah
353: [09:55:46] <Nightjar> ComplexTablefield
354: [09:56:55] * mobiusnz quit (Quit: Leaving.)
355: [09:57:08] <Nightjar> tl;dr - the only use case for having an action in the fields list is to be able to enact field access without javascript.
356: [09:57:46] <Nightjar> which means submitting the form to itself in order to store the values, and rendering the field as normal
357: [09:58:26] <kinglozzer> Nightjar: There must be other use cases for devs on the front-end, though
358: [09:58:29] <Nightjar> but due to the stateless nature of the web, one can't store the values of the form anyway.
359: [09:58:33] <kinglozzer> Can't think of anything off the top of my head
360: [09:59:27] <Nightjar> The real question here is, and probably really has always been - should $fields and $actions be one in the same, since we have "FormAction" field to define an action anyway
361: [09:59:48] <kinglozzer> Yeah
362: [10:00:06] <Nightjar> this would allow for cosmetic placement of submit buttons - although that use case is rare, as one often does not submit a half completed form.
363: [10:00:45] <Nightjar> kinglozzer: protip: <button type=submit> is a valid submit button also.
364: [10:01:17] <Nightjar> thus you can put submits within fields
365: [10:01:34] <Nightjar> so the whole thing becomes kinda moot.
366: [10:03:30] <kinglozzer> Yeah, you can add FormActions to the $fields FieldList anyway, Form->httpSubmission() supports that, I was just using the bug in the ticket as an example to ask the question "should we be fixing issues like this? or forcing $actions only"?
367: [10:03:37] * kinglozzer has telephone conference
368: [10:03:38] <kinglozzer> bbl
369: [10:04:29] <Nightjar> yeah you can put FormAction into the $fields list, but the form won't search it out iirc to allow it as a valid action call from the php side.
370: [10:06:45] <kinglozzer> Nightjar: You're right: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/Form.php#L375-L386
371: [10:06:57] <Nightjar> mm
372: [10:07:03] <Nightjar> as I say, looked it up just the other day.
373: [10:08:17] <kinglozzer> Perhaps checkAccessAction() should be updated to also loop through $fields, checking for FormAction instances
374: [10:08:24] <Nightjar> nah
375: [10:08:30] <kinglozzer> Or as you say, treat actions and fields as one and the same
376: [10:08:36] <Nightjar> see the commented out section in httpSubmission
377: [10:08:48] <Nightjar> or whatever that method is.
378: [10:09:17] <Nightjar> It has been a decision somewhere along the line to purposefully prevent that behaviour.
379: [10:09:29] <Nightjar> the real question is what is the basis of that decision.
380: [10:09:50] <Nightjar> was this functionality removed because it was originally a tight coupled hack to enable ComplexTableField to do it's thing?
381: [10:10:21] <Nightjar> if so, could we re-assess the situation in order to re-instate it in a less hackish manner?
382: [10:10:22] * mobiusnz has joined #silverstripe
383: [10:10:32] <kinglozzer> Nightjar: That commented code is only checking for actions on the Fields though, right?
384: [10:10:40] <Nightjar> should we be re-evaluating how we do forms in general?
385: [10:10:56] <Nightjar> kinglozzer: didn't read it thoroughly
386: [10:11:08] <Nightjar> saw it, skimmed it, asked simon_w about it, lol.
387: [10:11:44] <kinglozzer> I don't think you'd ever reach there, if ($this->controller->hasMethod($funcName) && !$this->controller->checkAccessAction($funcName) && !$this->actions->dataFieldByName('action_' . $funcName))
388: [10:11:51] <kinglozzer> I think you'd get stuck there?
389: [10:12:05] <kinglozzer> Oh, no - it'd pass !$this->controller->checkAccessAction($funcName)
390: [10:12:37] <kinglozzer> So it should work
391: [10:13:22] <Nightjar> yeh. It would. Comment is actually helpful in this case.
392: [10:14:49] <kinglozzer> So FormActions in the $fields list do work, even if they're not supposed to
393: [10:14:59] <Nightjar> It tells you exactly what to do if you want to hack it.
394: [10:15:17] <Nightjar> well only if you uncomment that code.
395: [10:16:07] <kinglozzer> Really? Seems to me it should work without uncommenting that
396: [10:16:33] <Nightjar> // Uncomment the following for checking security against running actions on form fields
397: [10:17:06] <kinglozzer> If you uncomment it though, you'll hit the Action "%s" not allowed on any fields of form error
398: [10:17:25] <Nightjar> what are you looking at?
399: [10:18:21] <kinglozzer> $funcName is the method it's looking to call, if you leave that commented out - it'll go through validation, then realise the controller has the method $funcName and call it here: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/Form.php#L364
400: [10:18:41] <kinglozzer> If you uncomment it, it'll look for a field with an action $funcName, won't find one and will error
401: [10:18:47] * spronk quit (Ping timeout: 260 seconds)
402: [10:19:16] <Nightjar> Because I see if field has method and method is allowed, $fieldsHaveMethod = true
403: [10:19:29] <Nightjar> mm, yeah I think you're missing the else at the very beginning of that block.
404: [10:19:47] <Nightjar> it runs last when looking for an action.
405: [10:20:02] <kinglozzer> Yeah, but if it runs it'll fail :P
406: [10:20:24] <Nightjar> if(!$fieldsHaveMethod) $doError
407: [10:20:56] <kinglozzer> But Nightjar, none of the fields do have the method. Our controller has the method that action is specifying
408: [10:21:06] <Nightjar> does it?
409: [10:21:14] <Nightjar> oh.
410: [10:21:19] <Nightjar> I'm running a different use case :<
411: [10:21:25] <kinglozzer> Ah :P
412: [10:21:35] <Nightjar> as I described above.
413: [10:21:40] <kinglozzer> Yeah, sorry, I was talking about adding a controller action
414: [10:21:44] <kinglozzer> method w/e
415: [10:22:05] <Nightjar> eg, I have a field where I want to select an existing thingamajig
416: [10:22:13] <Nightjar> like gridfield's addexisting
417: [10:22:21] <Nightjar> only... without using javascript.
418: [10:22:28] <Nightjar> is my usecase.
419: [10:22:48] <kinglozzer> Nightjar: Would this not handle it? https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/Form.php#L368-L370
420: [10:23:02] <Nightjar> relies on form field providing function for this - which means form would have to store it's state before executing.
421: [10:23:52] * spronk has joined #silverstripe
422: [10:25:01] <Nightjar> fuckit, I don't even know anymore, hahaha
423: [10:25:03] <Nightjar> so tired.
424: [10:25:08] <Nightjar> :<
425: [10:25:34] <Nightjar> ended up using JS anyway, better "UX"
426: [10:25:58] <Nightjar> bed!
427: [10:26:02] * Nightjar has left #silverstripe
428: [10:32:55] * Colin[pi] quit ()
429: [10:33:04] <Zauberfisch23> good day gents
430: [10:33:24] <Zauberfisch23> I need some example implementations of BulkLoader
431: [10:33:35] <Zauberfisch23> especially subclasses of CsvBulkLoader
432: [10:35:30] <Zauberfisch23> anyone willing to share his subclasses?
433: [10:45:23] * olance has joined #silverstripe
434: [10:45:27] <olance> hi all :)
435: [10:46:22] <kinglozzer> hey olance
436: [10:46:33] <olance> :)
437: [10:46:54] <kinglozzer> Sorry Zauberfisch, I'd share if I had any :(
438: [10:46:55] <olance> I've got a new problem \o/
439: [10:47:02] <kinglozzer> Never had to work with CSV importing
440: [10:47:18] <olance> I'm using a FieldGroup, and I'd like to style some of the fieldgroup-field div containers. I can't find any way to add a custom class or ID to the container of a specific FormField added to the FieldGroup....
441: [10:47:58] <Zauberfisch23> olance: $fieldGroup->addExtraClass('zauberfisch-is-awesome')
442: [10:47:58] <olance> My best guess right now is to subclass FieldGroup so that I can add a method that will inject custom classes to the FieldHolder....
443: [10:48:14] <olance> Zauberfisch23: well tried, but that would had the class to the <input> element
444: [10:48:19] <olance> not the containing div ^^
445: [10:48:21] <Zauberfisch23> .zauberfisch-is-awesome { color: pink; }
446: [10:48:25] <olance> lol :)
447: [10:48:48] <kinglozzer> olance: Could you just override the template?
448: [10:48:50] <Zauberfisch23> hmmm
449: [10:49:06] <Zauberfisch23> olance: then try the compositefield
450: [10:49:17] <olance> FieldGroup is a composite field
451: [10:49:26] <Zauberfisch23> hmmm
452: [10:49:30] <olance> kinglozzer: that's what I was thinking yes
453: [10:49:32] <kinglozzer> Create your own FieldGroup.ss, http://pastie.org/8406132
454: [10:49:39] <kinglozzer> *might* work :P
455: [10:49:44] <Zauberfisch23> well, I used compositefield in the past, and it worked with addExtraCLass
456: [10:50:23] <olance> hmm
457: [10:51:00] <olance> I think you got me wrong :)
458: [10:51:06] <olance> what you suggested does work
459: [10:51:26] <olance> hold on, I'll create a pastie
460: [10:53:54] <olance> http://pastie.org/private/i5kygy0defmzepzcbcaicg
461: [10:54:11] <olance> The zauberfisch class is on the whole fieldgroup container
462: [10:54:12] * elcodo has joined #silverstripe
463: [10:54:34] * elcodo quit (Client Quit)
464: [10:54:41] <olance> what I would like, is add a class to a specific "fieldgroup-field"
465: [10:54:54] <kinglozzer> olance: Yeah that's what we were trying to do :P
466: [10:55:16] <olance> :P
467: [10:55:28] <olance> your solution seems a nice shot
468: [10:55:40] <olance> though I don't know how to then declare extraclass ?
469: [10:55:45] <olance> on my Field
470: [10:55:54] <kinglozzer> olance: On each individual field in your FieldGroup
471: [10:55:59] <kinglozzer> $field->addExtraClass()
472: [10:56:26] <olance> oh okay
473: [10:56:42] <kinglozzer> I'm not sure which template you'll need to override
474: [10:56:45] <olance> you just "moved" the extraclass out, if that makes any sense
475: [10:56:54] <olance> where should I put the template ?
476: [10:57:00] <olance> in my usual templates directory?
477: [10:57:11] <kinglozzer> mysite/templates/Form ?
478: [10:57:14] <kinglozzer> Or in your theme
479: [10:57:18] <kinglozzer> Don't think it really matters too much
480: [10:57:44] <olance> I'll try :)
481: [10:57:46] <olance> thanks!
482: [10:57:48] <kinglozzer> Based on what you pasted, you might need to override FieldGroup_holder.ss instead: http://pastie.org/8406147
483: [10:57:53] <olance> and I'll keep you posted
484: [10:58:13] <olance> hmm nope, FieldGroup.ss seems nice
485: [10:58:25] <olance> I don't have middlecolumns
486: [10:59:17] <kinglozzer> Ah okay
487: [11:01:14] <olance> yeah
488: [11:01:22] <olance> well done kinglozzer! :) :)
489: [11:01:58] <olance> (kinglozzer: are you french?)
490: [11:02:03] <kinglozzer> Nope, English :)
491: [11:02:08] <olance> okay :P
492: [11:02:13] <kinglozzer> You?
493: [11:02:26] <olance> the whois tells me you're on a french server, that's why ^^
494: [11:02:28] <olance> I'm french
495: [11:03:01] <kinglozzer> olance: Yeah I think the ISP for our office block is French
496: [11:03:09] <olance> ok ^_^
497: [11:03:15] <kinglozzer> Actually, come to think of it it's said Sweden before as well
498: [11:03:16] <olance> and Zauberfisch23? Germany, Austria?
499: [11:03:28] <kinglozzer> So maybe they have servers all over the place
500: [11:03:33] <olance> probably
501: [11:03:42] <Zauberfisch23> well, to you it should look like i am from germany
502: [11:03:57] <Zauberfisch23> since I proxy irc over my server in germany
503: [11:04:12] <Zauberfisch23> and I live in austria
504: [11:04:31] <Zauberfisch23> but I am neither german nor austrian, I am a citizen of the internet
505: [11:04:36] <olance> ahah
506: [11:04:38] <olance> ^_^
507: [11:04:42] <olance> okay citizen
508: [11:04:50] <olance> well thanks both of you for your help!
509: [11:05:14] <olance> and as we're in the same(ish) time zone, I guess I can say bis bald!
510: [11:05:26] <olance> (see you ^^)
511: [11:05:34] <kinglozzer> Au reviour
512: [11:05:39] <kinglozzer> Correct? :P
513: [11:05:40] <olance> :D
514: [11:05:41] <olance> almost
515: [11:05:44] <olance> Au revoir !
516: [11:05:46] <Zauberfisch23> citizens of the internet have no timezones :O
517: [11:05:48] <kinglozzer> Ah :P
518: [11:05:56] <kinglozzer> There is only UTC
519: [11:06:03] <Zauberfisch23> !
520: [11:06:44] <olance> UTC+1
521: [11:06:45] <olance> :P
522: [11:06:58] <olance> have a nice day!
523: [11:08:10] <Zauberfisch23> you too
524: [11:08:28] <kinglozzer> Et toi
525: [11:08:30] <kinglozzer> :P
526: [11:08:45] <kinglozzer> And that's all the French I can remember from school
527: [11:08:46] <kinglozzer> :D
528: [11:09:09] <olance> :]
529: [11:10:10] * mrzero has joined #silverstripe
530: [11:10:21] * mrzero quit (Changing host)
531: [11:10:21] * mrzero has joined #silverstripe
532: [11:10:23] * skorp has joined #silverstripe
533: [11:10:28] <zippy__> Bonjour!
534: [11:12:06] * longtips is now known as starchicken
535: [11:12:39] <olance> bonjour ^_^
536: [11:13:56] * stripper has joined #silverstripe
537: [11:14:23] <stripper> hi!
538: [11:14:56] <olance> hi!
539: [11:15:23] <stripper> anyone in here using the facebookconnect module?
540: [11:15:49] <stripper> i just have a question :)
541: [11:16:02] <olance> sorry I don't
542: [11:16:12] <olance> use it
543: [11:16:27] <stripper> yeah, i'm currently using it
544: [11:17:52] <stripper> i'm just wondering if i can logout of my silverstripe site, when logged in using FB profile, without logging out of FB
545: [11:18:13] <stripper> so basically just logging out of SS
546: [11:18:58] <stripper> because what happens is, when i log out of SS, i also gets logged out off facebook
547: [11:19:45] <stripper> and when i'm logged in on facebook, and went to my SS site, i automatically get logged in as well
548: [11:20:22] <stripper> i'm wondering if there's an option not to log out off facebook after SS site log out
549: [11:21:00] <stripper> and not log in on SS site, even when logged in on facebook, without the actual login process
550: [11:22:05] * metanat quit (Quit: Leaving.)
551: [11:22:59] <olance> I just checked the code out on github
552: [11:23:07] <olance> and apparently it's too basic to allow that
553: [11:23:20] <olance> (though I just had a quick look)
554: [11:27:33] * olance quit (Ping timeout: 250 seconds)
555: [11:28:07] * ajshort has joined #silverstripe
556: [11:40:02] * mrzero quit (Remote host closed the connection)
557: [11:40:19] * zippy__ quit (Ping timeout: 240 seconds)
558: [11:42:12] * zippy__ has joined #silverstripe
559: [11:45:08] * mrzero has joined #silverstripe
560: [11:45:21] * mrzero quit (Changing host)
561: [11:45:21] * mrzero has joined #silverstripe
562: [12:14:24] * samthejarvis has joined #silverstripe
563: [12:14:49] * UndefinedOffset has joined #silverstripe
564: [12:15:07] <samthejarvis> ss3.1, I have a datalist, I want to add a coalesce to the select clause of the query it uses
565: [12:15:20] <samthejarvis> the API doesn't seem to accommodate for this
566: [12:15:34] <samthejarvis> wondering if any devs know if I'm wrong here
567: [12:17:05] <samthejarvis> using ->alterDataQuery(function($query, $list){}) i can do all sorts to the dataquery, but can't seem to add an item to the select clause, that requires altering the SQLQuery class under the dataquery, and i can't see a way into it from the dataquery
568: [12:17:41] <samthejarvis> the $query static is protected and there's no get/set for it
569: [12:20:18] <samthejarvis> DataQuery::selectFromTable() is the closest I can get and you can't add expressions through it because it prefixes it with the table name
570: [12:20:33] <samthejarvis> so i get TableName.Coalesce(Col1, Col2)
571: [12:20:58] * micmania1 has joined #silverstripe
572: [12:39:28] * zippy__ quit (Ping timeout: 240 seconds)
573: [12:39:46] * micmania1 quit (Read error: Connection reset by peer)
574: [12:40:04] * micmania1 has joined #silverstripe
575: [12:44:29] * UndefinedOffset quit (Quit: Leaving.)
576: [12:50:45] * samthejarvis quit (Ping timeout: 250 seconds)
577: [12:56:25] * UndefinedOffset has joined #silverstripe
578: [13:06:14] * samthejarvis has joined #silverstripe
579: [13:10:49] * guci0 has joined #silverstripe
580: [13:11:09] <guci0> Hello all!
581: [13:15:01] * samthejarvis quit (Ping timeout: 250 seconds)
582: [13:34:46] * olance has joined #silverstripe
583: [13:36:21] <olance> hi! (again)
584: [13:36:58] <olance> could anyone indicate me a way to localize select inputs options when the options directly come from an enum in the database?
585: [13:38:20] * Shrike_Finland quit (Quit: Leaving.)
586: [13:45:11] * UndefinedOffset quit (Quit: Leaving.)
587: [13:47:04] * robert__ has joined #silverstripe
588: [13:48:18] * robert_ quit (Ping timeout: 252 seconds)
589: [13:51:29] <olance> nope?
590: [13:51:42] * MiniZeka has joined #silverstripe
591: [13:52:01] <MiniZeka> hello
592: [13:52:12] <MiniZeka> I encountered strange bug in SS 3.1
593: [13:52:39] <MiniZeka> when trying to select image "From CMS" tab in TinyMCE WYSIWYG editor
594: [13:53:37] <MiniZeka> in dropdown I get &lt;span class="jstree-foldericon"&gt;&lt;/span&gt;&lt;span class="item"&gt;Uploads&lt;/span&gt;
595: [13:53:51] <MiniZeka> which results in displaying HTML, instead of rendering it
596: [14:03:03] <MiniZeka> did someone found this bug too>
597: [14:04:34] <guci0> MiniZeka: check 3.1.1 it's aleady fixed
598: [14:05:02] <guci0> *already
599: [14:06:27] <guci0> https://github.com/silverstripe/silverstripe-framework/commit/5c376a4
600: [14:08:33] * NobrainerWeb quit (Quit: NobrainerWeb)
601: [14:10:22] <MiniZeka> great!
602: [14:10:26] <MiniZeka> thanxs guci0
603: [14:11:12] * hubertusanton quit (Remote host closed the connection)
604: [14:13:39] <olance> could anyone indicate me a way to localize select inputs options when the options directly come from an enum in the database?
605: [14:16:00] <ec8or_> olance: i think you need to add some custom code for that
606: [14:16:21] <ec8or_> here is one approach: http://www.balbuss.com/translating-an-enum-dropdown/
607: [14:21:57] * UndefinedOffset has joined #silverstripe
608: [14:22:25] <olance> thanks!
609: [14:22:28] <olance> I'll have a look :)
610: [14:36:29] * violetina quit (Remote host closed the connection)
611: [14:38:03] * violetina has joined #silverstripe
612: [14:43:53] <guci0> olance: look for example $fields->addFieldToTab("Root.Main", new DropdownField("terminowa_realizacja_dostaw", "Terminowa realizacja dostaw", singleton('AnkietaWpis')->dbObject('terminowa_realizacja_dostaw')->enumValues()));
613: [14:44:51] <olance> I'm currently adapting the code form the article you linked
614: [14:44:55] <olance> I think it'll work
615: [14:44:58] <olance> :)
616: [14:45:04] <olance> hold on a sec I'll tell you ^^
617: [14:45:48] <guci0> I read not "localize" ...
618: [14:46:19] * DesignerX quit (Ping timeout: 246 seconds)
619: [15:02:47] * robert__ is now known as robert_
620: [15:16:01] <olance> ec8or_: it worked perfectly, thank you!! :)
621: [15:24:16] <g4b0> is it possible to integrate the "History" tab with some custom code?
622: [15:33:28] <ec8or_> olance: great :)
623: [15:36:41] * UndefinedOffset quit (Quit: Leaving.)
624: [15:38:33] * UndefinedOffset has joined #silverstripe
625: [15:40:56] <olance> :)
626: [15:43:39] * MiniZeka quit (Ping timeout: 250 seconds)
627: [15:58:31] * g4b0 quit (Quit: Sto andando via)
628: [15:59:15] * olance quit (Quit: Page closed)
629: [16:00:00] * cloph has joined #silverstripe
630: [16:00:45] * cloph_away quit (Ping timeout: 272 seconds)
631: [16:03:56] * chillu quit (Quit: chillu)
632: [16:04:53] * micmania1 quit (Ping timeout: 248 seconds)
633: [16:12:19] <Zauberfisch23> kinglozzer: I have just been spinning the idea further
634: [16:12:33] <Zauberfisch23> lets also give our branches names
635: [16:12:36] <Zauberfisch23> so you can do:
636: [16:12:46] <Zauberfisch23> git punch ss23 face
637: [16:13:01] <kinglozzer> git kick ss23 crotch
638: [16:13:07] <Zauberfisch23> :D
639: [16:13:07] <kinglozzer> :P
640: [17:18:05] * chillu has joined #silverstripe
641: [17:41:41] * jrthomer quit (Remote host closed the connection)
642: [17:42:30] * jrthomer has joined #silverstripe
643: [17:44:50] * kinglozzer goes home, 2 hours late
644: [17:44:53] <kinglozzer> ciao
645: [17:44:55] * kinglozzer quit (Remote host closed the connection)
646: [17:46:06] * SightUnseen has joined #silverstripe
647: [17:46:09] * SightUnseen has left #silverstripe
648: [17:50:12] <Zauberfisch23> chillu: 1line, non-api-changing bugfix, which branch?
649: [17:50:23] <chillu> 3.1
650: [17:58:24] <ss23> blargh
651: [17:58:28] <ss23> 7am release huh :/
652: [18:06:14] <Zauberfisch23> bloody hell, github always seems to go down just when I need it
653: [18:13:52] <ss23> XD
654: [18:14:14] <ss23> git laugh-at Zauberfisch23
655: [18:14:20] <Zauberfisch23> -.-
656: [18:14:33] <Zauberfisch23> well, ssh clone still works at least
657: [18:16:05] <ss23> Uncaught SecurityError: Blocked a frame with origin "https://www.ea.govt.nz" from accessing a frame with origin "http://www.xxx.govt.nz". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
658: [18:16:09] <ss23> fucking fuck,.
659: [18:16:37] <ss23> Does it just not load the preview under HTTPS or something?
660: [18:20:33] * _dn has joined #silverstripe
661: [18:21:53] <ss23> woohoo, release done...
662: [18:21:59] <ss23> Now I have to decide whether I want to sleep more, or go to work now
663: [18:22:13] <simon_w|air> Well, you'd probably beat me in
664: [18:22:15] * Alexw has joined #silverstripe
665: [18:22:21] <simon_w|air> my bus doesn't arrive for another 7 minutes
666: [18:23:11] <Alexw> Hi, what is the difference between plural and singular names for page types?
667: [18:23:15] <Alexw> For translation
668: [18:23:43] <simon_w|air> One's for more than one of the type, the other's for just one
669: [18:24:02] <Alexw> Which one?
670: [18:24:17] <simon_w|air> Singular is the single one
671: [18:25:50] <Alexw> Ok thanks
672: [18:27:02] <Alexw> How can I limit the language of the CMS?
673: [18:29:47] <ss23> simon_w|air: I need to shower anyway!
674: [18:29:49] <ss23> So you would still win
675: [18:32:08] <_dn> does anyone know offhand if the getQuery and getResults of an object's SearchContext escapes the passed values from the form?
676: [18:37:27] <ss23> Call to undefined method ClassInfo::is_subclass_of()
677: [18:37:28] <ss23> Why this?
678: [18:39:33] <ss23> urgh
679: [18:39:35] <ss23> ignore
680: [18:39:48] <andylockran> hey all
681: [18:40:13] <andylockran> any ideas how I can copy and then modify the default login form template for SilverStripe?
682: [18:43:09] * unsigned_ has joined #silverstripe
683: [18:43:45] <andylockran> http://snag.gy/REqkv.jpg
684: [18:44:24] <ss23> Yes, andylockran, uh
685: [18:44:33] <ss23> andylockran: Just get the template and replace it in your current them
686: [18:44:34] <ss23> theme
687: [18:44:45] <andylockran> where are those templates stored?
688: [18:45:06] <ss23> andylockran: Originally, the one you do not want to edit, but instead use as a base for your own, is stored in the framework directory
689: [18:45:09] <ss23> sec, I'll find it
690: [18:45:20] * unsignedint quit (Ping timeout: 256 seconds)
691: [18:46:33] <ss23> blargh
692: [18:46:40] <ss23> Where the hell is it >.>
693: [18:47:59] <Alexw> Does nobody knows how to limit cms languages?
694: [18:48:15] <Alexw> So that the user only can select between 2 languages for example
695: [18:53:03] <andylockran> seems like some magic is at play ss23 ... can't for the life of me find it
696: [18:53:49] <Alexw> security_login.ss
697: [18:53:53] * _dn quit (Ping timeout: 250 seconds)
698: [18:53:53] <ss23> ^^
699: [18:53:55] <ss23> SO HANDY :D
700: [18:54:02] <ss23> It uses the normal login form by default
701: [18:58:31] <Alexw> Where should I debug if I only get this message when going to a specific page: "Sorry, there was a problem with handling your request."
702: [18:59:50] <Alexw> And on that page the item of it disapears in the navigation
703: [19:00:16] <simon_w> Alexw, enable dev mode, then look at the response from the server
704: [19:00:34] <Alexw> It is enabled
705: [19:00:38] <Alexw> It was never disabled
706: [19:00:46] <Alexw> It is on the frontend
707: [19:02:23] <ss23> Webserver logs?
708: [19:02:34] <Alexw> No errors
709: [19:03:39] * mobiusnz quit (Quit: Leaving.)
710: [19:04:46] <ss23> var_dump then
711: [19:04:47] <ss23> :D
712: [19:05:22] <Alexw> var_dump what?
713: [19:05:27] <Alexw> All I got is that message
714: [19:08:52] <Alexw> Seems like dev was not actived
715: [19:08:54] <Alexw> Use isDev=1
716: [19:08:57] <Alexw> It's werid
717: [19:09:06] <Alexw> Maybe it's module specific if development is activated?
718: [19:09:25] <simon_w> You have to enable it. It's not on by default
719: [19:09:35] <Alexw> I enabled it in mysite
720: [19:09:39] <Alexw> but not anywhere wlese
721: [19:12:47] <Alexw> I'm using this page type: https://github.com/bluehousegroup/silverstripe-contact-form. But it complains about that ToTemplate does not exsits at ContactForm.ph
722: [19:12:48] <Alexw> p
723: [19:13:01] <Alexw> I mean: ForTemplate
724: [19:13:25] <Alexw> Is there a difference between 3.0 and 3.1 regarding this function?
725: [19:14:49] <Alexw> Any suggestions?
726: [19:14:59] * _dn has joined #silverstripe
727: [19:15:16] <ss23> simon_w: I wanna go back to sleep ;_;
728: [19:15:21] <ss23> How do you even handle waking up this early
729: [19:17:38] <simon_w> I stop being tired and be awesome instead.
730: [19:17:43] <simon_w> True story.
731: [19:19:03] <ss23> :<
732: [19:22:07] * pippy quit (Ping timeout: 246 seconds)
733: [19:23:59] * pippy has joined #silverstripe
734: [19:24:57] <simon_w|air> Yay, screen sharing's working!
735: [19:25:14] * simon_w|air is at home
736: [19:25:16] * simon_w is at work
737: [19:25:57] * Alexw between now and a second ago
738: [19:27:04] <simon_w> Anyway, the forTemplate() error means you're returning the page directly into a template, which doesn't work
739: [19:27:09] * mobiusnz has joined #silverstripe
740: [19:27:40] <Alexw> How to fix this?
741: [19:27:54] <simon_w> Don't pass it directly into a template
742: [19:28:11] <Alexw> It is not my module
743: [19:29:00] <Alexw> At ContactFormPage_Controller he returns Injector::inst()->createWithArgs($class, $args)
744: [19:33:42] * DigNZ has joined #silverstripe
745: [19:34:59] <Alexw> Nvm, fixed it
746: [19:35:01] <Alexw> brb
747: [19:35:03] * Alexw quit ()
748: [19:40:41] * nickmolhoek has joined #silverstripe
749: [19:52:02] * nickmolhoek quit (Quit: nickmolhoek)
750: [20:01:00] * skorp has left #silverstripe
751: [20:01:33] <andylockran> Is there a trick to getting siblings of a page?
752: [20:02:38] * zippy__ has joined #silverstripe
753: [20:04:37] <simon_w> $this->Parent()->AllChildren()
754: [20:07:23] * UncleCheese has joined #silverstripe
755: [20:07:51] <guzzlefry> Hs anyone dealt with Exchange servers?
756: [20:10:23] * stecman has joined #silverstripe
757: [20:12:17] <andylockran> a bit - they're horrid
758: [20:12:28] <andylockran> Parent.Children() in a template == Siblings()
759: [20:15:07] * UndefinedOffset quit (Quit: Leaving.)
760: [20:29:05] * wilr_ has joined #silverstripe
761: [20:31:09] <zippy__> When we say a mobile number, why do we say oh two seven (eg 027) instead of zero two seven - become really conscious of it…. argh!
762: [20:31:22] <ss23> haha zippy__
763: [20:31:31] <ss23> We also say "oh 800" etc
764: [20:31:41] <zippy__> yeap
765: [20:31:45] <zippy__> weird
766: [20:31:48] <ss23> Hmm
767: [20:31:54] <guzzlefry> You don't say zed two seven in those parts?
768: [20:32:02] <ss23> z27?
769: [20:32:03] <zippy__> :P
770: [20:32:06] <guzzlefry> oh wait
771: [20:32:08] <guzzlefry> I'm dumb
772: [20:32:17] <zippy__> haha
773: [20:32:24] <guzzlefry> shit
774: [20:32:29] <ss23> rofl
775: [20:32:30] <guzzlefry> you know I'm american now
776: [20:32:40] <guzzlefry> :P
777: [20:32:41] <ss23> Anyway, this 7am release ruined me, I'm going for a nap
778: [20:32:45] <ss23> Be back before 12 hopeuflly!
779: [20:32:55] <wilr_> ss23 what did you break?
780: [20:33:32] <simon_w> Himself
781: [20:33:37] <ss23> wilr_: ALMOST NOTHING
782: [20:33:54] <ss23> Someone was all "if director->isLive()" or w/e
783: [20:33:54] <simon_w> It's code I wrote! Of course it works!
784: [20:33:59] <ss23> So we didn't find it until release
785: [20:34:04] <ss23> That was only real bug
786: [20:34:13] <ss23> There's also a bug with split preview being loaded over HTTP which cuases Chrome to die
787: [20:34:14] <zippy__> ss23: you'll get a call in an hour ;-)
788: [20:34:17] <ss23> think that's about it
789: [20:34:18] <ss23> ffff
790: [20:34:26] <ss23> ANYWAY, GOING TO BED NOW
791: [20:34:35] <zippy__> over http or https?
792: [20:34:37] <ss23> wilr_: (If you do need anything, just flick me an email)
793: [20:34:38] <Zauberfisch23> chillu: green button time
794: [20:34:49] <chillu> URL?
795: [20:35:05] <wilr_> thanks ss23, love you long time..
796: [20:35:29] <Zauberfisch23> https://github.com/silverstripe/silverstripe-framework/pull/2549
797: [20:35:54] <simon_w> That line looks too long
798: [20:36:07] <chillu> Zauberfisch23: once you fix the indentation, i'll merge ;)
799: [20:36:36] <Zauberfisch23> ah, damn it, bloody hell
800: [20:36:44] <zippy__> and the comment
801: [20:36:47] <zippy__> ...which will not be i
802: [20:36:53] <zippy__> not be what?
803: [20:38:18] * Pyromanik has joined #silverstripe
804: [20:43:19] <Zauberfisch23> chillu: done
805: [20:43:28] <Zauberfisch23> even added a comment with reserch links
806: [20:43:42] <Zauberfisch23> and the comment in the code
807: [20:43:53] <Zauberfisch23> diligent me
808: [20:44:19] <simon_w> Zauberfisch23, you mean that comment that cuts out midway through?
809: [20:44:26] <simon_w> Also, line is way too long
810: [20:45:06] <Zauberfisch23> its a 1 liner, I can't just break it
811: [20:45:13] <simon_w> Yes you can
812: [20:45:44] <Zauberfisch23> but it makes me feel uncomfortable
813: [20:45:53] <simon_w> http://php.net/manual/en/language.operators.string.php
814: [20:46:09] <simon_w> And a line more than double the limit doesn't?
815: [20:46:21] <Zauberfisch23> nope, thats fine by me
816: [20:46:25] <Zauberfisch23> :P
817: [20:46:26] <simon_w> Too bad :p
818: [20:46:29] <Zauberfisch23> ok, ok
819: [20:46:32] <Zauberfisch23> I'll change it
820: [20:46:40] <Zauberfisch23> but then I would have to refactor the whole file
821: [20:46:43] <Zauberfisch23> I mean look at it
822: [20:46:52] <Zauberfisch23> there is barely a line shorter than the limit
823: [20:47:08] <Zauberfisch23> and just fixing 1 line makes me even more http://php.net/manual/en/language.operators.string.php
824: [20:47:12] <Zauberfisch23> fail paste ...
825: [20:47:37] <Zauberfisch23> * and just fixing 1 line and keeping the others wrong makes me even more uncomfortable
826: [20:48:19] <zippy__> refactor :)
827: [20:48:58] <simon_w> Gotta start somewhere
828: [20:49:41] <simon_w> And I should make scrutinizer check .php5 files
829: [20:53:50] <chillu> Zauberfisch23: merged
830: [21:00:03] <Pyromanik> Maybe someone here can help a brother out:
831: [21:00:34] <Zauberfisch23> ty
832: [21:00:55] <Pyromanik> why does: <% if ID %>stuff for a saved DO<% else %>you'd expect this to work for unwritten objects, but it doesn't<% end_if %>
833: [21:02:14] <Pyromanik> shit sorry
834: [21:02:47] <Pyromanik> why does: <% if ID %>You'd expect this to work for written objects, but it doesn't<% else %>This is ALWAYS output.<% end_if %>
835: [21:03:19] <Pyromanik> I had to fall back on <% if Created %>This works as expected<% end_if %>
836: [21:04:08] <Pyromanik> is it to do with Int fields? Because now I have another one and the same dealyo is happening.
837: [21:04:29] <Pyromanik> I am less than impressed, and it's swallowing up my time :(
838: [21:04:53] <simon_w> Does <% if $ID != 0 %> work?
839: [21:05:26] * pippy_ has joined #silverstripe
840: [21:05:38] <Pyromanik> Nope.
841: [21:06:55] <Pyromanik> hmm
842: [21:06:59] <Pyromanik> bbl
843: [21:07:41] * pippy quit (Ping timeout: 245 seconds)
844: [21:14:35] <Zauberfisch23> chillu simon_w: wait a second, we don't have spaces bewtween if and (
845: [21:14:36] <Zauberfisch23> ?
846: [21:14:43] <Zauberfisch23> if() instead of if ()
847: [21:14:43] <Zauberfisch23> :O
848: [21:15:35] <UncleCheese> PSR-0, baby
849: [21:16:26] <Zauberfisch23> ...
850: [21:16:27] <Zauberfisch23> oh noez
851: [21:16:37] <Zauberfisch23> I have been doing it wrong the whole time
852: [21:16:43] <Zauberfisch23> my life is destroyed
853: [21:16:51] <zippy__> This refactor getting bigger and bigger eh!
854: [21:16:59] <Zauberfisch23> haha yeah
855: [21:17:06] <Zauberfisch23> bloody 1 line patch turned into 2 hours
856: [21:17:26] <zippy__> "Sorry boss, it's a rewrite… missed a space on all my conditionals"
857: [21:17:48] <zippy__> just say your optimizing the code, making it smaller
858: [21:18:26] <Zauberfisch23> boom
859: [21:18:27] <Zauberfisch23> https://github.com/silverstripe/silverstripe-framework/pull/2550/files
860: [21:18:37] <Zauberfisch23> 1 line actuall code change
861: [21:18:59] <Zauberfisch23> 294+143 lines code change for making it look pretty
862: [21:19:26] <zippy__> typically, I do white space commits as a seperate commit - so you can easily see real code changes…. but thats my 2c
863: [21:19:30] <Zauberfisch23> well, to be fair its just 150lines
864: [21:20:00] <Zauberfisch23> simon_w: happy now? https://github.com/silverstripe/silverstripe-framework/pull/2550/files
865: [21:23:29] <simon_w> No, hence the comfort food
866: [21:30:05] <simon_w> Mmm, comfort food. So good.
867: [21:32:12] * pippy_ is now known as pippy
868: [21:37:30] <Zauberfisch23> ^^
869: [21:37:46] <Zauberfisch23> simon_w or chillu greenbutton it please
870: [21:37:53] <simon_w> Though I'm running out of chocolate
871: [21:37:54] <simon_w> Hmmm
872: [21:38:50] <UncleCheese> The US government is open again until 15 Jan. Sweet as.
873: [21:40:32] <Pyromanik> So since the govt. is shut, that means no taxes right?
874: [21:40:51] <Pyromanik> forced unpaid leave
875: [21:40:52] <Pyromanik> etc
876: [21:41:03] <Pyromanik> don't pay your politicians, they should do it because they love the country!
877: [21:41:54] <zippy__> I bet if they weren't getting paid it would of been resolved much faster
878: [21:42:19] <UncleCheese> yeah, you guys are right
879: [21:42:24] <UncleCheese> they still get paid like $400/day
880: [21:42:47] <simon_w> That's like twice my pay! Jerks.
881: [21:47:59] <Pyromanik> hmm, solved the other field, was trying to save float as varchar, so instead of converting float to string, it just stored ""
882: [21:48:09] <Pyromanik> But the ID issue still remains!
883: [21:48:18] <simon_w> What does $ID give?
884: [21:48:21] <Pyromanik> I got around it, but I'm still curious, it should work right?
885: [21:48:23] <zippy__> whats the value of it?
886: [21:49:35] <Pyromanik> ID = $ID (<% if ID %>has ID<% else %>no ID set<% end_if %>)
887: [21:49:49] <Pyromanik> renders: ID = 20 (no ID set)
888: [21:50:19] <zippy__> not in some other scope like a page or something?
889: [21:50:26] <Pyromanik> dude
890: [21:50:30] <Pyromanik> that EXACT statement.
891: [21:51:42] <zippy__> ah mm
892: [21:52:15] <Pyromanik> from $dataObject->renderWith('anIncludeTemplate')
893: [21:52:39] <Pyromanik> but also from a page layout PageName_action.ss
894: [21:52:48] <Pyromanik> which <% include thatSameInclude %>
895: [21:53:02] <Pyromanik> both render the same thing (as above)
896: [21:53:04] <zippy__> <% if $ID %> ? when do or don't you need the $ in the if? will it call a function or object variable first?
897: [21:53:13] <Pyromanik> no
898: [21:53:16] <Pyromanik> it's not needed.
899: [21:53:23] <Pyromanik> tested with it anyway, same result
900: [21:53:50] <Pyromanik> zippy__: support for it was added in 3.0 for consistency
901: [21:53:57] <Pyromanik> visual consistency that is.
902: [21:57:10] <Pyromanik> so:
903: [21:57:18] <zippy__> fixed/
904: [21:57:19] <Pyromanik> [...] ID = $ID (<% if $ID %>has ID<% else %>no ID set<% end_if %>)<% with MyDataObject %>ID = $ID (<% if $ID %>has ID<% else %>no ID set<% end_if %>)<% include TheSameIncludeAsAlways %>ID = $ID (<% if $ID %>has ID<% else %>no ID set<% end_if %>) [...]
905: [21:57:29] <Pyromanik> gives back:
906: [21:57:43] <Pyromanik> ID = (no ID set) ID = 20 (no ID set) ID = 20 (no ID set)
907: [21:57:54] <Pyromanik> errr
908: [21:58:10] <Pyromanik> where the last call is actually inside the include (not so clear from above)
909: [21:58:27] <zippy__> so the very first one was right then?
910: [21:58:30] <Pyromanik> so inside and outside the include returns the same thing, basically
911: [21:58:37] <Pyromanik> zippy__: no, very first one is outside the <% with %>
912: [21:58:47] <Pyromanik> ie, the controller
913: [21:58:49] <zippy__> ID = (no ID set)
914: [21:58:56] <Pyromanik> (extends controller, there is no ID)
915: [21:58:59] <zippy__> i c
916: [21:59:33] <Pyromanik> but <% with MyDataObject %> returns a valid (and written) dataobject (with an ID of 20)
917: [22:02:15] <Pyromanik> A curiosity.
918: [22:02:20] <Pyromanik> not blocking my work, so enjoy it.
919: [22:02:30] <Pyromanik> First to solve gets a clap.
920: [22:02:39] <Pyromanik> (not to be confused with THE clap).
921: [22:04:47] * antmas has joined #silverstripe
922: [22:05:09] <antmas> weird, the recapture didn't register correctly and I still got in 0.o
923: [22:05:24] <zippy__> hacker
924: [22:06:27] <antmas> hooray, embargo is finally working \o/
925: [22:06:36] <antmas> \o\
926: [22:07:09] * aznain has joined #silverstripe
927: [22:08:04] <guzzlefry> Pyromanik: What the problem is?
928: [22:08:10] * violetina quit (Remote host closed the connection)
929: [22:09:07] <Pyromanik> guzzlefry: read up?
930: [22:09:34] <Pyromanik> antmas: recapture only checks one value.
931: [22:09:47] * EasyCo has joined #silverstripe
932: [22:10:01] <Pyromanik> one it knows, the other it's trying to decipher as part of the whole book thing.
933: [22:10:01] * DigNZ quit (Quit: DigNZ)
934: [22:10:15] <aznain> SS3: "A" and "B" are dataobjects. I did left join A on B which returns all columns from A. In the result set, I want to add a column "PublishedDate" from B into result set which at the moment contain only columns from A. How can I do that ?Please help
935: [22:10:51] * SightUnseen has joined #silverstripe
936: [22:11:01] * SightUnseen has left #silverstripe
937: [22:11:06] * antmas_ has joined #silverstripe
938: [22:11:14] <aznain> Or is there anyway to add custom column / field into result set before sending it to template ?
939: [22:11:57] <guzzlefry> Pyromanik: Did you bother checking what the actual value of the $IDs were?
940: [22:12:06] <zippy__> lol
941: [22:12:29] <guzzlefry> oh wait
942: [22:12:34] <guzzlefry> Looks like you did.
943: [22:13:13] * antmas quit (Ping timeout: 250 seconds)
944: [22:13:54] <Pyromanik> guzzlefry: here is a summary: http://logs.simon.geek.nz/index.php?date=2013-10-17#log_1083223
945: [22:14:05] <aznain> anybody ?
946: [22:14:27] * _dn quit (Quit: Page closed)
947: [22:14:50] <guzzlefry> aznain: B.PublishedDate I think
948: [22:15:08] <guzzlefry> Guessing, I haven't really messed with joins in this yet.
949: [22:16:12] * Colin[pi] has joined #silverstripe
950: [22:17:12] <Pyromanik> new info:
951: [22:17:17] <Zauberfisch23> good night
952: [22:17:20] <Pyromanik> $ID.Debug
953: [22:17:21] <Pyromanik> Name:ID
954: [22:17:21] <Pyromanik> Table:
955: [22:17:21] <Pyromanik> Value:20
956: [22:17:39] * UncleCheese quit (Quit: UncleCheese)
957: [22:17:41] <Pyromanik> would the lack of table info cause it simon_w? I wouldn't think so...
958: [22:17:48] <simon_w> Nope
959: [22:23:14] * DigNZ has joined #silverstripe
960: [22:23:27] * UncleCheese has joined #silverstripe
961: [22:24:17] <guzzlefry> Pyromanik: excuse my derp, So an unwritten dataobject is returning an ID? >_>
962: [22:24:41] * guzzlefry might be too sleepy to be attempting this. :P
963: [22:25:06] <Pyromanik> $Debug gives all the info from the object, including ID: 20
964: [22:25:58] * gdfgdfgdf has joined #silverstripe
965: [22:26:20] * gdfgdfgdf quit (Client Quit)
966: [22:26:27] * DigNZ quit (Client Quit)
967: [22:29:35] * DigNZ has joined #silverstripe
968: [22:33:30] * DigNZ quit (Client Quit)
969: [22:36:07] <Pyromanik> Vote time: should FieldList::removeByName return the removed object, or return $this? (it currently makes either a simple return; or does not return)
970: [22:36:33] <Pyromanik> bonus third option: param flag to return object, else return $this
971: [22:37:10] <EasyCo> $this
972: [22:37:16] <zippy__> should return the fieldlist without the object anymore
973: [22:37:23] <zippy__> so i guess, this
974: [22:38:31] <simon_w> It should return the value of the field! :p
975: [22:52:46] <pippy> /join #swig
976: [22:52:54] <zippy__> O.o
977: [22:53:03] <pippy> ops
978: [22:53:20] <zippy__> could of been worse
979: [22:56:32] * travis-ci has joined #silverstripe
980: [22:56:33] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1290 (3.1 - 0d1c960 : Ingo Schommer): The build passed.
981: [22:56:33] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/559743c75fcb...0d1c9602e841
982: [22:56:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12642460
983: [22:56:33] * travis-ci has left #silverstripe
984: [22:57:44] <EasyCo> Member::currentUser()->Locale is that grabbed from the Interface Language in Security>
985: [23:00:30] <andylockran> hey guys - is it difficult to set a has_one field as a displayfield?
986: [23:01:02] <andylockran> I get the method fortemplate does not exist on the has_one field
987: [23:01:33] * DigNZ has joined #silverstripe
988: [23:01:36] <simon_w> You need to access a field on it, like Name
989: [23:01:43] <simon_w> So, RelName.Name
990: [23:02:16] <andylockran> Ok - thanks
991: [23:02:58] * DesignerX has joined #silverstripe
992: [23:03:37] <EasyCo> Ok ok, so if CountryDropdownField defaults to the logged in locale and the only interface languages are en_GB and en_US where does that leave en_NZ and en_AU?
993: [23:12:43] <Pyromanik> how to turn form fields to read only?
994: [23:12:59] <Pyromanik> ->applyReadonlyTransformation seems to do sweet jackall
995: [23:13:01] * guci0 quit (Ping timeout: 250 seconds)
996: [23:13:22] <EasyCo> ->setReadonly() ?
997: [23:13:28] <Pyromanik> yeah you'd think that
998: [23:13:30] <Pyromanik> but nah
999: [23:14:06] <EasyCo> Jus tuse setAttribute()?
1000: [23:14:31] <Pyromanik> nah they render differently.
1001: [23:15:06] <EasyCo> Render different how to what?
1002: [23:15:39] <Pyromanik> that would be performDisabledTransformation
1003: [23:16:08] <EasyCo> Good to know
1004: [23:17:18] <Pyromanik> urgh they return clones, and don't modify the current field.
1005: [23:17:27] <Pyromanik> ffs
1006: [23:17:50] <Pyromanik> should be called cloneReadOnly
1007: [23:28:00] * chillu quit (Quit: chillu)
1008: [23:28:30] <EasyCo> We'll that was easy. Just needed to duplicate framework/lang/en_GB.yml to en_AU.yml the occurrence of en_GB: to en_AU:
1009: [23:33:23] * nickmolhoek has joined #silverstripe
1010: [23:45:22] <Colin[pi]> yay refactoring
1011: [23:46:11] * UncleCheese quit (Quit: UncleCheese)
1012: [23:47:35] <EasyCo> +1 refactoring
1013: [23:48:43] <simon_w> Yay, pizza
1014: [23:49:15] <EasyCo> +2 pizza
1015: [23:49:32] <simon_w> Well, there's three of them
1016: [23:49:59] <EasyCo> Sorry, +6 then.
1017: [23:54:47] * wilr_ quit (Quit: wilr_)
1018: [23:55:18] <guzzlefry> making pasta with PHP
1019: [23:57:26] <ss23> blarrgghhh
1020: [23:57:29] <ss23> Awake now :<
1021: [23:58:34] <simon_w> Only an hour late
1022: [23:58:44] <ss23> What!
1023: [23:58:45] <ss23> Not even
1024: [23:58:54] <ss23> I was meant to be in to work at 10am, it's now 1pm and I'm at home
1025: [23:58:54] <simon_w> You said 12!
1026: [23:58:54] <ss23> :P
1027: [23:58:55] <simon_w> It's 13!
1028: [23:58:59] <ss23> PSH
1029: [23:58:59] <spronk> jesus fucking christ on a stick.
1030: [23:59:07] <ss23> I said I would be in to work at 12, I'm not at work
1031: [23:59:07] <ss23> :D
1032: [23:59:11] <ss23> Might just work at home today
1033: [23:59:21] <spronk> our main linux vm refuses to connect to any of our services
1034: [23:59:25] <simon_w> Nope, not allowed
1035: [23:59:25] <spronk> but connects just fine to anything else
1036: [23:59:26] <spronk> WTF
1037: [23:59:42] <ss23> simon_w: Your mom isn't allowed!
1038: [23:59:42] <ss23> :<
1039: [23:59:59] <simon_w> ss23, mom? What's that?

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