#silverstripe IRC Log

IRC log for 10 December 2014

All timestamps are in UTC.

1: [00:01:49] <Colin[pi]> willr your javascript is bad and you should feel bad
2: [00:01:53] <Colin[pi]> ;P
3: [00:04:21] * camfindlay has joined #silverstripe
4: [00:25:25] <willr> Colin[pi] which is this?
5: [00:25:39] <Colin[pi]> willr: just fixing a 2.4 userforms ;P
6: [00:26:04] <willr> Yeah but userforms is alround hacky JS. It uses PHP to write javascript :)
7: [00:26:08] <Colin[pi]> drag-n-drop seems to be all screwed; I don't think its due to the combined files either
8: [00:26:43] <willr> 2.4 is unsupported. Upgrade :)
9: [00:26:56] <willr> 3 has only been out like 2 years
10: [00:26:57] <Colin[pi]> yeah I know :P
11: [00:27:08] <Colin[pi]> I'm just giving you some gentle shit
12: [00:27:12] <Kingy> don't ya wish it was that easy
13: [00:27:16] <Kingy> just upgrade
14: [00:27:17] <Kingy> lol
15: [00:28:37] <willr> Kingy done so many upgrades they’re second nature now. Only got 4 left to do over summer.
16: [00:29:33] <Kingy> willr: I meant in terms of workplace processes
17: [00:29:39] <Colin[pi]> finally fixed it
18: [00:29:41] <Kingy> I'd love to just upgrade everything
19: [00:30:03] <Colin[pi]> willr: why would: $(this).find(".sortHidden").val(sort++); not work, but: $(this).children(".sortHidden").val(sort++); work?
20: [00:30:19] <Colin[pi]> find() also iterates the immediate children, right?
21: [00:34:14] <zippy> children will just do the children and go no futher, where as find will go through everything under it
22: [00:36:16] <Colin[pi]> yeah find doesn't, uh, find it.. but children does in this case
23: [00:38:39] <simon_w|air> Ooh, my HN thread already has 3 up votes :)
24: [00:40:36] <simon_w|air> Now front page! Aww yeah :D
25: [00:42:29] * Tanger has joined #silverstripe
26: [00:48:03] <veb> what thread
27: [00:48:07] <veb> I have like 5,000 points
28: [00:48:12] <veb> I can give you a jump
29: [00:48:28] * oetiker has joined #silverstripe
30: [00:48:36] <veb> ... I didn't even have to ask
31: [00:49:24] <veb> HN isn't really the place to start any kind of discussion about php tbh
32: [00:52:46] <veb> heh
33: [00:52:48] * veb sighs
34: [00:53:28] <simon_w|air> I know, it's hilarious :D
35: [00:54:05] <antmas> mm jaffas
36: [00:54:16] <simon_w|air> I particularly like this comment: https://news.ycombinator.com/item?id=8726934
37: [00:54:25] <Kingy> has an upvote simon_w|air
38: [00:54:37] <simon_w|air> (direct quote from the post: "This isn’t a complete list – far from it – and PHP isn’t the only language with these benefits")
39: [00:54:46] <veb> https://news.ycombinator.com/item?id=8726910
40: [00:54:50] <veb> this guy down voted me
41: [00:54:54] <Stomach> haha simon_w|air I was just going to say about that one :D
42: [00:54:54] <veb> FUCKING CONTRIBUTE TO THE CONVERSATION DICKHEAD
43: [00:55:54] <Kingy> "You should not be using either to write a serious application in 2014"
44: [00:56:05] <Colin[pi]> wow skeleton 2.0, sweet
45: [00:56:06] <antmas> lol
46: [00:56:08] <Kingy> why...
47: [00:56:13] <Kingy> why shouldn't it be used
48: [00:56:21] * gpbnz has joined #silverstripe
49: [00:56:25] <simon_w|air> Because it's not hip enough
50: [00:56:46] <Kingy> well yeah that's the common argument which is stupid
51: [00:56:52] <Kingy> we have graduate rails devs at work
52: [00:56:54] <simon_w|air> Also, HHVM + Nginx is amazeballs
53: [00:57:00] <Kingy> who don't know shit about programming
54: [00:57:01] <antmas> it's the same for any major language
55: [00:57:15] <Kingy> but with rails they can just get shit working and all of a sudden they're magic
56: [00:57:31] <antmas> and people pay more money for .net for no reason
57: [00:57:33] <Kingy> tell them to write an in depth db query and they nope the fuck out of there
58: [00:58:00] <Stomach> Kingy - AUT graduates?
59: [00:58:03] <Stomach> fuck AUT
60: [00:58:05] <Stomach> fuck media school
61: [00:58:07] <Stomach> fuck them all
62: [00:58:08] <Kingy> no not AUT
63: [00:58:10] <Kingy> vic I think
64: [00:58:52] <simon_w|air> VUW doesn't teach Rails
65: [00:59:04] <simon_w|air> Or not in software engineering anyway
66: [00:59:32] <antmas> lol at teaching Rails at a school
67: [01:00:06] <Kingy> either way they're graduates who got a job and use rails but no absolutely nothing else
68: [01:00:15] <Kingy> probably a bit harsh because one of them is actually quite on to it
69: [01:03:52] <antmas> PHP doesn't get nearly as trolled as C# does
70: [01:04:05] <Tanger> ^
71: [01:04:06] <antmas> it's like flamebait 101 mentioning it :P
72: [01:04:19] <Kingy> <3 C#
73: [01:04:29] <Tanger> Meh
74: [01:04:53] <antmas> I prefer it over PHP, but that's just personal pref
75: [01:04:54] <Tanger> Too much bloat, though admittedly not as bad as some of the std C++ libraries
76: [01:04:55] <antmas> no realy reason
77: [01:05:03] <antmas> real*
78: [01:07:23] <antmas> awww yiis
79: [01:07:33] <antmas> got out of doctors visit and just got a repeat
80: [01:07:47] <antmas> win
81: [01:12:58] <antmas> what's PHP like for building desktop applications?
82: [01:13:04] <antmas> like, standard GUI applications
83: [01:15:01] <simon_w|air> There's php-gtk, though you probably don't want to do it
84: [01:15:26] <antmas> simon_w|air: never heard of it
85: [01:15:28] <antmas> so
86: [01:15:37] <antmas> it's mostly suited to web stuff?
87: [01:15:41] <simon_w|air> Yup
88: [01:15:51] * antmas learned something new
89: [01:19:01] <veb> antmas: repeat for what
90: [01:21:29] <antmas> veb asthma stuff
91: [01:21:38] <antmas> gonna start running again
92: [01:28:37] <Colin[pi]> antmas: I compiled some php into a console .exe for a project earlier this year, that was kinda weird
93: [01:28:46] <veb> http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
94: [01:30:50] <antmas> "programming is a hilariously young discipline, and none of us have the slightest clue what we’re doing." - yeah people need to stop saying this
95: [01:31:08] <antmas> I think a lot of us know exactly what we're doing
96: [01:32:30] <JeremyRoundill> Programming's been around for like 800 years, right?
97: [01:32:48] <JeremyRoundill> Capitalism has been around for 300.
98: [01:33:08] <antmas> articles like that are so dumb
99: [01:33:22] <JeremyRoundill> If we should admit we haven't the slightest clue what we're doing in programming, we should say the same about capitalism.
100: [01:33:59] <veb> that's a decent article
101: [01:34:02] <veb> the one I just linked
102: [01:34:16] <veb> and no, none of us really know what we're dong :-)
103: [01:34:33] <veb> I couldn't create my own compiler, operating system or kernel drivers for example.
104: [01:34:42] <veb> yet if I truly knew programming, I'd be able to
105: [01:36:55] <antmas> yeah but people do
106: [01:36:59] <antmas> and have done for a long time
107: [01:37:17] <Kingy> fuck skygo is an abomination
108: [01:37:42] <veb> still in it's infancy though. many people who have created great things simply got lucky at first. with help from thousands of others have things become better.
109: [01:37:48] <veb> (Linux for example_
110: [01:37:54] * jenniferaslan quit (Quit: jenniferaslan has left the room)
111: [01:38:16] <antmas> that's the same with any discipline
112: [01:38:37] <veb> but no reason to stop reading the article just because of that
113: [01:38:46] <veb> there's some truth behind the paragraph
114: [01:38:47] <antmas> no reason to single out programming like it's some untouchable all unknowable thing
115: [01:38:55] <antmas> veb: I'm still reading it :D
116: [01:38:59] <Kingy> blah.com/foo/bar/something-here - what's the best way to get 'foo' out of the url?
117: [01:39:09] <veb> and IMO the main theme of the article is PHP simply doesn't act like a "proper" programming language
118: [01:39:15] <zippy> Kingy: depeneds, this a ss site?
119: [01:39:18] <Kingy> yes
120: [01:39:23] <veb> I'm like, tbh the propper prpogramming language is the one people _USE_
121: [01:39:27] * veb thinks of Brainfuck
122: [01:39:33] <zippy> Kingy: in a controller?
123: [01:39:42] <Kingy> zippy: yes
124: [01:40:23] * spronk2 has joined #silverstripe
125: [01:41:21] <zippy> ah I thought there as a method...
126: [01:41:35] <antmas> o/ spronk2
127: [01:42:14] <spronk2> AYE
128: [01:42:31] <spronk2> \o
129: [01:43:54] <zippy> Kingy: anything in $this->request->allParams() tickle your fancy
130: [01:44:00] <zippy> AYE!
131: [01:44:42] <zippy> I thought it would of had something like SS_Request::segment(1) but then I realised laravel has that (with Request::), am i right spronk2 !
132: [01:44:50] <zippy> antmas: rain!
133: [01:44:52] <spronk2> kekek
134: [01:45:01] <spronk2> laravel has everything
135: [01:45:05] <spronk2> its better than rails
136: [01:45:10] <zippy> except a cms out of the box :)
137: [01:45:14] <spronk2> mm
138: [01:45:22] <spronk2> silverstripe should be rewritten on laravel
139: [01:45:25] <zippy> noah would have an itcy hammer hand with all this rain
140: [01:45:28] <veb> >.<
141: [01:45:34] <zippy> https://github.com/TheMonkeys/laravel-silverstripe
142: [01:45:41] <spronk2> zurmgh
143: [01:45:48] <antmas> zippy: the rain
144: [01:45:51] <antmas> staahhhhpp
145: [01:46:43] <veb> SS on Laravel seems wrong.
146: [01:47:37] * Ryan-Toast quit (Quit: Ryan-Toast)
147: [01:50:52] <Kingy> zippy: yes! that's what I need my friend
148: [01:51:12] <zippy> half price computer!
149: [01:51:44] <antmas> laravel screencasts are ace
150: [01:52:04] <spronk2> laracasts?
151: [01:52:05] * spronk2 signed up
152: [01:52:08] <spronk2> pretty good really
153: [01:52:20] <antmas> yeah
154: [01:52:26] <spronk2> eloquent is much better than SS' ORM too
155: [01:52:37] <spronk2> blade is arguably better than .ss
156: [01:52:40] <spronk2> though there isn't much in it
157: [01:55:02] <Kingy> zippy: someones kid at work is considering it
158: [01:55:06] <Kingy> so you have competition :P
159: [01:55:15] <zippy> :)
160: [01:55:45] <zippy> the old "someone else is after it too" ploy eh
161: [01:55:50] <antmas> lol
162: [01:55:53] <antmas> typical
163: [01:56:04] * antmas pats Kingy on the back
164: [01:56:20] * antmas whispers to Kingy
165: [01:56:29] <antmas> we see through your LIES
166: [01:56:33] <antmas> :D
167: [01:56:50] <Kingy> haha
168: [01:56:53] <Kingy> i have proof :(
169: [01:57:30] <zippy> hmm
170: [01:57:35] * zippy strokes his beard
171: [01:57:49] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
172: [01:57:54] <zippy> has anyone here actually seen Kingy IRL?
173: [01:57:59] * zippy wonders if he actually exists...
174: [01:58:21] <zippy> I wonder if this is the new chineese trademe scams going for the long con
175: [01:58:22] <Kingy> antmas has
176: [01:58:25] <Kingy> Colin[pi] has
177: [01:58:27] <Kingy> irogue has
178: [01:58:30] <Kingy> Snowman23 has
179: [01:58:36] <Kingy> and micmania1
180: [01:58:48] <Kingy> adrexia too
181: [01:59:04] <Kingy> soo boo to you too
182: [01:59:17] * micmania1 quit (Ping timeout: 264 seconds)
183: [01:59:20] <antmas> Kingy: I have no idea what you're talking aboot
184: [01:59:30] * antmas is now known as notantmas
185: [01:59:38] <notantmas> wat
186: [01:59:40] <Kingy> are you from canadia now?
187: [01:59:51] <zippy> no, he's just AKA John Key
188: [02:00:02] <zippy> "i don't recall"
189: [02:00:02] <notantmas> zippy: :D
190: [02:00:36] <notantmas> bah
191: [02:00:40] * notantmas is now known as johnkey
192: [02:00:44] <johnkey> ama
193: [02:00:51] * muskie9 has joined #silverstripe
194: [02:01:55] <JeremyRoundill> Hey bud.
195: [02:02:14] <JeremyRoundill> How many times have you and Cameron Slater made love?
196: [02:03:02] * JeremyRoundill is now known as judithcollins
197: [02:03:19] <judithcollins> Why didn't you give me the Honourable honourific?
198: [02:03:28] * judithcollins is now known as davidfarrar
199: [02:03:32] <davidfarrar> What's up, bud?
200: [02:04:03] * davidfarrar is now known as andrewlittle
201: [02:04:16] <andrewlittle> What are your retirement plans for 2017?
202: [02:04:41] * andrewlittle is now known as russelnorman
203: [02:04:46] * spronk2 lols
204: [02:04:56] * willr_ has joined #silverstripe
205: [02:04:57] * willr_ quit (Changing host)
206: [02:04:57] * willr_ has joined #silverstripe
207: [02:04:57] <russelnorman> Why aren't you saving the Maui dolphin?
208: [02:04:58] <johnkey> I don't recall
209: [02:05:13] <johnkey> you should listen to Troskey
210: [02:05:14] * willr quit (Ping timeout: 245 seconds)
211: [02:05:14] * willr_ is now known as willr
212: [02:05:18] * russelnorman is now known as patrickgower
213: [02:05:26] <patrickgower> John Key doesn't recall.
214: [02:05:31] <patrickgower> You should listen to Troskey.
215: [02:05:37] * patrickgower is now known as johnarmstrong
216: [02:05:43] <johnarmstrong> John Key doesn't recall.
217: [02:05:48] <johnarmstrong> You should listen to Troskey.
218: [02:05:53] * johnarmstrong is now known as JeremyRoundill
219: [02:05:54] <JeremyRoundill> :P
220: [02:07:46] * Liquide has joined #silverstripe
221: [02:17:52] * Ryan-Toast has joined #silverstripe
222: [02:17:55] <johnkey> where's my danish?
223: [02:18:25] * johnkey is now known as MaxKey
224: [02:18:35] <MaxKey> guis ima dj now
225: [02:18:47] * JeremyRoundill is now known as Fairfax
226: [02:18:54] <MaxKey> my dad doesn't recall
227: [02:18:59] <Fairfax> FORGET EBOLA, MAX KEY IS PRETENDING TO BE A DJ!!!
228: [02:19:01] <zippy> drop the beats! https://www.youtube.com/watch?v=H6pgIC7q2H4
229: [02:19:29] <Fairfax> DON'T WORRY ABOUT THE COLLAPSING ECONOMY, OR THE ACCUSATIONS OF DIRTY POLITICS AGAINST JOHN KEY BEING UPHELD
230: [02:19:35] <MaxKey> I'll donate $500 and shares in my batch to SS if they listen to my song
231: [02:19:52] * Fairfax is now known as JeremyRoundill
232: [02:20:17] * MaxKey is now known as antmas
233: [02:24:39] <JeremyRoundill> Well that was a hoot.
234: [02:26:03] <Ryan-Toast> I get creative freedom on this project… they’re going to regret that MUHAHAHA
235: [02:28:23] <muskie9> any multiform experts in here, looking to skip validation on the back button of a step
236: [02:29:12] <muskie9> probably just skip the write for the step since failing validation could probably cause a conflict in data
237: [02:38:56] * gpbnz quit (Quit: Leaving.)
238: [02:40:16] * micmania1 has joined #silverstripe
239: [02:41:05] * veb quit (Quit: veb-irc: &)
240: [02:49:50] * wracu has joined #silverstripe
241: [03:00:34] * mahfuz has joined #silverstripe
242: [03:04:20] * spronk2 quit (Quit: I may need a longer sleep timer...)
243: [03:05:25] * antmas quit (Quit: Page closed)
244: [03:08:20] * glenn-bautista quit (Quit: Leaving.)
245: [03:15:49] * Pyhurk quit (Ping timeout: 246 seconds)
246: [03:23:14] * novaweb quit (Quit: Leaving)
247: [03:37:34] * matt-in-a-hat has joined #silverstripe
248: [03:39:19] * gpbnz has joined #silverstripe
249: [03:40:39] * Kingy is now known as Kingy[a]
250: [03:42:50] <matt-in-a-hat> Hey guys. I have a css file in my theme at themes/mytheme/css/fonts.css which requires a font like src: url("../assets/fonts/myfont.tff") which works fine locally, but on my UAT environment it tries to load from /assets/_combinedfiles/assets/fonts/myfont.tff instead of /themes/mytheme/assets/fonts/myfont.tff. Any ideas why this is?
251: [03:43:19] <matt-in-a-hat> Is there an issue having a folder named assets under my themes folder?
252: [03:43:29] <muskie9> how are you calling your Requirements for css
253: [03:43:42] <muskie9> Requirements::combine_files() ?
254: [03:44:08] <matt-in-a-hat> No, as an html link currently.
255: [03:44:43] <muskie9> can you paste ur code
256: [03:45:22] <matt-in-a-hat> In the head section of my Page.ss I have <link rel="stylesheet" href="$Themedir/css/fonts.css" />
257: [03:46:09] * nicolaas has joined #silverstripe
258: [03:46:36] <nicolaas> hi, does anyone know how to set the default_sort of a dataobject to MyHasOneRelation.Title ???
259: [03:47:24] <muskie9> nicolaas, on your dataobject do private static $default_sort = 'Title';
260: [03:47:52] <Zauberfisch> nicolaas: yeah, you can only define $default_sort on a dataobject itself, not on a relation
261: [03:47:59] <Zauberfisch> if you want to sort the relation, you have to do:
262: [03:48:18] <muskie9> matt-in-a-hat that should pull from the theme then
263: [03:48:22] <muskie9> odd that it's not
264: [03:48:38] <Zauberfisch> public function MyRelation() { return $this->getHasManyComponents('MyRelation')->sort('Title', 'ASC'); }
265: [03:49:44] * spronk2 has joined #silverstripe
266: [03:51:39] <matt-in-a-hat> When do things get put into _combinedfiles? Odd that it would be automatically looking there on UAT and not locally.
267: [03:52:05] <Zauberfisch> matt-in-a-hat: _combinedfiles is only enabled in live mode
268: [03:52:07] <Colin[pi]> matt-in-a-hat: on live sites usually
269: [03:52:16] <Zauberfisch> when you are in dev mode, it just includes the files normaly
270: [03:52:21] <Colin[pi]> ^
271: [03:53:25] <nicolaas> @Zauberfish: thank you... Are you saying that MyRelation will automatically be included for any MyObject::get()?
272: [03:54:06] <Zauberfisch> no
273: [03:54:30] <Zauberfisch> it will only be used if you call $this->MyRelation()
274: [03:54:40] <nicolaas> ;-) ok - I was thinking about using something like augmentDataQueryCreation
275: [03:54:50] <nicolaas> or augmentSQL
276: [03:55:01] <nicolaas> or augmentLoadLazyFields
277: [03:55:04] <Zauberfisch> (I was assuming you have something like private staic $has_many = ['MyRelation' => 'Foobar']
278: [03:55:21] <nicolaas> yes, except it is a has_one
279: [03:55:34] <Zauberfisch> Oo
280: [03:55:44] <Zauberfisch> how would you sort a has_one if there is only one object?
281: [03:55:56] <Zauberfisch> if there is just one thing of something, sorting sounds pretty useless
282: [03:56:30] <nicolaas> so basically I have a list of car models (z1, 330, civic, etc...) with a parent make (nissan, volvo) and I want to sort the cars by make, model. So when I do CarModels::get()
283: [03:56:45] <nicolaas> it sorts them by CarMake.Title and then CarModel.Title
284: [03:57:01] <nicolaas> and I want to do this WITHOUT having to manually add the join ;-)
285: [03:57:29] <nicolaas> does that make sense?
286: [03:58:27] <nicolaas> so basically, whenever a dataquery is created for CarModel, it automagically includes a join to the CarMake table... that sort of thing.
287: [04:00:32] <Zauberfisch> ah, I see now what you mean
288: [04:00:52] <Zauberfisch> you want to sort an object by its relations title
289: [04:00:57] <Zauberfisch> hmmm
290: [04:01:13] <Zauberfisch> not that I know of, you probably have to manually join the relation
291: [04:01:39] <Zauberfisch> or, perhaps a bit of a long shot, try: CarModels::get()->sort('CarMake.Title', 'ASC')
292: [04:01:58] <Zauberfisch> probably doesn't work, but its worth a try, perhaps the ORM is that magic
293: [04:03:04] <Zauberfisch> anyway, I am going to take a nap
294: [04:03:12] <Zauberfisch> be back later
295: [04:03:59] * Kingy[a] is now known as Kingy
296: [04:04:02] * spekulatius quit (Quit: Leaving)
297: [04:04:58] <matt-in-a-hat> So Silverstripe in live mode seems to automatically combine my css files including the theme/mytheme/css/fonts.css but that file is loading fonts by a relative path '../assets/fonts/myfont.tff', which doesn't exist as a relative path to /assests/_combinedfiles
298: [04:05:35] <matt-in-a-hat> Do I have to ensure all of my css files specify all URLs absolutely?
299: [04:06:31] <simon_w|air> matt-in-a-hat, you could change the combined files path
300: [04:07:22] <simon_w|air> Requirements:: set_combined_files_folder('themes/mytheme/_combined/');
301: [04:10:14] * Stomach quit (Read error: Connection reset by peer)
302: [04:10:37] <matt-in-a-hat> Seems a little hacky. Where would I put that?
303: [04:11:03] <matt-in-a-hat> _config.php?
304: [04:11:38] * Colin[pi] quit (Read error: Connection reset by peer)
305: [04:11:41] <nicolaas> sleep well Zauberfish!
306: [04:11:58] * Colin[pi] has joined #silverstripe
307: [04:12:35] * Stomach has joined #silverstripe
308: [04:12:46] <nicolaas> CarModels::get()->sort('CarMake.Title', 'ASC')->innerJoin(of leftJoin)("CarMake", "CarMake.ID = CarModel.CarMakeID"); will work, but I would love to inject the join by default
309: [04:13:55] * mahfuz quit (Ping timeout: 246 seconds)
310: [04:17:45] * praveen__ has joined #silverstripe
311: [04:21:16] * hailwood quit (Remote host closed the connection)
312: [04:22:05] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
313: [04:23:10] * Ryan-Toast quit (Quit: Ryan-Toast)
314: [04:24:05] <matt-in-a-hat> simon_w|air, where would I put Requirements:: set_combined_files_folder? In _config.php?
315: [04:24:09] * cloph_away has joined #silverstripe
316: [04:24:43] * cloph quit (Ping timeout: 255 seconds)
317: [04:27:19] * Stomach quit (Ping timeout: 245 seconds)
318: [04:28:43] <muskie9> matt-in-a-hat I've put mine in Page_Controller's init() function
319: [04:28:50] <muskie9> prior to the Requirements call
320: [04:29:34] <matt-in-a-hat> Cheers
321: [04:30:02] <muskie9> still surprised it combines the files with the way you were calling them
322: [04:30:20] <muskie9> thought that was just a result of Requirements::combine_files()
323: [04:34:17] <praveen__> hello, I Dynamically Generated Dropdown Lists with options poulated from different DataObjects which has_one relation with the page. Now onbeforewrite I need to populate relation ids based on the option selected.
324: [04:35:24] <matt-in-a-hat> Me too. I'm using Requirements::css($themeDir . '/assets/myotherthing/thing.css') on one of my pages, otherwise I'm not using Requirements
325: [04:36:44] <muskie9> praveen__ depending on how you do it you shouldn't need to do it onBeforeWrite, but rather it should be done just on write
326: [04:37:30] <muskie9> can you paste ur code for the dropdown pastie.org
327: [04:41:26] * willr quit (Quit: willr)
328: [04:41:39] <praveen__> muskie9 thanks. I am copying it
329: [04:47:58] <praveen__> here is the link http://pastie.org/9771369
330: [04:49:24] <praveen__> YAML DPTPageConfig: Pages: 0: 'DeptPage1' 1: 'DeptPage2'
331: [04:49:48] <praveen__> There are two page templates for the department
332: [04:49:59] <praveen__> DeptPage1 and Deptpage2
333: [04:51:40] * nicolaas quit (Ping timeout: 256 seconds)
334: [04:51:57] <praveen__> DepartmentPage show will be associated with one of the department pages.
335: [04:52:44] <muskie9> so you're assigning the template to use via the dropdown
336: [04:53:44] <praveen__> dropdown list all the department pages whether it created with DeptPage1 or Deptpage2
337: [04:54:21] <praveen__> But on write it should populate the respective relationID
338: [04:55:01] <praveen__> With the current scenario it always writes to Dept1ID
339: [04:55:05] * camfindlay quit (Quit: camfindlay)
340: [04:56:01] * Stomach has joined #silverstripe
341: [04:56:46] <muskie9> yup, that's because you have the DropdownField's name set to Dept1ID
342: [04:56:56] <praveen__> yes
343: [04:58:18] <muskie9> is there a difference in DeptPage1 and DeptPage2
344: [04:58:43] <muskie9> or are they essentially the same DataObject
345: [04:58:53] <praveen__> the deptpage2 is having silverstripe-blogs
346: [05:00:19] <praveen__> deptpage2 extends Blogholder
347: [05:00:26] <praveen__> deptpage1 extends page
348: [05:01:17] <praveen__> our department wiil be changing the department pages design
349: [05:02:01] <muskie9> I don't think you can mix classes in a dropdown for a relation as you have to set the base class in the relation declaration... so for dept1 => DeptPage1 you should only have DeptPage1 pages in the dropdown and like wise for dept2 => DeptPage2 and a dropdown for that relation
350: [05:02:12] <praveen__> Now the latest department page (2)is having a blog option to there department page
351: [05:02:40] <praveen__> I can remove the old templates and force them to use the only one template
352: [05:02:55] <praveen__> they have choice to use either of the templates
353: [05:03:23] <praveen__> department will create the department pages
354: [05:03:59] <muskie9> so if it's just to determine the template to use why not do an enum db field and use a dropdown to select it... then do the renderWith based on the dropdown's selection
355: [05:04:00] <praveen__> company will have a page called departmentpage which will connect to any one department pages created
356: [05:04:32] * veb has joined #silverstripe
357: [05:06:54] <praveen__> refactoring is the problem . I can delete or remove the existing pages or change them.
358: [05:07:12] <praveen__> sorry, I cannot delete or remove the existing pages or change them.
359: [05:08:48] <muskie9> ok, so you have DepartmentPage, and a DepartmentPage is shifting to including a new feature and you're looking for a way to update legacy page data to work with the new features?
360: [05:09:07] <praveen__> yes
361: [05:09:32] * veb quit (Quit: veb-irc: &)
362: [05:12:59] <muskie9> I've dealt with similar situations in the past and have used build tasks... essentially I leave the legacy code/features, add the new code/features and run the task to handle updating the records: http://api.silverstripe.org/3.1/class-BuildTask.html
363: [05:13:10] * spronk2 quit (Quit: I may need a longer sleep timer...)
364: [05:14:53] <muskie9> I would focus on what does the new feature need to do, build that out... then figure out how you would update a record to use the new feature... then integrate that into the buildtask
365: [05:21:07] <muskie9> here's a sample build task: http://www.sspaste.com/paste/show/53bd5942e0544
366: [05:21:25] <praveen__> it's hard for me to use buildtask and update the records. My idea was to give the department select the pages that match there department and display the infomration about there departments like reports.
367: [05:22:59] <praveen__> I have one question. When i use the filedID which doesnot exists in the DataObject can I get the value of the field inside onBeforeWrite
368: [05:23:43] <praveen__> like I define a dropdownfield DropdownField('DPTID', 'DPT', $this->getDPTOptions()), "Content");
369: [05:23:59] <praveen__> Can I ger the value of field DPTID
370: [05:24:02] <muskie9> then it would be $this->DPTID
371: [05:24:04] <praveen__> onwrite
372: [05:24:09] <muskie9> in the onBeforeWrite
373: [05:25:08] <praveen__> ok let me try. I think I need to flush. because I tried before I was not getting the value
374: [05:26:30] <muskie9> when in doubt dev/build then flush... but one after the other... can't call both at the same time
375: [05:30:15] * micmania1 quit (Quit: micmania1)
376: [05:32:30] * gpbnz quit (Quit: Leaving.)
377: [05:45:45] * matt-in-a-hat quit (Ping timeout: 250 seconds)
378: [06:01:41] * MichalKleiner is now known as MK_away
379: [06:10:12] <praveen__> muskie9 created a working past http://pastie.org/9771479
380: [06:10:50] <praveen__> Acutally its not department pages. each department will have show pages that they are working
381: [06:11:22] <praveen__> DeptPage1 and DeptPage2 are the show pages
382: [06:12:01] <praveen__> legacy show pages is used in many places
383: [06:12:24] <praveen__> And now they are using new show pages (3) which includes blogs
384: [06:12:35] <praveen__> We never delete show pages
385: [06:13:35] <praveen__> infuture they may change the show pages
386: [06:13:43] <praveen__> again a new template will be created
387: [06:14:09] <praveen__> and this has to be refactor with the legacy show pages
388: [06:15:00] <praveen__> so I am modifiing all the pages using showpages to work irrespective of the page type
389: [06:17:22] <praveen__> it is not only the template going to change but also the database
390: [06:29:48] * Shrike_Finland has joined #silverstripe
391: [06:48:27] * veb has joined #silverstripe
392: [06:56:05] * MrGuits has joined #silverstripe
393: [07:09:15] * zippy has joined #silverstripe
394: [07:12:16] * Kingy is now known as Kingy[a]
395: [07:13:32] * irogue_ has joined #silverstripe
396: [07:38:36] * prontotest has joined #silverstripe
397: [07:38:37] * prontotest has left #silverstripe
398: [07:39:32] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
399: [07:40:44] <Eliseth> Morning
400: [07:50:11] <irogue_> evening Eliseth :)
401: [07:50:26] <Eliseth> Morning here ^^
402: [07:50:45] <Eliseth> I guess there's a lof of ppl from NZ here...
403: [07:50:51] <irogue_> yup :)
404: [07:59:23] * gordon has joined #silverstripe
405: [07:59:29] * gordon is now known as elgrodo
406: [07:59:45] * fb3rasp has joined #silverstripe
407: [08:04:09] * wmk has joined #silverstripe
408: [08:06:41] * Stomach quit (Quit: zzz)
409: [08:30:02] * zippy has joined #silverstripe
410: [08:42:07] * gavro has joined #silverstripe
411: [08:43:01] * Azure quit (Ping timeout: 255 seconds)
412: [08:44:56] * Stomach has joined #silverstripe
413: [08:48:38] * fb3rasp_ has joined #silverstripe
414: [08:50:47] * fb3rasp quit (Ping timeout: 250 seconds)
415: [08:56:02] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
416: [09:05:50] * kinglozzer has joined #silverstripe
417: [09:09:01] <irogue_> g'day kinglozzer
418: [09:09:09] <kinglozzer> sup irogue_
419: [09:09:42] <irogue_> lol at your rdns Stomach
420: [09:09:59] <irogue_> kinglozzer: nm, just chillin' on the couch in the office waiting for 11pm to roll around
421: [09:10:24] <Stomach> dialup ftw
422: [09:12:01] <kinglozzer> irogue_: ouch, on call or something?
423: [09:12:27] <irogue_> kinglozzer: doing a deployment
424: [09:12:52] * zippy has joined #silverstripe
425: [09:13:01] <kinglozzer> Ah, 5pm Friday is the sweet spot ;)
426: [09:13:04] <irogue_> only allowed to do them between 11pm-7am with this client
427: [09:13:17] <kinglozzer> It's weird because things never seem to go wrong until 9am Monday :/
428: [09:13:32] <zippy> Is it possible to not have a text field change new line to <br /> without doing .RAW ?
429: [09:13:53] <zippy> I want the new lines as normal, no added br, but I want it to escape as well
430: [09:13:57] <kinglozzer> zippy: .XML
431: [09:13:58] <kinglozzer> ?
432: [09:14:08] <zippy> I just tried it, and it works
433: [09:14:09] <zippy> :D
434: [09:14:19] <irogue_> now that's service :P
435: [09:14:51] * Shrike_Finland quit (Quit: Leaving.)
436: [09:18:41] <zippy> balls.
437: [09:18:49] <zippy> just installed windows, and lost my grub
438: [09:19:47] <irogue_> happens every time
439: [09:20:11] <irogue_> at least it's a lot easier to fix grub than it was to fix LILO!
440: [09:21:33] <madmatt> irogue_: Think of me, when you're going to bed and my day has already started ;(
441: [09:22:37] * praveen__ quit (Ping timeout: 246 seconds)
442: [09:22:43] <irogue_> madmatt: according to the deployment plan the client supplied, we have to stay on the conference call until all of the testing is completed at 9am...
443: [09:24:10] <irogue_> so there are very real odds you'll be talking to me again once you've started your day...
444: [09:24:11] <madmatt> Haha, that's when my day officially starts
445: [09:25:22] * Werner_2_ has joined #silverstripe
446: [09:26:55] <irogue_> madmatt: if this deployment fails we're trying again tomorrow night too. which means frank would be very tired for xmas party :P
447: [09:27:12] * Werner_2_ quit (Client Quit)
448: [09:27:55] <madmatt> heh, no doubt!
449: [09:28:59] * wmk quit (Ping timeout: 245 seconds)
450: [09:29:05] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
451: [09:30:13] * wmk has joined #silverstripe
452: [09:30:41] <zippy> Isn't it exciting big launches? the anticipation, the excitment and nervs
453: [09:30:48] <zippy> I sometimes miss it, sometimes dont
454: [09:32:25] <irogue_> zippy: I wish I still felt that. Just feels like routine work these days
455: [09:32:42] <zippy> yea but I been out of that game for a year and a half
456: [09:35:22] <simon_w> madmatt, that's what you get for doing the tech stuff :p
457: [09:35:59] * Error404NotFound has joined #silverstripe
458: [09:37:35] * Pylsrk has joined #silverstripe
459: [09:46:24] <madmatt> irogue_: Feeling like routine work is fine to me. I hate the feeling of "I'm 99% confident that this will work, but damned if that 1% isn't eating away at my soul and my hairline right now"
460: [09:46:29] <madmatt> simon_w: :(
461: [09:47:21] <Pylsrk> fingerprinting - apparently a common security measure when it comes to sessions. T/F?
462: [09:51:28] <simon_w> Pylsrk, what's meant by fingerprinting? (Though like false)
463: [09:54:30] <Pylsrk> simon_w: well perhaps not full fingerprinting, but a hash of things like ip, user agent, and something else like login ID, session hash, maybe some other things.
464: [09:54:49] <Pylsrk> all hashed to kinda make a uuid
465: [09:55:07] <simon_w> Pylsrk, so, basically things that an attacker can mimic
466: [09:55:45] <Pylsrk> http://stackoverflow.com/questions/616545/php-sessions-useragent-with-salt
467: [09:56:02] <Pylsrk> simon_w: yeah, but... y'know... trying to win an argument at work.
468: [09:56:32] <simon_w> Pylsrk, it's a common practice by those that think it's secure
469: [09:56:44] <Pylsrk> kinda like how the other week I had 'PHP sessions are insecure and rubbish' - so they're using a lib (well, codeigniter reimplementations of a session) that store everyhting in the cookie.
470: [09:57:02] <Pylsrk> simon_w: yeah, but the point is... it's pretty much not.
471: [09:57:21] <Pylsrk> although, how hard is it to spoof an IP?
472: [09:57:39] <simon_w> Pylsrk, to get the session token, you kinda have to already be on the same IP (most common case)
473: [09:58:00] <Pylsrk> oic
474: [09:58:01] * Colin[pi] has joined #silverstripe
475: [09:58:20] <simon_w> And, if you're in a position to MITM it, you can probably anycast that IP too
476: [09:58:23] <Pylsrk> yeah, so my counter arguement about it being pointless is pretty much right
477: [09:58:30] <simon_w> yup
478: [09:58:37] <Pylsrk> especially when IE 8 etc apparently change the useragent string willy nilly
479: [09:58:54] <simon_w> And mobile users change their IP rather frequently
480: [09:59:30] <Pylsrk> during a session?
481: [09:59:38] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
482: [09:59:41] <simon_w> Yup
483: [09:59:57] <simon_w> Potentially every time they change cell tower (depending on the ISP)
484: [10:00:33] <Pylsrk> so even with a salt... it's kinda silly.
485: [10:00:37] <zippy> yeap or on some service that rotates proxies all the time
486: [10:01:36] <Pylsrk> simon_w: so what would be an actual best practice for making an actual secure login?
487: [10:01:45] <simon_w> Pylsrk, use SSL
488: [10:01:53] <simon_w> That's basically the best you can do
489: [10:02:01] <simon_w> Oh, and change the session id on every request
490: [10:02:03] * Shrike_Finland has joined #silverstripe
491: [10:02:17] <Pylsrk> hmm, rotating sessionids, yeh cool
492: [10:02:42] <simon_w> Also, if you do go for securing the session, don't forget to do what a lot of people forget to do
493: [10:02:46] <simon_w> Secure the remember me token too
494: [10:02:51] <Pylsrk> the rest is up to server config right? rotating/garbage collecting sessions, keeping different sites separate, etc?
495: [10:02:54] <simon_w> (Though good luck with that)
496: [10:02:59] <simon_w> Yeah
497: [10:03:18] <Pylsrk> good luck with securing remember token?
498: [10:03:26] <simon_w> yeah
499: [10:04:33] * Stomach quit (Quit: zzz)
500: [10:07:19] <Pylsrk> as in, to be able to identify the user wihtout login in the future, even though their session has probably long expired simon_w ?
501: [10:07:28] <simon_w> Yup
502: [10:07:37] <Pylsrk> right, yeah. Sounds dangerous.
503: [10:08:07] <simon_w> Best option: use TLS (not even SSL, which reminds me I need to disable the TLS ciphers susceptible to POODLE)
504: [10:08:19] <Pylsrk> we just make them log in, unless they're in IE in which case it appears there's some kind of activex widget that no one knows about supplying the user info straight in :<
505: [10:08:45] <Pylsrk> TLS is a type of SSL (or was it vice versa?) isn't it?
506: [10:08:57] <simon_w> TLS happens at a lower level
507: [10:09:00] <Pylsrk> ssl is an implemenation of tls?
508: [10:09:04] <Pylsrk> ah, I see.
509: [10:09:11] <simon_w> (transport instead of socket)
510: [10:09:15] <Pylsrk> so ssl uses it, because networking layers, because brainfukz
511: [10:09:48] <simon_w> TLS is better than SSL
512: [10:10:22] <Pylsrk> mmm, I just seem to remember reading somewhere about how SSL is an implementation that uses TLS
513: [10:10:24] * irogue_ has joined #silverstripe
514: [10:10:39] <Pylsrk> but maybe it was specifically about Open SSL, or maybe I'm just confused.
515: [10:11:07] <simon_w> OpenSSL provides a TLS implementation
516: [10:11:11] <Pylsrk> ah
517: [10:11:22] <Pylsrk> so E) all of the above :>
518: [10:11:55] * willmorgan has joined #silverstripe
519: [10:11:58] * irogue_ deploys all the things
520: [10:12:29] <willmorgan> howdy
521: [10:12:32] <Pylsrk> Hi
522: [10:12:39] <willmorgan> kinglozzer: good spot on the branch thing
523: [10:12:39] * simon_w deploys irogue_
524: [10:12:42] <Pylsrk> Casual powerlifter you say?
525: [10:12:49] <Pylsrk> what is that/
526: [10:13:11] <kinglozzer> Howdy willmorgan! Long time no IRC :)
527: [10:13:28] <willmorgan> yeah - thought I had better join what with being able to merge things into the wrong branches now :)
528: [10:13:47] <willmorgan> Pylsrk: a casual powerlifter goes to the gym maybe only twice a week and eats cake
529: [10:14:03] <Pylsrk> willmorgan: so... power cake lifting?
530: [10:14:12] <willmorgan> cake lifting into my mouth, yes
531: [10:14:13] <Pylsrk> you left better brief?
532: [10:14:27] * Error404NotFound quit (Ping timeout: 245 seconds)
533: [10:14:28] <willmorgan> yep
534: [10:14:39] <Pylsrk> You're the pigeon fellow, or was that someone else?
535: [10:14:52] <willmorgan> Pigeon === dhensby
536: [10:14:55] <Pylsrk> ah
537: [10:15:16] <willmorgan> but yes, BB is now closed
538: [10:15:23] <kinglozzer> willmorgan: I was trying to wrap my head around it earlier, thinking how to copy his commit across to 3 rather than ask him to close + reopen
539: [10:15:37] <kinglozzer> Cherry pick? idk, was gonna set up a test branch on my repo and have a play around
540: [10:15:43] <willmorgan> yes, cherry pick
541: [10:15:44] <kinglozzer> (still could)
542: [10:15:54] <willmorgan> you still can :P
543: [10:16:21] <willmorgan> anyway, BB closing is a shame however it means that we have a bit more time to work on SS
544: [10:17:16] <kinglozzer> willmorgan: How's the freelancing going?
545: [10:17:49] * kinglozzer meeting bbl <3
546: [10:18:24] <willmorgan> kinglozzer: okay-ish. SilverStripe demand is very low, though I "sold" it to the company I'm doing a contract for now
547: [10:19:09] <Pylsrk> willmorgan: BB?
548: [10:19:21] <willmorgan> better brief
549: [10:19:37] <Pylsrk> wait, so you didn't leave, the whole place shut down?
550: [10:19:50] <willmorgan> correct.
551: [10:20:01] <Pylsrk> Wow, ok. I thought you guys were going great guns :<
552: [10:20:38] <willmorgan> me too, but when a client who owed us a substantial amount of money decided to try to sue us instead of pay us, that was the final straw
553: [10:20:45] * travis-ci has joined #silverstripe
554: [10:20:46] <travis-ci> silverstripe/silverstripe-framework#3759 (3.1 - 03bf732 : Will Morgan): The build passed.
555: [10:20:46] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/d28992a1e528...03bf7324a952
556: [10:20:46] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/43576118
557: [10:20:46] * travis-ci has left #silverstripe
558: [10:21:05] <Pylsrk> willmorgan: oh, fuck that shit.
559: [10:21:20] <Pylsrk> How does that even work :< Law is so fickle and shit.
560: [10:22:13] <willmorgan> well, the answer is that it doesn't (hopefully)
561: [10:22:27] <Pylsrk> Indeed. Hopefully.
562: [10:22:43] <willmorgan> but it does still sink the company
563: [10:22:58] <Pylsrk> Superlame :S
564: [10:23:11] <willmorgan> while it sucks, it's not the worst thing that's happened, and the situation does bring a lot of benefits!
565: [10:23:12] <Pylsrk> I was gonna come down and meet you all :/
566: [10:24:24] <Pylsrk> Who was the other lad that started hanging out in here a while back?
567: [10:24:26] <Pylsrk> from BB
568: [10:24:27] <willmorgan> well, you still can. the company died but its staff didn't :)
569: [10:24:41] <Pylsrk> yeah, but you're not all in one location now! :P
570: [10:25:02] <willmorgan> I think Dan and I will still work quite closely together
571: [10:25:12] <Pylsrk> seems logical
572: [10:25:26] <willmorgan> and really, we were the only people who contributed to silverstripe anyway
573: [10:26:08] <Pylsrk> mm
574: [10:26:25] <Pylsrk> We just helped out one of the more recent hires while he came to grips with it here
575: [10:26:47] <Pylsrk> Tom maybe? idk.
576: [10:27:30] <Pylsrk> maybe Mark.
577: [10:27:33] * Pylsrk shrugs
578: [10:27:39] <simon_w> Steve, the rapper
579: [10:29:13] * Audlex has joined #silverstripe
580: [10:29:32] <willmorgan> who knows :)
581: [10:30:13] <willmorgan> Currently building this: https://github.com/willmorgan/silverstripe-cropperfield
582: [10:31:48] <Audlex> any general ideas around why all my objects vanish when i add a treedropdownfield to my dataobject?
583: [10:32:05] <Audlex> also if I leave it blank it sets to its parent page
584: [10:33:37] <willmorgan> Audlex: screenshot?
585: [10:37:36] * micmania1 has joined #silverstripe
586: [10:37:50] <Audlex> of what, specifically?
587: [10:38:17] <willmorgan> I'm not sure how your objects are vanishing... do they vanish from the CMS, do they vanish from the database? etc
588: [10:47:00] <Pylsrk> willmorgan: cropperfield sounds cool :> Been wanting to build one of those for... well about 4 years now, but never got around to it :<
589: [10:47:11] <willmorgan> :)
590: [10:47:13] <willmorgan> yeah
591: [10:47:19] <willmorgan> there are some solutions out there that are similar
592: [10:47:25] <willmorgan> but I don't like 'em
593: [10:47:31] <Pylsrk> mostly, yeah.
594: [10:49:31] <Pylsrk> heyhey, it's coffee! I just realised, haha willmorgan
595: [10:49:56] <willmorgan> yep :) I love that little moka pot
596: [10:50:01] <willmorgan> that was taken in my old flat when we had a gas stove
597: [10:50:26] <willmorgan> bloody electric now... which is still good, but it takes a while to heat up and then stays warm for ages. so you feel bad for not using the heat efficiently
598: [10:50:58] <willmorgan> kinglozzer: when you're back, let me know your thoughts on a SilverStripe UK meetup :P
599: [10:56:39] * wmk quit (Ping timeout: 272 seconds)
600: [11:02:26] * Audlex quit ()
601: [11:05:34] * Shrike_Finland quit (Quit: Leaving.)
602: [11:10:32] * veb quit (Quit: veb-irc: &)
603: [11:22:00] <Pylsrk> willmorgan: have it in say... birmingham.
604: [11:22:20] <willmorgan> sure, we'll hire the NEC I guess
605: [11:22:21] <Pylsrk> or all pile down to r3v3rb's seaside resort
606: [11:22:27] <Pylsrk> NEC?#
607: [11:22:33] <willmorgan> ...
608: [11:22:43] <Pylsrk> the semiconductor chip manufacturer?
609: [11:23:02] <Pylsrk> semi
610: [11:23:03] <Pylsrk> something
611: [11:23:11] <Pylsrk> superconductor
612: [11:23:18] <Pylsrk> idek
613: [11:23:29] <Pylsrk> I forgot how electronics work.
614: [11:23:41] <Pylsrk> the chaps that made the N64, in any case.
615: [11:24:11] <Pylsrk> or maybe you mean http://www.thenec.co.uk/
616: [11:24:24] <Pylsrk> fine fine, Bristol then
617: [11:24:37] <Pylsrk> somewhere exciting and exotic. Like Wales!
618: [11:24:41] <Pylsrk> Barry
619: [11:24:48] <micmania1> Newcastle!
620: [11:24:55] <Pylsrk> Nah, that's boring.
621: [11:25:04] <micmania1> its exotic.
622: [11:25:07] <Pylsrk> Inverness!
623: [11:25:08] <Pylsrk> xD
624: [11:25:24] <Pylsrk> because silverstripe is just THAT cool
625: [11:25:28] <Pylsrk> BOOM
626: [11:25:35] * Pylsrk puns it up
627: [11:25:43] <zippy> Pylsrk: laravel
628: [11:25:47] <willmorgan> SilverStripe UK, not SilverStripe Scotland :)
629: [11:25:49] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
630: [11:25:58] <Pylsrk> willmorgan: Scotland IS the UK
631: [11:26:15] <willmorgan> pfft, barely
632: [11:26:56] <Pylsrk> Just because they're making better of it than the 'almost a country' wales, which is pretty much just neglected england.
633: [11:27:12] <Pylsrk> With a more awesome accent.
634: [11:27:45] <willmorgan> lol
635: [11:27:51] <willmorgan> Pylsrk, do you do any actual work? :P
636: [11:28:04] <Pylsrk> Yes, I totally just decided what to have for lunch.
637: [11:33:25] * Azure has joined #silverstripe
638: [11:42:12] * Azure quit (Read error: Connection reset by peer)
639: [11:45:18] <kinglozzer> willmorgan: Sounds like a great idea!
640: [11:45:23] <kinglozzer> But i'm off again :P
641: [11:45:26] * kinglozzer lunch
642: [11:50:53] * Shrike_Finland has joined #silverstripe
643: [12:11:56] * Shrike_Finland quit (Quit: Leaving.)
644: [12:15:50] * Colin[pi] quit (Ping timeout: 250 seconds)
645: [12:42:40] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
646: [13:15:36] * UndefinedOffset has joined #silverstripe
647: [13:16:21] * NETim has joined #silverstripe
648: [13:16:57] <NETim> Morning, anyone got any experience with the restful api module (https://github.com/colymba/silverstripe-restfulapi)?
649: [13:21:32] * muskie9 has joined #silverstripe
650: [13:29:27] * willmorgan1 has joined #silverstripe
651: [13:32:40] * willmorgan quit (Ping timeout: 244 seconds)
652: [13:37:34] <Zauberfisch> NETim: yeah, bad ones
653: [13:37:39] <Zauberfisch> but that was a year or so ago
654: [13:37:39] * jeroenem has joined #silverstripe
655: [13:37:40] <NETim> lovely
656: [13:37:44] <Zauberfisch> perhaps it has improved
657: [13:37:55] <NETim> It's working quite well except that it won't return some records
658: [13:38:00] <Zauberfisch> I threw it out and implemented my own controller to handle api calls
659: [13:38:14] <NETim> If I had the time, I'd consider it.
660: [13:38:24] <NETim> Does it have any kind of record limits?
661: [13:40:15] <Zauberfisch> what do you mean by record limits?
662: [13:40:59] <NETim> It seems that it won't return the newest records.
663: [13:41:44] <NETim> We are matching 1-1 to bring back a dataobject, it brings back the older records, but won't return new ones (which i can find in SQL using the same query)
664: [13:41:46] <Zauberfisch> can't remember
665: [13:42:02] <Zauberfisch> perhaps its doing some caching?
666: [13:42:13] <NETim> thought of that and cleared the cache.
667: [13:56:51] <NETim> Any other thoughts Zauberfisch
668: [14:27:08] * catcher has joined #silverstripe
669: [14:28:41] * MrGuits quit (Ping timeout: 244 seconds)
670: [14:29:23] * Shrike_Finland has joined #silverstripe
671: [14:29:48] * Shrike_Finland quit (Client Quit)
672: [14:31:34] * g4b0_ has joined #silverstripe
673: [14:31:57] * Guits has joined #silverstripe
674: [14:32:26] <g4b0_> hi all
675: [14:32:50] * Azure has joined #silverstripe
676: [14:33:52] <g4b0_> I've got a problem with $belongs_to
677: [14:34:26] <g4b0_> Say that Class_A has_one B=>Class_B
678: [14:34:48] <g4b0_> and that Class_B belongs_to A=>Class_A
679: [14:36:25] <g4b0_> Say also that $b is an instance of Class_B
680: [14:37:17] <g4b0_> and there's _no_ Class_A record with BID == $b->ID
681: [14:37:32] <g4b0_> if I call $b->A()
682: [14:38:01] <g4b0_> it returns an empty instance of Class_A instead of null
683: [14:39:11] <willmorgan1> g4b0_: I think that's standard behaviour
684: [14:39:13] <g4b0_> I think that NULL should be a more correct return value, ins't it?
685: [14:39:30] <willmorgan1> if you try to access an object's relation and none exists, a blank object is returned
686: [14:39:35] <willmorgan1> you check it using $object->exists()
687: [14:40:04] <g4b0_> something like $b->A()->exists() ?
688: [14:40:33] <g4b0_> actually I'm checking $b->A()->ID > 0
689: [14:40:57] <muskie9> $b->AID > 0
690: [14:41:18] <g4b0_> muskie: nope
691: [14:41:32] <muskie9> actually you're right if it's has_many
692: [14:41:33] <g4b0_> $b belongs_to Class_A
693: [14:41:49] <muskie9> have to go from the other way for ID... still haven't had my coffee ;)
694: [14:41:58] * willmorgan has joined #silverstripe
695: [14:42:05] <g4b0_> :)
696: [14:44:17] * willmorgan1 quit (Ping timeout: 264 seconds)
697: [15:02:28] * wmk has joined #silverstripe
698: [15:24:30] <jeroenem> Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Translatable::extraStatics() should not be called statically in /home/sites/webhosting/fantazm/structurez/www/sapphire/core/model/DataObjectDecorator.php on line 69
699: [15:24:40] <jeroenem> got this error on an old website
700: [15:25:02] <jeroenem> lame thing is - the versions file only contains $URL$ - usually there is a url to the SVN version file
701: [15:28:38] <UndefinedOffset> jeroenem the version file fun likely points to it either being a checkout from git or svn. or from around when silverstripe moved to git and the builds weren't coming with the right version number in the file. Wouldn't happen to be a composer.lock in the root?
702: [15:29:05] <Pylsrk> g4b0_: use exists() in all cases.
703: [15:29:10] <jeroenem> no this site is before composer i think
704: [15:29:19] <jeroenem> it's early 2.4 or maybe even 2.3
705: [15:29:22] <Pylsrk> muskie9: and no, because $b belongs_to, not has_one
706: [15:29:43] <jeroenem> im looking into this now
707: [15:29:43] <jeroenem> http://www.silverstripe.org/community/forums/hosting-requirements/show/19949?start=8
708: [15:30:02] <Pylsrk> jeroenem: you have 2.4.6+
709: [15:30:39] <Pylsrk> UndefinedOffset: unlikely at that age.
710: [15:30:54] <Pylsrk> especially at 2.x. Composer was only a thing at 3.x
711: [15:30:55] <UndefinedOffset> jeroenem is where the pages are called "Pages" or "site content"? if it's pages then its somewhere in the 2.4 line, short of diffing with released versions (which may not actually lead you anywhere) hard to say what version of the cms it is like pylsrk says somewhere after 2.4.6
712: [15:31:23] <UndefinedOffset> pylsrk your right, was a crapshoot :P but hey its one more possibility even if remote
713: [15:31:37] <Pylsrk> UndefinedOffset: well after 2.4.x it doesn't matter which version, they're all just bugfixes.
714: [15:31:45] <Pylsrk> it *almost* doesn't matter.
715: [15:32:09] <Pylsrk> It seems far more likely that jeroenem has installed the wrong version of Translatable.
716: [15:32:48] <Pylsrk> NETim: and you're positive that you're connecting to the same DB?
717: [15:33:04] <Pylsrk> Can't count the number of times I've confused environments
718: [15:33:10] <Pylsrk> or even installs.
719: [15:38:01] <jeroenem> When i check file versioning of the site, we build it around february 2012 so it's pretty old. There was no SLA so there haven't been any updates to date.
720: [15:38:34] <muskie9> Pylsrk I need to get acquainted with belongs_to
721: [15:38:47] <jeroenem> also the site is hosted on a third party server so we have no control on server updates etc
722: [15:40:00] <jeroenem> but i guess the server was updated and broke several things
723: [15:41:25] <jeroenem> anyway, i will look into it tomorrow - i'm going to call it a day
724: [15:41:36] <jeroenem> thanks for the suggestions so far Pylsrk and UndefinedOffset
725: [15:42:17] * toddvalentine has joined #silverstripe
726: [15:42:57] * jeroenem quit (Quit: Page closed)
727: [15:44:40] * Shrike_Finland has joined #silverstripe
728: [15:50:06] * simon_w quit (Ping timeout: 244 seconds)
729: [15:51:34] * wilsonstaff has joined #silverstripe
730: [15:51:37] * DimiStripe has joined #silverstripe
731: [15:52:09] <wilsonstaff> Hi to all, i want a textfield that accepts HTML tags but not that complex as TinyCME. Is SimpleHTMLField stil valid?
732: [15:53:53] * Guits quit (Ping timeout: 260 seconds)
733: [15:54:43] * simon_w has joined #silverstripe
734: [15:55:42] <Pylsrk> muskie9: it's pretty much useless.
735: [15:56:30] <Pylsrk> wilsonstaff: TextareaField
736: [15:56:48] <Pylsrk> there never was a SimpleHTMLField
737: [15:56:50] <Pylsrk> afaik
738: [15:58:14] <wilsonstaff> <Pylsrk>Returns a server error.....
739: [15:58:33] <wilsonstaff> <Pylsrk>Yes there was such a SimpleHTMLField
740: [15:58:41] * Shrike_Finland quit (Quit: Leaving.)
741: [15:59:33] <willmorgan> wilsonstaff: you can always configure the HTMLEditorField's enabled controls
742: [16:00:15] <wilsonstaff> <willmorgan>Want to keep other HTMLEditorField intact. Can i?
743: [16:00:55] <NETim> Pylsrk, yep, solved it now.
744: [16:00:59] * fb3rasp__ has joined #silverstripe
745: [16:01:20] * Shrike_Finland has joined #silverstripe
746: [16:05:05] * fb3rasp_ quit (Ping timeout: 272 seconds)
747: [16:05:17] * fb3rasp__ quit (Ping timeout: 245 seconds)
748: [16:06:31] * wilsonstaff quit (Ping timeout: 246 seconds)
749: [16:23:00] * Shrike_Finland quit (Quit: Leaving.)
750: [16:27:24] * Shrike_Finland has joined #silverstripe
751: [16:29:12] * willmorgan1 has joined #silverstripe
752: [16:31:41] * willmorgan quit (Ping timeout: 260 seconds)
753: [16:36:36] * Shrike_Finland quit (Quit: Leaving.)
754: [16:40:25] * Shrike_Finland has joined #silverstripe
755: [16:43:31] * kinglozzer quit ()
756: [16:45:59] * Shrike_Finland quit (Quit: Leaving.)
757: [16:46:09] * babak quit (Ping timeout: 260 seconds)
758: [16:49:29] * gavro_ has joined #silverstripe
759: [16:50:41] * Shrike_Finland has joined #silverstripe
760: [16:51:47] * jenniferaslan has joined #silverstripe
761: [16:52:19] * gavro quit (Ping timeout: 244 seconds)
762: [16:53:46] * g4b0_ quit (Quit: Sto andando via)
763: [16:54:29] * gavro_ quit (Ping timeout: 264 seconds)
764: [16:55:35] * Shrike_Finland quit (Quit: Leaving.)
765: [17:20:04] * Liongold has joined #silverstripe
766: [17:20:06] <Liongold> Hi
767: [17:20:20] <Liongold> Extensions are defined as subclasses of either DataExtension for extending a DataObject subclass or the Extension class for non DataObject subclasses (such as Controllers)
768: [17:20:48] <Liongold> I'm trying to extend a "Page", should I use Extension or DataExtension, please?
769: [17:21:51] <muskie9> DataExtension should be for the model (Page) and Extension for the Controller (Page_Controller) iirc
770: [17:23:51] <Liongold> muskie9: Thanks.
771: [17:24:02] <muskie9> sure
772: [17:29:07] <Liongold> muskie9: If I may ask you one last thing, how can I add formfield in the Root div itself?
773: [17:29:29] <muskie9> via the DataExtension?
774: [17:29:49] * willmorgan1 quit (Ping timeout: 244 seconds)
775: [17:30:15] <muskie9> http://doc.silverstripe.org/framework/en/reference/dataextension#modifying-cms-fields
776: [17:30:17] * willmorgan has joined #silverstripe
777: [17:30:18] * Shrike_Finland has joined #silverstripe
778: [17:30:24] <Liongold> muskie9: Yes, I'm using updateCMSFields but the field is not part of it.
779: [17:31:12] <muskie9> did you apply the DataExtension to the main Class http://doc.silverstripe.org/framework/en/reference/dataextension#adding-a-extension-to-a-built-in-class
780: [17:31:14] <Liongold> muskie9: Can't I put the field in the same div as the others?
781: [17:31:44] <muskie9> instead of ->push() use $fields->addFieldToTab('Root.Main', $yourField);
782: [17:34:38] <Liongold> muskie9: Is there a way to make it the last thing?
783: [17:35:14] <muskie9> if you use addFieldToTab it should add it to the end of the FieldList
784: [17:36:00] <Liongold> muskie9: It put as the fourth element. After it, there's an h2. Could that change something?
785: [17:37:31] * NETim quit (Ping timeout: 246 seconds)
786: [17:37:53] <muskie9> can you post your main class and your dataextension pastie.org
787: [17:38:41] * flyklr has joined #silverstripe
788: [17:40:12] <Liongold> muskie9: My extension is just a $db and the line of code adding the field.
789: [17:43:00] <muskie9> I'm not sure why there would be a field after the one declared in your data extension if it's setup properly
790: [17:43:57] <Liongold> muskie9: Neither do I.
791: [17:45:27] * Guits has joined #silverstripe
792: [17:45:55] <Liongold> muskie9: For info purposes, I'm tryign to extend RedirectorPage.
793: [17:48:07] * babak has joined #silverstripe
794: [17:49:51] <Liongold> muskie9: Could it be because the main class is using addFieldToTa as well?
795: [17:50:06] <Liongold> muskie9: Source: https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/RedirectorPage.php
796: [17:51:42] <muskie9> not really, if you are using updateCMSFields(FieldList $fields){ $fields->addFieldToTab('Root.Main', $yourField); } it should put your field after the ones speced in 124
797: [17:51:52] <muskie9> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/RedirectorPage.php#L124
798: [17:52:40] <muskie9> iirc
799: [17:52:41] <flyklr> @Liongold I'm late to this conversation so you may have already eliminated this, but I've run into similar problems with SS in the past due to naming collisions.
800: [17:55:00] <Liongold> muskie9: $yourField is new CheckboxField(...)
801: [17:55:07] <Liongold> flyklr: What do you mean?
802: [17:55:26] <muskie9> Liongold, what the name of the $db field you created
803: [17:55:27] <willmorgan> right, i'm outta here
804: [17:55:51] <willmorgan> tomorrow the cropperfield will respect your aspect ratio... but i've added some tests and travis integration today
805: [17:55:52] <Liongold> muskie9: The property?
806: [17:55:56] <willmorgan> https://github.com/willmorgan/silverstripe-cropperfield
807: [17:56:27] <muskie9> $db = array('NewDatabaseFieldName' => 'Boolean');
808: [17:56:54] <Liongold> muskie9: Yeah that's what I have.
809: [17:57:05] <flyklr> @Liongold name I chose for field was in use by SS. No error message, but things didn't work as expected.
810: [17:57:19] <muskie9> but what's the NewDatabaseFieldName
811: [17:57:31] <Liongold> muskie9: OpenInNewTab
812: [17:57:59] <muskie9> ah, I have an easier fix for ya on that one
813: [17:59:00] <muskie9> getting a gist, one sec... just came across this in a project and we solved it in the template
814: [17:59:18] <muskie9> would be nice to have that integrated into the redirector page class though
815: [18:00:01] * Stomach has joined #silverstripe
816: [18:00:05] * willmorgan quit (Quit: Leaving.)
817: [18:00:14] <muskie9> Liongold when in your loop use this inside your anchor tag: https://gist.github.com/nhorstmeier/1685f2920337dfa4fd37
818: [18:02:41] <muskie9> https://gist.github.com/nhorstmeier/1685f2920337dfa4fd37
819: [18:03:03] <muskie9> should work with <% loop Children %> or <% loop Menu(1) %> or whatever
820: [18:04:33] * r_hector has joined #silverstripe
821: [18:06:32] <Liongold> muskie9: I want it to be toggle-able.
822: [18:07:36] <Liongold> muskie9: Also, my problem is in the extension not template.
823: [18:13:47] * Shrike_Finland quit (Quit: Leaving.)
824: [18:15:35] * Shrike_Finland has joined #silverstripe
825: [18:25:13] * Stomach quit (Quit: zzz)
826: [18:26:44] * r_hector quit (Quit: Leaving.)
827: [18:37:38] <Liongold> muskie9: Can insertAfter and addFieldToTab be used together?
828: [18:39:20] * Shrike_Finland quit (Quit: Leaving.)
829: [18:43:37] * Shrike_Finland has joined #silverstripe
830: [18:49:58] * Stomach has joined #silverstripe
831: [18:51:29] * Shrike_Finland quit (Ping timeout: 264 seconds)
832: [18:55:25] * fb3rasp__ has joined #silverstripe
833: [19:02:58] * antmas has joined #silverstripe
834: [19:07:12] * Kingy[a] is now known as Kingy
835: [19:09:13] * antmas quit (Ping timeout: 246 seconds)
836: [19:14:43] * antmas has joined #silverstripe
837: [19:15:26] <Kingy> morning
838: [19:15:58] * Liongold has left #silverstripe
839: [19:17:13] <JeremyRoundill> Jai ho.
840: [19:17:16] * fb3rasp__ quit (Quit: Be back later ...)
841: [19:18:36] <antmas> merning
842: [19:21:25] * fb3rasp__ has joined #silverstripe
843: [19:22:00] <Kingy> dat convo between igor and Snowman23 lolol
844: [19:22:08] <antmas> ?
845: [19:22:17] <Kingy> Igor raised an issue about deloynaut
846: [19:22:24] <Kingy> "@IgorNadj YOU BETTER FUCKING FIX IT THEN YOU LAZY"
847: [19:22:32] <catcher> Anyone here tried SS on a non-thread-safe web server?
848: [19:22:34] <Kingy> Igor: "Shouldn't you be selling out I mean selling merch"
849: [19:22:45] <Kingy> "@IgorNadj OHHHHHHHHHHHHHHHHHHHH, I'll have you know that I'm never going to sell out, and being drunk off a bar tab that other corporate snots paid for does not count as selling out.
850: [19:22:46] <Kingy> p.s. enjoy work this week, HA."
851: [19:23:08] <antmas> lolwut
852: [19:23:09] * fb3rasp__ quit (Client Quit)
853: [19:23:17] <antmas> not serious though right?
854: [19:23:30] <Kingy> lol wouldn't think so
855: [19:23:38] * antmas is very gullable
856: [19:23:58] <Kingy> i guess you never know with Snowman23 :P
857: [19:24:18] <antmas> got some good news from the mortgage broker
858: [19:24:26] <antmas> we can get a pretty good mortgage
859: [19:24:39] <Kingy> o/
860: [19:24:40] <antmas> but I want to shop around first as this guy was super pushy
861: [19:24:47] <Kingy> lol
862: [19:24:57] <Kingy> try your bank?
863: [19:25:05] <Kingy> I know they might not sound like the best
864: [19:25:18] <Kingy> but if you've been with them for ages then they should hopefully give you a pretty decent deal
865: [19:25:37] <antmas> yeah my bank would be our go to for the actual borrowing
866: [19:26:13] <antmas> but you need a broker in order to get decent mortgages without a proper desposit
867: [19:26:25] <Kingy> true true
868: [19:26:34] <Kingy> should move to the middle east like us.. will get a deposit in no time :P
869: [19:26:40] <antmas> hah!
870: [19:26:43] <antmas> well
871: [19:26:49] <antmas> overseas will happen
872: [19:26:57] <antmas> but after we get a house and do it up
873: [19:27:32] <Kingy> yeah true
874: [19:27:47] <Kingy> once you get a house + mortgage you're basically commited really
875: [19:29:21] <antmas> yeah pretty much
876: [19:29:29] <Kingy> + kid :P
877: [19:30:39] <JeremyRoundill> Kids are dumb.
878: [19:30:41] <JeremyRoundill> Get a dog.
879: [19:31:00] <Kingy> bit late for antmas
880: [19:31:10] * Phlunk3 has joined #silverstripe
881: [19:31:12] <Kingy> pretty sure a dog would stop you moving overseas in a hurry as well
882: [19:31:29] <antmas> yeah
883: [19:31:33] <antmas> dat kid
884: [19:31:36] <antmas> $$$
885: [19:31:41] <Kingy> lol
886: [19:31:42] <Kingy> how old?
887: [19:32:02] <antmas> 2
888: [19:34:49] * Ryan-Toast has joined #silverstripe
889: [19:38:49] * antmas_ has joined #silverstripe
890: [19:40:22] * antmas quit (Ping timeout: 246 seconds)
891: [19:40:36] * Shrike_Finland has joined #silverstripe
892: [19:41:30] * Shrike_Finland1 has joined #silverstripe
893: [19:41:39] * antmas_ is now known as antmas
894: [19:44:19] * spekulatius has joined #silverstripe
895: [19:45:19] * Shrike_Finland quit (Ping timeout: 264 seconds)
896: [19:58:59] * toddvalentine quit (Read error: Connection reset by peer)
897: [19:59:27] * toddvalentine has joined #silverstripe
898: [20:01:01] * glenn-bautista has joined #silverstripe
899: [20:06:19] * toddvale_ has joined #silverstripe
900: [20:06:23] * toddvalentine quit (Ping timeout: 272 seconds)
901: [20:15:55] * fb3rasp__ has joined #silverstripe
902: [20:16:32] * veb has joined #silverstripe
903: [20:18:22] * Shrike_Finland1 quit (Quit: Leaving.)
904: [20:18:54] * muskie9_ has joined #silverstripe
905: [20:20:13] * Shrike_Finland has joined #silverstripe
906: [20:20:14] * muskie9 quit (Ping timeout: 250 seconds)
907: [20:21:51] * Stomach quit (Ping timeout: 265 seconds)
908: [20:25:34] * Stomach has joined #silverstripe
909: [20:27:38] <veb> SS on Laravel seems wrong.
910: [20:27:46] * toddvalentine has joined #silverstripe
911: [20:27:52] <JeremyRoundill> Wat
912: [20:28:20] <veb> dunno
913: [20:28:27] <veb> was the last message I wrote yesterday :-P
914: [20:28:39] <JeremyRoundill> Well that was a hoot.
915: [20:28:40] <veb> I like to hit the up arrow and see
916: [20:28:42] <JeremyRoundill> That was mine.
917: [20:29:29] <veb> I'm cold
918: [20:29:31] <veb> warm me pls
919: [20:29:43] * toddvale_ quit (Ping timeout: 264 seconds)
920: [20:31:07] <JeremyRoundill> Do you have a fork?
921: [20:31:26] <JeremyRoundill> Chuck that business in one of those power points.
922: [20:31:32] <JeremyRoundill> It'll warm you up quick-smart.
923: [20:31:37] <Kingy> LOL
924: [20:31:43] <Kingy> of all the things to suggest
925: [20:31:57] <JeremyRoundill> I suggested the best one?
926: [20:31:59] <JeremyRoundill> Yeah.
927: [20:32:11] <Kingy> pretty much
928: [20:32:17] <Kingy> so our table got sold yesterday
929: [20:32:20] <JeremyRoundill> On SSIRC we aim to please.
930: [20:32:22] <JeremyRoundill> Sweet!
931: [20:32:23] <Kingy> i have my computer on the bench
932: [20:32:28] <Kingy> played some csgo last night
933: [20:32:32] <Kingy> freaking impossible standing up lol
934: [20:33:32] <JeremyRoundill> Hahaha
935: [20:33:39] <JeremyRoundill> Dude, I used to use pedals for Tribes.
936: [20:33:54] <JeremyRoundill> Standing up I wouldn't have been able to do anything
937: [20:34:45] <Kingy> lol
938: [20:34:50] <Kingy> yeah just moving the mouse
939: [20:34:55] <Kingy> gotta like lift ya whole arm
940: [20:35:21] <JeremyRoundill> :D
941: [20:35:34] * fb3rasp__ quit (Quit: Be back later ...)
942: [20:36:46] <Kingy> one round of scoutknivez and i quit lol
943: [20:36:58] <Kingy> may or may not have to format it tonight
944: [20:37:00] <Kingy> that'd be annoying
945: [20:37:04] * MK_away is now known as MichalKleiner
946: [20:38:08] <JeremyRoundill> I sometimes enjoy the old scouts n knives gamemode
947: [20:38:24] <Kingy> yeah it's awesome
948: [20:38:27] <Kingy> loved that map in 1.6
949: [20:44:36] * elgrodo quit (Remote host closed the connection)
950: [20:46:31] * toddvalentine quit (Read error: Connection reset by peer)
951: [20:46:37] * toddvale_ has joined #silverstripe
952: [20:47:51] * toddvalentine has joined #silverstripe
953: [20:47:52] * toddvale_ quit (Read error: Connection reset by peer)
954: [20:49:32] * kinglozzer has joined #silverstripe
955: [20:50:36] * gelignite has joined #silverstripe
956: [20:53:44] * toddvalentine quit (Read error: Connection reset by peer)
957: [20:55:10] * muskie9_ quit (Ping timeout: 272 seconds)
958: [20:55:39] * muskie9 has joined #silverstripe
959: [20:56:14] <Kingy> very quiet in here today
960: [20:56:32] * wmk quit (Ping timeout: 245 seconds)
961: [20:57:01] * UncleCheese has joined #silverstripe
962: [20:57:20] * toddvalentine has joined #silverstripe
963: [21:01:10] * MrGuits has joined #silverstripe
964: [21:02:25] * micmania1 has joined #silverstripe
965: [21:03:10] * Guits quit (Read error: Connection reset by peer)
966: [21:04:16] * Guits has joined #silverstripe
967: [21:06:55] * MrGuits quit (Ping timeout: 264 seconds)
968: [21:08:15] * MrGuits has joined #silverstripe
969: [21:11:22] * Guits quit (Ping timeout: 255 seconds)
970: [21:12:23] <Ryan-Toast> So quiet.
971: [21:12:44] <catcher> sshhh....
972: [21:13:22] <Ryan-Toast> only dreams now
973: [21:13:48] <Kingy> meeting with StripeTheWeb guys today
974: [21:15:40] * toddvalentine quit (Remote host closed the connection)
975: [21:20:59] * toddvalentine has joined #silverstripe
976: [21:25:48] * UndefinedOffset quit (Quit: Leaving.)
977: [21:27:05] <Ryan-Toast> Kingy: job interview?
978: [21:27:30] <Kingy> nah, they're going to take over from me once I finish up in Bahrain
979: [21:27:38] <Ryan-Toast> Ah, cool.
980: [21:27:40] <Kingy> so going to meet with them before I leave
981: [21:27:58] <Ryan-Toast> is that the company you work for simon_w?
982: [21:28:57] <Ryan-Toast> lists you as a senior devvelopment consultant.
983: [21:29:28] <Kingy> Oh i didn't even notice that
984: [21:32:26] * toddvale_ has joined #silverstripe
985: [21:33:14] <antmas> lol
986: [21:33:26] <antmas> StripeTheWeb is madmatt ?
987: [21:33:43] <antmas> Kingy: sold the computer yet?
988: [21:33:45] * catcher quit (Quit: Leaving)
989: [21:33:59] <Kingy> nah not yet antmas
990: [21:35:15] * toddvalentine quit (Ping timeout: 256 seconds)
991: [21:36:54] * toddvale_ quit (Read error: Connection reset by peer)
992: [21:37:30] * toddvalentine has joined #silverstripe
993: [21:39:30] * mahfuz has joined #silverstripe
994: [21:43:52] * micmania1 quit (Quit: micmania1)
995: [21:54:15] * toddvalentine quit (Read error: Connection reset by peer)
996: [21:54:41] <MichalKleiner> is there a way how to tell 2.4 ModelAdmin to search also on has_one Member name?
997: [21:54:42] * toddvalentine has joined #silverstripe
998: [21:55:02] <MichalKleiner> adding Member.Name into $searchable_fields doesn't work
999: [21:55:41] <MichalKleiner> ends with "Uncaught Exception: Unable to traverse to related object field [Member.Name] on [Schedule]"
1000: [21:56:48] <MichalKleiner> I can make it a db field and update it onBeforeWrite but it's a bit hacky
1001: [22:07:34] * kinglozzer quit ()
1002: [22:09:17] * MrGuits quit (Ping timeout: 240 seconds)
1003: [22:22:10] * hailwood has joined #silverstripe
1004: [22:23:06] <hailwood> Hi guys, when you log in via /security/login does your session get reset or anything? - so if I have something like an orderID stored in session if the user is asked to login later am I going to lose that orderID?
1005: [22:32:04] * fb3rasp__ has joined #silverstripe
1006: [22:33:55] * Colin[pi] has joined #silverstripe
1007: [22:34:14] <Colin[pi]> MORNING ALL
1008: [22:34:20] * micmania1 has joined #silverstripe
1009: [22:34:45] <Kingy> hey Colin[pi]
1010: [22:35:15] <Colin[pi]> hiya Kingy ^.^
1011: [22:36:40] <Kingy> how's aussie treating you this morning
1012: [22:38:38] <UncleCheese> dude, seriously
1013: [22:38:41] <UncleCheese> what is up with default_parent
1014: [22:38:49] <UncleCheese> is it just shit?
1015: [22:39:55] * fb3rasp___ has joined #silverstripe
1016: [22:40:55] <JeremyRoundill> Yo
1017: [22:40:56] <JeremyRoundill> Question
1018: [22:41:15] <JeremyRoundill> With SilverStripe, can I have a sort of symbolic link page?
1019: [22:41:35] <Kingy> JeremyRoundill: use case?
1020: [22:41:39] <JeremyRoundill> Like, can I link to a different branch of the SiteTree from
1021: [22:41:53] <JeremyRoundill> For instance if I have /section1
1022: [22:41:56] <JeremyRoundill> And /section2
1023: [22:42:02] <JeremyRoundill> Both at the root.
1024: [22:42:28] * toddvale_ has joined #silverstripe
1025: [22:42:30] * toddvalentine quit (Ping timeout: 265 seconds)
1026: [22:42:37] <JeremyRoundill> And I want to be able to create a page /section2/symboliclink which displays the content from /section1
1027: [22:42:40] * fb3rasp__ quit (Ping timeout: 256 seconds)
1028: [22:42:47] <UncleCheese> JeremyRoundill virtual page
1029: [22:43:02] <Kingy> ^
1030: [22:43:10] <JeremyRoundill> Ha
1031: [22:43:23] <JeremyRoundill> Why didn't I check the CMS first, huh? :P
1032: [22:43:35] <simon_w|work> Ryan-Toast, one of them
1033: [22:43:35] <Kingy> god dammit son
1034: [22:44:39] <JeremyRoundill> Okay, I've done that. Next question
1035: [22:45:05] <JeremyRoundill> This virtual page doesn't display the same as the original page.
1036: [22:45:17] <JeremyRoundill> Because it doesn't have the children of the original.
1037: [22:45:28] <JeremyRoundill> That's not a question.
1038: [22:45:31] <JeremyRoundill> How do I fix that?
1039: [22:45:48] * fb3rasp___ quit (Quit: Be back later ...)
1040: [22:48:34] <Ryan-Toast> oh translate#D, I love you.
1041: [22:48:40] <Ryan-Toast> 3D**
1042: [22:49:13] * toddvalentine has joined #silverstripe
1043: [22:49:42] * toddvalentine quit (Client Quit)
1044: [22:50:34] * fb3rasp___ has joined #silverstripe
1045: [22:50:39] <Colin[pi]> <Kingy> how's aussie treating you this morning
1046: [22:50:46] <Colin[pi]> got rained on walking from my kid's school
1047: [22:50:47] <Colin[pi]> :(
1048: [22:50:59] <Kingy> rain... must be a foreign concept
1049: [22:51:10] <Colin[pi]> not this last two weeks, bloody hell
1050: [22:51:19] <Colin[pi]> raining almost every day
1051: [22:51:23] <Colin[pi]> simon_w must be ecstatic
1052: [22:51:35] <Kingy> yeah I think NZ has forgotten about this thing called summer, was rainy and cold yesterday
1053: [22:51:50] * fb3rasp___ quit (Client Quit)
1054: [22:51:55] * toddvale_ quit (Ping timeout: 264 seconds)
1055: [22:53:04] * wmk has joined #silverstripe
1056: [22:53:11] <MichalKleiner> summer was cancelled, you haven't heard about that?
1057: [22:53:23] <Kingy> doesn't worry me
1058: [22:53:26] <Kingy> i leave in a week :)
1059: [22:53:55] <UncleCheese> Kingy hear hear
1060: [22:57:23] * wmk quit (Ping timeout: 244 seconds)
1061: [22:57:55] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1062: [22:58:17] * muskie9 has joined #silverstripe
1063: [22:59:22] * simon_w|air quit (Quit: Ping timeout: your mum)
1064: [23:01:43] * simon_w|air has joined #silverstripe
1065: [23:01:52] <Colin[pi]> fuck Kingy, just one week??
1066: [23:01:55] <Colin[pi]> that went quick
1067: [23:04:57] * gelignite quit (Quit: http://bit.ly/nkczDT)
1068: [23:09:45] <Kingy> Colin[pi]: yeah stressful as lol
1069: [23:10:22] * antmas quit (Ping timeout: 246 seconds)
1070: [23:10:51] <Colin[pi]> Kingy: everything in order?
1071: [23:11:31] <Kingy> not really
1072: [23:11:36] <Kingy> shit to sell
1073: [23:11:42] <Kingy> acountants to talk to
1074: [23:12:00] <Kingy> leaving our flat this weekend and moving into the MILs place for a week
1075: [23:12:30] <Colin[pi]> :\
1076: [23:12:42] <Colin[pi]> must be a lot of stuff, I can imagine
1077: [23:12:53] <Kingy> well fortunately the majority of it is gone
1078: [23:13:08] <Kingy> all the small stuff like drawers, shelves etc
1079: [23:13:25] <Kingy> only real annoying piece left is the couch, the rest we have a home for
1080: [23:13:45] <Colin[pi]> fucking couches
1081: [23:13:56] <Kingy> yep, only 2 months old as well lol
1082: [23:14:02] <Colin[pi]> I ended up putting one on the street
1083: [23:14:10] <Colin[pi]> couldn't sell it :(
1084: [23:14:15] <Kingy> yeah
1085: [23:14:33] <Kingy> second hand dealer came in yesterday and said he couldn't offer us more than $600. We paid $2200
1086: [23:14:52] * fb3rasp___ has joined #silverstripe
1087: [23:14:56] <Colin[pi]> farkkkk
1088: [23:15:00] <Colin[pi]> bit of a drop :(
1089: [23:15:07] <Kingy> yep, told him no
1090: [23:15:19] <Kingy> would rather give it to the MIL
1091: [23:15:29] <Kingy> can be the next 20 years of xmas present
1092: [23:15:54] <Colin[pi]> lol
1093: [23:16:00] <Kingy> although gfs little brother will just end up destroying it within a few months
1094: [23:19:47] <Colin[pi]> bloody kids
1095: [23:19:57] <Kingy> lol yea
1096: [23:31:52] <MichalKleiner> ok, found answer to my question (Manipulate searchfields at http://www.balbuss.com/modeladmin-some-simple-snippets/)
1097: [23:32:06] <MichalKleiner> after I hacked it with onBeforeWrite :-D
1098: [23:32:44] * Stomach quit (Ping timeout: 244 seconds)
1099: [23:33:19] * Stomach has joined #silverstripe
1100: [23:37:17] * oetiker quit (Ping timeout: 260 seconds)
1101: [23:43:47] * oetiker has joined #silverstripe
1102: [23:43:53] * fb3rasp___ quit (Ping timeout: 244 seconds)
1103: [23:58:59] * Phlunk3 quit (Remote host closed the connection)

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