#silverstripe IRC Log

IRC log for 9 October 2014

All timestamps are in UTC.

1: [00:03:27] <markcl> Image
2: [00:14:12] * mirrors quit (Quit: Page closed)
3: [00:15:53] <irogue_> Colin[pi]: dat name though
4: [00:15:58] <irogue_> sounds like a Grindr competitor
5: [00:16:08] <Colin[pi]> LOL
6: [00:16:21] <Colin[pi]> thanks irogue_ - I never thought of it that way UNTIL NOW
7: [00:16:26] <Colin[pi]> can't not unsee
8: [00:16:32] <irogue_> you're welcome ^_^
9: [00:17:20] <simon_w|work> Running out of Pringles! Colin[pi], send more!
10: [00:17:42] <Colin[pi]> simon_w|work: NU UH all pringles are property of moi
11: [00:19:56] <simon_w|work> Colin[pi], don't make me call the internet police!
12: [00:20:10] <zippy> markcl: that is because $this->Image and $this->Image() are two different thing
13: [00:20:45] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
14: [00:21:22] <Colin[pi]> simon_w|work: http://i.imgur.com/vGpUstn.jpg
15: [00:22:07] <simon_w|work> KDC?
16: [00:22:36] <Kingy> lolol
17: [00:22:41] <Kingy> not big enough
18: [00:22:53] <Kingy> Ryan-Toast: technically today is my friday... sooo gifs
19: [00:24:26] <Ryan-Toast> Kingy: well well well https://i.imgur.com/oFBBRr2.jpg
20: [00:24:48] <Kingy> :D
21: [00:25:08] <Kingy> "Thank you for following me, looking forward to viewing your tweets."
22: [00:25:12] <Kingy> this just makes me want to unfollow you
23: [00:25:21] <simon_w|work> Kingy, do it
24: [00:25:36] <Kingy> simon_w|work: finethen
25: [00:25:46] * UncleCheese has joined #silverstripe
26: [00:26:20] <simon_w|work> JUSTDOIT
27: [00:26:38] * UncleCheese quit (Client Quit)
28: [00:27:58] <Kingy> i DID
29: [00:31:05] <ss23> NOT GOOD ENOUGH
30: [00:31:07] <ss23> DO IT AGAIN
31: [00:31:53] * Kingy refollows and unfollows again
32: [00:32:10] <spronk> yeahh
33: [00:32:14] <spronk> simon_w|work, you should know that's not KDC
34: [00:32:28] <spronk> if it were KDC there would be some sort of gravity disturbance
35: [00:32:32] <spronk> probably even transmitted through your computer
36: [00:33:14] <Colin[pi]> besides KDC doesn't own any other clothes like that
37: [00:36:23] <Kingy> Colin[pi]: I actually wouldn't be surprised
38: [00:36:29] <Kingy> although it is lacking the turtle neck
39: [00:37:20] <spronk> :D
40: [00:43:13] * oetiker quit (Ping timeout: 272 seconds)
41: [00:44:57] * oetiker has joined #silverstripe
42: [00:50:02] <simon_w|work> So sleepy
43: [00:55:55] * irogue_ hands simon_w|work a V
44: [00:56:14] * simon_w|work could do with one
45: [00:57:21] <Ryan-Toast> I have a little tiny dog to look after at work.
46: [00:57:27] <Ryan-Toast> she’s distracting
47: [00:57:28] <irogue_> nope nope nope
48: [00:57:31] <Stomach> eat it
49: [00:57:33] <irogue_> tiny dogs are evil
50: [00:57:44] <Kingy> Stomach: bahahaha
51: [00:58:36] <Ryan-Toast> nah, we boys: http://i.imgur.com/WdkjAJ1.jpg
52: [00:59:56] <Kingy> 2 hour meeting to end my week
53: [00:59:57] <Kingy> yaya
54: [01:02:42] <irogue_> my week ends with a hackday
55: [01:03:25] <irogue_> which will be a welcomed break from SOAP
56: [01:04:53] * r_hector has joined #silverstripe
57: [01:07:55] <ss23> I got given a "for hackday lets write this clients feature"
58: [01:07:56] <ss23> :(
59: [01:09:34] <Kingy> lolololol
60: [01:09:54] <irogue_> ss23: bahaha
61: [01:10:27] <irogue_> we're working on swipestripe. Stomach's coming too :)
62: [01:10:35] <ss23> cool :D
63: [01:15:19] * willr has joined #silverstripe
64: [01:19:07] * caamic30 quit (Quit: caamic30)
65: [01:24:49] * caamic30 has joined #silverstripe
66: [01:25:12] <Stomach> SWIPESTRIPE PARTY
67: [01:27:32] <irogue_> AIN'T NO PARTY LIKE A SWIPESTRIPE PARTY
68: [01:29:21] * caamic30 quit (Ping timeout: 260 seconds)
69: [01:33:58] <Stomach> its just going to be a 90's music session isnt it
70: [01:33:59] <Stomach> :D
71: [01:34:17] <adrexia> 80's is better
72: [01:34:18] <tankr> irogue_ there really isn't - not sure if that is a good thing
73: [01:34:20] <Colin[pi]> I'M A BARBIE GIRL
74: [01:34:23] <adrexia> lol
75: [01:34:23] <Colin[pi]> IN A BARBIE WORLD
76: [01:34:26] <Colin[pi]> LIFE IN PLASTIC
77: [01:34:28] <Colin[pi]> ITS FANTASTIC
78: [01:34:47] <tankr> some music would be good, maybe just music with an ecommerce theme - that could be fun
79: [01:34:55] <adrexia> oh, aqua are here soon, right?
80: [01:34:59] <Colin[pi]> music... with a ecommerce theme?
81: [01:35:13] <adrexia> tankr - so anything from a record company?
82: [01:35:15] <Colin[pi]> adrexia: apparently
83: [01:35:44] <adrexia> Colin[pi], there's a half dozen songs called money
84: [01:35:54] <tankr> adrexia: haha, sure
85: [01:36:02] <adrexia> I suppose that's technically just "commerce"
86: [01:36:06] <adrexia> but it'd do ;)
87: [01:36:20] <adrexia> http://www.youtube.com/watch?v=cpbbuaIA3Ds
88: [01:38:41] <tankr> good song, its on the list
89: [01:38:57] <Stomach> I'll bring my bass
90: [01:39:07] <Stomach> and smash the stereo after the 90th time its been played
91: [01:39:19] <Stomach> then cry in the corner
92: [01:39:25] <Stomach> sounds like a solid hack day plan
93: [01:41:33] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
94: [01:42:31] <tankr> haha, yeah lets just play it on repeat all day. or at least 7 times, then one "what's new pussy cat" and then back to it (https://www.youtube.com/watch?v=aYIwPu50Fic)
95: [01:43:22] <Colin[pi]> WHATS NEW PUSSY CAT
96: [01:43:26] <Colin[pi]> WOAH OH OH OHH
97: [01:44:27] <Kingy> nice
98: [01:44:29] <Stomach> tankr :D
99: [01:47:06] <adrexia> here you go http://www.digitaltrends.com/music/best-songs-about-money/
100: [01:47:14] * John__________ has joined #silverstripe
101: [01:47:24] <Kingy> MONEY MONEY MONEY
102: [01:48:04] <Kingy> MUST BE FUNNY
103: [01:48:07] <Kingy> IN A RICH MANS WORLD
104: [01:48:15] <Stomach> Aloe Blacc ftw
105: [01:49:10] <irogue_> blew my mind when I realised that Avicii - Wake Me Up was actually Aloe Blacc
106: [01:50:26] <John__________> Hi I am not able to view images on pages in the browser but in the admin preview window images show fine.. Does anyone have any ideas?
107: [01:52:17] <Colin[pi]> Kingy: close enough: https://www.youtube.com/watch?v=E97CmNK3NtU
108: [01:52:33] <Kingy> I was singing ABBA :(
109: [01:52:39] <Colin[pi]> I know
110: [01:52:45] <Colin[pi]> I'm sharing others :P
111: [01:53:10] <markcl> Hey!
112: [01:53:30] <Kingy> John__________: have you flushed
113: [01:53:32] <markcl> Is there some sort of Silverstripe command that allows a function to be cached so pages will load fast even when using functions
114: [01:53:39] <markcl> that take a long time to load
115: [01:53:56] <ss23> markcl: Two methods. First is partial caching in templates
116: [01:54:00] <ss23> I'd look at that first
117: [01:54:02] <markcl> ex. $ArchivedList.Cached(5mins)
118: [01:54:11] <Kingy> ss23 knows his shit
119: [01:54:12] <ss23> Second is SS_Cache
120: [01:54:21] <Kingy> he fixed us up nicely :_
121: [01:54:23] <Kingy> :)
122: [01:54:32] <ss23> ^.^
123: [01:55:00] <markcl> whoa, thanks ss23
124: [01:57:25] <John__________> Cheers well cleared out the cache removed everything in silverstripe-cache folder there is no partial caching outside of navigation includes
125: [01:57:58] <John__________> Done a few sites no so not sure how else to troubleshoot. No errors in localhost apache logs.
126: [01:58:53] <Kingy> any errors in console John__________ ?
127: [02:00:13] <John__________> No - funny thing is the images all just point to /assets/ and thats it, but in admin they work without an issue? Just turned my machine on and off and the images work, but hte same issues happen as soon as I try and add any more images?
128: [02:01:15] * simon_w|work quit (Remote host closed the connection)
129: [02:10:40] <Stomach> markcl - another is https://github.com/heyday/silverstripe-cacheinclude
130: [02:11:00] * nicolaas has joined #silverstripe
131: [02:11:08] <nicolaas> hey gurus - how does a template know if it is being cached?
132: [02:11:39] <nicolaas> I want to add ?cached=1 to all links in a template if it is being cached .... any ideas?
133: [02:15:36] * simon_w|work has joined #silverstripe
134: [02:16:39] <Stomach> nicolaas - you control the caching o_O
135: [02:16:47] <adrexia> ..that's what I was thinking
136: [02:16:57] <adrexia> you have to wrap things in the cache
137: [02:17:12] <nicolaas> i dont understand what you mean....
138: [02:17:17] <adrexia> so umm, just write ?cached=1 at the end of the link within a cache block
139: [02:17:41] <adrexia> http://doc.silverstripe.org/framework/en/reference/partial-caching
140: [02:18:08] <adrexia> or do you mean "currently supplied from cache"?
141: [02:18:14] <nicolaas> ok - I hear what you saying... but I do the caching like this:
142: [02:18:15] <nicolaas> <% if ProductGroupListAreCacheable %>
143: [02:18:17] <nicolaas> <% cached ProductGroupListCachingKey %>
144: [02:18:17] <adrexia> if so, I don't think the template knows that
145: [02:18:18] <nicolaas> <% include LayoutProductGroupInner %>
146: [02:18:20] <nicolaas> <% end_cached %>
147: [02:18:21] <nicolaas> <% else %>
148: [02:18:23] <nicolaas> <% include LayoutProductGroupInner %>
149: [02:18:24] <nicolaas> <% end_if %>
150: [02:18:26] <nicolaas> sorry for the code paste...
151: [02:18:26] <adrexia> given its not dynamic
152: [02:18:44] <Stomach> so pass something into that cache called ?
153: [02:18:45] <adrexia> ahh
154: [02:18:50] <adrexia> feed a variable to the include
155: [02:18:52] <Stomach> <% cached ProductGroupListCachingKey $Cached=true %>
156: [02:18:56] <adrexia> that ^
157: [02:19:03] <adrexia> though - true is a string
158: [02:19:05] <nicolaas> ohhhh
159: [02:19:06] <nicolaas> that is an interesting idea
160: [02:19:27] <nicolaas> can you do that???
161: [02:19:29] <Stomach> it could be anything though adrexia - if its not passed in it will be falsey
162: [02:19:43] <adrexia> true but $Cached=false
163: [02:19:47] <adrexia> would be true also ;)
164: [02:19:58] <adrexia> nicolaas, in 3.* yes
165: [02:20:04] <nicolaas> great!
166: [02:20:04] <adrexia> not in 2.4
167: [02:20:06] <nicolaas> thank you
168: [02:20:11] <adrexia> :)
169: [02:20:26] <nicolaas> will that be available even within loops and within with blocks?
170: [02:20:31] <adrexia> yes
171: [02:20:35] <nicolaas> that being the $Cached variable
172: [02:20:50] <adrexia> it will be scoped to the include template
173: [02:21:12] <adrexia> so $LayoutProductGroupInner.ss
174: [02:22:16] <nicolaas> great - lets see!
175: [02:22:26] <nicolaas> thank you ... that is really useful
176: [02:27:46] * John__________ quit (Ping timeout: 246 seconds)
177: [02:33:11] * zippy has joined #silverstripe
178: [02:34:29] <novaweb> Brethren, how do you send a password reset email to a Member who you've added in the CMS but did not set a password for?
179: [02:34:59] <novaweb> Besides them clicking the "i don't know my password" link
180: [02:35:19] <zippy> novaweb: clicking it for them
181: [02:35:57] <nicolaas> I added <% cached ProductGroupListCachingKey $Cached = 1 %> and the whole portion in the cached section disappeared.
182: [02:36:52] <Kingy> rofl zippy
183: [02:37:06] <novaweb> that sucks
184: [02:37:09] <novaweb> :/
185: [02:37:17] <zippy> novaweb: you could add a checkbox...
186: [02:37:46] <adrexia> novaweb - that would bea great idea for a module
187: [02:38:13] <adrexia> add a "email reset link" button to the add memember area
188: [02:45:44] <zippy> I am some pages in my CMS which are viewable only as a certain group
189: [02:46:04] <zippy> is there a way I can control what message and url people get sent if they don't match that group?
190: [02:47:21] * Ryan-Toast quit (Quit: Ryan-Toast)
191: [02:48:10] <Stomach> zippy - I just did something like that
192: [02:48:23] <zippy> Stomach: speak to me!
193: [02:48:28] <Stomach> you can add something to the init function of the page controller
194: [02:48:38] <zippy> I was thinking init, but wasn't sure if that was too rangi
195: [02:49:04] <Stomach> http://sspaste.com/paste/show/5435f2821d733
196: [02:51:27] <zippy> is that 3.1? searching the code I can't see a canAccess function
197: [02:51:36] <Stomach> the canAccess is custom for me
198: [02:51:42] <zippy> ah
199: [02:51:48] <Stomach> but if you are using canView then you can just replace it
200: [02:52:06] <Stomach> we needed to be able to keep things in menus etc
201: [02:52:10] <Stomach> but restrict viewing of them
202: [02:52:16] <Stomach> canView doesn't actually like that
203: [02:52:21] * Ryan-Toast has joined #silverstripe
204: [02:53:35] <zippy> mm I might be able to use canView, thakns
205: [02:58:03] <simon_w|work> First time having to deal with two companies to get my internet connected. How do you lot handle it?
206: [02:58:37] <zippy> simon_w|work: thats just like nz....
207: [02:58:47] <zippy> isp & chorus..
208: [02:58:52] <simon_w|work> zippy, TCL cable :p
209: [02:59:02] <zippy> well, except for them
210: [02:59:05] <zippy> actually
211: [02:59:21] <zippy> wonder if it's slightly different now it's vodafone
212: [02:59:32] <simon_w|work> Wasn't when I moved
213: [03:07:37] <zippy> Stomach: Only issue I've had in the past with doing a redirect in the init of a controller, is getting an error that a redirect was already happen..
214: [03:14:05] <Stomach> dont do any other redirects in init? :D
215: [03:14:13] <Kingy> yay on the train
216: [03:14:16] <Kingy> weekend time
217: [03:15:20] <zippy> Stomach: :P if there was already a redirect set in the parent init. But I am checking for that now and will not reidrect if redirecting alreadys
218: [03:15:23] <zippy> seems to work good
219: [03:15:33] <Stomach> cool as
220: [03:17:18] * caamic30 has joined #silverstripe
221: [03:20:57] * cloph_away has joined #silverstripe
222: [03:21:07] * cloph quit (Ping timeout: 245 seconds)
223: [03:28:56] * birgit has joined #silverstripe
224: [03:32:00] * StefanLehmann has joined #silverstripe
225: [03:34:40] * birgit is now known as irgbit
226: [03:37:59] <zippy> ohhh yus!
227: [03:38:09] <zippy> $body = \SSViewer::fromString($siteConfig->WelcomeEmail)->process($data); works goodly!
228: [03:38:51] * nickmolhoek quit (Quit: nickmolhoek)
229: [03:40:10] * nickmolhoek has joined #silverstripe
230: [03:42:07] * irgbit quit ()
231: [03:42:33] * birgit has joined #silverstripe
232: [03:42:39] * nickmolhoek quit (Client Quit)
233: [03:43:05] * birgit quit (Client Quit)
234: [03:43:24] * irgbit has joined #silverstripe
235: [03:55:20] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
236: [03:57:37] * novaweb farts
237: [03:58:34] * Phlunk3 quit (Remote host closed the connection)
238: [03:58:40] * novaweb quit ()
239: [04:03:18] * micmania1 quit (Quit: micmania1)
240: [04:03:42] * jedateach quit (Quit: jedateach)
241: [04:07:20] * UncleCheese has joined #silverstripe
242: [04:20:17] * nicolaas quit (Ping timeout: 245 seconds)
243: [04:21:32] <simon_w|work> Bah, landscape screen just looks weird now
244: [04:25:27] * Ryan-Toast quit (Quit: Ryan-Toast)
245: [04:27:11] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
246: [04:30:54] * caamic30 quit (Quit: caamic30)
247: [04:46:09] * hailwood quit (Quit: Leaving.)
248: [04:47:42] * irgbit quit (Remote host closed the connection)
249: [04:50:12] * Colin[pi] quit (Ping timeout: 246 seconds)
250: [04:50:16] * veb has joined #silverstripe
251: [04:54:19] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
252: [04:54:45] * veb quit (Client Quit)
253: [05:05:45] * spronk quit (Ping timeout: 272 seconds)
254: [05:08:24] * tankr quit (Ping timeout: 246 seconds)
255: [05:15:33] * spronk has joined #silverstripe
256: [05:18:19] * Kingy is now known as Kingy[a]
257: [05:19:41] * stojg has joined #silverstripe
258: [05:33:00] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
259: [05:41:38] <spronk> K GUYS
260: [05:41:43] * ss23 gets nervous
261: [05:41:48] <jordanmk> hey guys, has anyone used Stripe or something like it for automatically charging users of a website on a regular basis (e.g. monthly)?
262: [05:41:51] <spronk> i have an "is this confusing" question.
263: [05:42:00] <spronk> lets say you have been using an account for a service
264: [05:42:18] <spronk> let's say it's called FoodBuddy
265: [05:43:22] <simon_w|work> jordanmk, yes
266: [05:43:25] <spronk> and you get an email from FoodBuddy that says... you can now get alerts about your food from Food Buddy and other services on your smartphone with a new app called OPTIMAL RECIPE"
267: [05:43:54] <spronk> 1) would you expect to be able to log in to optimal recipe with your FoodBuddy account. 2) would you be confused when optimal recipe asks you effectively to create a new account
268: [05:44:14] <simon_w|work> spronk, yes
269: [05:44:29] <ss23> spronk: 1) yes, 2) no
270: [05:44:29] <jordanmk> @simon_w: how did you find it? have you tried any alternatives?
271: [05:44:47] <timezone> your asking the wrong people
272: [05:44:54] <spronk> simon_w|work, ss23 further info: the app store link for OPTIMAL RECIPE is branded completely differently to FoodBuddy
273: [05:44:55] <timezone> were already conditioned with federated logins
274: [05:45:12] <timezone> unless optimal recipe is for web dorks
275: [05:45:16] <spronk> :D
276: [05:45:31] <simon_w|work> jordanmk, the processor doesn't matter. The annoying bit is always on the server end.
277: [05:45:47] <spronk> we're introducing a new product with considerable overlap, but want to completely separate the accounts for technical reasons
278: [05:45:49] <timezone> in which case, most web dorks are confused by yaml, so they are probably confused by everything
279: [05:45:52] <spronk> haha
280: [05:46:10] <simon_w|work> spronk, wouldn't matter. Most people would expect it to be a FoodBuddy app
281: [05:46:21] <timezone> you could easily give them a custom landing / create splash that says hey food buddy guy, time to new account
282: [05:46:40] <spronk> hmm
283: [05:46:48] <spronk> oo
284: [05:46:51] <spronk> that's not a bad idea timezone
285: [05:47:11] <spronk> instead of app store link take them to a landing page with a bit of info that they'll need to sign up after they dl the app
286: [05:49:27] <simon_w|work> Home tiem!
287: [05:50:21] <jordanmk> @simon_w: not sure what you mean
288: [05:50:54] <jordanmk> are you referring to how you set up making a payment charge request on the server end? e.g. a CRON job or something?
289: [05:51:20] * veb has joined #silverstripe
290: [05:53:57] * jordanmk quit ()
291: [05:54:08] * jordanmk has joined #silverstripe
292: [05:56:24] * stojg has joined #silverstripe
293: [05:56:53] * Error404NotFound has joined #silverstripe
294: [06:14:54] * Guits has joined #silverstripe
295: [06:26:59] * Adesso has joined #silverstripe
296: [06:36:51] * Error404NotFound quit (Read error: Connection reset by peer)
297: [06:39:22] * MrGuits has joined #silverstripe
298: [06:39:23] * Guits quit (Read error: Connection reset by peer)
299: [06:39:23] * Error404NotFound has joined #silverstripe
300: [06:43:30] * Guits has joined #silverstripe
301: [06:43:30] * MrGuits quit (Read error: Connection reset by peer)
302: [06:43:48] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
303: [06:47:47] * markcl has left #silverstripe
304: [06:52:58] * jedateach has joined #silverstripe
305: [07:08:20] * ocmnt has joined #silverstripe
306: [07:08:57] <ocmnt> goodmorning
307: [07:09:04] <ss23> moin moin
308: [07:09:42] * ARNHOE has joined #silverstripe
309: [07:15:41] * jedateach quit (Quit: jedateach)
310: [07:16:34] * Stomach quit (Quit: bye)
311: [07:23:27] <Adesso> Morning..
312: [07:23:58] * Adesso just discovered CMSThumbnail...
313: [07:38:35] * Marvanni has joined #silverstripe
314: [07:38:37] <ocmnt> gmorning
315: [07:39:41] <ss23> moin moin
316: [07:40:46] * MrGuits has joined #silverstripe
317: [07:41:54] * irgbit has joined #silverstripe
318: [07:44:05] * Guits quit (Ping timeout: 260 seconds)
319: [07:45:07] * stnvh has joined #silverstripe
320: [07:48:00] * Colin[pi] has joined #silverstripe
321: [07:48:27] * irgbit quit (Remote host closed the connection)
322: [07:50:06] * MrGuits quit (Ping timeout: 250 seconds)
323: [07:54:25] * Guits has joined #silverstripe
324: [07:56:25] * Marvanni quit (Ping timeout: 272 seconds)
325: [07:56:51] * Marvanni has joined #silverstripe
326: [08:00:01] * kinglozzer has joined #silverstripe
327: [08:05:14] * Shrike_Finland has joined #silverstripe
328: [08:09:50] * Err404NotFound has joined #silverstripe
329: [08:09:50] * Error404NotFound quit (Disconnected by services)
330: [08:13:58] * UncleCheese has joined #silverstripe
331: [08:20:08] <Adesso> I am trying to get to the MetaDescription of a DataObject, but am not sure how, since I have this Slug Helper Model. Anybody feel like having a look at a working DataObject as Page ? https://gist.github.com/Adesso/1e2428fcf0861ae4cc6d
332: [08:23:21] <Adesso> adding a getMetaDescription does not work
333: [08:24:01] <Adesso> and using the $MetaDescription in the Page Template also returns nothing ..
334: [08:24:18] * Otterpocket has joined #silverstripe
335: [08:24:33] * Adesso made it all nice and neat for easy reading
336: [08:25:57] * Adesso thinks that maybe he should just add a Template for the Model....
337: [08:30:41] <Otterpocket> Am I the only person not using PHP Storm for silverstripe?
338: [08:30:48] <Marvanni> I always copy the MetaTags method from SiteTree to Page_Controller and replace the property calls to the Meta data fields to methods and add those methods to the controllers
339: [08:30:49] <Adesso> nope
340: [08:31:15] <Otterpocket> Adesso: What are you using?
341: [08:31:46] <Marvanni> You can then do something like public function getMetaDesc(){ if($this->currentArticle() return $this->currentArticle()->MetaDescription; else return $this->MetaDescription)}
342: [08:31:55] * Adesso would like to just say.. tht yes.. he knows the advantages of IDE's and and and
343: [08:31:58] <Adesso> Notepad++
344: [08:31:59] <Marvanni> I just started using PHPStorm with Silverstripe
345: [08:32:11] <Marvanni> its a bit sluggish, but it works nice
346: [08:32:17] <Adesso> PHPStrom really looks cool
347: [08:32:43] * Adesso will get to switching over.. sooner or later
348: [08:32:54] <Otterpocket> Hmm, I tried to switch
349: [08:32:56] <Adesso> now that there is a plugin for it
350: [08:33:11] <Otterpocket> I found it too specific and very heavy
351: [08:33:11] <Adesso> Otterpocket what you using then ?
352: [08:33:19] <Otterpocket> vim
353: [08:33:51] <Otterpocket> very customised obviosly
354: [08:33:57] <Marvanni> The plugin only checks ss template language. It does not recognize DataExtension methods or ModelAsController methods from SiteTree in a Controller
355: [08:33:57] <Otterpocket> obviously*
356: [08:33:58] <Adesso> Marvanni: I tried the public functions in the Article Model&&Controller
357: [08:34:01] <Adesso> nothing ..
358: [08:34:31] * Adesso O.o
359: [08:34:39] * irgbit has joined #silverstripe
360: [08:34:51] <Marvanni> Adesso I copied the method MetaTags() from SiteTree to Page_Controller
361: [08:35:02] <Adesso> if you can use vim to it's full potential... I am seriously impressed
362: [08:35:15] <Marvanni> with that method there are calls to $this->MetaDescription and $this->MetaTitle
363: [08:35:31] <Marvanni> I replace that with $this->MetaDescription() and $this->MetaTitle()
364: [08:36:14] <Marvanni> add thos methods to the Controller. and then check if you have DataObject to render or else just return $this->MetaSomething to render the Page metas
365: [08:36:18] * Adesso does not have a IDE... where is the SiteTree please ..
366: [08:36:28] <Marvanni> csm/model
367: [08:36:31] <Marvanni> cms
368: [08:37:29] * Adesso discoverst a new way to seriously f**k up his Silvertipe...
369: [08:37:50] <Otterpocket> Adesso: Yea, I have lots of stuff going on, all my vcs has shortcuts, sake, all sorts of crazy stuff
370: [08:38:54] * Pyreturnk has joined #silverstripe
371: [08:38:55] <Adesso> WoW dude.....
372: [08:38:58] * ocm has joined #silverstripe
373: [08:39:04] <Pyreturnk> LoL dude.....
374: [08:39:04] <Marvanni> http://sspaste.com/paste/show/54364486426fe
375: [08:39:32] * ocmnt quit (Ping timeout: 260 seconds)
376: [08:39:33] * ocm is now known as ocmnt
377: [08:39:37] <Pyreturnk> I play neither of them though. More of a Quake guy.
378: [08:39:40] * Adesso seriously wants to get back to the basics, and that means learning vim 100% and not just 50%
379: [08:40:20] <kinglozzer> Sup Pyreturnk
380: [08:40:23] * Adesso looks at Pyreturnk.... you working or playing right now o.O
381: [08:40:28] * Pyreturnk doesn't even know what even is going on.
382: [08:40:39] <Pyreturnk> Adesso: unfortunately, 'working'.
383: [08:40:49] <Pyreturnk> by 'working' I mean clearing emails. A lot of emails.
384: [08:41:36] <Marvanni> http://sspaste.com/paste/show/543645242b26a
385: [08:41:41] <Pyreturnk> sup kinglozzer
386: [08:41:46] <Adesso> Nice - (o Y o)
387: [08:42:04] <kinglozzer> ArrayData::create(array('SomeStuff' => $foo))->renderWith(array('MyTemplate'); is a thing, right?
388: [08:42:15] <Pyreturnk> should be.
389: [08:42:26] <kinglozzer> Oh ffs
390: [08:42:26] <Pyreturnk> if ArrayData inherits ViewableData
391: [08:42:36] <kinglozzer> I was doing ArrayData::create(array('SomeStuff' => 'Foo'))
392: [08:42:42] <kinglozzer> CANT LOOP OVER STRING
393: [08:42:44] <kinglozzer> ><
394: [08:42:49] <kinglozzer> Good holiday Pyreturnk?
395: [08:42:54] <Pyreturnk> kinglozzer: yup.
396: [08:43:05] <Pyreturnk> much pizza, very pasta, wow.
397: [08:43:47] <Adesso> Marvanni - how do I do the bit "check if you have DataObject to render"
398: [08:44:46] <Pyreturnk> Adesso: usually, with an IF
399: [08:45:07] * Adesso bitchslaps Pyreturnk around a bit and calls him Susan
400: [08:45:19] <Marvanni> http://sspaste.com/paste/show/543645242b26a
401: [08:45:22] <Pyreturnk> Of course I'm serious, and don't call me Shirley
402: [08:45:44] <Adesso> Susan, Shirley... same diffrence
403: [08:45:54] <Adesso> :P
404: [08:45:58] <Pyreturnk> kinglozzer: I drank cappuccino and actually enjoyed it.
405: [08:46:16] <Pyreturnk> Which was surprising, since I generally don't like coffee at all.
406: [08:46:33] <kinglozzer> Pyreturnk: Yeah I don't really like coffee, but I don't mind a latte
407: [08:46:40] <kinglozzer> Don't think I've tried a cappuccino
408: [08:46:47] <Pyreturnk> kinglozzer: yeah but I mean, all coffee, ever.
409: [08:46:53] <kinglozzer> But isn't it like an italian specialty?
410: [08:47:00] <kinglozzer> Like ice cream is supposed to be really good
411: [08:47:01] <Pyreturnk> yup, apparently.
412: [08:47:04] <Pyreturnk> It's breakfast.
413: [08:47:07] <Pyreturnk> and yes, Gelato is great.
414: [08:47:13] <Pyreturnk> drippy, but great.
415: [08:50:15] <Adesso> Marvanni: The ArticleHolderPage is not really the Problem, as it uses Page, and this is all using the Page Controller
416: [08:50:30] <Adesso> The Article is the bitch
417: [08:51:09] <Adesso> as it is a DataObject.. and I just can't figure out how to talk to it .. as it uses this Slug thing I got ... and have not really a clue how it works
418: [08:51:55] * Adesso shakes the room... Wake up Adesso, why are you sleeping ?
419: [08:52:16] <Adesso> I just added the Controller function MetaDescriptiotn ..
420: [08:52:29] <Adesso> in the DataObject ..
421: [08:52:34] <Adesso> manno
422: [08:52:59] <Adesso> why I always try to make it so complicated
423: [08:53:13] <Adesso> thanks Marvanni
424: [08:55:38] * Marvanni2 has joined #silverstripe
425: [08:55:46] <Marvanni2> MetaTags is calling $this->MetaDescription. You need to change that the $this->MetaDescription()
426: [08:56:55] * Marvanni quit (Ping timeout: 272 seconds)
427: [08:58:58] * caamic30 has joined #silverstripe
428: [09:00:14] * Shrike_Finland quit (Quit: Leaving.)
429: [09:00:43] <Adesso> Marvanni2 ... I already do this.. thanks for the help.. works 100%
430: [09:01:03] <Adesso> really simple .. but was not that obvious too me
431: [09:01:20] * veb has joined #silverstripe
432: [09:03:22] * spronk2 has joined #silverstripe
433: [09:04:43] * spronk2 quit (Remote host closed the connection)
434: [09:05:07] * spronk2 has joined #silverstripe
435: [09:06:25] * veb quit (Ping timeout: 272 seconds)
436: [09:10:48] <Adesso> Just an General question: in the Page Template I call the functionName directly by name, but in the Page Layout Template I call the function indirectly with "get"functionName ... is this like a rule ?
437: [09:11:07] <spronk2> SS will automatically prepend get
438: [09:11:10] <spronk2> if needed
439: [09:13:12] <ss23> What the fuck is the point of adding @method comments on classes
440: [09:13:19] <ss23> Anything capable of parsing the file can just list the classes
441: [09:14:28] * actioussan has joined #silverstripe
442: [09:19:44] <Colin[pi]> ss23: because fuck you, that's why
443: [09:19:46] <Colin[pi]> :D
444: [09:19:59] <spronk2> lol?
445: [09:20:01] <ss23> :(
446: [09:20:04] <Pyreturnk> Adesso: if not found, trys for get<blah>
447: [09:20:16] <Pyreturnk> this way you can overide stuff without conflict, sometimes... etc.
448: [09:20:19] <spronk2> who's sticking @method on what, ss?
449: [09:20:21] <spronk2> ss23:
450: [09:20:49] <ss23> https://github.com/silverstripe/deploynaut/blob/master/code/model/DNEnvironment.php
451: [09:20:52] <ss23> there
452: [09:20:57] <ss23> @method I like duplication of stuff uselessly
453: [09:20:58] <spronk2> o_O
454: [09:20:58] <Adesso> Pyreturnk... aaaaaaahhhh so you can overide .... I get it ... cool
455: [09:21:00] <spronk2> waaaaaat
456: [09:21:06] <spronk2> whyyyy
457: [09:21:09] <Pyreturnk> Adesso: well... sorta.
458: [09:21:15] <Pyreturnk> more like non-conflict.
459: [09:21:29] <ss23> I DON'T KNOW
460: [09:21:36] <Pyreturnk> eg, template var same as an important function that does something else, or something, IDK
461: [09:21:42] <spronk2> oh
462: [09:21:44] <spronk2> i know ss23
463: [09:21:45] <spronk2> for code completion
464: [09:21:50] <Adesso> you could write a function that overide in the one Controller, and does not in another
465: [09:21:50] <spronk2> because those methods aren't in the class def
466: [09:22:02] <ss23> Ah, I see
467: [09:22:04] <Pyreturnk> but yes, Thing and getThing are equivalent
468: [09:22:08] <ss23> Meh
469: [09:22:08] <Pyreturnk> for the most part Adesso ^
470: [09:22:25] <spronk2> egh
471: [09:22:33] <Pyreturnk> when it comes to templates or antyhing that relies on __get()
472: [09:22:34] <spronk2> figuring out how to raid in linux
473: [09:22:34] <Adesso> ok ... just improving my understanding
474: [09:22:41] <spronk2> man pages are SO VERBOSE
475: [09:22:47] <Pyreturnk> spronk2: wow runs on linux now?
476: [09:22:49] <Pyreturnk> xD
477: [09:22:51] * Adesso knows raid in Linux is not that easy
478: [09:23:01] <spronk2> it sounds easy
479: [09:23:05] <spronk2> though to be fair
480: [09:23:12] <Adesso> just pry you don't have to rebiuld
481: [09:23:14] <spronk2> i'm converting 2 independent drives into a 4 disk raid 10
482: [09:23:16] <Pyreturnk> I have a mate that runs all the raids
483: [09:23:21] <Pyreturnk> I didn't know it wasn't easy
484: [09:23:53] <Adesso> MASTER Rule if using hardware Raid... buy a card
485: [09:23:54] * Gun21 has joined #silverstripe
486: [09:24:00] <spronk2> mm
487: [09:24:03] <spronk2> software raid for meee
488: [09:24:04] <Adesso> don't use the onboard .. ever
489: [09:24:19] <spronk2> annoyingly linux software raid seems to store software raid info on the drives themselves
490: [09:24:29] <spronk2> even in RAID1 configurations
491: [09:24:41] <spronk2> so... you can't just pull out one drive and use it as if it were a single drive..
492: [09:24:54] <spronk2> (you have to configure it as a degraded array or something)
493: [09:25:07] <Adesso> sound easy ey..
494: [09:25:18] <Adesso> :|
495: [09:25:40] <spronk2> there needs to be like
496: [09:25:44] <spronk2> raid-wizard
497: [09:25:44] * StefanLehmann_ has joined #silverstripe
498: [09:25:53] <Gun21> anyone knows where's the JS for inserting links into WYSIWYG editor?
499: [09:25:58] <spronk2> "How many drives do you have right now, in use?
500: [09:26:01] <Pyreturnk> so anyway Adesso, first you need MetaTags on the object.
501: [09:26:08] <spronk2> "How many drives do you want to use in your RAID"
502: [09:26:16] <spronk2> "Here is your best option."
503: [09:26:16] <Gun21> it has interesting issue when paired with Subsite module...
504: [09:27:13] <Adesso> Pyreturnk I biult the Object all ready for MetaDescriptions .. but just had a tuff time getting it rendered ..
505: [09:27:29] <Pyreturnk> just be in the right scope, then boom.
506: [09:27:31] <Adesso> with the simple approache of a dding a Controller Method.. it now works
507: [09:27:59] * StefanLehmann quit (Ping timeout: 244 seconds)
508: [09:28:01] <Pyreturnk> yeah, if you're adding a contrller method, then you were in the wrong scope ;)
509: [09:28:13] <Pyreturnk> if coupled with the slug business
510: [09:28:25] <Pyreturnk> then $Item.MetaTaggyThings
511: [09:28:44] <Pyreturnk> or <% with $Item %>$MetaTaggyThings<% end_with %>
512: [09:28:45] <Pyreturnk> etc
513: [09:28:55] <Pyreturnk> just template scope ;)
514: [09:29:41] <Adesso> that was it .. I used my Controller Method on my Extended DataObject.. and I guess it would not have worked if I did not use this Slug
515: [09:29:42] <Pyreturnk> in your case $Item may be $Article though, unsure. Depends on how much you copied and how much you modified to improve understanding :P
516: [09:30:07] <Pyreturnk> mm. Probably not.
517: [09:30:28] <Adesso> I seriously still have to get my head around the Slug ..
518: [09:30:40] <Adesso> it's ... slugging me .. ;P
519: [09:35:24] <Adesso> 7me is now getting to maybe just that... as he has to create the bitch-ass URL Field through the Slug in the admin... Like normal Page
520: [09:35:54] * Adesso am also contemplating replasing 7 with / on my keyboard
521: [09:37:01] <Pyreturnk> reet! Emails all read (discarded)
522: [09:37:06] <Pyreturnk> time for actual work!
523: [09:37:18] * Adesso is almost ready for Lunch
524: [09:37:21] <Colin[pi]> Pyreturnk: you go girl
525: [09:38:03] <Adesso> Pyreturnk - your a girl ?!?
526: [09:38:13] <Colin[pi]> lol
527: [09:38:19] <Colin[pi]> Adesso: just an expression
528: [09:38:23] <Adesso> phew
529: [09:38:41] * Adesso was like (o Y o) all over the #
530: [09:38:57] <Adesso> no offence to any girls that might be present
531: [09:40:18] * Pyreturnk attempts to remember passwords
532: [09:40:23] <Pyreturnk> dem hoidaeeeeez
533: [09:40:54] <Pyreturnk> Adesso: I can think of only one.
534: [09:41:07] <Pyreturnk> But that's not definitive.
535: [09:41:23] <Colin[pi]> Adesso: we have at least one in here
536: [09:41:29] <Adesso> I ma assuming actually that all are male..
537: [09:41:46] <Adesso> but I guess I am wrong
538: [09:41:55] <Pyreturnk> hahaaha "The internet, where the boys will be boys... and so will the girls."
539: [09:41:59] <Colin[pi]> lol
540: [09:42:04] <Colin[pi]> "no girls on the internet"
541: [09:42:10] <Pyreturnk> Not so true as it was when I was growing up!¬
542: [09:42:18] * zippy has joined #silverstripe
543: [09:42:23] * Guits quit (Ping timeout: 240 seconds)
544: [09:42:23] <Adesso> in the past 20 years of Coding .. I only ever met 1 girl..
545: [09:42:24] <Colin[pi]> Adesso: I met the one in here when I visited NZ so can confirm she's real lol
546: [09:42:33] <Pyreturnk> I've actually met adrexia, can confirm, if not female, very very convincing transgender.
547: [09:42:56] <Pyreturnk> (ie. actually female.)
548: [09:42:58] <Adesso> OMG
549: [09:43:09] <ocmnt> Pyreturnk, LISE
550: [09:43:10] <ocmnt> LIES*
551: [09:43:12] <Adesso> now look what I started
552: [09:43:17] <ocmnt> the interwebz only has boys
553: [09:43:19] <Pyreturnk> Adesso: there were lasses at the conference!
554: [09:43:25] <Pyreturnk> there is photographic evidence.
555: [09:43:31] <Colin[pi]> aye there was
556: [09:43:34] <Adesso> yup ..
557: [09:43:35] <Marvanni2> has anyone tried to make UploadField Sortable?
558: [09:43:35] <ocmnt> #16
559: [09:43:37] <ocmnt> period
560: [09:43:52] * Adesso was there... I can confirm
561: [09:43:55] <ocmnt> http://www.urbandictionary.com/define.php?term=Rule%2016
562: [09:44:04] <ocmnt> photographic evidence?
563: [09:44:08] <ocmnt> like the chinese moon invasion? :D
564: [09:44:16] <ocmnt> they had 'photo's' too
565: [09:44:45] <spronk2> adrexia is female? totally did not know that.
566: [09:44:47] <Pyreturnk> ocmnt: if by China you mean USA?
567: [09:45:04] <ocmnt> nah, kubrick is quite clear on that
568: [09:45:11] <Pyreturnk> spronk2: yes. Usability pro and SS wizard at ... that open source company.
569: [09:45:14] <Pyreturnk> I forget which one.
570: [09:45:17] <Colin[pi]> spronk2: https://github.com/adrexia
571: [09:45:17] <Marvanni2> I have like a obj has_many images. I try to add jQuery sortable to a set of UploadFields, but the sortable is not binding to the fields...
572: [09:45:18] <spronk2> mm
573: [09:45:20] <ocmnt> he was involved in recording of the moonlanding
574: [09:45:24] <Pyreturnk> oh, catalyst.
575: [09:45:25] <Pyreturnk> yeah
576: [09:45:26] <ocmnt> they did some tricks, landing on the moon was not a trick
577: [09:45:30] <Pyreturnk> I think that's right.
578: [09:45:42] <ocmnt> it was cheaper to do an actual moonlanding, then to fake it back in the day
579: [09:45:47] <spronk2> well, that's an interesting factoid
580: [09:45:51] <ocmnt> (yes they tried, but too expensive)
581: [09:46:08] * spronk2 goes back to testing his raid config in a vm
582: [09:46:18] * Adesso saves Rle 16 to long term mem
583: [09:46:26] <Adesso> Rule
584: [09:46:41] <Pyreturnk> heh, not sure that email is up to date there Colin[pi], adrexia :>
585: [09:46:56] <Colin[pi]> Pyreturnk: haha whoops
586: [09:47:02] <ss23> 22:44:46 < spronk2> adrexia is female? totally did not know that.
587: [09:47:03] <ss23> heh
588: [09:47:07] <ss23> Did you not meet her?
589: [09:47:12] <spronk2> no?
590: [09:47:21] <ss23> Hmm
591: [09:47:25] * spronk2 is a recluse and hasn't met any of you fuckers
592: [09:47:27] <ss23> Why not? Didn't you come here for something?
593: [09:47:28] <spronk2> except Pyreturnk
594: [09:47:28] <ss23> LAmer!
595: [09:47:30] <ss23> Everyone else came
596: [09:47:34] <ocmnt> haha
597: [09:47:35] <ss23> Pyreturnk came, Colin[pi] came
598: [09:47:43] <spronk2> ... wdcnz?
599: [09:47:43] <ocmnt> came by the hands of adrexia ss23?
600: [09:47:50] <ss23> lol
601: [09:47:57] <ocmnt> this gets disturbing
602: [09:48:04] <Adesso> getting.. is already
603: [09:48:11] <ocmnt> was conchita wurst there aswell? also a not-a-girl-girl on the interwebz
604: [09:48:15] <zippy> wb Pyreturnk
605: [09:48:21] <Pyreturnk> ss23: not this year I didn't ss23
606: [09:48:25] <ss23> Yeah, not this year
607: [09:48:28] <ss23> But I've met you twice, Pyreturnk
608: [09:48:28] <spronk2> ok everyone, before i forget my root pw for this vm is "ss23sucks"
609: [09:48:31] <Pyreturnk> ocmnt: o.0 dude, no.
610: [09:48:32] <ss23> spronk2: :(
611: [09:48:51] <zippy> Marvanni2: Why not use https://github.com/UndefinedOffset/SortableGridField
612: [09:49:04] <Pyreturnk> how about we don't marginalise an entire demographic of our community :<
613: [09:49:05] * Adesso bites his tongue ... The onbly one sucking in here .. is ....
614: [09:49:07] * Robke has joined #silverstripe
615: [09:49:24] <spronk2> hey
616: [09:49:43] <Pyreturnk> hurro zippy
617: [09:49:45] * Adesso tries to get back to the Slug again
618: [09:49:46] <spronk2> i just used the first thing that popped into my head
619: [09:49:56] <ss23> spronk2: Well I'm glad you think about me a lot, I guess?
620: [09:49:57] <ss23> :D
621: [09:50:01] <spronk2> haha
622: [09:50:05] <Robke> hello
623: [09:50:06] <spronk2> almost a comeback
624: [09:50:11] <spronk2> .... but not.
625: [09:50:12] <spronk2> :D
626: [09:50:17] <ocmnt> hi Robke
627: [09:50:20] <ss23> :P
628: [09:50:22] <spronk2> NO I DO NOT CARE ABOUT YOUR SOFTWARE CENTRE
629: [09:50:23] <ss23> spronk2: It was the best I could do!
630: [09:50:30] <spronk2> man
631: [09:50:39] <spronk2> ubuntu has finally graduated the microsoft 1999 school of advertising during installers
632: [09:50:41] <ocmnt> alrighty, I should get back to work
633: [09:50:41] <Pyreturnk> hello Robke :>
634: [09:51:13] <Robke> long time since last time Pyreturnk was here :))
635: [09:51:26] <Pyreturnk> I went away for a bit, now I'm back.
636: [09:51:34] <spronk2> Pyreturnk: have you been mugged again?
637: [09:51:39] <Pyreturnk> @ work *sigh*
638: [09:51:47] <Pyreturnk> spronk2: neg.
639: [09:51:54] <spronk2> surprising
640: [09:51:58] <Pyreturnk> I did almost get assaulted by a crazy woman though.
641: [09:51:59] <spronk2> good, obviously
642: [09:52:00] <spronk2> but surprising.
643: [09:52:01] <Pyreturnk> that was scary.
644: [09:52:01] * StefanLehmann_ quit (Ping timeout: 272 seconds)
645: [09:52:05] <spronk2> ha
646: [09:52:17] <spronk2> too much charm?
647: [09:52:24] <spronk2> didn't see the crazy eyes?
648: [09:52:24] <Pyreturnk> neg, too much crazy.
649: [09:52:53] <Pyreturnk> The easiest solution was simply to remove myself from the situation.
650: [09:52:53] * Marvanni has joined #silverstripe
651: [09:53:04] <spronk2> indeed
652: [09:53:11] <spronk2> exit, stage THE FUCK OUTTA HERE
653: [09:53:15] <Pyreturnk> it was while I was walking away that I realised that the pushchair she had with her far more than likely did NOT contain a child.
654: [09:53:33] <spronk2> .... what did you do to her
655: [09:53:48] <Pyreturnk> I was just in the general vicinity.
656: [09:54:01] <Pyreturnk> so I got out of the crazy radius.
657: [09:54:18] <spronk2> the
658: [09:54:21] <Gun21> "JS for inserting links into WYSIWYG editor... it has interesting issue when paired with Subsite module..."
659: [09:54:21] <spronk2> CRAY-DIUS
660: [09:54:23] <Pyreturnk> much calm, very reliefed, wow.
661: [09:54:35] * spronk2 cymbals
662: [09:54:35] <Pyreturnk> Gun21: there isn't any.
663: [09:54:37] <Gun21> narrowed it down to TinyMCE editor
664: [09:54:50] <Pyreturnk> would do you better to describe your issue.
665: [09:55:05] <spronk2> https://www.youtube.com/watch?v=b8-tXG8KrWs
666: [09:55:07] <spronk2> YES
667: [09:55:11] * Marvanni2 quit (Ping timeout: 272 seconds)
668: [09:55:18] <spronk2> thank you winamp for finally playing something i wanted to hear
669: [09:55:30] <Gun21> well, the problem occurs when you (try) to insert external link from subsite to main site
670: [09:55:58] <Gun21> if you use admin from main website url
671: [09:56:23] <Gun21> since editor strips main website url from link, although it's (kind of) external link
672: [09:56:25] <zippy> winamp... wow
673: [09:56:30] <Pyreturnk> Gun21: you mean it doesn't pre-pend the page's assigned subsite's domain?
674: [09:56:42] <Gun21> because you're editing subsite, not main
675: [09:56:42] <spronk2> zippy: it really whips the llama's ass
676: [09:56:49] <zippy> indeed :D
677: [09:56:49] <Gun21> no
678: [09:56:55] <zippy> memories
679: [09:57:05] <spronk2> it's making a comeback soon apparently zippy
680: [09:57:12] <Pyreturnk> Gun21: so when you're editing the main, you insert a link to a subsite... and ???
681: [09:57:23] <Gun21> Pyreturnk: let's say you have main website at example.com and subsite at examplesub.com
682: [09:57:23] <Pyreturnk> spronk2: really?
683: [09:57:31] <Pyreturnk> nullsoft or some other folk?
684: [09:57:50] <Gun21> you open example.com/admin, switch (via dropdown) to subsite
685: [09:57:50] <spronk2> Pyreturnk: www.winamp.com
686: [09:58:16] <Gun21> url stays example.com/admin, but you're now editing subsite
687: [09:58:35] <spronk2> think they bought it mainly for shoutcast
688: [09:58:36] <Gun21> open any page on subsite, and try to insert external link to any example.com pafe
689: [09:58:37] <Pyreturnk> spronk2: yeah, but isn't it owned by AOL or some busllhit now?
690: [09:58:39] <Gun21> *page
691: [09:58:43] <spronk2> Pyreturnk: nah, AOL sold it to someone
692: [09:58:47] <spronk2> who is now.. going to revive it
693: [09:58:55] <spronk2> its not nullsoft
694: [09:59:03] <spronk2> who were quite possibly the coolest software development company ever
695: [09:59:07] <spronk2> but.... ITS NOT AOL EITHER!
696: [09:59:15] <Gun21> but the editor strips example.com and leaves url segment
697: [09:59:28] <Pyreturnk> Gun21: so...
698: [09:59:45] <spronk2> Gun21: hmm, what type of thing are you linking to?
699: [09:59:46] <Gun21> resulting in 404 page since it's now linked to (non-existing) subsite pafe
700: [09:59:49] <Gun21> *page
701: [09:59:50] <Pyreturnk> how are you adding this 'external link'?
702: [09:59:53] <ocmnt> didn't winamp get adopted by the community for further development?
703: [09:59:53] <spronk2> a page? virtual page?
704: [10:00:10] <spronk2> ocmnt: not quite... bought by "Radionomy"
705: [10:00:17] <ocmnt> incl. shoutcast?
706: [10:00:20] <spronk2> ya
707: [10:00:52] <spronk2> winamp am da beast
708: [10:01:28] <Gun21> Pyreturnk: select text in editor -> Insert link (pop up shows up) -> Link to: "Another website" -> paste main website page url -> Insert Link
709: [10:01:34] <Pyreturnk> Yeh I still use winamp :>
710: [10:01:39] <spronk2> HIGH FIAVE
711: [10:01:45] <Pyreturnk> Gun21: hmm, interesting.
712: [10:01:59] <Pyreturnk> what happens if you're not editing a website and you put in an external link to the same site?
713: [10:02:22] <spronk2> Gun21: isn't there an option that is like.. page on a subsite?
714: [10:02:37] <Pyreturnk> lol.
715: [10:02:47] <ocmnt> spronk2, why not foobar2000?
716: [10:02:54] <spronk2> ocmnt: hate the UI with a passion
717: [10:03:18] <Pyreturnk> just went to log into an SS site as admin for the first time in a long time, and suddenly find myself automatically typing out the password of my old employer I haven't worked at for more than a year
718: [10:03:25] <Pyreturnk> oh, *almost*
719: [10:03:27] <Gun21> spronk2: 'Page on the site', 'Another website', 'Anchor on this page', 'Email address', 'Download a file'
720: [10:03:27] <ocmnt> spronk2, use themes
721: [10:03:42] <Gun21> those are options
722: [10:03:47] <spronk2> ocmnt: mm, tried that, never found anything i liked. mainly the playlist handling
723: [10:04:00] <spronk2> Gun21: oh, hmm.. does Page on this site have a link of subsites ?
724: [10:04:10] <Gun21> nope
725: [10:04:12] <spronk2> hmm
726: [10:04:16] <spronk2> the hell am i thinking of then
727: [10:04:38] <Gun21> since Subsite implements augmentSQLQuery and filters out all other pages (from main/other subsites)
728: [10:04:53] <spronk2> well
729: [10:05:05] <spronk2> i'm going to put my foot out and say it's probably yet another stupid big in subsites
730: [10:05:09] <spronk2> yasbis
731: [10:05:19] <Gun21> actually, no
732: [10:05:21] <Otterpocket> If anyone here uses Grooveshark, here is a 1 month VIP subscription grooveshark.com/redeem/RDMF6D775EBA
733: [10:06:05] * Error404NotFound has joined #silverstripe
734: [10:06:13] <Pyreturnk> Gun21: spronk2 hmm, correct he is! SS creates relative from absolute.
735: [10:06:13] * irgbit quit (Read error: Connection reset by peer)
736: [10:06:28] <Pyreturnk> seemingly if it's a domain it knows about (ie, was loaded on that domain).
737: [10:06:33] <spronk2> yeah
738: [10:06:35] <Gun21> in HtmlEditorField.js, method insertLink, in the end it sends url to TinyMCE editor, and URL is still correct (not stripped)
739: [10:06:36] * Err404NotFound quit (Ping timeout: 250 seconds)
740: [10:06:36] <Pyreturnk> so could be JS, could be PHP.
741: [10:06:44] <Pyreturnk> Gun21: it's a module, not a single file.
742: [10:06:48] * irgbit has joined #silverstripe
743: [10:06:48] <spronk2> i thought the popup got added to with subsites
744: [10:06:56] <spronk2> but apparently not
745: [10:06:57] <Pyreturnk> you'll need to be prepared to commit the fix bac to core
746: [10:07:04] <spronk2> or maybe it did, and then something regressed
747: [10:07:07] <spronk2> subsites is full of bugs
748: [10:07:08] <Pyreturnk> spronk2: nah, it's default popup
749: [10:07:17] <spronk2> subsites is a bug
750: [10:07:27] <spronk2> i'm sure i've done this though
751: [10:07:32] <ss23> spronk2 loves subsites
752: [10:07:33] <spronk2> AH
753: [10:07:36] <spronk2> what was my root password
754: [10:07:37] <ss23> I should do a commit -> maintainer: spronk2
755: [10:07:40] <ss23> ;_;
756: [10:07:42] <ss23> SO MEAN, spronk2!
757: [10:07:43] <ss23> :(
758: [10:07:49] <spronk2> THATS RIGHT
759: [10:07:51] <spronk2> thanks ss23
760: [10:07:53] <Gun21> Pyreturnk: what's "a module, not a single file"?
761: [10:07:56] <ss23> lol
762: [10:08:03] * spronk2 actually did need it right then
763: [10:08:06] <ss23> spronk2: I gotta admit... that was good. You can pull it out again and again...
764: [10:08:09] <Pyreturnk> Gun21: it's a plugin for tinymce
765: [10:08:11] <spronk2> :D
766: [10:08:21] * spronk2 isn't usually this mean
767: [10:08:30] <ss23> spronk2: Is it the subsites making you mean?
768: [10:08:34] <spronk2> yes!
769: [10:08:46] <ss23> It's okay, I'm dealing with stupid mistakes I keep making
770: [10:08:56] <ss23> Been like 2 weeks for something that should've been 2 days!
771: [10:09:12] <spronk2> Gun21: what's the use case for linking to the subsite page?
772: [10:09:21] <spronk2> ss23: yeah, i know that feeling
773: [10:09:27] * spronk2 has been working on the same 3 month project for the last 9 months
774: [10:09:35] <Gun21> spronk2: it's other way around - linking from subsite to main website
775: [10:09:36] <spronk2> i guess that means it wasn't a 3 month project, but yknow
776: [10:09:52] <spronk2> Gun21: ah, ok - i'm presuming it's something that really shouldn't be in the tree of the main website?
777: [10:09:52] <ss23> lol
778: [10:09:57] <Gun21> well, use case is "we want link from subsite to main website" :)
779: [10:10:32] <ss23> Hmm, we do that
780: [10:10:34] <ss23> I think
781: [10:10:43] <ss23> It seems to work for me if I just go "link absolute URL"
782: [10:10:51] <Pyreturnk> ss23: no it doesn't.
783: [10:10:57] <spronk2> yeah, it strips the absolute part
784: [10:10:58] <Gun21> nope, it's actually link from sidebar on subsite to a page on main website
785: [10:11:08] <Pyreturnk> eg enter in absolute link to any page on the SAME domain.
786: [10:11:09] <spronk2> from sidebar?
787: [10:11:12] <spronk2> hmmm
788: [10:11:17] <spronk2> does it need to be editable? :P
789: [10:11:19] <ss23> Oh, I realised why it works
790: [10:11:25] <ss23> We're linking to the live site, which the staging site doesn't know about
791: [10:11:27] <Gun21> ss23: if you open subsite admin through subsite url, it works correct
792: [10:11:47] <spronk2> oh?
793: [10:12:02] <spronk2> but i guess you can never edit the page under the non-subsite URL otherwise it'll strip it back
794: [10:12:11] <spronk2> thaaat's gonna be a tricky one to solve.
795: [10:12:14] <Gun21> but if you open main website, switch to subsite and then insert link, it strips absolute url
796: [10:12:28] * spronk2 nominates ss23
797: [10:12:34] <ss23> lol
798: [10:12:38] <spronk2> he's great at fixing this sort of thing
799: [10:12:41] <Pyreturnk> spronk2: Gun21 in this case it would seem to be JS indeed, testing window.href
800: [10:12:41] <Gun21> I would bet that the problem is in TinyMCE itself, not the SS
801: [10:12:51] <ss23> Gun21: Tell you what, you fix it, and I'll just update to the latest version of subsites/tinymce etc, and my client will be happy
802: [10:12:52] <Pyreturnk> errr, window.location
803: [10:12:55] <ss23> :D
804: [10:13:09] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
805: [10:13:34] <spronk2> so, when does silverstripe insert a non-url placeholder?
806: [10:13:41] <Pyreturnk> Gun21: ss23 spronk2 same thing happens when you enter in any link on the current domain.
807: [10:13:47] <spronk2> yeah
808: [10:13:48] <spronk2> it's tiny
809: [10:13:50] <Pyreturnk> subsites or not
810: [10:14:01] <spronk2> you can turn it off with relative_urls = false tiny setting
811: [10:14:02] <Pyreturnk> is it tiny itself or the ss button though?
812: [10:14:08] <Gun21> Pyreturnk: yes, but that's actually desired functionality
813: [10:14:28] <Pyreturnk> Gun21: doesn't seem very desired to me :<
814: [10:14:36] <spronk2> i think
815: [10:14:38] <Gun21> when you add link to the same site, it doesn't have to be absolute
816: [10:14:41] <spronk2> it's because silverstripe will be setting tinymce's base domain
817: [10:15:01] <Pyreturnk> Gun21: yes but it doesn't impact anything (regardless of what SEO chobs will tell you)
818: [10:15:05] <Gun21> spronk2: where?
819: [10:15:11] <spronk2> hmm
820: [10:15:18] <spronk2> is tinymce setting core ?
821: [10:15:31] * caamic30 quit (Quit: caamic30)
822: [10:15:33] <spronk2> i think it is...
823: [10:15:34] <Gun21> Pyreturnk: less chars in database? :)
824: [10:15:52] <Pyreturnk> http://www.tinymce.com/tryit/url_conversion.php
825: [10:15:52] <Pyreturnk> ?
826: [10:15:58] <Pyreturnk> Gun21: meh?
827: [10:16:00] <Pyreturnk> :P
828: [10:16:09] <Gun21> changing domain name without having to edit bunch of records in database?
829: [10:16:42] <spronk2> alternatively, CNAME'd sites
830: [10:17:25] <spronk2> sooo
831: [10:17:28] <spronk2> Gun21:
832: [10:17:28] <Pyreturnk> Gun21: yes, I'm not saying it's bad, just... a pain in this case.
833: [10:17:40] <spronk2> you might be able to override the HtmlEditorConfig
834: [10:17:49] <Gun21> spronk2: I asked "where" for this: "<spronk2> it's because silverstripe will be setting tinymce's base domain"
835: [10:17:50] <Pyreturnk> I was trying to find that setting
836: [10:18:13] <Pyreturnk> Gun21: api.silverstripe.org/3.1/class-HTMLEditorConfig
837: [10:18:16] <Pyreturnk> or soemthing like that
838: [10:18:22] <spronk2> HtmlEditorConfig::get('basic')->setOptions(array('convert_urls' => false))
839: [10:18:23] <spronk2> maybe
840: [10:18:48] <Pyreturnk> oops, forgot the .html
841: [10:18:49] <spronk2> broken link
842: [10:18:57] <Pyreturnk> http://api.silverstripe.org/3.1/class-HtmlEditorConfig.html
843: [10:19:58] <spronk2> possibly
844: [10:20:02] <spronk2> 'default' instead of 'basic'
845: [10:20:12] * spronk2 has no idea what else this might break though
846: [10:20:39] <Pyreturnk> yeah, cms loads once, not repeatedly :<
847: [10:20:59] <spronk2> hm?
848: [10:21:06] <Pyreturnk> so tinymce will already be configured for normal pages, thus you have to disable it globally.
849: [10:21:14] <spronk2> yeah
850: [10:21:27] <Pyreturnk> it shouldn't break anything, unless it does the opposite and starts ADDING the current domain to ALL links
851: [10:21:30] <spronk2> tbh, it's not really a solution more a dirty plug hack
852: [10:21:45] <Pyreturnk> no, it's not a solution.
853: [10:22:02] <Pyreturnk> but the only feasible solution at this point is not using TinyMCE, which is a hell of a thing.
854: [10:22:08] <Gun21> spronk2: Pyreturnk HtmlEditorConfig::get('cms')->setOptions(array('convert_urls' => false));
855: [10:22:14] <spronk2> Pyreturnk: wouldn't do other weird stuff with sitetree links or image links or anything?
856: [10:22:25] <spronk2> Gun21: you'll probably ahve to stick that in mysite/_config.php
857: [10:22:26] <Pyreturnk> Gun21: you can pu tthat in your mysite/_config.php
858: [10:22:40] <Gun21> yeah
859: [10:22:48] <Gun21> it works...
860: [10:22:54] <Gun21> but only half way through...
861: [10:22:54] <Pyreturnk> Serbia?
862: [10:23:01] <Pyreturnk> half way?
863: [10:23:04] <spronk2> hmm?
864: [10:23:05] <Gun21> Pyreturnk: what?
865: [10:23:22] <Gun21> "<Pyreturnk> Serbia?"?
866: [10:23:26] <Pyreturnk> Gun21: what do you mean by 'only half way though'?
867: [10:23:31] <Pyreturnk> Gun21: oh, are you from Serbia?
868: [10:23:40] <Gun21> yeah
869: [10:23:56] <Pyreturnk> cool, I think you're the first user I've known about from Serbia :>
870: [10:24:04] * caamic30 has joined #silverstripe
871: [10:24:08] <Gun21> I know three actually...
872: [10:24:18] <Gun21> plus me :)
873: [10:24:21] <Gun21> any way
874: [10:24:34] <spronk2> awesome
875: [10:24:45] <Gun21> when I added config, it DID stop stripping absolute url
876: [10:25:08] <Pyreturnk> There are a number of Slovenians, a handful of Slovakians, a few Polish, I think maybe there was a Croatian once, but you're the first Serb I've seen :)
877: [10:25:15] <Gun21> but when you click "Edit link", it's stripped in SS popup
878: [10:25:19] <Pyreturnk> It's cool to see how SS grows in various parts of the world :)
879: [10:25:27] <spronk2> stripped in ss popup
880: [10:25:30] <spronk2> fffffff
881: [10:25:48] <Pyreturnk> stripped in the popup?
882: [10:25:53] <Gun21> yup
883: [10:26:09] <Pyreturnk> for editing or adding?
884: [10:26:18] <Gun21> absolute part is removed, although in html of editor everything is correct
885: [10:26:33] <Gun21> when you edit absolute link
886: [10:26:40] <Pyreturnk> so it is only an issue for editing. hmm.
887: [10:26:48] <spronk2> hmm
888: [10:26:50] <spronk2> is tiny in framework or cms?
889: [10:26:59] <Pyreturnk> Framework
890: [10:27:13] <Pyreturnk> can edit html in more than just cms ;)
891: [10:27:23] <spronk2> good point
892: [10:27:30] <Pyreturnk> it's a form field.
893: [10:27:37] <spronk2> file browser callback..
894: [10:27:40] <Pyreturnk> Gun21: did you go to the SilverStripeEU meetup?
895: [10:27:45] <Pyreturnk> err, conference*
896: [10:28:22] <Gun21> nope, when was it?
897: [10:28:40] <spronk2> hmm
898: [10:28:48] <Pyreturnk> Gun21: http://silverstripe-europe.org/sponsors/
899: [10:28:50] <spronk2> javascript/HtmlEditorField.js
900: [10:28:53] <Pyreturnk> last weekend :<
901: [10:29:00] <spronk2> https://github.com/silverstripe/silverstripe-framework/blob/dc06bd92394bb3ffc758c92fdb79b32b7e0b3b41/javascript/HtmlEditorField.js
902: [10:29:09] <spronk2> https://github.com/silverstripe/silverstripe-framework/blob/dc06bd92394bb3ffc758c92fdb79b32b7e0b3b41/javascript/HtmlEditorField.js#L216
903: [10:29:10] <Pyreturnk> Not far from you! (comparitively)
904: [10:29:16] <Gun21> shiiiiiit
905: [10:29:40] <Pyreturnk> D:
906: [10:29:57] <spronk2> WELL DONE WHOEVER WROTE THAT
907: [10:30:01] <Pyreturnk> Gun21: you should still join the mailing list and join the meetup.com group though, be in on the next event/discussions :)
908: [10:30:23] <actioussan> Hi everybody, I want to edit the content of a summary_field with setFieldFormatting, but don't know how to do that.. $summary_fields->setFieldFormatting('myColumn'=>'<a href=/"/">$myColumn</a> is not working (php error)
909: [10:30:24] <Pyreturnk> Gun21: well, whenever the mailing list is started... hehe. Doesn't exist yet so far as I know.
910: [10:32:33] <Gun21> spronk2: http://www.sspaste.com/paste/show/54365f20c1ea9
911: [10:32:51] <spronk2> i'm not sure if that's what's doing it
912: [10:32:52] <spronk2> but
913: [10:32:53] <spronk2> it looks suspicious
914: [10:33:06] <spronk2> though
915: [10:33:12] <spronk2> it checks convert_urls setting
916: [10:33:17] <spronk2> so maybe it's somewhere else
917: [10:33:23] <Gun21> works like a charm with sspaste above
918: [10:33:38] <spronk2> oh i see
919: [10:33:38] <spronk2> you added
920: [10:33:39] <spronk2> mm
921: [10:33:43] <spronk2> you should submit that patch to core
922: [10:34:03] <Gun21> you pointed me to the right place
923: [10:34:14] <spronk2> ss23: here's a sort of fix for you :P
924: [10:34:42] <ss23> Someone just said I can turn off that relative_url option, right?
925: [10:34:43] <ss23> :O
926: [10:34:50] <spronk2> well
927: [10:34:52] <spronk2> dno
928: [10:35:02] <ss23> I'll bookmark though ty
929: [10:35:02] <spronk2> i can't think of anything it would really affect
930: [10:35:28] <zippy> actioussan: what are you actually trying to make the summary field show, some html?
931: [10:35:38] <ss23> Added to my bookmark as: TRANSLATION URL BUG LOL FUTURE ME PLS FIX
932: [10:35:46] <spronk2> :D
933: [10:35:55] * spronk2 has a delicious tag FUTURE SELF
934: [10:36:23] <actioussan> zippy: yes I want to display a link in the table and the link address is the value of 'myColumn'
935: [10:36:38] <zippy> actioussan: you can use a LiteralField...
936: [10:37:13] <spronk2> inside a summary field?
937: [10:37:27] <ss23> spronk2: https://github.com/silverstripe/deploynaut/blob/master/code/model/DNEnvironment.php#L567
938: [10:37:28] <zippy> so, $summary_fields = array('getFooDisplay' => 'Column'); then function getFooDisplay() { return LiteralField::create('xx', '<p>My htmls!</p>'); }
939: [10:37:43] <Gun21> actioussan: check SiteTree::getCMSFields(), look for DependentPages piece of code
940: [10:37:46] <zippy> spronk2: have to spit it to a function
941: [10:37:59] <spronk2> ah
942: [10:38:00] <spronk2> yeah
943: [10:38:14] <Gun21> you'll find how to put link in Gridfield there
944: [10:38:52] <actioussan> thanks, I'll have a lokk at it
945: [10:38:56] <actioussan> look*
946: [10:39:05] <zippy> actioussan: so, $summary_fields = array('getFooDisplay' => 'Column'); then function getFooDisplay() { return LiteralField::create('xx', '<p>My htmls!</p>'); }
947: [10:39:32] <zippy> so with a form you can save the details into an object, like $form->saveInto($submission);
948: [10:39:53] <zippy> is there a way I can mass assign an array to an object - similar to that?
949: [10:40:02] <spronk2> yes.
950: [10:40:05] * Gun21 off to break, brb
951: [10:40:11] <zippy> spronk2: oh?
952: [10:40:14] <zippy> fill()?
953: [10:40:31] <zippy> not fill..
954: [10:40:33] <spronk2> iiii am trying to remember the name of the method
955: [10:41:01] <spronk2> update ?
956: [10:41:30] <spronk2> http://api.silverstripe.org/3.1/source-class-DataObject.html#793-851
957: [10:41:56] <zippy> yes it is
958: [10:42:03] * zippy pats spronk2 on the back
959: [10:42:40] * ss23 gives spronk2 a sugarcube
960: [10:42:46] * spronk2 WOOF
961: [10:42:47] <ss23> Give that spronk2 a chocolate fish!
962: [10:43:17] <spronk2> though
963: [10:43:21] <spronk2> it's not quite the same as what saveInto does
964: [10:43:22] * Robke quit (Ping timeout: 246 seconds)
965: [10:43:27] <spronk2> which
966: [10:43:28] <spronk2> is surprising
967: [10:44:13] <spronk2> saveInto seems to iterate and do each one individually
968: [10:44:15] <actioussan> zippy: how can I pass the value of 'myColumn' to the function getFooDisplay()?
969: [10:44:26] <zippy> $this->myColumn
970: [10:44:27] <spronk2> actioussan: $this->myColumn
971: [10:45:15] * Err404NotFound has joined #silverstripe
972: [10:45:15] * Error404NotFound quit (Disconnected by services)
973: [10:45:24] <zippy> actioussan: LiteralField::create('xx', "<a href="/mylink/{$this->myColumn}">Click me</a>");
974: [10:46:23] <Pyreturnk> fuck yeah SOAD
975: [10:46:38] <spronk2> IIIIEEEAAAAIIIIOOOOOAAAAAIIIIOOOOO
976: [10:46:39] <ss23> Anyone have on hand a rule for redirecting www to non www in .htaccess?
977: [10:46:44] <ss23> I'm sure we have it for a bunch of sites...
978: [10:47:07] <Pyreturnk> [11:46] <spronk2> IIIIEEEAAAAIIIIOOOOOAAAAAIIIIOOOOO
979: [10:47:10] <ss23> actually I might just find it
980: [10:47:13] <Pyreturnk> So I read this line just as it starts
981: [10:47:16] <Pyreturnk> how did you know?
982: [10:47:18] <Pyreturnk> xD
983: [10:47:25] <spronk2> IM IN TUNE BRO
984: [10:47:33] <spronk2> TO THAT FREQUENZCY
985: [10:48:25] <Pyreturnk> Actually I listened to your crap strokes song, which took me to chop suey
986: [10:48:31] <spronk2> lol
987: [10:48:35] <spronk2> you mean, awesome strokes song
988: [10:48:46] <Pyreturnk> just so happened that aerials was playing when you typed that, liek OMG WAW
989: [10:48:53] <spronk2> one of my friends back in high school made a video to Toxicity
990: [10:48:54] <Pyreturnk> spronk2: nope, they sound like they've had strokes.
991: [10:49:01] <spronk2> it was effing awesome
992: [10:49:06] * spronk2 should find it and upload it to youtube
993: [10:49:12] <ss23> Are we talking IRL, or AMV or something?
994: [10:49:20] <spronk2> made some IRL footage
995: [10:49:21] <Pyreturnk> lel amv.
996: [10:49:24] <spronk2> mixed it with some random stock footage
997: [10:49:28] <spronk2> like..
998: [10:49:30] <spronk2> tigers jumping
999: [10:49:30] <ss23> Cause one of my friends did a mashup of a bunch of Devil May Cry videos for Chop Suey that I thought was awesome at the time
1000: [10:49:31] <spronk2> and planes crashing
1001: [10:49:33] <ss23> Shit was *badass*
1002: [10:49:36] <spronk2> it was brilliant
1003: [10:49:53] <Pyreturnk> amv, I remember this one to DBZ
1004: [10:50:04] <Pyreturnk> in fact, a whole bunch fo them, lol.
1005: [10:50:14] <Pyreturnk> since it was 'the thing' back then.
1006: [10:51:16] <Pyreturnk> windowsnetworking.com - is this an oxymoron?
1007: [10:51:24] <spronk2> :D
1008: [10:52:43] <Pyreturnk> Authenticating Linux against Active Directory One thing to keep in mind is that – even when signed on in active directory - it doesn't offer a complete single sign on – yet.
1009: [10:53:04] <spronk2> FOUND IT
1010: [10:53:05] <spronk2> YES
1011: [10:53:06] * spronk2 uploads
1012: [10:53:14] <spronk2> shit this is terrible 2001 quality divx
1013: [10:53:16] <Pyreturnk> Not sure if chappy understands single sign on
1014: [10:53:17] <actioussan> zippy: thanks, it worked!
1015: [10:53:26] <spronk2> loool
1016: [10:53:34] <Pyreturnk> then again, he does use the word 'complete', so I guess that's still right, although it was written in 2004
1017: [10:55:37] * Marvanni quit (Ping timeout: 245 seconds)
1018: [10:56:11] <spronk2> man
1019: [10:56:12] <spronk2> toxicity
1020: [10:56:16] <spronk2> is an insanely good song
1021: [10:56:26] <spronk2> especially that slow
1022: [10:56:32] <spronk2> dun DUN dun DUN dun DUn dun DUN bit
1023: [10:56:37] * Marvanni has joined #silverstripe
1024: [10:56:51] <spronk2> almost uploaded
1025: [10:58:05] * stephanvd has joined #silverstripe
1026: [10:58:12] <spronk2> Pyreturnk: ss23 https://vid.me/VXf
1027: [10:59:07] <spronk2> wow vidme is slow
1028: [10:59:32] <ss23> THIS ISn'T RL SO FAR
1029: [10:59:42] <spronk2> a few bits of it are
1030: [10:59:46] <ss23> omg intense plane landing
1031: [10:59:46] <spronk2> this is from like 2001 man
1032: [10:59:49] <ss23> that was pretty intense
1033: [11:00:03] <zippy> dude landed that plane like a boss!
1034: [11:00:08] <ss23> trudat
1035: [11:00:09] <zippy> ss23: isn't that like coming into welly?
1036: [11:00:18] <ss23> Well...
1037: [11:00:25] <ss23> Yes, but nor normally in a plane quite that big
1038: [11:00:27] <ss23> I dunno
1039: [11:00:32] <ss23> Wellington is pretty bad I guess
1040: [11:00:39] <ss23> Most times I've been flying it's been fine though :D
1041: [11:00:53] <ss23> Man
1042: [11:01:06] <ss23> This is just as disjointed as an AMV, but with real life pictures!
1043: [11:01:14] <spronk2> its aweosme.
1044: [11:01:21] <spronk2> i can't really quantify why
1045: [11:01:26] <spronk2> but it is
1046: [11:01:29] <Colin[pi]> it was bumpy when I landed but, eh, not too bad
1047: [11:01:40] <ss23> https://www.youtube.com/watch?v=F0CUYcLeAZA dude this one is devil may cry!
1048: [11:02:05] <ss23> Man, age does not treat video well...
1049: [11:02:09] <ss23> Death by a thousand re-encodes
1050: [11:02:10] <spronk2> nope
1051: [11:02:22] <ss23> WAKE UP
1052: [11:02:24] <ss23> ASDFKNASDFKASDNFKSADNFKSDAFNK MAKE UP
1053: [11:02:26] <ss23> KASDNFAKSDFNADSKFNASKFDN SHAKE UP
1054: [11:02:27] <spronk2> lawl
1055: [11:02:29] * veb has joined #silverstripe
1056: [11:02:41] * spronk2 is proud to say he has that album. ON COMPACT FUCKING DISC
1057: [11:02:45] <ss23> hahhaa
1058: [11:02:50] <spronk2> bet you haven't heard of those ss23
1059: [11:02:55] <ss23> How old are you again?
1060: [11:03:01] <ss23> Technically I've bought two CDs ever
1061: [11:03:02] <spronk2> WIZARDLY
1062: [11:03:04] <zippy> when creating a member... setting the password do you just use changePassword?
1063: [11:03:12] <zippy> spronk2: that and distrubed
1064: [11:03:18] <ss23> Once of them I only just got while I was in Japan!
1065: [11:03:29] * spronk2 owns many many many cds
1066: [11:03:34] <spronk2> most of them from realgroovy's <$5 bins
1067: [11:03:35] * Guits has joined #silverstripe
1068: [11:04:11] <spronk2> must have close to 50
1069: [11:04:12] <spronk2> 0
1070: [11:04:18] <ss23> They're just so space ineffiecent! think of a 8TB HDD
1071: [11:04:22] <spronk2> mm
1072: [11:04:25] <spronk2> this is my dilemma now
1073: [11:04:25] <ss23> All the CDs ever in a little more space
1074: [11:04:31] <ss23> Then again, I have books
1075: [11:04:35] <spronk2> dont want to sell them, because they are kinda cool
1076: [11:04:44] <spronk2> though, cbf ripping them all
1077: [11:04:45] <Colin[pi]> spronk2: make good frisbees
1078: [11:05:07] <ss23> shit, guess I have to listen to some SOAD now
1079: [11:05:13] <spronk2> also i have a much better cdp than i ahve a dac so..
1080: [11:05:22] <Colin[pi]> spronk2: did you ever have minidiscs?
1081: [11:05:34] * spronk2 wanted minidiscs so hard.
1082: [11:05:41] <spronk2> ever since i saw them used once in a movie for data discs
1083: [11:05:49] <spronk2> i was drooling over their little encased shiny discular awesome
1084: [11:05:51] <Colin[pi]> they were the shit back in the day
1085: [11:06:10] <spronk2> in fact
1086: [11:06:12] <spronk2> now that i think about it
1087: [11:06:14] <spronk2> that was the fucking matrix
1088: [11:06:24] <spronk2> in neo's little hidey book
1089: [11:06:29] <spronk2> this must be on youtube
1090: [11:06:36] <ss23> lol
1091: [11:06:36] <spronk2> https://www.youtube.com/watch?v=xEP4fXRWImU
1092: [11:06:38] <spronk2> !!!
1093: [11:06:51] <spronk2> the internet, purveyor of everything ever
1094: [11:07:02] <ss23> THEY'RE TRYINA BUILD A PRSIM
1095: [11:07:08] <Colin[pi]> spronk2: the simulcra simulation book or whatever?
1096: [11:07:12] <spronk2> :D
1097: [11:07:28] * veb quit (Ping timeout: 260 seconds)
1098: [11:07:35] * spronk2 pretty much modelled his bedroom on neo's apartmnet back in the early 2000s
1099: [11:07:38] <Colin[pi]> lol
1100: [11:07:58] <Colin[pi]> mine too pretty much
1101: [11:08:06] <Colin[pi]> love that movie, need to rewatch some time
1102: [11:08:07] * Guits quit (Ping timeout: 245 seconds)
1103: [11:08:14] <spronk2> like right now
1104: [11:08:16] <spronk2> excellent idea, Colin[pi]
1105: [11:08:46] * Guits has joined #silverstripe
1106: [11:09:07] <spronk2> no. must stop procrastinating raid setup
1107: [11:09:17] <ss23> XD
1108: [11:11:10] <spronk2> gotta say, he did a pretty good job of a video for toxicity
1109: [11:11:18] <spronk2> i especially like the slowmo animals
1110: [11:11:39] <Colin[pi]> jesus fuck... blood curdling scream from the bathroom... gf saw a mouse
1111: [11:11:47] <spronk2> hahaha
1112: [11:12:54] * NobrainerWeb has joined #silverstripe
1113: [11:13:00] <NobrainerWeb> hi guys
1114: [11:13:28] <spronk2> hi NobrainerWeb
1115: [11:14:19] <NobrainerWeb> Trying to create a composer.json that will be a starting point for all of my projects - everything works except that the silverstripe/installer ends up inside a vendor folder
1116: [11:14:34] <spronk2> you don't even really need silverstripe/installer
1117: [11:14:55] <NobrainerWeb> i have "require": {"silverstripe/installer": "3.1.6"}
1118: [11:15:09] <NobrainerWeb> spronk2: what about assets then?
1119: [11:15:20] <spronk2> hmm
1120: [11:15:23] <kinglozzer> NobrainerWeb: The folder will be created automatically as soon as you try to upload something
1121: [11:15:26] <spronk2> yeah
1122: [11:15:45] <kinglozzer> We do the same (have a composer.json to kick off projects with)
1123: [11:15:55] <NobrainerWeb> should i just use the ConfigureFromEnv.php file then, not running an installation?
1124: [11:16:19] <NobrainerWeb> hmm there’s also no htaccess file in the root then
1125: [11:16:31] <kinglozzer> NobrainerWeb: Yeah, that's what we do. And just add the .htaccess to your repo
1126: [11:17:05] <NobrainerWeb> kinglozzer: ok cool
1127: [11:17:22] <NobrainerWeb> thx for the help guys, will do some more testing
1128: [11:17:34] <kinglozzer> NobrainerWeb: This is ours: https://github.com/feejin/Silverstripe-CleanInstall
1129: [11:18:03] <kinglozzer> We have a post "composer install" script to rename folders, update DB credentials etc
1130: [11:18:16] <spronk2> box-sizing polyfill by default
1131: [11:18:17] <spronk2> my man.
1132: [11:18:46] <kinglozzer> ;D
1133: [11:18:56] <spronk2> uh h
1134: [11:19:01] <spronk2> my ubuntu vm froze
1135: [11:19:05] <NobrainerWeb> thx for sharing that
1136: [11:19:55] <Pyreturnk> Colin[pi]: tell her to harden the fuck up or you'll start collecting pet spiders.
1137: [11:20:07] <spronk2> :D
1138: [11:37:24] * Adesso has a MiniDisk player and lots of disks
1139: [11:37:26] <Colin[pi]> *sigh* Pyreturnk just got back from the supermarket for emergency mouse trap run
1140: [11:37:39] * Adesso was a victim
1141: [11:37:46] <spronk2> hahahaha @ Colin[pi]
1142: [11:38:10] <ss23> Woah, what was that noise?!
1143: [11:38:16] <ss23> IT soundedl ike... *wpsh* or something?
1144: [11:38:22] <ss23> Oh it's just Colin[pi], whipped.
1145: [11:38:36] <Colin[pi]> haha
1146: [11:38:49] <Colin[pi]> no we needed some anyway, that's the 2nd one I've seen in as many weeks
1147: [11:38:57] <Colin[pi]> I think they're kinda cute
1148: [11:39:04] <Colin[pi]> poor little guy
1149: [11:39:04] <Colin[pi]> lol
1150: [11:39:05] <ss23> Yeah, mice shitting through your house can be annoying, no matter how cute they are
1151: [11:39:37] * Adesso just can't figure it our .. MOFO Slug
1152: [11:43:31] <Adesso> where does this damn Update URL button come from ....
1153: [11:43:37] <Adesso> grrrr
1154: [11:43:58] <ss23> ~magic~
1155: [11:44:06] * Adesso is hating the magic again
1156: [11:44:32] <Adesso> it's fun until you want to change the magic
1157: [11:44:59] <ss23> XD
1158: [11:45:02] <ss23> I know what you mean
1159: [11:45:13] <ss23> It gets a little bit easier once you understand the magic, but... it takes a while
1160: [11:45:41] <spronk2> damn
1161: [11:45:51] <ss23> anyway, time to go HOME
1162: [11:45:52] <spronk2> i do feel sorry for mice that get trapped
1163: [11:45:53] <Adesso> So far I figure out that when you create a FormField called URLSegemnt.. it kills the magic
1164: [11:45:54] <spronk2> for some reason
1165: [11:45:59] <spronk2> ss23 what the fuck are you at the office?
1166: [11:46:14] <Colin[pi]> !!
1167: [11:46:15] * Adesso still has a couple of hours
1168: [11:46:25] <ss23> spronk2: SOME OF US HAVE WORK TO DO
1169: [11:46:35] <ss23> I basically fucked around quite a bit today cause I had a deploy to do later :P
1170: [11:46:45] <spronk2> lol
1171: [11:46:52] <Colin[pi]> yeah but fuck it's like 1am right
1172: [11:46:53] <Colin[pi]> ?
1173: [11:46:55] <ss23> (And of course, I was sitting here watching SOAD music videos and shit)
1174: [11:46:57] <ss23> Yeah, Colin[pi]
1175: [11:46:58] <spronk2> ya
1176: [11:47:07] <ss23> I don't get in till 11am, to give you an idea of the shift :O
1177: [11:47:11] <ss23> Though I still do stay at work a lot
1178: [11:47:22] <spronk2> heh
1179: [11:47:31] <Colin[pi]> mm, I worked with a guy whose regular shift was 11am to 7pm
1180: [11:47:41] <Colin[pi]> just operated 2 hours behind everyone else
1181: [11:48:03] <Gun21> ss23: spronk2 Pyreturnk remember my issue with TinyMCE and Subsite>
1182: [11:48:10] <spronk2> Gun21: ya?
1183: [11:48:40] <Gun21> removed all quick'n' dirty fixes and added proper solution
1184: [11:49:26] <spronk2> oh yeah?
1185: [11:49:47] <Gun21> I had a "sudden clarity" moment while drinking coffee on break :)
1186: [11:50:12] <spronk2> oo?
1187: [11:51:11] <Colin[pi]> Gun21: it's amazing how often that happens if I get up from the PC
1188: [11:52:57] <Gun21> spronk2: http://www.sspaste.com/paste/show/543671ec376ad
1189: [11:53:25] <zippy> Gun21: function init() {
1190: [11:53:30] <zippy> needs a new line :)
1191: [11:53:34] <spronk2> oohh
1192: [11:54:11] <spronk2> that'd do it
1193: [11:54:28] <Gun21> zippy: missed that... you should see formatting of init() before I "normalized" it :)
1194: [11:54:34] <Adesso> Correction... when I add a ReadOnlyField called URLSegment, the Upadate URL Button no longer appears..
1195: [11:54:36] <spronk2> don't even have to turn off the formatting then
1196: [11:55:22] <spronk2> line 38
1197: [11:55:25] <spronk2> whats that doing?
1198: [11:55:52] <Gun21> spronk2: in init()?
1199: [11:55:56] <spronk2> mm
1200: [11:56:14] * Marvanni quit (Ping timeout: 250 seconds)
1201: [11:56:28] <Gun21> uhm... redirects to admin/pages?
1202: [11:56:35] <spronk2> why is that needed?
1203: [11:56:42] * Marvanni has joined #silverstripe
1204: [11:56:50] <spronk2> shouldn't they be there anyway
1205: [11:56:52] <spronk2> ?
1206: [11:57:31] * Adesso smell his introduction to this admin Javascript thingy-ma-bob ... Entwine
1207: [11:57:32] <spronk2> or... is that called on javascript submission as well for the subsite dropper?
1208: [11:57:33] * irgbit quit (Read error: Connection reset by peer)
1209: [11:57:40] <Gun21> well, it's a part of Subsite module... and I suppose that's because author of module wanted to get rid of SubsiteID get param
1210: [11:57:50] <spronk2> oh si it? bizarre
1211: [11:58:07] * irgbit has joined #silverstripe
1212: [11:58:22] <spronk2> thought you had written that Gun21, sorry!
1213: [11:59:19] <Adesso> 7away in a Meeting... yeah
1214: [12:01:03] <kinglozzer> Wait, /away is a thing?
1215: [12:01:11] * kinglozzer had no idea
1216: [12:01:16] <kinglozzer> How do you come back? D:
1217: [12:02:35] <kinglozzer> Phew
1218: [12:02:37] * kinglozzer lunch
1219: [12:03:11] <spronk2> heh
1220: [12:03:29] <spronk2> did you do /away, then /back, then realise it didn't work, panic for a second, then /away again kinglozzer ?
1221: [12:04:39] * Liquide quit ()
1222: [12:06:00] <Pyreturnk> [12:43] <Adesso> where does this damn Update URL button come from ....
1223: [12:06:02] <Pyreturnk> on Page?
1224: [12:06:05] <Pyreturnk> javascript, dude.
1225: [12:06:18] <Gun21> so now it works like a charm, but http://www.sspaste.com/paste/show/54365f20c1ea9 should be added to core anyway
1226: [12:07:53] <Pyreturnk> [12:57] * Adesso smell his introduction to this admin Javascript thingy-ma-bob ... Entwine
1227: [12:07:56] <Pyreturnk> hehe, fun.
1228: [12:08:01] * UndefinedOffset has joined #silverstripe
1229: [12:08:30] <Pyreturnk> makes so much sense when you've gotten used to it (ie, started thinking of DOM as a collection of objects, rather than... well a collection of elements)
1230: [12:09:09] <Pyreturnk> ie, URLField is an entire 'object', not just a div, with a div and an input and a span and a button
1231: [12:09:14] <spronk2> mm
1232: [12:09:17] <Pyreturnk> kinda just like it is in php!
1233: [12:09:45] <Pyreturnk> so you apply methods to that 'object', not DOM elements.
1234: [12:09:58] <Pyreturnk> the selectors allow you to override them, and such.
1235: [12:10:10] <Pyreturnk> it's just specificity and targeting.
1236: [12:10:10] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1237: [12:10:35] <Pyreturnk> once you 'de-couple' the two ideas (targeting and the actual application of methods, etc), it becomes more easy :)
1238: [12:11:06] <Pyreturnk> Gun21: do you know how to commit to core?
1239: [12:12:19] <Pyreturnk> and also, now that you've got a better fix, is it core core, or subsites module core?
1240: [12:12:38] <Pyreturnk> anyway, lunch
1241: [12:13:21] <Pyreturnk> also kinglozzer, you missed out man. Even some other nor-itch fellows made it. You should have just stuck your thumb out (or got employer to pay) :P
1242: [12:13:37] <Pyreturnk> DINNER TIEM
1243: [12:19:33] * cloph_away is now known as cloph
1244: [12:20:55] * r_hector quit (Quit: Leaving.)
1245: [12:22:19] <Gun21> Pyreturnk: both
1246: [12:22:37] <Gun21> one change in core, HtmlEditorField.js
1247: [12:22:54] <Gun21> to make SS respect TinyMCE convert_urls settings
1248: [12:22:59] <Gun21> and another in Subsite
1249: [12:23:21] <Gun21> will do it later, I don't have my git credentials on this computer...
1250: [12:23:49] <Gun21> but I have to test it a little bit, anyway...
1251: [12:27:21] <Pyreturnk> Gun21: yes, the first comment on a pull request will probably be 'can you write a test for this' ;)
1252: [12:29:31] <Gun21> well, core patch is quite simple and it's ready
1253: [12:29:45] <Gun21> subsite patch is a little trickier though...
1254: [12:29:58] <Gun21> since I already found a bug in it...
1255: [12:30:25] <Gun21> when you access admin through subsite url and switch to main site
1256: [12:30:41] <Gun21> since SS doesn't have a clue on which URL main website is
1257: [12:31:14] <Pyreturnk> Otterpocket: is that the boy with tape on his face in the background of the London caberet '13 square?
1258: [12:31:36] * Pyreturnk squints harder
1259: [12:31:38] <Pyreturnk> yes, yes it is!
1260: [12:33:16] <Pyreturnk> With what looks like his wife in the background.
1261: [12:33:37] <Pyreturnk> So there you go. Kiwis, Kiwis everywhere.
1262: [12:33:56] * Adesso quit (Ping timeout: 250 seconds)
1263: [12:39:40] <Pyreturnk> Hilarious gig btw, if you've not seen him. Fantastic.
1264: [12:39:45] <Pyreturnk> Do recommend.
1265: [12:44:24] <Colin[pi]> nite all!
1266: [12:44:38] <Pyreturnk> Gun21: I guess you'll just have to if(empty(Subsite::get()->filter('domain:EndsWith' => Director::getTheDomainOrWhatever())->toArray())) ...
1267: [12:44:50] <Pyreturnk> orsomething
1268: [12:45:24] <Pyreturnk> if it's not listed, default, if it is, make sure it's valid, etc.
1269: [12:45:32] <Pyreturnk> idk, good luck!
1270: [12:56:20] * Marvanni quit (Ping timeout: 272 seconds)
1271: [12:56:29] * Marvanni has joined #silverstripe
1272: [12:58:01] <spronk2> total 11T 4.3T 6.1T 42%
1273: [12:58:01] <spronk2> woot
1274: [13:03:33] * irgbit quit (Remote host closed the connection)
1275: [13:04:23] <kinglozzer> Pyreturnk: Yeah I saw someone from Norwich was there ><
1276: [13:05:17] * webspilka has joined #silverstripe
1277: [13:08:16] <Marvanni> Does anyone uses SS logs to email?
1278: [13:10:03] <ocmnt> not really, logging to file is enough imho
1279: [13:11:02] <kinglozzer> I briefly considered it once, then thought better of it
1280: [13:11:25] * webspilka quit (Ping timeout: 246 seconds)
1281: [13:11:30] <kinglozzer> I'd just say "meh, probably a blip that won't happen again" and delete them as if they were spam :P
1282: [13:11:37] <Marvanni> Well I like to know when something is wrong on a website. Problem is on one site, when something is worng I get 100s of emails in a row. I wonders if I could set the logger that it should stop sending emails for x minutes after a error occurder
1283: [13:12:21] <ocmnt> marvanni, you could write errors to db and if it hits a certain treshhold mail them?
1284: [13:13:06] <kinglozzer> Marvanni: I think I've seen something similar... sec
1285: [13:13:26] <Marvanni> :) normally yes, but this host has mainly database errors... when it is gone again. I know I should switch host, but thats not an option in the short tmer
1286: [13:13:28] <Marvanni> term
1287: [13:14:27] <kinglozzer> Marvanni: Possibly use https://github.com/camspiers/silverstripe-loggerbridge and the logger "FingersCrossedHandler" https://github.com/Seldaek/monolog#wrappers--special-handlers ?
1288: [13:15:41] <Marvanni> hm yes. Monolog would be nice...
1289: [13:15:59] <Marvanni> then SwiftMailer for Emails and finally switch to Symfony ;)
1290: [13:16:19] * jcwacky has joined #silverstripe
1291: [13:16:26] <Marvanni> No, thanks I will check that out!
1292: [13:19:29] <Pyreturnk> kinglozzer: not even one!
1293: [13:19:31] <Pyreturnk> two!
1294: [13:27:02] * Adesso has joined #silverstripe
1295: [13:45:47] <spronk2> total 13T 6.2T 5.9T 52%
1296: [13:45:55] <spronk2> kekeke
1297: [13:46:02] * spronk2 attaches all the drives
1298: [13:46:17] <Pyreturnk> D: open ssh, first heartbleed and now http://seclists.org/fulldisclosure/2014/Oct/35
1299: [13:46:29] <spronk2> o wow
1300: [13:46:58] <kinglozzer> :|
1301: [13:47:33] <kinglozzer> I don't pretend to understand half of that, but "lets you write to arbitrary memory positions" sounds like a pretty fucking big deal
1302: [13:51:36] * catcher has joined #silverstripe
1303: [13:55:50] * Marvanni quit (Ping timeout: 250 seconds)
1304: [13:56:01] * Marvanni has joined #silverstripe
1305: [13:58:43] <Pyreturnk> kinglozzer: also, basically do a full memory dump.
1306: [14:00:59] <Pyreturnk> (soundslike)
1307: [14:04:43] <Otterpocket> Pyreturnk: Have you run that POC?
1308: [14:06:23] * spronk2 quit (Quit: spronk2)
1309: [14:10:32] * Robke has joined #silverstripe
1310: [14:12:20] * Guits quit (Ping timeout: 272 seconds)
1311: [14:14:51] <Robke> does anyone ever used fullPage.js?
1312: [14:20:41] * muskie9 has joined #silverstripe
1313: [14:24:50] * Fuxo has joined #silverstripe
1314: [14:30:31] * Gun21 quit (Ping timeout: 246 seconds)
1315: [14:35:11] <kinglozzer> Man, I think some of the URL matching is fucked in 3.2
1316: [14:35:41] <catcher> kinglozzer, what exactly do you mean by URL matching?
1317: [14:36:01] <kinglozzer> Well, http://mysite.com/ControllerName should hit the controller "ControllerName", right?
1318: [14:36:06] <kinglozzer> At least, it does in 3.1
1319: [14:39:42] <catcher> sure, init & index
1320: [14:41:50] <kinglozzer> dafuq
1321: [14:41:56] <kinglozzer> The routes have been removed
1322: [14:42:07] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/blob/master/_config/routes.yml vs https://github.com/silverstripe/silverstripe-framework/blob/3.1/_config/routes.yml
1323: [14:42:18] <kinglozzer> '$Controller//$Action/$ID/$OtherID': '*' is gone
1324: [14:42:19] <kinglozzer> :(
1325: [14:42:36] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/commit/957469d770c555d5461ea476906fbaa64ac2bc02
1326: [14:42:39] <kinglozzer> DAMNIT Y U DO DIS
1327: [14:42:56] <Pyreturnk> dlvr.it/77lT7L
1328: [14:42:59] <Pyreturnk> Adesso: ^
1329: [14:43:07] <Adesso> yes
1330: [14:43:09] <Pyreturnk> Otterpocket: eh?
1331: [14:43:20] <Pyreturnk> oh the openssh patch?
1332: [14:43:22] <Pyreturnk> neg.
1333: [14:43:40] <Pyreturnk> carefactor: 0. Still running heartbleed. #worksforme
1334: [14:43:47] <catcher> kinglozzer, weird, very inentional
1335: [14:43:50] <kinglozzer> Fuckit, I'll just add that route back myself
1336: [14:43:50] <catcher> intentional*
1337: [14:44:03] <kinglozzer> Mm, its in the 3.2 changelog that no one knows about: https://github.com/silverstripe/silverstripe-framework/blob/master/docs/en/changelogs/rc/3.2.0.md
1338: [14:44:04] * Adesso is working on this Entwine
1339: [14:44:14] <kinglozzer> because one is in 'rc' and one isn't -_-
1340: [14:44:32] <Adesso> but first ... I break for the night
1341: [14:44:39] * Adesso quit (Quit: EOD)
1342: [14:45:32] * jcwacky_ has joined #silverstripe
1343: [14:46:15] * jcwacky quit (Ping timeout: 246 seconds)
1344: [14:46:15] * jcwacky_ is now known as jcwacky
1345: [14:48:22] * Robke quit (Ping timeout: 246 seconds)
1346: [14:52:34] <catcher> kinglozzer, wow, custom routes only, that's a big shift
1347: [14:53:29] <Pyreturnk> yeh, but not too hard to just add in the old one.
1348: [14:53:36] <Pyreturnk> but it does make sense.
1349: [14:54:06] <kinglozzer> Yeah I guess it’s better for most projects, mine’s an internal one so fuck security
1350: [14:54:09] <Pyreturnk> one of those things that folks that build with framework only get a bit up in arms about because there's not really a way to block without adding rules manually to disallow things.
1351: [14:54:26] <Pyreturnk> kinglozzer: I actually just name my controllers sensibly.
1352: [14:54:27] <kinglozzer> But the fucking docs need merging
1353: [14:54:32] <Pyreturnk> but I guess there's only so far you can take that.
1354: [14:54:46] <Pyreturnk> ie /orders is Orders extends Controller
1355: [14:54:52] <Pyreturnk> etf
1356: [14:54:54] <Pyreturnk> etc*
1357: [14:55:00] <kinglozzer> Mm, I do the same, that’s why I relied on those routes ^^
1358: [14:55:12] <Pyreturnk> but then if you want /irrelevant/controllername then you're in a bit of bother.
1359: [14:55:22] <Pyreturnk> because /controllername will work too, so it's a good move I think.
1360: [14:55:48] <Pyreturnk> by 'those routes' you mean 'that route.' right? ;P
1361: [14:57:16] <Pyreturnk> Looking forward to 3.2 I am.
1362: [14:57:18] * Marvanni quit (Ping timeout: 272 seconds)
1363: [14:57:54] * Marvanni has joined #silverstripe
1364: [14:59:03] <kinglozzer> Pyreturnk: "those automatically resolved routes"?
1365: [14:59:07] <kinglozzer> Yeah I meant "that route" :P
1366: [14:59:21] <Pyreturnk> oh loz, you made it to the ss.org blog! wd
1367: [14:59:35] <kinglozzer> ty
1368: [14:59:39] * kinglozzer practically famous
1369: [15:02:30] * actioussan quit (Quit: Verlassend)
1370: [15:04:40] * irgbit has joined #silverstripe
1371: [15:06:22] <kinglozzer> Shit, I’ve dropped off again: http://github-dashing.herokuapp.com/default
1372: [15:09:17] * irgbit quit (Ping timeout: 260 seconds)
1373: [15:13:34] <kinglozzer> If any of you are bored/have nothing better to do, care to proofread an article for me? http://takeaway.bigfork.co.uk/working-with-external-data-sources-in-silverstripe-pt1
1374: [15:15:08] * caamic30 quit (Quit: caamic30)
1375: [15:18:12] <Marvanni> "Flexibility: if the data feed changes, you don’t need to adjust the database fields set in your DataObject"
1376: [15:18:29] <Marvanni> But you still need to change the Template variables...
1377: [15:19:05] <kinglozzer> Yep :)
1378: [15:19:24] <Marvanni> And those van be spread over several template files.. where the DatabaBase can be chjanged in one place..
1379: [15:20:00] <Marvanni> I think its nice te show that you can use Viewable Data directly, but not in this context I think
1380: [15:20:09] <kinglozzer> Marvanni: You'd have to change the templates anyway, so the database is one less thing
1381: [15:20:16] <Marvanni> no
1382: [15:20:24] <Marvanni> well depends
1383: [15:20:31] <kinglozzer> Yeah, I agree ViewableData sucks for my examples, but it kinda leads on to the second part of the tutorial
1384: [15:20:36] <kinglozzer> Marvanni: (I meant adding/removing fields)
1385: [15:21:16] <Marvanni> mostly when I need something like you describe I use dataobjects with thought true field names, at least I try.
1386: [15:21:58] * NobrainerWeb quit (Quit: NobrainerWeb)
1387: [15:22:11] <Marvanni> And then I have something like static $import_field_mapping(array('NiceLocalField' => 'uglyReMOteField'))
1388: [15:22:34] <Marvanni> When the remote data changes, I only need to change the mapping, and nothing else
1389: [15:23:57] * Liquide has joined #silverstripe
1390: [15:24:42] <Marvanni> But you are right that importing large amounts of xml data can be pretty heavy in SS
1391: [15:24:55] <Zauberfisch> ohai Marvanni
1392: [15:24:59] <Zauberfisch> haven't seen you in a while
1393: [15:25:01] <Marvanni> especially if you have to check if a record exists already
1394: [15:25:12] <Marvanni> I was lost in Symfony 2 ;)
1395: [15:25:18] <Zauberfisch> oh noes
1396: [15:25:25] <Zauberfisch> someone was asking for you the other day
1397: [15:25:27] <Zauberfisch> about sspaste
1398: [15:25:45] <kinglozzer> Marvanni: Yeah that sounds like a good solution. The whole thing about ViewableData came about when thinking of how you'd work with an API where you _didn't_ save the data anywhere, just queried it "real-time"
1399: [15:25:55] <Marvanni> :), I got a large project that hourwise was too much, but I got the opportunity to learn Symfony and get payed as well
1400: [15:25:58] * ARNHOE quit ()
1401: [15:26:01] <kinglozzer> I guess you could still use a DataObject for that, but it just feels a bit wrong
1402: [15:26:34] <Marvanni> Zauberfish, good you say that. I got is his email , but forgot to reply (: gonna do that now
1403: [15:26:57] <Pyreturnk> kinglozzer: gawd, you're blogging about that?
1404: [15:26:59] <Marvanni> But Symfony is really nice. learned a lot
1405: [15:27:10] <kinglozzer> Pyreturnk: Yeah
1406: [15:27:36] <Pyreturnk> are... are you using restfulservice?
1407: [15:27:38] <Zauberfisch> Marvanni: http://logs.simon.geek.nz/index.php?date=2014-09-13#log_1398354
1408: [15:27:39] <kinglozzer> Mainly because when I had to do it I had nfi where to start (was like 18 months ago, only just got round to writing it up)
1409: [15:27:40] <Marvanni> kinglozzer, ok i must misread the part, that you use it for realtime displaying...
1410: [15:27:50] <kinglozzer> Pyreturnk: For that simple example, yeah :P
1411: [15:27:56] <Pyreturnk> kinglozzer: also, about to release a module on that (something I should have done a year ago)
1412: [15:28:02] <Zauberfisch> Marvanni: line 44 to 75 or something
1413: [15:28:05] <kinglozzer> Marvanni: Sorry, I've not written that part yet ;) that's part 2
1414: [15:28:05] <Pyreturnk> kinglozzer: good thing for simple, good.
1415: [15:28:20] <Pyreturnk> but don't do advanced until I dump my shit on the webs, mmmkay?
1416: [15:28:20] <kinglozzer> Pyreturnk: Yeah there's no way I'd use restfulservice for querying data live :P
1417: [15:28:21] <Marvanni> Zauberfish, yes thanks, He found me
1418: [15:28:33] <Pyreturnk> kinglozzer: hahaha, I do.
1419: [15:28:33] <kinglozzer> Pyreturnk: It'll be weeks before I get round to writing that at least!
1420: [15:28:35] <Pyreturnk> works great.
1421: [15:28:50] <kinglozzer> Oh yeah, you can just set cache time to 0
1422: [15:28:51] <Pyreturnk> DUNNO WACHOO COMPLAININ BOUT
1423: [15:28:56] <Pyreturnk> yeah, I did :>
1424: [15:28:57] <kinglozzer> Well, yeah, could use it I spose
1425: [15:29:08] <Pyreturnk> is a masstive trap if you don't! ha!
1426: [15:29:35] <Marvanni> brb
1427: [15:29:49] <kinglozzer> Pyreturnk: What is? :P
1428: [15:30:07] * Pyreturnk updates some stuff
1429: [15:30:10] <Pyreturnk> is a masstive trap if you don't! ha!
1430: [15:30:15] <Pyreturnk> ...
1431: [15:30:17] <Pyreturnk> is a masstive trap if you don't! ha!
1432: [15:30:21] <Pyreturnk> ...
1433: [15:30:34] <Pyreturnk> Not setting cache time to 0 is a masstive trap if you don't! ha!
1434: [15:30:39] <kinglozzer> Ahhh!
1435: [15:30:49] <kinglozzer> thought you meant not using restfulservice was a massive trap :P
1436: [15:30:56] <Pyreturnk> oh, lol no.
1437: [15:30:57] <Pyreturnk> :P
1438: [15:31:03] * g4b0_ has joined #silverstripe
1439: [15:31:03] <Pyreturnk> in itself, it is a bit of a trap :<
1440: [15:31:09] <Pyreturnk> I mean, simpleXML?
1441: [15:31:10] <Pyreturnk> really?
1442: [15:31:16] <kinglozzer> mmm
1443: [15:31:24] <Pyreturnk> search the docs for FrozenFire and I's musings on that xD
1444: [15:31:38] <g4b0_> hi all
1445: [15:31:39] <kinglozzer> that's kinda why I steered clear of it, because the API was entirely json
1446: [15:31:46] <kinglozzer> Looking back, you don't have to use XML of course
1447: [15:31:47] <Pyreturnk> that and the Security controller/checker.
1448: [15:31:58] <g4b0_> I'm fighting with DB::query
1449: [15:32:23] <Pyreturnk> kinglozzer: well, hopefully I'll get some time tonight to clean some stuff up and then you can see how I handled json API with restful service
1450: [15:32:36] <kinglozzer> Pyreturnk: Sounds great
1451: [15:33:22] <Pyreturnk> It's a bit 2.4-ish... but it works a treat (mostly). Built it without tests, for a single application though.
1452: [15:33:29] <Pyreturnk> so needs a bit of (severe) polish.
1453: [15:33:41] <Pyreturnk> But for the first time in MONTHS I've got nothing to do when I go home.
1454: [15:33:46] <g4b0_> I'm running this code inside a Task, but only the first query is executed
1455: [15:33:52] <Pyreturnk> AND I've got motivation for a change.
1456: [15:33:56] <Pyreturnk> so mebbe finally
1457: [15:33:56] <g4b0_> at and the Security controller/
1458: [15:34:06] <g4b0_> sorry
1459: [15:34:15] <g4b0_> wrong paste :)
1460: [15:34:25] <g4b0_> here you are the code http://pastebin.com/mXGfLRhg
1461: [15:36:09] <Pyreturnk> g4b0_: I thought you were Polish, not Italian...
1462: [15:37:12] <g4b0_> Pyreturnk :D
1463: [15:38:41] <Marvanni> Still If I would use your example of using ViewableData or ArrayData I would suggest a Mapping strategy to create a standard for Template variables.
1464: [15:38:45] <Pyreturnk> g4b0_: so how come you didn't attend SS EU meetup?
1465: [15:39:23] * stephanvd quit (Ping timeout: 240 seconds)
1466: [15:39:28] <Marvanni> For example if you want to combine several rss feeds in one news feed, you want to map the different remote fields to the same local fields you use in templates
1467: [15:40:18] <Marvanni> I do like your BackToTheFuture typography ;)
1468: [15:40:56] <Pyreturnk> g4b0_: when you say only the first query is executed, do you mean the others fail silently, or ??? how do you know the first one is running?
1469: [15:41:06] <Pyreturnk> or more to the point, how do you know the other two aren't?
1470: [15:42:19] <Pyreturnk> but at a quick look, I'd suggest that they don't get executed because $last->Version isn't defined, $last is not defined, therefore is null, so null->property is not a thing, therefore PHP gives a fatal error and that's it.
1471: [15:51:44] <g4b0_> Pyreturnk: the only db row modified is the first one
1472: [15:51:50] <g4b0_> no errors come out
1473: [15:55:46] <g4b0_> and the script continue its run
1474: [15:55:59] <g4b0_> (the query are inside a loop)
1475: [15:56:17] <g4b0_> ayway, it's time go go home
1476: [15:56:22] <g4b0_> see you tomorrow :)
1477: [15:56:24] <g4b0_> bye
1478: [15:56:36] <kinglozzer> ciao g4b0_
1479: [15:56:56] <g4b0_> ciao a tutti!
1480: [15:57:09] * g4b0_ quit (Quit: Sto andando via)
1481: [15:57:17] * Marvanni quit (Ping timeout: 245 seconds)
1482: [15:57:51] <Pyreturnk> early home for me too
1483: [15:57:51] <Pyreturnk> ciao!
1484: [15:57:55] * Marvanni has joined #silverstripe
1485: [15:57:59] * Pyreturnk quit ()
1486: [16:00:18] * Error404NotFound has joined #silverstripe
1487: [16:01:32] * Err404NotFound quit (Ping timeout: 245 seconds)
1488: [16:01:36] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1489: [16:04:48] * muskie9 has joined #silverstripe
1490: [16:05:14] * Error404NotFound quit (Disconnected by services)
1491: [16:05:14] * Err404NotFound has joined #silverstripe
1492: [16:06:20] <kinglozzer> "got pish origon master"
1493: [16:06:21] <kinglozzer> nope
1494: [16:06:29] * kinglozzer thinks it's nearly home time
1495: [16:07:48] <catcher> kinglozzer, alias
1496: [16:08:15] <catcher> then you can really screw up your typing. :)
1497: [16:09:37] <kinglozzer> the only one i have is git punch (push --force) :P
1498: [16:11:53] <catcher> haha
1499: [16:16:23] * muskie9 is now known as _muskie9_
1500: [16:16:26] * _muskie9_ is now known as muskie9
1501: [16:32:35] * kinglozzer quit ()
1502: [16:33:02] * Otterpocket quit (Quit: WeeChat 0.4.1)
1503: [16:33:05] * stnvh quit ()
1504: [17:05:25] * irgbit has joined #silverstripe
1505: [17:06:17] * stephanvd has joined #silverstripe
1506: [17:09:53] * irgbit quit (Ping timeout: 244 seconds)
1507: [17:14:25] * Fuxo quit (Quit: leaving)
1508: [17:14:49] * Fuxo has joined #silverstripe
1509: [17:26:38] * muskie9 is now known as _muskie9_
1510: [17:32:48] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1511: [17:47:11] * gelignite has joined #silverstripe
1512: [18:08:32] * Mineka has joined #silverstripe
1513: [18:17:32] * irgbit has joined #silverstripe
1514: [18:22:45] * muskie9 has joined #silverstripe
1515: [18:28:38] <catcher> I need to create a link that executes a custom search form action with specific query parameters pre-filled from a controller. Is there a better way than forming the entire URL string (including the SecurityID, which I'll have to figure out how to generate)?
1516: [18:43:56] * Error404NotFound has joined #silverstripe
1517: [18:44:04] * Error404NotFound quit (Changing host)
1518: [18:44:04] * Error404NotFound has joined #silverstripe
1519: [18:44:19] * muskie9 is now known as _muskie9_
1520: [18:44:42] * _muskie9_ is now known as muskie9
1521: [18:44:53] * Err404NotFound quit (Ping timeout: 240 seconds)
1522: [18:50:26] <Mineka> how can I submit pull request for core?
1523: [18:51:45] <catcher> Mineka, fork the repo, commit, pull request on github
1524: [18:52:43] * Mineka is now known as manja
1525: [18:52:47] <manja> shit...
1526: [18:52:56] * irgbit quit (Remote host closed the connection)
1527: [18:52:57] * manja is now known as manja14
1528: [19:01:53] <manja14> catcher: great, because today I found rather annoying bug in TinyMCE + SS framework, while working with Subsite module...
1529: [19:01:55] <manja14> thanks
1530: [19:02:14] <manja14> submitted pull request (I hope)
1531: [19:04:32] <catcher> manja14, link to the PR?
1532: [19:06:41] <manja14> https://github.com/silverstripe/silverstripe-framework/pull/3535
1533: [19:07:39] <catcher> looks good!
1534: [19:08:01] <manja14> earlier today I was here, as "Gun21"
1535: [19:08:17] <manja14> but I didn't have my git credentials at office...
1536: [19:08:27] <catcher> cool
1537: [19:09:30] <manja14> there should be one more request, for Subsite module, as soon as I find out how to find "main website" url
1538: [19:09:43] <manja14> since SS is url agnostic, that make take some time...
1539: [19:10:46] * muskie9 is now known as _muskie9_
1540: [19:11:10] * _muskie9_ is now known as muskie9
1541: [19:12:54] * tankr has joined #silverstripe
1542: [19:13:07] <catcher> manja14, I haven't used subsites, but keep in mind the Director and Controller & Director classes have methods that may help
1543: [19:13:22] <manja14> I'm quite aware of it
1544: [19:13:45] <manja14> but problem is little bit more complex
1545: [19:13:59] <manja14> SS knows the host where it's running
1546: [19:14:12] <manja14> problem is when you access admin through subsite url
1547: [19:14:31] <manja14> there is no way (or I didn't find one) to get main website url
1548: [19:15:14] <manja14> you can get subsite url, and subsite ID from that, but main url is still missing
1549: [19:16:08] <manja14> since SS doesn't keep main url anywhere...
1550: [19:16:49] <manja14> so I guess there's a reason for that, and thinking about proper way to determine it without a doubt
1551: [19:17:18] <manja14> and let it be aware you moved SS instance to another url
1552: [19:18:20] * Stomach has joined #silverstripe
1553: [19:19:47] <manja14> anyway, there's property $allowed_children on SiteTree
1554: [19:19:48] * Gadzina has joined #silverstripe
1555: [19:19:57] <manja14> is there anything like $allowed_parents?
1556: [19:20:55] <Fuxo> for template properties, should I create Property() or getProperty() in my model? what's the difference anyway?
1557: [19:21:34] <Fuxo> or why both Property() and getProperty() are accessible via $Property in templates?
1558: [19:22:56] * lerni_ has joined #silverstripe
1559: [19:23:08] <manja14> Fuxo if you have param in method definition, eg. getPropery($param), and call $Property in template, $param won't be passed to method
1560: [19:24:12] <manja14> and (I suppose) it's faster to call method by full name, since in that case it doesn't have to look is there getProperty method...
1561: [19:24:14] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
1562: [19:26:45] * adrexia quit (Ping timeout: 272 seconds)
1563: [19:32:24] * zippy__ has joined #silverstripe
1564: [19:34:47] <Fuxo> manja14, thanks
1565: [19:34:54] * jedateach has joined #silverstripe
1566: [19:38:00] * Ryan-Toast has joined #silverstripe
1567: [19:38:17] * adrexia has joined #silverstripe
1568: [19:39:30] <zippy__> morning
1569: [19:42:06] <manja14> 'morning
1570: [19:42:15] <manja14> although it's evening here... :D
1571: [19:42:18] <adrexia> morning
1572: [19:45:41] <Ryan-Toast> Mrs is off to Skycity, then rainbow’s end today. Jelly as fuck.
1573: [19:45:48] * catcher wonders if PartialMatchFilter should convert spaces to %
1574: [19:46:10] <catcher> Will someone tell me why that's a horrible idea?
1575: [19:47:12] <catcher> If it's a horrible idea, maybe it should be a config option or a separate filter.
1576: [19:47:19] * nickmolhoek has joined #silverstripe
1577: [19:48:04] <zippy__> catcher: thats a horrible idea
1578: [19:48:28] <catcher> zippy__, good start, why?
1579: [19:49:21] <zippy__> I want to search for 'Ben ' so I get 'Ben %' if it converts spaces then I would get 'Ben%' which would match Benjamum or whatever - right?
1580: [19:49:28] <catcher> If I do a search for "Ryan Toast", PartialMatchFilter will fail to match "Ryan A. Toast"
1581: [19:49:35] <manja14> catcher maybe because % is wildcard char in MySQL?
1582: [19:49:42] <catcher> manja14, that's the idea
1583: [19:49:57] <zippy__> catcher: it'd have to be an option...
1584: [19:50:23] <manja14> and no "LIKE" query will match "Ryan A. Toast"...
1585: [19:50:39] <manja14> FULLTEXT is meant to do that
1586: [19:50:50] <catcher> sure, like %Ryan%Toast% will match Ryan A. Toast
1587: [19:50:55] <zippy__> will it?
1588: [19:51:12] <catcher> Yeah, " A. " would be matched by %
1589: [19:51:47] <zippy__> true
1590: [19:51:48] <manja14> yeah, % behaves pretty much like (.*) in RegExp
1591: [19:51:55] <manja14> zero or more matches
1592: [19:52:08] <catcher> But yes, I suppose fulltext is a better option. There's no SS fulltext filter, is there?
1593: [19:52:23] <manja14> fulltext requires indexes to be set...
1594: [19:52:31] <catcher> mm
1595: [19:52:41] * Zauberfisch quit (Remote host closed the connection)
1596: [19:52:47] <zippy__> 1 failed login since last login. -- woo, I wonder if someone wanted their Zippy back :D
1597: [19:52:49] * Zauberfisch has joined #silverstripe
1598: [19:53:07] * UncleCheese has joined #silverstripe
1599: [19:53:10] * Gadzina has left #silverstripe
1600: [19:53:52] <manja14> and fulltext search is no where near simple WHERE condition
1601: [19:54:19] <catcher> also true. Tricky. Maybe I'll just override getResults for my search context and do the replacement on my own.
1602: [19:54:55] <catcher> Or add a space-to-percent conversion option for PartialMatchFilter
1603: [19:55:20] <zippy__> catcher: do it as a seperate filter name... you could have a StartsWith filter (whatever%), and EndsWith filter (%whatever), and then do a SOMETHING which will replace spaes
1604: [19:55:40] <zippy__> catcher: but, you could just split/explode on spaces, and then build a where
1605: [19:56:13] <UncleCheese> this looks like an interesting topic.. what did I walk in on?
1606: [19:56:21] <catcher> zippy__, I considered Starts/Ends, but I still want "ryan toast" to match "Ryan A. Toast Jr."
1607: [19:56:45] <zippy__> because doing ryan%toast would be like filter(array('foo:PartialMatch' => 'Ryan', 'foo:PartialMatch'=>'Toast'))
1608: [19:56:46] <catcher> UncleCheese, I'm needing a more relaxed PartialMatch filter that basically treats space as %
1609: [19:57:11] * kinglozzer has joined #silverstripe
1610: [19:57:11] <UncleCheese> so that "ryantoast" matches on "ryan toast"
1611: [19:57:32] <zippy__> catcher: could you...just replace the spaces in the string before you pass to PartialMatch?
1612: [19:57:38] <zippy__> or would it escape the %
1613: [19:57:46] <catcher> UncleCheese, so "Ryan A. Toast" matches on "ryan toast"
1614: [19:57:54] <Ryan-Toast> WHAT ARE WE TALKING ABOUT
1615: [19:57:55] <manja14> UncleCheese and "ryan eats toast" also
1616: [19:57:59] <catcher> hahaha
1617: [19:58:04] <UncleCheese> umm, elastic?
1618: [19:58:39] <zippy__> catcher: try replacing the spaces with % before passing into the filter. Or, just explode the string on spaces and build the query with multiple patial matches...
1619: [19:59:03] <zippy__> not sure if you will find Ryan Toast is awesome thou, I don't think that exists anywhere
1620: [19:59:16] <catcher> elastic is overkill in my case, I'm searching for DOs on 6 fields (dates etc). Client is happy, I just noticed that results with a middle initial are missed.
1621: [20:00:14] <manja14> zippy__ I think that it should be ordered somehow, so "Ryan Toast" is shown before "Ryan eats toast" since it's closer to original query
1622: [20:00:15] <catcher> zippy__, it comes from a GET URL string (so they're +), and I already have getResults overridden anyway.
1623: [20:00:38] <manja14> basicaly, catcher wants to simulate fulltext search without using fulltext search :)
1624: [20:00:42] <zippy__> they're +?
1625: [20:00:43] <catcher> In my case, they need to sort by default_sort
1626: [20:01:04] <zippy__> once php gets them, there isn't a + in there..
1627: [20:01:05] <catcher> zippy__, Yep, in the param string, but they're converted by the time they hit getResults
1628: [20:01:21] <catcher> right
1629: [20:01:41] <catcher> UncleCheese, elastic would be overkill in this case, but would probably be the best solution.
1630: [20:01:55] <zippy__> try just replacing the space with % and see if it gets escaped
1631: [20:02:04] <zippy__> otherwise... SuperPartialMatch :D
1632: [20:02:17] <zippy__> god damn it, why is zippy locked
1633: [20:02:23] <catcher> zippy__, that's all done & working well, just curious if there would be enough demand to support a config option or SuperPartialMatch
1634: [20:02:50] <catcher> Or if it's a Really Bad Idea (TM)
1635: [20:03:05] <zippy__> probablyl.... I think last time I just had multiple partial matches, one for each word
1636: [20:03:14] <zippy__> didn't think to use a % - it's not a bad idea
1637: [20:03:24] <zippy__> when you have a few hundred records makes sense
1638: [20:04:23] <catcher> Yeah, I have 2 of these @ ~500 & 800
1639: [20:04:52] <catcher> Searching up to 6 fields at a time. Very fast so far.
1640: [20:05:41] <catcher> This looks promising: http://api.silverstripe.org/3.1/source-class-PartialMatchFilter.html#15-22
1641: [20:07:05] * zippy__ is now known as zippy
1642: [20:07:08] <zippy> yay
1643: [20:07:13] <UncleCheese> catcher you need something much more than a modifier
1644: [20:07:24] <UncleCheese> what about regex? slow as shit, but it would probably do what you need
1645: [20:07:29] <catcher> UncleCheese, to optionally convert space to %?
1646: [20:07:45] <UncleCheese> well the % is only if you're using a LIKE filter
1647: [20:08:04] <catcher> Isn't that all PartialMatch uses?>
1648: [20:08:21] <catcher> It surrounds the string with % anyway
1649: [20:08:24] <UncleCheese> oh, i thought it was a forgone conclusion that you wouln'd be able to use the native filters
1650: [20:09:54] <catcher> yeah it's working well (for my limited case), just considering contributing it as an option for PMF
1651: [20:10:11] <UncleCheese> willr ? are you at the office?
1652: [20:10:35] <catcher> UncleCheese, how's NZ treating you?
1653: [20:10:54] <UncleCheese> awesome overall
1654: [20:11:06] <zippy> just those bloody power bills eh!
1655: [20:11:08] <willr> Yep! Slacked off this week and was in AK on Wednesday so have a few things to do UncleCheese. Was going to send you an email about docs and getting together next week
1656: [20:11:15] <UncleCheese> there's definitely a clear list of things we love and things we really can't stand'
1657: [20:11:26] <UncleCheese> but we're relaly happy to be here for sure.. and i love my new gig with ss
1658: [20:11:33] <zippy> UncleCheese: not many ppl can stand ss23
1659: [20:11:34] <zippy> :P
1660: [20:11:36] <zippy> i jk
1661: [20:11:46] <zippy> UncleCheese: Whats on the can't stand list may I ask?
1662: [20:11:49] <catcher> UncleCheese, awesome. Really curious what the difficult adjustments are.
1663: [20:12:03] <UncleCheese> i think anyone in this channel probably knows by now :)
1664: [20:12:22] <zippy> power
1665: [20:12:54] <UncleCheese> Housing!
1666: [20:13:08] <UncleCheese> It's like living in a third world country
1667: [20:13:25] <UncleCheese> with the cost of living in Silicon Valley
1668: [20:13:28] <Ryan-Toast> ss23 is the worst.
1669: [20:14:09] <UncleCheese> zippy i'm all good with power.. NZ creates 80% of its electricity in renewable form.. i'm happy to pay more for that :-)
1670: [20:14:12] <Ryan-Toast> UncleCheese: Pies make up for it.
1671: [20:14:16] <UncleCheese> #2
1672: [20:14:20] <UncleCheese> the fucking pies
1673: [20:14:37] <Ryan-Toast> UncleCheese: You’re supposed to eat them, not fuck them.
1674: [20:14:57] <UncleCheese> if I see one more kiwi double fisting meat pies at 6:30 in the morning at a petrol station, i'll jump in the ocean and take my chances swimming to a sane country
1675: [20:15:16] <catcher> wow, really?
1676: [20:15:16] <catcher> Didn't realize cost of living was high, interesting
1677: [20:15:31] <UncleCheese> it depends
1678: [20:15:46] * travis-ci has joined #silverstripe
1679: [20:15:46] <travis-ci> silverstripe/silverstripe-framework#3433 (3.1 - 6bfbbdc : Sean Harvey): The build was fixed.
1680: [20:15:46] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1e422eef0ae3...6bfbbdcb3814
1681: [20:15:46] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37536257
1682: [20:15:46] * travis-ci has left #silverstripe
1683: [20:15:47] <UncleCheese> if you're used to paying more for stuff, it's not that big an adjustment.. we always went to the nice grocery stores back home
1684: [20:15:54] <UncleCheese> so $20/kg for chicken isn't some huge shock to us
1685: [20:16:07] <UncleCheese> but the housing is particularly painful, just because it's not only expensive but so, so, so shitty
1686: [20:16:09] <catcher> Also, metric system
1687: [20:16:23] <catcher> Which is clearly better, but different.
1688: [20:16:29] <UncleCheese> $500/week in wellington gets you meager conditions
1689: [20:16:32] <UncleCheese> catcher are you in the USA?
1690: [20:16:34] <catcher> yep
1691: [20:16:43] <UncleCheese> where?
1692: [20:16:55] <catcher> I work in CA, live in TN
1693: [20:17:04] <catcher> recently moved from los angeles
1694: [20:17:15] <UncleCheese> ha
1695: [20:17:20] <UncleCheese> telecommuting
1696: [20:17:24] <catcher> mmhmm
1697: [20:17:37] <UncleCheese> on fridays i work in Austin
1698: [20:17:44] <UncleCheese> which is why i'm home today
1699: [20:17:59] <catcher> Cool. I have family there, visit lots
1700: [20:18:25] <UncleCheese> the good parts of NZ are hard to ignore, though. it's stunningly beautiful, the culture is incredibly welcoming and friendly
1701: [20:18:42] <UncleCheese> it's a very safe place raise a family
1702: [20:19:18] <zippy> such welcome - http://static2.stuff.co.nz/1366752973/481/8590481.jpg
1703: [20:19:34] <UncleCheese> and honestly, if you're just going to apply economic criteria to the move, NZ is never going to win.. it's not somewhere you go to get rich.. unless you're coming from a third world country
1704: [20:20:15] <UncleCheese> so we were never deluded about that part of it.. but the housing was a huge shock.. you'd think a place where 10C isn't uncommon would insulate its houses
1705: [20:20:41] * irogue_ has joined #silverstripe
1706: [20:20:52] <catcher> UncleCheese, wow!
1707: [20:21:01] <UncleCheese> catcher http://www.nzherald.co.nz/business/news/article.cfm?c_id=3&objectid=11339278
1708: [20:21:28] <catcher> !!!
1709: [20:21:53] * Colin[pi] has joined #silverstripe
1710: [20:21:54] <UncleCheese> this just in: the house is now worth $1.2M
1711: [20:22:06] <catcher> that's insane!
1712: [20:22:06] * irgbit has joined #silverstripe
1713: [20:23:12] <irogue_> more like the *land* is worth 1.2m :P
1714: [20:23:17] <zippy> yea
1715: [20:24:16] <zippy> to much demand, not enough supply, but then if you over supply and all the house prices drop them people with morgages will feel a bit screwed, house goes from 400k to say 300k...
1716: [20:24:54] <UncleCheese> exactly
1717: [20:25:12] <UncleCheese> in wellington it's not uncommon to buy a "house" and just knock it down
1718: [20:25:27] <UncleCheese> as the old saying goes, "There not making any more land."
1719: [20:25:39] <UncleCheese> (except after an earthquake)
1720: [20:26:39] <UncleCheese> zippy another big problem is the stunning lack of CGT
1721: [20:26:47] <zippy> CGT?
1722: [20:26:59] <UncleCheese> it's a no-brainer for a foreign investor to dump all his cash into NZ real estate.. it's essentially free money
1723: [20:27:11] <UncleCheese> capital gains tax
1724: [20:27:33] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1725: [20:27:43] <zippy> ah
1726: [20:27:44] <catcher> And then sit on it while it deteriorates yet appreciates in value
1727: [20:28:24] * UndefinedOffset quit (Quit: Leaving.)
1728: [20:28:34] <Colin[pi]> good morning all :D
1729: [20:29:21] <zippy> morning
1730: [20:31:32] <kinglozzer> Evening Colin[pi]
1731: [20:31:42] * novaweb has joined #silverstripe
1732: [20:32:53] <irogue_> yeah, every other developed country has CGT
1733: [20:33:15] <irogue_> but when labour introduced it as a policy here, everyone else went OMG THIS IS SUCH A CRAZY IDEA LOOK HOW CRAZY THESE PEOPLE ARE
1734: [20:37:07] <willr> irogue_ yes but it doesn’t work for other countries so what would make it work here?
1735: [20:37:25] * Ryan-Toast quit (Quit: Ryan-Toast)
1736: [20:37:39] <irogue_> willr: if it doesn't work in other countries, why do other countries all still have it?
1737: [20:38:05] <willr> I like the idea of it, but I had a lecture from the minister in that it’s one of those taxs that costs a high % to run. A more effective one would to raise top personal tax rate to 40%.
1738: [20:38:34] <willr> the cost of running such a tax system like higher personal is so much lower.
1739: [20:40:07] * stephanvd quit (Quit: Computer has gone to sleep.)
1740: [20:40:26] <irogue_> yeah, I particularly liked greens' policy on the extra tax bracket
1741: [20:40:49] <willr> Yep that got my vote
1742: [20:41:25] <willr> Greens always have solid policies for the most part but this year people just got scared of Labour
1743: [20:41:34] <irogue_> yeah
1744: [20:41:41] <adrexia> willr but that still means a bunch of people who earn a lot of money never pay tax
1745: [20:41:50] <adrexia> which is a bit dumb
1746: [20:41:52] <willr> Like who?
1747: [20:42:07] <adrexia> lkke people who only get income from capital gains
1748: [20:42:31] <irogue_> property speculators! the country's favourite peolpe
1749: [20:42:53] <willr> but the probably with that is labours CGT did not take inflation into account
1750: [20:43:07] <adrexia> heh
1751: [20:43:10] <manja14> "so $20/kg for chicken"
1752: [20:43:13] <manja14> wait, what?
1753: [20:43:18] <willr> And what happens with Captial Gain is done by the home owner putting in work on the house
1754: [20:43:27] <willr> they deon’t get a tax refund for materials
1755: [20:43:36] <willr> it’s asymetric.
1756: [20:43:40] <adrexia> I don't really care for the specifics. But the over all "we need some sort of capital gains tax" like I agree with
1757: [20:44:15] <adrexia> *line
1758: [20:44:28] <willr> But by the time you add in the specifics and read the report, 17.24% of the tax take from CGT is onto adminstration costs I think thats a waste of a policy
1759: [20:44:32] * Ryan-Toast has joined #silverstripe
1760: [20:45:12] <adrexia> maybe
1761: [20:45:17] <adrexia> I just like the fairness of it
1762: [20:45:39] <Stomach> irogue_ - not going to be able to stay for hackday :(
1763: [20:45:48] <Stomach> got hit in the nuts with some jobs
1764: [20:45:51] <Stomach> right in the nuts
1765: [20:45:56] <irogue_> ow, right in the nuts!
1766: [20:46:28] <adrexia> if there were an easy way to tax just the profit (minus expense) it would be good.
1767: [20:47:06] <irogue_> I have no idea what the people walking up queen st are yelling about but they're very loud
1768: [20:47:31] <adrexia> and iuts pretty straight forward for taxcing shares
1769: [20:47:41] <adrexia> so maybe they should start with that
1770: [20:48:17] <adrexia> irogue_, I went past a workers party thing in wellington
1771: [20:48:21] <adrexia> could be the same?
1772: [20:48:34] <irogue_> yeah, could be
1773: [20:48:45] <irogue_> megaphones, lots of people blowing whistles
1774: [20:48:47] <willr> adrexia, in my view. You should be taxed any % over and above RV your property gets. RV considers your investment into your property and improvements. It also is what your rates are on
1775: [20:49:03] <adrexia> a lot of people are really angry/worried about selling state houses - could also be that
1776: [20:49:11] <willr> If you get more than RV then that’s because people speculate that property prices are going up
1777: [20:49:32] <adrexia> willr sounds good to me.
1778: [20:49:45] <willr> anything over RV would be a very small tax take (like less than $100 millon ) buit it’ll be cheap
1779: [20:50:03] <adrexia> its better than nothing
1780: [20:50:14] <adrexia> property is a bit special
1781: [20:50:43] <adrexia> I dsort of think property speculation shouldn't be legally allowed
1782: [20:50:51] <adrexia> above say 5 houses
1783: [20:51:24] <adrexia> its very damaging with no benefit to society
1784: [21:03:42] * nicolaas_ has joined #silverstripe
1785: [21:08:24] <manja14> is there anything like $allowed_parents?
1786: [21:08:49] * catcher quit (Quit: Leaving)
1787: [21:10:04] <willr> nope manja14
1788: [21:10:34] <willr> you would have to override canCreate() or canEdit() to reject it based on parent type
1789: [21:10:44] <Ryan-Toast> manja14: just set canBeRoot to false, then set the allowed_children in the holders to that class
1790: [21:13:00] * UncleCheese has joined #silverstripe
1791: [21:14:13] * veb has joined #silverstripe
1792: [21:14:45] * micmania1 has joined #silverstripe
1793: [21:16:52] <manja14> I know I can override parent in onBeforeWrite
1794: [21:17:13] <manja14> I'm just curious is there a more elegant solution
1795: [21:17:59] * irgbit quit (Remote host closed the connection)
1796: [21:21:08] * irgbit has joined #silverstripe
1797: [21:25:02] <manja14> and when I get "Removing orphaned versioned records" during dev/build
1798: [21:25:14] <manja14> what does it mean, and how can I get which records got removed?
1799: [21:27:28] <Colin[pi]> manja14: it means SS is removing versioned data that has nothing in parent tables/classes
1800: [21:27:44] <Colin[pi]> i.e. it's no longer associated with any parent records
1801: [21:30:05] <manja14> Colin[pi] ok, but how can I get that if I didn't log in to admin ever?
1802: [21:30:31] <manja14> clean install, no changes, added some classes, boom - removing orphaned recors
1803: [21:30:34] <manja14> *records
1804: [21:31:13] * irgbit quit (Remote host closed the connection)
1805: [21:31:53] <Colin[pi]> manja14: it would have found something in one of the _versions tables, as that's they only way it's triggered... perhaps the classes inserted some stuff? dunno
1806: [21:33:21] * kinglozzer quit ()
1807: [21:33:41] <manja14> nope, no requireDefaultRecords, not a single insert to database
1808: [21:34:11] <manja14> funny part is that it was triggered on localhost, but not on dev env
1809: [21:34:29] <manja14> and localhost was exact clone of dev env
1810: [21:34:56] <Colin[pi]> manja14: *shrug* if you want to see the query that it's using to detect the orphaned stuff, it's in Versioned.php:498
1811: [21:35:45] <manja14> only diff is that I added majority of new code to localhost, run dev/build (no orphans), added another class - orphans removal triggered
1812: [21:36:23] <manja14> while on dev I run dev/build for all classes simultaneously
1813: [21:37:55] <manja14> Colin[pi] never mind, it's not broken, so I'm sure I won't be fixing it :)
1814: [21:38:03] <Colin[pi]> :)
1815: [21:39:16] <manja14> but quick database inspection suggests that it removed data from ErrorPage_versions
1816: [21:39:31] <manja14> since table is empty, and next index is 3
1817: [21:40:36] <Colin[pi]> mm
1818: [21:40:43] <Colin[pi]> I wouldn't worry about it
1819: [21:42:29] * kinglozzer has joined #silverstripe
1820: [21:42:38] <manja14> as I said
1821: [21:42:47] <manja14> if it ain't broken, don't fix it :)
1822: [21:46:18] * irgbit has joined #silverstripe
1823: [21:46:33] * travis-ci has joined #silverstripe
1824: [21:46:33] <travis-ci> silverstripe/silverstripe-framework#3439 (master - 7a8b4a7 : Sean Harvey): The build passed.
1825: [21:46:33] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/b4df2aa80ff3...7a8b4a7f63f5
1826: [21:46:33] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/37543548
1827: [21:46:33] * travis-ci has left #silverstripe
1828: [21:51:46] * Ryan-Toast quit (Quit: Ryan-Toast)
1829: [21:53:37] * gelignite quit (Quit: http://bit.ly/nkczDT)
1830: [21:57:51] * Fuxo quit (Quit: leaving)
1831: [22:02:18] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1832: [22:06:08] * kinglozzer quit ()
1833: [22:09:27] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1834: [22:12:23] * Zauberfisch quit (Ping timeout: 240 seconds)
1835: [22:12:56] * Zauberfisch has joined #silverstripe
1836: [22:14:56] * veb has joined #silverstripe
1837: [22:19:19] * lerni_ quit ()
1838: [22:25:10] <ss23> Wake up... < Ryan-Toast> ss23 is the worst.
1839: [22:25:13] <ss23> :(
1840: [22:25:36] * Colin[pi] hugs ss23
1841: [22:25:46] <ss23> <3
1842: [22:25:47] <ss23> Thanks
1843: [22:25:56] * Colin[pi] begins to stroke ss23's hair
1844: [22:26:05] <simon_w|work> Hussy!
1845: [22:26:13] <ss23> o.o
1846: [22:31:09] * joelpittet has joined #silverstripe
1847: [22:31:36] * simon_w|work quit (Read error: Connection reset by peer)
1848: [22:33:06] * simon_w has joined #silverstripe
1849: [22:33:16] <Colin[pi]> all that horrible sun outside simon_w..
1850: [22:33:29] <zippy> where is antmas these days
1851: [22:33:35] <Colin[pi]> zippy: he has ebola
1852: [22:33:48] <Colin[pi]> or it could be the flu, either way he's fucked
1853: [22:33:59] <ss23> ahaha, bigpipe makes me rofl
1854: [22:34:06] <ss23> (best plan if you do a lot of uploading, backing up to the cloud, torrenting of Linux iSOs etc)
1855: [22:34:56] <simon_w> Bloody Linux desktop machines
1856: [22:35:16] * manja14 quit (Ping timeout: 246 seconds)
1857: [22:35:30] <Colin[pi]> simon_w: LINUX WILL BE THE DOMINANT DESKTOP SOON (said every neckbeard for the past 20 years)
1858: [22:35:50] <simon_w> Colin[pi], now, if only it could stop having the GPU crash!
1859: [22:36:05] <Colin[pi]> simon_w: so the linux gpu drivers are still shit?
1860: [22:36:28] <simon_w> Well, it can't even boot if I've got the intergrated chip enabled, so I'm going with yes
1861: [22:36:35] <Colin[pi]> :\
1862: [22:39:47] <simon_w> I'll just IRC from my laptop instead
1863: [22:42:38] * Ryan-Toast has joined #silverstripe
1864: [22:43:10] <adrexia> lol https://github.com/silverstripe/deploynaut/pull/50#discussion_r18545281
1865: [22:43:25] <adrexia> yeah ss23, give it a try
1866: [22:43:56] <ss23> Okay I'll try it right no--ah who am I kidding
1867: [22:43:59] <ss23> Too lazy for that, adrexia!
1868: [22:44:46] * tractorcow has joined #silverstripe
1869: [22:45:22] <simon_w> Mmmm, V
1870: [22:47:59] <zippy> mmm a bag of sugar
1871: [22:48:29] <irogue_> Mmmm, Monster Import
1872: [22:49:52] <simon_w> Breakfast was good too
1873: [22:50:01] <simon_w> Doughnut balls with melted chocolate in the middle
1874: [22:50:38] <zippy> a picture of health
1875: [22:50:52] <simon_w> It's basically pure carbs!
1876: [22:51:37] <simon_w> That's good for you, right?
1877: [22:54:41] <adrexia> wow tractorcow, that never happens
1878: [22:55:24] <irgbit> hi all. we've just installed our new silverstripe site on an amazon ec2 and we're using Bitbucket. In order to automatically publish code changes to the Bitbucket repo we need a hook, right? Any recommendations?
1879: [22:58:48] <ss23> irgbit: When a developer makes code changes, they type "git push" and it'll publish code changes to the bitbucket repo?
1880: [22:58:57] <irgbit> yes
1881: [22:59:04] <ss23> Or do you mean like have the EC2 instance know when changes happen in bitbucket and update the EC2 site?
1882: [22:59:54] <irgbit> ss23: the developers push to bitbucket and the ec2 instance should recognize changes in the repo and update the ec2 site. yes.
1883: [23:00:02] <irgbit> (if that makes sense)
1884: [23:00:32] <irgbit> or if there's a simpler approach please let me know
1885: [23:03:15] <ss23> irgbit: Yeah, um
1886: [23:04:02] <ss23> irgbit: The most simple solution for me to write (and it's not a good or nice solution) would be to run `git pull` on the EC2 instances on a cron and if it does do updates, run a ./framework/sake dev/build flush=1 && clear the cache
1887: [23:04:07] <ss23> Put it on a cron every 5 minutes or something
1888: [23:04:17] <irgbit> ok
1889: [23:04:21] * caamic30 has joined #silverstripe
1890: [23:04:34] <irgbit> yeah i thought about that but considered that probably rather "in-elegant"
1891: [23:04:38] <zippy> irgbit: http://ftploy.com/ or http://dploy.io/ (free plan)
1892: [23:04:39] <irogue_> the nicer way is using git hooks :P
1893: [23:04:41] <ss23> Yeah, it is irgbit
1894: [23:05:06] <ss23> irogue_: This way tries to remove any chance of permission/firewall/everything else issues
1895: [23:05:34] <irgbit> ah thx zippy dploy.io looks actually great
1896: [23:06:04] <zippy> I use dploy.io on a project
1897: [23:06:17] <zippy> same guys which do http://beanstalkapp.com/ which is nice
1898: [23:07:07] <irgbit> nice zippy will forward that to the team. we have mostly students/junior developers not working full time so the most simple approach seems the best in our case. thanks a lot
1899: [23:07:21] <ss23> irgbit: Oh oh
1900: [23:07:24] <zippy> dploy.io sounds like it could be ideal
1901: [23:07:24] <ss23> irgbit: Are you doing the CI stuff?
1902: [23:07:29] <ss23> irgbit: SUMMER OF TECH?!
1903: [23:07:36] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1904: [23:08:03] <irgbit> no ss23 I'm not a student but at least one person in our team does afaik
1905: [23:08:21] <ss23> irgbit: I meant, the "team" is it one of the spark ventures CI team thingies
1906: [23:08:31] <ss23> I know a guy who is doing Summer of Tech there, CGI
1907: [23:08:46] <ss23> uh
1908: [23:08:49] <ss23> I don't know why I wrote CGI
1909: [23:08:50] <irgbit> no we're on a research project for vic uni design school
1910: [23:08:53] <ss23> awwww :(
1911: [23:08:57] <ss23> I see irgbit, cool cool
1912: [23:08:58] <irogue_> ss23: cgi-bin bro
1913: [23:09:18] <ss23> But what if someone uses that crazy bug on you? You know, bash?
1914: [23:09:56] <irgbit> you'll probably see more of our team pop up here next week (after we gave them a irc-intro)
1915: [23:10:03] <irogue_> pizza's here!
1916: [23:10:12] <simon_w> irogue_, where's mine?
1917: [23:10:19] <simon_w> Ooh, is pizza night tonight!
1918: [23:10:37] <irogue_> simon_w: come and get it :P
1919: [23:10:43] <micmania1> pizza makes me happy on the inside.
1920: [23:10:47] <simon_w> irogue_, fly me over?
1921: [23:11:00] <Colin[pi]> me too!
1922: [23:11:25] <irgbit> wow pizza i'm hungry. off to lunch!
1923: [23:13:00] * tractorcow quit (Quit: tractorcow)
1924: [23:13:03] <ss23> Pizza for lunch here I think
1925: [23:13:26] * joelpittet quit ()
1926: [23:14:28] * caamic30 quit (Quit: caamic30)
1927: [23:15:09] <micmania1> 6 minutes until I can pick up my burger from BF. Not sure if I can hold out that long :(
1928: [23:23:52] <ss23> micmania1 hasn't come back yet
1929: [23:23:57] <ss23> Oh maybe he did and he's in the kitchen
1930: [23:24:07] <Ryan-Toast> ss23: maybe he’s all http://www.gfycat.com/BabyishShinyHarrier
1931: [23:24:10] <simon_w> Cooking some eggs?
1932: [23:24:24] <ss23> lol
1933: [23:28:57] <simon_w> irogue_, I'm still waiting for those flights :p
1934: [23:29:22] * stojg has joined #silverstripe
1935: [23:39:18] <Ryan-Toast> anyone had an issu where the cms will change the url, but not actiually load the page?
1936: [23:40:05] <simon_w> Ryan-Toast, probably the JS response is bung
1937: [23:40:32] <Ryan-Toast> simon_w: is there a common reason for this, aka where have I fucked up?
1938: [23:40:44] <simon_w> Ryan-Toast, whitespace at the start of the request
1939: [23:40:58] <Ryan-Toast> simon_w: in a class?
1940: [23:41:15] <simon_w> Ryan-Toast, anywhere. Check the response to see if that's the case though.
1941: [23:42:06] <Ryan-Toast> simon_w: where do I check in the responce if there’s white space?
1942: [23:42:23] <simon_w> Ryan-Toast, web inspector
1943: [23:42:48] <Ryan-Toast> simon_w: I know where the respoonce is, but where do I check for the whitespace? just under Response Header?
1944: [23:42:51] <Ryan-Toast> Headers**
1945: [23:43:02] <simon_w> Ryan-Toast, at the start of the request body
1946: [23:43:34] <Ryan-Toast> simon_w: Content: "<div id="pages-controller-cms-content”…. looks fine
1947: [23:43:59] <Ryan-Toast> <?php{"Content":"<div id=\...
1948: [23:45:15] <simon_w> Ryan-Toast, that <?php at the start shouldn't be there :p
1949: [23:45:22] <Ryan-Toast> simon_w: ah, right
1950: [23:45:30] <simon_w> You've got a _config.php that's just <?php. Needs a newline after it
1951: [23:45:32] <Ryan-Toast> simon_w: so I just got to find out where that is.
1952: [23:46:51] <Ryan-Toast> simon_w: It was the _config not having a space, cheers man :)
1953: [23:53:50] * terryapodaca has joined #silverstripe
1954: [23:54:44] <terryapodaca> I've looked but couldn't find this, but is there no way to <% if $Title == "this" or "that" %> in a template?
1955: [23:55:55] <terryapodaca> ah, never mind...found if
1956: [23:58:17] <terryapodaca> it

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