#silverstripe IRC Log

IRC log for 17 February 2013

All timestamps are in UTC.

1: [00:03:00] <simon_w> Is the join to filter on or anything?
2: [00:04:00] <Marvanni> yes JoinTable.Field = value
3: [00:05:00] <simon_w> Well, you still need the join then. Then, in your template, <% if $Field %>$Field<% else %>$Relation.Field<% end_if %>
4: [00:08:00] <Marvanni> hm thats not what im after, i have to rethink my way of storage i think...
5: [00:10:00] <Marvanni> I was also thinking of replacing an item from a DataList with a DataObject from the second table, or override the DataObject record data with the data from the second table
6: [00:11:00] <simon_w> You're trying to do things DataList isn't designed to do
7: [00:13:00] <Marvanni> you might be right i'm afraid
8: [00:14:00] * howardgrigg quit (Remote host closed the connection)
9: [00:15:00] <Marvanni> I need to have a DataObject with 'overridable' data for certain Locales
10: [00:15:00] <Marvanni> and it must be editable in the cms
11: [00:17:00] <Marvanni> so if Locale is not default_locale, merge the DataObject Data with available overriden Data for that Locale
12: [00:21:00] <Marvanni> hm, is see $list->push(); won't work either...
13: [00:23:00] <Marvanni> ArrayList ....
14: [00:30:00] <Marvanni> Whay do I always get the nasty jobs...
15: [00:37:00] <Marvanni> does the GridFieldDataColumns provide a way to add custom css classes to <tr>and <td>?
16: [00:39:00] * simon_w has joined #silverstripe
17: [00:39:00] * simon_w quit (Ping timeout: 264 seconds)
18: [00:56:00] * ajshort has joined #silverstripe
19: [01:10:00] <Marvanni> hi ajshort. Do you see a way to add HiddenFields to the EditableColumns without adding an extra column?
20: [01:13:00] <ajshort> not easily
21: [01:15:00] <Marvanni> what about grouping the HiddenFields in the Actions Column?
22: [01:28:00] <ajshort> you probably bould
23: [01:28:00] <ajshort> what's your use case for hidden fields?
24: [01:33:00] <Marvanni> SortOrder, ClassName for what I now can think off
25: [01:34:00] <Marvanni> sorting is set on manymany
26: [01:34:00] <Marvanni> I needed to add a SortOrder hiddenfield, otherwise the Sorting got lost on Pagesave
27: [01:35:00] <ajshort> the sort should be saved as soon as it's changed
28: [01:35:00] <ajshort> that's odd
29: [01:36:00] <Marvanni> yes, but in combination with the inlineeditablefields the sorting gets lost when they are stored in the manymanyextrafields
30: [01:37:00] <ajshort> that's probably an underlying bug that should be fixed :)
31: [01:37:00] <ajshort> ah ok, because it calls ->add without the arguments
32: [01:38:00] <Marvanni> adding the sortorder as hiddenfields works fine, but the extra column is ugly
33: [01:38:00] <Marvanni> yes
34: [01:39:00] <ajshort> I'll see if I can fix the underlying issue
35: [01:40:00] <Marvanni> I really like the extensionpack by the way, nice examples of how to create all the different components
36: [01:41:00] <ajshort> you're lucky someone pushed me to write some documentation :)
37: [01:42:00] <simon_w> ajshort, unit tests!
38: [01:42:00] <Marvanni> Zauberfish ? :), yeah, but the browsing the code helped a lot
39: [01:43:00] * funkygibbon__ has joined #silverstripe
40: [01:45:00] * funkygibbon_ quit (Ping timeout: 248 seconds)
41: [02:02:00] * guci0 quit (Ping timeout: 245 seconds)
42: [02:12:00] * priithansen quit (Quit: priithansen)
43: [02:14:00] * ajshort quit (Read error: Connection reset by peer)
44: [02:21:00] * howardgrigg has joined #silverstripe
45: [02:58:00] * ajshort has joined #silverstripe
46: [03:06:00] * willr quit (Quit: willr)
47: [03:17:00] * eikonos quit (Quit: Leaving.)
48: [03:28:00] * eikonos has joined #silverstripe
49: [03:28:00] * eikonos has joined #silverstripe
50: [03:28:00] * eikonos quit (Changing host)
51: [03:31:00] * eikonos quit (Client Quit)
52: [04:11:00] * Bollig|DesignCty quit (Ping timeout: 252 seconds)
53: [04:26:00] * cloph_away has joined #silverstripe
54: [04:27:00] * cloph_away1 quit (Ping timeout: 252 seconds)
55: [04:43:00] * Bollig|DesignCty has joined #silverstripe
56: [04:46:00] * Motoservo quit (Quit: Motoservo)
57: [04:49:00] * Motoservo has joined #silverstripe
58: [04:55:00] * howardgrigg quit (Remote host closed the connection)
59: [05:16:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
60: [05:38:00] * funkygibbon__ quit (Quit: Leaving)
61: [06:02:00] * howardgrigg has joined #silverstripe
62: [07:03:00] * SightUnseen1 has joined #silverstripe
63: [07:05:00] * SightUnseen1 quit (Client Quit)
64: [07:16:00] * SightUnseen1 has joined #silverstripe
65: [07:18:00] * SightUnseen1 quit (Client Quit)
66: [07:28:00] * Liquide quit (Ping timeout: 255 seconds)
67: [07:29:00] * Liquide has joined #silverstripe
68: [07:39:00] * jimt quit (Remote host closed the connection)
69: [07:43:00] * priithansen has joined #silverstripe
70: [08:02:00] * Error404NotFound has joined #silverstripe
71: [08:45:00] * EPIK quit (Ping timeout: 276 seconds)
72: [08:50:00] * ajshort quit (Quit: Leaving)
73: [08:51:00] * howardgrigg quit (Remote host closed the connection)
74: [09:30:00] * simon_w quit (Ping timeout: 245 seconds)
75: [10:28:00] * SightUnseen has joined #silverstripe
76: [10:29:00] * chillu has joined #silverstripe
77: [10:36:00] * SightUnseen quit (Ping timeout: 244 seconds)
78: [11:00:00] * gelignite has joined #silverstripe
79: [11:01:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
80: [11:04:00] * Error404NotFound quit (Disconnected by services)
81: [11:04:00] * SightUnseen has joined #silverstripe
82: [11:04:00] * guci0 has joined #silverstripe
83: [11:04:00] * Err404NotFound has joined #silverstripe
84: [11:04:00] <guci0> Hello!
85: [11:09:00] * cloph_away1 has joined #silverstripe
86: [11:10:00] * cloph_away quit (Ping timeout: 252 seconds)
87: [11:13:00] * SightUnseen quit (Ping timeout: 252 seconds)
88: [11:20:00] * lx-berlin has joined #silverstripe
89: [11:40:00] * SightUnseen has joined #silverstripe
90: [11:50:00] * SightUnseen quit (Ping timeout: 256 seconds)
91: [12:17:00] * SightUnseen has joined #silverstripe
92: [12:27:00] * SightUnseen quit (Ping timeout: 252 seconds)
93: [12:48:00] * zfmf has joined #silverstripe
94: [12:49:00] * Err404NotFound quit (Ping timeout: 252 seconds)
95: [12:54:00] * SightUnseen has joined #silverstripe
96: [13:02:00] * Err404NotFound has joined #silverstripe
97: [13:06:00] * SightUnseen quit (Ping timeout: 244 seconds)
98: [13:23:00] * Err404NotFound is now known as Error404NotFound
99: [13:32:00] * Motoservo quit (Quit: Over & out.)
100: [13:32:00] * SightUnseen has joined #silverstripe
101: [13:40:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
102: [13:44:00] * SightUnseen quit (Ping timeout: 240 seconds)
103: [14:01:00] * Error404NotFound has joined #silverstripe
104: [14:10:00] * SightUnseen has joined #silverstripe
105: [14:19:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
106: [14:20:00] * nebby has joined #silverstripe
107: [14:21:00] * SightUnseen quit (Ping timeout: 248 seconds)
108: [14:21:00] <nebby> (and copied the database tables)
109: [14:21:00] <nebby> Hi there, I just transferred my website to a new domain, I coped all the files in the directory, then changed the database name and username in the config file. However now my silverstripe admin page will not load. Any suggestions?
110: [14:27:00] <zfmf> nebby did you run /dev/build/?flush=all
111: [14:35:00] <nebby> no... is that a shell command? This is on shared hosting...
112: [14:36:00] <zfmf> no run it on your browser
113: [14:36:00] <zfmf> domain.com/dev/build/?flush=all
114: [14:37:00] <nebby> The requested URL /dev/build/ was not found on this server.
115: [14:37:00] <nebby> Running an older version 2.4.5 if that makes a difference
116: [14:39:00] <nebby> Hmm, that URL does work on the old domain... odd
117: [14:42:00] <nebby> Looks like I didn't copy the .htaccess as it was hidden, that might be it
118: [14:48:00] * SightUnseen has joined #silverstripe
119: [14:49:00] <nebby> I've copied the .htaccess and .htaccess__ files over, but for some reason my links are now www.domain.com/index.php/page rather than www.domain.com/page ?
120: [14:53:00] * buddhima quit (Quit: Leaving)
121: [14:53:00] * buddhima has joined #silverstripe
122: [14:54:00] <bsw> hi,
123: [14:54:00] <guci0> http://www.grupakarczew.pl - first step finished :)
124: [14:54:00] * bsw has joined #silverstripe
125: [14:56:00] <bsw> i'm interested in contributing to silverstripe project
126: [14:57:00] <bsw> how can I start ?
127: [14:59:00] <nebby> nevermind, had not copied htaccess properly, all good now
128: [15:00:00] * SightUnseen quit (Ping timeout: 256 seconds)
129: [15:06:00] <bsw> could I know, is there any project mentor online pls ?
130: [15:11:00] <bsw> is there someone who can help ?
131: [15:12:00] <zfmf> aa ok :d
132: [15:12:00] <guci0> bsw: I need to download SS 3.0.3 ??? and fire :)
133: [15:12:00] <zfmf> nebby: add Director::setBaseURL('/'); to your _config.php
134: [15:13:00] <guci0> bsw: why silver stripe?
135: [15:15:00] <bsw> hi guci0
136: [15:16:00] <bsw> silver stripe has a framewrk, I like to contribute to that
137: [15:16:00] <bsw> :)
138: [15:19:00] <guci0> has cms, too :)
139: [15:20:00] <guci0> SS it's good choice...
140: [15:22:00] <bsw> I know
141: [15:22:00] <bsw> yp
142: [15:23:00] <bsw> but CMS also built on top of Framewrk, am i correct?
143: [15:26:00] * SightUnseen has joined #silverstripe
144: [15:29:00] <guci0> yes
145: [15:30:00] <bsw> but I like CMS too :)
146: [15:30:00] <bsw> so I thought contributing to framewrk would be more useful for SS
147: [15:31:00] <bsw> could you let me know which are the project that I could join?
148: [15:31:00] <bsw> I also sent a mail to mail group on this
149: [15:38:00] * SightUnseen quit (Ping timeout: 260 seconds)
150: [15:59:00] <bsw> Hi guci0, if you are not so busy, cld u hlp to find point me a proj , pls?
151: [16:05:00] <bsw> Hi guci0, r u there?
152: [16:05:00] * SightUnseen has joined #silverstripe
153: [16:11:00] * lx-berlin has left #silverstripe
154: [16:18:00] * SightUnseen quit (Ping timeout: 264 seconds)
155: [16:20:00] <bsw> Hi guci0
156: [16:21:00] * wazza has joined #silverstripe
157: [16:24:00] * zfmf has left #silverstripe
158: [16:26:00] <guci0> bsw: own, won ??? project
159: [16:27:00] <bsw> won ? project ???
160: [16:31:00] <bsw> hi <guci0> i didn't understand what you said :-/
161: [16:35:00] <bsw> ?
162: [16:40:00] * EPIK has joined #silverstripe
163: [16:44:00] * SightUnseen has joined #silverstripe
164: [16:45:00] <bsw> hi <guci0> ?
165: [16:54:00] * bsw quit (Read error: Connection reset by peer)
166: [16:55:00] * bsw has joined #silverstripe
167: [16:56:00] <guci0> "win project, is own project"
168: [16:56:00] <bsw> hi guci0
169: [16:57:00] * SightUnseen quit (Ping timeout: 252 seconds)
170: [16:59:00] <bsw> so I need to know which are remaining projects ?
171: [17:00:00] <bsw> are project ideas here only ?
172: [17:00:00] <bsw> http://www.silverstripe.org/google-summer-of-code-2012-project-ideas/
173: [17:11:00] * nebby quit (Ping timeout: 245 seconds)
174: [17:20:00] <bsw> Because I have experience with working LBS apis
175: [17:20:00] <bsw> Hi guci0,
176: [17:20:00] <bsw> I think https://github.com/silverstripe/gsoc-wiki/wiki/Project-Idea:-Improve-geospatial-capabilities will be okay
177: [17:23:00] <bsw> is Rainer Spittel online now?
178: [17:24:00] * SightUnseen has joined #silverstripe
179: [17:37:00] * SightUnseen quit (Ping timeout: 256 seconds)
180: [18:00:00] * lx-berlin has joined #silverstripe
181: [18:03:00] * SightUnseen has joined #silverstripe
182: [18:05:00] * simon_w has joined #silverstripe
183: [18:15:00] * SightUnseen quit (Ping timeout: 252 seconds)
184: [18:20:00] * wazza quit (Ping timeout: 245 seconds)
185: [18:22:00] * bsw quit (Quit: Leaving)
186: [18:32:00] * simon_w quit (Quit: This computer has gone to sleep)
187: [18:35:00] * simon_w has joined #silverstripe
188: [18:42:00] * SightUnseen has joined #silverstripe
189: [18:47:00] * mobiusnz has joined #silverstripe
190: [18:56:00] * SightUnseen quit (Ping timeout: 244 seconds)
191: [19:04:00] * SightUnseen has joined #silverstripe
192: [19:04:00] * SightUnseen has left #silverstripe
193: [19:05:00] * zfmf has joined #silverstripe
194: [19:15:00] * mobiusnz quit (Quit: Leaving.)
195: [19:15:00] * Liquide quit (Ping timeout: 264 seconds)
196: [19:16:00] * Error404NotFound has joined #silverstripe
197: [19:16:00] * Error404NotFound quit (Max SendQ exceeded)
198: [19:17:00] * Error404NotFound has joined #silverstripe
199: [19:18:00] * DigNZ quit (Remote host closed the connection)
200: [19:18:00] * DigNZ has joined #silverstripe
201: [19:18:00] * DigNZ has joined #silverstripe
202: [19:19:00] <lx-berlin> help. can anyone tell me if ?debug_profile=1 added to his ss3 project works ?
203: [19:21:00] <lx-berlin> i did pull 3.0 branch about 3 days ago
204: [19:21:00] <simon_w> Which version?
205: [19:22:00] <simon_w> And you're in dev mode?
206: [19:22:00] <lx-berlin> yep
207: [19:22:00] <simon_w> Then it should work
208: [19:22:00] <lx-berlin> i just tested with an older 2.4 project. there its working
209: [19:22:00] <lx-berlin> please tell me, is this ok to pull every now and then from 3.0 branch ?
210: [19:24:00] <lx-berlin> or do you mean in 3.1 ?
211: [19:24:00] * Liquide has joined #silverstripe
212: [19:24:00] <simon_w> Anyway, it's being removed so it doesn't make sense to rely on it
213: [19:24:00] <lx-berlin> it was removed ?
214: [19:25:00] <simon_w> In 3.1
215: [19:25:00] <lx-berlin> simon_w: i am in real trouble. We are runnig a site with 3.0 and everything was ok until 2 days ago. Now 2 or 3 visitors at the same time are going to take the virtual server down
216: [19:26:00] <simon_w> Got an opcode cache running?
217: [19:26:00] <lx-berlin> they are about to kill me
218: [19:27:00] <lx-berlin> we have phpexpress running
219: [19:28:00] <lx-berlin> i could start crying
220: [19:28:00] <lx-berlin> is this the correct thing ?
221: [19:28:00] <lx-berlin> http://www.nusphere.com/products/phpexpress.htm
222: [19:28:00] <lx-berlin> simon_w: 14:23:43 up 3:06, 1 user, load average: 40.73, 27.42, 12.66
223: [19:29:00] <simon_w> (debug_profile will not help here, it just gives time)
224: [19:29:00] <simon_w> And what's using all that cpu?
225: [19:30:00] <lx-berlin> just a second please
226: [19:30:00] <lx-berlin> simon_w: they have a nice addon for phpmyadmin installed for monitoring (at least i havent seen it before)
227: [19:30:00] <lx-berlin> i made a screenshot
228: [19:31:00] <Andi_> Hi all!
229: [19:31:00] * Andi_ has joined #silverstripe
230: [19:31:00] <lx-berlin> serverload became a little bit better but there must be a high problem: load average: 0.43, 10.72, 10.88
231: [19:31:00] * Stomach has joined #silverstripe
232: [19:32:00] <Andi_> I'am new to silverstripe and ran in a problem wir ModelAdmin. Can somebody help?
233: [19:32:00] * mobiusnz has joined #silverstripe
234: [19:32:00] <ss23> Wow wtf 40 load average?
235: [19:33:00] <lx-berlin> just a moment . i will make a screenshot
236: [19:33:00] <lx-berlin> "top"
237: [19:33:00] <lx-berlin> yes, i dont know what the problem is
238: [19:33:00] <ss23> lx-berlin: What process is using that CPU, like simon_w said?
239: [19:33:00] <lx-berlin> but if i would paste the url here and 2 or 3 people a visiting the site, then it might go down
240: [19:33:00] <lx-berlin> from "top2
241: [19:34:00] <simon_w> Andi_, depends on what your problem is, but most probably :)
242: [19:34:00] <ss23> Whgy not just tell us? But yes, look at what uses all the cpu, `top` will tell you
243: [19:34:00] <lx-berlin> simon_w: did you see my message ?
244: [19:35:00] <lx-berlin> php process shows up with 99% sometimes. Now i see a couple of httpd
245: [19:35:00] <lx-berlin> pleas please please help me
246: [19:36:00] <simon_w> lx-berlin, are you polling other sites on each page load?
247: [19:36:00] <lx-berlin> loading the latest news and the latest events
248: [19:36:00] <lx-berlin> we do some ajax loadings on the homepage
249: [19:37:00] <ss23> Did something change 2 days ago?
250: [19:37:00] <lx-berlin> i did some changes. but nothing really fancy
251: [19:37:00] <lx-berlin> simon_w: could you take a look, when i give you the url ?
252: [19:37:00] <ss23> Seems strange to suddenly go high
253: [19:38:00] <lx-berlin> but there was one strange thing.
254: [19:38:00] <ss23> Well it sounds like some of the changes caused issues :P
255: [19:40:00] <lx-berlin> in modeladmin i sometime cant add text to the new textfields, it just cant save it.
256: [19:40:00] * Pyromanik has joined #silverstripe
257: [19:40:00] <lx-berlin> i have a dataObject "Employee" that already had 24 fields of type Text (Mediumtext in mysql) and i added another 8 of them
258: [19:40:00] <Pyromanik> fields named correctly?
259: [19:41:00] <lx-berlin> so now i already removed 20 of the previos text fields, so in summary its less than before but i still cant save some records (although the text are not very long)
260: [19:41:00] * Andi_de has joined #silverstripe
261: [19:41:00] <simon_w> That sounds like you may be exceeding the maximum size of a row
262: [19:41:00] <lx-berlin> yep
263: [19:42:00] <lx-berlin> a googled it and it seemed that this was the problem
264: [19:42:00] <simon_w> You'll need to remove the columns too
265: [19:42:00] <lx-berlin> but anyway the total number of columns is now less than before, so i dont think that this should be the problem of the high server load
266: [19:43:00] <lx-berlin> simon_w: did you take a look at the website ?
267: [19:43:00] * SightUnseen quit (Client Quit)
268: [19:43:00] <lx-berlin> i set it to dev mode
269: [19:43:00] * SightUnseen has joined #silverstripe
270: [19:43:00] <lx-berlin> so at the moment the high server load is my real problem
271: [19:44:00] * Andi_ quit (Ping timeout: 245 seconds)
272: [19:44:00] <simon_w> This is on the homepage
273: [19:44:00] <lx-berlin> where is this ??
274: [19:44:00] <simon_w> Okay, so you're doing an extremely large amount of queries getting just one page by ID
275: [19:45:00] <simon_w> Yes
276: [19:45:00] <lx-berlin> did you add ?showqueries=1 ?
277: [19:45:00] <lx-berlin> i will paste my HomePage.ss , ok ?
278: [19:45:00] <lx-berlin> but how do i locate the problem now ?
279: [19:46:00] <Andi_de> ok - I'm new and a bit shy ;)
280: [19:46:00] <simon_w> Andi_de, you should ask in here
281: [19:47:00] <Pyromanik> Andi_de: don't be :)
282: [19:47:00] <lx-berlin> simon_w: http://sspaste.com/paste/show/512133c589909
283: [19:48:00] <Andi_de> I use a ModelAdmin wich has two managed_models. Now in the CMS the HTMLTextEditor crashes randomly when I want to insert an image. It fails in ModelAdmin line 115 - if(!array_key_exists($this->modelClass, $models) )
284: [19:48:00] <lx-berlin> i am so happy about your help guys
285: [19:49:00] <simon_w> lx-berlin, where are you getting pages one at a time?
286: [19:49:00] <Andi_de> where modelClass is set to "EditorToolbar" which is obviously not in my managed_models array
287: [19:49:00] <lx-berlin> i dont think that there is anything wrong in it, because most of it is included . what do you think ?
288: [19:50:00] <Pyromanik> Andi_de: I see.
289: [19:50:00] <Pyromanik> It sounds like a bug, it used to work fine as far as I can remember (simon_w will probably correct me in a second)
290: [19:50:00] <Andi_de> the problem is addressed in github and marked as resolved :(
291: [19:50:00] <lx-berlin> sorry, i dont understand ?
292: [19:50:00] <Pyromanik> I see.
293: [19:50:00] <Andi_de> 3.1
294: [19:50:00] <Pyromanik> or 2.4?
295: [19:50:00] <Pyromanik> Andi_de: and this is on 3.0, or 3.1?
296: [19:51:00] * Stomach quit (Quit: Leaving.)
297: [19:51:00] <Pyromanik> It might be fixed in a newer commit than what you have.
298: [19:51:00] <Pyromanik> Andi_de: did you pull the 3.1 beta directly from github, or did you get a package?
299: [19:52:00] <Andi_de> sry - that was wrong! i use 3.0.3
300: [19:52:00] <Andi_de> stable...
301: [19:52:00] <Pyromanik> hmm, well that is a pickle.
302: [19:53:00] <lx-berlin> simon_w: i dont understand what you mean
303: [19:53:00] <simon_w> lx-berlin, the SQL shows that you're getting several pages one at a time, maybe through relations
304: [19:54:00] <Pyromanik> I have not tested model admin in 3.0 yet
305: [19:54:00] <simon_w> lx-berlin, if you can, install an actual profiler (like xhprof) and use that
306: [19:54:00] <Pyromanik> Andi_de: you may need to take the patch listed on github and apply it to your install
307: [19:54:00] * travis-ci has joined #silverstripe
308: [19:54:00] <travis-ci> [travis-ci] silverstripe/sapphire#1399 (3.1 - 5a4d5e1 : Ingo Schommer): The build passed.
309: [19:54:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d4b7763cab26...5a4d5e10d219
310: [19:54:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4860054
311: [19:54:00] * travis-ci has left #silverstripe
312: [19:54:00] <lx-berlin> you mean a query like : ..... WHERE ("SiteTree_Live"."ID" = 8) ........
313: [19:54:00] <Pyromanik> I do know that inserting an image worked flawlessly in 2.4 though.
314: [19:54:00] <lx-berlin> ?
315: [19:55:00] <simon_w> irogue, that's what you get for using DSL
316: [19:55:00] * irogue sighs in telstraclear's general direction
317: [19:55:00] <simon_w> lx-berlin, yes
318: [19:55:00] <Andi_de> Pyromanik: 3.0.3 has the changes implemented
319: [19:56:00] <lx-berlin> is it possible that this is the result of builing a menu with <% loop Children %>....
320: [19:56:00] <Andi_de> https://github.com/ajshort/sapphire/commit/b7ce610933a376f4b47a06e2218364c22c6b2b19
321: [19:56:00] <irogue> simon_w: luckily we have two VDSL connections, one with telstraclear (on their own copper) and one with Snap (on Chorus copper)
322: [19:57:00] <Pyromanik> mm, that looks like something else
323: [19:57:00] <simon_w> Andi_de, that won't fix it
324: [19:57:00] <irogue> snap one never goes down, so we never lose internets (which is load balanced across both connections)
325: [19:58:00] <Pyromanik> err he/simon_w
326: [19:58:00] <irogue> but SIP doesn't load balance well, so is locked to one connection
327: [19:58:00] * Pyromanik spies a sly brag that he has cable.
328: [19:58:00] <Andi_de> simon_w, yup - sadly not
329: [19:59:00] <Pyromanik> it wouldn't know what ID's to get
330: [19:59:00] <lx-berlin> simon_w: do you think that all this queries by id are generated when using <% loop Children %> ...
331: [19:59:00] <Pyromanik> lx-berlin: unlikely
332: [19:59:00] <Pyromanik> the relation to the parent is written on the child
333: [19:59:00] <simon_w> lx-berlin, nope. Children does one query
334: [19:59:00] <irogue> we should just go UFB now
335: [19:59:00] <irogue> has gone live here recently
336: [20:00:00] <Pyromanik> (2.4 of course)
337: [20:00:00] <simon_w> irogue, I'm just waiting for TCL to flick the switch on mine :)
338: [20:00:00] <simon_w> Screw waiting for chorus to get around to it
339: [20:00:00] <irogue> lol
340: [20:00:00] <Pyromanik> guys
341: [20:00:00] <Pyromanik> ?
342: [20:00:00] <simon_w> Also, screw the government for not going for existing fibre owners
343: [20:00:00] <Pyromanik> guys
344: [20:00:00] <Pyromanik> can I undo JS validation per form
345: [20:01:00] <simon_w> Pyromanik, $form->jsValidationIncluded = false;
346: [20:01:00] <Pyromanik> simon_w: but they did?
347: [20:02:00] <Pyromanik> Enable networks got it here
348: [20:02:00] <Pyromanik> yeah, that's rude.
349: [20:02:00] <Pyromanik> who already had the CBD wired.
350: [20:02:00] <simon_w> Pyromanik, Wellington has two fibre networks already (Vector and CityLink). Both tendered. Chorus got it.
351: [20:02:00] <simon_w> Chorus only has backbone
352: [20:03:00] <Pyromanik> with stretches out to main centres and schools
353: [20:03:00] <irogue> yeah WEL got it in the waikato, as they already had 25% of Hamilton wired
354: [20:04:00] <irogue> can't quite comprehend how Vector didn't get it in Auckland, they have virtually the entire city already fibre'd
355: [20:04:00] <Pyromanik> I just don't understand govt
356: [20:04:00] <Pyromanik> I mean
357: [20:04:00] <Pyromanik> who ends up owning the network afterwards?
358: [20:04:00] <simon_w> CityLink has the CBD and then paths out to wherever Peter wanted it
359: [20:04:00] <irogue> they got it right in the smaller cities, but screwed up the big ones by Chorussing it
360: [20:04:00] <Pyromanik> if ti's not an SOE, then there's no reason not to give it to existing
361: [20:05:00] <irogue> the other thing is, existing fibre companies know how to install fibre
362: [20:05:00] <Pyromanik> but yeah
363: [20:05:00] * Stomach has joined #silverstripe
364: [20:05:00] <simon_w> Pyromanik, Chorus maintains ownership, IIRC
365: [20:05:00] <Pyromanik> if ti's SOE I can imagine that they didn't want to leverage existing
366: [20:05:00] <Pyromanik> for monopolies and shit
367: [20:05:00] <Pyromanik> chorus in general, just bad.
368: [20:05:00] <simon_w> So one company owns the majority of the fibre and copper
369: [20:06:00] <irogue> have seen some *nasty* UFB installs by Chorus techs who are used to copper
370: [20:06:00] <Pyromanik> ha, that's true.
371: [20:06:00] <Pyromanik> mmm
372: [20:07:00] * travis-ci has left #silverstripe
373: [20:07:00] * travis-ci has joined #silverstripe
374: [20:07:00] <travis-ci> [travis-ci] silverstripe/sapphire#1400 (3.0 - e21bd49 : Ingo Schommer): The build passed.
375: [20:07:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/b25b6d4769d6...e21bd494621e
376: [20:07:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4860370
377: [20:09:00] <irogue> or who are just lazy, nothing to do with their fibre skills
378: [20:10:00] <Pyromanik> never maintenance
379: [20:10:00] <Pyromanik> training too hard, just learn on the job
380: [20:10:00] <Pyromanik> then neglect all faults for 10 years
381: [20:10:00] <Pyromanik> while only fixing major issues in a hack type way
382: [20:10:00] <Pyromanik> OH HO HO THE CIRCLE COMPLETES
383: [20:10:00] * Pyromanik lionkings
384: [20:12:00] * chrisrio has joined #silverstripe
385: [20:12:00] * Motoservo has joined #silverstripe
386: [20:24:00] * SightUnseen has joined #silverstripe
387: [20:24:00] * SightUnseen has left #silverstripe
388: [20:26:00] * lx-berlin has left #silverstripe
389: [20:36:00] * gelignite quit (Ping timeout: 248 seconds)
390: [20:44:00] <Pyromanik> how to stop a single field's "this field is required" js message (2.4) ?
391: [20:44:00] <simon_w> Don't make it required?
392: [20:45:00] <simon_w> subclass RequiredFields, handle that field specially?
393: [20:45:00] <Pyromanik> :<
394: [20:45:00] <Pyromanik> no, need required, but when you have a date field
395: [20:45:00] <Pyromanik> that's required
396: [20:45:00] <Pyromanik> and you click in it, it opens the calendar
397: [20:46:00] <Pyromanik> so you get a filled in date field with a "you must fill this out, it's required"
398: [20:46:00] <Pyromanik> at which point you click a date on the calendar, which blurs the input, which calls teh validator, which then tells you you need to fill it out, then the calendar ui widget fills it out for you.
399: [20:47:00] <Pyromanik> I don't understand how DateField->jsValidation () works
400: [20:48:00] <Pyromanik> I return false it still comes up. I return true, it still comes up.
401: [20:52:00] <Pyromanik> mmm :<
402: [20:52:00] <simon_w> Yay, 2.4's js validation!
403: [20:53:00] <Pyromanik> also simon_w, is it possible to add a 'select all' button to many many complex table field?
404: [20:54:00] <simon_w> Well, getting it working across pages would be a bit harder
405: [20:54:00] <simon_w> Probably?
406: [20:54:00] <Pyromanik> ko
407: [20:54:00] <Pyromanik> ok*
408: [20:54:00] <Pyromanik> ?
409: [20:55:00] <simon_w> Though I guess you could just do a single request to the server that adds all the objects to the relation and refreshes the table, rather than actually ticking each box
410: [20:55:00] <Pyromanik> yeah, I was thinking your last line would be the goer
411: [20:55:00] <Pyromanik> oh right, pagination is what you meant, yeah.
412: [20:57:00] <chrisrio> do I have to perform some wizardry to get custom fields on pages that extend page to version? (ie currently the most recent version displays through all historical entries on custom fields)
413: [20:57:00] <chrisrio> (CMS, Page, History)
414: [20:58:00] <chrisrio> cool, so there is a bug in the view but the data is intact?
415: [20:58:00] <simon_w> chrisrio, well, it's versioned. There's just a bug in getting the versioned data
416: [20:59:00] <chrisrio> choice
417: [20:59:00] * eikonos has joined #silverstripe
418: [20:59:00] * eikonos quit (Changing host)
419: [20:59:00] <simon_w> Also, I'm fairly sure I saw it get fixed a couple of days ago for one of the branches
420: [20:59:00] <simon_w> Well, the bug's in Versioned::get, but the data's there
421: [20:59:00] * eikonos has joined #silverstripe
422: [20:59:00] <chrisrio> (as they say)
423: [21:01:00] <chrisrio> thanks simon_w _b
424: [21:11:00] * Andi_de has left #silverstripe
425: [21:11:00] <Andi_de> gn8 all
426: [21:13:00] * willr has joined #silverstripe
427: [21:22:00] * SightUnseen has left #silverstripe
428: [21:22:00] * SightUnseen has joined #silverstripe
429: [21:30:00] * chrisrio quit (Quit: Page closed)
430: [21:40:00] * travis-ci has left #silverstripe
431: [21:40:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4862020
432: [21:40:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/e21bd494621e...ede381326b89
433: [21:40:00] <travis-ci> [travis-ci] silverstripe/sapphire#1402 (3.0 - ede3813 : Ingo Schommer): The build passed.
434: [21:40:00] * travis-ci has joined #silverstripe
435: [21:51:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#230 (3.0 - 2402a8f : Ingo Schommer): The build passed.
436: [21:51:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/a0e965b7b4d2...2402a8fbd474
437: [21:51:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4862290
438: [21:51:00] * travis-ci has left #silverstripe
439: [21:51:00] * travis-ci has joined #silverstripe
440: [22:03:00] * zfmf has left #silverstripe
441: [22:28:00] * travis-ci has left #silverstripe
442: [22:28:00] * travis-ci has joined #silverstripe
443: [22:28:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#231 (2.4 - c7b0666 : Ingo Schommer): The build passed.
444: [22:28:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/4c525fe80183...c7b06663907b
445: [22:28:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4863121
446: [22:32:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4863118
447: [22:32:00] <travis-ci> [travis-ci] silverstripe/sapphire#1404 (2.4 - eecd348 : Ingo Schommer): The build failed.
448: [22:32:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/5d3ed12e2043...eecd34868f6f
449: [22:32:00] * travis-ci has left #silverstripe
450: [22:32:00] * travis-ci has joined #silverstripe
451: [22:33:00] * lx-berlin has joined #silverstripe
452: [22:35:00] * howardgrigg has joined #silverstripe
453: [22:35:00] <lx-berlin> simon_w: are you still online? i found out that the partial caching isnt working online. if i run ?showqueries=1 twice on the same page, there is no difference. on our local developemnt server the number of queries is much less in the second run
454: [22:36:00] <lx-berlin> i guess that wrong folder permissions for /silverstripe-cache are causing it. Any other idea?
455: [22:38:00] * lx-berlin has left #silverstripe
456: [22:47:00] * metanat1 has joined #silverstripe
457: [22:50:00] * Colin[pi] has joined #silverstripe
458: [22:50:00] * mobiusnz has left #silverstripe
459: [22:50:00] <Colin[pi]> good morning
460: [23:02:00] * aznain has joined #silverstripe
461: [23:03:00] * SightUnseen1 has joined #silverstripe
462: [23:06:00] <Pyromanik> hey
463: [23:06:00] <Pyromanik> does Behaviour kinda work like entwine?
464: [23:06:00] <Pyromanik> err, I guess it's prototype
465: [23:07:00] <Pyromanik> SightUnseen1: ?
466: [23:07:00] <Pyromanik> fff, simon_w?
467: [23:08:00] * SightUnseen1 quit (Read error: Connection reset by peer)
468: [23:08:00] * SightUnseen has joined #silverstripe
469: [23:10:00] * maknz quit (Ping timeout: 256 seconds)
470: [23:10:00] <simon_w> Pyromanik, no, Behaviour doesn't work like entwine. It's an OOP-model that you manually apply to nodes
471: [23:12:00] <Pyromanik> So I can't override a lesser selector with a more specific one :<
472: [23:13:00] <Pyromanik> '#Form_Blah input' : {
473: [23:13:00] <Pyromanik> initialise: function() {},
474: [23:13:00] <Pyromanik> onblur : function() {/*want to override*/}
475: [23:13:00] <Pyromanik> },
476: [23:13:00] <Pyromanik> for specific element
477: [23:14:00] <irogue> so, the Parata has spoken
478: [23:15:00] <irogue> 19 Chch schools to close or merge, 12 to stay open
479: [23:15:00] <Pyromanik> not like there isn't a fucking school every block.
480: [23:15:00] <irogue> yeah
481: [23:15:00] <Pyromanik> wut
482: [23:15:00] <Pyromanik> pfft
483: [23:16:00] <irogue> and there are SO MANY DAMN SCHOOLS in christchurch
484: [23:16:00] <Pyromanik> yep
485: [23:16:00] <Pyromanik> and they all seem to get out at weird times.
486: [23:16:00] <Pyromanik> there's this huge stigma down here about what school you go to as well
487: [23:16:00] <Pyromanik> Christchurch and it's schools man
488: [23:16:00] <irogue> i gotta be honest, as much as i don't like Parata... i gmaps'd it
489: [23:16:00] <irogue> lol
490: [23:16:00] <Pyromanik> Instantly forever judged.
491: [23:17:00] <Pyromanik> You can be fuck'n 40 running a successful business
492: [23:17:00] <irogue> i think high school is like that everywhere
493: [23:17:00] <Pyromanik> should I say went to.
494: [23:17:00] <Pyromanik> not go to.
495: [23:17:00] <Pyromanik> and that's it.
496: [23:17:00] <Pyromanik> then you're labeled.
497: [23:17:00] <Pyromanik> peopel go "what school did you go to" ?
498: [23:17:00] <irogue> lololol
499: [23:17:00] <irogue> melville high
500: [23:17:00] <irogue> like ss23
501: [23:18:00] <Pyromanik> before that it was Sheryl West's father.
502: [23:18:00] <irogue> haha
503: [23:18:00] <Pyromanik> My principal was the Melville principal
504: [23:18:00] <Pyromanik> melville, lulz.
505: [23:18:00] <Pyromanik> well
506: [23:18:00] <Pyromanik> for my last year and a bit
507: [23:19:00] <Colin[pi]> ppl still give a shit about your school?
508: [23:19:00] <Pyromanik> Colin[pi]: yeh man, it's pretty nuts.
509: [23:20:00] <aznain> ModelAdmin manages A dataobject, A has_many B dataobjects ( 1-M relationship), When creating B, I see "A" field in the form, How to remove that relationship field from "B".
510: [23:20:00] <Pyromanik> it's ultra cliquey
511: [23:20:00] <irogue> Colin[pi]: the south island is a little backward with some things :-P
512: [23:20:00] <Pyromanik> quite
513: [23:20:00] <Pyromanik> like hating anyone from 'wogistan'
514: [23:20:00] <irogue> kekeke
515: [23:20:00] * travis-ci has joined #silverstripe
516: [23:20:00] <travis-ci> [travis-ci] silverstripe/sapphire#1405 (2.4 - 190e0b8 : Ingo Schommer): The build was fixed.
517: [23:20:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/eecd34868f6f...190e0b8a4789
518: [23:20:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4864197
519: [23:20:00] * travis-ci has left #silverstripe
520: [23:20:00] <Pyromanik> only in this city though.
521: [23:21:00] <Pyromanik> then they ignore you
522: [23:21:00] <simon_w> aznain, getCMSFields on B
523: [23:21:00] <simon_w> irogue, some things? Stop being nice :p
524: [23:21:00] <Colin[pi]> i spose some people are the same here, luckily I dont associate with those people :D
525: [23:21:00] <Pyromanik> they go "oh, you're from the NORTH island"
526: [23:21:00] <irogue> yeah
527: [23:21:00] <irogue> north island just forgets SI exists
528: [23:21:00] <Colin[pi]> and vice versa?
529: [23:22:00] <Pyromanik> and how terrible the ones they didn't go to are.
530: [23:22:00] <Colin[pi]> lol
531: [23:22:00] <irogue> SI people actively hate on NI people
532: [23:22:00] <irogue> much like NZ v AU, i think
533: [23:22:00] <Colin[pi]> i had no idea
534: [23:22:00] <irogue> AU is like "oh yeah, NZ, i keep forgetting they're there"
535: [23:22:00] <irogue> NZ is like "LOL WE ARE SO MUCH BETTER THAN AU LOOK AT US WE'RE COOL"
536: [23:22:00] <Pyromanik> ie small man syndrome
537: [23:22:00] <Pyromanik> and talk to other people from christchurch about their respective schools
538: [23:23:00] <Colin[pi]> i like how whenever our PMs get together the NZ PM is like "Hay guise I think you should be nicer to us" LOL
539: [23:23:00] <Pyromanik> measure everything in per capita, so you can be awesome.
540: [23:23:00] <irogue> Colin[pi]: and like "hey australia if you promise to like us we'll take your boat people"
541: [23:23:00] <Pyromanik> Colin[pi]: well to be fair, usually they have a point.
542: [23:23:00] <Pyromanik> BAHAHHAAHAHAHHAAHH boat people
543: [23:23:00] <Pyromanik> GW Abbot.
544: [23:23:00] <Colin[pi]> our govt is a joke
545: [23:23:00] <irogue> yup
546: [23:24:00] <Pyromanik> and he gets all mad
547: [23:24:00] <Pyromanik> and just shakes his head and never says a single thing
548: [23:24:00] <irogue> Colin[pi]: wish i could say ours wasn't
549: [23:24:00] <Pyromanik> like he's having a seizure
550: [23:24:00] <aznain> simon_w: I tried to remove it in getCMSFields of B by removeFieldByName ... but doest not seems working ... it is working only on fields which are defined $db ....
551: [23:24:00] <Pyromanik> and the interviewer is waiting for his answer
552: [23:24:00] <Pyromanik> "Tony, you're not saying anything..."
553: [23:24:00] <Colin[pi]> link?
554: [23:24:00] <Pyromanik> I like that fucking hilarious video of this guy interviewing abbot
555: [23:25:00] <Pyromanik> Colin[pi] http://www.youtube.com/watch?v=0b2JQVp_VCU
556: [23:25:00] <simon_w> aznain, $fields->removeFieldByName('RelNameID')
557: [23:26:00] <Colin[pi]> lol I remember this, so awkward
558: [23:26:00] <Pyromanik> quite awkward.
559: [23:26:00] * travis-ci has joined #silverstripe
560: [23:26:00] <travis-ci> [travis-ci] silverstripe/sapphire#1406 (3.0 - 30096ee : Ingo Schommer): The build passed.
561: [23:26:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/7830b5d1b1ef...30096ee73091
562: [23:26:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4864328
563: [23:26:00] * travis-ci has left #silverstripe
564: [23:26:00] <Pyromanik> I fucking love the hand gestures at the start
565: [23:27:00] <Pyromanik> quick, call the boatphone
566: [23:27:00] <Pyromanik> for the presenter
567: [23:27:00] <irogue> on an entirely unrelated note, everybody should be subscribed to this subreddit: http://www.reddit.com/r/catpranks
568: [23:28:00] <Colin[pi]> the presenter is kind of a dick to be fair, however his reaction is priceless
569: [23:28:00] * nicknick has joined #silverstripe
570: [23:28:00] <Pyromanik> irogue: have you seen that one where these retards steal this guys phone (in chc), then use it to film themselves letting off molotov cocktails... to which was all being uploaded to the guy they stole the phone from's dropbox account, which he took straight to the cops.
571: [23:29:00] <irogue> Pyromanik: yes, so so good
572: [23:29:00] * SightUnseen has left #silverstripe
573: [23:29:00] <aznain> simon_w: Thanks ... works like charm
574: [23:29:00] <Pyromanik> I'd put money on nothing happening.
575: [23:29:00] <irogue> Pyromanik: i've twice now caught laptop thieves of my IT customers
576: [23:29:00] <Pyromanik> irogue: winning.
577: [23:29:00] <Pyromanik> Colin[pi]: not many news folk aren't.
578: [23:30:00] <irogue> saw them come online, logged in in "view only" mode and just watched
579: [23:30:00] * Bollig|DesignCty has joined #silverstripe
580: [23:30:00] <irogue> Pyromanik: laptops had LogMeIn installed and running as a background service
581: [23:31:00] <irogue> both damn times
582: [23:31:00] <irogue> eventually they signed into their facebook, took many screenshots. had their full name, photos of themselves, references to the area they lived etc
583: [23:32:00] <irogue> and both times gave to police, they search warranted and found the laptops there
584: [23:33:00] <simon_w> Silly people. Always wipe laptops you've stolen before going online.
585: [23:34:00] <nicknick> hello all (im new here)
586: [23:34:00] <Bollig|DesignCty> howdy nick :)
587: [23:35:00] <nicknick> never used irc before so unfamilular with protocol but im told this is the best place for ss help
588: [23:44:00] <Bollig|DesignCty> if there's someone about who can help, I'm sure they will! ask your question :)
589: [23:44:00] <Colin[pi]> hey nick, welcome
590: [23:48:00] <nicknick> Ok thanks, im brand new to ss but im adding a bike sales page, ive added 10 pic's and several fields in admin section. is there a way im my bikepage.ss that i can select and group data by one of my new fields. i.e field name "biketype" can i select only "new bike" or "used Bike"? or should i try to add a new relationship and use gridfiled?
591: [23:48:00] <Colin[pi]> via a form on the page?
592: [23:49:00] <nicknick> oops sorry via page call i.e index/bikepage.ss?filter=newbike or somthing
593: [23:50:00] <Colin[pi]> ah, so you'll be needed a controller method that returns the objects for the page, and the method looks at the request to determine how to filter the objects
594: [23:52:00] <nicknick> yes, i suppose so, i probibillay explaing it bad but i suppose the correct way would have beed to add andother relationship in the db, but with a one to many i had reached the limits of my understanding so left out the extra one to manys ;)
595: [23:54:00] <Colin[pi]> well keeping it simple, say the Bike object has a boolean field, "Used", which can be true or false to determine New/Used status
596: [23:54:00] <Colin[pi]> then you can get the controller to return with Used=0 or Used=1 depending on the incoming request
597: [23:56:00] <Colin[pi]> i.e. Used bikes: $bikes = Bike::get()->filter(array('Used' => 1));
598: [23:56:00] <nicknick> ahh but there will be another field aswell i.e if newbike is make = "honda" or make ="suzuki" etc
599: [23:56:00] <Colin[pi]> all down to your structure and filtering
600: [23:57:00] <Colin[pi]> (very simple example)
601: [23:57:00] <Colin[pi]> Used hondas: $bikes = Bike::get()->filter(array('Used' => 1, 'Make' => 'honda'))
602: [23:58:00] <nicknick> i see, how can i get ss to parse from an url eg can it use $GEt
603: [23:58:00] <Colin[pi]> can get more complicated when you start playing with joins

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