#silverstripe IRC Log

IRC log for 7 January 2013

All timestamps are in UTC.

1: [00:03:00] * nickmolhoek quit (Remote host closed the connection)
2: [00:03:00] * nickmolhoek has joined #silverstripe
3: [00:03:00] * nickmolhoek has joined #silverstripe
4: [00:07:00] * Error404NotFound has joined #silverstripe
5: [00:09:00] * chillu quit (Quit: chillu)
6: [00:10:00] * Err404NotFound quit (Ping timeout: 272 seconds)
7: [00:12:00] * C10ne quit (Ping timeout: 245 seconds)
8: [00:38:00] * DesignerX quit (Ping timeout: 272 seconds)
9: [01:34:00] * travis-ci has left #silverstripe
10: [01:34:00] * travis-ci has joined #silverstripe
11: [01:34:00] <travis-ci> [travis-ci] silverstripe/sapphire#1113 (3.0 - 2140a62 : Sean Harvey): The build was broken.
12: [01:34:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a0a317886b72...2140a621fbd5
13: [01:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/3993512
14: [01:36:00] * AshKyd has joined #silverstripe
15: [01:38:00] <AshKyd> Hi all. I'm wondering if there's a built-in way to escape a string in the template so as to safely use it in a Javascript file? https://gist.github.com/4471616
16: [01:39:00] <dnz-> use Requirements::customScript() in your controller instead
17: [01:40:00] <dnz-> rather than try and do js template logic
18: [01:40:00] <dnz-> template js logic even
19: [01:40:00] <dnz-> or if you have a js file already, Requirements::javascript()
20: [01:41:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/2140a621fbd5...baaa270ceba2
21: [01:41:00] * travis-ci has left #silverstripe
22: [01:41:00] * travis-ci has joined #silverstripe
23: [01:41:00] <travis-ci> [travis-ci] silverstripe/sapphire#1114 (3.0 - baaa270 : Sean Harvey): The build passed.
24: [01:41:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/3993553
25: [01:42:00] <AshKyd> The problem is that I've attached a file to the page, which I want to load up and manipulate with AJAX. Will that solution let me do that?
26: [01:43:00] <AshKyd> Hmm, looks like I might be after generated javascript. I'll have a play and get back to you. Thanks. http://doc.silverstripe.org/framework/en/reference/requirements#templated-javascript
27: [01:44:00] * DesignerX has joined #silverstripe
28: [01:47:00] <dnz-> ^_~
29: [01:48:00] <travis-ci> [travis-ci] silverstripe/sapphire#1115 (3.0 - b63e55a : Sean Harvey): The build passed.
30: [01:48:00] * travis-ci has left #silverstripe
31: [01:48:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/3993589
32: [01:48:00] * travis-ci has joined #silverstripe
33: [01:48:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/baaa270ceba2...b63e55a77a44
34: [02:05:00] <AshKyd> Actually dnz- you're totally right, that was exactly what I was after, I misunderstood what I was reading. Thanks again. :)
35: [02:14:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
36: [03:59:00] * DigNZ quit (Quit: DigNZ)
37: [04:06:00] * OomElvis quit ()
38: [04:07:00] * nickmolhoek quit (Quit: nickmolhoek)
39: [04:21:00] * cloph_away1 has joined #silverstripe
40: [04:23:00] * cloph_away quit (Ping timeout: 252 seconds)
41: [04:36:00] <dospuntocero> hey guys, question: how do i run a query on silverstripe to get distinct objects from a dataobhect?
42: [04:36:00] * dospuntocero has joined #silverstripe
43: [04:37:00] <dospuntocero> but not sure how to apply it.
44: [04:37:00] <dospuntocero> i saw there is a getDistinct() function
45: [04:46:00] * dospuntocero quit (Remote host closed the connection)
46: [05:44:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
47: [05:50:00] * dendeffe has joined #silverstripe
48: [05:52:00] * Shrike_Finland quit (Quit: Leaving.)
49: [06:36:00] * guci0 has joined #silverstripe
50: [06:37:00] <guci0> Hi there!
51: [06:42:00] * Bollig|DesignCty has joined #silverstripe
52: [06:45:00] * Zauberfisch quit (Ping timeout: 246 seconds)
53: [06:53:00] * Zauberfisch has joined #silverstripe
54: [06:57:00] * joel24 has joined #silverstripe
55: [06:59:00] <joel24> hey, i'm trying to have a dataobject auto populate a text field with a value inherited from a parent... though it seems the parent relation doesn't exist until the child is saved
56: [06:59:00] <joel24> any thoughts would be appreciated
57: [07:00:00] <joel24> child class should inherit surname, though it can be edited
58: [07:00:00] <joel24> i.e. parent class "parent has field surname"
59: [07:10:00] * Shrike_Finland has joined #silverstripe
60: [07:16:00] * joel24 quit (Ping timeout: 245 seconds)
61: [07:26:00] * hubertusanton has joined #silverstripe
62: [07:32:00] * ratcat has joined #silverstripe
63: [07:50:00] * dendeffe quit (Quit: dendeffe)
64: [07:52:00] * irogue has left #silverstripe
65: [07:56:00] * chillu has joined #silverstripe
66: [07:58:00] * Motoservo has joined #silverstripe
67: [08:05:00] * g4b0 has joined #silverstripe
68: [08:07:00] <g4b0> morning
69: [08:13:00] <lenix> morning :)
70: [08:13:00] * dendeffe has joined #silverstripe
71: [08:28:00] * chillu quit (Quit: chillu)
72: [08:58:00] * ivoba has joined #silverstripe
73: [09:00:00] * popeshoe has joined #silverstripe
74: [09:02:00] * bino has joined #silverstripe
75: [09:02:00] <bino> hi everyone! does anybody knows how to limit the max number of record which can be linked using gridfield?
76: [09:03:00] <bino> I need to limit the maximum number of images (created using gridfield by ss3gallery module) which can be assigned to a page
77: [09:04:00] * popeshoe quit (Client Quit)
78: [09:06:00] * popeshoe has joined #silverstripe
79: [09:23:00] * kinglozzer has joined #silverstripe
80: [09:30:00] * chillu has joined #silverstripe
81: [09:42:00] * Zauberfisch quit (Ping timeout: 246 seconds)
82: [09:44:00] * Zauberfisch has joined #silverstripe
83: [09:47:00] * guci0 quit (Ping timeout: 245 seconds)
84: [09:51:00] * hubertusanton quit (Quit: hubertusanton)
85: [09:52:00] * hubertusanton has joined #silverstripe
86: [09:58:00] <bino> no ideas?
87: [10:00:00] <kinglozzer> Only just back to work!
88: [10:00:00] <kinglozzer> Belated Happy New Year all :)
89: [10:08:00] * zfmf has joined #silverstripe
90: [10:31:00] * lx-berlin has joined #silverstripe
91: [10:33:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
92: [10:36:00] * Error404NotFound has joined #silverstripe
93: [11:15:00] * Shrike_Finland quit (Quit: Leaving.)
94: [11:24:00] * Shrike_Finland has joined #silverstripe
95: [11:27:00] * ratcat quit (Quit: who said I was leaving :P)
96: [11:29:00] * r3v3rb has joined #silverstripe
97: [11:30:00] <r3v3rb> morning all
98: [11:31:00] <r3v3rb> return DataObject::get('EventPage', null, "EventDate > '$today'");
99: [11:31:00] <r3v3rb> to show any events that are past the start date but within the end date still?
100: [11:31:00] <r3v3rb> if I have a start date and an end date in a DataObject how could i best formulate this:
101: [11:32:00] * dendeffe quit (Quit: dendeffe)
102: [11:36:00] <r3v3rb> events running and future, but not past
103: [11:36:00] <lx-berlin> hi r3v3rb: So you only want to show all currently running events?
104: [11:37:00] <r3v3rb> so as long as the event start is greater than today or less than the finish i guess
105: [11:38:00] <r3v3rb> basically my list at the moment removes an event if it is starting today. but if the event is for three days for example I need it to still show in the list
106: [11:38:00] <r3v3rb> until its finish date
107: [11:39:00] <lx-berlin> SS3 of course
108: [11:39:00] <lx-berlin> We selected events with a where clause
109: [11:39:00] <lx-berlin> $Events = Event::get()->where("\"DateUntil\" >= CURDATE() AND \"GreenFlag\" = 1")->sort("DateFrom", "ASC");
110: [11:41:00] <lx-berlin> GreenFlag comes from a little module we built so not interesting for you
111: [11:42:00] <lx-berlin> does this help in any way?
112: [11:47:00] <r3v3rb> not sure, i'll take a look
113: [11:47:00] <r3v3rb> thanks though
114: [11:48:00] <lx-berlin> sorry, i first thought is how to get Events filtered by date
115: [11:48:00] <r3v3rb> that doesn't care about the start date at all, apart from sorting - correct?
116: [11:50:00] <lx-berlin> but getting all running and future events based on startdate and enddate should be easy
117: [11:51:00] <lx-berlin> where Start >= CURDATE() OR
118: [11:52:00] <lx-berlin> (Start <= Curdate AND End>= Curdate)
119: [11:55:00] <r3v3rb> arhh, yes of course
120: [11:56:00] <lx-berlin> :)
121: [12:12:00] * C10ne has joined #silverstripe
122: [12:19:00] <r3v3rb> lx-berlin: so I have return DataObject::get('EventPage', null, "EventDate >= '$today' OR EventDate <= '$today' AND EventFinish >= '$today'");
123: [12:19:00] <r3v3rb> but dates in the past still show up??? :\
124: [12:20:00] <C10ne> EventDate >= '$today' OR EventDate <= '$today'
125: [12:20:00] <lx-berlin> i think you need brackets
126: [12:20:00] <C10ne> That means any date
127: [12:21:00] <lx-berlin> ("EventDate >= '$today') OR (EventDate <= '$today' AND EventFinish >= '$today'")
128: [12:22:00] <lx-berlin> (future) or (running)
129: [12:23:00] <C10ne> why not just "EventDate >= '$today' OR EventFinish >= '$today'"
130: [12:23:00] <r3v3rb> hmm, I think this may need a little more code :)
131: [12:24:00] * ivoba quit (Ping timeout: 260 seconds)
132: [12:24:00] <r3v3rb> because this is being called on a parent page and being used to display all the children based on their start dates??? I fear I may need to loop through them first and recreate a DataSet
133: [12:24:00] <r3v3rb> rather than try and pull them in using an SQL statement
134: [12:24:00] <lx-berlin> EventFinish >= '$today'" should be enough :)
135: [12:24:00] <C10ne> yes
136: [12:25:00] <r3v3rb> hmm, still showing events for December that have finished though :D
137: [12:25:00] <C10ne> But, there might be events without end date
138: [12:25:00] <lx-berlin> an event can only have 3 states, "in past", "running", "in future". If you want everything but not in past, then you just say EventFinish >= '$today'"
139: [12:25:00] <r3v3rb> lol
140: [12:26:00] <lx-berlin> sorry, i am not fully concentrated. Talking to a client and checking our rss feed at the same time
141: [12:26:00] <C10ne> I have an event listing website, so I've been handling dates a lot :D
142: [12:26:00] <r3v3rb> C10ne: nice, miine is a fairly simple listing pulling only events that are today -> future
143: [12:27:00] <lx-berlin> somehow, the rss feed from our ss3 site isnt valid (i need to check this now)
144: [12:27:00] <r3v3rb> lx-berlin: no need to apologise :D
145: [12:27:00] <C10ne> I didn't catch the beginning of the conversation, just saw the query
146: [12:29:00] <C10ne> And, the easiest way is: print the query, run it in phpmyadmin (or whatever you use), tweak it and put it back
147: [12:36:00] * dendeffe has joined #silverstripe
148: [12:39:00] * qlex has joined #silverstripe
149: [12:39:00] * qlex says hi
150: [12:40:00] <qlex> this line is a logic exception of public function getModelClass()
151: [12:40:00] <qlex> hey guys, im trying to delete a page (something like blog holder) fromy my sitetree, but im getting: Error at line 121 of /home/.../framework/forms/gridfield/GridField.php
152: [12:40:00] <qlex> throw new LogicException('GridField doesn\'t have a modelClassName, so it doesn\'t know the columns of this grid.') }
153: [12:41:00] <qlex> could somebody help me out - i cannot delete that item from my site tree in SS3
154: [12:41:00] <r3v3rb> C10ne: yep thats my usual trick
155: [12:42:00] <r3v3rb> just being lazy - first day back at desk
156: [12:42:00] <C10ne> You probably have an error in another script, check stack trace, and see what's the script calling the grid
157: [12:43:00] <lx-berlin> any rss specialists in here ?
158: [12:44:00] <lx-berlin> i am using the rss validator from w3c: http://validator.w3.org/appc/
159: [12:44:00] <lx-berlin> http://www.secowarwick.com/en/solutions/news/rss
160: [12:45:00] <lx-berlin> the first thing i noticed, is that the sourcecode misses the first line, which is <?xml version="1.0" encoding="UTF-8"?>
161: [12:46:00] <lx-berlin> why is this not mentioned in the validator ? if i test http://www.silverstripe.org/blog/rss i can see this line in the validator
162: [12:47:00] <lx-berlin> brb. any tips are welcome
163: [12:48:00] <r3v3rb> hmm, I think because I am doing GroupedBy(MonthCreated) where month created returns each items month (obviously) it is upsetting the EventListing
164: [12:50:00] <C10ne> lx-berlin: I'd try to put all descriptions in cdata, there's probably a closing tag missing somewhere
165: [12:55:00] <C10ne> lx-berlin: Once I pasted the code in a new xml file it validates just fine
166: [12:56:00] <C10ne> http://validator.w3.org/appc/check.cgi?url=http%3A%2F%2Fwww.nextparties.com%2Fxmltest.rss
167: [13:03:00] <lx-berlin> C10ne: thanks. I see. I also pasted the code directly in the validator and then it was validating. very strange. Also i already replaced all description with just "x" but it was still invalid
168: [13:04:00] <C10ne> lx-berlin: I was hoping that pasting it in a new file would give me more control to delete items and see which one is at fault, but it just validated
169: [13:24:00] * r3v3rb quit (Quit: r3v3rb)
170: [13:26:00] * UndefinedOffset has joined #silverstripe
171: [13:36:00] <lx-berlin> C10ne: i do not yet fix it. But if the online version is invalid but pasting the code is valid, the reason must be the content-header that is set
172: [13:38:00] <C10ne> lx-berlin: Probably, or there are some extra characters rendered somewhere that aren't displayed in browser
173: [13:38:00] * Shrike_Finland quit (Quit: Leaving.)
174: [13:39:00] <lx-berlin> what do you mean "stange" :)
175: [13:39:00] <C10ne> lx-berlin: I need to get some strange flex slider script working :D
176: [13:39:00] <lx-berlin> *strange
177: [13:40:00] <C10ne> *find
178: [13:40:00] <lx-berlin> you mean "awesome" :)
179: [13:40:00] <lx-berlin> i guess we are talking about our module , right ?
180: [13:40:00] <C10ne> joking, I used the back end part from it and went to github to fing the source, and figured it's yours :D
181: [13:41:00] <lx-berlin> with some css changes
182: [13:41:00] <ToddKimball> Good morning all
183: [13:41:00] <lx-berlin> we used it ourself on www.secowarwick.com
184: [13:41:00] * ToddKimball has joined #silverstripe
185: [13:41:00] * ivoba has joined #silverstripe
186: [13:42:00] * qlex has left #silverstripe
187: [13:43:00] <C10ne> yeah, I also need quite different css, and I'm using royal slider script
188: [13:44:00] <lx-berlin> royal slider ? from codecanyon
189: [13:44:00] <lx-berlin> ?
190: [13:44:00] <ToddKimball> Does anyone know of a way to hide the dropdown on the form in a one to many relationship on the has_one side: http://www.sspaste.com/paste/show/50ead10aecc1d ?
191: [13:44:00] <C10ne> 'Morning Todd
192: [13:44:00] <lx-berlin> i also wanted to use this first. but for any reason we moved to flexslider
193: [13:45:00] * r3v3rb has joined #silverstripe
194: [13:45:00] <C10ne> yes, that one
195: [13:45:00] <lx-berlin> i think i forgot to mention that there is a documentation for the module: http://www.netefx.de/Silverstripe-flexslider.php
196: [13:45:00] <ToddKimball> It seems to confuse some (read most) clients, and removing it from the form seems to break the relationship...
197: [13:45:00] <lx-berlin> although we already purchased it
198: [13:47:00] <lx-berlin> i see
199: [13:47:00] <C10ne> I just use flexslide.php inside another page and render it diferently on the front end
200: [13:48:00] <C10ne> royalslider is very nice, I started using it when building some responsive sites, and sticked around
201: [13:49:00] <lx-berlin> i think the reason why we decided to use flexslider was, that i wanted to make a module of it on github
202: [13:49:00] <C10ne> ToddKimbal: You need to extend getCmsFields function, and remove the field
203: [13:50:00] <C10ne> LOL, that's a valid reason :)
204: [13:50:00] <C10ne> off to lunch, bbl
205: [13:52:00] <ToddKimball> C10ne: tried that on Friday and it didn't retain the relationship. However, it was very late, so there's a good chance I was half asleep. I'll try it again thie morning. Thanks.
206: [13:57:00] * ToddKimball quit (Ping timeout: 245 seconds)
207: [14:09:00] <r3v3rb> lx-berlin: C10ne you missed my schoolboy error??? my dataobject::get had the filter in the sort section!
208: [14:09:00] <r3v3rb> lol
209: [14:09:00] <r3v3rb> doh!
210: [14:10:00] <r3v3rb> moved to the correct area and all works as expected!
211: [14:11:00] <lx-berlin> doing this kind of error could be me
212: [14:12:00] <lx-berlin> ss should set: header("Content-type: text/xml");
213: [14:12:00] <lx-berlin> i still have a problem with the rss feed
214: [14:13:00] <lx-berlin> but when i take a look at the response header i see that the content-type is: application/xhtml+xml;
215: [14:13:00] <lx-berlin> i guess not sending the correct content-type is the problem
216: [14:14:00] <lx-berlin> thats why the w3c validator has removed the first line , which is <?xml version="1.0" encoding="UTF-8"?>
217: [14:15:00] <lx-berlin> if i compare this with http://www.silverstripe.org/blog/rss i see that there the content-type is correctly set to text/xml
218: [14:18:00] <C10ne> But after the pasted xml validated, I couldn't go on
219: [14:18:00] <C10ne> I can't help much from here, my approach would include editing and reediting until it validates
220: [14:19:00] <lx-berlin> i am sure its because the content-header isnt set correctly
221: [14:19:00] <C10ne> Headers are a good guess, since pasting the code gives a good header and no difference in the xml
222: [14:28:00] * r3v3rb quit (Quit: r3v3rb)
223: [14:41:00] * ocm_ has joined #silverstripe
224: [14:41:00] * zfmf has left #silverstripe
225: [14:42:00] * zfmf has joined #silverstripe
226: [14:42:00] <ocm_> howdy
227: [14:48:00] <C10ne> hi ocm_
228: [14:50:00] <C10ne> hm, a noob question, where do you put general js/css files, non module/theme specific but reusable ones?
229: [14:52:00] <ec8or_> C10ne: mysite/js is a pretty popular choice
230: [14:55:00] <C10ne> yeah, but it's site-specific, I'll just decide where to put them and keep it that way. :)
231: [14:58:00] <lx-berlin> help all: i just played around with a clean ss3 install. Now i noticed that if your home page is a subpage, like www.mysite.com/en/home you will get to your hompage only after a 301 redirect.
232: [14:58:00] <lx-berlin> is there a way to solve this ?
233: [14:59:00] <lx-berlin> chillu: help !
234: [15:00:00] <chillu> lx-berlin: Presumably that /en/ routing is custom, or some third party solution, correct? It'll need a special case for the homepage
235: [15:00:00] * Zauberfisch quit (Ping timeout: 246 seconds)
236: [15:01:00] <lx-berlin> i did not add any custom routing . How would i solve this problem now? can you just take a look at www.secowarwick.com please
237: [15:02:00] <lx-berlin> en/, pl/ are just subtrees
238: [15:02:00] <chillu> I don't think thats a supported use case for the homepage - it looks for a URLSegment
239: [15:02:00] <lx-berlin> an easy way to setup a multilanguage site without the translateable module. But now i see this 301 problem
240: [15:02:00] <lx-berlin> en/home but pl/start
241: [15:03:00] <lx-berlin> so the urlsegment "home" does only appear once in the entire website
242: [15:03:00] <chillu> Its handled through RootURLController::$default_homepage_link - that should be enough as a starting point :)
243: [15:04:00] <lx-berlin> let me google for this :)
244: [15:04:00] <lx-berlin> is this something i need to add to my _config.php ?
245: [15:07:00] <chillu> So you want www.yourdomain.com to show www.yourdomain.com/en/home without a redirection?
246: [15:08:00] <lx-berlin> exactly
247: [15:08:00] <chillu> Having /home in a subdir is not supported, see RootURLController->handleRequest()
248: [15:08:00] <lx-berlin> becasue i am afraid that google will not like the 301
249: [15:08:00] <lx-berlin> RootURLController::set_default_homepage_link("en/home");
250: [15:08:00] <lx-berlin> like this ?
251: [15:09:00] <lx-berlin> ah, i will just upload it and see what happens :)
252: [15:09:00] <chillu> That won't work AFAICT because it has to be something which satisifies a SELECT ??? WHERE URLSegment = '<value>' query
253: [15:09:00] <chillu> Sorry, don't have any ideas on how to solve this from the top of my head
254: [15:10:00] <lx-berlin> it seems to be ok
255: [15:10:00] <lx-berlin> please take a look at www.secowarwick.com
256: [15:10:00] * Zauberfisch has joined #silverstripe
257: [15:12:00] <lx-berlin> looks ok, but now it redirects me from /en/home 301 to / (which is ok ?)
258: [15:13:00] <lx-berlin> what do you think. Doesnt it look ok now ?
259: [15:20:00] * ARNHOFF has joined #silverstripe
260: [15:22:00] <discorpia> this used to work on 2.x, is there another method for ss3?
261: [15:22:00] <discorpia> i'm trying to get silverstripe to use a local cache directory by creating silverstripe-cache in siteroot and making it writeable
262: [15:23:00] * ARNHOFF quit (Client Quit)
263: [15:24:00] * ARNHOFF has joined #silverstripe
264: [15:25:00] <hubertusanton> ss3 should automagically detect the folder and use it when its writable
265: [15:27:00] * ARNHOFF quit (Client Quit)
266: [15:27:00] * ARNHOFF has joined #silverstripe
267: [15:29:00] <ARNHOFF> Who here uses Apple MacBook Pro as his workstation? And who says it is necessary to own the GPU version for using HTML/CSS/js/PHP/mySQL/Photoshop?
268: [15:29:00] * ARNHOFF is now known as ARNHOE
269: [15:30:00] <discorpia> hubertusanton: cool thx, must have missed something else
270: [15:39:00] * cloph_away1 quit (Ping timeout: 255 seconds)
271: [15:42:00] * cloph_away has joined #silverstripe
272: [15:53:00] * WilsonS has joined #silverstripe
273: [15:54:00] <WilsonS> Hi everyone. Anybody know a good way to resize images that are already in a Content field? I can find the src's with Regex (if necessary)
274: [15:58:00] * ToddKimball has joined #silverstripe
275: [15:59:00] <ToddKimball> C10ne: thanks for pointing me back to $fields->removeByName, I must have been asleep on Friday. All is well now with eliminating the unnecessary dropdown
276: [16:00:00] <C10ne> Tou're welcome :)
277: [16:00:00] <WilsonS> To clarify, I could parse the content field for image src paths. Then how would you create an SS Image object from that?
278: [16:02:00] <ToddKimball> and now, it's sushi time- later
279: [16:06:00] * UndefinedOffset quit (Quit: Leaving.)
280: [16:06:00] * ToddKimball quit (Ping timeout: 245 seconds)
281: [16:11:00] <C10ne> Sorry WilsonS, I wouldn't know about that
282: [16:22:00] * WilsonS quit (Quit: Page closed)
283: [16:24:00] <kinglozzer> ARNHOE/ARNHOFF: I don't own/use one personally, and don't know much about them, but I assume by 'GPU version' you mean one with a dedicated GPU. You wouldn't need it for HTML/CSS etc, but you might need it for Photoshop. I guess it depends what version, do Adobe list system requirements anywhere? Tried googling 'Photoshop CS6 Macbook Pro' or similar?
284: [16:26:00] <ARNHOE> kinglozzer: Nah, I am a IT-er myself. I understand the need for a GPU when its needed etc, but I wonder what you guys think about the need for a GPU. I slice/crop sites in photoshop and then code them, don't know if you have any experience with that?
285: [16:27:00] <kinglozzer> ARNHOE: I do, but I can't comment on whether you're likely to need one for Photoshop. I don't know how GPU intensive it is. Certainly the newer 3D Photoshop stuff would need it, but as for '2D' web designs I don't know I'm afraid.
286: [16:28:00] * catcher has joined #silverstripe
287: [16:28:00] <ARNHOE> alright, thanks anyway
288: [16:28:00] <kinglozzer> http://www.adobe.com/uk/products/photoshop/tech-specs.html
289: [16:28:00] <kinglozzer> 16-bit color and 256MB of VRAM minimum, also needs OpenGL 2.0 - assuming you want CS6!
290: [16:29:00] <ARNHOE> Yeah, thats minimum probably, I know that the onboard will do, just want to know if that extra bit form the nvidia is something needed
291: [16:30:00] <kinglozzer> I really doubt it unless you're going to be using the 3D stuff, perhaps best to post on an Apple forum somewhere or something to be sure though :)
292: [16:31:00] * dendeffe quit (Quit: dendeffe)
293: [16:31:00] * g4b0 quit (Quit: Sto andando via)
294: [16:31:00] * bino quit (Quit: Page closed)
295: [16:32:00] <ARNHOE> Yeah, thanks. I saw quite lot of silverstripe people at some hack day using Macbook Pro's, so trying to get a reacton from them
296: [16:32:00] <lx-berlin> did anyone build a ss3 website that offers an rss feed ? I just want to check if the content-type is delivered as "text/xml"
297: [16:32:00] <ARNHOE> lx-berlin: http://test.brancom.eu/abs/
298: [16:32:00] <ARNHOE> right, RSS dunno if that helps you enough?
299: [16:33:00] <lx-berlin> no, its also using content-type application/xhtml+xml
300: [16:33:00] <lx-berlin> thanks, let me check this site
301: [16:34:00] <lx-berlin> invalid
302: [16:34:00] <ARNHOE> then, no idea
303: [16:34:00] <lx-berlin> i am sure its because of the wrong content-type
304: [16:34:00] <lx-berlin> http://validator.w3.org/appc/check.cgi?url=http%3A%2F%2Ftest.brancom.eu%2Fabs%2Factueel%2Frss
305: [16:35:00] * funkygibbon quit (Ping timeout: 260 seconds)
306: [16:35:00] <lx-berlin> time for a ticket
307: [16:35:00] <lx-berlin> ss2 does set it correctly
308: [16:35:00] <ARNHOE> I see
309: [16:36:00] * UndefinedOffset has joined #silverstripe
310: [16:42:00] <kinglozzer> lx-berlin: Are you using $feed->outputToBrowser()?
311: [16:44:00] <lx-berlin> yes
312: [16:44:00] <ARNHOE> kinglozzer: http://sspaste.com/paste/show/50eafb596a570 is what I am using, mabye you have an idea about that bug? It says </channel> is missing, but it is there in the template
313: [16:45:00] <kinglozzer> If you are, take a look at line 200. If there are no headers already sent, it sets the content type to 'text/xml'. Perhaps an incorrect header is being added elsewhere?
314: [16:45:00] <lx-berlin> ARNHOE: I am investigating this problem since a couple of hours. Its the content type. for any reason it gets overwriten or something. Just copy and paste your output directly in the validator. Then i guess it will be valiad
315: [16:46:00] <ARNHOE> if(!headers_sent()) {
316: [16:46:00] <ARNHOE> header("Content-type: text/xml");
317: [16:46:00] <ARNHOE> }
318: [16:46:00] <lx-berlin> btw. Chrome doesnt like it
319: [16:46:00] <ARNHOE> oh wait, that is what you said..
320: [16:46:00] <ARNHOE> kinglozzer: http://sspaste.com/paste/show/50eafbe134eec is being called in api/rssfeedphp on 200
321: [16:46:00] <ARNHOE> oops, wanted it on one line
322: [16:46:00] <lx-berlin> *valid
323: [16:46:00] <ARNHOE> HTTP::add_cache_headers();
324: [16:47:00] <lx-berlin> no
325: [16:47:00] <ARNHOE> yeah, it always done that as far I know?
326: [16:47:00] <lx-berlin> it just shows the plain xml
327: [16:48:00] <kinglozzer> lx-berlin: I believe it does just show the XML unless you have an RSS plugin or something installed, it's always done it for me
328: [16:48:00] <kinglozzer> ARNHOE: No idea. RSSFeed.ss has the </channel> tag, so I can't see why it would be excluded unless it's hitting an error. Any errors in server log or anything?
329: [16:48:00] <ARNHOE> yeah, firefox actually shows it "nicely"
330: [16:48:00] <lx-berlin> ups, maybe that is true
331: [16:49:00] <lx-berlin> try this one: http://golem.de.dynamic.feedsportal.com/pf/578068/http://rss.golem.de/rss.php?feed=RSS2.0
332: [16:49:00] <lx-berlin> hmm
333: [16:49:00] <discorpia> depends on the browser i believe, only internet explorer has a proper xml inspector i think, firefox uses syntax highlighting but some of the browsers just save it as a file if it's content type text/xml
334: [16:49:00] <ARNHOE> kinglozzer: its working fine, the error comes on http://validator.w3.org/appc/check.cgi?url=http%3A%2F%2Ftest.brancom.eu%2Fabs%2Factueel%2Frss
335: [16:50:00] <lx-berlin> in chrome
336: [16:50:00] <kinglozzer> ARNHOE: It looks like it's working, but it shouldn't be missing that tag. The only thing I can think is that it's hitting an error before it gets to that tag and therefore doesn't add it.
337: [16:50:00] <lx-berlin> again, copy the xml directly in the validator
338: [16:50:00] <kinglozzer> An error might not show up, it might just stop execution
339: [16:50:00] <lx-berlin> suddenly its valiad
340: [16:51:00] <lx-berlin> damn , "valid"
341: [16:51:00] <ARNHOE> yeah, no idea kinglozzer
342: [16:52:00] <lx-berlin> how comes, that chrome shows the feed from golem so much nicer ?
343: [16:53:00] <lx-berlin> ah, ok
344: [16:53:00] <kinglozzer> lx-berlin: I believe it's being formatted by Javascript or something, there's an onload="" on the <body> tag. It's certainly not raw XML
345: [16:56:00] <lx-berlin> This feed does not validate.
346: [16:56:00] <lx-berlin> ARNHOE: i think a real bug in your rss is that the guids are always the same
347: [16:56:00] <lx-berlin> line 25, column 44: guid values must not be duplicated within a feed: http://test.brancom.eu/abs/actueel/ (8 occurrences) [help]
348: [16:57:00] * ocm_ quit ()
349: [17:04:00] <lx-berlin> ticket added: http://open.silverstripe.org/ticket/8171
350: [17:06:00] * guci0 has joined #silverstripe
351: [17:08:00] * UndefinedOffset quit (Quit: Leaving.)
352: [17:25:00] * kinglozzer quit (Remote host closed the connection)
353: [17:37:00] * UndefinedOffset has joined #silverstripe
354: [17:56:00] * travis-ci has left #silverstripe
355: [17:56:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#179 (3.1 - caca150 : Ingo Schommer): The build was broken.
356: [17:56:00] * travis-ci has joined #silverstripe
357: [17:56:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/fa78370ac4c4...caca15034b4c
358: [17:56:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4005228
359: [18:16:00] <Marvanni> Database->write() does sanitize all user input?
360: [18:17:00] <FrozenFire> Do you mean DataObject::write()?
361: [18:18:00] <FrozenFire> And yes, I believe it does
362: [18:18:00] <FrozenFire> Needs to all be parametrized
363: [18:18:00] <FrozenFire> Not nearly as much as I'd like, though
364: [18:21:00] * gelignite has joined #silverstripe
365: [18:28:00] * selfsame has joined #silverstripe
366: [18:30:00] <selfsame> fresh install of silverstripe 3.0.3 on shared host running litespeed instead of apache
367: [18:30:00] <selfsame> everything mostly fine
368: [18:31:00] <selfsame> but ajax calls will occasionally return "Internal server error" popup
369: [18:32:00] <selfsame> log files show "The size of dynamic response header: 4248 is over the limit"
370: [18:33:00] <selfsame> I confirmed with tech support that litespeed's Max Dynamic Response Header size is set to highest value of 16K
371: [18:36:00] <selfsame> how can I a) confirm hypothesis that ajax calls are generating over-sized headers
372: [18:36:00] <selfsame> b) reduce header size?
373: [18:36:00] <selfsame> thanks
374: [18:38:00] <FrozenFire> selfsame, This is the case. The same thing happens with nginx
375: [18:39:00] <FrozenFire> And honestly, it sounds like litespeed is just a marketing ploy
376: [18:40:00] <FrozenFire> There's no other solution
377: [18:40:00] <FrozenFire> Which is a common setup
378: [18:40:00] <Marvanni> FrozenFire thanks
379: [18:40:00] <FrozenFire> It sounds like it's just Apache with nginx as a reverse proxy
380: [18:40:00] <FrozenFire> So yeah, you need to increase the nginx reverse proxy buffer size
381: [18:42:00] <lewellyn> i don't know how easily it will translate to litespeed from nginx, but it might point you in the right direction.
382: [18:42:00] <lewellyn> i can pastebin my fastcgi buffer stuff, if that helps.
383: [18:43:00] <selfsame> and lewellyn, that would be great (if you're responding to me)
384: [18:43:00] <selfsame> Thanks FrozenFire
385: [18:43:00] <lewellyn> http://www.greenviolet.net/paste/1357584229.html
386: [18:44:00] <lewellyn> those options are for far more than just silverstripe. they're numbers which seem generally happy :)
387: [18:44:00] <selfsame> I've set up many a site with Apache/nginx on other servers, so I'm familiar
388: [18:44:00] <lewellyn> there you go :)
389: [18:44:00] <selfsame> and unfortunately as it's shared hosting I can't replace litespeed
390: [18:44:00] <lewellyn> you might need to cross-reference with the nginx wiki, but it's at least a start from a known-happy configuration.
391: [18:45:00] <selfsame> not so much w litepseed
392: [18:45:00] <FrozenFire> Any particular reason you're using it?
393: [18:45:00] <lewellyn> i'm assuming "cheap webhost"
394: [18:53:00] * cloph_away1 has joined #silverstripe
395: [18:54:00] * cloph_away quit (Ping timeout: 256 seconds)
396: [18:59:00] * lx-berlin has left #silverstripe
397: [19:04:00] * zfmf has left #silverstripe
398: [19:13:00] * zfmf has joined #silverstripe
399: [19:22:00] * dendeffe has joined #silverstripe
400: [19:22:00] * ChairyOnehouse has joined #silverstripe
401: [19:29:00] * DigNZ has joined #silverstripe
402: [19:29:00] * DigNZ has joined #silverstripe
403: [19:29:00] * DigNZ quit (Remote host closed the connection)
404: [19:31:00] * Zauberfisch quit (Ping timeout: 246 seconds)
405: [19:34:00] * ivoba quit (Quit: Leaving)
406: [19:34:00] * Zauberfisch has joined #silverstripe
407: [19:35:00] * nickmolhoek has joined #silverstripe
408: [19:35:00] * nickmolhoek quit (Remote host closed the connection)
409: [19:35:00] * nickmolhoek has joined #silverstripe
410: [19:39:00] <ss23> I put simon_w to shame
411: [19:39:00] <ss23> http://i.imgur.com/FQlpE.jpg http://i.imgur.com/8rN3j.jpg http://i.imgur.com/0vrQN.jpg http://i.imgur.com/ldEyT.jpg Got soda?
412: [19:39:00] <FrozenFire> I'm sorry, but nobody is likely to beat me out. :P
413: [19:39:00] <ss23> FrozenFire: Did you check it?
414: [19:40:00] <FrozenFire> I once had a tower of coke cans that reached from my floor to my ceiling, four wide and deep
415: [19:40:00] <ss23> Wanna compare? See who's is bigger? <3
416: [19:40:00] <ss23> This almost reaches ceiling, but it is on a desk
417: [19:40:00] <FrozenFire> At first it was just me being lazy and doing a series of all-nighters
418: [19:40:00] <ss23> Still, not bad for ~2 weeks work
419: [19:40:00] <FrozenFire> Then it became a matter of pride
420: [19:41:00] <ss23> lol
421: [20:10:00] * terryapodaca has joined #silverstripe
422: [20:24:00] * ARNHOE quit (Read error: Connection reset by peer)
423: [20:25:00] * SightUnseen has joined #silverstripe
424: [20:25:00] * SightUnseen has left #silverstripe
425: [20:34:00] <catcher> 4 different objects consist of just a 'title' field, and will be used on a many_many with another class. Give them a common parent and have almost-empty class definitions? Still just 1 DB table since no extra db fields.
426: [20:36:00] * dendeffe quit (Quit: dendeffe)
427: [20:36:00] <FrozenFire> catcher, That's fine
428: [20:36:00] <FrozenFire> I'm doing that right now
429: [20:36:00] <catcher> it's a little cluttered, though I guess I can stuff all 5 classes in one file.
430: [20:36:00] <FrozenFire> "CatalogPerson" => (CatalogDirector, CatalogActor, CatalogComposer)
431: [20:38:00] <catcher> I guess OOP has to be a little inefficient somewhere.
432: [20:48:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/4005228
433: [20:48:00] * travis-ci has joined #silverstripe
434: [20:48:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#179 (3.1 - caca150 : Ingo Schommer): The build was broken.
435: [20:48:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/fa78370ac4c4...caca15034b4c
436: [20:48:00] * travis-ci has left #silverstripe
437: [20:58:00] * ARNHOFF has joined #silverstripe
438: [20:58:00] * r3v3rb has joined #silverstripe
439: [21:02:00] * selfsame quit (Quit: Leaving.)
440: [21:24:00] * guci0 quit (Ping timeout: 245 seconds)
441: [21:31:00] * UndefinedOffset quit (Quit: Leaving.)
442: [21:36:00] * ARNHOFF quit (Read error: Connection reset by peer)
443: [21:39:00] <FrozenFire> So just specify each model separately
444: [21:39:00] <catcher> FrozenFire, I'd like to have a single modeladmin interface instead of 4 - i.e. choose which type (Classname) each new entry should be.
445: [21:39:00] <FrozenFire> Yeah
446: [21:39:00] <catcher> at this point, I'm planning on finding a way to get all classes that extend the parent, putting them in a dropdown, and onBeforeWrite magic
447: [21:40:00] <FrozenFire> You should have one DataObject with an Enum that specifies the type
448: [21:40:00] <FrozenFire> It being in the same table doesn't make it one model
449: [21:40:00] <catcher> modeladmin will give me 4 tabs that way though
450: [21:40:00] <FrozenFire> Oh, that
451: [21:40:00] <FrozenFire> Yeah, don't do that.
452: [21:40:00] <FrozenFire> If you're doing that, you've got your model wrong.
453: [21:41:00] <catcher> I was going to go with enum, but the CMS admins should be able to create more of these things.
454: [21:42:00] <FrozenFire> Then you want a has_one of a category type
455: [21:42:00] <catcher> ah, that'd work
456: [21:48:00] <catcher> meh, updates once a year, I'll just enum the type.
457: [21:50:00] * r3v3rb quit (Quit: r3v3rb)
458: [21:51:00] * cloph_away has joined #silverstripe
459: [21:52:00] * cloph_away1 quit (Ping timeout: 248 seconds)
460: [22:07:00] * ChairyOnehouse quit (Ping timeout: 276 seconds)
461: [22:09:00] <terryapodaca> has anyone tried UncleCheese's Dashboard module?
462: [22:10:00] <terryapodaca> well, on the latest Beta ss3?
463: [22:21:00] * simon_w|air has joined #silverstripe
464: [22:23:00] * simon_w|air quit (Client Quit)
465: [22:23:00] * simon_w|air is on a plane. That is all.
466: [22:25:00] * howardgrigg has joined #silverstripe
467: [22:29:00] * zfmf quit (Remote host closed the connection)
468: [22:30:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
469: [22:54:00] * SticksM has joined #silverstripe
470: [23:06:00] * howardgrigg quit (Remote host closed the connection)
471: [23:12:00] <catcher> what filters work with the DataList filter method? :ExactMatch works, but :Fulltext is timing out.
472: [23:14:00] <FrozenFire> http://api.silverstripe.org/trunk/framework/search/SearchFilter.html
473: [23:14:00] <FrozenFire> See the child classes
474: [23:16:00] <catcher> last I heard ExactMatchMulti was still being worked on, and could be the same story for others.
475: [23:16:00] <catcher> That's where I got Fulltext to begin with, but do you know if they all work in 3.0?
476: [23:17:00] <FrozenFire> http://api.silverstripe.org/3.0/framework/search/FulltextFilter.html
477: [23:17:00] <FrozenFire> Full-text indexes are only available with MyISAM tables. The following column types are supported:
478: [23:17:00] <FrozenFire> I'd recommend not using it
479: [23:17:00] <FrozenFire> Unless you have a pretty good reason to
480: [23:17:00] <catcher> ah right, MyISAM
481: [23:21:00] <catcher> $DL = $DL->filter('joinedTable.fieldname', 'exactvalue'); ?
482: [23:21:00] <catcher> hrm. is dot notation not valid in DL filters?
483: [23:22:00] <FrozenFire> Have to use a filter
484: [23:22:00] <FrozenFire> E.g. exactmatch
485: [23:22:00] <FrozenFire> $dl->filter("joinedtable.fieldname:ExactMatch", "exactvalue");
486: [23:24:00] <catcher> FrozenFire, so then how to pull off a 'like'? I'd have to use where() instead of filter(), which doesn't seem to like the filters so well.
487: [23:25:00] <catcher> Ah, apparently 'joinedTableName' is actually 'RelationName'
488: [23:25:00] <FrozenFire> PartialMatch
489: [23:25:00] <catcher> But doesn't solve my other prob
490: [23:25:00] <catcher> PartialMatch ! in the docs
491: [23:26:00] <FrozenFire> http://api.silverstripe.org/3.0/framework/search/PartialMatchFilter.html
492: [23:26:00] <FrozenFire> You're a little bit speccy, ain't you?
493: [23:27:00] <catcher> ty FrozenFire
494: [23:27:00] <catcher> ha, woops, just trying to move too fast.
495: [23:53:00] <spronk> ffs
496: [23:53:00] <spronk> http://www.stuff.co.nz/business/industries/8151831/Trying-to-find-staff-a-nightmare
497: [23:55:00] <catcher> Hm, an ExactMatchMulti with && instead of || would be great right about now.
498: [23:58:00] <FrozenFire> And then was surprised when nobody did?
499: [23:58:00] <FrozenFire> She went to a technology college and asked if anyone worked at a bakery
500: [23:58:00] <FrozenFire> spronk, Did I read that right?

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