#silverstripe IRC Log

IRC log for 28 August 2014

All timestamps are in UTC.

1: [00:01:01] <PapaBearNZ1> NCEA - Aren't Uni papers NCEA level 4+?
2: [00:01:07] <catboy> So I can see it has a DataQuery object within it, I just want to run this and retrieve the data
3: [00:01:19] <ss23> PapaBearNZ1: wintec etc are afaik, but not uni
4: [00:03:14] <simon_w|work> catboy, foreach($list as $object)
5: [00:04:07] <simon_w|work> Colin[pi], gutted :p There's a bunch in Westfield
6: [00:04:45] <Colin[pi]> simon_w|work: st george is gone... until next month :P
7: [00:04:57] <Colin[pi]> I need to make a deposit though and I don't think the remaining atm's accept
8: [00:05:00] <Colin[pi]> oh well
9: [00:05:12] <simon_w|work> Colin[pi], just go to Westpac?
10: [00:05:27] <Colin[pi]> can i do deposits there too?
11: [00:05:31] <Colin[pi]> I know I can withdraw
12: [00:05:34] <simon_w|work> Same bank, isn't it?
13: [00:05:47] <Colin[pi]> mm kinda sorta
14: [00:05:54] <Colin[pi]> I know I can use the card at their atm
15: [00:06:19] <ss23> Change to a bank that's not shit
16: [00:06:22] <ss23> USE BITCOIN
17: [00:06:23] <ss23> o/
18: [00:06:44] <Colin[pi]> ss23: wonder how little my dogecoin is worth now? XD
19: [00:07:47] <PapaBearNZ1> @ss23: I think UoW papers have NCEA ratings. ISTR undergrad stuff being NCEA 4 or something like that, honours papers Level 5 and masters/phd at level 6. Don't quote me though.
20: [00:08:45] <simon_w|work> PapaBearNZ1, you may be getting confused with NZQF levels
21: [00:14:52] * zippy has joined #silverstripe
22: [00:14:53] <zippy> afternooons
23: [00:15:08] <Colin[pi]> someone keeps signing up to things using my gmail and I keep receiving all the logins
24: [00:15:13] <Colin[pi]> dafuq
25: [00:15:38] <zippy> lol
26: [00:15:58] <Colin[pi]> there is another guy in the US with my name, and his address is very similar... I think he keeps giving the wrong email
27: [00:19:53] <zippy> oh, your identity has been stolen! dun dun dunnnn
28: [00:20:16] <Colin[pi]> zippy: nah it's this ongoing thing with this other colin, some music guy in the States
29: [00:20:48] <Colin[pi]> I keep receiving all these music related emails... his address is like mine but with an L in the middle, which he seems to keep forgetting
30: [00:22:18] <zippy> so his is.... coin?
31: [00:22:28] <zippy> or collin
32: [00:22:39] <Colin[pi]> no, colinltucker
33: [00:23:38] <zippy> ah
34: [00:23:45] <Colin[pi]> my son has a school disco tonight and he wants to go as batman
35: [00:23:48] <zippy> i wonder how hard he rages out
36: [00:23:50] <Colin[pi]> oh to be young again
37: [00:24:06] <zippy> omg all these places!!! I put in my email and never get the email wtf is happening!
38: [00:24:13] <Colin[pi]> lol
39: [00:24:20] <Colin[pi]> yeah must be like that
40: [00:24:30] <Colin[pi]> maybe i should just email him
41: [00:24:50] <zippy> just a forward with "I think this is for you"
42: [00:26:50] <Colin[pi]> wow the ss orm and tasks make for some nice data processing code, in less than a day I wrote a system to parse all these telephone data files and import into a model
43: [00:27:01] <Colin[pi]> then can show/search in modeladmin, nice
44: [00:27:14] <Colin[pi]> customer is impressed :)
45: [00:32:06] <zippy> Colin[pi] - providor of the awsome solutions...
46: [00:32:37] <Colin[pi]> zippy: it's nice to leverage existing features, can knock out some code really fast
47: [00:32:47] <Colin[pi]> he had prototype code within 24 hours of requesting it
48: [00:32:59] <Colin[pi]> (also because he's a mate and I owe him a favour)
49: [00:33:23] * Dedra has joined #silverstripe
50: [00:34:03] <simon_w|work> Colin[pi], ready for the new bus network next week?
51: [00:34:16] <Dedra> Hey guys, I know it's tooooooootally late (in my region 2.33am ^^) and it's not directly related to SS, buuuut does anybody knows how to get a video.MOV (Quicktime, RGB-Alpha, PNG) video to work with html?! :-\
52: [00:34:29] <Colin[pi]> simon_w|work: what's a bus? hardly ever use em :P
53: [00:34:30] <simon_w|work> (Must suck to be the person that has to go and update all the stop timetables)
54: [00:34:54] <simon_w|work> Dedra, <video src="path/to/video.mov" />?
55: [00:35:32] <Dedra> ahm, i have a transparent video, and when i do it like that, then i get a black video
56: [00:35:57] <Dedra> nothing else, like I know it's not supported to have transparent videos. But i "barely" can remember that there was a hack for it :\
57: [00:37:01] <UncleCheese> when a GridField is on a page without edit privileges, should it just be returning "(none)?"
58: [00:38:05] <Dedra> http://dedra-sc.com/timer/index.html
59: [00:38:37] * Ryan-Toast quit (Quit: Ryan-Toast)
60: [00:38:37] <Dedra> here i uploaded it. What I'm trying to do is, a timer "plugin" for a streaming programm. The streaming programm can use websites, like an overlay. This means the programm removes the background of a website, and just shows the content.
61: [00:38:55] * catboy quit (Ping timeout: 246 seconds)
62: [00:39:18] <Dedra> So, i just made a simple javascript: after 5 min the first video apears, and disapears, after 10 min the 2nd video apears, and disapears. And then the timer is reset to 0 (starts again) like a endless loop :)
63: [00:39:35] <simon_w|work> Dedra, stick in a poster image
64: [00:39:38] <Dedra> it's working well, so far. But i need to get the transparent video working in html :)
65: [00:39:44] <Dedra> poster image?
66: [00:39:54] <simon_w|work> I get a transparent image once the video starts playing
67: [00:40:04] <simon_w|work> <video poster="path/to/file.png"
68: [00:40:16] <simon_w|work> Is what gets displayed before the video starts
69: [00:40:22] <simon_w|work> Is usually the first frame
70: [00:40:27] <Dedra> ahm, do you get a video?
71: [00:40:32] <Dedra> i just get a black quarter
72: [00:40:32] <simon_w|work> yes
73: [00:40:45] <Dedra> hmmmmmm, ok let me test it in firefox or so
74: [00:40:47] <simon_w|work> I get that, then I tell it to play and it plays
75: [00:40:56] <simon_w|work> It doesn't play by default
76: [00:41:04] <simon_w|work> need autoplay for that
77: [00:41:24] <simon_w|work> Dedra, https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video?redirectlocale=en-US&redirectslug=HTML%2FElement%2Fvideo
78: [00:41:45] <Dedra> it doing the autoplay for me, i hear the sound of the video
79: [00:41:52] <Dedra> but black image
80: [00:42:06] <Dedra> let me check your link
81: [00:42:13] <Dedra> so you saw a twitch logo animation?
82: [00:42:16] * jrthomer quit (Read error: Connection reset by peer)
83: [00:44:24] <Dedra> http://i.imgur.com/xjrqRP7.png here
84: [00:44:44] <Dedra> the sound is to loud, but i can fix the video file later ^_^ first i need to get it to work.
85: [00:46:51] <simon_w|work> Dedra, try a browser that actually handles quicktime videos
86: [00:48:31] <ss23> lol
87: [00:48:35] <ss23> that avoids the question tehn, doesn't it?
88: [00:48:35] <simon_w|work> Or a different encoding on the video
89: [00:48:46] <ss23> "How can I get this to play in the browser" "Dont' use that browser!"
90: [00:49:05] <Dedra> well, I even don't know if i can do that. I guess i have to test it in the streaming programm. I dunno which kind of "browser" it uses
91: [00:49:22] <Dedra> ill test it first in the programm, mom
92: [00:51:38] <simon_w|work> ss23, but is pretty much the case with the video tag
93: [00:54:01] * Bollig|DesignCty has joined #silverstripe
94: [00:55:06] <Dedra> well, i could use flash, there wouldn't be a problem. But i guess there is no transparent flash file format?! O.o
95: [00:55:59] <guzzlefry> wmode?
96: [00:56:39] <guzzlefry> throwing that out there without reading backlog. >_>
97: [00:57:17] <guzzlefry> http://helpx.adobe.com/flash/kb/flash-object-embed-tag-attributes.html
98: [01:00:30] <Dedra> well, nope. It's exactly the same in the streaming programm. A black quarter
99: [01:01:34] <Dedra> well, to wmode
100: [01:01:40] <Dedra> i need to make a transparent SWF
101: [01:02:18] <Dedra> dunno if After Effects can export in SWF. I tried earlier, but wasn't working. The only codec which worked was Quicktime RGB-Alpha, PNG (so it was a small video, 2mb instead of 50)
102: [01:02:32] * mirrors has joined #silverstripe
103: [01:03:12] <mirrors> Hey everyone....does any know if it is possible to create a gridfield list of items that are not dataobjects??
104: [01:03:31] <mirrors> I am getting data from an external source and what to display them in a gridfield
105: [01:04:36] <simon_w|work> mirrors, it's rather difficult to do, but you should be able to use an ArrayList of ArrayData objects in 3.1.6
106: [01:07:00] <mirrors> simon_w|work: I have tried that..but I am getting an error that canView does not exist on ArrayData
107: [01:07:15] <simon_w|work> mirrors, on 3.1.6?
108: [01:07:30] <mirrors> oh let me check
109: [01:07:41] <Selay> One question. Seems javascript requirements in model admin class doesnt load sometimes. when you reach there by ajax. Any workaround?
110: [01:07:45] * simon_w|work changed the topic to ''
111: [01:07:50] <ss23> :O
112: [01:07:51] <simon_w|work> Bah, stupid xchat
113: [01:08:27] * simon_w|work changed the topic to 'Welcome to #silverstripe | Ask your questions! | IRC Logs: http://ss.org.nz/logs | Feature requests: http://ss.org.nz/features | Dev Mailing List: http://ss.org.nz/ss-dev | Latest stable releases: http://ss.org.nz/3.1.6 and http://ss.org.nz/3.0.11 | Release Archive: http://www.silverstripe.org/release-archive/'
114: [01:08:40] <mirrors> simon_w|work: ok i am running 3.1.5.....time to upgrade..thanks i'll give that ago
115: [01:09:02] <simon_w|work> mirrors, that exact error was fixed, so should make things easier for you
116: [01:09:30] <Dedra> gut, zumindest hab ich den sound jetzt gefixt... und die 2. datei läuft auch. Nun schau ich mir mal das flash wmode an aber dann muss ich herausfinden welches format das video haben muss dafür: http://dedra-sc.com/timer/index.html
117: [01:10:22] <Dedra> ups english >_> i fixed the videos files in the meanwhile... now i have a look to wmode (flash). I try to figure what video format i have to use for it :-\ never was able to generate a transparent swf
118: [01:15:18] * Liquide quit ()
119: [01:15:18] * Guest16227 quit ()
120: [01:17:51] <mirrors> simon_w|work: now I cannot filter the gridfield because the canFilterBy function on ArrayList tries to array_key_exists($by, $firstRecord) where the $firstRecord is an ArrayData object
121: [01:18:34] <simon_w|work> mirrors, you're on the first people to try this, so pull requests would be great :)
122: [01:20:51] <simon_w|work> *one of
123: [01:21:15] <mirrors> haha ok i'll see what I come up with
124: [01:29:46] <Dedra> ok, i got it working with an export from After Effects, there are 2 javascripts inside this. So it works... BUT I have to combine that with my script now :-\
125: [01:35:24] <Dedra> http://dedra-sc.com/timer/works/TwitchR.htm
126: [01:35:26] <Dedra> here, u see
127: [01:36:12] <Dedra> I cant use the .swf without all that code from this export.. hm let me anylse the code of it
128: [01:37:50] * Ryan-Toast has joined #silverstripe
129: [01:50:12] * ocmnt has joined #silverstripe
130: [01:54:56] * ocmnt quit (Ping timeout: 260 seconds)
131: [02:01:05] <zippy> oh
132: [02:01:06] <zippy> my
133: [02:01:07] <zippy> god
134: [02:01:30] <zippy> client requested that file names of images are changed so they're more seo friendly
135: [02:03:06] * Bollig|DesignCty quit (Ping timeout: 260 seconds)
136: [02:05:51] <pippy> http://www.silverstripe.org/blog/
137: [02:05:59] <pippy> http://www.silverstripe.org/[sitetree_link%20id=41]
138: [02:06:04] <pippy> download link is broken
139: [02:06:40] <simon_w|work> FIX IT ss23!
140: [02:06:51] <Stomach> where is tractorcow when we need to berate him!
141: [02:08:09] <PapaBearNZ1> @zippy - easily done. Set the filename correctly before uploading it to the site *grin*
142: [02:08:29] <PapaBearNZ1> @zippy - I've done that on many a site where the client wanted images to be seo friendly.
143: [02:09:00] <zippy> PapaBearNZ1: yes, I got them to do that themselves (just rename), but now they want all the other layout images done
144: [02:10:10] <Stomach> website.com/themes/base/images/silly_picture_of_a_dolphin_used_as_a_full_page_background.jpg
145: [02:10:33] <Stomach> like that?
146: [02:10:36] <Stomach> I am SEO
147: [02:12:20] <ss23> um
148: [02:12:23] <ss23> I blame damian!
149: [02:12:30] <ss23> pippy: where does that come from?
150: [02:13:04] <pippy> ss23: the SilverStripe 3.1.6 is now out announcement
151: [02:13:32] <Dedra> simon_w|work, I'm done! http://dedra-sc.com/timer/index.html I was able to create a .swf file. I added the wmode transparent. But it's still with a black background screen. Anyone any ideas? :)
152: [02:13:36] <pippy> although, when you navigate to the blog post itself it seems to work, so it might be the function that limits the word count
153: [02:14:02] <simon_w|work> ss23, it's UncleCheese's fault!
154: [02:14:13] <Stomach> I blame Stomach
155: [02:14:27] <pippy> let's all blame stomach
156: [02:14:38] <Stomach> that dirty digesting bastard
157: [02:15:26] <pippy> a while back someone referenced by forum post about a smarter way to limit characters while discussing remaking the text limiting functions
158: [02:15:51] <pippy> *my
159: [02:16:26] <pippy> if they used my method there wouldn't be that problem
160: [02:16:27] <pippy> lol
161: [02:17:39] <simon_w|work> pippy, the problem is that it's return a Text object, not a HTMLText one
162: [02:22:52] <pippy> simon_w|work: ah i see
163: [02:23:35] <ss23> pippy: link?
164: [02:25:33] <simon_w|work> ss23, <pippy> http://www.silverstripe.org/blog/
165: [02:25:41] <ss23> ah sweet
166: [02:25:42] <ss23> ty
167: [02:25:42] <ss23> <3
168: [02:26:46] <novaweb> i broked the silverstripes
169: [02:27:15] <Colin[pi]> D:
170: [02:27:28] <Colin[pi]> that's supposed to be ss23's job
171: [02:28:43] <guzzlefry> is he slacking on docs again?
172: [02:29:06] <Stomach> willr and cam took over docs
173: [02:29:13] <Stomach> he must have been really slack
174: [02:30:02] * vebb has joined #silverstripe
175: [02:31:19] <ss23> wait pippy / simon_w|work
176: [02:31:22] <ss23> I don't see it there?
177: [02:32:25] <Olliepop> Hey do you guys know where I can put my SS email templates?
178: [02:32:36] <simon_w|work> ss23, too slow!
179: [02:32:45] <simon_w|work> Olliepop, wherever
180: [02:32:52] <ss23> :D
181: [02:32:56] <ss23> Yeah, I got Damian to fix
182: [02:32:56] <ss23> :P
183: [02:33:23] <pippy> ss23: seems to be good now
184: [02:34:29] <Olliepop> @simon_w|work Just required a damn dev/build haha
185: [02:34:36] <Olliepop> @simon_w|work thanks :)
186: [02:36:58] * jrthomer has joined #silverstripe
187: [02:45:35] * vebb quit (Quit: preprocessor-irc-cli)
188: [02:48:03] <zippy> damn this is going to give me the rsi's
189: [02:51:09] <novaweb> this I have tried onAfterPublish, onBeforeWrite and onAfterWrite in the Page class. All throwing an error/killing CMS, any obvious reason why? Usually I'd run convertAddressToPoint from the Controller but on*Write is not available there: http://pastie.org/9508797
190: [02:52:17] <simon_w|work> novaweb, unbounded recursion
191: [02:52:51] <simon_w|work> convertAddressToPoint() calls write, calls convertAddressToPoint(), calls write, etc
192: [02:53:07] <novaweb> Ah ha
193: [02:53:18] <novaweb> choice mate thank you.
194: [02:55:38] * macka^ has joined #silverstripe
195: [02:55:52] * travis-ci has joined #silverstripe
196: [02:55:52] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3272 (3.1 - 6fed1f6 : Simon Welsh): The build passed.
197: [02:55:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/935eabc1f9d4...6fed1f679158
198: [02:55:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/33759680
199: [02:55:52] * travis-ci has left #silverstripe
200: [02:56:01] <macka^> Hi guys - is it easy to change the contents of a gridfield?
201: [02:56:13] <simon_w|work> macka^, in what way?
202: [02:56:15] <macka^> I have a column of member ID's that i would like to convert into real names
203: [02:56:24] <macka^> can't figure out how
204: [02:56:45] <simon_w|work> Using summary_fields?
205: [02:57:08] <macka^> Can i do it that way?
206: [02:57:31] <simon_w|work> Yes
207: [02:57:46] <macka^> I'm using the SetDisplayfields.. do i just need to add some summary fields for it?
208: [02:59:47] <simon_w|work> Instead of MemberID, use Member.Name
209: [03:00:54] <macka^> ok - so just to clarify my 2nd but of confusion then. I am doing this in the object, as part of a getCMSFields()............. where would i put the summary fields?
210: [03:01:03] <macka^> Think i can probably google for that, but i thought i'd ask
211: [03:01:47] <guzzlefry> You just need a private static $summary_fields on the DataObject class I think.
212: [03:02:16] <macka^> oo - yeah, see... i already have one of those? or is SS smart enough to know the difference.
213: [03:02:42] <guzzlefry> hm, that might not override the defaults though. Can't remember.
214: [03:04:52] <macka^> http://pastebin.com/5XV6PymH
215: [03:04:57] <macka^> Is the snippet of code
216: [03:07:29] <macka^> So i can get 'BookedBy' onto my table as a number, but just wanna convert it. By i think the summary fields is the way to go
217: [03:08:20] <macka^> Just gotta figure out where it goes:)
218: [03:08:25] <simon_w|work> macka^, is BookedBy as has_one to Member?
219: [03:08:40] <macka^> no
220: [03:09:06] <simon_w|work> It's just a Integer column?
221: [03:09:35] <macka^> Varchar
222: [03:10:26] <simon_w|work> So why are you storing IDs in it?
223: [03:11:23] <macka^> http://pastebin.com/FE9Z87ME - updated it.
224: [03:12:13] <macka^> Storing the ID of the person that books out something... well that was the idea..
225: [03:12:25] <macka^> not a good way?
226: [03:13:04] <simon_w|work> Should use a has_one instead
227: [03:13:16] <simon_w|work> Same for the link back to item
228: [03:13:55] <macka^> Ok - cool!
229: [03:13:57] * hailwood quit (Ping timeout: 245 seconds)
230: [03:14:37] <macka^> Which link back to item?
231: [03:15:45] <simon_w|work> the Item varchar field on item_booking
232: [03:16:37] <macka^> ok - cool. Things to work on.,, thank you:)
233: [03:20:05] <Stomach> simon_w|work, do you know why there is stuff like https://github.com/silverstripe/silverstripe-framework/blob/3.1/core/ArrayLib.php#L47 in core when its not used in framework or cms?
234: [03:20:15] <Stomach> or is it used elsewhere and im just being dumb
235: [03:20:58] * macka^ quit (Ping timeout: 246 seconds)
236: [03:21:21] <simon_w|work> Cause it used to be used?
237: [03:21:29] <simon_w|work> Cause it was useful for one client's site back in 2.1?
238: [03:21:48] * macka^ has joined #silverstripe
239: [03:29:05] <Stomach> lol, sweet
240: [03:30:38] * catboy has joined #silverstripe
241: [03:31:45] <catboy> hi all, when doing a $group->members() kind of call, whereby there's a many to many relationship, how do I filter by the extra fields in the breakdown table?
242: [03:37:39] <macka^> simon_w|work: With a has_one relationship - should i be able to do a 'Member.name' in the setDisplayFields?
243: [03:37:57] <simon_w|work> macka^, well, it'll be BookedBy.Name
244: [03:39:23] <macka^> hmm didn't work.
245: [03:41:28] * macka^_ has joined #silverstripe
246: [03:43:43] * macka^ quit (Ping timeout: 246 seconds)
247: [03:45:32] * muskie9 has joined #silverstripe
248: [03:55:49] * cloph_away has joined #silverstripe
249: [03:56:15] * cloph quit (Ping timeout: 255 seconds)
250: [03:56:40] * mirrors quit (Ping timeout: 246 seconds)
251: [03:58:51] <novaweb> Peeps, something that has been bugging me for eons (no pun intended here) but why can you Debug::show($this); on a page class, but not Debug::show($this->ID);
252: [03:59:02] <novaweb> I know the answer is simple, don't laugh - but give me an answer
253: [03:59:51] <simon_w|work> novaweb, uh, you can
254: [04:00:10] <novaweb> hmmmm psshhhhh
255: [04:00:42] <novaweb> I thought so, which is why I felt like a dick asking. I am getting results for $this but not $this->dbfield
256: [04:04:58] <Stomach> when you debug::show $this, is it a record object or a controller or something else?
257: [04:07:07] <novaweb> $this is a record object of displaying the current page record in the database
258: [04:07:21] <novaweb> no idea why "of" is in that sentence.
259: [04:08:05] <simon_w|work> novaweb, not getting anything showing up (other than the header) usually means the value's null or the empty string
260: [04:09:32] <zippy> I keep tryng to do dd()
261: [04:09:47] <simon_w|work> var_dump! :p
262: [04:09:48] <zippy> maybe I should put a dd function high up, that wraps debug show
263: [04:09:50] <zippy> :)
264: [04:09:53] <zippy> yea, just habbit
265: [04:13:27] <macka^_> yay - got it to work.. just thought i'd add that - thanks simon_w|work
266: [04:15:26] <simon_w|work> macka^_, yay!
267: [04:16:18] <macka^_> Have to say - you guys rock with beginners! and amateurs. catch you later.
268: [04:17:15] <Stomach> you must only be in here between burger fuel and heating, not during
269: [04:17:39] <simon_w|work> Stomach, nah, I at least still pick up on actual questions during :p
270: [04:18:14] <simon_w|work> Run the tests. See the green.
271: [04:18:21] <simon_w|work> Run run run
272: [04:18:29] <simon_w|work> HURRY UP AND FINISH DAMMIT
273: [04:20:28] * macka^_ quit (Ping timeout: 246 seconds)
274: [04:42:24] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
275: [04:52:02] <Colin[pi]> simon_w|work: you're a very impatient chook you know that?
276: [04:54:25] * Olliepop quit (Ping timeout: 246 seconds)
277: [04:54:36] * Dedra quit (Quit: Bye guys, have to go!)
278: [04:54:52] * Stomach quit (Ping timeout: 245 seconds)
279: [04:55:49] * catboy quit (Ping timeout: 246 seconds)
280: [04:56:12] * Stomach has joined #silverstripe
281: [04:57:49] * novaweb quit (Remote host closed the connection)
282: [05:08:14] <Guest39976> I really want to deprecate Debug::show and Debug::message and tell people to learn xdebug
283: [05:08:24] * Olliepop has joined #silverstripe
284: [05:09:29] <simon_w|work> Guest39976, have you seen the output you get for that on a DataObject?
285: [05:09:34] * Guest39976 is now known as madmatt
286: [05:09:34] <simon_w|work> Debug::show is so much nicer
287: [05:09:48] * madmatt quit (Changing host)
288: [05:09:48] * madmatt has joined #silverstripe
289: [05:10:36] <madmatt> simon_w|work: Yeah, before I deprecate I want to do something nicer like telling xdebug (or the IDe directly) what is a 'useful' thing to show, and hide the stuff you typically ignore
290: [05:10:54] <simon_w|work> madmatt, need PHP 5.6 for that
291: [05:11:10] <madmatt> yep, just force upgrade to 5.6
292: [05:11:12] <madmatt> and sorted
293: [05:12:18] <simon_w|work> (assuming xdebug's been updated to support __debugInfo)
294: [05:13:54] <madmatt> I was also thinking of writing something for PHPStorm
295: [05:14:26] <simon_w|work> So long as it's not required
296: [05:15:01] <madmatt> nah, just to hide stuff like $model, $_cache_xxx stuff unless you want to get into the nitty-gritty
297: [05:15:40] <simon_w|work> I should probably comment on the UserVoice thing for replacing all the Debug:: stuff with a toolbar
298: [05:16:21] <madmatt> I just see so many people using Debug::show when it's a huge pain, like re-doing a form every time to test one step further in the execution
299: [05:16:30] <madmatt> anyway, back to lurking again
300: [05:19:00] * Ryan-Toast quit (Quit: Ryan-Toast)
301: [05:21:01] * Olliepop quit (Ping timeout: 246 seconds)
302: [05:21:06] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
303: [05:24:42] <ss23> fuck TeamCity
304: [05:24:45] <ss23> #justsayin
305: [05:28:45] * Stomach quit (Ping timeout: 260 seconds)
306: [05:34:41] * Stomach has joined #silverstripe
307: [05:35:07] <Colin[pi]> yeah fuck those guys.. I have no idea what it is but FUCK EM
308: [05:35:08] <simon_w|work> SUNSHINE, MOONLIGHT, GOOD TIMES, BOOGIE
309: [05:35:46] <ss23> Don't blame it on the sunshine, bro
310: [05:59:24] * vebb has joined #silverstripe
311: [06:12:14] * hailwood has joined #silverstripe
312: [06:20:31] * Selay quit (Ping timeout: 246 seconds)
313: [06:21:29] * Shrike_Finland has joined #silverstripe
314: [06:24:04] * LEDfan_ quit (Read error: Connection reset by peer)
315: [06:24:42] <muskie9> anyone have a good tut on getting started with solr... looked at the module... just looking for a crash corse in getting up and running with it on a lamp stack
316: [06:25:02] <muskie9> (within SS installation...)
317: [06:30:28] * Colin[pi] quit (Ping timeout: 250 seconds)
318: [06:35:24] * vebb has joined #silverstripe
319: [06:40:16] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
320: [06:41:51] * adrexia has joined #silverstripe
321: [06:45:53] * hailwood quit (Quit: Leaving.)
322: [06:49:44] * willr quit (Quit: willr)
323: [07:00:00] * spronk2 has joined #silverstripe
324: [07:09:41] * ocmnt has joined #silverstripe
325: [07:09:53] <ocmnt> 'lo
326: [07:29:39] * wmk has joined #silverstripe
327: [07:35:00] * Shrike_Finland quit (Quit: Leaving.)
328: [07:35:15] * spronk2 quit (Quit: spronk2)
329: [07:45:07] * stnvh has joined #silverstripe
330: [08:02:56] * Shrike_Finland has joined #silverstripe
331: [08:15:05] * Pyfrk has joined #silverstripe
332: [08:19:26] * travis-ci has joined #silverstripe
333: [08:19:26] <travis-ci> [travis-ci] JayDevlin/silverstripe-framework#1 (3.1 - 824c606 : Simon Welsh): The build was canceled.
334: [08:19:26] <travis-ci> [travis-ci] Change view : https://github.com/JayDevlin/silverstripe-framework/compare/2ed85dd47be8...824c6067a28c
335: [08:19:26] <travis-ci> [travis-ci] Build details : http://travis-ci.org/JayDevlin/silverstripe-framework/builds/33775131
336: [08:19:26] * travis-ci has left #silverstripe
337: [08:21:37] * shar has joined #silverstripe
338: [08:22:20] <shar> Hi, how can I modify model form in administration?
339: [08:22:29] * travis-ci has joined #silverstripe
340: [08:22:29] <travis-ci> [travis-ci] JayDevlin/silverstripe-framework#1 (3.1 - 824c606 : Simon Welsh): The build failed.
341: [08:22:29] <travis-ci> [travis-ci] Change view : https://github.com/JayDevlin/silverstripe-framework/compare/2ed85dd47be8...824c6067a28c
342: [08:22:29] <travis-ci> [travis-ci] Build details : http://travis-ci.org/JayDevlin/silverstripe-framework/builds/33775130
343: [08:22:29] * travis-ci has left #silverstripe
344: [08:22:34] <shar> I want to add custom javascript or css
345: [08:27:15] <wmk> shar, you mean in your modeladmin?
346: [08:27:44] <wmk> just overwrite getEditForm()
347: [08:28:14] <shar> I suppose so
348: [08:28:45] <shar> But how to do this for onlu current model ?
349: [08:30:24] * shar quit (Quit: Page closed)
350: [08:30:27] <wmk> $this->modelClass holds the current model name
351: [08:31:28] <wmk> http://sspaste.com/paste/show/53fca94b0d72e here i added a gridfield extension if a sortable field exists. the example may get you started
352: [08:33:50] * travis-ci has joined #silverstripe
353: [08:33:50] <travis-ci> [travis-ci] JayDevlin/silverstripe-framework#2 (3.1 - 6fed1f6 : Simon Welsh): The build passed.
354: [08:33:50] <travis-ci> [travis-ci] Change view : https://github.com/JayDevlin/silverstripe-framework/compare/824c6067a28c...6fed1f679158
355: [08:33:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/JayDevlin/silverstripe-framework/builds/33775744
356: [08:33:50] * travis-ci has left #silverstripe
357: [08:34:44] * Shrike_Finland quit (Quit: Leaving.)
358: [08:37:46] * zfmf has joined #silverstripe
359: [08:37:52] * ARNHOE has joined #silverstripe
360: [08:38:23] <ocmnt> wmk, you got that sspaste on a hotkey or something?
361: [08:38:26] <ocmnt> seems familiar :P
362: [08:38:55] <wmk> hmm, no. just remembered the example from a few days ago ;)
363: [08:39:07] <zfmf> hi, im using userforms, i want to edit the template so i created a UserDefinedForm.ss its loading but how i can load the form in it ?? i tried $UserDefinedForm and $Form both not working
364: [08:39:40] <wmk> zfmf, you need the $UserDefinedForm (or whatever) inside your content. it's parsed there...
365: [08:40:00] <wmk> not inside the page layout template
366: [08:41:49] <zfmf> aaa ok i understand :D
367: [08:42:04] <zfmf> in template i wrote now $Content and in admin to content field i added $UserDefinedForm
368: [08:42:06] <wmk> zfmf, https://github.com/silverstripe/silverstripe-userforms/blob/master/docs/en/user-documentation.md#combining-forms-and-content
369: [08:42:17] <wmk> yup. that's how it works.
370: [08:42:42] <zfmf> wmk: thanks ;)
371: [08:42:44] <wmk> you can of course write your own modified templates for layouting the form.
372: [08:43:13] <wmk> zfmf, you're welcome
373: [08:47:13] <ocmnt> how can I force a reload of the cms?
374: [08:47:39] <wmk> ocmnt, reload? F5 ???
375: [08:47:50] <wmk> backend / frontend ?
376: [08:47:53] <ocmnt> yes f5, but onAfterWrite()
377: [08:47:55] <ocmnt> backend
378: [08:48:01] <ocmnt> or rather
379: [08:48:04] <ocmnt> onAfterDelete
380: [08:48:11] <wmk> redirect to URL ?
381: [08:48:22] <wmk> Controller::redirect()
382: [08:48:35] <ocmnt> how to redirect to self?
383: [08:50:39] <wmk> there is a redirectBack() somewhere
384: [08:52:14] * ThePeach has joined #silverstripe
385: [08:57:05] * spronk2 has joined #silverstripe
386: [09:12:47] * coffee has joined #silverstripe
387: [09:13:01] <coffee> hi all
388: [09:13:36] <coffee> im trying to upgrade from ss 2.4 to 3.1
389: [09:13:44] <coffee> and i have a problem with ajax in the admin
390: [09:13:44] <coffee> http://api.silverstripe.org/3.1/class-ModelAdmin.html
391: [09:13:51] <coffee> i was looking at this and it says to add a route
392: [09:14:00] <coffee> can someone tell me where this should be added
393: [09:15:40] * spronk2 quit (Quit: spronk2)
394: [09:15:47] * Shrike_Finland has joined #silverstripe
395: [09:17:53] * Frans_Amsterdam has joined #silverstripe
396: [09:19:49] <Pyfrk> irogue: are you still there?
397: [09:20:22] <Frans_Amsterdam> Gentlemen, I'm kind of puzzled here because I cannot run this query: if($Recipient_ID = DB::query("SELECT ID FROM Recipient WHERE Email = $this->Email")){ .....} . Anyone sees what is wrong? That would awesome.
398: [09:20:26] <Pyfrk> https://www.youtube.com/watch?v=Kgrt7XZ-BQw
399: [09:20:44] <Pyfrk> Frans_Amsterdam: yes, easily.
400: [09:20:48] <Pyfrk> it's not valid SQL
401: [09:21:05] <Pyfrk> '$this->Email'"))
402: [09:21:06] * ss31noob has joined #silverstripe
403: [09:21:31] <Pyfrk> ss31noob: go drinking?
404: [09:22:00] <Frans_Amsterdam> Pyfrk, thanks I give that a go.
405: [09:22:00] <Pyfrk> err, ss23
406: [09:22:34] <ss31noob> haha. wrong person :)
407: [09:22:46] <coffee> anyone has an answer for me?
408: [09:22:50] <Pyfrk> also Frans_Amsterdam, that will return you an SQLQuery, not an id.
409: [09:23:01] * deskmaster has joined #silverstripe
410: [09:23:17] * spronk2 has joined #silverstripe
411: [09:23:29] <Pyfrk> coffee: well, you didn't really explain anything and then asked a question that was relational to your explanation (which wasn't there)
412: [09:24:06] <coffee> i want to create a route
413: [09:24:13] <Pyfrk> ok, and?
414: [09:24:22] <Frans_Amsterdam> Pyfrk Ai, I'm need of the ID, how can I manage that? ->value();
415: [09:24:45] <coffee> so that when i access a particular url it will redirected to a particular model admin
416: [09:24:53] <Pyfrk> Frans_Amsterdam: probably first()->value() or something
417: [09:25:15] <Pyfrk> coffee: so... without logging in?
418: [09:25:26] <coffee> no no when logged in admin
419: [09:25:27] <coffee> http://api.silverstripe.org/3.1/class-ModelAdmin.html
420: [09:25:33] <Frans_Amsterdam> Pyfrk Ah, that I can figure out, thanks.
421: [09:25:38] <coffee> in that doc it says to add router
422: [09:25:46] <coffee> where should i add it?
423: [09:26:01] <Pyfrk> coffee: so... what is this url looking like?
424: [09:26:38] <coffee> "/admin/treemenus/ajax/get/1?id=0"
425: [09:27:11] <Pyfrk> o.0
426: [09:27:21] <Pyfrk> that's... not a modeladmin route.
427: [09:27:24] <Pyfrk> http://doc.silverstripe.org/framework/en/reference/modeladmin
428: [09:27:28] <Pyfrk> this is how you set up modeladmin.
429: [09:28:02] <coffee> the problem is that this used to work in 2.4
430: [09:28:03] <Pyfrk> private static $urlsegment = 'thisbitcomesafteradminslash';
431: [09:28:21] <deskmaster> I think you're not meant to send those type of urls to a Model Admin but rather a controller
432: [09:28:27] <Pyfrk> coffee: now see, you still haven't explained yourself very well at all, as model admin has changed VERY little since 2.4
433: [09:28:37] <coffee> Action 'get' isn't available on class TreeMenuAdmin.
434: [09:28:49] <coffee> im getting this error when im trying to access the url
435: [09:29:05] <Pyfrk> because you're going to the modeladmin, which doesn't have a 'get' method.
436: [09:29:12] <wmk> coffee, then you have to define Actions i guess...?
437: [09:29:18] <coffee> TreeMenuAdmin is the modeladmin
438: [09:29:41] <Pyfrk> yes, and there is no method get() http://api.silverstripe.org/3.1/class-ModelAdmin.html
439: [09:29:48] <coffee> i created a controller in the model admin
440: [09:29:51] <Pyfrk> certainly not in allowed_actions in any case.
441: [09:29:54] <coffee> and added the allowed actions
442: [09:30:04] <Pyfrk> you don't make controllers in modeladmin.
443: [09:30:08] <coffee> and the method get aswell
444: [09:30:11] <coffee> still nothing
445: [09:30:45] <wmk> coffee, how about pasting your code at e.g. sspaste.org, so we can have a look at it?
446: [09:30:58] <Pyfrk> ^
447: [09:31:08] <wmk> Pyfrk, ??
448: [09:31:33] <Pyfrk> yes, it sounds like you're very confused coffee which is making it hard to help as it's hard for you to explain. so code will help
449: [09:31:45] <wmk> ocmnt, any idea how to make shortcuts in xchat?
450: [09:31:51] <Pyfrk> wmk: basically means "that, above"
451: [09:31:58] <wmk> ah
452: [09:32:18] <Pyfrk> "what he said" etc
453: [09:32:38] <Pyfrk> well, at least it did when I was a young'n on irc.
454: [09:32:40] <Pyfrk> :P
455: [09:32:54] <wmk> once upon the time, i konw
456: [09:32:55] <Pyfrk> ... because it was still the 90's D:
457: [09:33:15] <wmk> hehe, when your first comment in a chatroom was: asl ???
458: [09:33:26] <Pyfrk> hahaha
459: [09:33:29] <coffee> http://pastebin.com/dMeBFu2f
460: [09:33:38] <Pyfrk> well, only if they were also a 13 yo boy preteneding to be a girl!
461: [09:34:23] <Pyfrk> back when the phrase "The internet; where boys will be boys... and so will the girls" actually carried weight :P
462: [09:36:03] <wmk> coffee, what i see in my 3.1 code is that ModelAdmin extends LeftAndMain which extends Controller
463: [09:36:51] <wmk> so your TreeMenuAdmin_Controller sounds a bit duplicate and useless. Or is it just used for ajax callbacks?
464: [09:37:02] <wmk> but i'd do the ajax callback stuff in the TreeMenuAdmin, too
465: [09:37:03] <coffee> yes just for ajax
466: [09:37:19] <Pyfrk> [10:36] <wmk> coffee, what i see in my 3.1 code is that ModelAdmin extends LeftAndMain which extends Controller
467: [09:37:21] <Pyfrk> Just like in 2.4.
468: [09:37:28] <coffee> ok.. how can that be done
469: [09:37:29] <coffee> ?
470: [09:37:40] <wmk> does http://mysite/TreeMenuAdmin_Controller/get work?
471: [09:37:52] <wmk> you can call the controller directly without route by just calling its name
472: [09:38:13] * Colin[pi] has joined #silverstripe
473: [09:38:28] <coffee> no doesn't work
474: [09:40:56] <wmk> it's a 2.4 module you extended i guess...?
475: [09:41:52] <coffee> im trying to upgrade from 2.4 to 3.1
476: [09:42:17] <wmk> which can be a PITA if the module isn't upgraded...
477: [09:44:52] * spronk2 quit (Quit: spronk2)
478: [09:44:58] <coffee> its an in house built module
479: [09:45:15] <coffee> by previous developers
480: [09:45:37] * simon_w|air has joined #silverstripe
481: [09:48:24] <wmk> well, i guess you can throw away the ajax stuff and try to rewrite it using gridfield.
482: [09:48:53] <wmk> as the way modeladmin is handling the dataobjects changed a bit. away from complextablefield to a more modular, objectoriented and very flexible gridfield.
483: [09:49:09] <wmk> which is very powerful but the first time, ehem, confusing.
484: [09:49:15] * spronk2 has joined #silverstripe
485: [09:49:42] <wmk> maybe there are already some components for gridfields, that handle your situation, mabye not
486: [09:49:55] <coffee> i tried adding this function "public function handleAction( $request, $action ){" to the model admin and its returning not found
487: [09:50:05] <coffee> for url "/admin/TreeMenuAdmin/ajax"
488: [09:50:36] <Pyfrk> coffee: what does this ajax stuff actually achieve?
489: [09:50:45] <Pyfrk> for all we know, it might be 100% irrelevant now.
490: [09:51:32] <coffee> in the admin we have a drag and drop section and the ajax saves the data accordingly
491: [09:51:32] <wmk> might, yes.
492: [09:51:54] <wmk> drag and drop for what: reordering? putting files in?
493: [09:52:15] <wmk> for reordering: use a sortable gridfield extension, there are two available
494: [09:52:28] <Pyfrk> gridfieldextensions the better.
495: [09:52:44] <coffee> to re arrange relationships between parent and child pages without using the built in tree
496: [09:52:50] <Pyfrk> sortablegridfields emulates teh old DOM way of doing things, which was always a bit shit IMO.
497: [09:52:57] <coffee> which also allows us to have externel links
498: [09:53:07] <Pyfrk> wow that sounds complicated.
499: [09:53:09] * stnvh quit ()
500: [09:53:16] <wmk> btw: http://doc.silverstripe.org/framework/en/topics/controller#usage for learing how controller work
501: [09:53:18] <Pyfrk> you're managing a tree structure in a flat way?
502: [09:53:24] <coffee> it is quite complicated yes
503: [09:53:32] <coffee> yes
504: [09:53:39] <Pyfrk> wmk: well defining the action and adding it to allowed actions should be fine.
505: [09:53:56] <wmk> Pyfrk, but sortablegridfield works iwth gallerytheme *G*
506: [09:53:57] <Pyfrk> the issue here is: class TreeMenuAdmin_Controller extends controller{ private static $allowed_actions = array( 'get' ); public function get( HTTPRequest $request ){ } }
507: [09:54:02] <Pyfrk> 100% nonsense.
508: [09:54:05] <Pyfrk> even in 2.4
509: [09:54:10] <Pyfrk> so I dunno how that works.
510: [09:54:17] <coffee> it was just garbage code to check something out
511: [09:54:20] <Pyfrk> TreeMenuAdmin IS a controller.
512: [09:54:47] <Pyfrk> move those two functions from TreeMenuAdmin_Controller to TreeMenuAdmin, job should be done.
513: [09:54:54] <Pyfrk> oh, and do a dev/build
514: [09:54:58] <Pyfrk> and then do ?flush=1
515: [09:55:01] <Pyfrk> (separately)
516: [09:55:43] <Pyfrk> well, that one function and that one static var, I should say.
517: [09:55:48] * stnvh has joined #silverstripe
518: [09:58:04] <coffee> ok that worked
519: [09:58:06] <coffee> cheers
520: [09:58:17] <Pyfrk> :>
521: [09:58:25] <Pyfrk> allowed actions is compulsory now.
522: [09:58:55] <Pyfrk> before everything was pretty much OK by default.
523: [09:59:00] <Pyfrk> which is why it worked in 2.4
524: [09:59:02] <Pyfrk> :>
525: [09:59:12] <Pyfrk> or something.
526: [09:59:36] <Pyfrk> no idea what that comment at the top of modeladmin source is about (adding a route)
527: [10:00:23] <Pyfrk> coffee: But now that is solved properly, http://doc.silverstripe.org/framework/en/topics/controller#routing This is how you create a route.
528: [10:02:51] <coffee> ok thanks
529: [10:03:09] <coffee> i have this url
530: [10:03:50] <coffee> "/admin/treemenus/ajax/get/5" although now its working can't really understand why there is "ajax" can you tell me how/where this would be specified?
531: [10:03:59] <Pyfrk> coffee: also see http://doc.silverstripe.org/framework/en/reference/director#routing
532: [10:04:30] <Pyfrk> coffee: ajax is the name of a method on the modeladmin.
533: [10:04:41] <Pyfrk> an 'action'.
534: [10:04:50] <Pyfrk> it will also need to be in allowed_actions
535: [10:05:20] <coffee> ok ok understoond
536: [10:05:40] <Pyfrk> well, possibly. I'm not sure how the code works, it may not need to be.
537: [10:10:01] * Shrike_Finland quit (Quit: Leaving.)
538: [10:11:05] <ocmnt> wmk, no idea how to make shortcuts in xchat; never use them
539: [10:11:17] <ocmnt> you could prolly write some python script for that
540: [10:13:06] * wmk quit (Ping timeout: 260 seconds)
541: [10:29:08] * Shrike_Finland has joined #silverstripe
542: [10:44:08] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
543: [10:44:41] * simon_w|air has joined #silverstripe
544: [10:50:50] * anselmdk has joined #silverstripe
545: [10:50:58] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
546: [10:59:20] * simon_w|air has joined #silverstripe
547: [11:04:30] * anselmdk quit (Quit: anselmdk)
548: [11:04:47] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
549: [11:11:27] * vebb quit (Quit: preprocessor-irc-cli)
550: [11:14:08] * zippy has joined #silverstripe
551: [11:15:02] <zippy> I as, many rooms, and my many rooms have many studends... my studets have a has one of status
552: [11:15:44] * Frans_Amsterdam has joined #silverstripe
553: [11:15:53] <zippy> on my room page, can I do $this->Students()->where('StatusID', 1); ? trying to get all the studens of a particular status....
554: [11:16:03] <zippy> hang on..
555: [11:16:22] <zippy> school has many rooms....
556: [11:16:30] <zippy> and want to show the studens on the school page....
557: [11:16:50] <zippy> so $this->Rooms()->Students()->where('StatusID', 1);
558: [11:24:29] <ocmnt> zippy, use filter
559: [11:24:37] <ocmnt> ->filter('StatusID', 1);
560: [11:25:29] * Liongold has joined #silverstripe
561: [11:25:31] <Liongold> Hi
562: [11:25:42] <Liongold> I have a problem with recaptcha and silverstripe.
563: [11:28:57] * StefanLehmann quit (Ping timeout: 255 seconds)
564: [11:29:26] * ocm has joined #silverstripe
565: [11:29:37] <Liongold> The Recaptcha is not working and is submitting the form even if the code is wrong
566: [11:29:47] <Liongold> ocm: Hi
567: [11:30:49] * spronk2 quit (Quit: spronk2)
568: [11:31:39] * ocmnt quit (Ping timeout: 255 seconds)
569: [11:31:58] * adrexia quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
570: [11:39:58] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
571: [11:46:55] * caamic30 has joined #silverstripe
572: [11:47:17] <caamic30> Hello SS!
573: [11:47:47] <caamic30> Question: how do I custom re-arrange the menus on the left hand side of the admin?
574: [11:48:25] * spronk2 has joined #silverstripe
575: [11:49:00] <ss31noob> i have this simple ss3 code here http://www.sspaste.com/paste/show/53ff12797eb44
576: [11:49:38] <ss31noob> how can i get the ID of the current ListToplist that is being use/populated in the ListItem class?
577: [11:54:32] <Pyfrk> caamic30: with moderate to no difficulty.
578: [11:55:00] <Pyfrk> ss31noob: probably the same as most things in a list ->first()->ID
579: [11:55:03] <caamic30> Pyfrk: ?
580: [11:55:24] <Pyfrk> caamic30: well it's either easy but stupid, easy but good, or impossible.
581: [11:57:06] <ss31noob> Pyfrk, $this->ListToplist()->ID just returns 0
582: [12:00:32] <ss31noob> the flow is this.. i create a new ListToplist.. and when i created it.. there would be a new gridfield that will be added wherein you can add ListItem under that ListToplist.. i wanted to get the data about the ListToplist inside the ListItem class
583: [12:01:27] <Pyfrk> ss31noob: well yes, I meant for you to look it up still
584: [12:01:37] <Pyfrk> I don't know what your code is doing
585: [12:02:22] * UndefinedOffset has joined #silverstripe
586: [12:02:35] <Pyfrk> caamic30: https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/controllers/CMSSettingsController.php#L6
587: [12:02:40] <Pyfrk> easy but stupid it still is.
588: [12:03:23] <Pyfrk> compare: https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/controllers/CMSPagesController.php#L10
589: [12:04:15] <caamic30> hahaha. thanks Pyfrk
590: [12:05:23] <stnvh> quick q: Is there a way to set a default value for columns in $searchable_fields ?
591: [12:05:46] <Pyfrk> not that I'm aware of.
592: [12:06:22] <Pyfrk> there are some heredocs in the code that might give you a more definitive answer though stnvh
593: [12:06:56] <Pyfrk> not that I particularly remember where those are either though :<
594: [12:07:42] <stnvh> ok no worries, will look into it
595: [12:09:17] * wmk has joined #silverstripe
596: [12:09:24] <stnvh> for now a redirection with query string params could be feasible e.g /admin/blah/?q[Column]=Value
597: [12:11:09] <Pyfrk> better through session perhaps.
598: [12:13:46] * wmk quit (Ping timeout: 264 seconds)
599: [12:16:15] * wmk has joined #silverstripe
600: [12:16:16] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
601: [12:21:16] <Liongold> Can someone help me with the recaptcha?
602: [12:29:57] <ocm> what is your question?
603: [12:30:17] * ocm is now known as ocmnt
604: [12:30:37] <coffee> guys
605: [12:30:49] <coffee> does this ring a bell "I can't handle sub-URLs of a TreeMenuAdmin object."
606: [12:30:50] <coffee> ?
607: [12:33:18] * Shrike_Finland quit (Quit: Leaving.)
608: [12:36:52] * caamic30 has left #silverstripe
609: [12:37:41] <Liongold> ocm: I have installed the recaptcha module to Silverstripe. However, when I make a wrong code, the form still submits successfully.
610: [12:37:44] <wmk> something with routing, coffee
611: [12:37:50] <Liongold> What can be the problem?
612: [12:39:23] * ARNHOE quit ()
613: [12:41:39] <coffee> can anyone help me translate this "Director::addRules( 500, array( 'admin/treemenus/ajax/$Action/$ID/$Name' => 'TreeMenu_Controller' ) );" into route.yml pls
614: [12:45:53] * Shrike_Finland has joined #silverstripe
615: [12:46:59] * zfmf_ has joined #silverstripe
616: [12:50:03] * Colin[pi] quit (Ping timeout: 240 seconds)
617: [12:50:13] * zfmf quit (Ping timeout: 260 seconds)
618: [12:52:05] * zfmf has joined #silverstripe
619: [12:52:59] * simon_w|air has joined #silverstripe
620: [12:55:30] * zfmf_ quit (Ping timeout: 260 seconds)
621: [12:57:12] * zfmf_ has joined #silverstripe
622: [12:59:13] * teddy has joined #silverstripe
623: [13:00:11] <teddy> hey guys. anyone know how to keep a person logged it for couple of days on ss 2.4 ?
624: [13:00:39] * zfmf quit (Ping timeout: 260 seconds)
625: [13:01:13] <simon_w|air> teddy, tick the "Remember me" box when loggin in
626: [13:01:41] <Liongold> simon_w|air: can you help me with recaptcha?
627: [13:01:56] <simon_w|air> Liongold, nope
628: [13:02:17] * zfmf has joined #silverstripe
629: [13:02:23] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
630: [13:05:42] * zfmf_ quit (Ping timeout: 255 seconds)
631: [13:06:00] <coffee> can anyone help me translate this "Director::addRules( 500, array( 'admin/treemenus/ajax/$Action/$ID/$Name' => 'TreeMenu_Controller' ) );" into route.yml pls
632: [13:06:01] <coffee> can anyone help me translate this "Director::addRules( 500, array( 'admin/treemenus/ajax/$Action/$ID/$Name' => 'TreeMenu_Controller' ) );" into route.yml pls
633: [13:06:01] <coffee> can anyone help me translate this "Director::addRules( 500, array( 'admin/treemenus/ajax/$Action/$ID/$Name' => 'TreeMenu_Controller' ) );" into route.yml pls
634: [13:06:38] <coffee> Pyfrk any clue?
635: [13:07:17] * zfmf_ has joined #silverstripe
636: [13:07:29] * spronk2 quit (Ping timeout: 260 seconds)
637: [13:08:20] <wmk> coffee, have a look at framework or cms routes.yml to get a clue ;)
638: [13:09:25] <Liongold> simon_w|work: Thanks anyway.
639: [13:09:37] <wmk> coffee, you don't need the /ajax/ in the url, cause you can check inside your controller if it's an ajax call
640: [13:10:05] * spronk2 has joined #silverstripe
641: [13:10:46] * zfmf quit (Ping timeout: 264 seconds)
642: [13:11:31] <wmk> coffee, dunno if admin/* works anyway, as /admin/ is linked to AdminRootController
643: [13:11:55] * Shrike_Finland quit (Quit: Leaving.)
644: [13:12:57] * zfmf has joined #silverstripe
645: [13:13:50] <wmk> coffee, http://sspaste.com/paste/show/53ff266196da5 would be worth a try, maybe you'll have to define it before #adminroutes
646: [13:14:11] <wmk> as i said before: look at the different routes.yml to get a clue how it could work ;)
647: [13:14:35] <ss31noob> wmk, i have a gridfield for this class.. http://www.sspaste.com/paste/show/53ff26413d6e4
648: [13:15:07] <wmk> ss31noob, lucky guy
649: [13:15:33] * zfmf_ quit (Ping timeout: 240 seconds)
650: [13:15:54] <wmk> does APage.Title work in summary_fields?
651: [13:16:15] <ss31noob> and in the search box of the gridfield.. i was expecting that i can use the Title of the page in searching.. but seems like in summary_fields doesnt get the property of the SiteTree... it just gets the property inside the APage
652: [13:17:17] <ss31noob> nope.. it returns an sql error that APage.Title isnt found in that table.. does it mean that summary_fields just get the property that is defined in the APage class?
653: [13:17:25] <wmk> yup.
654: [13:17:36] <wmk> you can make a getter function for getting the relation title.
655: [13:17:38] * zfmf_ has joined #silverstripe
656: [13:18:00] * spronk2 quit (Quit: spronk2)
657: [13:18:23] <wmk> summary_fields = array('getPageTitle' => 'Title'); and function getPageTitle() return $this->APage()->Title;
658: [13:19:23] <coffee> ok i dont have the error anymore but now its returning the "Welcome to SilverStripe" page
659: [13:19:25] <coffee> any clue?
660: [13:19:57] <wmk> ss31noob, like done e.g. here https://github.com/Little-Giant/silverstripe-catalogmanager/blob/master/code/Extensions/CatalogPageExtension.php
661: [13:20:01] <teddy> where and how do you set a timeout function on ss 2.4 ? i have Session::set_timeout(60); in the function init() in the page controller but nothing happends
662: [13:20:44] <wmk> coffee, then routing is going wild and you got to the HomePageController
663: [13:21:20] <wmk> coffee, a decent step debugger (xdebug) helps you getting some light on this. you see what happens and don't have to debug a black box
664: [13:21:22] <ss31noob> wmk, i got this error when i used a function..
665: [13:21:23] <ss31noob> Uncaught LogicException: GridFieldAddExistingAutocompleter: No searchable fields could be found for class
666: [13:21:29] * zfmf quit (Ping timeout: 260 seconds)
667: [13:21:55] <wmk> ss31noob, then define searchable_fields and run dev/build afterwards
668: [13:22:07] <teddy> does anyone know where and how do you set a timeout function on ss 2.4 ? i have Session::set_timeout(60); in the function init() in the page controller but nothing happends
669: [13:22:32] * zfmf has joined #silverstripe
670: [13:22:33] <wmk> normally you should be able to search for APage.title, dunno
671: [13:24:48] <ss31noob> yeah.. that's what i also know.. but it returns an error now that Title isnt part of the table (which is true since it;s in the SiteTree table)
672: [13:25:38] <wmk> that's true
673: [13:26:15] * zfmf_ quit (Ping timeout: 244 seconds)
674: [13:27:42] * zfmf_ has joined #silverstripe
675: [13:28:09] <wmk> ss31noob, seems like you can file an issue at https://github.com/silverstripe/silverstripe-framework/issues (if you don't find one that fits your problem)
676: [13:28:28] <wmk> have to go now, good luck gents
677: [13:30:39] * zfmf quit (Ping timeout: 246 seconds)
678: [13:31:31] * Shrike_Finland has joined #silverstripe
679: [13:31:34] * Shrike_Finland quit (Client Quit)
680: [13:32:50] * zfmf has joined #silverstripe
681: [13:33:40] * wmk quit (Ping timeout: 270 seconds)
682: [13:36:20] * stnvh quit ()
683: [13:36:27] * zfmf_ quit (Ping timeout: 260 seconds)
684: [13:37:46] * zfmf_ has joined #silverstripe
685: [13:39:10] * stnvh has joined #silverstripe
686: [13:41:14] * zfmf quit (Ping timeout: 260 seconds)
687: [13:43:01] * zfmf has joined #silverstripe
688: [13:46:04] * zfmf_ quit (Ping timeout: 245 seconds)
689: [13:48:04] * zfmf_ has joined #silverstripe
690: [13:51:36] * zfmf quit (Ping timeout: 255 seconds)
691: [13:53:05] * zfmf has joined #silverstripe
692: [13:56:22] * zfmf_ quit (Ping timeout: 250 seconds)
693: [13:58:05] * zfmf_ has joined #silverstripe
694: [14:01:16] * zfmf quit (Ping timeout: 240 seconds)
695: [14:03:08] * zfmf has joined #silverstripe
696: [14:06:15] * zfmf_ quit (Ping timeout: 240 seconds)
697: [14:08:24] * zfmf_ has joined #silverstripe
698: [14:11:12] * catcher has joined #silverstripe
699: [14:11:33] * zfmf quit (Ping timeout: 240 seconds)
700: [14:12:30] * Shrike_Finland has joined #silverstripe
701: [14:13:37] * zfmf has joined #silverstripe
702: [14:17:22] * zfmf_ quit (Ping timeout: 264 seconds)
703: [14:18:40] * zfmf_ has joined #silverstripe
704: [14:21:20] * coffee quit (Quit: Page closed)
705: [14:22:12] * zfmf quit (Ping timeout: 255 seconds)
706: [14:23:45] * zfmf has joined #silverstripe
707: [14:27:26] * zfmf_ quit (Ping timeout: 260 seconds)
708: [14:28:38] * zfmf_ has joined #silverstripe
709: [14:32:14] * zfmf quit (Ping timeout: 250 seconds)
710: [14:33:44] * zfmf has joined #silverstripe
711: [14:37:33] * zfmf_ quit (Ping timeout: 260 seconds)
712: [14:38:50] * zfmf_ has joined #silverstripe
713: [14:39:16] * deskmaster quit (Ping timeout: 246 seconds)
714: [14:42:18] * zfmf quit (Ping timeout: 250 seconds)
715: [14:43:53] * zfmf has joined #silverstripe
716: [14:46:40] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
717: [14:46:57] * zfmf_ quit (Ping timeout: 246 seconds)
718: [14:47:46] * scpi has joined #silverstripe
719: [14:48:59] * zfmf_ has joined #silverstripe
720: [14:49:31] * eagles0513875 quit (Quit: ZNC @ TrekWeb - https://trekweb.org)
721: [14:51:10] * eagles0513875 has joined #silverstripe
722: [14:52:17] * zfmf quit (Ping timeout: 245 seconds)
723: [14:52:57] * Shrike_Finland quit (Quit: Leaving.)
724: [14:53:54] * zfmf has joined #silverstripe
725: [14:55:28] * Pyfrk quit ()
726: [14:57:18] * zfmf_ quit (Ping timeout: 255 seconds)
727: [14:59:09] * zfmf_ has joined #silverstripe
728: [15:01:25] * StefanLehmann has joined #silverstripe
729: [15:02:16] * zfmf quit (Ping timeout: 240 seconds)
730: [15:02:36] * Liongold quit (Quit: Page closed)
731: [15:07:05] * zfmf has joined #silverstripe
732: [15:10:28] * zfmf_ quit (Ping timeout: 250 seconds)
733: [15:12:09] * zfmf_ has joined #silverstripe
734: [15:13:02] * kerosene is now known as kerp
735: [15:13:07] * zfmf_ quit (Client Quit)
736: [15:15:17] * zfmf quit (Ping timeout: 245 seconds)
737: [15:15:42] * StefanLehmann quit (Read error: Connection reset by peer)
738: [15:33:07] * Plop has joined #silverstripe
739: [15:33:08] <Plop> hi guys
740: [15:34:35] * jenniferaslan has joined #silverstripe
741: [15:34:59] <Plop> I have a spam issue regarding emails sent by automatique code, i use the Email class but it seems that my server isn't reconized by the spf
742: [15:36:30] * Liquide has joined #silverstripe
743: [15:36:48] <Plop> i searched for a solution in the web but i didn't really understand how i can make it right
744: [15:39:58] <Plop> anyone has already encountered that problem ?
745: [15:40:15] <ocmnt> what is the problem? your own e-mails get into the spam?
746: [15:40:25] <ocmnt> or is there spam being send using the Email class?
747: [15:40:43] <Plop> when i create a new member, i send an email to him
748: [15:40:53] <Plop> and this email is going into his spam folder
749: [15:41:17] <ocmnt> setup SPF
750: [15:41:33] <ocmnt> and use dkim aswell if the mailserver is on another ip as the actual ip is registered on
751: [15:42:02] <Plop> yeah but i don't know where to setup spf and dkim
752: [15:42:20] <ocmnt> it should be installed and configured on the server
753: [15:42:41] <ocmnt> both are headers included in the e-mail, which are being checked by the receiving mailserver
754: [15:43:00] <ocmnt> the receiver then checks the dkim and spf headers provided in the e-mail with the dns txt records for both
755: [15:43:54] <Plop> can i add these headers by code or it's only by server setup ?
756: [15:49:58] <ocmnt> no, server
757: [15:50:05] <ocmnt> otherwise it lacks integrity
758: [15:50:15] <Plop> ok
759: [15:50:19] * ss31noob quit (Ping timeout: 246 seconds)
760: [15:50:30] <Plop> thx for your answers :)
761: [15:51:02] <ocmnt> http://www.howtoforge.com/set-up-dkim-domainkeys-identified-mail-working-with-postfix-on-centos-using-opendkim-p2
762: [15:51:04] <ocmnt> might get you started
763: [15:51:24] <ocmnt> if you use DA: http://www.directadmin.com/features.php?id=1189
764: [15:52:00] <ocmnt> anyway. time to go home now
765: [15:52:01] <ocmnt> bubye
766: [15:52:02] <Plop> thx for the doc, i'll check that out
767: [15:56:38] * kerp is now known as kerosene
768: [16:14:58] * travis-ci has joined #silverstripe
769: [16:14:58] <travis-ci> [travis-ci] dhensby/silverstripe-framework#28 (3.1 - 6fed1f6 : Simon Welsh): The build passed.
770: [16:14:58] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/935eabc1f9d4...6fed1f679158
771: [16:14:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/33812360
772: [16:14:58] * travis-ci has left #silverstripe
773: [16:24:44] <Plop> bye bye all
774: [16:24:47] * Plop quit ()
775: [16:26:34] * ocmnt has joined #silverstripe
776: [16:29:06] * stnvh quit ()
777: [17:04:05] * scpi quit (Ping timeout: 260 seconds)
778: [17:18:55] * ThePeach quit (Quit: leaving)
779: [17:32:48] * MattyBalaam has joined #silverstripe
780: [17:34:42] * Stomach quit (Quit: bye)
781: [17:35:21] * MattyBalaam quit (Client Quit)
782: [17:35:32] * Shrike_Finland has joined #silverstripe
783: [17:43:53] * gelignite has joined #silverstripe
784: [18:15:12] * wilsonstaff has joined #silverstripe
785: [18:15:43] * scpi has joined #silverstripe
786: [18:15:51] <wilsonstaff> Hi to all, what is the most reliable efficient module to integrate Mailchimp with SS? I gave up with Newsletter.....
787: [18:25:09] * Frans_Amsterdam has joined #silverstripe
788: [18:34:08] * ocm13 has joined #silverstripe
789: [18:38:16] * ocmnt quit (Ping timeout: 260 seconds)
790: [18:38:45] * ocm13 quit (Ping timeout: 260 seconds)
791: [18:39:08] * anselmdk has joined #silverstripe
792: [18:39:39] * Shrike_Finland quit (Quit: Leaving.)
793: [18:43:54] * scpi quit (Ping timeout: 246 seconds)
794: [18:45:55] * Shrike_Finland has joined #silverstripe
795: [18:49:12] * wilsonstaff quit (Quit: Page closed)
796: [18:57:15] * scpi has joined #silverstripe
797: [19:03:13] * SightUnseen has joined #silverstripe
798: [19:23:39] * SightUnseen has left #silverstripe
799: [19:30:09] * wmk has joined #silverstripe
800: [19:37:42] * Shrike_Finland quit (Quit: Leaving.)
801: [19:37:50] * Shrike_Finland has joined #silverstripe
802: [19:40:16] * UndefinedOffset quit (Quit: Leaving.)
803: [19:41:12] * wmk quit (Ping timeout: 250 seconds)
804: [19:54:45] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
805: [20:00:03] * anselmdk quit (Quit: anselmdk)
806: [20:11:17] * wilsonstaff has joined #silverstripe
807: [20:11:45] <wilsonstaff> Hi to all, is there a reliable and usable module to mate SIlverstripe and Mailchimp?
808: [20:14:54] * UndefinedOffset has joined #silverstripe
809: [20:15:01] * Olliepop has joined #silverstripe
810: [20:15:31] * oddnoc has joined #silverstripe
811: [20:20:17] * antmas has joined #silverstripe
812: [20:20:25] <antmas> morning all
813: [20:21:15] <Olliepop> morning!
814: [20:21:20] <wilsonstaff> Repeating... Hi to all, is there a reliable and usable module to mate SIlverstripe and Mailchimp?
815: [20:22:33] * UndefinedOffset quit (Quit: Leaving.)
816: [20:22:50] * UndefinedOffset has joined #silverstripe
817: [20:23:30] <Olliepop> Let us know if you find anything wildsonstaff :)
818: [20:23:42] <Olliepop> Everything I can find with a short search supports 2.4
819: [20:23:44] * wilsonstaff quit (Quit: Page closed)
820: [20:23:54] <Olliepop> Nevermind I guess..
821: [20:25:46] <antmas> Olliepop: there are a couple of modules that do some integration, but not full
822: [20:27:17] * UndefinedOffset quit (Ping timeout: 245 seconds)
823: [20:37:26] * Ryan-Toast has joined #silverstripe
824: [20:39:22] <Ryan-Toast> antmas: Working on my Newsletter kodule today.
825: [20:39:24] <Ryan-Toast> module
826: [20:39:37] <antmas> lol kodule
827: [20:39:39] * zippy has joined #silverstripe
828: [20:39:45] <antmas> Ryan-Toast: nice, just in time too :)
829: [20:39:58] <antmas> just signed another contract and will use BP :P
830: [20:40:04] <Ryan-Toast> Coolio.
831: [20:40:19] * Stomach has joined #silverstripe
832: [20:43:15] <antmas> Ryan-Toast: hey on this site - which is bp (but wordderp), what is the 'pixilated' effect on the paralax image? http://alehouseblenheim.co.nz/
833: [20:43:38] <Ryan-Toast> just a repeating pattern overtop of the image
834: [20:43:45] <antmas> ah ok
835: [20:44:05] <zippy> antmas:
836: [20:44:07] <Ryan-Toast> this one to be exact: http://alehouseblenheim.co.nz/wp-content/themes/linguini/images/bg-overlay-pattern.png
837: [20:44:26] * nicolaas has joined #silverstripe
838: [20:44:31] <zippy> antmas: I click on the "Visit the TDC website" on here, http://www.tasman.govt.nz/services/libraries/ and look at my url :)
839: [20:44:37] <zippy> http://www.tasmanlibraries.govt.nz/sapphire/main.php?url=/
840: [20:44:41] <nicolaas> hi, can anyone remember the website address for Silverstripe feature requests?
841: [20:44:41] <zippy> that aint right :)
842: [20:44:52] <antmas> Ryan-Toast: lol!
843: [20:44:55] <antmas> zippy: :O
844: [20:44:59] <zippy> nicolaas: http://silverstripe.uservoice.com
845: [20:45:04] <Ryan-Toast> nicolaas: simon_w.com
846: [20:45:17] <zippy> nicolaas: don't expect anything on there to be done ofc.
847: [20:45:36] <Ryan-Toast> zippy: “This has been started by Ryan Potter.” for #2, aww shit.
848: [20:45:39] <antmas> zippy: chur, I'll get the lib to fix it
849: [20:46:11] <nicolaas> @Ryan-Toast ;-)
850: [20:46:23] <nicolaas> thank you zippy
851: [20:46:35] <Ryan-Toast> Just been lazy, if someone could come over and set up the forked repo that would be great.
852: [20:46:47] <nicolaas> do you guys reckon that SS will be around in a few years? seems there has not been much progress in the last year. what do you think?
853: [20:47:21] <antmas> zippy: some bad redirect going on there :O
854: [20:47:24] <antmas> fixed
855: [20:47:44] <Ryan-Toast> nicolaas: ? There have been quite a few releases this year.
856: [20:47:50] <zippy> antmas: mmmm nop
857: [20:47:55] <catcher> nicolaas, they just got a big contract for the NZ govt last year, I'd say so.
858: [20:48:26] <zippy> nicolaas: really? there have been quite a few releases in the past year....
859: [20:49:13] <antmas> Ryan-Toast: I thought it looked familiar :P http://demo.grandpixels.com/?theme=linguini
860: [20:49:32] <antmas> zippy: is it still borked?
861: [20:49:39] * vebb has joined #silverstripe
862: [20:49:56] <Ryan-Toast> antmas: Why people never minify their plugin js for WP is beyond me.
863: [20:49:57] <zippy> antmas: curl -I http://www.taslib.govt.nz/ says -> Location: http://www.tasmanlibraries.govt.nz/sapphire/main.php?url=/
864: [20:49:57] <nicolaas> yeah fair enough... just wanted to see how people feel about it. For sure, some great work has been done - but I reckon we may see a major CMS in a few years replacing most others. SS is simply not moving fast enough to keep up with a big player it seems sometimes.
865: [20:50:21] <zippy> nicolaas: compaired to.... what
866: [20:50:26] <Ryan-Toast> nicolaas: Its’s not meant to be the bg mainstream cms
867: [20:50:29] <antmas> zippy: ah thanks
868: [20:50:49] <vebb> mōrena folks
869: [20:51:54] <zippy> o/
870: [20:52:05] <vebb> \o
871: [20:52:12] <zippy> nicolaas: \o/
872: [20:52:22] <vebb> o/*\o
873: [20:52:23] <zippy> which big players are you meaning
874: [20:52:39] <vebb> big player... hmm.
875: [20:52:41] <vebb> me!
876: [20:52:47] <zippy> \_o_? yar
877: [20:52:47] * vebb noms on pies
878: [20:52:49] <catcher> I could see something in laravel developing, but it'll be a while before it matures anyway. Possibly October in a few years.
879: [20:53:00] <vebb> yeah there's a few CMS projects for Laravel
880: [20:53:08] <vebb> they're looking great... _looking_ is the keyword
881: [20:53:15] <vebb> practicaliy wise? dunno.
882: [20:53:30] <vebb> also SS has itself quite neatly rooted inside the community/govt etc. hard to change that.
883: [20:53:32] * nickmolhoek has joined #silverstripe
884: [20:53:41] <vebb> SS can still be a huge player in the future.
885: [20:54:00] <Ryan-Toast> vebb: Agreed.
886: [20:54:28] <Ryan-Toast> All I want is html minification :P
887: [20:54:41] <zippy> lol wot
888: [20:54:43] <Ryan-Toast> Well a non buggy way that isn’t via the .htaccess
889: [20:55:01] <zippy> htm minification?
890: [20:55:13] <vebb> CSSCrush?
891: [20:55:13] <vebb> :P
892: [20:55:14] <Ryan-Toast> zippy: ye
893: [20:55:18] <Ryan-Toast> removal of whitespace
894: [20:55:19] <vebb> fuck minimificaitotnornton
895: [20:55:20] <zippy> why?
896: [20:55:23] <vebb> l2serverside
897: [20:55:40] <Ryan-Toast> zippy: because it makes me damp
898: [20:55:48] <zippy> but why?
899: [20:56:21] <Ryan-Toast> minimise payload
900: [20:56:33] <zippy> gzip compression will sortit
901: [20:56:38] <vebb> what I'd prefer if editors decided NOT to sanitise my bloody HTML input
902: [20:56:42] <vebb> i'm the admin you cocksucker
903: [20:56:56] <vebb> i.e. my beautiful div, all indented... screwed
904: [20:57:05] <Ryan-Toast> vebb: just make a form extension
905: [20:57:19] <zippy> not having to flush, a better config system with no yaml - those I think would be better :)
906: [20:57:22] <vebb> nah, I'm talking about other editors. like
907: [20:57:24] <vebb> uh
908: [20:57:26] <vebb> tinymce?
909: [20:57:56] <Ryan-Toast> vebb: Ugh, fuck I hate tinymce
910: [20:58:29] <vebb> yup
911: [20:58:36] <vebb> http://ckeditor.com
912: [20:58:45] <vebb> this is the best-ish one I've found
913: [20:58:49] <vebb> it does actually work
914: [20:58:50] <vebb> :o
915: [20:58:56] <vebb> http://ckeditor.com/demo
916: [20:59:03] <vebb> http://ckeditor.com/demo#inline
917: [20:59:05] <Ryan-Toast> I think there’s a ckeditor module for ss lying around somewhere
918: [20:59:06] <vebb> inline is my fav
919: [21:00:40] <Ryan-Toast> vebb: https://github.com/chillu/silverstripe-ckeditor
920: [21:01:36] <zippy> vebb: do you need a plugin to handle saving the inline content back to the server?
921: [21:02:05] <vebb> no
922: [21:02:09] <Ryan-Toast> zippy: you could buiild that into the preview in cms.
923: [21:02:16] <Ryan-Toast> Would be pretty swish.
924: [21:02:19] <Ryan-Toast> Hmm.
925: [21:02:23] <vebb> it can use HTML5 localstorage
926: [21:02:26] * Ryan-Toast needs to fork the cms
927: [21:02:29] <vebb> I'd give you my example
928: [21:02:38] <vebb> but... it's got a client's website template
929: [21:02:39] <vebb> :-/\
930: [21:02:46] <vebb> Kingy^: can I trust zippy
931: [21:03:38] <zippy> vebb: and then hows it get from local storage to the server for other people?
932: [21:03:46] <antmas> zippy: I have our neckbeards looking into it :P
933: [21:03:47] <vebb> that's just a feature
934: [21:03:53] <vebb> I meant
935: [21:04:02] <vebb> I wasn't giving you an answer, sorry.
936: [21:04:08] <zippy> right :)
937: [21:04:12] <vebb> I'm only just playing with it now
938: [21:04:15] <vebb> (or last night)
939: [21:04:19] <vebb> but I did set up a blog!
940: [21:04:23] <zippy> so go back to my question. When you use inline-save, and I change the title how can I push that back?
941: [21:04:23] <vebb> using Ghost.
942: [21:04:27] <zippy> do I need to use something like http://ckeditor.com/addon/inlinesave
943: [21:04:28] <nicolaas> sorry, gotta run in a second, but I basically just feel that sometimes SS is moving so slow that we are going to be taken over by a faster moving CMS which does everything that SS does, just better... ;-)
944: [21:04:38] <vebb> zippy: probably
945: [21:04:51] <zippy> doesn't seem right
946: [21:05:04] <vebb> using JS probably springs to mind
947: [21:05:11] <vebb> upon "preview" button click
948: [21:05:15] <vebb> save that version
949: [21:05:25] <vebb> oh yeah, ckeditor has versions too.
950: [21:05:27] <vebb> (locally)
951: [21:06:22] <zippy> vebb: yea so you can hook into the changed method (for auto saving) http://docs.ckeditor.com/#!/guide/dev_savedata
952: [21:06:40] <zippy> ok, that looks quite cool, I might use that for a project I am just finishing and one of the things was a one page basic home page...
953: [21:06:41] <zippy> perfect
954: [21:06:49] <vebb> :)
955: [21:06:58] <vebb> dammit
956: [21:07:10] <vebb> Dunedin's Infectious Disease team needs me to come in
957: [21:07:11] <vebb> >.<
958: [21:07:15] <zippy> O.o
959: [21:07:16] <vebb> I'M WORKING DICKHEADS
960: [21:07:38] <zippy> always wear protection!
961: [21:07:41] <vebb> lol
962: [21:07:50] <vebb> i blame malpractice tbh
963: [21:07:58] <vebb> the way my surgeon keeps.. passing it of
964: [21:08:08] <vebb> yet when i show people the picture, they freak
965: [21:08:28] <vebb> /s/people/professionals
966: [21:09:40] <zippy> 9:10 and I still don't know what I want to do today!!
967: [21:10:12] <vebb> where do you work
968: [21:10:43] <zippy> right now, the dining room table
969: [21:11:15] * zippy works from home
970: [21:11:17] <vebb> freel?
971: [21:11:29] <zippy> freels
972: [21:11:37] <vebb> sweet
973: [21:11:38] <vebb> link?
974: [21:12:09] * willr has joined #silverstripe
975: [21:12:20] <zippy> https://www.youtube.com/watch?v=co_DNpTMKXk
976: [21:14:29] <antmas> zippy: I hate how long it took me to find where that rewrite happens -__
977: [21:14:32] <vebb> http://i.imgur.com/YxUkG2w.jpg
978: [21:14:32] <antmas> -_-*
979: [21:15:36] <zippy> looks like fun!
980: [21:15:36] * catcher quit (Quit: Leaving)
981: [21:15:40] * gelignite quit (Quit: http://bit.ly/nkczDT)
982: [21:16:26] <Ryan-Toast> zippy: Sunday.
983: [21:16:50] <zippy> Saturday
984: [21:16:55] * hailwood has joined #silverstripe
985: [21:17:18] <antmas> is it time for gifs yet?
986: [21:17:26] <Ryan-Toast> No, not until the afternoon.
987: [21:17:31] <Ryan-Toast> I need to get work done this morning
988: [21:17:42] <antmas> ;__;
989: [21:18:11] <Olliepop> Do relational filters not work on a one to many relationship?
990: [21:24:07] <Stomach> $this->HasMany()->filter(array('Yes') => 'TheyDo');
991: [21:24:22] <antmas> o:
992: [21:24:22] <Stomach> or however arrays get laid out
993: [21:24:31] <Stomach> >_<
994: [21:24:33] <antmas> I have a surface 3 on my desk
995: [21:24:36] <antmas> SO NICE
996: [21:25:29] <zippy> antmas: when you fixing that redirect issue :)
997: [21:25:49] <antmas> zippy: Adrian is doing it :P
998: [21:26:48] <antmas> I have a S3 to play with,
999: [21:26:52] <antmas> work can wait :D
1000: [21:31:14] * nicolaas quit (Remote host closed the connection)
1001: [21:37:02] * wmk has joined #silverstripe
1002: [21:41:21] * wmk quit (Ping timeout: 246 seconds)
1003: [21:42:06] * scpi quit (Quit: scpi)
1004: [21:43:28] * Shrike_Finland quit (Quit: Leaving.)
1005: [21:44:09] * novaweb has joined #silverstripe
1006: [21:46:18] * simon_w has joined #silverstripe
1007: [22:02:01] * antmas quit (Quit: Page closed)
1008: [22:06:41] * simon_w quit (Quit: Ping timeout: your mum)
1009: [22:07:33] <novaweb> Someone help me debug? I am trying relentlessly to get some debugging going in the CMS (usually I debug on the front end, have never really needed to debug in CMS) http://pastie.org/9511483 : I have put Debug::show($this);die(); on line 9 (the convertAddressToPoint function) to see if data is in fact making it though, but when it dies I can't see the debug, or if approaching it without
1010: [22:07:33] <novaweb> the die, the CMS times out and page comes unresponsive.
1011: [22:07:40] <novaweb> Any more debugging methods that could help me?
1012: [22:08:47] <novaweb> the above pastie is in an extension of Page
1013: [22:09:00] <zippy> half the times the requests in the CMS are done via ajax, so check the requests tab for the response
1014: [22:09:25] <PapaBearNZ1> Does anyone know if SS should be removing the various cache files for the unittests when a dev/build?flush is run? We are hitting an issue where changes were made to yaml files in order to fix an issue but the unittests were still using the old values. We had to manually purge the /temp/silverstripe-cache-.../ files in order to resolve.
1015: [22:09:31] <Stomach> either that or click the action then refresh the page to force a actual response
1016: [22:10:18] <Stomach> PapaBearNZ1 - are you running the tests through the cli or from the web interface
1017: [22:10:21] <novaweb> requests tab is where in Chrome Dev Toolbar thingieo?
1018: [22:10:29] <Stomach> the cli and web interface maintain separate caches
1019: [22:13:33] * PapaBearNZ1 is now known as PapaBearNZ_
1020: [22:14:14] * PapaBearNZ_ is now known as PapaBearNZ
1021: [22:14:37] <PapaBearNZ> Stomach: CLI
1022: [22:15:15] <Stomach> when you run the tests do
1023: [22:15:27] <Stomach> ./framework/sake dev/tests flush=all
1024: [22:15:33] <Stomach> or whatever dev/tests should be
1025: [22:15:52] <PapaBearNZ> Thanks Stomach :)
1026: [22:17:00] <Stomach> novaweb - any luck?
1027: [22:17:09] <novaweb> I aint found shit!
1028: [22:17:17] <novaweb> hahaha
1029: [22:17:29] <Stomach> I usually just use error_log(Debug::dump($lol)); instead of relying on trying to find it on the page
1030: [22:17:54] <novaweb> will this work from a php script and show up in console, or on the page?
1031: [22:18:04] <novaweb> or an error log (duh)
1032: [22:18:57] <novaweb> Why so silly. I just want ma bugs
1033: [22:25:52] <Ryan-Toast> Can you add to a fieldlist?
1034: [22:26:11] <Stomach> in an error log if you have php set up for error logs
1035: [22:26:41] <Stomach> does anyone know how to list which fields arent valid through the RequireFields in the cms as well as showing above/below?
1036: [22:35:10] <Ryan-Toast> you can just push to it, turns out.
1037: [22:45:54] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1038: [22:47:24] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1039: [22:59:43] <Ryan-Toast> Okay, I have been reading jenniferaslan as JenniferAsian for like 6 months now.
1040: [23:00:03] <Stomach> racial.
1041: [23:05:12] * joelpittet has joined #silverstripe
1042: [23:05:47] <pippy> when is tractorcow gonna merge my postgreSQL fix
1043: [23:08:10] <adrexia_> meh. I've been waiting for someone to merge this for a year https://github.com/silverstripe/silverstripe-framework/pull/2397
1044: [23:08:17] <adrexia_> well, almsot
1045: [23:09:15] <Ryan-Toast> jQuery UI has the stupidest fucking way of adding buttonms
1046: [23:09:17] <Ryan-Toast> buttons
1047: [23:09:20] <PapaBearNZ> pippy: We're using postgreSQL in the current project - what's the fix?
1048: [23:09:29] <adrexia_> I think at this point I'd get more traction byu cloesing it and reopening it
1049: [23:09:42] <adrexia_> yep. Jquery ui is a bit shit
1050: [23:10:03] <pippy> PapaBearNZ: the search filter for non text fields
1051: [23:10:23] <novaweb> Stomach Debug::dump() works in the CMS thank yuou
1052: [23:10:34] <pippy> you can see it fail if you try to filter a grid field that has something like a date or int on it
1053: [23:13:26] <pippy> adrexia_: i can see how you'd get frustrated with that, a year :/
1054: [23:13:58] <Ryan-Toast> antmas: lists work with groups and adding subscribers now: http://www.gfycat.com/PastKeenBagworm
1055: [23:18:48] * Colin[pi] has joined #silverstripe
1056: [23:19:52] <novaweb> RestfulService (Error: string could not be parsed as XML) (SimpleXML) This is the string: [queryString:protected] => address=45+Waring+Taylor+Street%2C+Wellington&sensor=false
1057: [23:20:01] <novaweb> why no parsie
1058: [23:21:13] <simon_w|work> novaweb, because that's not XML
1059: [23:24:03] <novaweb> Doesn't SimpleXMLElement convert it in to XML though?
1060: [23:24:54] <adrexia_> pippy - to be fair there is a culture that if one of the core contributors comment then they are dealing with it, and Ingo got super busy
1061: [23:24:56] <novaweb> I am using GoogleGeocoding, for the past 5 years I could just pass $address as a string from the database and it worked finesies
1062: [23:25:57] <adrexia_> hence why closing and reopening is often teh solution
1063: [23:26:53] <PapaBearNZ> pippy: We've had to do partial match searches on numeric fields in model admin for this project. What's the url for your pull request? I'd like to have a look at it.
1064: [23:27:38] <pippy> PapaBearNZ: https://github.com/silverstripe/silverstripe-postgresql/pull/32
1065: [23:27:54] <pippy> it affects PostgreSQL 8.4 and 9.2, on windows linux and mac
1066: [23:29:02] <pippy> more details about it here: https://github.com/silverstripe/silverstripe-postgresql/pull/26
1067: [23:34:24] <PapaBearNZ> pippy: Ahh - that's the exact issue we were experiencing. I got around it by building a NumericPartialMatchFilter that did the conversion on the fly. Of course this filter only works if the current project is using postgreSQL.
1068: [23:34:55] <PapaBearNZ> We were trying to find a way around the issue without touching the core code of modules so that future upgrade paths were affected as little as possible.
1069: [23:36:03] <pippy> if you're using composer you can point the postgresql module to the branched version so upgrading isn't a hassle
1070: [23:36:42] <PapaBearNZ> We also found a problem in the pagination of search ersults for postgreSQL. If you've experienced that issue the pull request is here: https://github.com/silverstripe/silverstripe-postgresql/pull/33
1071: [23:37:44] <PapaBearNZ> Unfortunately the decision was made before I started to not use composer and instead use an alternative deploy process.
1072: [23:45:34] <Stomach> sometimes silverstripe development makes me want to cry
1073: [23:48:16] <Ryan-Toast> Stomach: Tear bending
1074: [23:53:11] <Stomach> Ryan-Toast, Avatar?
1075: [23:53:18] <Ryan-Toast> Stomach: yarp.
1076: [23:53:23] <Ryan-Toast> watched the finale last night :P
1077: [23:53:29] <Ryan-Toast> damn this season has been good.
1078: [23:53:52] <Stomach> I havent watched it yet
1079: [23:54:02] <Stomach> was waiting for it to all wrap up then just gonna power through
1080: [23:55:08] <Stomach> I went to a party as aang one time
1081: [23:55:13] <Stomach> shaved my head and everything, lol
1082: [23:58:05] <Ryan-Toast> Stomach: Aww, you’ll love it. Some sweet fights, and some pretty deep shit from a kids show.
1083: [23:58:24] <simon_w|work> Mmm, jet planes and L&P :)
1084: [23:58:26] <Stomach> http://www.stevie.co.nz/avatar.jpg
1085: [23:59:01] <Ryan-Toast> Stomach: http://i.imgur.com/MGUQiIT.gif
1086: [23:59:13] <Stomach> lol

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