#silverstripe IRC Log

IRC log for 25 September 2014

All timestamps are in UTC.

1: [00:02:25] * veb has joined #silverstripe
2: [00:09:19] <Colin[pi]> Blacklite: pretty sure there'd be a better option than resorting to JS
3: [00:11:18] <UncleCheese> Blacklite can you show me the getFilterLink method?
4: [00:14:02] <Blacklite> i've ended up looping through the Categories before output and adding the filter link in there
5: [00:14:09] * lerni has joined #silverstripe
6: [00:14:10] <Blacklite> so i can just echo it in the template with $FilterURL
7: [00:18:53] * lerni quit (Ping timeout: 272 seconds)
8: [00:19:02] <Colin[pi]> Blacklite: usually I've found in SS if you find yourself in a situation where you need to pass params into template method calls, "ur doin it wrong" :)
9: [00:19:28] <Colin[pi]> there's typically a better way
10: [00:19:35] <UncleCheese> Blacklite a better solution is probably to define the method on the model, and look at Controller::curr()
11: [00:19:40] <Colin[pi]> ^
12: [00:19:47] <Colin[pi]> that's what I usually do
13: [00:19:56] <Colin[pi]> make the method do the hard lifting
14: [00:20:06] <Colin[pi]> the template doesn't care, it just calls the placeholder
15: [00:20:37] <Blacklite> yea, im just used to cakephp where you do url's in the templates
16: [00:20:45] <Blacklite> and use helpers
17: [00:20:57] <Colin[pi]> Blacklite: mm SS in general likes to keep as much as possible OUT of the templates
18: [00:21:06] <Colin[pi]> lots of placeholders and loops and such
19: [00:21:16] <Colin[pi]> but not much code or passing params and such
20: [00:21:20] <Blacklite> yep
21: [00:21:35] <Blacklite> i've been kinda getting used to it but it still gets me from time to time
22: [00:21:40] <Colin[pi]> some people complain about that but I really like the simple template format
23: [00:21:46] <Colin[pi]> yeah it does take a bit of getting used to
24: [00:21:50] <adrexia> <Colin[pi]> Blacklite: usually I've found in SS if you find yourself in a situation where you need to pass params into template method calls, "ur doin it wrong" :)
25: [00:21:52] <adrexia> nah
26: [00:22:02] <adrexia> menu(2) is valid, for instance ;)
27: [00:22:02] <Blacklite> i know it's just a different thought process - it's really hard to see you're thinking things the wrong way until you know the right way
28: [00:22:11] <Colin[pi]> adrexia: with notable exceptions :P
29: [00:22:14] <Blacklite> yea but it's static, rather than dynamic (which is what i was trying to do)
30: [00:22:35] <Colin[pi]> adrexia: I'm talking more "I'm looping over these DO's and I need to pass the DO ID into this method"
31: [00:22:45] <adrexia> I like the simple and clear division. Currently doing a bunch of drupal
32: [00:23:00] <adrexia> and it... seems to think html should be generated in php
33: [00:23:05] <adrexia> directly
34: [00:23:08] <Colin[pi]> yuck
35: [00:23:10] <Blacklite> i was told at my previous job
36: [00:23:15] <Blacklite> (i won't say who)
37: [00:23:25] <Blacklite> that they wouldn't really need back-end devs anymore due to drupal
38: [00:23:36] <Colin[pi]> lol
39: [00:23:37] <adrexia> Colin[pi], oh, yeah, shouldn't need the id.
40: [00:24:09] <Blacklite> BBL thanks a bunch guys
41: [00:24:09] <adrexia> Blacklite -0 the actual case is that the backend devs end up doing all of the templates too
42: [00:24:14] <Blacklite> yeah i know
43: [00:26:43] <Colin[pi]> you had one job, MS Outlook
44: [00:26:47] <Colin[pi]> ONE job
45: [00:27:01] <Colin[pi]> how could you print newsletter email html wrong?
46: [00:27:08] <Colin[pi]> it's like... html from 15 years ago
47: [00:27:11] <Colin[pi]> HOW COULD YOU DO IT WRONG
48: [00:28:07] <adrexia> lols
49: [00:28:23] <adrexia> seen how much gmail messes it up?
50: [00:28:38] <Colin[pi]> ugh
51: [00:28:47] <adrexia> it strips out the head tag, and ditches all css except inline styles
52: [00:28:58] <adrexia> html templates are not actually html
53: [00:29:09] <Colin[pi]> yeah well this newsletter is using a <table> layout template, inline styles etc.
54: [00:29:10] <adrexia> it's easier to not think of them that way.
55: [00:29:12] <Colin[pi]> really basic formatting
56: [00:29:17] <Colin[pi]> and it STILL gets it wrong
57: [00:29:20] <adrexia> lols
58: [00:29:34] <adrexia> better you tyhan me. ;)
59: [00:30:24] <adrexia> ()
60: [00:30:42] <Colin[pi]> client is like "but it's MS Outlook, should be perfect?!" - uhh, no
61: [00:30:44] <adrexia> I sympathize really. I think noone should have to do html emails
62: [00:31:11] <adrexia> Actually, I think html templates are the job of the client to make
63: [00:31:13] <Colin[pi]> adrexia: do people actually read newsletters?
64: [00:31:22] <adrexia> I'm sure some do
65: [00:31:29] <Colin[pi]> I don
66: [00:31:31] <Colin[pi]> oops
67: [00:31:32] <adrexia> but not if it has too much html
68: [00:31:37] <Colin[pi]> I don't think I ever have lol
69: [00:31:40] <adrexia> haha
70: [00:31:51] <Colin[pi]> oh look a newsletter *delete*
71: [00:32:05] <adrexia> yeah, I mostly don't. but when I do they basdically have a header, bold, italic, and thats it
72: [00:32:14] <adrexia> if I wanted a website, I'd go look at the website
73: [00:32:59] <adrexia> but anhyway. Throw them a tool like mailchimp or campaign moniter and let them go wild
74: [00:33:07] <adrexia> emails != web
75: [00:33:15] <Colin[pi]> adrexia: yep I think I'll do that in the future
76: [00:38:24] * jedateach quit (Quit: jedateach)
77: [00:41:25] * lerni has joined #silverstripe
78: [00:45:49] * lerni quit (Ping timeout: 244 seconds)
79: [00:48:28] <simon_w|work> I remember when SilverStripe's HTML->Text email thing stripped tags, but not their contents
80: [00:48:33] <simon_w|work> Hello CSS and JS!
81: [00:58:30] <spronk> hmm, hexchat is flashing at me but i cbf scrolling bakc
82: [00:58:48] <simon_w|work> subsites
83: [00:58:53] <spronk> lol
84: [00:59:03] <spronk> but of course
85: [00:59:25] <Stomach> Olliepop was asking if anyone had had negative experiences with it
86: [00:59:42] <spronk> ha
87: [00:59:48] <spronk> ha anyone had any positive experiences with it?
88: [01:00:29] <Kingy> that was the reply given
89: [01:00:35] <adrexia> I've had 'whatever, this will do' experiences with it
90: [01:00:37] * wmk has joined #silverstripe
91: [01:01:22] <spronk> i've used it on... four? sites
92: [01:01:40] <spronk> the only time i didn't hate it completely was when it was doing a microsite type thing
93: [01:03:06] <spronk> you also have to hack core to get it to work properly
94: [01:03:15] <spronk> for certian use cases
95: [01:08:51] * jedateach has joined #silverstripe
96: [01:10:53] * Ryan-Toast quit (Quit: Ryan-Toast)
97: [01:16:10] * Sticks has joined #silverstripe
98: [01:16:34] * simon_w|work used it once
99: [01:16:45] <simon_w|work> May have even been back on 2.3
100: [01:20:49] <spronk> yeah
101: [01:20:54] <adrexia> spronk yeah. It was designed for microsites. Making it do anything else is fighting against the current
102: [01:20:54] <spronk> think i first used it on 2.3
103: [01:20:56] <spronk> man that was ages ago
104: [01:21:02] <adrexia> ouch
105: [01:21:26] <spronk> bloody microsites
106: [01:21:28] <adrexia> the core already has hacks for subsites
107: [01:21:36] <spronk> i know
108: [01:21:40] <spronk> and they don't work lol
109: [01:21:42] <spronk> well, they do a bit
110: [01:21:52] <adrexia> and translatable, but that used to be core, so I kind of get that
111: [01:22:01] <spronk> translatable is a joke
112: [01:22:09] <adrexia> ...its not very funny
113: [01:22:29] <spronk> need a module that bridges the gap between some of the stuff that subsites does, and the stuff that translatable does
114: [01:23:22] <adrexia> ditch translatable
115: [01:23:51] <spronk> one of the pretty common requirements is having country sites with slightly different content sets
116: [01:23:55] <adrexia> use subsites for translated websites. Or fluent
117: [01:23:56] <spronk> but sharing others
118: [01:24:00] <spronk> neither handles this well
119: [01:24:23] <adrexia> https://github.com/tractorcow/silverstripe-fluent
120: [01:24:45] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
121: [01:31:24] <Tanger> Morning guys
122: [01:33:42] <spronk> fluent
123: [01:33:42] <spronk> interesting
124: [01:33:49] <spronk> adrexia, can you share content between translations?
125: [01:34:26] <adrexia> I *think* it does that by default. You add trnaslations on a content block basis
126: [01:34:36] * UncleCheese has joined #silverstripe
127: [01:34:50] <adrexia> it doesn't do seperate sitetrees though
128: [01:35:11] <adrexia> so depends on your use case
129: [01:37:04] <Stomach> different site trees = different websites = two CMS's
130: [01:37:14] <Stomach> I wish I could pound that into some account managers heads
131: [01:37:22] <adrexia> Stomach, I agree
132: [01:37:25] <Stomach> it doesn't make it "easier" having it all under one CMS
133: [01:37:29] <Stomach> it makes it fucking confusing
134: [01:37:40] <adrexia> though for transaltions, its a fine line
135: [01:38:16] <UncleCheese> really depends on the architecture of the sites and the UX of the CMS
136: [01:38:57] <spronk> eh
137: [01:38:58] <UncleCheese> i don't think SS does multisite very well.. you can't just pin a dropdown menu to the corner of the screen and call it a multisite experience
138: [01:38:58] <Stomach> translations are awkward, especially when it turns out clients almost always dont mean "translated" they mean "different page structure completely"
139: [01:38:58] <spronk> nah man
140: [01:39:08] <spronk> same cms
141: [01:39:24] <spronk> esp when you hvae a massive library of content that doesn't need to be translated across different territories
142: [01:39:40] <UncleCheese> i love i18n projects actually
143: [01:40:14] <UncleCheese> when it's a pain in the ass, it's a sign of a major problem..
144: [01:41:22] <spronk> ?
145: [01:41:38] <simon_w|work> When you have to start doing t10n
146: [01:41:40] <spronk> its pretty easy to do i18n in SS to give to a larger organisation
147: [01:42:14] * lerni has joined #silverstripe
148: [01:42:57] <adrexia> Unclecheese, yeah the UI is a bit confusing. Used to be worse still
149: [01:43:17] <adrexia> if you are handling multiple sites, you need a landing page that is agnostic
150: [01:43:43] <adrexia> but that could jkust as easily been done outside of the cms, and tie two instances togther
151: [01:44:16] <adrexia> then you wouldn't get the database sharing thing that is meant to be a feature of subsites, but clients don't understand...
152: [01:44:27] <adrexia> and see as a bug
153: [01:44:32] <spronk> because it doesn't work
154: [01:44:54] <adrexia> they don't want subsites - they want multiple instances with a common portal
155: [01:44:58] <spronk> most of the subsites stuff i've done has been companies that have presence ina few english speaking countries
156: [01:45:21] <adrexia> are, so subsites for translations?
157: [01:45:22] <spronk> in most cases they have some library of content that should be the same accross all, and a set of content that differs
158: [01:45:28] <spronk> yeah, but it isn't translations
159: [01:45:31] <adrexia> yep
160: [01:45:36] <spronk> because, e.g. one country might have a new product line that others don't
161: [01:45:37] <adrexia> right
162: [01:45:44] <spronk> or... one country might need different set of products to meet standards in that country
163: [01:45:44] <adrexia> localization
164: [01:45:51] <spronk> yeah
165: [01:46:02] <adrexia> could do that with a personalization module
166: [01:46:06] <spronk> hmm?
167: [01:46:23] * lerni quit (Ping timeout: 240 seconds)
168: [01:46:37] <adrexia> it's umm... a thing that was prototyped but never finished
169: [01:46:55] <spronk> the last time i did a site like that i didn't use subsites
170: [01:46:56] <adrexia> but essentially targetted users based opn location etc
171: [01:46:59] <spronk> and built a content tree sync module
172: [01:47:10] <spronk> didnt have a large budget so it was pretty hacky
173: [01:47:15] * adrexia nods
174: [01:47:39] <spronk> but it used subsites to do the domain controlling etc
175: [01:47:49] <adrexia> could do a completely custom thing and just add a has many relation to a country to all dataobjects
176: [01:47:54] <spronk> and then just had a set of subsites attached to each page, and a big sync button
177: [01:48:22] * adrexia nods
178: [01:48:40] <spronk> worked well for a while
179: [01:48:48] <spronk> then eventually fell apart and they had to do an audit and re-sync
180: [01:49:13] <spronk> for that sort of use case you really need a "master" set
181: [01:51:48] <Stomach> yeah but then you have site one needs ABC, site two needs BCD and site three needs EF
182: [01:52:17] <Stomach> anyway, screw it
183: [01:52:18] <Stomach> :D
184: [01:52:23] <spronk> mm
185: [01:55:08] * zippy has joined #silverstripe
186: [02:06:56] <Tanger> Hey, what's everyone's favorite Silverstripe cart system?
187: [02:07:21] <zippy> most people use swipe stripe i fink
188: [02:07:38] <spronk> mm
189: [02:07:42] <spronk> swipestripe definitely the best
190: [02:07:55] <Tanger> Nice, thanks
191: [02:15:37] * Ryan-Toast has joined #silverstripe
192: [02:16:15] <zippy> everyone updated their servers?
193: [02:17:00] <Sticks> Hi all, can anyone see any problems here (forum link: http://www.silverstripe.org/community/forums/data-model-questions/show/75082)? I'm hoping it's something simple I'm missing.
194: [02:18:34] <Stomach> zippy - the bug isnt fixed yet
195: [02:18:37] * willr quit (Quit: willr)
196: [02:18:50] <zippy> not fully, but worth at least putting in the partial fix
197: [02:19:52] <Kingy> don't ya love going back over something and wondering wtf you were smoking when you did it
198: [02:20:27] <spronk> fucking bash
199: [02:20:32] <Colin[pi]> Kingy: lol yep
200: [02:20:48] <spronk> part of me wonders whether i should just start using some obscure tech that noone else uses
201: [02:20:54] <Colin[pi]> loaded up some code from an old site of mine the other day... plenty of WTF for all
202: [02:21:02] <spronk> serve my websites from minix or something
203: [02:22:33] * veb is now known as vebb
204: [02:22:38] <Tanger> Sticks: try debugging it with ?previewwrite=1 or ?showqueries
205: [02:22:39] * vebb is now known as veb
206: [02:22:43] * veb is now known as vebb
207: [02:22:49] <Tanger> You may be able to follow what it's trying to send to the DB
208: [02:22:51] * vebb is now known as veb
209: [02:24:03] * veb is now known as vebb
210: [02:24:16] * macka^ quit (Ping timeout: 246 seconds)
211: [02:27:40] <Sticks> Tanger, sounds worth a shot. Cheers.
212: [02:31:23] * willr has joined #silverstripe
213: [02:34:23] * jrthomer quit (Ping timeout: 240 seconds)
214: [02:36:22] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
215: [02:41:28] * vebb is now known as veb
216: [02:42:24] <zippy> man
217: [02:42:30] <zippy> I can never get the cp command to work as I expect
218: [02:42:39] <zippy> cp -r folder/ otherfolder/
219: [02:42:46] <Olliepop> Anyone used Swipestripe with subsites successfully?
220: [02:42:52] <zippy> sometimes it will create, sometimes it will just throw the files in somewhere
221: [02:42:58] <Colin[pi]> zippy: i usually use cp -R folder/* otherfolder/
222: [02:43:03] * lerni has joined #silverstripe
223: [02:43:18] <Colin[pi]> Olliepop: that sounds like a recipe for disaster
224: [02:43:21] <Colin[pi]> could be wrong :D
225: [02:43:39] * Liquide^2 quit ()
226: [02:43:47] <zippy> Colin[pi]: seemed to work...
227: [02:43:50] <zippy> 10 points for you
228: [02:44:10] <Colin[pi]> zippy: oh that may not have copied .htaccess in the root of the folder :o
229: [02:44:13] <Colin[pi]> just check if you need to
230: [02:44:55] <zippy> man, flush and dev build are so much faster in 2.x
231: [02:45:08] * veb is now known as vebb
232: [02:45:10] <Colin[pi]> zippy: yes, yes they are :\
233: [02:45:15] <zippy> time to ugprade the client
234: [02:45:32] <Colin[pi]> zippy: I really like my customised 2.4 platform, but.. alas, I will upgrade over the holidays
235: [02:46:11] <Olliepop> Colin[pi]: Yeah probably is.. haha
236: [02:47:29] <zippy> dang..
237: [02:47:57] * lerni quit (Ping timeout: 272 seconds)
238: [02:48:01] <zippy> this is alpha and not designed for production just yet.
239: [02:48:03] <zippy> sounds ready to me
240: [02:49:47] <Colin[pi]> what's that, zippy?
241: [02:49:57] <zippy> math spam protection, want to add to 2.4 site
242: [02:50:01] <Colin[pi]> ah
243: [02:52:50] <Ryan-Toast> “I will always choose a lazy person to do a difficult job because he will find an easy way to do it." -Bill Gates. Sums up how I keep getting hired.
244: [02:53:29] <zippy> sums up why windows 95 and 98 were so buggy
245: [02:53:30] <Colin[pi]> lol great quote
246: [02:53:46] <zippy> and, reminds me of this I just read on reddit; http://i.imgur.com/cQgTrjF.png
247: [02:54:08] <Ryan-Toast> zippy: literally in that thread right now.
248: [02:54:13] <Ryan-Toast> zippy: http://www.reddit.com/r/AskReddit/comments/1rgpdf/what_is_the_laziest_thing_youve_ever_done/
249: [02:54:14] <zippy> stop following me
250: [02:54:23] <Ryan-Toast> that’s the actual thread.
251: [02:54:34] <zippy> yea... I just go there for the pictures thou, no reading
252: [02:54:37] <Ryan-Toast> zippy: I see you… everywhere
253: [02:54:48] <zippy> hahahah doh, that picture has lots of words
254: [02:55:09] <Ryan-Toast> wow: Used to have one of those 'clap on, clap off' lights in my room. I hated clapping so I just made an audio recording of me clapping and mapped it to one of the programmable keys on my keyboard.
255: [02:55:12] <Colin[pi]> zippy reads reddit for the pictures and not the articles
256: [02:55:27] <Colin[pi]> sounds familiar... but opposite
257: [02:56:00] <spronk> loool thats gold
258: [02:56:03] <Colin[pi]> Ryan-Toast: wow that is... wow
259: [02:56:41] <Ryan-Toast> “My SO.” heh
260: [03:06:55] * jrthomer has joined #silverstripe
261: [03:12:22] * jrthomer quit (Ping timeout: 245 seconds)
262: [03:13:34] <Colin[pi]> Ryan-Toast: what's boilerplate based upon, bootstrap?
263: [03:13:56] <Ryan-Toast> Colin[pi]: It uses bootstrap.
264: [03:14:12] <Colin[pi]> find it ok? what are all the cool kids using now?
265: [03:14:28] <Ryan-Toast> Colin[pi]: I like the gird
266: [03:14:36] <Ryan-Toast> it’s a bit div nestish, but it’s fine
267: [03:14:44] <Colin[pi]> mm I noticed that
268: [03:14:55] <Colin[pi]> how many grid units?
269: [03:14:58] <Colin[pi]> or can it vary?
270: [03:15:06] <Ryan-Toast> 12
271: [03:15:09] <Colin[pi]> ah k
272: [03:15:18] <Colin[pi]> I've been using 16 in my sites
273: [03:15:28] <Ryan-Toast> you can slit grids for more if you wanted
274: [03:15:34] <Ryan-Toast> split**
275: [03:15:46] <Ryan-Toast> I like 12.
276: [03:15:52] <Ryan-Toast> It’s good 90% of the time
277: [03:16:05] <Colin[pi]> mm 16 is ok too but maybe overkill on occasion
278: [03:16:18] <Ryan-Toast> Colin[pi]: These are the components that boilerplate uses: http://i.imgur.com/9rUnwPN.jpg
279: [03:16:34] <zippy> 13
280: [03:16:37] <Colin[pi]> bootstrap all the things
281: [03:17:05] <spronk> SHOE LACE!
282: [03:17:26] <simon_w|work> Yay, weekend tomorrow!
283: [03:17:56] <Ryan-Toast> Some people get all high and mightay about using css frameworks, but these are people who don’t live in the real world and have to make shit ina day or two
284: [03:18:27] <Colin[pi]> simon_w|work: u lie :P
285: [03:18:36] <simon_w|work> Colin[pi], Nope!
286: [03:18:49] <Colin[pi]> Ryan-Toast: mm really use the tools that are right for you
287: [03:18:53] <simon_w|work> Weekend starts tomorrow, end on Labour Day
288: [03:19:19] <Kingy> "As a high-school senior I convinced the teacher that oversaw this program that because I had my own corporation that I used to sell stuff on ebay I should be able to be my own boss. She agreed.
289: [03:19:20] <Kingy> I failed that class because I didn't bother to fill-out the paperwork to give myself a grade."
290: [03:19:24] <Kingy> jesus christ
291: [03:19:43] <Colin[pi]> simon_w|work: labour day is on monday 6th :\
292: [03:19:43] <Ryan-Toast> I really only still use it because I can write <aside class=“col-xs-12 col-sm-6></aside><!— /.col-xs-12 col-sm-6 —> in a heartbeat.
293: [03:19:44] <spronk> ugh
294: [03:19:50] <spronk> css is so fucking broken
295: [03:19:54] <spronk> i used to be a purist
296: [03:19:55] <spronk> but fuck that shit
297: [03:19:56] <simon_w|work> Colin[pi], and that's how long my weekend is :p
298: [03:20:01] <spronk> BOOTSTRAP EVERYTHING
299: [03:20:07] <Ryan-Toast> spronk: eh, 99% of the time it’s fine.
300: [03:20:08] <Colin[pi]> simon_w|work :P
301: [03:20:09] <spronk> let twitter do the hard work
302: [03:20:31] <Ryan-Toast> spronk: let normalize do the hard work**
303: [03:20:39] <Colin[pi]> Ryan-Toast: I really like Skeleton, because it's so bare bones and simple to use... but getting a bit old now
304: [03:21:07] <spronk> mm
305: [03:21:11] <simon_w|work> ...like your mum
306: [03:21:17] <Ryan-Toast> I’m tossing up whether or not to merge foundations flex grind and bootstraps module.s
307: [03:21:19] <Kingy> ohhhhhhhhhhhh
308: [03:21:39] * simon_w|work goes back to working now
309: [03:21:43] <Colin[pi]> OH SNAP
310: [03:22:41] <simon_w|work> (Oh no HE DID INT)
311: [03:22:57] <Kingy> Colin[pi]: http://health.act.gov.au/health-services/canberra-hospital/
312: [03:23:05] <Kingy> best head there for your burns
313: [03:23:18] <Colin[pi]> Kingy: lol and it's like a 5 min walk from here
314: [03:24:35] <simon_w|work> Colin[pi], Calvary has shorter queues and stuff
315: [03:24:58] <Colin[pi]> simon_w|work: but it's all the way in Belconnen :P
316: [03:25:18] <simon_w|work> Colin[pi], and the bus stops right outside :p
317: [03:25:44] <simon_w|work> Well, not from Woden
318: [03:25:50] <simon_w|work> That stop's across the road
319: [03:25:57] <Kingy> simon_w|work: best let him go to closer one, you burnt him pretty good
320: [03:26:38] * Kapdap quit (Quit: leaving)
321: [03:27:26] <Colin[pi]> Kingy: lucky my gf is a nurse!
322: [03:27:56] <Kingy> ohh thats practical
323: [03:32:45] * jrthomer has joined #silverstripe
324: [03:32:47] <madmatt> simon_w|work: FYI, appears that tweet I linked to before is confirmed as RCE and will need another patch, hooray
325: [03:33:02] <simon_w|work> madmatt, oh goody
326: [03:33:09] * madmatt flails
327: [03:33:54] * UncleCheese has joined #silverstripe
328: [03:34:46] <zippy> Regional Coding Enhancement ?
329: [03:35:11] <simon_w|work> remote code execution
330: [03:35:22] <simon_w|work> The "lulz, pwned you" type
331: [03:35:28] <zippy> rgr
332: [03:36:56] * cloph_away has joined #silverstripe
333: [03:37:21] * cloph quit (Ping timeout: 244 seconds)
334: [03:41:37] <spronk> ughh
335: [03:41:39] <spronk> no way madmatt
336: [03:41:41] <spronk> D:
337: [03:41:46] <spronk> i just patched my servzor
338: [03:43:48] * lerni has joined #silverstripe
339: [03:47:00] * jrthomer quit (Ping timeout: 272 seconds)
340: [03:47:44] <zippy> zzzzzzzzzz
341: [03:48:25] * lerni quit (Ping timeout: 260 seconds)
342: [03:51:47] <Ryan-Toast> We’re vsing the bottom team at netball tonight. Should be a shitshow.
343: [03:52:22] <Ryan-Toast> Beat them by 70 points last time.
344: [03:52:25] <spronk> lul
345: [03:52:28] <Ryan-Toast> Poor bastards
346: [03:52:45] <Ryan-Toast> One guy got real fucking salty too.
347: [03:54:52] * jrthomer has joined #silverstripe
348: [03:55:43] <spronk> i find it hilarious when people can't control themselves in sport
349: [03:55:57] * spronk is fucking zen master
350: [03:56:52] * Kapdap has joined #silverstripe
351: [03:58:20] <simon_w|work> spronk, even if you're playing against someone called subsites? :p
352: [03:58:33] <spronk> YA MAN RASTA
353: [04:00:44] <spronk> my hatred these days gets directed to node.js
354: [04:01:16] <Ryan-Toast> lol! Wish I could go back to my old job and give it to some of the HR people: https://i.imgur.com/GquMxZY.jpg
355: [04:01:18] <adrexia> Oh, but not all of us can join you in hating on node
356: [04:01:24] <crapwagon> how come spronk
357: [04:01:27] <adrexia> we all agree subsites sucks
358: [04:01:41] <spronk> iii got hurt feelings, i got hurt feelingsss
359: [04:01:44] <crapwagon> i'm using multisites module at the moment
360: [04:01:44] <UncleCheese> crapwagon best handle ever
361: [04:01:50] <Ryan-Toast> spronk: I mean it’s fucking social netball, no need to get rustled.
362: [04:01:55] <spronk> lol ikr
363: [04:02:14] <Ryan-Toast> spronk: just makes me jump higher. Your tears sustain me./
364: [04:02:23] <spronk> :D
365: [04:02:25] <crapwagon> i spend all my time in #Node.js trying to tell people not to use node.js as a web server
366: [04:02:32] <spronk> haha
367: [04:02:32] <crapwagon> deaf ears but
368: [04:02:33] <spronk> yeahh
369: [04:02:37] <UncleCheese> here's my problem with node
370: [04:02:43] <UncleCheese> to those who will listen
371: [04:02:47] <Ryan-Toast> If it can be done in JS, it will be done in JS.
372: [04:02:51] <spronk> atwood's law
373: [04:02:53] * Colin[pi] listens intently
374: [04:03:32] <crapwagon> i've used node for a lot of big projects now, i had 35k concurrent websocket users for a jetstar thing earlier this year, but i use haproxy / node / nginx for everything and route sanely and use multiple machines sanely
375: [04:03:47] <spronk> crapwagon, how do you find maintenance?
376: [04:04:22] <zippy> feels like a friday, i just cbf'd
377: [04:04:24] <crapwagon> the long life node projects i have are all ffmpeg rendering servers so there isn't much churn on their codebase
378: [04:04:27] * spronk waits for UncleCheese
379: [04:04:30] <UncleCheese> I think it's downright haughty and supercilious for all these virgin platforms to take hold and completely disregard the value of 30+ years of using the current technology
380: [04:04:44] <crapwagon> #node.js is full of people doing string concat of sql queries
381: [04:04:46] <UncleCheese> like, oh, Apache is bullshit... use this javascript thing that some tool cooked up last year
382: [04:04:47] <crapwagon> it's good stuff
383: [04:04:57] <simon_w|work> So, UncleCheese is scared of change
384: [04:05:04] <UncleCheese> absolutely not
385: [04:05:37] <spronk> to be fair
386: [04:05:37] <spronk> apache is pretty bullshit
387: [04:05:37] <UncleCheese> but i don't think you should just jump on board with a brand new thing that's full of holes just because it's new and cool
388: [04:05:37] <spronk> ugh, crapwagon
389: [04:05:37] <spronk> i know exactly what you mean
390: [04:05:45] <spronk> npm is like amateur hour
391: [04:06:02] <UncleCheese> apache has been cultivated in a thriving ecosystem for decades.. nodeJS is brand new.. i don't know why people don't think that counts for anything
392: [04:06:16] <spronk> well
393: [04:06:19] <spronk> its more apache vs nginx
394: [04:06:21] <spronk> than apache vs node
395: [04:06:34] <spronk> apache has a LOT of baggage that just isn't needed anymore
396: [04:06:45] <UncleCheese> I've seen so many projects where a developer eschews LAMP because it's sooooooo last year, and his shit is falling over all the time because no one knows if this shit scales
397: [04:06:47] <crapwagon> if you consider heroku as the future model of app deployment then node isn't that much of a disaster, i think the main problems with node are community related, npm doesn't have sane policies for curating packages (lots of abandonware, badly written popular modules, forks of active modules are hard to find), javascript itself as a community needs something like pythons culture to enforce better code, influx of front end devs trying to devops/wr
398: [04:06:53] <spronk> and it's web model has been superceded by stuff that can handle the c10k problem
399: [04:07:00] <Colin[pi]> I'm with UncleCheese I never really "got" what all the fuss was about with node.js
400: [04:07:06] <crapwagon> but the CADT reinvention of things like parameterized queries for databases etc is a shitstorm
401: [04:07:15] <UncleCheese> Colin[pi] it's good for websockets?
402: [04:07:34] <Colin[pi]> UncleCheese: dunno I heard a lot of buzz, looked at it, and I'm like... "...ok?"
403: [04:07:36] <spronk> nah
404: [04:07:39] <spronk> node.js is all about async
405: [04:07:51] <Colin[pi]> all I know is that JS pisses me off like no other tech
406: [04:07:52] <Colin[pi]> NO other
407: [04:07:56] <Colin[pi]> it's unparalleled
408: [04:07:56] <crapwagon> twisted is a heap of shit, so node becomes a better option for coordinating messaging, depending on your zmq/rabbitmq/redispubsub/websocket disposition
409: [04:08:01] <spronk> yeah
410: [04:08:08] <spronk> the only real way to do proper async on an evented model is node
411: [04:08:23] <UncleCheese> true
412: [04:08:24] <spronk> i mean, you can do it with py, vertx, scala e.g. with akka
413: [04:08:33] * jrthomer quit (Ping timeout: 246 seconds)
414: [04:08:37] <Colin[pi]> JS is one of those weird things where, its so useful, its everywhere, we all need to use it, but it sucks balls
415: [04:08:39] <UncleCheese> but i see people serving static files with node and i'm just like.. what the fuck are you thinking
416: [04:08:47] <Colin[pi]> UncleCheese: lol
417: [04:08:49] <spronk> but the libs are hit and miss, and there's not that much async stuff
418: [04:08:58] <Colin[pi]> UncleCheese: it's hipster apache
419: [04:09:00] <crapwagon> mainr eason i'm using node is the same reason i'm using php - not because i particularly like either, it's just at a maintanence level it's easier to sell to my clients or find resources that know the languages
420: [04:09:03] <spronk> whereas with node, pretty much everything is designed around the async model, which is nice
421: [04:09:15] <spronk> but fuck
422: [04:09:16] <spronk> javsacript
423: [04:09:30] <Colin[pi]> ^
424: [04:09:34] <crapwagon> i basically hate a lot of things about javascript i never knew i hated until i started reading code on github regrularly (and that's in well over 14 years of using js)
425: [04:09:53] <UncleCheese> i like where JS is going, though.. it's getting better
426: [04:10:01] <crapwagon> it's getting more like python
427: [04:10:08] <UncleCheese> getting there
428: [04:10:08] <spronk> ugh, javascript is like a clusterfuck of bad practice after bad practice
429: [04:10:22] <spronk> the biggest issue is that there's no concensus on how to do thigns
430: [04:10:35] <UncleCheese> but it's still like that guy at a party with his dick hanging out
431: [04:10:38] <adrexia> spronk - can say the same thing about php
432: [04:10:50] <adrexia> the exact same thing
433: [04:10:53] <spronk> adrexia, php is a lot more focused these days
434: [04:10:58] <Colin[pi]> adrexia: lol PHP broke the mould when doing things "in a fucked up way"
435: [04:10:58] <adrexia> ...no
436: [04:11:02] <adrexia> not everywhere
437: [04:11:04] <spronk> hmm
438: [04:11:06] <spronk> i dno
439: [04:11:06] <crapwagon> right now i basically monkey patch modules because the culture of forking / pulling / maintaining is fucked, but the strategy for monkey patching is a shitshow because half the stuff is closures and half is prototype inheritance, so it's a lot of code smell
440: [04:11:18] <adrexia> bad php devs still exist - much like bad js developers
441: [04:11:27] <spronk> php these days is centralising around composer, settled on the classical inheritance model
442: [04:11:41] <spronk> we've got PSR now to standardise a bunch of common stuff
443: [04:11:42] <adrexia> *trying to
444: [04:11:53] <spronk> js is still years behind this
445: [04:11:57] <adrexia> but I bet the average php dev doesn't even know
446: [04:11:57] <UncleCheese> i find classical inheritance in JS very annoying
447: [04:12:00] <Colin[pi]> adrexia: mm you can write shit code and good code in anything
448: [04:12:05] <spronk> i mean there's still no consensus around how to encapsulate data
449: [04:12:08] <UncleCheese> mostly because no matter how you do it, it's a hack
450: [04:12:20] * jrthomer has joined #silverstripe
451: [04:12:23] <spronk> UncleCheese, yeah, you pretty much can't do classical inheritance in js
452: [04:12:35] <UncleCheese> spronk you can in CoffeeScript! :)
453: [04:12:53] <adrexia> <spronk> UncleCheese, yeah, you pretty much can't do classical inheritance in js
454: [04:12:54] <crapwagon> closures and DI work great and don't create ambiguous shitshows, but like fuck you can convince people of this
455: [04:12:59] <simon_w|work> Colin[pi], good like writing a substantial amount good code in JS :p
456: [04:13:02] <spronk> you get the bullshit from jsophiles about how prototypal inheritance is the shit and how it's "so powerful"
457: [04:13:03] <adrexia> yeah - its not proper object orientated
458: [04:13:08] <adrexia> it doesn't have to be though
459: [04:13:13] <adrexia> its got its own thing
460: [04:13:24] <UncleCheese> i think it's a lot more object oriented than other languages
461: [04:13:34] <Colin[pi]> spronk: it sucks donkey dick
462: [04:13:39] <UncleCheese> just because it doesn't do classical inheritance doesn't take away from its OO IMO
463: [04:13:39] <spronk> ugh
464: [04:13:50] <adrexia> meh, it's prototypal
465: [04:13:55] <spronk> js has massive problems with toolchain
466: [04:14:11] <spronk> moreso than other dyn languages because of its reliance on closures and prototypes
467: [04:14:25] <simon_w|work> Best thing about JS is that OCaml compiles directly to it :p
468: [04:14:37] <UncleCheese> so does Cappucino!
469: [04:14:37] <crapwagon> it needs a python style community of strong style guides
470: [04:14:49] <crapwagon> npm is a fucking mess
471: [04:15:01] <spronk> amen
472: [04:15:13] <simon_w|work> Python needs style guides because the style is part of the syntax
473: [04:15:14] <UncleCheese> it is pretty bad
474: [04:15:19] <spronk> basically all the large, successful node projects have at some point hired one of the core node.js devs
475: [04:15:20] <UncleCheese> when it fails, you have no fucking clue why
476: [04:15:29] <UncleCheese> E_NOENT
477: [04:15:36] <UncleCheese> i have nightmaes about that sequence of text
478: [04:15:39] <spronk> even the most prolific node.js dev quit
479: [04:16:02] <spronk> there are some seriously good ideas behind node.js, but javascript seriously lets it down IMO
480: [04:16:09] <crapwagon> i use node mostly for system coordination / messaging instead of twisted/python now
481: [04:16:27] <crapwagon> i still use php when i have to do webs
482: [04:16:39] <spronk> crapwagon, coordination/messaging - what sorta stuff you mean?
483: [04:16:40] <UncleCheese> http://preview.images.memegenerator.net/Instance/Preview?imageID=8865774&generatorTypeID=&panels=&text0=Fuck%20this%20shit&text1=I%27m%20using%20apache.&text2=&text3=
484: [04:16:53] <spronk> i dno
485: [04:16:56] <spronk> apache is pretty bad, UC
486: [04:17:08] * jrthomer quit (Ping timeout: 244 seconds)
487: [04:17:09] <spronk> nginx is where its at
488: [04:17:12] <simon_w|work> UncleCheese, you use Apache? Gutted
489: [04:17:35] <UncleCheese> nginx is good
490: [04:17:40] <crapwagon> spronk: so i have 3 products in the wild that are video rendering pipelines using ffmpeg, i have another product that renders pdfs from a wysiwyg web interface and shunts them off to a physical printing company, i have another product that sorts masses of data mined social media data into a format for a php app to use, etc
491: [04:17:44] <UncleCheese> but it was built by Al Qaeda, so I avoid it
492: [04:17:57] <spronk> loool
493: [04:17:58] <spronk> as if
494: [04:18:01] <crapwagon> spronk: basically i have been building things in node that aren't facing the wild, then using php or something to do the wild facing stuff
495: [04:18:06] <spronk> russians bro
496: [04:18:10] <UncleCheese> don't let the terrorists win!
497: [04:18:23] <simon_w|work> UncleCheese, why do you think I don't use Apache?
498: [04:18:31] <zippy> Indians win?
499: [04:18:37] <UncleCheese> because you work for al qaeda?
500: [04:18:40] <Colin[pi]> simon_w|work: because you're non conformist
501: [04:19:07] <crapwagon> yeah i am an nginx convert, but most of my production machines still run apache out of conveneience
502: [04:19:24] <crapwagon> total stockholm syndrome
503: [04:19:25] <simon_w|work> The US is a much larger terror organisation than al qaeda
504: [04:19:30] <UncleCheese> what does nginx do so much better?
505: [04:19:31] <spronk> i'd really like to see a concerted effort to turn another language into an evented paradise
506: [04:19:37] <spronk> UncleCheese, concurrent connections
507: [04:19:50] <simon_w|work> UncleCheese, scale, static files
508: [04:19:51] <spronk> apache will eat your machine alive
509: [04:19:51] <UncleCheese> simon_w|work it's not terror, it's "enhanced interrogation"
510: [04:19:57] <UncleCheese> i knew it had something to do with static files
511: [04:19:58] <crapwagon> you get a way better performance profile out of a naive nginx than a well tuned apache
512: [04:20:00] <spronk> simon_w|work, i agree completely
513: [04:20:15] <spronk> you can solve c10k with nginx on modest hardware
514: [04:20:24] <spronk> apache will grind to a halt
515: [04:20:28] <UncleCheese> is that because when requests come in for static files it doesn't spin up php and all that?
516: [04:21:17] <UncleCheese> is there a silverstripe module for nginx?
517: [04:21:30] <spronk> doesnt need a module
518: [04:21:47] <spronk> UncleCheese, basically, apache will hold on to a piece of memory for every connection
519: [04:21:54] <spronk> and usually, it'll keep that connection alive for a period of time
520: [04:21:59] <spronk> and probably in a thread
521: [04:22:01] <UncleCheese> ss works on nginx out of the box?
522: [04:22:15] <spronk> http://doc.silverstripe.org/framework/en/installation/nginx
523: [04:22:15] <crapwagon> so nevermind nginx
524: [04:22:16] <spronk> almost
525: [04:22:20] <crapwagon> everyones writing their own httpd in node
526: [04:22:22] * UncleChe_ has joined #silverstripe
527: [04:22:22] <crapwagon> AS THE FUTURE
528: [04:22:24] <spronk> bleh
529: [04:22:25] <spronk> yeah
530: [04:22:45] <crapwagon> anyway i'll be back armed with some shitty silverstripe questions
531: [04:22:45] <simon_w|work> Sounds like erlang
532: [04:23:02] <zippy> crapwagon: flush dev build flush flush
533: [04:23:18] <UncleCheese> so basically nginx.conf == .htaccess?
534: [04:23:33] <simon_w|work> No
535: [04:23:35] <spronk> nah
536: [04:23:37] <spronk> more like your vhost file
537: [04:23:43] <UncleCheese> what about httpd.conf?
538: [04:23:56] <spronk> iirc that nginx conf on the wiki isnt that fantastic for SS
539: [04:23:57] <spronk> b ut it works
540: [04:24:15] <simon_w|work> spronk, I made it better
541: [04:24:41] <simon_w|work> Need to update it with my recent changes at some point though
542: [04:25:14] <spronk> oo
543: [04:25:27] <spronk> nginx is a lot better for live changes than apache, too
544: [04:25:45] <spronk> apache's conf system is pretty archaic
545: [04:25:45] <simon_w|work> nginx also doesn't have the really bad idea of .htaccess
546: [04:25:50] <spronk> one syntax error can bring down your entire machine
547: [04:25:50] <crapwagon> i do a lot of campaigns that get pushed at from tv etc
548: [04:25:54] <crapwagon> and use nginx for them all
549: [04:25:58] <crapwagon> cause i can get a way better performance profile
550: [04:26:04] <crapwagon> but for all my cms stuff apache is fine
551: [04:26:13] <crapwagon> in reality most sites get 10 hits a day
552: [04:26:26] <crapwagon> MOSTLY BAIDU SPIDER
553: [04:26:29] <UncleCheese> spronk what do you mean by better at live changes?
554: [04:26:31] <spronk> haha yeah
555: [04:26:43] <spronk> UncleCheese, as in if you need to make a config change while the site is live
556: [04:26:56] <crapwagon> i have this fucking magento site that OOM kills the entire server when more than 6 people are using it and they don't want to pay for more ram
557: [04:26:57] <UncleCheese> so it doesn't blow up?
558: [04:27:30] <spronk> sorta yeah
559: [04:27:32] <crapwagon> client doesn't know why their site goes down
560: [04:27:39] <crapwagon> and i can't tell them without creating a drama
561: [04:27:56] <crapwagon> joys of being a subcontractor
562: [04:28:30] <spronk> heh
563: [04:28:31] <spronk> yeahh
564: [04:29:42] <simon_w|work> ss23, going to open issues on deploynaut at some point? :p
565: [04:30:07] <ss23> No
566: [04:30:11] <ss23> Pretty much, no.
567: [04:30:27] <madmatt> ever
568: [04:30:31] <ss23> ^
569: [04:31:39] * veb has joined #silverstripe
570: [04:33:53] <madmatt> but actually yes, it should be opened once there's more info
571: [04:34:01] <madmatt> Has the vagrant thing landed yet?
572: [04:34:08] <ss23> I doubt it
573: [04:34:23] <ss23> Basically, I don't want to deal with the issues, and no one else does either, so until there is someone in charge of it, fuck that
574: [04:35:20] * jrthomer has joined #silverstripe
575: [04:36:41] <zippy> ss23: still working on the speed of the org site?
576: [04:37:13] <madmatt> simon_w|work: See FAQs section here: https://access.redhat.com/articles/1200223, this thread https://bugzilla.redhat.com/show_bug.cgi?id=1141597#c23, and new CVE is CVE-2014-7169. woo
577: [04:38:34] * UncleChe_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
578: [04:39:44] <ss23> zippy: Not really, logging indicates that it's that it's loading ~.2 seconds on avg
579: [04:39:59] <zippy> must of hit with a dev/build
580: [04:40:03] * jrthomer quit (Ping timeout: 272 seconds)
581: [04:40:11] <ss23> I think someone wanted to do a release today
582: [04:40:12] <zippy> or flush
583: [04:40:25] <UncleCheese> we just did a release and i flushed the cache
584: [04:40:32] <zippy> it was U!
585: [04:40:36] <UncleCheese> so you're both right
586: [04:40:39] * travis-ci has joined #silverstripe
587: [04:40:39] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3376 (3.1 - 409aebf : Sean Harvey): The build passed.
588: [04:40:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1d219aad7cab...409aebf0af46
589: [04:40:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36221251
590: [04:40:39] * travis-ci has left #silverstripe
591: [04:40:51] <simon_w|work> madmatt, yaaay
592: [04:44:12] * jrthomer has joined #silverstripe
593: [04:44:35] * lerni has joined #silverstripe
594: [04:49:42] * lerni quit (Ping timeout: 272 seconds)
595: [04:51:08] * Phlunk3 quit (Quit: Leaving)
596: [04:59:38] <Ryan-Toast> why does Swipestripe create an order for every new session? Is there a reason for this?
597: [05:00:11] <Ryan-Toast> nvm, figured out why
598: [05:01:51] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
599: [05:02:35] * micmania1 has left #silverstripe
600: [05:03:20] <madmatt> Ryan-Toast: Why's that?
601: [05:03:35] <Stomach> it creates an order when someone adds something to the cart
602: [05:03:38] <Ryan-Toast> madmatt: The way it adds products to cart
603: [05:03:56] <Ryan-Toast> instead of stroing a huge amount of data in the session
604: [05:04:48] <Stomach> makes it pretty slow sometimes though :\
605: [05:07:15] * jedateach quit (Quit: jedateach)
606: [05:08:41] <simon_w|work> Nah, that's just SilverStripe :p
607: [05:08:49] <madmatt> ah yeah, gotcha
608: [05:09:41] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
609: [05:12:17] <Stomach> woaaaaah halkyon is pulling a simon_w|work on github
610: [05:12:20] <Stomach> so many notifications
611: [05:12:30] <simon_w|work> Except he gets paid for it! :p
612: [05:13:10] <Stomach> I can go and close a bunch of pull requests and issues if someone pays me for it!
613: [05:13:16] <Stomach> "dont like your username, closing"
614: [05:13:48] <madmatt> haha
615: [05:13:59] <madmatt> "Your whitespace offends me, closing"
616: [05:14:19] <madmatt> "Too busy today, closing"
617: [05:14:33] <Stomach> "General demeanour of title is lousy, closing"
618: [05:18:54] <simon_w|work> http://33.media.tumblr.com/6921800c9773053d996fe5f6e92350c6/tumblr_nakt12fBPe1tognpro1_1280.png
619: [05:18:57] * Stomach quit (Ping timeout: 245 seconds)
620: [05:19:51] <spronk> lawl
621: [05:19:53] * marbus90 quit (Ping timeout: 240 seconds)
622: [05:20:12] <ss23> that show is actually weirdly "right" when ti comes to that kind of stuff :O
623: [05:20:23] <ss23> they were all "bah we can't trace the people who posted this video they were using Tor!"
624: [05:20:31] * marbus90 has joined #silverstripe
625: [05:22:44] <madmatt> Which show is that?
626: [05:23:09] <simon_w|work> Zankyou no Terror
627: [05:23:51] <ss23> It's not that good
628: [05:24:02] <madmatt> Still better than this: http://io9.com/scorpion-brings-the-stupidest-most-batshit-insane-hack-1638333877
629: [05:24:17] <madmatt> the 3rd paragraph sums up the video
630: [05:24:21] <ss23> wait isn't that the movie?
631: [05:24:26] <ss23> Oh wait no that's like Blowfish or something?
632: [05:24:27] <ss23> Fuck
633: [05:24:32] <ss23> Swordfish?
634: [05:24:41] <ss23> Yeah, Swordfish
635: [05:24:46] <spronk> sowrdfish was pwn
636: [05:24:54] * Ryan-Toast quit (Quit: Ryan-Toast)
637: [05:24:59] <spronk> stfu
638: [05:25:01] <Colin[pi]> that was a good movie yeah
639: [05:25:50] * babak has joined #silverstripe
640: [05:26:26] <madmatt> bahaha https://twitter.com/enigma0x3/status/514967993328365569/photo/1
641: [05:26:42] <ss23> madmatt: ahahah, rofl
642: [05:26:47] <spronk> loooooool
643: [05:26:51] <ss23> @ the scene in that show
644: [05:26:56] <simon_w|work> http://moviecode.tumblr.com/
645: [05:27:04] <madmatt> Poor 1st level support staff
646: [05:28:57] * Shrike_Finland has joined #silverstripe
647: [05:29:55] <simon_w|work> Still no patch for the patch
648: [05:30:20] <simon_w|work> Also, one of my servers is being slow
649: [05:33:22] <madmatt> heh yeah, don't expect it that quickly
650: [05:33:40] <madmatt> That last one was embargo'd for a week before being released
651: [05:36:25] * Olliepop quit (Ping timeout: 246 seconds)
652: [05:36:50] * Olliepop has joined #silverstripe
653: [05:40:27] <spronk> man
654: [05:40:34] <spronk> THE single best thing to do to exploit with this
655: [05:40:40] <spronk> would be a massive fork bomb
656: [05:40:44] <ss23> Um
657: [05:40:49] <ss23> We have different ideas of best
658: [05:40:49] <ss23> :P
659: [05:40:58] * Olliepop quit (Ping timeout: 246 seconds)
660: [05:41:36] <simon_w|work> Most annoying things about fork bombs is that they don't work by default on a mac
661: [05:42:33] <simon_w|work> Stupid ulimits
662: [05:43:15] <madmatt> You and I have different ideas of 'annoying' :D
663: [05:44:10] <simon_w|work> madmatt, means the worse you can do is pipe /dev/random into a hidden file :p
664: [05:45:20] * lerni has joined #silverstripe
665: [05:47:24] <ss23> Can't forkbomb my server either o/
666: [05:47:43] <madmatt> what's the command?
667: [05:47:53] <ss23> to do a forkbomb? um
668: [05:47:55] <ss23> it looks like smilies
669: [05:47:55] <ss23> :D
670: [05:47:59] <spronk> there's lots of commands
671: [05:48:07] <madmatt> haha, I wanted to see if Freenode was vulnerable :)
672: [05:48:15] <ss23> :(){ :|: & };:
673: [05:48:22] <madmatt> but I didn't want to be the one called out on wallops ifit was :D
674: [05:48:28] <ss23> wut
675: [05:48:34] <ss23> But you can't run commands on Freenode, right?
676: [05:48:48] <madmatt> haha, no
677: [05:49:07] <madmatt> but who knows with this bash thing man, it's literally possible to hack anything anywhere
678: [05:49:12] <madmatt> In fact, we're already hacked
679: [05:49:17] <ss23> haha
680: [05:50:09] * lerni quit (Ping timeout: 260 seconds)
681: [05:50:57] <ss23> Woah, gmail has a "View pull request" button built into the inbox display now
682: [05:52:03] <spronk> yeah
683: [05:52:06] <spronk> its that ... auto
684: [05:52:07] <spronk> extensions
685: [05:52:08] <spronk> thing
686: [05:55:15] * Adesso has joined #silverstripe
687: [06:00:36] * Adesso quit ()
688: [06:09:06] * deschebbs has joined #silverstripe
689: [06:16:05] * wmk quit (Ping timeout: 272 seconds)
690: [06:16:09] * lerni has joined #silverstripe
691: [06:16:25] * deschebbs quit (Quit: User terminated!)
692: [06:16:41] * codetoday has joined #silverstripe
693: [06:17:55] * deschebbs has joined #silverstripe
694: [06:19:06] * Adesso has joined #silverstripe
695: [06:20:29] * lerni quit (Ping timeout: 260 seconds)
696: [06:39:08] * BPower has joined #silverstripe
697: [06:41:17] * Colin[pi] quit (Ping timeout: 244 seconds)
698: [06:43:20] * travis-ci has joined #silverstripe
699: [06:43:20] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3377 (master - 04e26d4 : Sean Harvey): The build passed.
700: [06:43:20] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/bbd4e8b8c131...04e26d4a36a2
701: [06:43:20] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36226508
702: [06:43:20] * travis-ci has left #silverstripe
703: [06:43:38] * lerni has joined #silverstripe
704: [06:47:36] * __will has joined #silverstripe
705: [06:47:56] <__will> hello
706: [06:49:15] * BPower quit (Remote host closed the connection)
707: [06:49:20] <__will> if im saving data from a form into a model, and i want to save an extra field that wasn't in the form, how do i do that?
708: [06:49:30] <__will> so i have
709: [06:49:33] <__will> $submission = new VolunteerApplication();
710: [06:49:38] <__will> $form->saveInto($submission);
711: [06:49:50] <__will> but doing $form->Location = $data['Location'];
712: [06:49:55] <__will> before doesn't do anything
713: [06:53:03] * Robke has joined #silverstripe
714: [06:54:42] <Robke> hello to all :) is there any way to show last childs in template? i tried <% loop Children.Reverse.Limit(5) %> its not what i want to get, and loop children.last() shows only the last element
715: [06:54:44] <__will> ok, im being silly. never mind
716: [06:54:48] <Robke> hello to all :) is there any way to show last childs in template? i tried <% loop Children.Reverse.Limit(5) %> its not what i want to get, and loop children.last() shows only the last elementlast(5
717: [06:54:55] <__will> just do $submission->Location = $data['Location']; before write
718: [06:54:56] <__will> doh
719: [06:59:16] * travis-ci has joined #silverstripe
720: [06:59:16] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3378 (3.1 - ee717c7 : Sean Harvey): The build passed.
721: [06:59:16] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/409aebf0af46...ee717c7f66d2
722: [06:59:16] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36226867
723: [06:59:16] * travis-ci has left #silverstripe
724: [07:01:28] * __will quit (Ping timeout: 246 seconds)
725: [07:01:53] <simon_w|work> Yay! Holiday time!
726: [07:01:53] <Robke> anyone? :)
727: [07:02:01] <Robke> congrats :)
728: [07:03:08] * simon_w|work quit (Quit: Ping timeout: your mum)
729: [07:09:22] * Shrike_Finland quit (Quit: Leaving.)
730: [07:10:10] <deschebbs> Robke could't you do it with position indicators. check http://doc.silverstripe.org/framework/en/reference/templates
731: [07:11:31] * wmk has joined #silverstripe
732: [07:11:58] <Robke> maybe i can but i dont get it how then... :)
733: [07:12:06] <Robke> lets say i have 9 positions
734: [07:12:29] <Robke> so how i could show last five positions in template? :) 5 6 7 8 9 positions i mnea
735: [07:13:07] <wmk> gooooood mooooorrrnniiiiinnng(UGT)
736: [07:13:28] <wmk> Robke, there is a method for that...
737: [07:13:48] <Robke> wmk: morning... im listening ;)
738: [07:14:04] * wmk has to read the conversation in log and then research.
739: [07:14:14] <Robke> lets do it ;)
740: [07:14:20] <wmk> but i remember unclecheese twittered about sth like that when 3.0 came out
741: [07:14:49] <Robke> well i dindt find anything on google
742: [07:15:47] <wmk> you have a datalist?
743: [07:16:38] <wmk> limit($limit, $offset = 0)
744: [07:17:09] <wmk> you could....
745: [07:17:15] <wmk> Robke, " i tried <% loop Children.Reverse.Limit(5) %> its not what i want to get"
746: [07:17:19] <Robke> nope i dont have anything like this :)
747: [07:17:29] <Robke> im just looping children
748: [07:17:30] <wmk> cause that's not 5, 6, 7, 8, 9 but 9, 8, ..., 5 ....?
749: [07:17:35] <Robke> yes
750: [07:17:36] <wmk> Children is a DataList
751: [07:17:39] <wmk> hmm,
752: [07:17:50] <Robke> but i need 5 6 8 9
753: [07:17:54] <wmk> Children.Reverse.Limit(5).Reverse ????
754: [07:17:55] <Robke> not 9 8 7 6
755: [07:17:59] <Robke> lets try :D
756: [07:18:05] <wmk> worth a try ;)
757: [07:18:17] <deschebbs> nice, but why no try a simple "if"?
758: [07:18:29] <wmk> deschebbs, ??
759: [07:18:33] <deschebbs> no slow?
760: [07:18:51] <deschebbs> go through the list ans start echoing once you arrive at element 5
761: [07:19:06] <wmk> could be slow. if it is (and no caching possible) id' go with a method / getter for that.
762: [07:19:12] <wmk> deschebbs, he want's the LAST 5
763: [07:19:25] <deschebbs> i uunderstood so
764: [07:19:37] <wmk> so he need's to calculate the offset somehow, then he could do limit (5, offset)
765: [07:19:43] <Robke> yeah
766: [07:19:47] <wmk> Robke, works?
767: [07:19:54] <Robke> Reverse.limit.reverse doesnt work
768: [07:19:58] <wmk> oh
769: [07:20:17] <wmk> then decorate DataList with a LastNr($cnt) method
770: [07:20:25] <Robke> whats that?
771: [07:20:37] <wmk> decorator pattern = Extension / DataExtension
772: [07:21:13] <wmk> this adds some methods to the php object
773: [07:21:26] * ARNHOE has joined #silverstripe
774: [07:21:46] <deschebbs> maybee im silly but this is what i'd find
775: [07:21:48] <deschebbs> <% loop $Children %>
776: [07:21:50] <deschebbs> <% if $Children.pos >= 5 %>
777: [07:21:51] <deschebbs> $Children.
778: [07:21:53] <deschebbs> <% end_if %>
779: [07:21:54] <deschebbs> <% end_loop %>
780: [07:22:02] <deschebbs> or so...
781: [07:22:10] <deschebbs> dindnt check the code
782: [07:22:16] <deschebbs> pseudocode
783: [07:22:17] <wmk> deschebbs, this only works when he always has 9 children.
784: [07:22:27] <deschebbs> okay
785: [07:22:43] <deschebbs> cant see why
786: [07:22:55] <Robke> :)
787: [07:22:59] <deschebbs> yeah okay.
788: [07:24:11] * Sticks quit (Quit: Leaving)
789: [07:24:15] <deschebbs> something like this then:
790: [07:24:17] <deschebbs> <% loop $Children %>
791: [07:24:19] <deschebbs> <% if $Children.pos >= $Children.TotalItems - 5 %>
792: [07:24:20] <deschebbs> $Children.
793: [07:24:22] <deschebbs> <% end_if %>
794: [07:24:23] <deschebbs> <% end_loop %>
795: [07:24:44] <deschebbs> may not be valid code. just an idea
796: [07:25:38] <Robke> lets try
797: [07:26:35] <Robke> nope
798: [07:30:00] <wmk> does limit(-5) work in mysql?
799: [07:30:41] <deschebbs> mysql???
800: [07:30:58] <deschebbs> isnt that a more superficial problem?
801: [07:31:06] <wmk> well, DataList->limit just alters the query
802: [07:31:35] <deschebbs> hm okay. i found this in the manual that sounds fitting to me:
803: [07:31:36] * ocmnt has joined #silverstripe
804: [07:31:38] <deschebbs> 1
805: [07:31:39] <deschebbs> 2
806: [07:31:41] <deschebbs> 3
807: [07:31:42] <deschebbs> 4
808: [07:31:44] <deschebbs> 5
809: [07:31:45] <deschebbs>
810: [07:31:47] <deschebbs> <ul>
811: [07:31:48] <deschebbs> <% loop $Children.Reverse.Limit(3) %>
812: [07:31:50] <deschebbs> <li>$Title</li>
813: [07:31:51] <deschebbs> <% end_loop %>
814: [07:31:53] <deschebbs> </ul>
815: [07:32:25] <deschebbs> the 1,2,3 are bullshit from pasteing html into irc
816: [07:32:31] <wmk> hmm, no
817: [07:32:58] <Robke> ok what i have done :D
818: [07:33:04] <Robke> with one of our chat members is :D
819: [07:33:12] <Robke> public function getNews(){ return News::get()->sort('ID','Desc')->Limit(5); }
820: [07:33:23] <Robke> and then loop getnews in template
821: [07:33:23] <Robke> :)
822: [07:34:07] <wmk> well, but that doesn't give you the last 5 items..=
823: [07:34:08] <wmk> ?
824: [07:34:16] <ocmnt> howdy
825: [07:34:28] <wmk> hey ocmnt
826: [07:35:45] <wmk> Robke, something like public function getLastNChildren($limit) on your DO / Controller could work
827: [07:35:59] <wmk> $cnt = $this->Children()->count();
828: [07:36:32] <wmk> return $this->Children()->limit($limit, $cnt - $limit);
829: [07:36:47] <wmk> maybe sanitize the offset value so i is > 0
830: [07:36:56] <ocmnt> wmk, if you sort by ID ascending wouldn't it just give the last DO's ?
831: [07:37:02] <ocmnt> going from high > low according to ID?
832: [07:37:08] <wmk> but in reverse order
833: [07:37:33] <wmk> he wants the last N items in normal order, low -> high
834: [07:37:38] <Robke> whats the difference? :)
835: [07:38:37] <ocmnt> ah, fair enough
836: [07:38:39] <wmk> Robke, how do you mean?
837: [07:39:13] <ocmnt> wmk's version returns items in an order like
838: [07:39:19] <ocmnt> 95, 96, 97, 98, 99
839: [07:40:09] <ocmnt> the other way returns
840: [07:40:16] <ocmnt> 99, 98, 97, 96, 95
841: [07:40:45] <wmk> doing this as an extension to DataList would be great. maybe even on ArrayList, as the API is the same.
842: [07:44:19] <lerni> wmk did you refer to a method like this? http://stackoverflow.com/questions/14096216/pos-from-bottom-inside-loop-dataobjects
843: [07:45:10] * stnvh has joined #silverstripe
844: [07:45:15] * Robke quit (Quit: Page closed)
845: [07:45:52] * Robke has joined #silverstripe
846: [07:45:55] <wmk> lerni, FromBottom???
847: [07:45:59] <Adesso> I want to test the existense of a Object return with <% if Controller_Method %>, but it's not working
848: [07:46:04] <Robke> i tried both ways :)
849: [07:46:21] <wmk> Robke, and...?
850: [07:46:49] <wmk> Adesso, why Controller_Method?
851: [07:47:10] <wmk> Adesso, could you paste the code and template snippet in pastebin?
852: [07:47:43] <Adesso> it's just a theory question..
853: [07:48:03] <wmk> when it's not working it's no theory question ;)
854: [07:48:07] <Adesso> if a method aka Method in a Controller does not return any values.. how whould I test this in the Template
855: [07:48:24] <wmk> is it a getter or a method?
856: [07:48:33] <Adesso> getter
857: [07:48:37] <wmk> method: you can pass variables to it.
858: [07:48:43] * pippy_ quit (Ping timeout: 246 seconds)
859: [07:49:02] <Adesso> 7me stands corrected
860: [07:49:02] <wmk> a getter has to be called (should be called) getFoo() {return $something;}
861: [07:49:08] * Adesso stands corrented
862: [07:49:16] <Adesso> ach dammit
863: [07:49:26] <Adesso> c o r r e c t e d
864: [07:49:37] <wmk> <% if $Foo %>Foo exists <% else %>no foo available <% end_if %>
865: [07:50:13] <wmk> but a METHOD should not be called getFoo($param) but Foo($param) instead.... getFoo($param) doesn't work
866: [07:50:25] <wmk> which confused me a lot first
867: [07:50:43] <wmk> afaik the result of getFoo() gets cached so you only have to calculate it once
868: [07:51:07] <wmk> getNextFoo() doesn't work cause of the caching
869: [07:51:14] * wmk tries to confuse Adesso
870: [07:51:24] <Adesso> w o r k i n g
871: [07:51:26] <wmk> without the trout
872: [07:51:29] <wmk> *G*
873: [07:51:37] * Adesso bitchslaps wmk around a bit and calls him Susan
874: [07:52:02] <wmk> slap me, give me names of politicans
875: [07:52:35] <Adesso> :P
876: [07:52:52] <wmk> Adesso, revenge is black pudding, as we say in bavaria
877: [07:53:15] <Adesso> black pudding is a twisted sick joke from England
878: [07:53:23] <Adesso> oh no.. wait
879: [07:53:29] <wmk> Blutwurst afaik
880: [07:53:31] <Adesso> that was blood pudding
881: [07:53:43] <wmk> blood sausage
882: [07:53:58] <wmk> austrian: Blunzn
883: [07:54:12] * Adesso ist nicht eine große anhänger von Blutwurst
884: [07:54:35] <Adesso> I'll try it
885: [07:54:51] <wmk> well, roasted with potatoes and onion it's really good
886: [07:55:16] * Adesso likes the Kiney version much more
887: [07:55:19] <Adesso> Kidney
888: [07:55:22] <wmk> but of course not vegan...
889: [07:55:28] <wmk> Niere?
890: [07:55:33] <Adesso> yup
891: [07:55:34] <wmk> or leaver (Leber) ?
892: [07:55:41] <Adesso> Both
893: [07:55:53] <Adesso> but up here in Hessen you only get Kidney
894: [07:56:01] <Adesso> Liver I have not seen yet..
895: [07:56:12] * Adesso druels on his keyboard
896: [07:56:41] * wmk once tried a breaded spleen sausage
897: [07:57:02] <wmk> Kidney seems to be special in Hessen
898: [07:57:31] <wmk> but /me doesn't like tonge-sausage. don't want to eat something anyone else had in his mouth before
899: [07:57:39] <wmk> Adesso, coffee?
900: [07:57:55] * Shrike_Finland has joined #silverstripe
901: [07:59:04] * kinglozzer has joined #silverstripe
902: [07:59:05] <wmk> ocmnt, did you have a chance to taste the conchita wurst, you told me about?
903: [07:59:06] <Adesso> good idea
904: [07:59:55] * Adesso only heard of conchita wurst... please don't make me taste it ..
905: [08:00:26] <wmk> in his hometown someone made a sausage called like him
906: [08:01:01] <Adesso> with hair and all... he he
907: [08:01:21] * Adesso lloks up OCMT
908: [08:01:47] <Adesso> Original Currency Amount
909: [08:01:57] <Adesso> Optimal Constrained Multicast Tree
910: [08:02:05] <Adesso> On-Column Methylation Technique
911: [08:02:31] <Adesso> on conditional Mount
912: [08:05:13] <ocmnt> ocmnt, I have not
913: [08:05:18] <ocmnt> I should ask my brother about it
914: [08:06:18] <ocmnt> http://wiwibloggs.com/2014/05/13/conchita-wurst-sausage-butcher/50290/
915: [08:06:50] * eagles0513875 quit (Changing host)
916: [08:06:50] * eagles0513875 has joined #silverstripe
917: [08:06:50] * eagles0513875 quit (Changing host)
918: [08:06:50] * eagles0513875 has joined #silverstripe
919: [08:07:08] <ocmnt> Adesso, you are missing the N in there
920: [08:07:11] <ocmnt> not ocmt, but ocmnt :P
921: [08:08:37] <Adesso> aha
922: [08:08:44] <Adesso> please do explain ocmnt
923: [08:09:11] <ocmnt> its short for oceanmountain, nothing fancy really
924: [08:09:18] <ocmnt> or it could mean
925: [08:09:24] <ocmnt> opressive communict management
926: [08:09:33] <ocmnt> communistic*
927: [08:09:56] <Adesso> ok, I am just going to leave it there then..
928: [08:10:03] <Adesso> moving along .. ;P
929: [08:10:33] <ocmnt> occult conditions moving night time
930: [08:10:33] <Adesso> I was hoping today to get further with my DataObject ...
931: [08:10:41] <ocmnt> I think I will stick with that
932: [08:11:13] * Adesso suddenly sees that ocmnt is a person in the room .... Oops
933: [08:11:45] * Adesso shakes the room... Wake up Adesso, why are you sleeping ?
934: [08:12:08] <ocmnt> orphan child makes nacho's too
935: [08:12:15] <ocmnt> now I can't stop, Adesso what did you do? :(
936: [08:13:01] <Adesso> Sorry.. just being myself...
937: [08:13:39] <wmk> Adesso, why are you sleeping? no more coffee?
938: [08:13:49] <Adesso> too little
939: [08:14:16] <wmk> OMG! it's a picture saussage...
940: [08:14:19] <Adesso> ok... but seriously.. I have to get started here ..
941: [08:14:28] * Adesso picks a Q that is easy ...
942: [08:14:37] <wmk> tasting it could be ok, but viewing it while eating my bread - NOOOOOO
943: [08:15:23] * Adesso managed to make a really weak cup of Coffee
944: [08:15:26] <Adesso> :/
945: [08:15:29] <Adesso> So..
946: [08:16:56] <Adesso> When one makes a DataObject has_one or has_many relation to a Page and use the DataGrid Editor, your are presented with a Nice Search Box
947: [08:17:01] <deschebbs> funny guys! sorry, to contribute a technical problem.
948: [08:17:08] <deschebbs> i run a site on a shared host
949: [08:17:18] <deschebbs> and the date.time is not set there
950: [08:17:41] * Adesso waits for the Q to finish
951: [08:18:00] <deschebbs> in dev mode i get a notice saying that strtotime does want to have date.time set
952: [08:18:13] <deschebbs> sorry: slow typer
953: [08:18:32] <wmk> Adesso, https://www.youtube.com/watch?v=IcrbM1l_BoI <- that should help
954: [08:18:41] <deschebbs> i can set it in php but thats not nice. are there other ways in htaccess for example?
955: [08:18:57] <ocmnt> date.timezone can only (and should be) set in php.ini
956: [08:19:13] * Adesso got GEAM blocked
957: [08:19:16] <wmk> you can of course set it in .htaccess or your mysite/_config.php
958: [08:19:18] <Adesso> GEMA
959: [08:19:28] <wmk> Adesso, unlucky you
960: [08:19:42] <deschebbs> in _config.php?
961: [08:19:46] * Adesso has it on his playlist... switching now ...
962: [08:19:58] <Adesso> d-.-b
963: [08:20:01] * wmk needs to put his laptop to the stereo
964: [08:20:31] <wmk> ocmnt, on a shared host it's not possible to modify php.ini...
965: [08:20:59] <ocmnt> wmk, I know. But then you shuold bash the hoster to fix it
966: [08:21:08] <ocmnt> though, asking gently is mostly enough to get it fixed
967: [08:21:14] <Adesso> ^^^Corect
968: [08:21:25] <wmk> should be yup.
969: [08:21:30] <Adesso> fix at the root = best solution
970: [08:21:51] <Adesso> so to get back to my Q
971: [08:21:57] <ocmnt> are you on a Quest Adesso?
972: [08:22:04] <Adesso> :P
973: [08:22:05] <ocmnt> it's dangerous to go alone
974: [08:22:15] <Adesso> I'll take my lightsaber
975: [08:22:27] <Adesso> now focus ..
976: [08:22:31] <ocmnt> http://www.burnabrain.com/wp-content/uploads/its-dangerous-to-go-alone.jpg
977: [08:22:44] <Adesso> the search result of the GridEditor .... is not returning the Object Name ..
978: [08:22:57] <Adesso> I am guessing case it does not have the default naming convention..
979: [08:23:03] <Adesso> instead I get a ID
980: [08:23:10] <deschebbs> wmk yeah in _config.php is better. thanks!
981: [08:23:15] <wmk> deschebbs, http://www.webmastersucks.com/change-time-zone-with-htaccess/ http://stackoverflow.com/questions/13916481/php-date-default-timezone-set
982: [08:23:30] <Adesso> Anybody know how I get the serach result box to use my field ..
983: [08:23:51] <Adesso> search result box
984: [08:24:25] <ocmnt> wmk, thanks for that info
985: [08:24:34] <ocmnt> never knew it was possible to overwrite php.ini date.timezone
986: [08:24:44] <deschebbs> wmk i tried that allready but get a server error 500 or so
987: [08:24:54] <deschebbs> _config is fine for me...
988: [08:24:57] <ocmnt> deschebbs, second link at the bottom
989: [08:25:10] <ocmnt> use SetEnv TZ Country/City
990: [08:25:53] <Adesso> I am thinking it is something similar to the $field_labels var
991: [08:26:05] <Adesso> not sure where to look really
992: [08:26:28] <wmk> deschebbs, depends how your host is configured. maybe you're not allowed to use the .htaccess way
993: [08:26:49] <deschebbs> i am allowed, but like i said
994: [08:27:06] <wmk> and if anyone needs different timezones for different sites: you can set php ini values also in your virtualhost config
995: [08:28:40] <deschebbs> i dont have access to virtual hst config neither
996: [08:29:17] <deschebbs> this behavior only appeared after update from 3.1.2 to 3.1.6
997: [08:29:29] <deschebbs> never mind
998: [08:29:30] * veb has joined #silverstripe
999: [08:30:59] <wmk> Zauberfisch, any idea when pre-meeting will start next thursday?
1000: [08:32:58] <wmk> Adesso, you have to define searchable fields
1001: [08:33:11] <Adesso> done that already
1002: [08:33:20] <Adesso> 'Heading' => 'PartialMatchFilter'
1003: [08:33:32] <Adesso> all I need to do is get the Heading back, not the ID
1004: [08:34:05] <kinglozzer> ss23: Which servlet container do you use for Solr? I can't find any info at all for securing the admin interface when using Jetty, so considering tomcat
1005: [08:34:29] * Adesso found http://doc.silverstripe.org/framework/en/reference/dataobject
1006: [08:34:31] <kinglozzer> I promise this is the only Solr question I'll ask you...
1007: [08:34:32] <kinglozzer> .. today
1008: [08:35:21] * Shrike_Finland quit (Quit: Leaving.)
1009: [08:35:54] * Otterpocket has joined #silverstripe
1010: [08:36:41] <ss23> kinglozzer: I don't know about that stuff. I just install the solr module and do java -jar start.jar
1011: [08:36:59] <kinglozzer> Fair enough :P
1012: [08:40:31] <Robke> guys one more strange/simple question :) i dont like JS functionality onclik go back :) is there any simple method to do the same? :)
1013: [08:40:36] <Robke> or just use js?
1014: [08:42:04] <wmk> Robke, ???
1015: [08:42:24] * Shrike_Finland has joined #silverstripe
1016: [08:42:33] <Robke> lets say i have holder with stuff
1017: [08:42:41] <Robke> and i click read more
1018: [08:42:45] <Robke> so im in the inner page :)
1019: [08:42:49] <wmk> yup
1020: [08:42:51] <Robke> i have a button called go back :)
1021: [08:43:05] <Robke> so if i use js window.history.back(-1)
1022: [08:43:12] <Robke> i will return to holder page
1023: [08:43:13] <Robke> BUT
1024: [08:43:24] <Robke> if im in inner page(child of holder)
1025: [08:43:30] <wmk> only works when you've been on the holder before. doesn't work when you come from outside
1026: [08:43:31] <Robke> and click on the other new
1027: [08:43:44] <Robke> i will go back to new page :)
1028: [08:43:57] <Robke> so my qquestion is: is there any way to go back always to parent page?
1029: [08:43:58] <wmk> <a href="$Parent.Link">back to the holder</a>
1030: [08:44:19] <Robke> lol :D
1031: [08:44:36] <wmk> just ask the parent for its link
1032: [08:44:44] * Adesso can't find a way to specify the search result Field Value
1033: [08:45:31] <Robke> wmk thanks :) you helped again :D
1034: [08:46:20] <Adesso> So I am guessing I have to rename my DataObject Heading to Title
1035: [08:46:26] <Adesso> then it should work I guess
1036: [08:47:03] * kinglozzer quit ()
1037: [08:48:25] <wmk> Adesso: getTitle() {return $this->Heading; }
1038: [08:48:39] <wmk> in your db, then it has a Title value casted
1039: [08:48:44] <wmk> s/db/DO
1040: [08:49:14] * kinglozzer has joined #silverstripe
1041: [08:50:23] <Adesso> Decripting shorthand s/db/DO as Silverstripe/DataBase/DataObject
1042: [08:50:31] <wmk> nope.
1043: [08:50:37] <wmk> search "db" replace with "DO"
1044: [08:51:13] <wmk> http://vim.wikia.com/wiki/Search_and_replace
1045: [08:51:24] * Adesso knows /s
1046: [08:52:08] <wmk> well, chat pseudo vim syntax ;)
1047: [08:52:30] <Adesso> got it
1048: [08:52:39] * Adesso likes vim
1049: [08:53:29] <wmk> hmm, can i tell a literalfield to have the <label> and to look like any other field... put the literal text under <input>...
1050: [08:55:12] <Adesso> function getTitle() {return $this->Heading;} works great.. should it be private ?
1051: [08:56:31] <Adesso> no.. and neither can it be static
1052: [08:56:38] <Adesso> must be public
1053: [08:57:22] <wmk> i love the api docs: "Consider using a ReadonlyField if you need to display a label AND a value."
1054: [08:57:45] <wmk> inside a static method you cannot do $this->Value
1055: [08:57:53] <wmk> :(
1056: [08:58:26] * Adesso has to re-read the use of static
1057: [08:59:19] <Adesso> ok.. now for the BIG_ASS Question
1058: [08:59:48] <wmk> you've got headache?
1059: [08:59:53] <Adesso> ditto
1060: [09:00:07] <Adesso> Check some willow leaf
1061: [09:00:19] <Adesso> or chew a branch
1062: [09:00:41] <wmk> some willow on my pillow
1063: [09:01:02] <Adesso> he he
1064: [09:01:41] <Adesso> I need this DataObject to become a Page.. thus need a URL field (like in the Page type) and a way to display it
1065: [09:02:11] <Adesso> I had a look at some old code yesterday ... DataObjectas Age or something ..
1066: [09:02:12] <wmk> hmm, the urlslug or pagetype discussion
1067: [09:02:34] <Adesso> we had the pagetype thing already
1068: [09:02:47] <Adesso> it it really needs to be a DataObject ..
1069: [09:03:01] <Adesso> I just need to display it now
1070: [09:03:28] * Adesso did not take a Page type because of SiteTree making life impossible
1071: [09:03:35] <wmk> you need something like http://devincharge.com/creating-custom-routes-silverstripe/
1072: [09:03:53] <wmk> and someone showed me a work-in-progress module with this functionality last night
1073: [09:04:23] <Adesso> Custom Routes would be a part..
1074: [09:04:26] <Adesso> :D
1075: [09:04:56] * Adesso takes a 5min break
1076: [09:05:21] <wmk> https://github.com/NightJar/silverstripe-slug/
1077: [09:05:29] <wmk> no custom routes but a urlhandler in your controller
1078: [09:06:08] <wmk> the above module should work though it could be a bit cleaner and/or elegant
1079: [09:09:17] <wmk> you'll have the viewItem action and need to make a custom template for this action to show the DO
1080: [09:14:05] <Adesso> ok .. this could be a good start
1081: [09:14:09] <Adesso> thx
1082: [09:18:13] * R\w\C has joined #silverstripe
1083: [09:25:52] * UncleCheese has joined #silverstripe
1084: [09:30:27] * Tanger quit (Quit: Tanger)
1085: [09:31:16] * Tanger has joined #silverstripe
1086: [09:32:53] * Tanger quit (Client Quit)
1087: [09:35:44] * mattybalaam has joined #silverstripe
1088: [09:51:28] * Colin[pi] has joined #silverstripe
1089: [09:58:50] * wmk quit (Ping timeout: 250 seconds)
1090: [10:03:55] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1091: [10:09:18] <mattybalaam> I am working on a legacy site running Silverstripe 2.4.13. I have some pages with a many_many relationship 'Categories' => 'Category', and then on Category a $belongs_many_many 'Tours' => 'TourPage'. I am trying to make a checkboxSetField but get an error on page load: [Warning] in_array() expects parameter 2 to be array, object given
1092: [10:11:00] <mattybalaam> If I debug on the $item variable on line 128 of CheckboxSetField it returns a DataObjectSet of all the pageTypes
1093: [10:11:12] <mattybalaam> Sorry, all the pages with that pagetype
1094: [10:14:38] * travis-ci has joined #silverstripe
1095: [10:14:38] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3381 (fixsortableheader - 60268e5 : Will Rossiter): The build has errored.
1096: [10:14:38] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/60268e5c3a70
1097: [10:14:38] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36241123
1098: [10:14:38] * travis-ci has left #silverstripe
1099: [10:21:45] * lerni quit (Remote host closed the connection)
1100: [10:33:57] * Pyromanik has joined #silverstripe
1101: [10:40:00] * R\w\C has joined #silverstripe
1102: [10:42:37] * hailwood has joined #silverstripe
1103: [10:43:31] <hailwood> Hey guys, Does anyone know why an UploadField created in getCMSFields() as in the following gist would return a 400 bad request?
1104: [10:43:31] <hailwood> https://gist.github.com/hailwood/968e3e346f9ba7d75ff6
1105: [10:43:59] <hailwood> The file I am uploading is 12MB, I have set the php max upload size to 200M and doing a phpinfo() confirms this is set correctly.
1106: [10:44:20] <Pyromanik> hailwood, possibly bad file type
1107: [10:44:42] <hailwood> Hmm, pdf, I'll try setting it explicilty
1108: [10:49:34] <hailwood> Nope, it's not that, I also don't think it's a permission issue since the directories were created
1109: [10:51:15] <Pyromanik> grep the code for 400
1110: [10:51:18] <Pyromanik> uploadfield.php
1111: [10:51:28] <Pyromanik> or load the page and ctrl f
1112: [10:51:54] <Pyromanik> http://api.silverstripe.org/3.1/class-UploadField.html
1113: [10:53:26] <Pyromanik> omg omg omg omg Zauberfisch, it's official.
1114: [10:58:05] <hailwood> Pyromanik: Ok so it's dying here - but why would that be failing? It makes no sense to me...
1115: [10:58:05] <hailwood> // Protect against CSRF on destructive action
1116: [10:58:06] <hailwood> $token = $this->getForm()->getSecurityToken();
1117: [10:58:06] <hailwood> if(!$token->checkRequest($request)) return $this->httpError(400);
1118: [10:59:59] <Pyromanik> session timeout
1119: [11:00:21] <Pyromanik> and/or no security token. Are you trying to request directly?
1120: [11:01:26] <Pyromanik> Zauberfisch, I'll be there around 1930 I guess.
1121: [11:01:29] <hailwood> I don't think it is session timeout, since the image upload field directly above it works fine - But yeah looking at the request it's sending through there is nothing in the payload about a security token - But I haven't done anything to remove it, just added it to the cms in the getCMSFields() function
1122: [11:02:06] <Pyromanik> yeah, it's wierd. I'm sure I've come across it before, but no memory on what it was or how fix, soryr.
1123: [11:02:11] <Pyromanik> f5 the page then try again?
1124: [11:03:37] <hailwood> Ok it's definitely something to do with the file size, as I can upload a smaller file perfectly fine
1125: [11:05:07] <Adesso> wmk - how do I call the Item with the Slug code
1126: [11:06:20] <Pyromanik> Adesso, wha?
1127: [11:06:27] <Adesso> ?ValueOfURLSlug or ?viewItem=ValueOfURLSlug
1128: [11:06:37] <Pyromanik> neither.
1129: [11:06:49] <Pyromanik> protip: If you're using ? you're (probably) doing it wrong.
1130: [11:06:58] <Adesso> he he
1131: [11:07:10] <Pyromanik> ItemsPage/slug-of-thing-you-want
1132: [11:07:17] <Pyromanik> eg
1133: [11:07:25] <Pyromanik> news/aliens-on-mars
1134: [11:07:54] <Pyromanik> news being the ItemsPage (or there abouts), and aliens-on-mars being the slug of a data object related to it.
1135: [11:08:09] <Pyromanik> it's automatic
1136: [11:08:41] <Pyromanik> ItemsPage.ss will be something like <% loop Items %> $Link
1137: [11:08:49] <Pyromanik> but with more anchor tags.
1138: [11:08:58] <Pyromanik> then clicking link will take you to slug.
1139: [11:09:03] <Pyromanik> pretty easy! :D
1140: [11:09:06] * Adesso is doing something wrong again..
1141: [11:09:10] <Pyromanik> yup
1142: [11:09:16] <Pyromanik> unfortunately, I should go to work.
1143: [11:09:18] * Adesso is updating his pastebin
1144: [11:09:25] <Pyromanik> also wmk is not in.
1145: [11:09:27] <Adesso> :'(
1146: [11:09:34] <Pyromanik> but I am
1147: [11:09:38] <Pyromanik> I'll be at work in an hour or so
1148: [11:10:07] * Adesso will take a lunch break then
1149: [11:10:30] <Pyromanik> You have ArticleHolder, that's your ItemPage. You have Article, that should have the slug extention on it.
1150: [11:10:54] <hailwood> This is retarded, I honestly cannot work out why it would not be sending the token on large file uploads ;/
1151: [11:11:22] <Pyromanik> so long as you've copied the appropriate bits out of the example comment, it should largely just automagic for you Adesso
1152: [11:11:25] <Adesso> Pyromanik - I think I am really close
1153: [11:11:29] <Pyromanik> likely
1154: [11:11:36] <Pyromanik> I'm close to starving though.
1155: [11:11:39] <Pyromanik> ciao!
1156: [11:11:43] <Adesso> cua
1157: [11:16:08] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1158: [11:22:14] * Trooy has joined #silverstripe
1159: [11:22:35] * lerni has joined #silverstripe
1160: [11:26:45] * lerni quit (Ping timeout: 246 seconds)
1161: [11:28:46] * lerni_ has joined #silverstripe
1162: [11:29:51] * UncleCheese has joined #silverstripe
1163: [11:35:51] <hailwood> Far to long later he realizes that he forgot to upload post_max_size }:|
1164: [11:36:57] * Adesso should have suggested it ... cause I was thinking it
1165: [11:37:44] * mattybalaam quit (Quit: Page closed)
1166: [11:37:53] * Adesso need some fresh air.. and food. Maybe I'll have Slugs for lunch
1167: [11:47:35] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1168: [12:03:17] * johny_ has joined #silverstripe
1169: [12:03:52] <johny_> Trying to do a Object::get->byID(6); then return it to the Javascript via json....
1170: [12:04:11] <johny_> code = code::get()->byID(2);
1171: [12:04:20] <johny_> code->status = true;
1172: [12:04:35] <johny_> return $code;
1173: [12:05:44] * Shrike_Finland quit (Quit: Leaving.)
1174: [12:06:30] * Shrike_Finland has joined #silverstripe
1175: [12:06:34] * UndefinedOffset has joined #silverstripe
1176: [12:07:04] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1177: [12:08:46] * johny_ quit (Ping timeout: 246 seconds)
1178: [12:09:28] * Robke quit (Ping timeout: 246 seconds)
1179: [12:15:58] * Adesso quit (Ping timeout: 258 seconds)
1180: [12:17:59] * Adesso has joined #silverstripe
1181: [12:27:31] * R\w\C has joined #silverstripe
1182: [12:27:52] <R\w\C> hey guys, is there a built in function inside silverstripe that lets me pick multiple dataobjects ?
1183: [12:28:26] <ss23> ::get lets you do that
1184: [12:28:34] <ss23> Just do it with whatever critera you want
1185: [12:28:40] <R\w\C> i found this https://github.com/briceburg/silverstripe-pickerfield
1186: [12:29:10] <R\w\C> but i need to be able to store individual objects on a page
1187: [12:29:27] <R\w\C> has_many of a certain object
1188: [12:31:09] <R\w\C> hmm
1189: [12:31:14] <R\w\C> nevermind i think i got it
1190: [12:31:22] <R\w\C> has_many changed to many_many
1191: [12:33:20] * Colin[pi] quit (Ping timeout: 260 seconds)
1192: [12:36:38] * Pylatek has joined #silverstripe
1193: [12:37:38] * Robke has joined #silverstripe
1194: [12:38:11] <Robke> is UserDefinedForms the same as this: http://addons.silverstripe.org/add-ons/silverstripe/userforms ?
1195: [12:38:53] <Zauberfisch> Pylatek: awesome!
1196: [12:39:13] <Pylatek> Zauberfisch: yup :D
1197: [12:39:21] <Pylatek> missus isn't coming though D:
1198: [12:39:23] <Pylatek> but still.
1199: [12:39:26] <Pylatek> :D
1200: [12:39:37] <Zauberfisch> yaaay
1201: [12:39:44] <Pylatek> now I just need to find a place to stay :P
1202: [12:39:55] * Pylatek stayed home from work to find flights this morning, hah
1203: [12:39:56] <Pylatek> a
1204: [12:40:07] <Pylatek> only £61 to get to Vienna!
1205: [12:40:16] <Pylatek> £159 to get back... but still!
1206: [12:40:17] <Pylatek> haha
1207: [12:40:26] <Pylatek> 'coz Sunday I guess.
1208: [12:40:59] * Shrike_Finland quit (Quit: Leaving.)
1209: [12:41:58] * g4b0_ has joined #silverstripe
1210: [12:42:54] <Zauberfisch> Pylatek: dont forget to rsvp on the website
1211: [12:43:04] <g4b0_> hi all
1212: [12:43:07] <Zauberfisch> i mean meetup.com
1213: [12:43:47] <g4b0_> is it possible to know the last published version for a Versioned DataObject without querying the DB?
1214: [12:53:29] * Shrike_Finland has joined #silverstripe
1215: [13:05:12] * deschebbs quit (Quit: User terminated!)
1216: [13:12:04] <Pylatek> Zauberfisch: I did that last night ;P
1217: [13:12:10] <Pylatek> I thought about getting shirt size small, haha
1218: [13:12:22] <Pylatek> to show off my concealed weapons (the guns)
1219: [13:12:46] <Pylatek> but then I thought ah shit, s/n/t/ :<
1220: [13:14:26] <Pylatek> lol
1221: [13:14:36] <Pylatek> losing weight, but not that much yet :<
1222: [13:14:48] <Pylatek> Adesso: good lunch?
1223: [13:14:51] <Zauberfisch> I haven't gotten any signup emails from meetup
1224: [13:14:53] <Zauberfisch> are you sure?
1225: [13:14:57] <Zauberfisch> http://www.meetup.com/SilverStripe-Europe-Meetup/events/168730312/
1226: [13:15:01] <Zauberfisch> are you in that list there?
1227: [13:15:05] <Pylatek> yep
1228: [13:15:34] <Pylatek> of course Zauberfisch :)
1229: [13:15:40] <Zauberfisch> ok then
1230: [13:18:40] * Adesso had soup
1231: [13:19:03] * Pylatek had breakfast and is now having fruit.
1232: [13:19:24] * Adesso looks at his bananna
1233: [13:19:42] <Pylatek> eat it, good for your brain.
1234: [13:19:50] <Adesso> :)
1235: [13:20:00] <Pylatek> then we can get to work
1236: [13:20:11] <Adesso> nom nom nom
1237: [13:21:57] * Adesso also gets another Coffee
1238: [13:23:07] * codetoday quit (Remote host closed the connection)
1239: [13:23:42] * Shrike_Finland quit (Quit: Leaving.)
1240: [13:25:17] * marbus90 quit (Ping timeout: 245 seconds)
1241: [13:26:19] * marbus90 has joined #silverstripe
1242: [13:26:44] * mento has joined #silverstripe
1243: [13:32:28] <mento> hey guys, is it possible to add dataobjects to the google sitemap module? The site i'm working on is a big catalogue with dataobjects as pages and would like to have them in my google sitemap to let google index them faster
1244: [13:32:46] * Robke quit (Ping timeout: 246 seconds)
1245: [13:34:02] <ocmnt> http://arstechnica.com/security/2014/09/bug-in-bash-shell-creates-big-security-hole-on-anything-with-nix-in-it/
1246: [13:34:04] <Pylatek> mento: uhh... sure if they're pages!
1247: [13:34:06] <Pylatek> xD
1248: [13:34:10] <ocmnt> for those who are not informed yet
1249: [13:34:17] <Pylatek> I am not informed.
1250: [13:34:17] <ocmnt> bash is vulnerable
1251: [13:34:31] <Adesso> O.O WHAT
1252: [13:34:39] <Adesso> where.. how ?
1253: [13:34:44] <Adesso> when
1254: [13:34:45] <ocmnt> read the link
1255: [13:34:54] <ocmnt> or well, the contect of the page it links to
1256: [13:35:34] <mento> Pylatek: hah yeah, i assume that would work yes :P they aren't "real" pages but they got their own url like /item/itemname/id/
1257: [13:37:21] <Pylatek> mento: yeah I get that. You'll have to look at how the module works.
1258: [13:37:30] <Pylatek> ie, read code.
1259: [13:37:41] * Adesso updates his server ...
1260: [13:38:18] <Adesso> Thanks for that one ocmnt
1261: [13:38:46] <lerni_> mento: https://gist.github.com/anonymous/39144ad37a69417bed0e
1262: [13:38:57] <Pylatek> ocmnt: wows. well lucky I use Arch!"
1263: [13:39:06] <Pylatek> rolling release > fucking iso updates
1264: [13:39:17] <mento> Pylatek: i found some interesting info in the docs, missed that the first time lol
1265: [13:39:38] <Pylatek> mento: yeah, lerni_ seems to know the answer too :>
1266: [13:39:54] <lerni_> :)
1267: [13:39:56] <mento> lerni_: thanks!
1268: [13:40:17] <ocmnt> Pylatek, lucky for you, lucky for me I do use centos mainly
1269: [13:40:30] <ocmnt> like I had nothing to do, so now I have a nice workload to fill my days :o
1270: [13:40:43] <Adesso> done :)
1271: [13:41:05] <Adesso> yum update is not really a workload ..
1272: [13:41:20] * muskie9 has joined #silverstripe
1273: [13:41:27] * danfo has joined #silverstripe
1274: [13:41:36] <lerni_> mento - as far as I remember you have to set priority on your DO as well, otherwise it'll default
1275: [13:42:50] <ocmnt> Adesso, I like to make a backup before I yum update
1276: [13:42:58] <ocmnt> and be ready to fix things when update fails or whatever
1277: [13:43:06] <ocmnt> nobody got time for that :P
1278: [13:43:19] <Adesso> you don't have a nightly backup ?
1279: [13:43:35] <ocmnt> I do, just twice a week
1280: [13:43:40] <ocmnt> mon / fri
1281: [13:43:55] <Adesso> well if you do it every day.. then you will sleep better ..
1282: [13:44:04] <Adesso> Son / Father / GrandFather
1283: [13:44:09] <ocmnt> who needs sleep anyway?
1284: [13:44:19] <Adesso> sleep when your dead eh
1285: [13:44:41] <Pylatek> I'll dead when I'm sleep!
1286: [13:44:59] * Adesso heard the heavy music getting louder .... d-.-b
1287: [13:45:29] <Pylatek> sleep metal eh?
1288: [13:45:41] <Adesso> So then.. I was playing around with the Slug today...
1289: [13:46:19] * Adesso mental metal music... whatever floats your boat
1290: [13:46:21] <Pylatek> I hope you didn't let it near your lettuce
1291: [13:46:41] <Adesso> actually I had it for Lunch ;)
1292: [13:47:20] <Pylatek> D:
1293: [13:47:25] <Pylatek> Poor slug!
1294: [13:47:41] * Adesso reboots the box after the yellow dog made a mess of the server
1295: [13:47:55] <Adesso> Well I couldN#t get it to work...
1296: [13:47:55] <Pylatek> lol
1297: [13:48:04] * Shrike_Finland has joined #silverstripe
1298: [13:48:18] <Adesso> so I roled back a version
1299: [13:48:28] <Adesso> but I updated my pastebin ..
1300: [13:48:39] <Pylatek> which is?
1301: [13:48:56] * Shrike_Finland quit (Client Quit)
1302: [13:48:58] <Adesso> http://pastebin.com/u/Adesso
1303: [13:49:17] <Pylatek> oh, it's because... uhh...
1304: [13:49:19] <Pylatek> yeah nah
1305: [13:49:52] <mento> lerni_: setting the canView() and AbsoluteLink() functions in my databoject and registering the databoject in the _config worked out pretty well
1306: [13:50:04] <mento> my dataobjects are now shown in the sitemap :)))
1307: [13:50:33] * Adesso hopes to one day understand what mento just said
1308: [13:50:46] <Adesso> please don't explain
1309: [13:51:11] <mento> Adesso: and i'm even just a designer :-P
1310: [13:51:28] <Pylatek> Adesso: messup in the example code.
1311: [13:52:04] <Adesso> if your talking about hte stray comma.... I killed it with a dot ;)
1312: [13:52:13] <Adesso> the
1313: [13:52:35] * Adesso was cracking his brain trying to figure out how to get it to work
1314: [13:53:47] <Pylatek> oh, wait no. Not an issue with example, but your adaption of it
1315: [13:53:50] <Pylatek> Link()
1316: [13:53:55] <Pylatek> $this->Parent() //wrong
1317: [13:54:11] <Pylatek> $this->ArticleHolderPage() //yes
1318: [13:54:47] <Adesso> s
1319: [13:55:26] <Adesso> uhmm... I am wrong you are right
1320: [13:56:34] <Pylatek> what is it that you couldn't get going Adesso
1321: [13:56:35] <Pylatek> ?
1322: [13:56:42] <Pylatek> the links to the objects?
1323: [13:57:11] <Pylatek> mmm, yeah. Again
1324: [13:57:21] <Pylatek> ArticleHolderPage {...
1325: [13:57:33] <Pylatek> viewItem() //func
1326: [13:57:42] <Pylatek> $this->Items() //wrong
1327: [13:57:50] <Pylatek> $this->Articles() //yes
1328: [13:58:26] <Adesso> seeing some light here...
1329: [13:58:41] <Adesso> and the admin starts working again ..
1330: [13:58:46] <Pylatek> relation names! :>
1331: [13:59:03] <Adesso> If you see it, you know it..
1332: [13:59:24] <Adesso> like I said, now it is starting to make alot more sense
1333: [14:00:11] <Pylatek> :)
1334: [14:00:29] <Pylatek> In the example the relation names are literally Items and Parent.
1335: [14:00:56] <Pylatek> so they need to be updated to reflect your actual code relation names, other than that... should all be go :)
1336: [14:01:04] <Adesso> now I have to get the front-end to show the damn thing ..
1337: [14:01:30] <Pylatek> well, ArticleHolderPage_viewItem.ss
1338: [14:01:35] <Pylatek> job done.
1339: [14:01:37] <Pylatek> :P
1340: [14:01:42] <Pylatek> OR
1341: [14:01:50] <Adesso> O.o
1342: [14:01:53] <Pylatek> ArticleHolderPage.ss
1343: [14:02:02] <Pylatek> with <% if Item %> ... <% end_if %>
1344: [14:02:11] <Pylatek> :)
1345: [14:03:10] <Pylatek> Adesso: the template naming convention is ClassName_Action.ss
1346: [14:03:52] <Pylatek> so the template that matches the class will be used. But if there's more than one, it'll use the one that matches the action also
1347: [14:03:59] <Pylatek> eg.
1348: [14:04:25] <Pylatek> ArticleHolderPage_viewItem.ss -> ArticleHolder.ss -> Page.ss
1349: [14:04:32] <Pylatek> -> Controller.ss
1350: [14:05:37] * Adesso updates his Teasers with the Links ...
1351: [14:07:39] <Adesso> and {$Parent.Link} is still right ..
1352: [14:08:21] * Adesso knows that just because it works does not always mean it's right
1353: [14:08:48] <Adesso> $Link seems to also work
1354: [14:09:36] <Adesso> $Link just seems right somehow
1355: [14:10:22] <Pylatek> yeah, $Parent is the Parent relation (which you don't have).
1356: [14:10:38] <Pylatek> so Parent.Link is 'get me the result of the Link method on the Parent object'
1357: [14:10:44] <Adesso> but it still works...
1358: [14:10:48] <Pylatek> weird
1359: [14:10:53] <Adesso> thius is what gets me soetime...
1360: [14:10:58] <Adesso> that it still works .. stuff
1361: [14:11:04] <Adesso> adds to the confusion
1362: [14:11:05] <Pylatek> depends on your scope at the time though.
1363: [14:11:14] <Pylatek> Parent on the page will be the parent page (if any).
1364: [14:11:19] <Adesso> The Link is doing the right thing ..
1365: [14:11:59] * scpi has joined #silverstripe
1366: [14:12:54] <Pylatek> good good :>
1367: [14:13:21] <Adesso> So now I am in the Article.. but I am guessing my scope is wrong ..
1368: [14:13:34] <Adesso> cause Ttitle is not giving me the Article Title .. but the Parent ..
1369: [14:13:41] <Pylatek> <% with Item %> article here
1370: [14:13:52] <Pylatek> $Item.Title
1371: [14:14:06] <Pylatek> <% with Item %>$Title
1372: [14:14:11] <Pylatek> either or
1373: [14:14:17] <Adesso> yes yes yes
1374: [14:14:26] <Adesso> I like with ..
1375: [14:14:29] <Pylatek> don't loop, you only have 1 article.
1376: [14:14:39] <Adesso> this leason I have learned
1377: [14:19:42] <Adesso> GREAT ... it Works..
1378: [14:19:54] <Adesso> I seriously have to study this code ..
1379: [14:20:11] <Adesso> I got the extension part..
1380: [14:20:56] <Adesso> but the Controller Getter that appends the name to the Fiel is new to me
1381: [14:21:13] <Adesso> I guess it's all about doing some examples and learning from it
1382: [14:21:23] * Adesso feels a bit smarter right now
1383: [14:21:34] <Adesso> So where do I send the payment to ?
1384: [14:22:00] <Adesso> Who get's the money ?
1385: [14:23:21] <Pylatek> Adesso: controller getter?
1386: [14:23:37] <Pylatek> Adesso: you can get me a beer in Linz :>
1387: [14:25:44] <Pylatek> if by controller getter you mean the action handler... that simply gets the item (article) wanted via url parameter
1388: [14:26:16] <Adesso> Your so on for a Beer
1389: [14:26:27] <Pylatek> then it customises the page, adding the template var $Item, with that fetched item (article)
1390: [14:26:29] * Adesso thinks he is going to be buying a couple of Beers ;)
1391: [14:26:38] <Pylatek> Adesso: you're, but ok :D
1392: [14:27:01] * Adesso will come prepared
1393: [14:29:12] <Pylatek> so $this->request (in a controller) gets you the request object (SS_HTTPRequest) which basically encapsulates all the get, post, url params, etc.
1394: [14:29:46] <Pylatek> URLs are broken up into parts to be processed, and if the rule for that route contains params, they get named (that param).
1395: [14:30:25] <Adesso> This stuf should be written down somewhere between Hallow World, and My First Step in SilverStripe
1396: [14:30:32] <Pylatek> in a Page, the default is $Controller (ie, page name) / $Action (method to call on that controller) / $ID (generic extra var) / $OtherID (ditto)
1397: [14:30:46] <Pylatek> so $url_handlers basically tells the controller to override this
1398: [14:31:03] <Pylatek> so the unconusmed part of the URL gets re-assigned (well, double assigned) to $Item
1399: [14:31:18] <Pylatek> so $Action and $Item at that point are the same.
1400: [14:31:48] <Adesso> This explains ALOT
1401: [14:31:53] <Pylatek> it tells the controller that $Item var is required to match (so it won't match for PageName/, but will for PageName/blah-article)
1402: [14:32:00] <Pylatek> this is the !
1403: [14:32:07] <Pylatek> doing that bit.
1404: [14:32:18] <Adesso> I read that the bang does a kinda required set
1405: [14:32:39] <Pylatek> and it tells the controller that if this rule is matched (the rule being the key) then that the action to handle it will be the function defined as the value (viewItem)
1406: [14:33:17] <Pylatek> so Articles/ just goes default, through handleAction('') and gives you the page
1407: [14:33:21] * Adesso thinks he should write a article on this ....
1408: [14:33:46] <Adesso> I know I understand it when I can explain it to someone like he is a 9 year old
1409: [14:33:56] <Pylatek> Articles/blah-blah would normally pass to handleAction('blah-blah') and look for a function blah-blah()
1410: [14:34:55] <Pylatek> but we're overriding that, so it goes to viewItem('blah-blah') where it finds an Article by that URLSlug (which is an adaption of the title), then adds it as a template var to the page output. And that's basically it.
1411: [14:35:34] <Adesso> so If you would want to change the behaviour of the URLSlug...
1412: [14:35:40] <Pylatek> relevant docs: http://doc.silverstripe.org/framework/en/topics/controller#routing
1413: [14:36:11] <Pylatek> http://doc.silverstripe.org/framework/en/reference/director#routing
1414: [14:36:32] <Pylatek> Adesso: by 'change behaviour' - how do you mean?
1415: [14:36:52] <Adesso> well so Far I see that the name get's lowecased..
1416: [14:37:12] <Adesso> what happens to punctiotion and special chars ?
1417: [14:37:22] <Pylatek> converted to hyphen
1418: [14:37:24] <Pylatek> probably
1419: [14:37:35] <Adesso> I''ll test that tomorrow
1420: [14:37:43] <Pylatek> yeah, it does.
1421: [14:37:43] <Pylatek> https://github.com/NightJar/silverstripe-slug/blob/master/code/Slug.php#L26
1422: [14:37:44] <Adesso> but for today.. I think we are done..
1423: [14:37:52] <Pylatek> same that what happens with a page's URLSegment
1424: [14:38:02] <Pylatek> (uses the same class to parse down to the slug)
1425: [14:38:04] * Adesso feels a great relief .... It works, no thanks to me ..
1426: [14:38:20] <Pylatek> so this module basiclly does the same thing as what a page does
1427: [14:38:38] <Pylatek> but applies as a decorator so you can use it with generic data objects
1428: [14:39:54] <Pylatek> the rest I haven't gotten around to yet (supporting translation, although I don't particularly think I need to, I don't think anything actually gets output in text form), turning the whole example controller part into an Extension too so that it can easily be applied.
1429: [14:40:03] <Pylatek> and better configuration in the case that soemthing doesn't work.
1430: [14:40:05] <Pylatek> or something like that.
1431: [14:41:02] <Adesso> so far it really works well..
1432: [14:41:09] <Pylatek> but yeh, the module isn't particularly advanced, other than that it applies as an extension rather than being core dataobject code (ie, don't have to copy and paste or type it out each time I want that functionality)
1433: [14:41:26] <Pylatek> it's generally basic stuff, as we convered off the other day with you.
1434: [14:41:38] <Adesso> well that would be nice.. like (o Y o)
1435: [14:42:34] <Otterpocket> Hi, I returning a Fieldlist and the action is add_region_to_user this is all on my index page / I have both actions in the same controller, but what route should I put in my routes?
1436: [14:42:34] <Pylatek> it's easy enough to: Article{...} ArticlePage{has_many[Articles], view(){return [Item=>$this->Articles()->byID($this->request->param('ID')]}
1437: [14:42:58] <Pylatek> that's basically all the module does. Just lets you use titles (slugged) instead of having to go by ID
1438: [14:43:04] <Pylatek> so it's all 'SEO friendly'
1439: [14:43:06] * Adesso does a Commit .... EOD
1440: [14:43:30] <Pylatek> but in short, the pseudo code above does exactly the same thing.
1441: [14:43:34] <Adesso> Pylatek: Thanks again... this has been a really great help
1442: [14:43:40] <Pylatek> :) yw
1443: [14:43:42] <Adesso> I have to catch my Train..
1444: [14:43:49] <Pylatek> rgr, ciao
1445: [14:44:19] * Adesso quit (Quit: Are you Loving it ?)
1446: [14:45:54] * Shrike_Finland has joined #silverstripe
1447: [14:54:19] * ss31noob has joined #silverstripe
1448: [15:00:13] * Shrike_Finland quit (Quit: Leaving.)
1449: [15:04:49] * ss31noob quit (Ping timeout: 246 seconds)
1450: [15:06:50] * mento quit (Quit: Page closed)
1451: [15:14:11] * danbroooks has joined #silverstripe
1452: [15:16:14] * Shrike_Finland has joined #silverstripe
1453: [15:18:27] * g4b0_ quit (Ping timeout: 246 seconds)
1454: [15:18:46] <danbroooks> how do people go about unit testing their javascript written with entwine? i keep running into trouble whenever my code depends on another piece of my entwine code that i'm not loading into my tests... i'm using mocha but the usual stubbing of methods doesn't work with code written with entwine
1455: [15:19:26] <Pylatek> jasmine
1456: [15:19:28] <Pylatek> afaik.
1457: [15:19:32] <Pylatek> which is F all.
1458: [15:19:56] <Pylatek> see github hfriedlander and/or the framework/thirdparty/entwine folders
1459: [15:20:09] * g4b0_ has joined #silverstripe
1460: [15:20:20] <Pylatek> might hold some answers for you.
1461: [15:20:26] <danbroooks> thanks
1462: [15:21:02] * lerni_ quit (Remote host closed the connection)
1463: [15:29:40] * R\w\C quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1464: [15:34:41] * Shrike_Finland quit (Quit: Leaving.)
1465: [15:37:17] * ARNHOE quit ()
1466: [15:38:37] * jenniferaslan has joined #silverstripe
1467: [15:38:41] <Otterpocket> If a write() is failing, how can I debug it?
1468: [15:39:28] * danbroooks quit (Ping timeout: 246 seconds)
1469: [15:39:43] <Zauberfisch> define is failing
1470: [15:41:18] <ss23> Otterpocket: Meaning, any errors, a 500, it returns true but doesn't update the database? What is actually happening, how do you know it's "failing"
1471: [15:42:43] <Otterpocket> its in loop and the loop stops when the write happens
1472: [15:42:53] <ss23> "loop stops"?
1473: [15:43:09] <ss23> It just stops outputting things, no error, and doesn't output anything else?
1474: [15:43:32] <Otterpocket> in a BuildTask is that makes a difference, no errors are displayed
1475: [15:44:29] <ss23> Sounds like there's probably an error but it's being hidden. Are you running the BuildTask from the CLI or webserver? Verify your php.ini for it, confirm that display_errors and error_reporting are set to appropriate values (e.g. on and E_ALL), and try again (restarting webserver if applicable)
1476: [15:44:35] <ss23> Also set site into dev mode
1477: [15:45:41] <Otterpocket> ss23: Good idea, ill turn those on
1478: [15:45:42] * lerni has joined #silverstripe
1479: [15:46:14] <Otterpocket> Nothing, it writes the data in the first loop and then stops
1480: [15:47:19] <Otterpocket> It seems as if it breaks after writing the record
1481: [15:49:59] * lerni quit (Ping timeout: 244 seconds)
1482: [15:50:17] <ss23> Could be a bug in your code?
1483: [15:50:24] <ss23> I' mgoign to bed, but good luck, Otterpocket
1484: [15:51:09] <Otterpocket> ss23: ok, Thanks
1485: [15:58:14] * g4b0_ quit (Quit: Sto andando via)
1486: [16:02:34] <Pylatek> Otterpocket: this is not wordderp, there is not 'the loop' :<
1487: [16:03:53] <ss23> Pylatek: ... he means a literal loop he wrote
1488: [16:03:59] <Pylatek> o.0
1489: [16:04:22] <ss23> like... foreach ($thisis as $aloop) { // A LOOP }
1490: [16:04:24] <Pylatek> Well that's helpful. We know all about user defined loops :<
1491: [16:04:29] <ss23> :P
1492: [16:04:46] <Pylatek> it sounds to me like he means the build task.
1493: [16:05:02] <Pylatek> 'looping' through all the tables & fields
1494: [16:05:15] <Pylatek> but yeh, needs all the dev stuff on first.
1495: [16:05:25] * Pylatek just wants to go home and eat fish.
1496: [16:06:07] <Pylatek> after tomorrow I will finally be on holiday and won't have to wake up stupid early, nor will I have stress of planning trips :<
1497: [16:06:12] <Pylatek> FINALLY
1498: [16:06:24] <Pylatek> still sick ss23 ?
1499: [16:06:32] <ss23> yeah
1500: [16:06:34] <Pylatek> guessing yes, since it's 4am
1501: [16:06:36] <ss23> just took some drugs, going to sleep now
1502: [16:06:41] <Pylatek> zzz
1503: [16:06:45] <ss23> Flu makes you sleep for like 48 hours
1504: [16:06:47] <Pylatek> wish I could
1505: [16:06:49] <ss23> so yeah, sleeping pattern is bad atm
1506: [16:06:51] <Pylatek> ha, really?
1507: [16:06:54] <Pylatek> never had that.
1508: [16:07:02] <ss23> well it did for me, though Iw as taking codiene every 4 hours
1509: [16:07:11] <Pylatek> only thing that's made me sleep fucked up was some kind of fever I had once.
1510: [16:07:19] <ss23> ah, feverdreams are the worst
1511: [16:07:23] <Pylatek> IKR
1512: [16:07:24] <Pylatek> was teh best
1513: [16:07:28] <Pylatek> there was darth vader
1514: [16:07:32] <ss23> I had a song from lion king 3 stuck in my head the other day during the fever
1515: [16:07:33] <Pylatek> leading a pitched battle
1516: [16:07:36] <ss23> :(
1517: [16:07:39] <Pylatek> and I was standing in the middle of the battlefield
1518: [16:07:42] <Pylatek> SCARY AS FUCK
1519: [16:07:48] <ss23> XD
1520: [16:07:50] <ss23> anyawy, zzz
1521: [16:07:55] <Pylatek> zzz
1522: [16:08:02] <Pylatek> ciao
1523: [16:08:03] * Pylatek quit ()
1524: [16:10:32] * MattyBalaam has joined #silverstripe
1525: [16:10:53] * Shrike_Finland has joined #silverstripe
1526: [16:11:06] * kinglozzer quit ()
1527: [16:11:20] <MattyBalaam> Does anyone know if it is possible to use an Extension to overload index() on a controller?
1528: [16:11:39] * deschebbs has joined #silverstripe
1529: [16:12:10] <MattyBalaam> At the moment if I try nothing happens until I comment out index() on the original controller
1530: [16:12:52] * deschebbs quit (Client Quit)
1531: [16:21:41] * stnvh quit ()
1532: [16:27:35] * Trooy quit (Read error: Connection reset by peer)
1533: [16:31:43] * Otterpocket quit (Quit: WeeChat 0.4.1)
1534: [16:37:17] * MattyBalaam quit (Quit: Page closed)
1535: [16:53:27] * Shrike_Finland quit (Quit: Leaving.)
1536: [16:55:02] * gelignite has joined #silverstripe
1537: [16:59:32] * Shrike_Finland has joined #silverstripe
1538: [17:12:26] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1539: [17:14:50] * jenniferaslan has joined #silverstripe
1540: [17:25:16] * Shrike_Finland quit (Quit: Leaving.)
1541: [17:26:08] * muskie9_ has joined #silverstripe
1542: [17:26:25] * muskie9 quit (Read error: Connection reset by peer)
1543: [17:32:00] * Shrike_Finland has joined #silverstripe
1544: [17:45:10] * Shrike_Finland quit (Quit: Leaving.)
1545: [17:48:45] * muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1546: [17:53:19] * muskie9 has joined #silverstripe
1547: [17:53:40] * Shrike_Finland has joined #silverstripe
1548: [18:11:33] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1549: [18:11:54] * muskie9 has joined #silverstripe
1550: [18:30:47] * Shrike_Finland quit (Quit: Leaving.)
1551: [18:30:56] * Shrike_Finland has joined #silverstripe
1552: [18:34:13] * lerni_ has joined #silverstripe
1553: [18:44:47] * danfo quit (Quit: danfo)
1554: [18:45:18] * danfo has joined #silverstripe
1555: [18:45:18] * danfo quit (Client Quit)
1556: [18:50:51] * muskie9 is now known as _muskie9_
1557: [18:50:51] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1558: [18:55:38] * muskie9 has joined #silverstripe
1559: [19:17:50] * Shrike_Finland quit (Quit: Leaving.)
1560: [19:25:50] * ss31noob has joined #silverstripe
1561: [19:44:49] * ss31noob quit (Ping timeout: 246 seconds)
1562: [19:44:52] * ss31noob_ has joined #silverstripe
1563: [19:57:04] * willr_ has joined #silverstripe
1564: [19:57:04] * willr_ quit (Changing host)
1565: [19:57:04] * willr_ has joined #silverstripe
1566: [20:01:53] * willr_ quit (Ping timeout: 260 seconds)
1567: [20:10:15] * Stomach has joined #silverstripe
1568: [20:14:15] * UncleCheese has joined #silverstripe
1569: [20:15:33] * oddnoc has joined #silverstripe
1570: [20:28:59] * zippy has joined #silverstripe
1571: [20:32:00] * UndefinedOffset quit (Quit: Leaving.)
1572: [20:32:16] * willr_ has joined #silverstripe
1573: [20:32:16] * willr_ quit (Changing host)
1574: [20:32:16] * willr_ has joined #silverstripe
1575: [20:33:18] <zippy> morning
1576: [20:33:49] * azureRaven has joined #silverstripe
1577: [20:34:15] <azureRaven> Is anybody using FocusPoint on their ss site?
1578: [20:34:34] <azureRaven> For some reason, though I've set all the permissions of the folders to 777, it's not saving any of the "resampled" files it's making into the resampled folder.
1579: [20:34:56] <azureRaven> _resampled*
1580: [20:35:00] * Ryan-Toast has joined #silverstripe
1581: [20:36:13] * Pyromanik has joined #silverstripe
1582: [20:37:25] * willr_ quit (Ping timeout: 272 seconds)
1583: [20:38:42] * pippy has joined #silverstripe
1584: [20:39:53] <Kingy> morning zippy
1585: [20:45:41] * willr_ has joined #silverstripe
1586: [20:45:42] * willr_ quit (Changing host)
1587: [20:45:42] * willr_ has joined #silverstripe
1588: [20:46:31] * gelignite quit (Quit: http://bit.ly/nkczDT)
1589: [20:48:48] <Stomach> azureRaven - is the _resampled folder editable buy the web user?
1590: [20:48:54] <azureRaven> I made it 777
1591: [20:49:12] <Pyromanik> Make it 88 to be sure.
1592: [20:49:14] <azureRaven> I'm checking the apache settings right now on the server to make sure all is as it should be.
1593: [20:49:16] <Pyromanik> 888
1594: [20:49:19] <azureRaven> :O
1595: [20:49:28] <azureRaven> Pyromanik if only.
1596: [20:49:41] <Kingy> trolololo
1597: [20:49:58] <Kingy> azureRaven: 755
1598: [20:50:08] <azureRaven> That's what it normally is.
1599: [20:50:17] <azureRaven> But I noticed when it made the folder by itself for "Headers"
1600: [20:50:25] <azureRaven> it didn't automatically make the resampled folder.
1601: [20:50:28] <azureRaven> So, I'm checking.
1602: [20:50:39] <Pyromanik> it doesn't, unless you resample an image in it
1603: [20:50:45] <azureRaven> Which, I did.
1604: [20:50:58] <azureRaven> But when I drag and drop the image, it shows it being uploaded, then gives me a broken image picture.
1605: [20:51:02] <Pyromanik> are you sure?
1606: [20:51:56] * veb has joined #silverstripe
1607: [20:52:07] <azureRaven> Yes? It works on my local machine, just not on my server for some reason.
1608: [20:52:58] <Pyromanik> because local is windows.
1609: [20:53:10] <azureRaven> I'm not programming on windows. :(
1610: [20:53:17] <zippy> if you make the folder yourself, you might be a different user than the server, so 755 might not be enough, as it wont be able to write
1611: [20:53:42] <azureRaven> I sshed and chowed it to the user with the rights to do the stuff.
1612: [20:56:05] <zippy> and you've updated you bash (unrelated but important)
1613: [20:56:34] <Pyromanik> I'll bash your unrelated'
1614: [20:57:09] <azureRaven> I believe so. I'll logout and double check.
1615: [20:57:42] <azureRaven> So the server is running on centos
1616: [20:57:55] <Pyromanik> pay it dollars, get a better job.
1617: [20:58:18] <zippy> so you've done permissions on the whole assets subfolder?
1618: [20:58:30] <azureRaven> Yessa.
1619: [20:59:15] <zippy> if you check the network tab, do the upload and see if there are any errors in the console
1620: [20:59:19] <zippy> any php errors in the logs or anyting
1621: [20:59:34] <azureRaven> Ok. I'll do that now.
1622: [21:00:31] <azureRaven> Ok. So doing that it gets an error at the end of a 404 on the folder not being found.
1623: [21:02:39] <azureRaven> Says that the initiator was jquery.js?m= and numbers.
1624: [21:03:03] <Pyromanik> folder not found!
1625: [21:03:17] <azureRaven> GASP
1626: [21:05:01] <azureRaven> And it's right. That folder hasn't made the content that I uploaded.
1627: [21:05:11] <azureRaven> So, the 404 is correct. :O
1628: [21:05:38] <Pyromanik> whjo would have thought that 404 not found meant it couldn't find it?
1629: [21:07:36] <azureRaven> Whjo indeed.
1630: [21:07:50] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1631: [21:08:27] <azureRaven> This error seems to be persisting through every uploadfield on this server.
1632: [21:08:30] <azureRaven> Which is why I'm so confused. XD
1633: [21:11:01] * lerni_ quit ()
1634: [21:11:09] <azureRaven> So, I deleted the whole Uploads folder, then uploaded a file. It uploaded, wrote to the folder, but still didn't create the _resampled folder.
1635: [21:15:15] <oddnoc> azureRaven: I usually put umask(002); at the top of _ss_environment.php to make sure assets can get written
1636: [21:15:46] <azureRaven> oddnoc I didn't put an _ss_environment.php in this site. Should I?
1637: [21:19:11] <oddnoc> I always do, but it’s not required if it’s not your standard practice
1638: [21:19:34] * micmania1 has joined #silverstripe
1639: [21:19:41] <oddnoc> I suppose you could put the umask call in your _config.php
1640: [21:21:52] <Pyromanik> halp halp
1641: [21:21:57] <Pyromanik> I need to pee really badly
1642: [21:22:23] <Kingy> got a cats litter box handy?
1643: [21:24:02] <Pyromanik> nup
1644: [21:24:10] <Kingy> bottle?
1645: [21:24:27] <Pyromanik> nah I just pissed in the corner of the lounge.
1646: [21:25:27] * veb quit (Quit: preprocessor-irc-cli)
1647: [21:25:45] <Pyromanik> lolwut
1648: [21:25:47] <Pyromanik> this guy
1649: [21:26:22] <Pyromanik> either shares my distain for metalanguages, or is super ironically taking the piss somehow
1650: [21:28:47] * UncleCheese has joined #silverstripe
1651: [21:29:58] <ss31noob_> hi guys.. how can i render a template using renderwith if the template is not inside the themes/<directory>/Includes or Layout.. ?
1652: [21:30:15] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1653: [21:30:28] <Pyromanik> just use the name.
1654: [21:30:29] <UncleCheese> as long as it's in templates/ you can just call renderWith('MyTemplate')
1655: [21:30:31] <ss31noob_> my template is inside the themes/<directory>/menu
1656: [21:30:33] <Pyromanik> 'templatename'
1657: [21:30:37] <Pyromanik> flush
1658: [21:30:48] <UncleCheese> has to be in a directory named "templates"
1659: [21:31:17] <Pyromanik> yeah, that's true. themes/<name>/templates/menu
1660: [21:31:39] <ss31noob_> so the templates under menu should still be accessible?
1661: [21:32:28] <UncleCheese> as long as the parent directory of menu/ is templates/
1662: [21:32:33] <Stomach> unless you're trying to send an email from within the CMS and the CMS has disabled themes because fuck you Stomach :(
1663: [21:34:29] <Pyromanik> ^
1664: [21:34:42] <Pyromanik> because fuck you stomach put it in your $project
1665: [21:34:44] <Pyromanik> dir
1666: [21:36:18] <Pyromanik> NAME A FONT WITH A CROSSED SEVEN
1667: [21:37:12] <ss31noob_> thanks UncleCheese and Pyromanik.. my problem was just the silverstripe-cache thats why my template doesnt appear
1668: [21:37:13] <ss31noob_> pffff
1669: [21:37:57] <Pyromanik> because flush
1670: [21:42:04] <Stomach> Pyromanik - ended up doing that - can't even set the config to enable the theme because of the control chain in cms, sighface
1671: [21:42:21] <Pyromanik> yeah unsets theme before anything
1672: [21:42:41] <Pyromanik> it's always been that way.
1673: [21:42:51] <Pyromanik> you learn to hackle around it.
1674: [21:42:54] <Pyromanik> ... ish.
1675: [21:43:22] <Stomach> haha yeah, ish
1676: [21:47:20] * adrexia quit (Ping timeout: 272 seconds)
1677: [21:48:38] <Pyromanik> hahah, fuck. That moment when you realise that travel blog you're reading is headed up by a chap you went to school with.
1678: [21:48:44] <Pyromanik> GG NZ
1679: [21:50:56] * scpi quit (Quit: scpi)
1680: [21:51:40] <ss31noob_> what travel blog is it Pyromanik?
1681: [21:52:45] <Pyromanik> fourjandals.com
1682: [21:53:09] <Stomach> The best 2014 cheap Bridesmaid Dresses at One Stop Wedding&Party Solution.
1683: [21:55:11] <Pyromanik> wut
1684: [21:57:09] <Pyromanik> this fellow. Although I didn't know him personally. http://www.mossburmester.co.nz/
1685: [21:57:32] * antmas has joined #silverstripe
1686: [21:57:38] <antmas> morning all
1687: [21:57:42] <antmas> dumb question
1688: [21:57:43] <Pyromanik> HURRO
1689: [21:57:48] <Pyromanik> INDEED
1690: [21:57:52] <Pyromanik> NOT EVEN A QUESTION
1691: [21:57:56] <antmas> where the bloody hell is the PHPstorm licence key?
1692: [21:57:58] <antmas> :P
1693: [21:58:17] <antmas> I can't find it in any of the docs they sent me :O
1694: [21:58:46] <Pyromanik> #phpstorm
1695: [21:58:51] <Pyromanik> IN A TEACUP
1696: [21:58:58] <antmas> :P
1697: [21:59:01] * adrexia has joined #silverstripe
1698: [21:59:16] * adrexia quit (Client Quit)
1699: [21:59:16] <Pyromanik> fuck'n... I was supposed to do shit.
1700: [21:59:23] <Pyromanik> now I just wanna go to bed.
1701: [21:59:31] * adrexia has joined #silverstripe
1702: [21:59:43] * Colin[pi] has joined #silverstripe
1703: [22:01:15] <zippy> my god
1704: [22:01:24] <antmas> zippy: your god
1705: [22:01:33] <zippy> antmas: I was welcoming Colin[pi]
1706: [22:01:43] <antmas> :D
1707: [22:01:55] * wilsonstaff has joined #silverstripe
1708: [22:02:08] <zippy> I got a html page here cut up from a design, and... the page is for a recipie, so they have given all the css class's names to do with chicken since it's a chicken recipie
1709: [22:02:18] <zippy> chicken-main
1710: [22:02:21] <zippy> right-chicken
1711: [22:02:21] <antmas> WHERE IS MY KEY JETBRAINS :O
1712: [22:02:24] <antmas> Y U NO EASY
1713: [22:02:44] <Pyromanik> so zippy? GETCHOSELF SOME FUCK'N CHICKEN
1714: [22:02:49] <wilsonstaff> HI to all, a simple survey. Are you using SASS? Has it changed (a lot) the way you work? Drawbacks?
1715: [22:02:52] <Pyromanik> xD
1716: [22:03:02] <zippy> wilsonstaff: No
1717: [22:03:05] <Pyromanik> drawbacks: it's shit.
1718: [22:03:16] <Pyromanik> plusses: everyone seems to think it's awesome.
1719: [22:03:20] <Pyromanik> just try it and see.
1720: [22:03:20] <antmas> wilsonstaff: 1. Yes, 2. Yes, 3. None
1721: [22:03:44] <Stomach> wilsonstaff: no
1722: [22:03:54] <antmas> Ryan-Toast: hates it
1723: [22:04:07] <wilsonstaff> I was wondering if i should take the plundge...
1724: [22:04:10] <Ryan-Toast> antmas: hmm?
1725: [22:04:20] <Pyromanik> wilsonstaff, nothing to do but try and see.
1726: [22:04:20] <Stomach> Ryan-Toast really hates most things actually
1727: [22:04:21] <antmas> wilsonstaff: try it either way
1728: [22:04:24] <Pyromanik> not worth asking over.
1729: [22:04:36] <Ryan-Toast> WHAT ARE WE YELLING ABOUT?
1730: [22:04:38] <zippy> wilsonstaff: https://signalvnoise.com/posts/3124-give-it-five-minutes
1731: [22:04:44] <adrexia> wilsonstaff - Sass is awesome
1732: [22:04:57] <adrexia> only drawback is when devs misuse it
1733: [22:05:00] * zippy is trying to throw money at apple but their webstoreis still down
1734: [22:05:06] <Pyromanik> You'll either like it or you won't... or you won't but you'll want to master it anyway because that's what everyone does these days... or you won't but you'll want to master it anyway because it captured your interest.
1735: [22:05:13] * antmas throws apples at zippy
1736: [22:05:16] <adrexia> it is easy to do things... in rather odd ways with it
1737: [22:05:51] <Pyromanik> so basically the arguement about how css is crap because it's easy to misuse is rubbish because it's even easier with sass.
1738: [22:05:55] <Ryan-Toast> wilsonstaff: Love me some scss
1739: [22:06:01] <Pyromanik> but otherwise you should use it. Probably. Maybe not.
1740: [22:06:07] * Colin[pi] quit (Ping timeout: 245 seconds)
1741: [22:06:14] <adrexia> wilsonstaff You should definaitely give it a go
1742: [22:06:20] <Pyromanik> ^
1743: [22:06:22] <antmas> Pyromanik: always the most clear advice :D
1744: [22:06:27] <adrexia> it can help you write better css.
1745: [22:06:34] <adrexia> It can also help you make a giant mess
1746: [22:06:41] <wilsonstaff> Yeah, but apart bells and whistles.. (remember the arrival of Flash...?), is it REALLY helpful and productively speaking a real advantage?
1747: [22:06:51] <antmas> I don't think it makes you write better CSS
1748: [22:06:58] <Ryan-Toast> antmas: I think it does.
1749: [22:07:01] <adrexia> thing to remember is that if you wouldn't write soemthign is css, you shouldn't get sass to output it eitehr
1750: [22:07:14] <antmas> Ryan-Toast: how?
1751: [22:07:17] <wilsonstaff> I thought SCSS and SASS was the same thing?
1752: [22:07:25] <antmas> wilsonstaff: pretty much yes
1753: [22:07:28] <Ryan-Toast> antmas: Makes you think more modular
1754: [22:07:36] * oddnoc quit (Quit: beer:30)
1755: [22:07:37] <adrexia> Pyromanik, sass is css
1756: [22:07:40] <Ryan-Toast> wilsonstaff: scss is sass, just a different syntax
1757: [22:07:47] <Pyromanik> adrexia,no. It's a superset.
1758: [22:07:51] <adrexia> css is still rubbish :P
1759: [22:07:55] <Pyromanik> hehe
1760: [22:08:00] <Ryan-Toast> I prefer scss because it follows the same patterns as css, but it’s just preference
1761: [22:08:04] <Pyromanik> CIRCLES \o/
1762: [22:08:13] <adrexia> wilsonstaff, its amazingly helpful, yes
1763: [22:08:16] <wilsonstaff> Well, the most noticeable aspect is obviously variables where you can store colors, dimensions, etc....
1764: [22:08:28] <Pyromanik> 10:07] <Ryan-Toast> antmas: Makes you think more modular
1765: [22:08:32] <adrexia> saves hours of work. allows for a better, more easy to read, archtecture
1766: [22:08:36] <Pyromanik> ONLY IF YOU'RE CRAP AT MODULARITY IN THE FIRST PLACE
1767: [22:08:37] <adrexia> gives you variables
1768: [22:08:39] <adrexia> etc
1769: [22:08:47] <zippy> wilsonstaff: what you should really do, is learn/use glub or grunt.... get some linting, minification, concating, autoprefix rules...
1770: [22:08:48] <wilsonstaff> Wow. have i started a Pandore box.....?
1771: [22:08:53] <Pyromanik> otherwise it helps you obscure your shitness betttererr'
1772: [22:09:01] <antmas> wilsonstaff: only because Pyromanik is online ;)
1773: [22:09:15] <Pyromanik> wilsonstaff,yes :P
1774: [22:09:27] <Pyromanik> it's like asking which CMS is bettererrerrr.
1775: [22:09:44] <Pyromanik> only... not in a cms specific channel :P
1776: [22:09:46] <Ryan-Toast> Pyromanik: Yeah, so isn’t that the point that it makes you better at writing css if you’re bad at it?
1777: [22:09:50] <adrexia> Pyromanik - is allows you to put css in different files and compile them into one without doing it manaually or with a grunt/gulp task
1778: [22:10:02] <adrexia> that in itself helps with modularity
1779: [22:10:06] <wilsonstaff> Ok, you convinced me. SASS will be part of my next project.
1780: [22:10:09] <Pyromanik> because scss IS your grunt task.
1781: [22:10:12] <Pyromanik> same thing, different tool.
1782: [22:10:18] <Ryan-Toast> wilsonstaff: I recommend using these two in your task runner too https://github.com/nDmitry/grunt-autoprefixer https://github.com/buildingblocks/grunt-combine-media-queries
1783: [22:10:25] <Ryan-Toast> they’re fantastic
1784: [22:10:40] <Ryan-Toast> obviously use cssmin too.
1785: [22:10:44] * Ryan-Toast has left #silverstripe
1786: [22:10:53] <wilsonstaff> Have a good day everyone. Here its supper time.
1787: [22:10:55] * Ryan-Toast has joined #silverstripe
1788: [22:11:02] <antmas> supper time
1789: [22:11:07] <Pyromanik> guys, where is chewbacca?
1790: [22:11:10] * antmas puts on pauper voice
1791: [22:11:18] <wilsonstaff> Yes, its 6pm in Montreal.
1792: [22:11:23] <zippy> combine-media-queries interesting, I wonder if there is a gulp equivelent
1793: [22:11:28] <antmas> is it time for supper yet, pappa?
1794: [22:11:32] <Ryan-Toast> zippy: probs
1795: [22:11:34] <antmas> :D
1796: [22:12:03] <adrexia> I didn't realise Sass was at all controversial
1797: [22:12:11] <adrexia> that's really interesting
1798: [22:12:12] * wilsonstaff quit (Quit: Page closed)
1799: [22:12:21] <antmas> autoprefixer is awesome
1800: [22:12:35] <Ryan-Toast> adrexia: Only Pyro makes it controversial
1801: [22:12:47] <Ryan-Toast> he like to use a php file with css headers
1802: [22:12:59] <adrexia> lols
1803: [22:13:19] <Pyromanik> same shit, different tool.
1804: [22:13:21] <adrexia> I have met some backend developers who still use IDs who hate sass
1805: [22:13:28] <adrexia> but I think they shouldn't really have a say
1806: [22:13:34] <adrexia> they still use IDs in css
1807: [22:13:36] <adrexia> :P
1808: [22:13:37] <Ryan-Toast> Pyromanik: Not when you combine it with task runners
1809: [22:13:42] <antmas> Ryan-Toast: I wonder why they changed to wallhaven
1810: [22:13:50] <Pyromanik> when you think about it, SASS is basically just a template language.
1811: [22:13:56] <Pyromanik> like .ss files.
1812: [22:14:04] <Pyromanik> silverstripe templates that is, not scheme.
1813: [22:14:05] <Ryan-Toast> antmas: dunno, but it’s annoying that they took down wallbase before wallhaven was finished.
1814: [22:14:07] <antmas> Pyromanik: that's how I view it
1815: [22:14:12] <adrexia> err, where are you going with taht?
1816: [22:14:18] <antmas> Ryan-Toast: exactly, wallhaven is all kinds of borked
1817: [22:14:27] <adrexia> it's a precompiler... like an uglifier + combiners
1818: [22:14:28] <Ryan-Toast> antmas: Makes me sad.
1819: [22:14:37] <antmas> Ryan-Toast: search doens't work
1820: [22:14:49] <antmas> and the 'sketchy' filter doesn't _really_ work either :O
1821: [22:15:08] <Ryan-Toast> antmas: Yeah, it’s still in a what seems to be an early beta
1822: [22:15:16] <antmas> true
1823: [22:15:16] * travis-ci has joined #silverstripe
1824: [22:15:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3386 (3.1 - a20813d : Sean Harvey): The build passed.
1825: [22:15:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ee717c7f66d2...a20813da9e8e
1826: [22:15:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36304309
1827: [22:15:17] * travis-ci has left #silverstripe
1828: [22:15:34] <Ryan-Toast> Pyromanik: One day, Pyro. One day you will use scss and you will love it, and you’ll feel dirty.
1829: [22:16:18] * muskie9 is now known as _muskie9_
1830: [22:16:19] <ss31noob_> im just wondering.. but is the Translatable module just use if for example you have one base code deployed in one server.. and you want your site to be translatable in the admin.. like having test.com/de test.com/au etc.. that is administrable in one admin..
1831: [22:16:39] <antmas> dat sentence
1832: [22:17:10] <Pyromanik> Ryan-Toast,nah.
1833: [22:17:14] <Pyromanik> dirty yes.
1834: [22:17:18] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1835: [22:17:22] <Pyromanik> use it and love it? unlikely.
1836: [22:17:36] <Ryan-Toast> Pyromanik: One day my friend, one day… and I’ll sense it.
1837: [22:17:38] <adrexia> have you not used it?
1838: [22:17:39] <Ryan-Toast> I’ll know
1839: [22:17:49] <Pyromanik> Nup.
1840: [22:17:54] <adrexia> oh
1841: [22:17:58] <Pyromanik> i'm a member of the old gaurd.
1842: [22:18:07] <Pyromanik> standing up for what's right in the universe.
1843: [22:18:08] * antmas assumes ryan Pyromanik has one of this cuddle bands
1844: [22:18:15] <Pyromanik> defining rules with obscenely long selectors.
1845: [22:18:16] <adrexia> that's like having an opinion on blue and being blind
1846: [22:18:24] <antmas> that is linked to the bp repo :P
1847: [22:18:33] <antmas> every download = a tickle
1848: [22:18:33] <adrexia> lols
1849: [22:18:43] <Pyromanik> o.0
1850: [22:18:49] <antmas> WAIT
1851: [22:18:52] <antmas> I meant Ryan-Toast :P
1852: [22:19:05] <Pyromanik> I assume by bp you mean butt plug?
1853: [22:19:10] <antmas> rofl
1854: [22:19:29] <Pyromanik> not convinced it gives out a tickle sensation... but NOT GOING TO TRY IT TO SE
1855: [22:19:30] <Pyromanik> E
1856: [22:19:48] <Pyromanik> opinion: 100% satisfactory :>
1857: [22:19:57] <antmas> :3
1858: [22:19:59] <Pyromanik> :P
1859: [22:20:11] <antmas> seriously now
1860: [22:20:16] <Pyromanik> srs
1861: [22:20:20] <antmas> where is this bloody phostorm key at?
1862: [22:20:24] <antmas> phpstorm*
1863: [22:20:30] <Pyromanik> jetbrains.com
1864: [22:20:36] <Ryan-Toast> antmas: cuddle bands?
1865: [22:20:56] <antmas> Ryan-Toast: you know, those braceletts that when something is triggered, it tickles you
1866: [22:21:00] <antmas> :D
1867: [22:21:17] <Pyromanik> sounds... more erotic than a simple embrace.
1868: [22:21:38] <adrexia> arg. nothing works this morning
1869: [22:21:50] <adrexia> screw it, I'm getting more coffee
1870: [22:22:00] <Pyromanik> fuckit, is my washing done yet?
1871: [22:22:17] <Pyromanik> sleep is high on the want list.
1872: [22:23:05] <Pyromanik> fuck, some idiot forgot to press 'start' D:
1873: [22:23:07] <Pyromanik> ffffffff
1874: [22:23:39] <Pyromanik> brb turning off the fridge
1875: [22:25:01] <Ryan-Toast> antmas: lol, haven’t heard of those before.
1876: [22:25:09] <zippy> antmas: spam folder :)
1877: [22:25:20] <zippy> in your account on the site
1878: [22:25:35] <antmas> zippy: there are no keys on the site under my account
1879: [22:25:44] <antmas> I can view the licence, but there is no ke per say
1880: [22:25:48] <antmas> key*
1881: [22:27:56] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1882: [22:29:02] <Pyromanik> l8as
1883: [22:31:04] * ss31noob_ quit (Ping timeout: 246 seconds)
1884: [22:31:16] <antmas> ah found it :D
1885: [22:31:31] <antmas> needed to generate key, which is found at the same screen as the invite...
1886: [22:31:36] <antmas> silly jetbrains
1887: [22:32:21] * travis-ci has joined #silverstripe
1888: [22:32:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3387 (master - f61bb18 : Sean Harvey): The build passed.
1889: [22:32:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/04e26d4a36a2...f61bb186a726
1890: [22:32:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36305836
1891: [22:32:21] * travis-ci has left #silverstripe
1892: [22:44:42] * travis-ci has joined #silverstripe
1893: [22:44:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3388 (master - 99f8fb2 : Sean Harvey): The build passed.
1894: [22:44:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f61bb186a726...99f8fb29b5d4
1895: [22:44:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36306173
1896: [22:44:42] * travis-ci has left #silverstripe
1897: [22:48:10] * azureRaven has joined #silverstripe
1898: [22:50:10] * azureRaven quit (Client Quit)
1899: [22:56:01] * joelpittet has joined #silverstripe
1900: [22:59:17] * travis-ci has joined #silverstripe
1901: [22:59:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3389 (3.1 - 2c25358 : Sean Harvey): The build passed.
1902: [22:59:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a20813da9e8e...2c253588283e
1903: [22:59:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36307306
1904: [22:59:17] * travis-ci has left #silverstripe
1905: [23:01:18] * antmas quit (Quit: Page closed)
1906: [23:02:48] * Trooy has joined #silverstripe
1907: [23:09:35] * zippy has joined #silverstripe
1908: [23:10:50] <hailwood> Hey guys, can anyone tell me how to check if a file exists in the current theme directory?
1909: [23:10:50] <hailwood> I am adding a method DocumentIcon(){...} as I want to be able to display a file icon if we have an icon for it, otherwise return a default icon.
1910: [23:12:35] <Stomach> http://php.net/manual/en/function.file-exists.php
1911: [23:13:46] <Stomach> if (file_exists(BASE_PATH . 'themes/' . Config::inst()->get('SSViewer', 'theme')) . 'path/to/. $this->Title . '.jpg') { // or something }
1912: [23:16:11] * muskie9 has joined #silverstripe
1913: [23:16:15] <Kingy> someone explain this...
1914: [23:16:16] <Kingy> http://www.reddit.com/r/newzealand/comments/2hg1fp/new_zealand_daily_random_discussion_thread_26/ckshhd4
1915: [23:16:21] * muskie9 quit (Client Quit)
1916: [23:16:22] <hailwood> Appreciated, BASE_PATH . 'themes/' . Config::inst()->get('SSViewer', 'theme')) is what I needed
1917: [23:18:54] <Stomach> Kingy - cant explain that
1918: [23:19:04] <Stomach> hailwood - no worries :)
1919: [23:26:16] * travis-ci has joined #silverstripe
1920: [23:26:16] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3391 (3.1 - 61ec808 : Will Rossiter): The build passed.
1921: [23:26:16] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/2c253588283e...61ec808604b1
1922: [23:26:16] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36308950
1923: [23:26:16] * travis-ci has left #silverstripe
1924: [23:36:15] * travis-ci has joined #silverstripe
1925: [23:36:15] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3392 (3.1 - ea62bf9 : Nicolaas): The build passed.
1926: [23:36:15] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/61ec808604b1...ea62bf9eed7b
1927: [23:36:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36309914
1928: [23:36:15] * travis-ci has left #silverstripe
1929: [23:36:16] <zippy> Kingy: The guy summed it up :)
1930: [23:36:24] <Kingy> yeah I see that now
1931: [23:36:27] <Kingy> but still
1932: [23:36:36] <Kingy> can't go on holiday because my electronics are broken
1933: [23:36:41] <zippy> man, I would love to go somewhere for a holiday anywhere with no kids
1934: [23:37:28] <Kingy> god that guy is a dreary fuck
1935: [23:37:38] <Kingy> go to fiji and just watch tv shows in your room for 4 days
1936: [23:37:48] <Kingy> at least do it sitting on the beach
1937: [23:38:56] * zippy misses the days where he could play games for more than an hour and not feel like I had to "do something"
1938: [23:39:40] <Kingy> zippy: I don't even have kids and i feel like that
1939: [23:39:48] <Kingy> gf buys me fifa for my birthday most years
1940: [23:39:57] <Kingy> at best I get the weekend of my birthday is play
1941: [23:40:03] <Kingy> to play*
1942: [23:44:28] * Colin[pi] has joined #silverstripe
1943: [23:45:35] <hailwood> Anyone know why at the moment every time I make an update to a template (not adding a new template, just modifying an existing one) I need to do ?flush=1 to get it updated?
1944: [23:47:00] * travis-ci has joined #silverstripe
1945: [23:47:00] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3393 (3.1 - c55e4fe : Sean Harvey): The build passed.
1946: [23:47:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ea62bf9eed7b...c55e4fe7e272
1947: [23:47:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36310086
1948: [23:47:00] * travis-ci has left #silverstripe
1949: [23:47:22] <Ryan-Toast> hailwood: are you using <% cached %> in the template?
1950: [23:47:57] <Colin[pi]> zippy: YES MY CHILD
1951: [23:48:10] <hailwood> Ryan-Toast: Nope
1952: [23:48:40] <Colin[pi]> morning all
1953: [23:48:42] <Ryan-Toast> hailwood: the world just hates your face then.
1954: [23:50:19] <Colin[pi]> here's the part where Ryan-Toast tells me my CMS reskin is all wrong: http://i.imgur.com/nVVqrfq.png
1955: [23:50:24] <Colin[pi]> (work in progress)
1956: [23:52:22] <Stomach> hailwood - do you have any caching layers in place?
1957: [23:52:27] <Stomach> apc etc
1958: [23:52:55] <zippy> Colin[pi]: not eough jquery
1959: [23:53:27] <hailwood> Stomach: Nope, and it was working correctly last night, but this morning it's just started doing it.
1960: [23:53:42] <Stomach> weird
1961: [23:53:47] <zippy> did someone say fck was getting dropped for ck?
1962: [23:54:00] <Colin[pi]> fck was dropped for ck
1963: [23:54:05] <Colin[pi]> do you mean tinymce?
1964: [23:55:49] * antmas has joined #silverstripe
1965: [23:55:52] <Kingy> Colin[pi]: I should skin the admin area just to fuck with my clients
1966: [23:56:19] <Colin[pi]> Kingy: the 3.x admin is surprisingly easy to skin
1967: [23:56:26] <Colin[pi]> more easy than 2.4 was
1968: [23:56:32] <Kingy> well i'm on 3.0 so that's a good start
1969: [23:58:46] * travis-ci has joined #silverstripe
1970: [23:58:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3394 (3.1 - f7af0d8 : Sean Harvey): The build passed.
1971: [23:58:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c55e4fe7e272...f7af0d895590
1972: [23:58:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/36310243
1973: [23:58:46] * travis-ci has left #silverstripe
1974: [23:59:49] <Colin[pi]> anyone looking for an expat Aussie lodger? http://www.smh.com.au/digital-life/consumer-security/terror-laws-clear-senate-enabling-entire-australian-web-to-be-monitored-and-whistleblowers-to-be-jailed-20140925-10m8ih.html

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