#silverstripe IRC Log

IRC log for 30 January 2014

All timestamps are in UTC.

1: [00:00:39] <Zauberfisch> terryapodaca:
2: [00:00:39] <Zauberfisch> Error 1001 Ray ID: f49e1f07aa90563
3: [00:00:40] <Zauberfisch> DNS resolution error
4: [00:01:23] <Zauberfisch> ah, right cloudflare
5: [00:01:27] <Zauberfisch> should have read furhter (:
6: [00:01:56] <Zauberfisch> terryapodaca: what was the former IP of that server so i can bypass cloudflare?
7: [00:04:11] <terryapodaca> try 64.111.100.225
8: [00:05:06] <terryapodaca> I pulled the site down locally, got the most recent copy of the DB and it runs so much fast here on my local machine
9: [00:06:27] <terryapodaca> and don't forget, this is a 2.4.10 site running on php 5.3 I never upgraded the PHP and they dont want to pay to upgrade the site to ss3 yet
10: [00:06:47] <Zauberfisch> that's odd. i must be doing something wrong. still hitting cloud flare
11: [00:07:11] <Zauberfisch> ah, bloody firefox cache
12: [00:07:19] <terryapodaca> ugh...lol
13: [00:07:31] <Zauberfisch> getting [Notice] Array to string conversion
14: [00:07:49] <terryapodaca> yeah, i get that too when I put the site in Dev mode
15: [00:08:51] <Zauberfisch> for the sake of debuging the performance here, I suggest you disable those warnings
16: [00:09:06] <terryapodaca> how do I do that?
17: [00:10:34] * chillu_23 has joined #silverstripe
18: [00:10:38] <Zauberfisch> error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
19: [00:10:42] <Zauberfisch> in your _config.php
20: [00:11:13] <antmas> herp derp, class not defined P
21: [00:11:16] <antmas> :P
22: [00:11:21] <guzzlefry> :P
23: [00:11:43] <guzzlefry> Any error that takes me more than 20 minutes to track down is usually something facepalm worthy. :P
24: [00:11:54] <ss23> What about the 4+ hour issues
25: [00:12:08] <simon_w> terryapodaca, I have a feeling your page is slow because that's a crapton of queries
26: [00:12:14] <guzzlefry> ss23: Those require hospital visits and new desks.
27: [00:12:19] <ss23> lol
28: [00:12:26] <ss23> simon_w: I'm getting lunch
29: [00:12:29] <ss23> simon_w: Do you wnana get lunch?
30: [00:12:36] <simon_w> ss23, good for you!
31: [00:13:33] <guzzlefry> Testing that a SS_DateTime field is not set...how do?
32: [00:13:34] <ss23> simon_w: I'LL TKAE THAT AS A NO
33: [00:13:35] <ss23> :(
34: [00:14:09] <guzzlefry> iirc MySQL does something silly like setting what should be NULL datetimes to 00-00-00 00:00:00
35: [00:14:11] <simon_w> ss23, and I'll go back to this iOS dev work!
36: [00:14:28] <ss23> :(
37: [00:14:29] * ss23 cries
38: [00:14:32] * ss23 runs away crying
39: [00:14:40] <guzzlefry> :(
40: [00:14:41] * Liquide has joined #silverstripe
41: [00:15:08] <Colin[pi]> poor ss23
42: [00:15:18] <antmas> hugs ss23
43: [00:18:39] <antmas> hooray, form working now :D
44: [00:18:45] <antmas> what a mission
45: [00:19:30] <Colin[pi]> congrats
46: [00:20:19] <antmas> all to get multiple table fields saving and manageable for a form o.O
47: [00:21:25] <guzzlefry> oh
48: [00:21:44] <guzzlefry> How does SilverStripe treat null values in the database, as empty strings?
49: [00:22:19] <guzzlefry> as far as filter() is concerned...
50: [00:22:33] * zippy_ has joined #silverstripe
51: [00:22:49] <Colin[pi]> guzzlefry: as NULL I believe
52: [00:23:08] <antmas> Colin[pi]: NULL as in a string? or actually a null value?
53: [00:23:11] * samey6 has joined #silverstripe
54: [00:23:13] <Colin[pi]> a NULL value
55: [00:23:22] <guzzlefry> nevermind...
56: [00:24:12] <guzzlefry> I needed to test that a dataobject's datetime was either null or not less than NOW()
57: [00:24:32] <samey6> Can some one help me, What's the best way to read a local xml file inside SS controller
58: [00:24:43] <guzzlefry> Reazlied I can use the mutually exclusive DateTime < NOW() :P
59: [00:26:36] <Colin[pi]> samey6: there is an XML class I believe, but I usually use simplexml
60: [00:27:15] * violet- quit (Remote host closed the connection)
61: [00:27:51] <Zauberfisch> terryapodaca: its your database queires
62: [00:28:11] <Zauberfisch> just took the liberty of counting your DB queiry times
63: [00:28:22] <Zauberfisch> they add up to: 24.330800000000004
64: [00:28:47] <Zauberfisch> oh, hold on, that might be ms
65: [00:28:49] <Colin[pi]> it's that 00000000004 that makes the difference
66: [00:29:47] <Zauberfisch> simon_w: when silverstripe reports 0.1767ms
67: [00:30:04] <Zauberfisch> am I to take that this means acutal 0.2 milliseconds?
68: [00:30:21] <Zauberfisch> or does that in fact mean ~0.2 seconds?
69: [00:31:18] <Colin[pi]> 0.2 seconds would seem more likely
70: [00:31:19] <simon_w> It's milliseconds
71: [00:31:29] <simon_w> Wait, no, it's seconds
72: [00:31:49] <guzzlefry> I asked that about 15 minutes ago. :P
73: [00:31:58] <guzzlefry> Someone ougtha fix that. :/
74: [00:32:02] <Zauberfisch> terryapodaca: if that is seconds, than your problem are the DB queires
75: [00:32:11] <Zauberfisch> either to heavy queires, or your DB server sucks
76: [00:32:32] <guzzlefry> I think he said it was fast on his local server? In which case I'd bet on the latter.
77: [00:33:49] <samey6> thanks Colin
78: [00:34:46] <Zauberfisch> terryapodaca: to sum it up:
79: [00:35:09] <UncleCheese> he immigration NZ website is hopelessly fucked.. can we get SilverStripe on this?
80: [00:35:23] <Zauberfisch> your startpage makes 95 DB queires which take overall around 24.3 seconds I think
81: [00:35:47] <Zauberfisch> unless I am majorly mistaken. but 24ms for 95 queires would be rather fast
82: [00:37:36] <guzzlefry> Well, my plan didn't work. Testing that the date is less than NOW() fails because the date is NULL...
83: [00:37:47] <Zauberfisch> and btw the number of quieres is not the problem, locally one of my sites runs 135 queires in 0.0652 seconds
84: [00:38:53] <zippy_> could of index'd some columns locally, forgot to index tem remote?
85: [00:39:03] * unsignedint quit ()
86: [00:40:24] <Zauberfisch> terryapodaca: how big is your database?
87: [00:41:25] <ss23> https://twitter.com/hellNbak_/status/428684501594558465 rofl
88: [00:41:35] <Zauberfisch> terryapodaca: from this point, I would really investigate your database server
89: [00:46:38] * ObiWanShanobi has joined #silverstripe
90: [00:47:24] * unsignedint has joined #silverstripe
91: [00:48:03] <guzzlefry> help! http://sspaste.com/paste/show/52e99e411e00f
92: [00:48:17] * ObiWanShanobi quit (Client Quit)
93: [00:49:20] <ss23> guzzlefry: o.o
94: [00:49:28] <guzzlefry> What am I doing wrong? :P
95: [00:49:50] <ss23> idk
96: [00:49:55] <ss23> uh
97: [00:49:56] <ss23> wait
98: [00:50:00] <ss23> you use a ,
99: [00:50:03] <ss23> you mean =>
100: [00:50:20] <guzzlefry> There goes the desk!
101: [00:50:22] <guzzlefry> :P
102: [00:50:27] <guzzlefry> thanks ss23
103: [00:50:32] <ss23> lol
104: [00:50:58] <guzzlefry> yay well
105: [00:51:29] <guzzlefry> Now I realize that most of my code could have been a single query... :P
106: [00:51:51] <ss23> lol
107: [00:52:39] <guzzlefry> Now...
108: [00:52:58] <guzzlefry> meh, I think I've hit my limit for thinking today.
109: [00:58:05] <terryapodaca> Zauberfisch & simon_w: agree....after doing several tests both on the server and locally....even my local machine runs that same amount of queries in less than 2 seconds
110: [00:58:59] <terryapodaca> I now need to investigate the MySQL db server being used on the production site.
111: [01:00:26] <terryapodaca> guzzlefry: i feel the same way...been at this for a few too many hrs today...it's 7pm my time and i've been here since 7am
112: [01:00:46] <terryapodaca> time for a beer and hot tub in this 30degree weather!
113: [01:02:52] <Zauberfisch> pfff, slacker
114: [01:02:57] <Zauberfisch> its 2 AM here
115: [01:03:25] <terryapodaca> lol...i haven't left yet
116: [01:03:54] <Zauberfisch> neither have I
117: [01:03:58] <Zauberfisch> still in the office
118: [01:04:53] <terryapodaca> btw, the DB is 32.66 MB
119: [01:05:04] <terryapodaca> but i have sites with more data than that
120: [01:05:10] <terryapodaca> and they run like silk
121: [01:10:50] <antmas> it's only 2.10pm :(
122: [01:10:53] <antmas> such tired
123: [01:11:01] <ss23> ISIG tonight, so I'll be leaving early!
124: [01:11:01] <ss23> :D
125: [01:13:06] <antmas> ISIG?
126: [01:13:43] * travis-ci has joined #silverstripe
127: [01:13:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1827 (3.1 - 587c489 : Will Rossiter): The build passed.
128: [01:13:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6d9d53059c59...587c489d0f03
129: [01:13:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/17877594
130: [01:13:43] * travis-ci has left #silverstripe
131: [01:14:07] <antmas> Iappropriate Slapping of irogue23 's Genitals?
132: [01:14:12] <antmas> :D
133: [01:15:17] * antmas quit (Quit: Page closed)
134: [01:15:33] * antmas has joined #silverstripe
135: [01:23:00] * ObiWanShanobi has joined #silverstripe
136: [01:23:56] <antmas> come onnnnn 3 day weekend
137: [01:24:08] <ss23> What?!
138: [01:24:11] <ss23> Oh... not me, right? :(
139: [01:26:47] <simon_w> Sucker!
140: [01:26:51] <antmas> :D
141: [01:26:57] <antmas> Nelson Anniversay
142: [01:27:02] <antmas> Anniversary*
143: [01:27:49] <ss23> mm
144: [01:27:51] <ss23> lucky!
145: [01:27:52] <ss23> :(
146: [01:28:41] <antmas> hmmm
147: [01:28:42] <antmas> Parameter to ArrayData constructor needs to be an object or associative array
148: [01:28:47] * terryapodaca has left #silverstripe
149: [01:28:51] <antmas> for requiredFields...
150: [01:29:28] <antmas> what is?
151: [01:31:20] <antmas> halp :(
152: [01:31:26] <guzzlefry> uhh
153: [01:31:39] <ss23> what
154: [01:31:55] <antmas> ^^^ requiredfields error
155: [01:31:56] <guzzlefry> antmas: what's the code?
156: [01:32:00] <guzzlefry> OH
157: [01:32:07] <guzzlefry> it just so happens that I documented this...I think. :P
158: [01:32:23] <antmas> hmmm
159: [01:32:30] * guzzlefry checks.
160: [01:32:44] <antmas> it's the ONLY fields I want as required lol
161: [01:32:47] <antmas> and it le fails
162: [01:33:19] <guzzlefry> antmas: which line is code is failing?
163: [01:33:25] <guzzlefry> the constructor?
164: [01:33:38] <antmas> lemme check
165: [01:33:53] <simon_w> ALL OF THEM
166: [01:34:01] <antmas> I'm only using new RequiredFields(array('Organ'))
167: [01:34:06] <antmas> Organ being a simple text field
168: [01:34:53] <antmas> ...and adding an extra class to style it
169: [01:37:42] <guzzlefry> So...
170: [01:37:42] * wracu has joined #silverstripe
171: [01:37:48] <guzzlefry> Somethin' ain't right
172: [01:37:53] <antmas> hmmm
173: [01:38:24] <antmas> my FieldList is an array
174: [01:38:27] <antmas> ...
175: [01:38:42] <wracu> So i have a ModelAdmin which I can use to manage DataObjects (each has several tabs). One quirk I have noticed is that no matter which tab of the DataObject you are on... Silverstrip remembers where you were and presents that same screen when you open the DataObject again.
176: [01:38:44] <wracu> Is this normal?
177: [01:38:57] <wracu> Can I force the user back to the first tab when they leave then reopen the DataObject?
178: [01:39:53] <wracu> The reason this is an issue is that if you create a new DataObject, generally the last tab is where you finish creating it. So..... every time you open one to edit it, you are right back at the last tab.
179: [01:40:56] <antmas> should it matter if my Fields are in an array?
180: [01:42:27] <guzzlefry> I don't think so...
181: [01:43:06] <antmas> guzzlefry: the error message makes me think so though... "Uncaught InvalidArgumentException: Parameter to ArrayData constructor needs to be an object or associative array"
182: [01:44:13] <zippy_> antmas: show a little of the code there please
183: [01:44:48] <zippy_> are you assigning new RequiredFields(array('Organ')) to a variable, or going straight into the form constructor?
184: [01:45:35] <antmas> zippy_: http://www.sspaste.com/paste/show/52e9abbedc767
185: [01:46:03] <antmas> I should probably be assigning it to $fields maybe?
186: [01:47:27] <simon_w> antmas, the validator isn't an action, shouldn't be in $actions
187: [01:47:39] <simon_w> Should be the fifth argument to the form constructor
188: [01:48:05] <zippy_> I think antmas head just exploded… the fire siren is going off in Richmond
189: [01:48:16] <simon_w> Pics!
190: [01:48:32] <antmas> zippy_: lol
191: [01:48:41] <antmas> only a quick one it seems
192: [01:50:42] * ObiWanShanobi quit (Quit: Leaving...)
193: [01:51:52] <antmas> simon_w: so, $validator?
194: [01:52:01] <antmas> or whatever I name it
195: [01:52:04] <simon_w> yeah
196: [01:52:15] <guzzlefry> I don't see anything that calls ArrayData in RequiredFields::__constuct()
197: [01:52:54] <simon_w> guzzlefry, don't worry, Piri's got this
198: [01:54:50] <simon_w> Keep Calm and Pass to Ifill
199: [01:55:54] <guzzlefry> Piri? 0.o
200: [01:57:27] <antmas> wait
201: [01:57:30] <antmas> something's not right
202: [01:57:39] <antmas> $validator = new RequiredFields(array('Organ'))
203: [01:57:45] <antmas> and then include it in constructor
204: [01:57:47] <antmas> right?
205: [01:59:24] * samey6_ has joined #silverstripe
206: [01:59:43] <antmas> guise?
207: [01:59:52] <guzzlefry> yeah
208: [01:59:59] * samey6 quit (Ping timeout: 240 seconds)
209: [02:00:19] <guzzlefry> new Form (controller, function_name, $fields, $actions, $validator); iirc...
210: [02:00:36] <antmas> guzzlefry: yup, still same error :(
211: [02:03:27] <simon_w> antmas, are you still including it in $actions?
212: [02:03:53] <antmas> http://www.sspaste.com/paste/show/52e9aff06b150
213: [02:04:21] <antmas> simon_w: yes
214: [02:04:22] <simon_w> Yes, you are
215: [02:04:27] <simon_w> antmas, sthap
216: [02:04:37] <simon_w> It's not an action
217: [02:04:48] <antmas> simon_w: so, where should it be?
218: [02:05:06] <simon_w> Inside the method, before you construct the form
219: [02:05:09] <simon_w> Not in a field set
220: [02:05:17] <antmas> oh
221: [02:06:35] <antmas> ofc
222: [02:07:22] <antmas> dataFieldByName is depcrecated?
223: [02:07:31] <simon_w> On Form, yes
224: [02:07:38] <simon_w> On FieldList, no
225: [02:10:10] <antmas> simon_w: zippy_ guzzlefry thanks guys
226: [02:10:15] <antmas> workin
227: [02:10:19] <guzzlefry> So
228: [02:10:34] <guzzlefry> $form->Fields()->FieldByName() if you wanted to get a field from a form?
229: [02:10:41] <zippy_> I didn't do anything…. was mostly simon_w
230: [02:10:50] <antmas> zippy_: nontheless
231: [02:12:05] <antmas> Ryan-Toast: you're only on a Learners?
232: [02:12:07] <antmas> :P
233: [02:12:25] <simon_w> http://www.keepcalm-o-matic.co.uk/p/keep-calm-and-ask-simon_w/
234: [02:14:15] * chillu_23 quit (Quit: chillu_23)
235: [02:14:21] <antmas> simon_w: XD
236: [02:14:24] <ss23> rofl simon_w
237: [02:14:30] <Zauberfisch> simon_w: haha
238: [02:14:31] <Zauberfisch> <3
239: [02:14:42] <Zauberfisch> have to book mark that
240: [02:14:55] <ss23> dammit
241: [02:15:02] <ss23> it generates it from canvas
242: [02:15:03] <ss23> can't hotlink it
243: [02:15:04] <ss23> :(
244: [02:15:14] <simon_w> http://s.geek.nz/calm
245: [02:15:17] <Zauberfisch> uhm
246: [02:15:18] <Zauberfisch> ss23: http://sd.keepcalm-o-matic.co.uk/i/keep-calm-and-ask-simon_w.png
247: [02:15:25] <ss23> chur!
248: [02:15:56] <ss23> http://chart.googleapis.com/chart?chs=300x225&cht=p&chd=s:9&chdl=Ambiguity&chtt=Your+question
249: [02:15:59] <ss23> ^^
250: [02:16:06] * chillu_23 has joined #silverstripe
251: [02:25:31] <ss23> guis, I have a SS_DateTime object
252: [02:25:40] <ss23> I want to do like $this->record->thefield = $thatObject;
253: [02:25:46] <ss23> But that doesn't work, so I did $thatObject->Nice()
254: [02:25:50] <ss23> But that seems to not work either
255: [02:25:53] <ss23> What is the 'right' way?
256: [02:25:57] <guzzlefry> wat
257: [02:26:10] <ss23> What is not to understand? o.o
258: [02:26:16] <ss23> I want to set a field to the value of my SS_Datetime object
259: [02:26:18] <ss23> I don't know how to
260: [02:26:22] <guzzlefry> oh
261: [02:26:44] <guzzlefry> $field = $date->format("Y-m-d h:i:s");
262: [02:26:45] <guzzlefry> I think...
263: [02:27:00] <ss23> blargh
264: [02:27:04] <ss23> That is stupidly unobvious
265: [02:27:05] <guzzlefry> I wonder if there's a cleaner way.
266: [02:27:06] <ss23> but yes, I can do this
267: [02:27:10] <guzzlefry> There should be a cleaner way...
268: [02:27:12] <ss23> will prob work just fine
269: [02:27:46] <ss23> Please enter a valid time format (h:mm:ss a)
270: [02:27:52] <guzzlefry> wait a second
271: [02:27:57] <ss23> oh
272: [02:27:59] <ss23> that prob unrelated
273: [02:28:15] <guzzlefry> ss23: Is $thatObject really an SS_Datetime instance?
274: [02:28:27] <guzzlefry> Because when you grab a date time from a DataObject, you get a string.
275: [02:28:28] <ss23> maybe
276: [02:28:29] <ss23> idk
277: [02:28:30] <ss23> I am bad
278: [02:28:39] <ss23> WORKS NOW
279: [02:28:40] <ss23> IS GOOD
280: [02:28:44] <ss23> TOO LAZY TO FIGURE OUT MORE
281: [02:28:45] <ss23> TY guzzlefry
282: [02:28:53] <guzzlefry> ss23: format worked?
283: [02:28:56] <ss23> yeah
284: [02:29:03] <guzzlefry> odd...Nice() should work
285: [02:29:24] <simon_w> Nice() is ambiguous
286: [02:29:59] <guzzlefry> SS_Datetime::Nice()? :P
287: [02:30:19] <ss23> idk, this work
288: [02:30:22] <ss23> I think Nice
289: [02:30:23] <simon_w> No, as in the output of it
290: [02:30:27] <ss23> I think Nice() was doing "12:00am"
291: [02:30:35] <ss23> which didn't work cause it expected it to be strict and wellformed
292: [02:30:40] <guzzlefry> uhm
293: [02:30:45] <guzzlefry> Returns the date in the raw SQL-format, e.g. “2006-01-18 16:32:04”
294: [02:30:57] <guzzlefry> Luccyyyy, you got some splainin to do
295: [02:31:06] <simon_w> The comment's wrong
296: [02:31:13] <simon_w> public function Nice() {
297: [02:31:13] <simon_w> if($this->value) return $this->Format('d/m/Y g:ia');
298: [02:31:14] <simon_w> }
299: [02:31:26] <guzzlefry> oh
300: [02:31:29] <guzzlefry> frickin evil
301: [02:31:59] * guzzlefry opens issue as blocker. :P
302: [02:32:47] <ss23> Oh man
303: [02:32:52] <ss23> I've been wanting to sneeze all day
304: [02:32:54] <ss23> Just got a double
305: [02:32:56] <ss23> feels good
306: [02:33:01] <ss23> OH I THINK I FEEL ANOTHER ONE
307: [02:33:01] <guzzlefry> dude
308: [02:33:07] <guzzlefry> I tried to sneeze with my mouth closed yesterday.
309: [02:33:09] <ss23> hmm nope false alarm
310: [02:33:09] <guzzlefry> Horrible idea.
311: [02:33:12] <ss23> lolwut
312: [02:33:17] <ss23> I always sneeze with my mouth closed
313: [02:33:26] <guzzlefry> a lot of people don't!
314: [02:33:30] <ss23> Well, if I'm in a place I don't want to spray things everywhere
315: [02:33:37] <ss23> My mother makes a weird/stupid noise when she sneezes
316: [02:33:58] <guzzlefry> Some girls make squeeky mouse noises when they sneeze.
317: [02:34:01] <simon_w> Sneezing into your mouth isn't a good idea. Your body's trying to expel that stuff for a reason
318: [02:34:18] <guzzlefry> meh
319: [02:34:22] <guzzlefry> it's reflect now :P
320: [02:34:31] <guzzlefry> anyway, it hurt really bad :/
321: [02:34:51] <ss23> It's your noise that's trying to expel it, and if my understsand is right, it's not a viral response (ignoring the obvious inflammation issues when you are infected virally) but a physiological one
322: [02:35:39] <Ryan-Toast> antmas: Lol, yeah learners rider :P
323: [02:35:42] <ss23> like being tickled, your body isn't trying to say "OH GOD STOP OR YOU'LL DIE", it's just the reponse, the same as nose hairs being tickled etc
324: [02:36:15] <simon_w> "The function of sneezing is to expel mucus containing foreign particles or irritants and cleanse the nasal cavity."
325: [02:36:19] <antmas> Ryan-Toast: man, at least you get LAMs now
326: [02:36:25] <Ryan-Toast> antmas: I didn't have a licence for about 3 years, and then I got a "Forbidden to ride a motorbike" from the police, so I had to get one or go to jail if I rode again.
327: [02:36:29] <antmas> I got my bike full when I was 17 :)
328: [02:36:45] <simon_w> Ryan-Toast, jail has free food
329: [02:37:10] <antmas> Ryan-Toast: yeah the person who bought my last bike off me, got that 2 days after the cash exchange lol
330: [02:37:11] <Ryan-Toast> simon_w: and hugs
331: [02:37:21] <guzzlefry> hrm, is $SiteConfig a global template variable?
332: [02:37:28] <guzzlefry> I can't seem to access it inside an include...
333: [02:37:38] <simon_w> guzzlefry, fairly sure it's only on ContentController
334: [02:37:42] * simon_w checks
335: [02:38:07] <simon_w> Yup, only on ContentController
336: [02:38:11] <Ryan-Toast> <antmas: what bike?
337: [02:38:32] <guzzlefry> When did includes get this isolated scope? :/
338: [02:38:44] <simon_w> 3.0
339: [02:39:06] <antmas> Ryan-Toast: CBR600f
340: [02:39:12] <guzzlefry> not 3.1? I could've swore it let me access things outside of the include before...
341: [02:39:36] <antmas> dumb question, an UploadField datatype is...File? Image?
342: [02:39:53] <simon_w> antmas, depends on the type of file being uploaded
343: [02:40:07] <guzzlefry> It's always an instance of File though, right?
344: [02:40:08] <simon_w> But Image is a subclass of File, so it's at least File
345: [02:40:18] <antmas> simon_w: well, it won't be images
346: [02:40:33] <simon_w> antmas, ooh, going for video porn instead?
347: [02:40:34] <antmas> it didn't seem to like File
348: [02:40:45] <antmas> simon_w: lol, no boring old accounting docs
349: [02:40:46] <antmas> :P
350: [02:43:19] <simon_w> antmas, you tell it your way, I'll tell it mine :p
351: [02:43:53] <antmas> simon_w: well, my way is I get errors :P
352: [02:43:57] <ss23> If I had a dollar for every issue with date/time parsing in SS...
353: [02:44:04] <simon_w> Anyway, file upload problems could be due to permissions (assets and /tmp), max_post_size, the file upload size limit, and those sorts of things
354: [02:47:19] <antmas> simon_w: it's a problem on build
355: [02:47:30] <simon_w> antmas, has_one, not db
356: [02:47:35] * Azure quit (Quit: Textual IRC Client: www.textualapp.com)
357: [02:47:56] <antmas> simon_w: for the object it's saving to?
358: [02:48:06] <simon_w> yes
359: [02:48:09] <simon_w> File isn't a db type
360: [02:48:16] <antmas> swish
361: [02:48:40] * Azure has joined #silverstripe
362: [02:48:42] <Ryan-Toast> antmas: I thought the 600f was going to be a faster 500f, but they're just the same as an r :(
363: [02:49:12] <Ryan-Toast> I would buy the shit out of a 600f if they were naked bikes.
364: [02:49:13] <simon_w> Ryan-Toast, paint it red
365: [02:49:16] <antmas> Ryan-Toast: what, the 600f is?
366: [02:49:32] <antmas> isn't the 500f a twin?
367: [02:49:43] <Ryan-Toast> antmas, I mean it's asports style.
368: [02:49:48] <antmas> oh
369: [02:51:03] * Hamish_ quit (Ping timeout: 245 seconds)
370: [02:51:09] <antmas> yeah it was a fast bike
371: [02:51:32] <Ryan-Toast> antmas: I had a 600 monster for awhile, god I loved that bike
372: [02:52:14] <antmas> Ryan-Toast: yeah my bro in law just swapped a 2007 cbr600rr for a 2005 monster 900 with termignonis 0.O
373: [02:53:27] <antmas> actually, it was a 2007 s model, damn I want that bike
374: [02:54:00] <Ryan-Toast> hnng
375: [02:54:06] <ss23> hngn
376: [02:54:06] <Ryan-Toast> That's why I'm getting my licence
377: [02:54:15] <Ryan-Toast> So I cvan get a speed triple
378: [02:55:06] <antmas> Ryan-Toast: have you ridden one before?
379: [02:55:22] <Ryan-Toast> Yeah, my mate has one. Taken it to a track day.
380: [02:55:36] <antmas> my first speeding ticket was on a 2009 triple :)
381: [02:55:42] <Ryan-Toast> :)
382: [02:56:07] <Ryan-Toast> Mine was a Yamaha zeal that didn't have an ignition barrel, so I was with the cops for ages while they sorted out if I had stolen it or not.
383: [02:56:24] <antmas> lol
384: [02:56:25] <antmas> hahaha
385: [02:56:41] <antmas> this is what I had just prior to the 600, although with GYTR pipes http://worldcarslist.com/images/yamaha/yamaha-xt-660-x/yamaha-xt-660-x-11.jpg
386: [02:57:12] <Ryan-Toast> What's it like having a moto-x?
387: [02:57:28] <antmas> Ryan-Toast: gives you a lot of confidence for one
388: [02:57:36] <Ryan-Toast> For wheelies and whatnot?
389: [02:57:47] <antmas> Ryan-Toast: you learn to appreciate using power instead of brakes to save yourself :P
390: [02:58:00] <antmas> Ryan-Toast: backin in, motox/motard style
391: [02:58:24] <Ryan-Toast> I just need my fulkl :(
392: [02:58:26] <Ryan-Toast> full**
393: [03:03:52] <Zauberfisch> anyone got in mind where "New Page" is created?
394: [03:04:14] <Zauberfisch> as in, where the default title for a page is generated after creating a page in the cms?
395: [03:04:51] <Zauberfisch> I figure greping for "New Page" is not going to be so successful
396: [03:06:13] <simon_w> Zauberfisch, SiteTree->onBeforeWrite
397: [03:06:49] <antmas> fook
398: [03:06:59] <antmas> uploads aren't showing up in ModelAdmin :<
399: [03:08:05] <guzzlefry> hrm
400: [03:08:24] <guzzlefry> Kind of annoying that if you hit "Save" in the CMS while a file is uploading, that file isn't linked. :/
401: [03:08:49] <simon_w> guzzlefry, pull request!
402: [03:08:59] <guzzlefry> yay
403: [03:09:13] <guzzlefry> My one pull request is still in purgatory!
404: [03:10:26] * zippy_ quit (Ping timeout: 264 seconds)
405: [03:11:01] <geekdenz1> Hi, can someone do me a favor and have a look at http://pastebin.com/5XWAXEFN please? When I then submit the form in the CMS I get no error feedback. However, when I step through the code it get to the crucial places.
406: [03:11:55] <simon_w> geekdenz1, what SS version?
407: [03:12:01] <geekdenz1> 3.1
408: [03:12:08] <simon_w> More specific?
409: [03:12:12] <geekdenz1> hang on
410: [03:13:07] <Colin[pi]> aw yiss, multi page form saving to session
411: [03:13:14] <simon_w> (Though I can't actually remember when this got fixed)
412: [03:13:48] <geekdenz1> what's the quickest way to find out?
413: [03:14:03] <simon_w> Well, how did you install?
414: [03:14:45] <geekdenz1> 3.1.1
415: [03:15:12] <simon_w> Try 3.1.2
416: [03:15:19] <geekdenz1> found in cmd/silverstripe_version
417: [03:15:29] <ss23> lol
418: [03:15:35] <ss23> That file never brings up anything! :(
419: [03:15:38] <ss23> Or does it
420: [03:15:46] <simon_w> ss23, it does if you download the tar ball
421: [03:15:57] <ss23> ah kk
422: [03:16:17] <geekdenz1> ah no it must be 3.1.2
423: [03:16:26] <geekdenz1> because that's the file i downloaded
424: [03:17:00] <antmas> ugh
425: [03:17:05] <geekdenz1> SilverStripe-cms-v3.1.2.tar.gz
426: [03:18:33] <geekdenz1> note that im subclassing MyPage e.g. class SummaryPage extends MyPage { ... and that is the page i'm updating.
427: [03:19:02] <simon_w> geekdenz1, well, one option to try, is instead of returning false, throw new ValidationException($result)
428: [03:19:22] <geekdenz1> maybe i'll try to put the method inside the sub class?
429: [03:19:27] <geekdenz1> ok i'll try that
430: [03:19:29] * PapaBearNZ has joined #silverstripe
431: [03:21:21] <geekdenz1> ok, it gives me a little notification with the message
432: [03:21:28] * antmas quit (Ping timeout: 245 seconds)
433: [03:21:40] <geekdenz1> but tbh i would prefer an error in the form
434: [03:22:02] <geekdenz1> because that popup is only there for a second or so
435: [03:22:41] <PapaBearNZ> Hi all! I've got a requirement for a WYSIWYG field in the current project that needs a very basic set of options (just bold, italic, underline and strikethrough) so I've created a basic HTMLEditorConfig that does the job. The field is on the DataObject form in a custom ModelAdmin. However, it is causing the normal page content editor fields to also have the very limited options as well. I can't seem to find a way to resol
436: [03:23:09] <PapaBearNZ> Any hints, tips, smacks-round-the-head-with-a-cluebat's?
437: [03:23:55] <geekdenz1> ss 3.1.2 downloaded at Jan 17 11:01
438: [03:24:14] <ss23> PapaBearNZ: If you only need a limited set of options, I would look at just implmenting something like https://github.com/ss23/silverstripe-wysihtml5 instead
439: [03:24:29] <ss23> PapaBearNZ: Which is just http://xing.github.io/wysihtml5/
440: [03:24:41] <ss23> PapaBearNZ: (But no, no idea to your original problem)
441: [03:25:44] <PapaBearNZ> (btw - this is SS 3.1.2 codebase.)
442: [03:26:12] <PapaBearNZ> ss23: Worth a looksee - thanks :)
443: [03:26:34] <guzzlefry> uhuhuh
444: [03:26:36] <guzzlefry> Cannot use object of type Image as array :(
445: [03:28:39] <geekdenz1> i will try and debug the problem, maybe its a bug in ss??
446: [03:29:23] <guzzlefry> I'm trying to override a has_one Image() relation...not sure what I'm doing wrong: .http://sspaste.com/paste/show/52e9c4080c1a8
447: [03:30:52] <Ryan-Toast> Is there a default loop.limit for page templates, or do I make one in my controller?
448: [03:31:21] <Ryan-Toast> never mind
449: [03:31:23] <Ryan-Toast> There is :)
450: [03:31:50] * joelpittet has joined #silverstripe
451: [03:34:12] <guzzlefry> loop limit?
452: [03:34:43] <geekdenz1> seems to be setting the form errors correctly in Validator.php line 39
453: [03:35:10] <geekdenz1> array(1) (
454: [03:35:10] <geekdenz1> [0] => array(3) (
455: [03:35:10] <geekdenz1> [fieldName] => (string) Keywords
456: [03:35:10] <geekdenz1> [message] => (string) There must be at least 3 valid keywords
457: [03:35:10] <geekdenz1> [messageType] => (string)
458: [03:35:11] <geekdenz1> )
459: [03:35:24] <geekdenz1> sorry if that was too big a paste
460: [03:41:41] <PapaBearNZ> guzzlefry: try changing the name of the function from getImage(). I've usually experienced unexplained behaviours writing a getter that uses the same name as a field type in my object.
461: [03:47:47] <Ryan-Toast> How do you allow for all member types to be able to add DataObjects?
462: [03:47:53] <Ryan-Toast> to a page that is.
463: [03:48:11] <guzzlefry> That sounds dangerous...
464: [03:48:11] <guzzlefry> maybe
465: [03:49:53] <guzzlefry> Ryan-Toast: Can you explain further?
466: [03:57:24] <Ryan-Toast> never mind, found it :) was the canEdit methods
467: [03:59:53] * OxFF1 quit (Quit: Hasta la proxima)
468: [04:04:25] * cbc has joined #silverstripe
469: [04:06:01] <cbc> which version of blog module should i use with silverstripe 3.1.2?
470: [04:07:03] <cbc> should i use master or 0.6.2?
471: [04:08:06] <cbc> im assuming 0.6.2 tag but i always seem to pick the wrong thing
472: [04:15:23] * nickmolhoek quit (Quit: nickmolhoek)
473: [04:37:07] <guzzlefry> cbc: Check the requirements.
474: [04:37:18] * cbc quit (Ping timeout: 245 seconds)
475: [04:37:25] <guzzlefry> ..
476: [04:37:34] * guzzlefry hates that. :P
477: [04:40:26] * chillu_23 quit (Quit: chillu_23)
478: [04:42:51] * cloph_away has joined #silverstripe
479: [04:43:46] * cloph quit (Ping timeout: 272 seconds)
480: [04:51:53] * UncleCheese quit (Quit: UncleCheese)
481: [05:23:02] * samey6_ quit (Ping timeout: 272 seconds)
482: [05:38:11] * cloph has joined #silverstripe
483: [05:39:18] * cloph_away quit (Ping timeout: 252 seconds)
484: [05:44:42] * SightUnseen has joined #silverstripe
485: [05:44:47] * SightUnseen has left #silverstripe
486: [06:07:13] * willr quit (Quit: willr)
487: [06:21:21] <guzzlefry> Shouldn't getImage() fire (overrides the Image relation) when $Image is accessed in the template? Only Image() seems to work. :/
488: [06:21:33] <guzzlefry> And then I get an infinite loop since I'm accessing the relation in that function.
489: [06:27:07] * samey6 has joined #silverstripe
490: [06:29:57] * Colin[pi] quit (Ping timeout: 248 seconds)
491: [06:32:37] * samey6 quit (Ping timeout: 252 seconds)
492: [06:53:50] * Shrike_Finland has joined #silverstripe
493: [07:00:06] * Shrike_Finland quit (Quit: Leaving.)
494: [07:01:04] * violetina has joined #silverstripe
495: [07:05:08] * willr has joined #silverstripe
496: [07:15:28] * Liquide quit ()
497: [07:19:22] * samey6 has joined #silverstripe
498: [07:43:54] * chillu_23 has joined #silverstripe
499: [07:44:16] * zippy_ has joined #silverstripe
500: [07:56:52] * Azure quit (Read error: Connection reset by peer)
501: [07:57:19] * Azure has joined #silverstripe
502: [08:02:04] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
503: [08:04:42] * OzziNL has joined #silverstripe
504: [08:11:09] <guzzlefry> Anyone around? >_>
505: [08:11:44] <guzzlefry> Had a kinda general question regarding deployment processes. :P
506: [08:14:21] * chillu_23 quit (Quit: chillu_23)
507: [08:14:55] * chillu_23 has joined #silverstripe
508: [08:15:05] * pippy__ has joined #silverstripe
509: [08:16:39] * pippy quit (Ping timeout: 260 seconds)
510: [08:19:47] * ARNHOE has joined #silverstripe
511: [08:29:03] * ocm has joined #silverstripe
512: [08:29:08] <ocm> howdy!
513: [08:32:10] <willr> hey ocm
514: [08:32:22] <willr> guzzlefry shoot, what are you trying to do
515: [08:32:54] * Shrike_Finland has joined #silverstripe
516: [08:34:15] <guzzlefry> willr: Well, it may be unanswerable. but how long should pushing changes for code to production usually take? SilverStripe project that augments an existing Silverstripe website with ecommerce stuff in this case. >_>
517: [08:34:41] <willr> Depends on how your deploying
518: [08:35:03] <guzzlefry> git/composer usually
519: [08:35:14] <willr> We use a collection of custom ruby / capistrano recipes and we can do a full build in about ~30s
520: [08:36:13] <willr> What we do to speed it up is have a folder locally, composer install --prefer-dist --no-dev and use rsync to sync that temp directory with prod
521: [08:36:26] <willr> You don't want to run composer install every time
522: [08:37:56] <willr> also make sure you're not using git clones of all your modules / syncing .git dirs. Bad form
523: [08:38:09] <guzzlefry> Do you have any special method for handling database inconsistencies, like extra pages and such?
524: [08:39:02] <guzzlefry> Do you mean don't use git submodules, or I shouldn't have .git/ in the webroot at all?
525: [08:41:52] * Sj0hn has joined #silverstripe
526: [08:42:08] <Sj0hn> Hi
527: [08:42:21] <guzzlefry> hello
528: [08:42:34] <Sj0hn> How's it going
529: [08:42:48] <guzzlefry> pretty good, yourself?
530: [08:43:02] <Sj0hn> doing just fine
531: [08:43:17] <Sj0hn> i was wondering about the subsite module
532: [08:43:33] <Sj0hn> does it slow down the cms as you increase the amount of subsites?
533: [08:43:39] <Sj0hn> since the db will grow bigger
534: [08:44:05] * joelpittet quit ()
535: [08:45:42] <guzzlefry> I'm not sure on that, someone else may know though.
536: [08:45:43] * chillu_23 quit (Quit: chillu_23)
537: [08:48:45] * chillu_23 has joined #silverstripe
538: [08:49:25] * willr quit (Quit: willr)
539: [08:51:25] * chillu_23 quit (Client Quit)
540: [08:55:56] * chillu_23 has joined #silverstripe
541: [08:59:19] * chillu_23 quit (Client Quit)
542: [09:03:10] * r3v3rb has joined #silverstripe
543: [09:16:37] * kinglozzer has joined #silverstripe
544: [09:18:07] <ocm> Sj0hn, I am using the subsite module in several sites, not that big (mainly landingpages controlled from the same CMS as the main site)
545: [09:18:52] <ocm> so far it doesnt slow down that much, the only problem it gives is the url-slug for 'home' on some occations
546: [09:24:24] <Sj0hn> alright, thnx
547: [09:27:22] <Sj0hn> I might wanna use it for a bigger project, were the subsites would start at mayby around 5 to 10 (being complete website not landingpages) to possibly grow to more
548: [09:28:17] <Sj0hn> *to possibly grow toward like 20 mayby
549: [09:30:50] * samey6 quit (Ping timeout: 264 seconds)
550: [09:33:15] <ocm> will it have a lot of static content? or dynamic?
551: [09:35:58] * Super-ru quit (Ping timeout: 245 seconds)
552: [09:41:24] * Super-ru has joined #silverstripe
553: [09:45:42] * Shrike_Finland quit (Quit: Leaving.)
554: [09:46:36] <simon_w|air> Sj0hn, it won't slow down any more than having that many pages will slow down a non-subsites site
555: [09:56:49] <guzzlefry> Are CMSFields for relations automatically pulled into EditForm?
556: [09:59:29] * micmania1 has joined #silverstripe
557: [10:18:40] * r3v3rb quit (Quit: r3v3rb)
558: [10:20:31] * r3v3rb has joined #silverstripe
559: [10:23:07] * feejin has joined #silverstripe
560: [10:24:09] <r3v3rb> jeez, client sent brief and visuals for site last week, started development of core site functionality and templating - phone call ten minutes ago now they are changing the visuals/functionality - I will get layouts next week but can I reduce the development time by 2 weeks!
561: [10:24:31] * r3v3rb thinks not...
562: [10:25:19] <feejin> I assume you've a contract that lets you charge more for this?
563: [10:25:43] <r3v3rb> fixed fee quote
564: [10:26:02] <r3v3rb> feejin: :( but if it continues they will feel the wrath of my quoting system
565: [10:27:10] <kinglozzer> r3v3rb: rand(2500, 10000) ?
566: [10:27:22] <r3v3rb> kinglozzer: for the extra work yep
567: [10:27:28] <feejin> we have something in place where the cost is based on the agreed design, changing the design changes the cost. most of the time, designs don't change.
568: [10:27:44] <r3v3rb> for the job itself it was rand(10000, 25000) ;)
569: [10:28:38] * UncleCheese has joined #silverstripe
570: [10:28:55] <r3v3rb> feejin: yes I have a conference call to discuss this next week with the MD, he's furious with the internal team that changes are being made that affect the build at this stage with a delivery date only 6 weeks away
571: [10:29:06] <r3v3rb> which they are asking to reduce to 4
572: [10:29:17] <r3v3rb> and change the whole look/feel/function
573: [10:31:09] <kinglozzer> r3v3rb: Sounds familiar :P
574: [10:31:28] <r3v3rb> kinglozzer: indeed, i'm sure I am not alone
575: [10:31:42] <r3v3rb> but only one pair of hands makes it harder
576: [10:32:28] <feejin> #twss
577: [10:38:06] <feejin> Anyone know how I can do an ORDER BY FIELD(column, "X", "Y", "B", "A") style query without having to resort to DB::query?
578: [10:39:56] * zippy_ quit (Quit: zippy_)
579: [10:41:45] <guzzlefry> feejin: I'm not following.
580: [10:42:30] <guzzlefry> Are you ordering by a function?
581: [10:44:11] <feejin> Ordering by column "column" (enum) with it returning in the order X,Y,B,A
582: [10:45:13] <feejin> Using setOrderBy it seems to rewrite the query into something that didn't work. It's working fine with DB::query but wondered if it should be possible otherwise
583: [10:49:06] <guzzlefry> ah, I'm not sure...
584: [10:49:09] <guzzlefry> that seems somewhat advanced
585: [10:52:26] <r3v3rb> anyone want to build me a css3/html5 responsive template on a design I dont have yet for a job that goes live in four weeks?
586: [10:54:56] <guzzlefry> That sounds fun...
587: [10:56:58] <guzzlefry> oh man
588: [10:57:12] <guzzlefry> it's so embarassing when doing a preview for client and SilverStripe pops up random Notices. :P
589: [10:57:23] * Shrike_Finland has joined #silverstripe
590: [10:58:56] <r3v3rb> guzzlefry: dont to previews for client !
591: [10:59:32] <guzzlefry> r3v3rb: I've heard that's a bad practice, but not my call.
592: [10:59:45] <r3v3rb> :P
593: [11:00:09] <guzzlefry> I'm given very vague specs, and having client previews is the only way to get more specifics...
594: [11:00:16] <guzzlefry> which means more refactoring hell :P
595: [11:01:15] <r3v3rb> guzzlefry: join 'le clube'
596: [11:02:47] <guzzlefry> reminds me
597: [11:02:52] <guzzlefry> it's 6am, I should probably sleep...
598: [11:05:26] <r3v3rb> guzzlefry: yes...
599: [11:05:34] <r3v3rb> unless you have only just woken up?
600: [11:05:40] <guzzlefry> nope
601: [11:05:54] <guzzlefry> I have one of those client previews tomorrow, so I'm rushing to get things finished. :P
602: [11:06:51] <r3v3rb> ah yes, well good luck sir
603: [11:07:01] <r3v3rb> or lass depending...
604: [11:08:06] <guzzlefry> it's sir, and thanks
605: [11:10:30] <guzzlefry> guess I"m going to sleep for a few, night
606: [11:17:33] * Shrike_Finland quit (Quit: Leaving.)
607: [11:42:33] * r3v3rb quit (Quit: r3v3rb)
608: [11:45:31] * OzziNL quit (Ping timeout: 252 seconds)
609: [11:46:57] * feejin quit ()
610: [11:50:27] * Shrike_Finland has joined #silverstripe
611: [11:57:38] * Sj0hn quit (Quit: Ik ga weg)
612: [12:02:20] * UncleCheese quit (Quit: UncleCheese)
613: [12:47:40] * feejin has joined #silverstripe
614: [12:48:24] * Robke has joined #silverstripe
615: [13:10:20] * Pyromanik has joined #silverstripe
616: [13:11:17] <Pyromanik> Got bond back, renewed domains, good times
617: [13:19:11] * UndefinedOffset has joined #silverstripe
618: [13:27:35] <Robke> does anybody use backbone marionette? :)
619: [13:35:53] * feejin quit ()
620: [13:59:50] * UndefinedOffset quit (Quit: Leaving.)
621: [14:01:48] * UndefinedOffset has joined #silverstripe
622: [14:06:28] * ObiWanShanobi has joined #silverstripe
623: [14:12:58] <kinglozzer> micmania1: Good night Tuesday?
624: [14:17:45] * r3v3rb has joined #silverstripe
625: [14:17:55] <r3v3rb> hi all
626: [14:18:05] <Pyromanik> gidday chaps
627: [14:18:28] <r3v3rb> going back to a question yesterday, have any of you come across modeladmin not loading the search properly through ajax
628: [14:18:31] <r3v3rb> hi Pyromanik
629: [14:19:11] <r3v3rb> I have three modeladmins, two work perfectly, one craps out and loads the search as a page redirect which goes horribly wrong under 2.4.13
630: [14:19:25] <Pyromanik> oh 2.4
631: [14:19:27] <Pyromanik> ok
632: [14:19:32] <Pyromanik> so, check for added JS?
633: [14:19:43] <Pyromanik> idk, sorry
634: [14:19:47] <r3v3rb> js is added but errors without error message on click
635: [14:20:08] <Pyromanik> yeh but js could be making the page load happen
636: [14:20:35] <Pyromanik> most likely is what's happening
637: [14:20:56] <Pyromanik> js error means search submission handler not catching submission (because it's halted due to error)
638: [14:21:16] <r3v3rb> if(s.cache===false&&type==="GET"){var ts=now();var ret=s.url.replace(rts,"$1_="+ts+"$2");s.url=ret+((ret===s.url)?(rquery.test(s.url)?"&":"?")+"_="+ts:"");} is the highlighted line in the console for the js error, but no message
639: [14:21:19] <Pyromanik> which then tries to load your search as a whole page load (as a form would otherwise do) instead of ajax
640: [14:21:29] <Pyromanik> thus, error
641: [14:21:33] <Pyromanik> or some other kind of derp
642: [14:21:46] <r3v3rb> wierd that it affects only one modeladmin
643: [14:21:47] <Pyromanik> is that the JS you added r3v3rb?
644: [14:21:52] <r3v3rb> out of three though
645: [14:21:59] <r3v3rb> Pyromanik: no I havent added any!
646: [14:22:06] <Pyromanik> r3v3rb, but if it's only added to one of the... oh you said you had!
647: [14:22:27] <Pyromanik> [03:19] <r3v3rb> js is added
648: [14:22:28] * Zauberfisch quit (Ping timeout: 260 seconds)
649: [14:22:32] <Pyromanik> Liar! :< :P
650: [14:22:33] <r3v3rb> js is added to the page... by the system I meant
651: [14:22:37] <Pyromanik> right yeh
652: [14:22:38] <r3v3rb> lmoa
653: [14:22:38] <Pyromanik> hmm
654: [14:22:42] <Pyromanik> idk
655: [14:22:52] <Pyromanik> dat 2.4 :<
656: [14:22:57] <r3v3rb> me either and its breaken me site man!
657: [14:23:42] * Zauberfisch has joined #silverstripe
658: [14:23:52] * Shrike_Finland quit (Quit: Leaving.)
659: [14:23:53] <Pyromanik> Zauberfisch might have an idea :<
660: [14:23:56] * r3v3rb wonders why oh why
661: [14:24:07] <r3v3rb> mr fisch mr Zauberfisch
662: [14:24:56] <r3v3rb> 2.4.13 modeladmin - three on site, two work when 'search' or 'add' as normal, one loads the request into the window as if JS wasn't working
663: [14:26:45] * PapaBearNZ quit (Ping timeout: 245 seconds)
664: [14:29:45] * catcher has joined #silverstripe
665: [14:29:57] <r3v3rb> so it appears its not send the searchform as a post ajax at all
666: [14:30:11] <r3v3rb> sending*
667: [14:30:20] <r3v3rb> when checking the XHR in firebug
668: [14:30:32] <r3v3rb> all other modeladmins work as expected
669: [14:30:49] <micmania1> kinglozzer, aye from what I can remember
670: [14:31:01] <micmania1> I didn't even make it back to my hotel. Slept at my mates lol
671: [14:31:21] <kinglozzer> Haha
672: [14:32:37] <Pyromanik> micmania1, you loose cannon you
673: [14:33:17] <micmania1> Pyromanik, you catch your train then? :p
674: [14:33:22] <Zauberfisch> Pyromanik: hmm?
675: [14:33:25] <Zauberfisch> sorry, was afk
676: [14:35:45] <r3v3rb> hmm so bad url after search = admin/advert/Adverts/SearchForm?AdTitle=&AdCountry=&ResultAssembly[ID]=ID&action_search=Search
677: [14:36:26] <r3v3rb> whereas the xhr from a good modeladmin shows
678: [14:36:27] <r3v3rb> DocTitle=&DocFile__Title=&ResultAssembly%5BDocTitle%5D=DocTitle
679: [14:37:19] <r3v3rb> why is the Result Assembly different? ie no [ID] on the good modeladmin?
680: [14:37:22] <r3v3rb> i wonder
681: [14:39:00] <r3v3rb> ok thats nothing its because I removed summary fields
682: [14:42:04] * Shrike_Finland has joined #silverstripe
683: [14:45:22] * Shrike_Finland quit (Client Quit)
684: [14:45:55] * r3v3rb quit (Quit: r3v3rb)
685: [15:00:00] * ObiWanShanobi quit (Remote host closed the connection)
686: [15:08:23] * ObiWanSh_ has joined #silverstripe
687: [15:21:01] <Pyromanik> micmania1, yep got train, went to town to get more booze, everywhere was shut. Ended up talking to an artist in the square for about... half an hour at least before going home, lol.
688: [15:21:21] * Pyromanik quit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
689: [15:26:02] * ObiWanSh_ quit (Remote host closed the connection)
690: [15:31:28] * ObiWanShanobi has joined #silverstripe
691: [15:34:19] * OxFF1 has joined #silverstripe
692: [15:41:39] * ARNHOE_ has joined #silverstripe
693: [15:41:40] * ARNHOE quit (Read error: Connection reset by peer)
694: [15:42:03] <micmania1> Pyromanik, I tried to get booze but the shops were closed too. Stupid Mondays!
695: [15:47:19] * ObiWanShanobi quit (Remote host closed the connection)
696: [15:47:55] * ObiWanSh_ has joined #silverstripe
697: [15:48:43] * ObiWanSh_ quit (Remote host closed the connection)
698: [15:50:41] * ObiWanSh_ has joined #silverstripe
699: [15:53:06] * ryan has joined #silverstripe
700: [15:53:30] * ryan is now known as Guest72115
701: [15:54:11] <Guest72115> hey, does anybody know if its possible to call a cron job (DailyTask) from a public URL? I have one setup, but I've moved to appfog and they dont have cron support, and if i call the URL from another server it redirects to the SS login page
702: [15:56:08] * r3v3rb has joined #silverstripe
703: [16:00:56] * ARNHOE_ quit ()
704: [16:02:13] <Zauberfisch> Guest72115: when talking about cron jobs, you are refering to a BuildTask?
705: [16:02:21] <Guest72115> yeh
706: [16:02:28] <Zauberfisch> ah, you said DailyTask
707: [16:02:30] <Zauberfisch> I missed that
708: [16:02:35] <Guest72115> ScheduledTask
709: [16:02:39] <Guest72115> yeh
710: [16:03:34] <Zauberfisch> well, I don't see why not
711: [16:03:43] <Zauberfisch> you just need to change the permission handler
712: [16:04:06] <Zauberfisch> at default behaviour, it does the following thing to check if you are allowed to run that task:
713: [16:04:50] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/blob/3334eafcb1c42b917dcafe46d87ea32f2b1014b8/cli/CliController.php#L21
714: [16:06:19] <r3v3rb> Zauberfisch: know of any good html5 sass grids that support breakout full width elements from the container
715: [16:06:27] <Guest72115> oh!!
716: [16:06:30] <Guest72115> of course
717: [16:06:36] <Guest72115> thank you so much :)
718: [16:07:48] * ObiWanSh_ quit (Remote host closed the connection)
719: [16:07:57] <Zauberfisch> Guest72115: http://paste2.org/AIzcKf7V
720: [16:08:02] <Zauberfisch> something among those lines
721: [16:08:22] <Zauberfisch> you would replace my_super_secure_permission_check() with what ever you deem best
722: [16:08:34] <Zauberfisch> eg checking the IP adress of the client that wants to run that server
723: [16:08:41] <Zauberfisch> *run that task
724: [16:08:54] <Zauberfisch> or perhaps some kind of token transmitted
725: [16:09:13] <Guest72115> amazing
726: [16:09:15] <Zauberfisch> r3v3rb: hmmm, to be honest I am searching for a grid system myself at the moment
727: [16:09:21] <Guest72115> this is perfect
728: [16:10:15] <Zauberfisch> r3v3rb: most recently I tryed foundation 5, it has some cool ideas and starting points, but overall I disslike it. its customizeable, but still its a 1 way street where you are sort of limited
729: [16:10:43] <Zauberfisch> r3v3rb: also had my dealings with bootstrap. I hope not to repeat that
730: [16:10:54] <Zauberfisch> but other than that, only my self built stuff
731: [16:11:32] <Zauberfisch> the next thing I will try is probably going to be http://susy.oddbird.net/
732: [16:11:57] <Zauberfisch> we'll see
733: [16:15:14] * Guest72115 quit (Quit: Page closed)
734: [16:15:22] * ObiWanShanobi has joined #silverstripe
735: [16:15:58] <catcher> Can anyone speak to experience running a mostly-dynamic SS site behind varnish?
736: [16:30:40] * Shashitechno has joined #silverstripe
737: [16:31:28] <r3v3rb> Zauberfisch: indeed, been to both those and found I inherently disliked them both
738: [16:32:16] <r3v3rb> I tried skeleton sass, which is a great verbose gris but doesn't really have the latest little tweaks built in yet
739: [16:32:22] <r3v3rb> gris = grid*
740: [16:34:08] <r3v3rb> my biggest 'beef' is that I haven't found one that supports breakouts by default. For example show me one from here with a full width contanier|fixed width inner grid http://susy.oddbird.net/demos/grid-types/
741: [16:34:36] <r3v3rb> I guess I could setup an overriding class to skeleton to perform it but it would be a bit hacky and after the event
742: [16:35:39] <r3v3rb> actually I lie it appears fluid-container is what I'm after in susy
743: [16:36:07] <r3v3rb> no its not I was right ;)
744: [16:48:26] <Zauberfisch> r3v3rb: now I am not sure what you mean with breakouts
745: [16:48:31] <Zauberfisch> could you define that for me please?
746: [16:52:04] * Pyromanik has joined #silverstripe
747: [16:55:27] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <- \o/)
748: [16:59:47] <wmk> hi all
749: [17:00:05] <wmk> i have a problems with umlauts while upgrading from 2.3 to 3.1
750: [17:00:50] <wmk> they seem to be utf8 encoded in a latin1 table in 2.3, so i see two bytes in new schema in 3.1
751: [17:05:27] * Shrike_Finland has joined #silverstripe
752: [17:09:53] * jcwacky has joined #silverstripe
753: [17:11:35] <Pyromanik> update table?
754: [17:13:01] <r3v3rb> Zauberfisch: I mean sections that have the ability to fill the width but maintain an inner container that is the width of the grid
755: [17:13:02] <wmk> Pyromanik, how? in 2.3 or in 3.1 db?
756: [17:14:24] <r3v3rb> http://htmlstream.com/preview/unify/ zauberfisch
757: [17:15:38] <r3v3rb> it appears that its a case of wrapping the containers in width: 100% divs
758: [17:16:06] <r3v3rb> also out of interest why is everyone rushing to use display: table these days?
759: [17:16:40] <Zauberfisch> r3v3rb: to have the ability of centering vertically
760: [17:16:53] <Zauberfisch> r3v3rb: what appears to have 100%?
761: [17:18:08] <jcwacky> What's the simplest way to put something like "$ListPages" into the WYSIWYG editor that will effectively do "<% include ListPages %>" at that location?
762: [17:18:40] <Zauberfisch> jcwacky: there is a shortcode parser
763: [17:18:51] <r3v3rb> what I see is that .top for example utilises the full width of the screen and could in effect be coloured to suit, then the dev has used the .container within that to get the max-width:970px; margin: 0 auto; for the horizontal centering etc
764: [17:19:02] <Zauberfisch> and rendering the result of ListPages.ss is easy
765: [17:19:20] <Zauberfisch> $html = $object->renderWith('Includes/ListPages');
766: [17:20:29] <jcwacky> Thanks, I've used that to embed YouTube vids in SS2 sites, so I'd basically just do that, but without any arguments?
767: [17:20:51] <Zauberfisch> yes, that should work
768: [17:20:56] <Pyromanik> wmk, dev/build should update stuff
769: [17:21:29] <kinglozzer> r3v3rb: display: table; ftw :D
770: [17:22:02] <r3v3rb> kinglozzer: i see it everywhere now
771: [17:22:11] <kinglozzer> I've used it about 5 times today alone :P
772: [17:22:12] <r3v3rb> i think i missed something
773: [17:22:18] <wmk> Pyromanik, yup, did this before but it didn't solve the problems.
774: [17:22:29] <jcwacky> Out of curiosity, how does user defined forms do it? As in the WYSIWYG it says $UserDefinedForm for where the form should go. That's not shortcode syntax.
775: [17:22:44] <kinglozzer> Vertical centering, forcing 100% height, one fixed pixel-width column and one fluid etc
776: [17:24:38] <wmk> jcwacky, look at UserDefinedForm_Controller index()
777: [17:24:48] <r3v3rb> kinglozzer: one fixed pixel-width column and one fluid??
778: [17:24:54] * r3v3rb goes to google
779: [17:28:40] <Zauberfisch> jcwacky: userforms is kind of hacky in that regard
780: [17:28:45] <Zauberfisch> it just does a string replace
781: [17:29:14] <Zauberfisch> https://github.com/silverstripe/silverstripe-userforms/blob/54b4dca799510c29122d6fef16c2588275dde5b3/code/model/UserDefinedForm.php#L452
782: [17:29:52] <kinglozzer> r3v3rb: Yep. <div class="table"><div class="col n1"></div><div class="col n2"></div> - give .n2 a pixel width, .table { display: table; table-layout: fixed; }
783: [17:30:05] <kinglozzer> table-layout: fixed is what does it
784: [17:30:17] <kinglozzer> No idea about browser support, works in IE8 though
785: [17:30:23] <jcwacky> Ok, I'll go the short code route then. Thanks!
786: [17:30:36] <r3v3rb> kinglozzer: I only have to go back to ie8 for my current project
787: [17:31:18] <r3v3rb> so col n1 is basically the flexible element filling the remaining space left by n2
788: [17:32:47] <kinglozzer> r3v3rb: http://jsfiddle.net/P4HbL/
789: [17:32:59] <catcher> I need to create an ArrayList that represents a list of objects minus certain fields (or only including certain fields). Is there a better way than writing a manual SQL query and building the ArrayList myself?
790: [17:33:48] <r3v3rb> also, heres a quick one for you, I have a client that wants a full width image across the page in a specified area, she needs to be able to upload new images every so often - should I allow her to upload then just inline css the image as a background to the div or fudge in an img tag with width: 100% in the container which is better semantically
791: [17:33:49] * Shrike_Finland quit (Read error: Connection reset by peer)
792: [17:34:14] <catcher> The goal is optimizing the request from the DB, I only need a tiny fraction of the data contained by the objects in this case.
793: [17:34:26] * Shrike_Finland has joined #silverstripe
794: [17:34:47] <r3v3rb> kinglozzer: yep thats what I expected behaviour wise
795: [17:35:10] <r3v3rb> does it allow for folding though in @media queries though?
796: [17:36:24] <r3v3rb> yes it does, answered my own question ;)
797: [17:38:34] <r3v3rb> that seems like a very clean and efficient way to produce a fluid grid
798: [17:39:09] <kinglozzer> It can be a pain if you need to use position: relative; though
799: [17:39:17] <kinglozzer> display: table-cell; position: relative; don't work together
800: [17:39:19] <r3v3rb> ahhhh
801: [17:39:24] <kinglozzer> So you have to add an extra 'inner' div
802: [17:39:29] <kinglozzer> Then make that position: relative
803: [17:40:52] <r3v3rb> kinglozzer: yes, that makes sense - you can't really move a cell
804: [17:41:15] <kinglozzer> Yeah
805: [17:41:30] * kinglozzer home time
806: [17:41:32] <kinglozzer> cya
807: [17:41:34] * kinglozzer quit ()
808: [18:00:28] * Shrike_Finland quit (Read error: Connection reset by peer)
809: [18:04:01] * gelignite has joined #silverstripe
810: [18:07:52] * ToddKimball has joined #silverstripe
811: [18:08:55] <wmk> Pyromanik, searching around i found a solution in ss forum...
812: [18:11:17] <wmk> had to iconv the dump from UTF-8 to ms-ansi
813: [18:19:54] <ToddKimball> Has anyone had any luck getting data from DataObjects across more than one table, stored in an ArrayList, to export correctly from an SS_Report? Right now, mine displays correctly, however, on export only the ID field from the primary DataObject exports.
814: [18:29:55] <r3v3rb> Pyromanik: you around?
815: [18:32:04] * [1]Pyromanik has joined #silverstripe
816: [18:32:29] <catcher> ToddKimball, I've gotten them to aggregate & display in a template, haven't tried it with a report though.
817: [18:34:43] * Pyromanik quit (Ping timeout: 265 seconds)
818: [18:34:43] * [1]Pyromanik is now known as Pyromanik
819: [18:36:50] <ToddKimball> catcher, same here, and the method I'm using used to work fine in SS2.x, did some cleanup for 3.1, but it's a trivial amount of code and is throwing no errors. I'll post the snippet, where are we posting SS snips to these days?
820: [18:38:11] <r3v3rb> Pyromanik: what are you up to?
821: [18:38:11] * samey6 has joined #silverstripe
822: [18:39:41] <catcher> ToddKimball, pastebin is fine, I hear complaints about sspaste
823: [18:51:28] <ToddKimball> catcher: http://pastebin.com/HG7dmKH7
824: [18:52:46] <ToddKimball> catcher, Thanks for looking btw.
825: [18:55:52] * SightUnseen has joined #silverstripe
826: [18:56:05] * SightUnseen has left #silverstripe
827: [18:58:11] <catcher> ToddKimball, I believe you'll need to wrap your DataObjects with ArrayData.
828: [19:05:58] <ToddKimball> catcher, tried that and got: "the method 'canview' does not exist on 'ArrayData'", is this a Monday? :-/
829: [19:10:08] <ToddKimball> catcher, may have stumbled on a solution: http://www.silverstripe.org/migrating-a-site-to-silverstripe/show/35184
830: [19:10:27] * Azure quit (Ping timeout: 260 seconds)
831: [19:12:23] * Azure has joined #silverstripe
832: [19:24:32] * PapaBearNZ has joined #silverstripe
833: [19:24:38] <ToddKimball> catcher, no luck- gah!
834: [19:27:58] <simon_w> ToddKimball, the problem here is you're using a plain DataObject, so you need to manually specify what columns to export
835: [19:28:26] <simon_w> ToddKimball, something like http://pastie.org/8683197
836: [19:34:10] * SphereSilverNL has joined #silverstripe
837: [19:34:43] * DigNZ has joined #silverstripe
838: [19:36:17] <PapaBearNZ> Still banging my head against the HTMLEditorConfig wall. In my getCMSFields for my DO I'm setting my basic editor config then creating my HTMLEditorField. It works well, but all other HTMLEditorFields in the CMS now use the basic config. eg the Content field in all pages is now restricted to my basic button list, etc. I've tried setting the active config back after creating my field but still get the same behaviour.
839: [19:37:04] <simon_w> PapaBearNZ, you can currently only have one config per page
840: [19:37:07] <PapaBearNZ> If possible I would rather NOT use an alternative editor for this DO as it will damage the UX. Anyone know of a solution or some ideas I could try?
841: [19:37:41] <PapaBearNZ> simon_w: I only have the one config per page - The editor is on my DO in a custom ModelAdmin.
842: [19:38:04] <SphereSilverNL> Other question, inbetween. What's the best HTTP-status for an "out of bounds" request? Say, I have 400 items, and the bot requests ?start=500. Should it be 500, 404, 307, 416?
843: [19:38:48] <PapaBearNZ> I'm not trying to create multiple textareas with different configs - this is a single textarea on a single DO form. But if I change the active config for this form it seems to affect the config on all other forms in the CMS.
844: [19:38:57] <simon_w> SphereSilverNL, 404
845: [19:39:17] <simon_w> PapaBearNZ, that's a side effect of the AJAX stuff
846: [19:39:29] <simon_w> Config gets overridden once, and you're done
847: [19:39:34] <SphereSilverNL> Are you sure? Because, after a few weeks, the requested page could be valid and return a correct paginated page.
848: [19:39:51] <PapaBearNZ> simon_w: Bugger :(
849: [19:40:08] <simon_w> SphereSilverNL, and 404 conveys that. It's not a 410.
850: [19:40:23] <simon_w> There's a reason googlebot keeps hitting them
851: [19:40:58] <SphereSilverNL> True.
852: [19:41:23] <SphereSilverNL> I was thinking a 307, "try this link"
853: [19:41:26] <simon_w> Unless you're redirecting back to the start, then a 307 makes sense
854: [19:41:40] <SphereSilverNL> I redirect back to the last
855: [19:41:50] <simon_w> Then you want a 307
856: [19:42:03] <SphereSilverNL> Kinda makes sense indeed :)
857: [19:42:15] <ToddKimball> @simon_w, thanks, that's put me down the road a little. I now have all of the columns listed, but empty rows. Still, columns w/o data are a step forward.
858: [19:42:25] <SphereSilverNL> But there's no real "out of bound" status, therefor, I'm in doubt :)
859: [19:43:09] <simon_w> SphereSilverNL, if there was, it'd be a 4xx, and you wouldn't redirect
860: [19:43:48] <SphereSilverNL> simon_w, considering bots, that's an issue. They will keep trying and also auto-heighten the start-parameter
861: [19:44:21] <SphereSilverNL> Thus, it will take up a lot of data, because it doesn't send back to the last working page.
862: [19:45:29] <SphereSilverNL> I'm currently on 307, but I'm unsure which status is the best. As I said, there's no real status for "out of bounds"
863: [19:45:45] * zippy_ has joined #silverstripe
864: [19:45:46] <SphereSilverNL> I'm for now on 307, awaiting results
865: [19:49:09] <catcher> I need to create an ArrayList that represents a list of objects minus certain fields (or only including certain fields). Is there a better way than writing a manual SQL query and building the ArrayList myself?
866: [19:49:54] <SphereSilverNL> "Minus certain fields"
867: [19:50:06] <SphereSilverNL> Why not just not show them?
868: [19:50:27] <catcher> I don't need them, and they're huge.
869: [19:53:57] * wracu_ has joined #silverstripe
870: [19:54:06] <SphereSilverNL> They're in your object. So I think, the best option is just not showing them?
871: [19:54:42] <catcher> If I can avoid retrieving those fields, those requests will speed up significantly.
872: [19:54:53] <Pyromanik> erhmahgherd...
873: [19:55:29] <wracu_> Any ideas how I would stop Silverstripe remembering the last 'view state' in ModelAdmin?
874: [19:55:37] * Shashitechno quit (Quit: Page closed)
875: [19:55:38] * wracu quit (Ping timeout: 245 seconds)
876: [19:56:29] * DigNZ quit (Ping timeout: 252 seconds)
877: [19:56:37] <simon_w> catcher, subclass DataList, override toArray() to pass in the list of fields you want (like http://pastie.org/8683285 )
878: [19:57:02] <Pyromanik> wracu_, view state wha/t
879: [19:57:19] <catcher> simon_w, wow, killer. thank you.
880: [19:59:58] * Robke quit (Quit: Page closed)
881: [20:05:12] * UncleCheese has joined #silverstripe
882: [20:07:41] <r3v3rb> damn inline-block 1px bastards are annoying for pixel perfect positioning
883: [20:08:50] <r3v3rb> simon_w: still haven't fixed that modeladmin screwup between local server and production server... very strange
884: [20:12:33] <zippy_> UncleCheese: o/ With your calander module, do you have an example page with it on?
885: [20:13:27] <UncleCheese> hmm
886: [20:13:38] <UncleCheese> long time ago, probably
887: [20:13:47] <UncleCheese> it comes with everything you need
888: [20:15:04] <UncleCheese> there's heaps of info here http://www.leftandmain.com/silverstripe-modules/2012/09/06/whats-new-in-event-calendar-3-0/
889: [20:21:10] <ToddKimball> Okay, so results so far are non-spectacular. Let me just ask an open question: how would you go about generating a report across two DataObjects with a one to many relationship that would export fields from both DOs? Using SS_Report, anyone?
890: [20:22:06] <ToddKimball> and I meant my results, not referencing the help from catcher or @simon_w
891: [20:25:39] <zippy_> UncleCheese: Thanks, I was just reading over that blog post. It seems the event calander doesn't put events onto the actual calander, eg an image, title and date and time on a large calander (or, is there no ss of that)
892: [20:27:13] * willr has joined #silverstripe
893: [20:33:10] <Pyromanik> zippy_, I wouldn't recommend it.
894: [20:33:28] <zippy_> Pyromanik: You used something else?
895: [20:33:35] <Pyromanik> So many folks have hacked at it and it's... it's not pretty.
896: [20:34:06] <Pyromanik> if you do end up using it (as I have for lack of better options and low time available), you can pretty much gurantee a headache further down the track.
897: [20:34:39] <Pyromanik> zippy_, I mean, it works. But... hope like hell that the client will be happy with it 'as it is'.
898: [20:34:56] <Pyromanik> like _hell_
899: [20:35:20] * UncleCheese quit (Quit: UncleCheese)
900: [20:35:43] <zippy_> jezus, that webstock a bit expensive eh
901: [20:35:45] <Pyromanik> zippy_, I've seen blogs modified to display events, that work okay. No calendar or anything
902: [20:35:51] <Pyromanik> zippy_, hahaha, yeh
903: [20:35:53] <Pyromanik> WDC FTW
904: [20:36:01] <Ryan-Toast> zippy_: $1500 fuck thatttt
905: [20:36:12] <zippy_> Pyromanik: Yea, I think it might be something custom in the end
906: [20:36:15] <simon_w> Kiwicon: $50
907: [20:36:16] <zippy_> Ryan-Toast: fucking aye
908: [20:36:25] <zippy_> simon_w: yeap, much better, and probably get more out of it
909: [20:36:32] * zippy_ is now known as zippy__
910: [20:36:42] <Ryan-Toast> Like I said before, we'll start our own conference. With blackjack, and hookers.
911: [20:36:43] <simon_w> zippy__, also, you don't have to pick streams, so don't miss anything!
912: [20:36:44] * UncleCheese has joined #silverstripe
913: [20:36:48] <UncleCheese> zippy_: you'd have to update the template to do that
914: [20:36:49] <guzzlefry> Is there a simple way to format dates in $summary_fields?
915: [20:36:51] <Ryan-Toast> Actually, forget the blackjack.
916: [20:36:52] <UncleCheese> if you've added custom fields
917: [20:37:16] <Pyromanik> guzzlefry, uhh... not really but yes and also no.
918: [20:37:22] <guzzlefry> I'm guessing I'll have to write a method and call that? Any other way?
919: [20:37:36] <Pyromanik> well, you could try casting, but probably not ideal
920: [20:38:05] <Pyromanik> although for custom method, defo. cast.
921: [20:38:18] <Pyromanik> or implosion
922: [20:38:20] <Pyromanik> or something
923: [20:38:26] <Pyromanik> ALL THE THINGS
924: [20:38:37] <guzzlefry> :P
925: [20:38:49] <guzzlefry> That and custom stuff can't be sorted on. :/
926: [20:38:49] <Pyromanik> I'm so helpful
927: [20:39:49] <simon_w> http://www.cocoanetics.com/2012/07/multi-context-coredata/ is going to be fun to implement :)
928: [20:40:26] <Ryan-Toast> simon_w: I know some of these words.
929: [20:43:01] <simon_w> Ryan-Toast, like "fun"?
930: [20:44:18] <guzzlefry> So, instead of showing a dropdown to select a has_one relation in the CMS, can I show that relation's own CMS fields?
931: [20:45:23] <Ryan-Toast> simon_w: I read that word once. I think it's when my emails were down, and clients couldn't contact me.
932: [20:46:00] <simon_w> WTF? Why does the db server have samba installed?
933: [20:46:10] <guzzlefry> sharing is caring?
934: [20:46:23] <simon_w> None of us use windows
935: [20:47:00] <simon_w> purge it! Purge it with fire!
936: [20:48:41] <simon_w> Yay! Got MySQL back up before nagios could complain!
937: [20:49:51] <r3v3rb> holy cow, don't mention css is broke in #css :P
938: [20:50:05] <guzzlefry> ...
939: [20:50:27] <guzzlefry> That's dangerous.
940: [20:50:28] <simon_w> Ooh, complain about php in ##php! Say it should be more like Erlang :p
941: [20:50:32] <r3v3rb> guzzlefry: yep
942: [20:50:43] <guzzlefry> ##php is mean to me.
943: [20:50:50] <zippy__> simon_w: php not webscale?
944: [20:51:25] <guzzlefry> It's mostly "You damn idiot, you weren't born with this knowledge like the rest of us?!"
945: [20:51:44] <guzzlefry> Well, some of the chan anyway. :P
946: [20:51:51] <simon_w> zippy__, well, not Zend PHP anyway ;)
947: [21:00:27] <r3v3rb> simon_w: guzzlefry managed to upset a couple of 'css crazies' my day is complete
948: [21:01:02] <r3v3rb> all because i asked why after 8 years does inline-block still produce a stupid 4px gap and whats the nest way to remove it
949: [21:01:12] <r3v3rb> best*
950: [21:02:08] <r3v3rb> and the best thing the person who argued most about my comparisons - his answer plain didn't work... nm
951: [21:04:44] * willr quit (Quit: willr)
952: [21:04:46] <guzzlefry> r3v3rb: next time...clearing divs.
953: [21:04:47] <guzzlefry> :P
954: [21:05:19] <zippy__> ah hahaha!
955: [21:06:32] <guzzlefry> guys help!
956: [21:07:02] <guzzlefry> I have this OrderID field (actuallly a relation) in the CMS, but I can't figure out how to get it. :P
957: [21:07:24] <guzzlefry> Neither $field->getByName("OrderID") nor $fields->getByName("Order") work.
958: [21:07:54] <guzzlefry> oh, I bet I need to throw in the path to it.
959: [21:08:33] <guzzlefry> yay
960: [21:08:48] <guzzlefry> $field->getByName("Root.Main.OrderID") works.
961: [21:12:49] * UncleCheese quit (Read error: Connection reset by peer)
962: [21:13:06] * UncleCheese has joined #silverstripe
963: [21:14:13] <UncleCheese> dataFieldByName
964: [21:14:21] <r3v3rb> guzzlefry: no thanks ;)
965: [21:20:07] * UndefinedOffset quit (Quit: Leaving.)
966: [21:20:26] * UndefinedOffset has joined #silverstripe
967: [21:21:40] * ObiWanShanobi quit (Read error: Connection reset by peer)
968: [21:22:45] * ObiWanSh_ has joined #silverstripe
969: [21:23:43] <guzzlefry> rawr
970: [21:24:41] <guzzlefry> So, doing $fields->addFieldsToTab("Root.Relation", $this->Relation()->getCMSFields()); doesn't work as I had hoped.
971: [21:24:51] * UndefinedOffset quit (Ping timeout: 252 seconds)
972: [21:24:59] * ObiWanSh_ quit (Client Quit)
973: [21:25:48] <guzzlefry> Is there not a way to edit a has_one relation directly on the parent's edit form?
974: [21:25:52] * Colin[pi] has joined #silverstripe
975: [21:28:32] * Sj0hn has joined #silverstripe
976: [21:31:47] * SphereSilverNL quit (Remote host closed the connection)
977: [21:37:39] * ToddKimball quit (Quit: Page closed)
978: [21:40:33] <Ryan-Toast> "Since the shortcode parser is based on a simple regular expression it cannot properly handle nested shortcodes." Wish I read that before making nested fucking shortcodes.
979: [21:43:44] <catcher> Anyone have an easy way to show more info on Pagination? i.e. "showing records $x-$y out of $Count"?
980: [21:45:52] <Colin[pi]> hai guise
981: [21:46:33] * antmas has joined #silverstripe
982: [21:46:45] <antmas> moin moin
983: [21:46:58] * chillu_23 has joined #silverstripe
984: [21:47:38] <Ryan-Toast> Morning
985: [21:47:47] * gelignite quit (Quit: http://bit.ly/nkczDT)
986: [21:47:58] * Sjohn has joined #silverstripe
987: [21:48:21] <Ryan-Toast> antmas: I'm bored. Give me a feature request.
988: [21:48:29] <Colin[pi]> went to see Desolation of Smaug last night, enjoyed it more than the first
989: [21:48:45] <Ryan-Toast> <Colin[pi]> Because the first movie was pointless.
990: [21:48:56] <antmas> Colin[pi]: yeah, much better film
991: [21:49:03] <Colin[pi]> still trying to figure out how exactly they will flesh out a 3rd film though
992: [21:49:17] <antmas> favourite scene is the white orc talking to Sauron (smoke monster thingy)
993: [21:49:52] <Colin[pi]> yeah cool scene
994: [21:50:02] <antmas> Ryan-Toast: I'm compiling a list, I will send it through this weekend while I finish up my site :D
995: [21:50:03] <simon_w> Colin[pi], I could ask some of the guys in it
996: [21:50:03] <catcher> Ryan-Toast, extend PaginatedList to show more info, i.e. "showing records x-y out of z"
997: [21:50:20] <Ryan-Toast> <catcher> Lol.
998: [21:50:29] <Colin[pi]> simon_w: which guys?
999: [21:50:33] <antmas> Colin[pi]: my sister gave me the script for the 3rd movie :D
1000: [21:50:43] <Colin[pi]> what? no
1001: [21:50:45] <simon_w> Colin[pi], a couple of extras
1002: [21:50:52] <Ryan-Toast> catcher: I actually need to do pagination in my boilerplate. So I may actually do that.
1003: [21:51:03] <antmas> Colin[pi]: totes
1004: [21:51:07] <Ryan-Toast> This is really cool: http://youmightnotneedjquery.com/
1005: [21:51:10] <Colin[pi]> no wai
1006: [21:51:11] <catcher> Ryan-Toast, score!
1007: [21:51:40] <antmas> Ryan-Toast: awesome
1008: [21:51:52] <antmas> the 3rd movie sounds like it will be good from what I'v read of it
1009: [21:52:10] <Colin[pi]> I heard they will use a lot of Tolkein's appendices to flesh it out and connect it to LOTR
1010: [21:52:18] * Sj0hn quit (Ping timeout: 272 seconds)
1011: [21:52:20] <antmas> Colin[pi]: exactly
1012: [21:52:52] <antmas> I'm currently waiting on a Smaug coin (from the scenes with the mountains of gold) to be sent to me :D
1013: [21:53:03] <antmas> and a wolf pelt
1014: [21:53:16] <Colin[pi]> haha they look like our 50c coins
1015: [21:53:32] <simon_w> Way too big and chunky
1016: [21:53:53] * Gebruiker__ has joined #silverstripe
1017: [21:53:56] <guzzlefry> So I guess, to edit a relation on the parent's edit form, I just have to add a FormField for each of the relation's fields that I want editable? 0.o
1018: [21:54:30] <antmas> the one I'm being sent (not from merch store) touched Bilbo's feet when he first enters the chamber :D
1019: [21:54:42] <Colin[pi]> lol
1020: [21:54:50] <Colin[pi]> what it has his footprint on it?
1021: [21:54:55] <Colin[pi]> how can you prove that? lol
1022: [21:55:14] <simon_w> guzzlefry, that's what http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit needs, though is easy enough to just loop over the fields, change the name, and add it
1023: [21:55:16] <antmas> Colin[pi]: naw, they kept a bunch for staff from that scene
1024: [21:57:16] * travis-ci has joined #silverstripe
1025: [21:57:17] <travis-ci> [travis-ci] chillu/silverstripe-framework#132 (pulls/2796-form-escape - 0808c27 : Ingo Schommer): The build has errored.
1026: [21:57:17] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/b29b49e7d763^...0808c271212b
1027: [21:57:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/17937237
1028: [21:57:17] * travis-ci has left #silverstripe
1029: [21:57:57] * Sjohn quit (Ping timeout: 248 seconds)
1030: [22:02:45] <Colin[pi]> antmas: heh cool
1031: [22:04:25] * UncleCheese quit (Quit: UncleCheese)
1032: [22:05:36] * Jakx has joined #silverstripe
1033: [22:06:13] <Ryan-Toast> sspaste has had it's bandwidth limit exceeded.
1034: [22:06:28] * UncleCheese has joined #silverstripe
1035: [22:06:34] <simon_w> Why is it even on shared hosting?
1036: [22:06:45] <Ryan-Toast> Shrug.
1037: [22:06:59] <Jakx> lol
1038: [22:07:05] <Ryan-Toast> Can someone please tel me what I'm doing wrong with Pagination limiting here? http://pastebin.com/U1n18HEp
1039: [22:07:21] <Ryan-Toast> Still shows all of the children.
1040: [22:09:08] <simon_w> Ryan-Toast, what are you trying to do?
1041: [22:09:26] <Ryan-Toast> simon_w: Paginate children in a holder
1042: [22:09:28] <zippy__> damn ANZ is crap. Other banks, send money between banks, shows up in 2 hours~ anz is still overnight. balls
1043: [22:09:53] <Jakx> zippy__, yeah - that really fucked me over during xmas
1044: [22:10:00] * samey6 quit (Ping timeout: 245 seconds)
1045: [22:10:17] <zippy__> I think I am going to move away from them
1046: [22:10:21] <simon_w> Ryan-Toast, so what's with the call to setLimitItems()?
1047: [22:10:28] <simon_w> Also, you just want $this->AllChildren()
1048: [22:10:39] <unsignedint> yeah I never understood that, along with "payments dont work on weekends". its a fucking computer, it can work 24/7
1049: [22:11:17] <Ryan-Toast> simon_w: I thought that was the method to choose how many items are on a page before it's paginated.
1050: [22:11:26] <zippy__> anz reaks of an old shitty system which is too hard to change
1051: [22:11:29] <simon_w> zippy__, not all other banks do it, and the 2 hours is still only during business hours
1052: [22:11:46] <simon_w> Ryan-Toast, no, that's setPageLength()
1053: [22:11:50] <zippy__> simon_w: I did kiwi bank to bnz at 8pm and showed up just before 10pm
1054: [22:12:04] <zippy__> antmas: getting hot again. might have to flick on aircon to watch the cricket
1055: [22:12:11] <simon_w> zippy__, yeah, 10pm's the cutoff
1056: [22:12:19] <simon_w> and it is just KiwiBank that does that, IIRC
1057: [22:12:48] <zippy__> I thought biz hours were till 5
1058: [22:12:50] <Ryan-Toast> simon_w: Thanks man :) That really shouild be in the docs./
1059: [22:13:18] <simon_w> zippy__, probably shouldn't have used business hours. It's the hours for which you'd get it showing up next day
1060: [22:14:11] * travis-ci has joined #silverstripe
1061: [22:14:12] <travis-ci> [travis-ci] chillu/silverstripe-framework#132 (pulls/2796-form-escape - 0808c27 : Ingo Schommer): The build has errored.
1062: [22:14:12] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/b29b49e7d763^...0808c271212b
1063: [22:14:12] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/17937237
1064: [22:14:12] * travis-ci has left #silverstripe
1065: [22:14:19] <simon_w> Ryan-Toast, http://api.silverstripe.org/3.1/class-PaginatedList.html#_setPageLength
1066: [22:14:52] <Jakx> Got an error with stock standard $form->loadDataFrom() (form $data stored in session during form action)... https://dl.dropboxusercontent.com/u/37967288/load-data-from-error.jpg
1067: [22:14:54] <Jakx> Any ideas?
1068: [22:15:26] <unsignedint> put a "@" before your $_POST call
1069: [22:15:33] <unsignedint> that'll shut the bastard up
1070: [22:15:51] <ss23> lol
1071: [22:16:24] <Jakx> lol
1072: [22:16:42] <unsignedint> so yeah, post code for your form
1073: [22:16:54] <unsignedint> since it appears you are missing a PasswordField that the code thinks is meant to be there
1074: [22:17:17] <unsignedint> or rather, you have a ConfirmedPasswordField but no inital PasswordField
1075: [22:19:29] <ss23> That was weird. Clicked two links to a site. Both were just standard site.com/admin/foobar links
1076: [22:19:37] <ss23> One of them requested I log in, the other didn't
1077: [22:19:42] <ss23> They were both on the same domain, etc
1078: [22:20:45] <Ryan-Toast> simon_w: I just did a pull request for the docs. Not sure if that's a good plan or not.
1079: [22:20:55] <unsignedint> ss23: Welcome to SilverStripe!
1080: [22:21:06] <ss23> lol
1081: [22:21:14] <unsignedint> Ryan-Toast: send all docs pull requests to ss23
1082: [22:21:20] <Jakx> unsignedint, hmmm - yeah but the ConfirmedPasswordField generates both the _Password and _ConfirmPassword input fields. Everything is done by Silverstripe documentation... so why would even be an error?
1083: [22:21:29] <Ryan-Toast> ss23: https://github.com/Rhym/silverstripe-framework/blob/75de6a2848f4bfc88794f71c1b161c35fb22a0a6/docs/en/howto/pagination.md
1084: [22:22:04] <ss23> I can't merge
1085: [22:22:06] <ss23> Send to simon_w
1086: [22:22:07] <unsignedint> Jakx: oh okay then. Im not sure, I cant say its something ive used before. But that error means that the _Password field is not present in the POST data so I assumed it was missing entirely from the form
1087: [22:22:10] <Ryan-Toast> lol
1088: [22:22:17] <unsignedint> how can the docs maintainer not be able to merge?
1089: [22:22:23] <ss23> LEAVE ME ALONE
1090: [22:22:24] * ss23 cries
1091: [22:24:06] <Jakx> simon_w, every come across https://dl.dropboxusercontent.com/u/37967288/load-data-from-error.jpg when using ss generated fields, $data etc?
1092: [22:25:11] <ss23> Jakx: New Youthline site? :O
1093: [22:25:19] <guzzlefry> aaahhh [User Deprecated] validEmailAddr is deprecated. Use Email->validEmailAddr() instead. Called from SmtpMailer->buildBasicMail.
1094: [22:25:21] <Ryan-Toast> Twitter bootstrap is 3.1 now. Offical SASS support.
1095: [22:25:43] <guzzlefry> I guess I should fix that as I'm the maintainer now. :P
1096: [22:25:50] <guzzlefry> Or bug people for pull requests...hrm...
1097: [22:26:10] <Jakx> ss23, yes indeed ^^
1098: [22:26:56] <ss23> cool :D
1099: [22:27:17] <zippy__> Ryan-Toast: sass please….. <font> tags for me plz
1100: [22:27:31] <ss23> lol zippy__
1101: [22:27:34] <ss23> <blink>
1102: [22:30:03] * Gebruiker__ quit (Quit: Ik ga weg)
1103: [22:32:35] <variable_office> oddly when I go to create a new user in the cms there is no email field, why is this? It basically makes the create user useless.
1104: [22:33:34] <UncleCheese> fucking wellington
1105: [22:34:06] <Ryan-Toast> zippy_ font tags?
1106: [22:34:20] <simon_w> UncleCheese, you're the one that moved here
1107: [22:34:28] <Colin[pi]> what's the prob now UC?
1108: [22:34:47] <UncleCheese> finally found the perfect property
1109: [22:34:52] <UncleCheese> while expensive.. really nice
1110: [22:35:00] <ss23> Zauberfisch: They still make pentiums!
1111: [22:35:01] <ss23> :P
1112: [22:35:09] <UncleCheese> owner was showing it to several people.. made a special private showing for us
1113: [22:35:14] <UncleCheese> because she liked my email
1114: [22:35:18] <UncleCheese> and loved us
1115: [22:35:21] <ss23> Zauberfisch: In its most current form, a Pentium processor is a consumer-level product that Intel rates as "two stars",[1] meaning that it is above the low-end Atom and Celeron products but below the faster Core i3, i5 and i7 lines as well as the high-end Xeon processors.
1116: [22:35:36] <UncleCheese> says, ok, i'll check references, and send you a tenancy agreement.. no need to show it on saturday.. i love you guys
1117: [22:35:49] <Colin[pi]> can see where this is going
1118: [22:35:56] <UncleCheese> then she writes this morning, "i really want to rent it to you guys.. i really like you"
1119: [22:36:02] <UncleCheese> but someone else offered me $20 more.
1120: [22:36:08] <Colin[pi]> lol
1121: [22:36:10] <UncleCheese> What the flying fuck
1122: [22:36:23] <Colin[pi]> UC haven't you learned yet that $$$ is the ULTIMATE decider?
1123: [22:36:29] <Colin[pi]> it overrides all
1124: [22:36:30] <UncleCheese> in rent?!
1125: [22:36:32] <UncleCheese> who does that?
1126: [22:36:33] <Colin[pi]> yes1
1127: [22:36:37] <UncleCheese> what is this, a bazaar?
1128: [22:36:37] <Colin[pi]> for everything
1129: [22:36:47] <UncleCheese> seriously
1130: [22:36:47] <Colin[pi]> nope happens here too, happens everywhere
1131: [22:36:49] <UncleCheese> who does ethat
1132: [22:36:51] <spronk> hmm
1133: [22:36:52] <spronk> fucking linux
1134: [22:36:58] <Colin[pi]> a *lot* of people, sadly
1135: [22:37:03] <UncleCheese> you advertise a place for a specific price
1136: [22:37:11] <UncleCheese> and then you find out that it's just priced at whatever someone will offer?
1137: [22:37:12] <UncleCheese> fuck you!
1138: [22:37:24] <spronk> pretty sure that's illegal, UC
1139: [22:37:28] <spronk> people get away with it though
1140: [22:37:29] <UncleCheese> really?
1141: [22:37:32] <Colin[pi]> i've had it happen to me too
1142: [22:37:42] <spronk> there's some law around not being able to bargain
1143: [22:37:45] <UncleCheese> meanwhile, our lease is up in february
1144: [22:37:51] <Jakx> unsignedint, after some extra debugging I can see the Password index in the post data ><
1145: [22:38:05] <UncleCheese> and i told the owner, we'd be happy to stay where we are if the owners would do something about the heat
1146: [22:38:14] <UncleCheese> seriously.. just throw some insulation in there or something
1147: [22:38:22] <UncleCheese> and he's like, yeah, i've asked them about insulation
1148: [22:38:32] <UncleCheese> they're willing to do it, so that they can increase the rent
1149: [22:38:36] <UncleCheese> fuck you!!!!!!!
1150: [22:38:45] <simon_w> ss23, I take it cam is still at court?
1151: [22:38:58] <UncleCheese> $500pw for an uninsulated house? are you kidding?
1152: [22:39:05] <UncleCheese> I know people say, oh that's just kiwi houses
1153: [22:39:07] <ss23> simon_w: Presume so, was for the entire week I think
1154: [22:39:19] <ss23> simon_w: He's not here at work at least!
1155: [22:39:20] <Colin[pi]> UncleCheese: I've learned that in the housing game, tenants are typically treated like the shittiest of shit
1156: [22:39:22] <UncleCheese> no, it's not.. we've been looking for six months now, and $400 will get you insulation in most places
1157: [22:39:34] <UncleCheese> $500 should be no question
1158: [22:39:37] <UncleCheese> that's just wrong, man
1159: [22:39:41] * antmas switches tabs
1160: [22:39:45] <Jakx> UncleCheese, agreed.
1161: [22:39:52] <Colin[pi]> tenants are walking wallets for the owners... they could not give a fuck about tenants so long as they cough up the money when due
1162: [22:39:58] <UncleCheese> of course they are, because there's ALWAYS someone around the corner who will take it!
1163: [22:40:02] <ss23> Could be worse, we were paying $620/w for a 2bdrm place
1164: [22:40:09] <UncleCheese> where?
1165: [22:40:12] <ss23> Sydney! :D
1166: [22:40:22] <UncleCheese> oh
1167: [22:40:23] <ss23> was quite a nice apartment tbh ^.^
1168: [22:40:26] <UncleCheese> well then
1169: [22:40:29] <ss23> :P
1170: [22:40:32] <UncleCheese> yeah, sydyney is like
1171: [22:40:34] <UncleCheese> modern
1172: [22:40:37] <Colin[pi]> UncleCheese: tenants have no leverage these days, because you're right, they will ALWAYS find someone else to pay up, and pay more
1173: [22:40:38] <ss23> lol
1174: [22:40:54] <UncleCheese> so depressing
1175: [22:40:58] <Colin[pi]> you try and reason with the real estate/owners... they're like "well fuck you"
1176: [22:41:06] <UncleCheese> looking for six months, and finally finding the right place
1177: [22:41:08] <Colin[pi]> they honestly could not give a shit
1178: [22:41:18] <UncleCheese> and then you find out, oh, that's why it's the right place, because it's way underpriced
1179: [22:41:48] <Colin[pi]> I'm paying $385 for a 2-bdr apartment in Canberra, that's CHEAP for here
1180: [22:41:56] <Colin[pi]> rent review next month :(
1181: [22:42:27] <unsignedint> im splitting $495/week with 3 other people for 4bdrm 2 storey house in Taradale
1182: [22:42:31] <simon_w> Colin[pi], that's the range we're looking at. 380-400 seems like the normal range for suburban ones
1183: [22:42:59] <Colin[pi]> simon_w: rents have fallen 5-10% over the past six months
1184: [22:43:08] <Colin[pi]> so that's something
1185: [22:43:13] <Colin[pi]> doubt mine will go down though lol
1186: [22:43:15] <simon_w> Colin[pi], probably helps. Hopefully it keeps going like that ;)
1187: [22:43:46] <ss23> I'm paying $130 or so (not including power/food/water/internet/whatever) for a *really* scummy place in mt vic
1188: [22:43:54] <ss23> flatmate is a dirty guy too
1189: [22:43:55] <ss23> not that I care
1190: [22:43:56] <guzzlefry> Is this "Link to existing" page stuff in TinyMCE broken for everyone or just me?
1191: [22:44:00] <ss23> So it's like cheap rent, yay :D
1192: [22:44:22] <Colin[pi]> I was checking out a brand new apartment nearby last weekend, built to order, 3 bdr... they want $470,000
1193: [22:44:35] <Colin[pi]> repayments would be like $600/w :(
1194: [22:44:56] <unsignedint> 470,000 doesnt seem too bad for a brand new wellington apartment though?
1195: [22:45:01] <Colin[pi]> canberra
1196: [22:45:05] <unsignedint> ah
1197: [22:45:12] * unsignedint has no idea whats expected for canberra
1198: [22:45:18] <Colin[pi]> and yeah it's probably about right
1199: [22:45:23] <Colin[pi]> but SO fucking expensive these days
1200: [22:45:39] <unsignedint> yep, as population increases, available housing decreases, driving prices up
1201: [22:45:48] <unsignedint> supply and demand apaprently
1202: [22:45:53] <Colin[pi]> renting is cheaper, but dead money
1203: [22:46:06] <Colin[pi]> and like I said, they really could not give a fuck about you as a tenant
1204: [22:46:08] <simon_w> Colin[pi], at least prices went down!
1205: [22:46:22] <Jakx> should I be using $form->loadDataFrom() in 3.1?
1206: [22:46:45] <Colin[pi]> simon_w: for now ;)
1207: [22:47:54] <ss23> WAIT
1208: [22:47:56] <ss23> I FO?UND CAM simon_w
1209: [22:47:57] <ss23> he's here!
1210: [22:47:58] <ss23> :O
1211: [22:48:02] <ss23> Want me to poke ihm, simon_w?
1212: [22:48:27] <simon_w> Jakx, yes. ConfirmedPasswordField shouldn't be trying to access $_POST
1213: [22:48:30] <ss23> quick simon_w!
1214: [22:48:33] <simon_w> ss23, nah, he'll see my email
1215: [22:48:34] <ss23> HE'S GETTING AWAY
1216: [22:48:35] <ss23> okay okay
1217: [22:48:36] <ss23> phew
1218: [22:48:37] <ss23> that was intense
1219: [22:48:55] <Zauberfisch> ss23: oh, I see
1220: [22:49:01] <Zauberfisch> ss23: do those have multiple cores?
1221: [22:49:14] <ss23> yeah, Zauberfisch
1222: [22:49:23] <ss23> The important thing is whether they support the virtualization tech though
1223: [22:49:25] <ss23> and idk if mine does
1224: [22:49:27] <ss23> I suspect it doesn't
1225: [22:50:13] <Zauberfisch> ss23: mind checking?
1226: [22:50:24] <ss23> Zauberfisch: Well a) I'm not at home, and b) why would it matter? :P
1227: [22:51:04] <Zauberfisch> ss23: if the late versions of pentium do not support virtualization, then I will stick with 32bit
1228: [22:51:19] <Zauberfisch> however, if not, then I will go for 64
1229: [22:51:25] <ss23> hmmm
1230: [22:51:42] <ss23> That seems like an arbitary decision. What about all the AMD ones?
1231: [22:52:54] <Jakx> ConfirmedPasswordField->setValue() prompts ->validate(). Within which has this: $passwordField->setValue($_POST[$name]['_Password']);.... wtf? There isn't always going to be a $_POST value?
1232: [22:53:20] <Ryan-Toast> Can I extend PaginatedList with: class PaginatedListExtension extends Extension {
1233: [22:53:24] <simon_w> Jakx, exactly
1234: [22:53:25] <ss23> Jakx: Was it introduced in a recent patch or something? Seems like an annoying bug!
1235: [22:53:46] <simon_w> Ryan-Toast, yes
1236: [22:54:09] <Zauberfisch> ss23: yeah, I might invest a minute or two google searching for amd support
1237: [22:54:27] <Ryan-Toast> simon_w: Cool, just had to do a dev/build.
1238: [22:54:32] <Jakx> ss23, I imagine so - this has worked for me in the past. Though I've never compared...
1239: [22:58:26] <simon_w> Jakx, ss23, it was a change for 3.1.2rc1
1240: [22:59:00] <ss23> OHHHH
1241: [22:59:08] <ss23> who doned it?
1242: [22:59:12] <ss23> Lets yell at them!
1243: [23:00:03] <simon_w> https://github.com/silverstripe/silverstripe-framework/commit/2a6f1f1949956b4c91c5b7925707f29653dc1033
1244: [23:00:07] <simon_w> Ingo merged it
1245: [23:00:38] <ss23> I just glared at him, but he didn't see
1246: [23:01:06] * terryapodaca has joined #silverstripe
1247: [23:01:15] <ss23> Oh, it's one of the betterbreif guys! we have a guy working here who worked for them!
1248: [23:01:22] <simon_w> chillu_23, ss23 is glaring at you!
1249: [23:01:27] <ss23> *was*
1250: [23:01:29] <ss23> Not currently
1251: [23:02:01] <terryapodaca> quick question: would adding ExpiresByType text/ss "access plus 1 month" to the main htaccess file actually help or do anything?
1252: [23:02:51] <simon_w> terryapodaca, first, that's not a valid mime type. Second, .ss files are blocked by .htaccess
1253: [23:02:58] <simon_w> So, it'll be rather pointless
1254: [23:03:54] <terryapodaca> thought so...a coworker added it and when i saw it I was like =-O
1255: [23:10:42] <zippy__> you broke the internets!!\
1256: [23:11:16] * catcher quit (Quit: Leaving)
1257: [23:11:37] * RobboNZ has joined #silverstripe
1258: [23:14:58] <zippy__> simon_w: I think you need a name change to ss_wiki
1259: [23:15:15] <simon_w> zippy__, but I like my name!
1260: [23:15:19] <simon_w> Also, the wiki died
1261: [23:16:12] <r3v3rb> lol
1262: [23:16:13] * Bollig|DesignCty has joined #silverstripe
1263: [23:16:23] <guzzlefry> Silverstripe has a wiki?
1264: [23:16:32] <guzzlefry> s/has/had
1265: [23:16:40] <ss23> Think we got rid of it
1266: [23:16:44] <guzzlefry> aw
1267: [23:16:52] <guzzlefry> Maybe for the best. :P
1268: [23:17:04] <guzzlefry> I can imagine 3.x code examples mixed in with 2.4 examples...
1269: [23:17:29] <Pyromanik> fff bed time and I feel like pizza or chocolate biscuits.
1270: [23:17:35] <simon_w> guzzlefry, old docs
1271: [23:17:36] <r3v3rb> nite fella
1272: [23:17:39] <Pyromanik> wtf is up with this country and wanting to make myself fat all the time :<
1273: [23:17:54] <r3v3rb> Pyromanik: told you before... its a conspiracy
1274: [23:18:01] <ss23> 12:17:29 < Pyromanik> fff bed time and I feel like pizza or chocolate biscuits.
1275: [23:18:04] <ss23> You don't get this in NZ too?!
1276: [23:18:16] <Pyromanik> Could also have something to do that all I ate all day was some yogurt and a can of soup
1277: [23:18:22] <r3v3rb> ss23: not eight times a day...
1278: [23:18:27] <ss23> r3v3rb: :O
1279: [23:18:28] * ss23 is outlier
1280: [23:18:30] <Pyromanik> ss-log, nup.
1281: [23:18:35] <Pyromanik> ss23, *
1282: [23:18:39] <zippy__> the "say" terminal command is pretty cool
1283: [23:19:00] <Pyromanik> Sleep will fix me, then I'll get up, shower and go to town for hot chocolates and paninis like a real sales person!
1284: [23:19:05] <zippy__> post commit hook -> run command -> say 'You are fucking awesome'
1285: [23:19:12] * r3v3rb decided rgid systems are a pain in the ass and its actually quicker just to hash something from scratch
1286: [23:19:16] <r3v3rb> grid*
1287: [23:19:32] <Pyromanik> r3v3rb, came to same conclusion when someone tried to first introduce the grid.
1288: [23:19:39] <Pyromanik> second when I decided I might ahve been wrong.
1289: [23:19:48] <Pyromanik> third when I though I'd give them a go again
1290: [23:19:57] <r3v3rb> i spent a day going over the 'latest' grids and thought I must be doing something wrong
1291: [23:20:10] <Pyromanik> fourth when I didn't have a design to try to squeeze into one (although that kinda wasn't tooooo bad)
1292: [23:20:11] <r3v3rb> then realised they just aren't flexible enough
1293: [23:20:15] <simon_w> zippy__, say -v 'Pipe Organ' dah dah dah dah dah dah dah, dah dah
1294: [23:20:22] <simon_w> (or similar)
1295: [23:20:23] <Pyromanik> I found that nothing is actually grid like.
1296: [23:20:31] <Pyromanik> well
1297: [23:20:38] <Pyromanik> besides everyfuckingwebsiteever.com
1298: [23:20:49] <r3v3rb> Pyromanik: so true, got the design through for that site i was telling you about
1299: [23:21:05] <r3v3rb> looks really grid like, until you try and get a grid to fit it
1300: [23:21:05] <Pyromanik> but when a designer gives you a design and hasn't had the slightest clue about grids when they did it...
1301: [23:21:15] <Pyromanik> r3v3rb, exactly!
1302: [23:21:25] <r3v3rb> Ta Da!
1303: [23:21:30] <Pyromanik> sleep time, gotta fix pattern before work on Monday
1304: [23:21:33] <Pyromanik> ciao
1305: [23:21:37] <r3v3rb> ciao bella
1306: [23:21:40] <Jakx> Pyromanik, grids a more theoretical anyway :P
1307: [23:21:47] <simon_w> I have retina iOS designs to implement. Looks like they're done by someone that doesn't understand retina displays
1308: [23:22:10] <simon_w> Odd number of pixels everywhere! 15pt header fonts!
1309: [23:22:15] <Pyromanik> Jakx, I wish. But that would require every fucking twat on the internet to wake up to the fact and stop frothing at the mouth over them.
1310: [23:22:40] <Jakx> Pyromanik, lol. yeap.
1311: [23:22:59] <Pyromanik> that and 'new' ideologies that basically amount to design patterns uncovered back in the 60s
1312: [23:23:10] <simon_w> zippy__, damn you, now I'm making say make music instead of working
1313: [23:23:47] <Pyromanik> that none bothered to think about applying in this newer age because they're all dumb or not from code background (and have some kinda fobia to learning about code when that's actually all they do all day)
1314: [23:23:56] <Pyromanik> SUDDENLY WE GET SHIT LIKE WERDDERP
1315: [23:23:58] <r3v3rb> Pyromanik: I'm going to see if canvas is better for web development than html/css :O
1316: [23:24:00] <Jakx> Pyromanik, haha yeah. In some cases I'm pretty sure fibonacci had it covered
1317: [23:24:24] <Pyromanik> rofl r3v3rb, but the seo, won't someone please think of the childr... errr... seo!
1318: [23:24:37] <r3v3rb> fuck the seo ! FTW!!!
1319: [23:24:40] <Pyromanik> but if you're deving a game, probably most assuredly./
1320: [23:24:56] <zippy__> simon_w: :-)
1321: [23:24:58] <Pyromanik> fuck SEO indeed. Just don't be retarded. PROBLEM SOLVED
1322: [23:25:07] <Pyromanik> right, time to sleep.
1323: [23:25:10] * r3v3rb tells client seo doesn't exist only content
1324: [23:25:23] * r3v3rb = black hat seo expert
1325: [23:25:32] <zippy__> simon_w: I figured you knew about say. Thought you were piping the contents of the api docs into say at night while you sleep :)
1326: [23:25:33] * r3v3rb = white hat seo expert
1327: [23:25:34] <Pyromanik> Jakx, email me if you need help. I might be in a position now for some on the side stuff :>
1328: [23:25:49] <r3v3rb> Pyromanik: fancy thrashing out a grid ;)
1329: [23:25:53] <simon_w> zippy__, pfft, then I'd be wrong a lot more often :p
1330: [23:25:57] <zippy__> haha
1331: [23:25:58] <Pyromanik> r3v3rb, sure, email me details
1332: [23:26:23] <zippy__> pipe organ is awesome
1333: [23:26:42] <simon_w> So is cellos
1334: [23:26:43] <simon_w> https://files.app.net/xkm1FkmM
1335: [23:29:10] <zippy__> hahaha
1336: [23:29:17] <zippy__> whats the say command for that
1337: [23:29:34] <simon_w> say -v Cellos -o ~/Downloads/do.aif do do do do do do do do do do do do do
1338: [23:29:42] <simon_w> You probably don't want the -o
1339: [23:30:33] <zippy__> add more do, it gets more awesome
1340: [23:31:08] <Ryan-Toast> catcher: http://i.imgur.com/KO749J6.png
1341: [23:31:14] <r3v3rb> right time to sleepppppppp
1342: [23:31:20] <simon_w> zippy__, and then it loops
1343: [23:31:31] <Ryan-Toast> Is that what you wanted, catcher?
1344: [23:31:36] <r3v3rb> Ryan-Toast: lol
1345: [23:31:39] <Ryan-Toast> Oh, is he gone?
1346: [23:32:12] <zippy__> new service!
1347: [23:32:13] <r3v3rb> anyone remember DOM ?
1348: [23:32:22] <zippy__> 'Want a jingle for your website?'
1349: [23:34:17] <simon_w> zippy__, find ~/Downloads/ -print0 | xargs -0n1 basename | say -v Cellos
1350: [23:34:27] <guzzlefry> r3v3rb: From Fast and the Furious?! :P
1351: [23:34:56] <r3v3rb> guzzlefry: lol
1352: [23:35:58] <zippy__> heh!
1353: [23:36:17] <r3v3rb> i'm tired, thinks I should give up
1354: [23:36:47] <r3v3rb> need to setup four editable panels that hold two items each in the admin and cant think
1355: [23:40:03] <Ryan-Toast> Does anyone know who catcher is?
1356: [23:40:23] <variable_office> Why does silverstripe not allow me to edit an accounts email in the cms?
1357: [23:41:08] <guzzlefry> It should?
1358: [23:42:55] <Ryan-Toast> Should I put Extensions in a folder, or just the code folder? I'm not sure what's the coding convention for SS
1359: [23:43:25] <guzzlefry> Ryan-Toast: Is it extending something specific?
1360: [23:43:35] <Ryan-Toast> Yes
1361: [23:43:43] <Ryan-Toast> Well, a specific class
1362: [23:43:55] <guzzlefry> I usually do
1363: [23:44:14] <Ryan-Toast> like an "extension" folder inside of "code"?
1364: [23:44:18] <guzzlefry> /project/code/SiteConfig/{site config extensions}.php
1365: [23:44:33] <guzzlefry> or /project/code/Member/{member extensions}.php
1366: [23:44:46] <guzzlefry> I don't think there's really a convention for it.
1367: [23:45:52] <Ryan-Toast> just makes it easier to read I guess :)
1368: [23:45:54] <Colin[pi]> I structure my modules like: /module/code/model /module/code/forms /module/code/pages /module/code/extensions
1369: [23:45:56] <Ryan-Toast> Cheers.
1370: [23:50:48] * travis-ci has joined #silverstripe
1371: [23:50:49] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#705 (master - 7d7c754 : Russell Michell): The build has errored.
1372: [23:50:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/c6082827dc25...7d7c75414c33
1373: [23:50:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/17945540
1374: [23:50:49] * travis-ci has left #silverstripe
1375: [23:53:42] <antmas> whoops ^^^
1376: [23:55:10] * travis-ci has joined #silverstripe
1377: [23:55:11] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#705 (master - 7d7c754 : Russell Michell): The build has errored.
1378: [23:55:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/c6082827dc25...7d7c75414c33
1379: [23:55:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/17945540
1380: [23:55:11] * travis-ci has left #silverstripe
1381: [23:55:53] <zippy__> Russell!!
1382: [23:58:05] <antmas> I can see Russell sweating and furiously clicking away
1383: [23:58:26] <antmas> notifications and alert logs flying everywhere
1384: [23:58:27] <antmas> lol
1385: [23:59:48] * r3v3rb quit (Quit: r3v3rb)

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