#silverstripe IRC Log

IRC log for 8 August 2013

All timestamps are in UTC.

1: [00:00:07] <ss23> I totally forgot Firefox was a shitty peice of crap and needed Firebug to be even close to useful for anything apart from a suicide helper
2: [00:00:11] <Peavers> which pain ?!
3: [00:00:14] <ss23> Put in request for Firebug to be installed. Now we wait.
4: [00:00:24] <Peavers> lol good luck.
5: [00:00:29] <Peavers> as if they will allow firebug.
6: [00:00:53] <lewellyn> ss23: isn't it sad that ie is more useful for webdev out of the box than firefox is?
7: [00:01:23] <ss23> ikr
8: [00:01:30] <ss23> Peavers: Well the person I'm doing it for is like super mega manager person
9: [00:01:37] <ss23> They were like "YOU NEED APPROVAL FROM THE PERSON MANAGING THIS PROJECT"
10: [00:01:41] <ss23> and she was like "I AM THAT PERSON"
11: [00:01:53] <Peavers> You need to explain how it is required for your job
12: [00:02:06] <Peavers> but the person you're explaining it to has no idea what your job is or what you're telling them
13: [00:02:13] <Peavers> but if they don't agree you can't have nice things =(
14: [00:02:31] <ss23> lol XD
15: [00:02:37] <ss23> She said it all comes down to the person you talk to
16: [00:02:44] <Peavers> also, does anyone know anything about Microsoft SQL Server Management Studio
17: [00:02:49] <ss23> lol
18: [00:02:51] <ss23> XD
19: [00:02:58] <simon_w|air> Peavers, halkyon might
20: [00:03:02] <simon_w|air> If he's around
21: [00:03:05] <Peavers> if a database is (Restoring) do I just leave it alone?
22: [00:03:06] <spronk> Peavers: yes, yes i do
23: [00:03:12] <spronk> not much, mind you.
24: [00:03:15] <Peavers> or do I need to right click and tell it to restore still?
25: [00:03:28] <lewellyn> my gut says to ignore it until it's done.
26: [00:03:29] <spronk> pretty sure you just leave it alone.....
27: [00:03:37] <Peavers> yeah I've left it alone for a week now...
28: [00:03:40] <lewellyn> mssql scares me with how fragile it can be.
29: [00:03:41] <spronk> hmmm
30: [00:03:42] <spronk> how big is the db?
31: [00:03:43] <ss23> halkyon loves SQL Server
32: [00:03:43] <ss23> :D
33: [00:03:53] <Peavers> but I can right click and go task -> restore -> database...
34: [00:04:10] <Peavers> there are ~100 databases of all sorts of sizes, all (Restoring..)
35: [00:04:49] <Peavers> When we had all those earthquakes we moved everything to Auckland incase lolWellington and now all our IT is messed up.
36: [00:05:36] <simon_w|air> HHVM docs: generators can't be recursive.
37: [00:05:36] <simon_w|air> Recursive generator: yes they can
38: [00:05:56] <simon_w|air> It's like HHVM's trying to outdo SS in terms of docs
39: [00:07:14] <Colin[pi]> god telstra sucks
40: [00:07:33] <Peavers> Snap ftw!
41: [00:07:40] <ss23> lol simon_w|air XD
42: [00:07:41] <Colin[pi]> oh hai, thanks for buying mobile broadband... oh what's that? you wanted to use it? oh you'll need to wait 24 hours for our systems to sync up
43: [00:07:49] <spronk> hey simon_w|air, see this: https://tenansee.com/ ?
44: [00:08:02] <ss23> 12:04:49 < Peavers> When we had all those earthquakes we moved everything to Auckland incase lolWellington and now all our IT is messed up.
45: [00:08:05] <ss23> aha
46: [00:08:08] <ss23> kneejerk IT the best
47: [00:08:17] <Peavers> thats for sure...
48: [00:08:22] <ss23> On the next volcanoe warning - "FUCK IT, BACK TO WELLINGTON"
49: [00:08:36] <Peavers> this is why I can't wait until all our web servers are on CWP
50: [00:08:41] <spronk> jesus christ
51: [00:08:44] <Peavers> then I'll just bomb you with support tickets.
52: [00:08:51] <Peavers> and won't be my problem
53: [00:08:52] <spronk> "moved" != a solution to this problem :p
54: [00:09:31] <Peavers> We now have a cloud server in America to host a website incase NZ gets flattened and parents want to know if their children can go to school
55: [00:09:36] <Peavers> (not even kiddin about that)
56: [00:10:53] <spronk> meh
57: [00:10:56] <spronk> that's where we come in
58: [00:11:03] <spronk> just tell all your schools to sign up with us :P
59: [00:11:18] <simon_w|air> spronk, meh, competition :p
60: [00:11:26] <spronk> :D
61: [00:11:29] <spronk> NZ competition, too
62: [00:11:32] <spronk> found it vaguely interesting
63: [00:11:51] * simon_w|air quit (Remote host closed the connection)
64: [00:12:04] <Peavers> If NZ is ruined to the point we need to turn on an offshore server, I'm sure children going to school is going to be the least of our worries...
65: [00:12:17] <Peavers> ...You'd think anyway...
66: [00:12:22] <spronk> maybe
67: [00:12:23] * simon_w|air has joined #silverstripe
68: [00:12:26] <spronk> EMP?
69: [00:12:27] <spronk> :P
70: [00:12:51] <Peavers> if a nation wide emp went off, school would be the last thing anyone should be worried about lol
71: [00:13:02] <spronk> nah
72: [00:13:06] <spronk> gotta get those kids out of the way
73: [00:13:36] <Peavers> hang on
74: [00:13:38] <spronk> what website is this?
75: [00:13:40] <spronk> the main moe one?
76: [00:13:46] <Peavers> if it was a EMP, nobody would be able to check the website anyway!
77: [00:13:53] <spronk> depends
78: [00:14:07] <spronk> if devices all turned off...
79: [00:14:25] <Peavers> Na, just an emergency one "Wellington is dead, but schools are open" on a blog page and thats about it
80: [00:14:59] <ss23> 12:08:44 < Peavers> then I'll just bomb you with support tickets.
81: [00:15:09] <ss23> I'll make sure to make the process "please only CWP tickets"
82: [00:15:09] <ss23> :)
83: [00:15:10] * howardgrigg has joined #silverstripe
84: [00:15:29] <spronk> lol
85: [00:15:34] <spronk> who's going to check that ..
86: [00:15:40] <ss23> fuck
87: [00:15:41] <ss23> I meant like
88: [00:15:50] <ss23> I'll make the process so that no tickets are allowed to be logged form you
89: [00:15:51] <ss23> from
90: [00:16:53] <simon_w|air> A site like that got used a lot in Chch
91: [00:19:37] * howardgrigg quit (Ping timeout: 246 seconds)
92: [00:22:17] <spronk> ?
93: [00:25:14] * priithansen quit (Quit: priithansen)
94: [00:26:36] <simon_w|air> "Chch is dead, but schools are open"
95: [00:26:40] <spronk> what site?
96: [00:26:44] * spronk is aware of no such site..
97: [00:27:52] <ss23> spronk: Do you go to school or have a child that goes to school? Cause if not, it's understanadable you wouldn't know!
98: [00:28:27] <spronk> ss23: no, but i work for a company that supplies communication apps to schools, so, yknow..
99: [00:29:52] <Peavers> I think I'm the only person qualified to speak here
100: [00:30:17] <simon_w|air> I can't remember :p I just used their twitter feed
101: [00:30:23] <spronk> yeah
102: [00:30:31] <spronk> chch schools use twitter a lot
103: [00:30:55] <simon_w|air> This was MinEdu
104: [00:31:06] <ss23> lol
105: [00:31:07] <simon_w|air> And they linked to the same page each time
106: [00:31:13] <ss23> Typical government arrogance
107: [00:31:17] <Peavers> Whoa
108: [00:31:18] <spronk> yeah..
109: [00:31:19] <ss23> "I'M THE ONLY ONE ALLOWED TO SPEAK"
110: [00:31:20] <Peavers> where the best.
111: [00:31:21] <spronk> :P
112: [00:31:23] <ss23> "BE SILENT, MORTAL"
113: [00:31:25] <Pyromanik> where?
114: [00:31:29] <ss23> where the best? Not in government
115: [00:31:30] <ss23> :D
116: [00:31:30] <spronk> what MoE doesn't realise is that everyone hates them :)
117: [00:31:40] <ss23> spronk: They realise, they just don't care!
118: [00:31:41] <ss23> :P
119: [00:31:46] <Pyromanik> indeedly.
120: [00:31:48] <ss23> To be fair, even the MoE hates MoE
121: [00:32:10] <spronk> and that our software situation in nz schools is diabolical due to ridiculous projects that go nowhere, only to get replaced with other, even more ambitious, even more ridiculous projects that suck resources away from innovation
122: [00:32:11] <spronk> but hey
123: [00:32:15] <spronk> that's just my opinion :P
124: [00:32:26] <ss23> It's okay, bro
125: [00:32:29] <ss23> novopay will fix it
126: [00:32:29] <ss23> ^.^
127: [00:32:32] <irogue> that MoE django project...
128: [00:32:37] <spronk> yeah
129: [00:32:37] <simon_w|air> It's alright, I went to a private school
130: [00:32:40] <simon_w|air> MoE suckers!
131: [00:32:45] <spronk> high faiivee
132: [00:33:12] <ss23> lol
133: [00:33:17] <ss23> irogue: Which one was that? :O
134: [00:33:23] <spronk> irogue: yeah, then a few years ago there was this SMS-LMS protocol project... and this whole single sign on for schools for SAML services, that nobody uses
135: [00:33:25] <ss23> Also, I think django is a bad fit for government... like
136: [00:33:37] <ss23> They seem more like a .NET shop. Which is fine, they should play to their strengths
137: [00:33:38] <simon_w|air> spronk, I built a SS module for that!
138: [00:33:39] <irogue> ss23: "Progress and Consistency Tool"
139: [00:33:42] <simon_w|air> Peavers even got it to work!
140: [00:33:46] <ss23> lol
141: [00:33:48] <spronk> simon_w|air: nah, not that :)
142: [00:33:52] <spronk> a different single sign on system
143: [00:33:52] <irogue> $5.1m for a django project, plus $580k/yr hosting
144: [00:34:06] <ss23> holy fucking shit
145: [00:34:08] <ss23> Me
146: [00:34:11] <ss23> I'll host the fuck out of that for you
147: [00:34:16] <spronk> http://iam.school.nz/
148: [00:34:19] <ss23> dude
149: [00:34:21] <ss23> dejavu
150: [00:34:23] <ss23> so much dejavu
151: [00:34:24] <ss23> fuck me
152: [00:34:27] <spronk> this is for like.. school kids signing on to google apps
153: [00:34:29] <ss23> Have we atlked about this before?
154: [00:34:49] <spronk> now there's this new Network For Learning thing
155: [00:34:51] <spronk> which is basically:
156: [00:34:54] <simon_w|air> Mmm, rain smell
157: [00:34:58] <spronk> ultrafast broadbnand
158: [00:35:03] <spronk> but they're acting like it's some massive big new thing
159: [00:35:19] <spronk> and of course, they've got some huge budget that they're not sure how to fill
160: [00:35:59] <spronk> i mean seriously: http://www.n4l.co.nz/schools/portal/
161: [00:36:07] * spronk shuts up now
162: [00:36:23] * nickmolhoek has joined #silverstripe
163: [00:36:24] <Colin[pi]> where/when does a form object get it's values set from the request?
164: [00:36:30] <irogue> i'd happily make their tool for $4.1 million and host it for $480k/yr
165: [00:36:32] <Colin[pi]> trying to debug something
166: [00:36:56] <irogue> as far as i can tell, it's ultimately just a database of test scores
167: [00:37:11] <spronk> yeah
168: [00:37:19] <spronk> they've already got about 100 different systems for test scores
169: [00:37:32] <irogue> but obv they need a new, $5.1 million dollar one
170: [00:37:35] <spronk> mm
171: [00:37:48] <spronk> it's really just symptomatic of the moe
172: [00:37:57] <irogue> most govt I.T., really
173: [00:38:27] <ss23> s/govt//
174: [00:38:28] <irogue> because they'll only deal with the "big" contractors, those contractors don't have any competition for tenders and just put stupid big amounts
175: [00:38:42] <ss23> Only difference between gov and normal IT is that when gov projects fail, they have bigger budgets
176: [00:38:45] <ss23> they all fail though
177: [00:39:07] <spronk> funniest thing is
178: [00:39:17] <spronk> all the student management system vendors that they demand so much of are TINY contractors
179: [00:39:27] <irogue> lol yeha
180: [00:39:40] <spronk> a coupleof them are basically one man bands
181: [00:40:07] <simon_w|air> Colin[pi], httpSubmission
182: [00:40:13] <Colin[pi]> thanks
183: [00:40:33] <irogue> http://www.ben.geek.nz/2013/03/consultancy-why/
184: [00:42:03] <irogue> also, http://www.ben.geek.nz/2013/03/fixing-novopay-and-other-big-it-projects/
185: [00:42:28] <spronk> mm
186: [00:55:25] * Stomach quit (Quit: Leaving.)
187: [01:03:24] <ss23> Composer is vrey slow
188: [01:06:44] <ss23> so yeah, everyone remember to updat eyour 2.X sites
189: [01:06:47] <ss23> lest I hack the shit out of you
190: [01:06:47] <ss23> :D
191: [01:07:36] * Bollig|DesignCty has joined #silverstripe
192: [01:10:26] <simon_w|air> Have fun :p
193: [01:10:59] <ss23> Obligatory note about those who choose to bastadize their SS2 install beyond recognition are probably safe from my hackings
194: [01:11:03] <ss23> :<
195: [01:11:10] <Pyromanik> 12:40 < irogue> http://www.ben.geek.nz/2013/03/consultancy-why/
196: [01:11:15] <Pyromanik> PRINCE2
197: [01:11:20] <Pyromanik> Proper project management
198: [01:11:39] <Pyromanik> not the typical herpaderp & hope for the best, she'll be right mate NZ attitude.
199: [01:12:53] <spronk> lul
200: [01:14:58] <Peavers> lol who doesn't live on the bleeding edge of daily updates?!
201: [01:15:26] <ss23> Request for firebug: DENIED
202: [01:15:33] <Peavers> Told ya ;)
203: [01:15:36] <ss23> :P
204: [01:15:48] <ss23> reckon my request for Wireshrak, or plugging my own laptop into the network will be accepted instead?
205: [01:15:51] <ss23> :D
206: [01:16:15] <Peavers> lol you're drunk if you think they will even puch those requests past the first level desk
207: [01:16:25] <Peavers> push**
208: [01:16:38] <ss23> hey, this one got escalated up to the main person in that department
209: [01:16:46] <ss23> They're like "our department head is in a meeting, we'll have to call you back"
210: [01:16:56] <ss23> sounds like the internal person who I was trying to fix it for was pushing hard
211: [01:16:59] <ss23> anyway, it's fine
212: [01:17:01] <ss23> :O
213: [01:17:02] <ss23> they can just use IE for now
214: [01:17:03] <ss23> :D
215: [01:17:31] <Colin[pi]> eeuw, forcing someone to use IE
216: [01:17:42] <Pyromanik> welcome to 'enterprise deployment'
217: [01:20:31] <irogue> [13:10] <+ss23> Obligatory note about those who choose to bastadize their SS2 install beyond recognition are probably safe from my hackings
218: [01:20:35] <irogue> what is haxxable?
219: [01:20:57] <ss23> To test if your site is hackable, go to http://yoursite.com/asdfasdfasdfasdfasdfsa?archiveDate='
220: [01:21:00] <ss23> if 500 == hackable
221: [01:21:03] <ss23> if 404 == safe
222: [01:21:12] <ss23> Affects 2.X, where you haven't disabled the Versioned stuff explicitly
223: [01:21:24] * markdowton has joined #silverstripe
224: [01:21:33] <Peavers> Deleted my email sig for luls. So far its working, would recommend.
225: [01:21:41] * zippy__ has joined #silverstripe
226: [01:21:54] * zippy__ quit (Client Quit)
227: [01:22:07] <irogue> okay, totes haxxable
228: [01:22:20] * zippy__ has joined #silverstripe
229: [01:22:28] <markdowton> In 3.0 can you overwrite existing class methods or just add functionality?
230: [01:22:38] <ss23> http://www.snappernet.co.nz/sadfasdfasdf?archiveDate='
231: [01:22:39] <ss23> LAWL
232: [01:22:42] <ss23> quick
233: [01:22:43] <ss23> :D
234: [01:22:47] <ss23> someone r00t irogue
235: [01:22:49] <ss23> wait
236: [01:22:50] <ss23> I mean
237: [01:22:51] <ss23> his server!
238: [01:22:58] <irogue> oh got
239: [01:23:00] <irogue> *god
240: [01:23:02] <irogue> stop clicking it
241: [01:23:05] <irogue> im getting so many emailz
242: [01:23:34] <Peavers> I'm calling SnapperNet, their website seems down.
243: [01:23:40] <ss23> hahahaha srsly irogue?
244: [01:23:42] <ss23> XD
245: [01:23:48] <irogue> ss23: ya, i have email-on-error
246: [01:23:57] <spronk> wait
247: [01:24:00] <spronk> what the fuck is this?
248: [01:24:12] <Colin[pi]> our opposition leader can't even kiss a baby correctly: http://i.imgur.com/dnRUilD.jpg
249: [01:24:19] <ss23> spronk: Didn't you read the release announcements
250: [01:24:27] <ss23> pre-auth sqli in SS < 3
251: [01:24:27] <irogue> Colin[pi]: https://pbs.twimg.com/media/BRG5OgTCEAMLT9B.jpg:large
252: [01:24:36] <spronk> loinky?
253: [01:24:38] <irogue> your liberal MPs also make no sense
254: [01:24:40] * Stomach has joined #silverstripe
255: [01:24:48] <ss23> hahaha irogue XD
256: [01:24:52] <ss23> spronk: um...
257: [01:25:01] <Colin[pi]> lol irogue.. yeah
258: [01:25:11] <ss23> https://groups.google.com/forum/#!topic/silverstripe-announce/xq5vqKoCNB0
259: [01:25:15] <ss23> that's the 2.4 one, spronk
260: [01:25:16] <ss23> But like I said
261: [01:25:20] <ss23> 13:20:56 <+ss23> To test if your site is hackable, go to http://yoursite.com/asdfasdfasdfasdfasdfsa?archiveDate='
262: [01:25:28] <ss23> what was the company you worked for again, spronk?
263: [01:25:33] <spronk> solvam
264: [01:25:36] <spronk> www.school-links.co.nz
265: [01:26:20] <spronk> which is now fucked
266: [01:26:20] <spronk> lulz
267: [01:26:22] <Peavers> omg that redhead on the homepage
268: [01:26:32] <ss23> ^^^^^
269: [01:26:33] <ss23> so jarring
270: [01:26:43] <ss23> why is your 404 page all done fucked up, spronk
271: [01:26:53] <spronk> hhmm?
272: [01:26:53] <ss23> http://sl.hummsites.wheaten/themes/sl2012/css/reset.css?m=1351678648
273: [01:26:55] <ss23> what the shit?
274: [01:27:00] <spronk> good question
275: [01:27:01] <ss23> Why does your 404 page reference those URLs?
276: [01:27:10] <Pyromanik> I think the question is which is more efficient?
277: [01:27:15] <Pyromanik> A linked list, or a vector?
278: [01:27:24] <irogue> le sigh
279: [01:27:27] <irogue> i don't like upgrading SS
280: [01:27:29] <ss23> Pyromanik: Depends on what you use it for, etc etc?
281: [01:27:37] <irogue> i have too many core files haxxed
282: [01:27:38] <ss23> irogue: composer update silverstripe/framework silverstripe/cms
283: [01:27:38] <spronk> wait
284: [01:27:39] <ss23> done
285: [01:27:39] <ss23> :D
286: [01:27:44] <ss23> haha irogue
287: [01:27:44] <spronk> ss23, where did you find that shit?
288: [01:27:54] <ss23> irogue: If you just want to patch sploit, it's a ~5 line change
289: [01:28:00] <Pyromanik> ss23: wrong! the correct answer is "Please define the metric for 'efficient'".
290: [01:28:04] <ss23> irogue: Check the latest 2.4 commit, apply that (or cherrypick if you run a fork)
291: [01:28:08] <ss23> Pyromanik: pish posh
292: [01:28:12] <ss23> spronk: On any 404 page?
293: [01:28:13] <ss23> :P
294: [01:28:17] <Pyromanik> ss23: also, Vector.
295: [01:28:19] <irogue> yup, just found the patch file ss23
296: [01:28:20] <spronk> waht the fuck :|
297: [01:28:23] <ss23> ITC: spronk leaves on debugging information in production!!!!!!
298: [01:28:57] <ss23> holy shit
299: [01:29:00] <ss23> you fucked up the site, spronk
300: [01:29:02] <ss23> what the fuck did you do
301: [01:29:04] <ss23> it's not working at all anymore
302: [01:29:06] <spronk> i'm not sure :|
303: [01:29:07] <Pyromanik> I don't often test, but when I do, I do it in production.
304: [01:29:08] <ss23> like, it's not just 404 pages
305: [01:29:17] <Pyromanik> bumblebee reference for y'all
306: [01:29:18] <ss23> duuuuuude
307: [01:29:22] <ss23> spronk: WHAT DID YOU DO ;___;
308: [01:29:27] <spronk> open private tab
309: [01:29:28] <spronk> works fine now
310: [01:29:38] <spronk> i'm guessing it's that bug you mentioned earlier.
311: [01:29:39] <ss23> cool
312: [01:29:54] <ss23> wtf
313: [01:29:56] <Pyromanik> ss23: so I guess the real question here is which is more efficient
314: [01:29:57] <ss23> why is ti doing this to me
315: [01:29:57] <ss23> ;_;
316: [01:30:01] <spronk> ?
317: [01:30:02] <ss23> It doesnt' work in my normal page
318: [01:30:11] <Pyromanik> A linked list, or a series of parent->Children relations?
319: [01:30:55] <Pyromanik> like
320: [01:30:58] <Pyromanik> for example
321: [01:31:02] <ss23> spronk: It doesn't look cache, but chrome is still bringing up the wehaton baseURL
322: [01:31:04] <Pyromanik> having a linked list of posts forming a thread
323: [01:31:05] <Pyromanik> or
324: [01:31:12] <Pyromanik> having a thread object with post children?
325: [01:31:51] <Pyromanik> I guess it doesn't really matter until you get a bazillion posts
326: [01:32:16] <Pyromanik> but then I guess it probably wouldn't matter then either.
327: [01:32:32] <ss23> Oh
328: [01:32:40] <ss23> I thought you were meaning a real linked list where you malloc the shit out of it
329: [01:32:50] <Pyromanik> well yaeh I was the first time around
330: [01:32:57] <Pyromanik> now I'm talking abouty forum module
331: [01:33:06] <Pyromanik> well, not malloc, but new/delete
332: [01:33:09] <Pyromanik> C++
333: [01:34:30] <ss23> Also FYI guys, just go to http://site.com/?archiveDate='
334: [01:34:31] <Pyromanik> I'm not big on DBMS's
335: [01:34:33] <ss23> No need for the 404 I realised
336: [01:34:43] <Pyromanik> so I wonder about these thigns
337: [01:34:56] <Pyromanik> ss23: what?
338: [01:35:08] <ss23> to check if your site is h@xable
339: [01:36:24] <simon_w|air> And just rm Versioned.php if it is
340: [01:36:35] <ss23> lol
341: [01:36:44] <ss23> Hey, question simon_w|air
342: [01:36:46] <ss23> what does it even do?
343: [01:36:52] <Pyromanik> 13:21 < Peavers> Deleted my email sig for luls. So far its working, would recommend.
344: [01:36:53] <simon_w|air> Versioned?
345: [01:36:55] <Pyromanik> lolwut
346: [01:36:58] <ss23> spronk: Yeah, cause it fucks up sites
347: [01:37:01] <ss23> uh
348: [01:37:02] <ss23> simon_w|air*
349: [01:37:08] <ss23> http://www.silverstripe.com/?archiveDate=1 go here
350: [01:37:09] <spronk> wow
351: [01:37:12] <ss23> then go to silverstripe.com normally
352: [01:37:14] <ss23> it's all done fucked up
353: [01:37:20] <simon_w|air> Provides both staging and history
354: [01:37:22] <spronk> adding ?archiveDate=1 to any of my ss3 sites fucks it up for local view
355: [01:37:38] <ss23> You can reset the session and it goes back to fine...
356: [01:37:41] <ss23> but it's weird
357: [01:37:49] <ss23> I'm struggling to understand the implications, if any, of this
358: [01:37:49] <irogue> it's versioning, ss23
359: [01:38:01] <ss23> lol irogue
360: [01:38:03] <ss23> ty for the help
361: [01:38:03] <irogue> you're telling it to show you an old version of the page
362: [01:38:03] <ss23> :P
363: [01:38:05] <spronk> ss23: someone links you to a site with that url param = site dead for a layperson
364: [01:38:09] <ss23> yeah
365: [01:38:14] <ss23> you could just fuck up sites easily
366: [01:38:16] <spronk> ja
367: [01:38:18] <ss23> for that user
368: [01:38:22] <ss23> like, mega low impact XSS
369: [01:38:24] <ss23> :P
370: [01:38:25] <ss23> but not XSS
371: [01:38:26] <ss23> just DoS
372: [01:38:28] <ss23> for a single user
373: [01:38:32] <spronk> well
374: [01:38:34] <spronk> it's information leakage as well
375: [01:38:38] <irogue> you're not supposed to be able to select versioned without being a content-editor
376: [01:38:40] <spronk> what if you remove sensitive data from your websitez
377: [01:38:47] <spronk> then someone comes along and sticks this param in
378: [01:38:50] <ss23> yeah spronk
379: [01:38:50] <Pyromanik> did someone say DoS SS?
380: [01:38:53] <ss23> I mean, it gave you dev URLs
381: [01:38:55] <ss23> hahahahah Pyromanik
382: [01:38:56] <ss23> OH GOD
383: [01:38:57] <ss23> NOT AGAIN
384: [01:39:07] <Pyromanik> ALLLLLL the vectors!
385: [01:39:11] <ss23> this is awesome
386: [01:39:17] <ss23> you get to see the dev URL parameters it was first deployed iwth!
387: [01:39:22] <ss23> Lets see what URL snappernet used :D
388: [01:39:31] <Pyromanik> ss23: so as I understand it, only my view of ss.com is f'd
389: [01:39:38] <ss23> dammit irogue r
390: [01:39:41] <ss23> you patched it, didn't you?
391: [01:39:44] <ss23> yeah, Pyromanik
392: [01:39:52] <Pyromanik> why is this?
393: [01:39:55] <irogue> ss23: of course i did
394: [01:39:57] <Pyromanik> beyond just saying "versioned"
395: [01:40:00] <spronk> this is a pretty fun little bug
396: [01:40:04] <ss23> Pyromanik: Delete the PHPSESSID to get it back
397: [01:40:05] <ss23> but yeah
398: [01:40:09] <simon_w|air> Pyromanik, and ?stage=Live to fix
399: [01:40:10] <Pyromanik> ss23: yeh I realise
400: [01:40:11] <Pyromanik> but
401: [01:40:11] <ss23> irogue: I can't see your dev URLS anymore! :<
402: [01:40:23] <ss23> simon_w|air: this is an issue, right? Only admins should be able to see staged content?
403: [01:40:35] <spronk> can you set any arbitrary date?
404: [01:40:44] <Pyromanik> simon_w|air: yeah, but shouldn't both of those things (archiveDate & stage) require auth?
405: [01:40:44] <ss23> Hmm
406: [01:40:46] <spronk> omg
407: [01:40:47] <spronk> uyes you can
408: [01:40:52] <ss23> so stage=Stage is protected, but not archiveDate
409: [01:40:54] <spronk> this is a *far* bigger hole than that DoS thing
410: [01:40:54] <Pyromanik> kinda like how ?flush=1 needs auth...
411: [01:40:58] <ss23> I will post to the mailing list
412: [01:40:59] <ss23> MY ISSUE
413: [01:41:00] <ss23> I FOUND IT
414: [01:41:02] <ss23> I GET THE POINTS
415: [01:41:03] <ss23> :D
416: [01:41:08] <spronk> ss23: http://www.school-links.co.nz vs http://www.school-links.co.nz/?archiveDate=2013-01-01
417: [01:41:09] <Pyromanik> fuck, I read that wrong
418: [01:41:19] <Pyromanik> 13:41 <+ss23> I GET THE PENIS
419: [01:41:20] <spronk> err
420: [01:41:22] <simon_w|air> It's no more of an issue than using archive.org
421: [01:41:25] <spronk> http://www.school-links.co.nz?stage=Live
422: [01:41:31] <ss23> yeah
423: [01:41:33] <spronk> simon_w|air: actually it is
424: [01:41:48] <ss23> simon_w|air: Can you view archiveDate where the content is staged?
425: [01:41:49] * ss23 checks
426: [01:42:30] <spronk> for reference, archive.org has two snapshots of this site in 2013
427: [01:42:42] <ss23> oh look
428: [01:42:43] <ss23> you can
429: [01:42:48] <ss23> This lets you view unpublished pages
430: [01:42:50] <irogue> yeah
431: [01:42:50] <spronk> fuck me :|
432: [01:42:55] <ss23> ME
433: [01:42:57] <spronk> nice find
434: [01:42:58] <ss23> I GET THE POINTS
435: [01:42:58] <irogue> that's a much bigger issue than archive.org :P
436: [01:43:05] <spronk> fucking annoying find
437: [01:43:50] <simon_w|air> Yeah, that you can view different stages is an issue. That you can view past content isn't.
438: [01:43:59] <spronk> simon_w|air: i disagree on the latter point
439: [01:44:11] <simon_w|air> spronk, why?
440: [01:44:23] <spronk> revocation of content is a real thing
441: [01:44:32] <spronk> even the fastest spiders don't pick up changes on a minute to minute basiss
442: [01:44:34] <spronk> -s
443: [01:44:57] <spronk> you've got rid of the old content for a reason, shouldn't be available to anyone viewing
444: [01:45:02] <spronk> unless you explicitly alow
445: [01:45:05] <spronk> allow*
446: [01:45:22] <irogue> the staging thing is a much bigger issue as far as i'm concerned. once something is published it's out there. you can't delete from the internet (just ask Beyonce)
447: [01:45:30] <ss23> haha
448: [01:45:36] <spronk> i agree, but I still think it's an issue
449: [01:45:36] <irogue> but when you don't even publish something, there's a reasonable assumption it's not public
450: [01:45:47] * skysis has joined #silverstripe
451: [01:45:49] * UncleCheese quit (Quit: UncleCheese)
452: [01:46:06] <simon_w|air> ss23, security@silverstripe.com it already :p
453: [01:46:11] <ss23> I'm on that list!
454: [01:46:13] <ss23> Hmm
455: [01:46:17] <ss23> Should I post this publically, or privately
456: [01:46:20] <simon_w|air> I probably should be!
457: [01:46:22] <ss23> cause tbh, I doubt anyone at SS gives a shit
458: [01:46:22] <Pyromanik> wow, I did not know
459: [01:46:23] <Pyromanik> http://www.ben.geek.nz/2011/07/orcon-genius-nerd-stuff-for-the-masses/
460: [01:46:39] <irogue> ss23: just fix it
461: [01:46:41] * ss23 wont mention... things... that would get him fired... but lead him to believe no one here gives a shit
462: [01:46:46] <ss23> irogue: I don't have commit access, simon_w|air does!
463: [01:47:01] <irogue> just do a pull request and tell simon_w|air to commit it
464: [01:47:02] <irogue> :P
465: [01:47:20] <simon_w|air> Will need 2.4/3.0 versions at least
466: [01:47:32] <ss23> lol @ "lol another security release!"
467: [01:47:38] <ss23> I'm just going to Skype Hamish to start with
468: [01:47:41] <ss23> I don't see Sam around
469: [01:47:46] <simon_w|air> ss23, eh, it's just like the Chrome security team
470: [01:47:48] <spronk> hmm
471: [01:47:48] <ss23> Igno sleeping
472: [01:47:53] * spronk wants to try this on say... westpac
473: [01:47:58] <ss23> hahahaha
474: [01:47:59] <Pyromanik> rofl, bad.
475: [01:48:00] <Colin[pi]> D:
476: [01:48:06] <Pyromanik> lotto
477: [01:48:08] <ss23> LIKE I SAID, I CAN't SAY ANYTHING, DON't WANT TO GET FIRED
478: [01:48:09] * ss23 looks at spronk
479: [01:48:13] <spronk> :)
480: [01:48:13] <ss23> Oh FYI guys, the lotto site isn't ours anymore
481: [01:48:17] <ss23> When we hosted it, it was fine
482: [01:48:28] <Pyromanik> but it's still SS, the same site you developed?
483: [01:48:32] <ss23> They wanted to ditch us, now another company is hosting it, I suspect they're too noob to run it, hence the other stuff
484: [01:48:34] <Pyromanik> (you being SS)
485: [01:48:41] <ss23> Pyromanik: Yes, but it's a complex setup, and now has a presumably noob company
486: [01:49:02] <irogue> can't really blame SS for hosting issues when SS isn't hosting :P
487: [01:49:04] <spronk> heh
488: [01:49:07] <ss23> mm
489: [01:49:12] <Colin[pi]> was it hosted internally?
490: [01:49:15] <ss23> Uh...
491: [01:49:18] <Pyromanik> ss23: haha, love it when that happens
492: [01:49:20] <ss23> It was hosted, by us
493: [01:49:23] <Colin[pi]> ah k
494: [01:49:25] <Pyromanik> "we're dissatisfied with your service"
495: [01:49:27] <ss23> We don't colocate hardare that I know of, but we manage it
496: [01:49:27] <Pyromanik> "why?"
497: [01:49:31] <Pyromanik> "We want to move"
498: [01:49:34] <ss23> XD
499: [01:49:38] <Pyromanik> "Yes that's fine, but why?"
500: [01:49:40] <ss23> Hamish keeps bloody typing, then stopping!
501: [01:49:43] <Pyromanik> *no answer*
502: [01:49:45] <ss23> DAMMIT HAMISH RESPOND TO Me
503: [01:50:03] <Pyromanik> Suddenly company that carges about 1/2 as much with about 1/5th the clues is hosting...
504: [01:50:13] <Pyromanik> OH YOU JUST THOUGHT WE WERE TOO EXPENSIVE
505: [01:50:19] <Pyromanik> YOU GET WHAT YOU PAY FOR, BITCH
506: [01:50:27] <Pyromanik> then I laugh and stop caring.
507: [01:50:28] <hamror> i've been given a fairly fancy ajax/css form thing and i have to put it into SS, should i subclass Form and then create a custom include that has the html + js in it? or what
508: [01:50:29] <spronk> that's not entirely true where hosting is concerned
509: [01:50:31] <hamror> bit confused here
510: [01:50:36] <Pyromanik> and say "I told you there'd be no support"
511: [01:50:41] <Pyromanik> and refuse to support them
512: [01:50:55] <Pyromanik> ajax/css?
513: [01:50:59] <Pyromanik> that's an odd mime type
514: [01:51:08] <spronk> lul
515: [01:51:10] <hamror> sorry what i mean is there is a bunch of front end crud
516: [01:51:24] <hamror> including fetching some images and stuff based on input values
517: [01:51:31] <spronk> k
518: [01:51:31] <spronk> so
519: [01:51:37] <spronk> ContentController:113
520: [01:51:38] <spronk> "// Draft/Archive security check - only CMS users should be able to look at stage/archived content"
521: [01:51:56] * simon_w|air quit (Remote host closed the connection)
522: [01:51:59] <spronk> that's 2.4, iirc
523: [01:52:17] <spronk> 108 in 3.1
524: [01:52:21] <spronk> looks like same code
525: [01:52:40] * simon_w|air has joined #silverstripe
526: [01:53:14] <ss23> Okay, Hamish says post to mailing list instead of public
527: [01:53:15] <ss23> :P
528: [01:53:18] <spronk> Versioned:871 choose_site_stage ...
529: [01:53:42] <spronk> has no check on the session set
530: [01:53:47] <irogue> hamror: yeah, subclass of form with some JS in it
531: [01:54:09] <irogue> prob still want to construct the form using the regular methodology
532: [01:54:17] <hamror> so you'd put the js in the include fragment? i don't really get where it's mean tot go otherwise
533: [01:54:20] <Pyromanik> http://www.ben.geek.nz/2012/10/how-it-works/
534: [01:54:24] <Pyromanik> so sad, so true :<
535: [01:54:33] <ss23> where is versioned?
536: [01:54:35] <Pyromanik> "Until we start from a culture of security and professionalism, nothing will change."
537: [01:54:39] <Pyromanik> ss23: cms
538: [01:54:40] <Pyromanik> iirc
539: [01:54:41] <spronk> ss23: /framework/model
540: [01:54:46] <Pyromanik> or there
541: [01:54:58] <spronk> looks like choose_site_stage is called on contentcontrollerInit
542: [01:54:58] <Pyromanik> is decorator
543: [01:55:01] <hamror> this is a good point of proof http://happybearsoftware.com/you-are-dangerously-bad-at-cryptography.html
544: [01:56:02] <irogue> hamror: yeah, using Requirements::js
545: [01:56:10] <hamror> ok
546: [01:56:18] <irogue> *javascript
547: [01:56:50] <spronk> yeah
548: [01:56:53] * simon_w|air quit (Remote host closed the connection)
549: [01:56:56] <spronk> versioned needs some permission checks added
550: [01:57:07] <ss23> hamish says teh checks are on the controller when you view it
551: [01:57:21] <spronk> lize
552: [01:57:39] <Colin[pi]> he might wanna go check that a bit closer
553: [01:57:56] <ss23> hahah
554: [01:57:56] <ss23> yeah
555: [01:58:06] <ss23> He was like "no one is able to view archived content apart from admins"
556: [01:58:12] <ss23> Im like "you mean *meant* to be able to"
557: [01:58:23] <spronk> man
558: [01:58:32] <spronk> pretty massive testing fuckup right there
559: [01:58:48] <ss23> "lets implment this permission check, but literally never actually test if it works!"
560: [01:58:52] <ss23> :P
561: [01:58:56] <spronk> mm
562: [01:59:28] <ss23> yay
563: [01:59:34] <ss23> Looks like we just got another RC pushed out
564: [01:59:36] <ss23> RC2
565: [01:59:36] <ss23> :D
566: [01:59:38] <Pyromanik> so, TL;DR, do what we say, not what we do?
567: [01:59:40] <Pyromanik> WRITE TESTS
568: [01:59:42] <Colin[pi]> look shit happens but yeah it needs to be fixed pronto
569: [01:59:44] <ss23> Or do we make it just 3.0.9RC1 since its a new issue?
570: [01:59:53] <ss23> Hey hey, I'm trying to get it fixed!
571: [02:00:02] <ss23> You don't know how lethargic Silverstripe is when it comes to security issues
572: [02:00:06] <Colin[pi]> no that wasn't a dig at you, just a general statement
573: [02:00:09] <ss23> yeah, ik
574: [02:00:13] <ss23> IT's more annoying for me
575: [02:00:21] <ss23> I mean, waiting a week for security release == bad
576: [02:00:27] <spronk> interesting
577: [02:00:38] <Colin[pi]> just saying that nothing's perfect, sure, shit happens... but um yeah security problems are a pretty big priority
578: [02:00:38] <ss23> Waiting a week, while knowing you could do it today if someone else in the org would let oyu, or just do it themselves == holy fuck so frustrating
579: [02:00:38] * simon_w|air has joined #silverstripe
580: [02:00:39] * nicolaas has joined #silverstripe
581: [02:00:39] <spronk> http://www.hqsc.govt.nz/?archiveDate=2013-01-1
582: [02:00:52] <ss23> oi
583: [02:00:52] <simon_w|air> Dammit azure, you're crashing worse than aqua ever did
584: [02:00:54] <spronk> redirects to sec/login
585: [02:00:54] <ss23> no hacking goverment sites!
586: [02:01:07] <spronk> i chose archiveDate, not stage :P
587: [02:01:21] <ss23> wait
588: [02:01:24] <ss23> is your site on devmode spronk?
589: [02:01:25] <ss23> >.>
590: [02:01:26] <spronk> my site doesn't redirect to login
591: [02:01:27] <ss23> like
592: [02:01:32] <ss23> is that why there's no login redirect?
593: [02:01:37] <spronk> ss23: probably
594: [02:01:41] <spronk> :P
595: [02:01:45] <spronk> i was gonna check that
596: [02:01:50] <simon_w|air> So, it looks like you can't directly access a staged page using that, but you can see all the information from stage when the latest version on that day's a live one
597: [02:02:24] <ss23> simon_w|air: So to confirm, it's a real issue rihgt, not just a dev mode configuration?
598: [02:02:31] <spronk> ss23: nope - SS_ENVIRONMENT_TYPE live
599: [02:02:36] <nicolaas> sorry to butt in, but ... does anyone know how to write a conditional statement in a yml file, as in if Dev - variable A = foo else variable A = bar?
600: [02:02:50] <ss23> nicolaas: Don't think you can, sory. That's what makes them... "better', or at least faster
601: [02:03:25] <simon_w|air> nicolaas, have a look at the docs for configuration. It's covered there.
602: [02:03:54] <simon_w|air> ss23, yes, it's a real issue.
603: [02:04:00] <ss23> sweet
604: [02:04:02] <ss23> emailed off
605: [02:04:02] <ss23> ^.^
606: [02:04:18] <simon_w|air> It's just not as bad as it first seemed
607: [02:04:32] <spronk> taking down someone's view of a site with a link is kinda bad
608: [02:05:51] <nicolaas> like that? http://pastie.org/8217165?
609: [02:06:41] <spronk> simon_w|air: http://school-links.co.nz/stagedtest?archiveDate=2013-088-08
610: [02:06:44] <spronk> this is a staged page
611: [02:06:47] <spronk> with no live version
612: [02:06:57] <Colin[pi]> :\
613: [02:07:03] <spronk> created just now
614: [02:07:07] <Colin[pi]> eek
615: [02:07:07] <spronk> interestingly doesn't work if i stick an actual date in there
616: [02:07:16] * LoveDuckie has joined #silverstripe
617: [02:07:21] <spronk> oh
618: [02:07:23] * simon_w|air quit (Remote host closed the connection)
619: [02:07:26] <spronk> works if i stick in 2013-08-09
620: [02:07:42] * simon_w|air has joined #silverstripe
621: [02:07:58] <simon_w|air> spronk, hmm, which SS version?
622: [02:07:58] <Colin[pi]> well that's a bit of a shit then
623: [02:08:05] <spronk> 3.0.2 there i think
624: [02:08:30] <spronk> due for an upgrade
625: [02:08:32] <spronk> need to test on 3.1..
626: [02:09:50] <ss23> I can verify *some* issues with 3.1
627: [02:09:56] * pippy_ has joined #silverstripe
628: [02:10:05] <simon_w|air> ss23, you can get staged metadata?
629: [02:10:10] * spronk is testing on 3.1 now
630: [02:10:13] <simon_w|air> That's all I could get with 3.1
631: [02:10:19] <Pyromanik> So I just learnt about length extension attacks
632: [02:10:33] <Pyromanik> I don't particularly understand it all yet, but it seems pretty... trivial.
633: [02:10:46] <spronk> ?
634: [02:11:10] <simon_w|air> spronk, so it definitely looks like 3.1 fixes direct access (SiteTree->canView cares about Versioned in 3.1, not 3.0)
635: [02:11:17] <Pyromanik> spronk: hax'n a hash by making a hew hash with the old hash and having it sexy you up on the inside.
636: [02:11:28] <Pyromanik> or something
637: [02:11:40] <Pyromanik> ss23: I don't get it, explain in english plz?
638: [02:11:42] <Peavers> we're out of coffee.
639: [02:11:56] * simon_w|air should lunch
640: [02:12:17] <spronk> ehm
641: [02:12:26] <spronk> simon_w|air: you sure?
642: [02:12:28] <ss23> Pyromanik: This entire issue can be summed up as "Every version of Silverstripe has minor/semi-serious information disclosure vulns which may allow malicious users to view content you never published"
643: [02:12:41] <spronk> this may be subsites, but in 3.1 i can use a future date to see full staged page
644: [02:12:55] <ss23> Pyromanik: I rate this is "low" in terms of how much I give a shit, since I only care about popping boxes, but lots of places, think a bank, want to preview content before publishing, and if gets out early, it could ruin them, so MEGA HIGH for them
645: [02:12:55] * pippy quit (Ping timeout: 245 seconds)
646: [02:13:07] <skysis> How can I fetch data from gridfield and output it via AJAX?
647: [02:13:17] <spronk> yeah
648: [02:13:30] <simon_w|air> spronk, fixed after b3
649: [02:13:35] <spronk> hmm
650: [02:13:38] <spronk> what version is this on..
651: [02:13:47] <Colin[pi]> imho no matter the type of site, unpublished content needs to remain just that at all costs
652: [02:13:49] <spronk> ah
653: [02:13:49] <spronk> b3
654: [02:14:01] <spronk> that makes sense then
655: [02:14:05] <ss23> idgi
656: [02:14:12] <ss23> Who fixes it for 3.1, and was like "lol fuck off 3.0 and 2.4"
657: [02:14:14] <Peavers> Yup, if we draft content and it gets leaked before the Minister says so, its game over.
658: [02:14:19] <Pyromanik> ss23: insider traiding?
659: [02:14:21] <Pyromanik> !
660: [02:14:25] <simon_w|air> ss23, Hamish?
661: [02:14:28] <ss23> WHAT A DICK
662: [02:14:29] <Pyromanik> also, not that, length extension attacks
663: [02:14:33] <ss23> :P
664: [02:14:41] <ss23> What I'm hearing is
665: [02:14:48] <spronk> mycoolbanki.es/new_product_launching_tomorrow?archiveDate=tomorrow
666: [02:14:49] <ss23> We should hack Peavers and get him fired
667: [02:14:52] <spronk> LULZ
668: [02:15:04] <Peavers> lol
669: [02:15:30] <Peavers> our main security server dude is russian
670: [02:15:34] <Peavers> still wanna try?
671: [02:15:40] <ss23> Dude.
672: [02:15:42] <spronk> haha
673: [02:15:44] <spronk> he'll be drunk
674: [02:15:45] <ss23> Our CTO is German
675: [02:15:47] <simon_w|air> ss23, https://github.com/silverstripe/silverstripe-cms/commit/a5f00ae2c3bc6dd6aa27d56b530b75408539b067 is the fix, though only for SiteTree. Should probably be applied for all Versioned classes
676: [02:15:47] <ss23> Bring it on
677: [02:15:54] * howardgrigg has joined #silverstripe
678: [02:16:21] <Pyromanik> Peavers: what does him being Russian have to do with anything?
679: [02:16:21] <Peavers> hmm... Russian devs master programming before they even touch a computer, but the germans master the patterns without paper....
680: [02:16:25] <Peavers> would be a fight to watch
681: [02:16:34] <Peavers> Pyromanik, everything.
682: [02:16:55] <ss23> XD
683: [02:17:05] <Pyromanik> chto?
684: [02:17:26] <Pyromanik> is it the fellow from that php pug fight?
685: [02:17:40] <Peavers> Pyromanik, And now what?
686: [02:17:43] <spronk> hmm
687: [02:17:51] <spronk> this 3.1 fix still leaks info
688: [02:18:03] <spronk> albeit very minorly
689: [02:18:04] <ss23> What info does it leak?
690: [02:18:06] <spronk> well
691: [02:18:08] <ss23> I'm curious
692: [02:18:12] <spronk> you can test a URL for whether it exists as draft or not
693: [02:18:14] <ss23> simon_w|air said "metadata"
694: [02:18:16] <ss23> ah yep
695: [02:18:21] <spronk> it doesn't just 404
696: [02:18:23] <spronk> which it should
697: [02:18:57] <simon_w|air> spronk, also, you can get the first paragraph of unpublished blog entires
698: [02:19:07] <spronk> oo
699: [02:19:08] <spronk> how?
700: [02:19:20] <Pyromanik> Peavers: so... all Russians overseas are instantly mob affiliated or something?
701: [02:19:41] <Peavers> Pyromanik, no, they are all very, very good developers.
702: [02:19:46] <Peavers> like de Germans
703: [02:19:51] <Pyromanik> haha, the ones that are developers perhaps.
704: [02:20:01] <Pyromanik> :P
705: [02:20:01] <spronk> Peavers: yeah.... i'm not so sure about that
706: [02:20:04] <simon_w|air> spronk, if the latest version of the BlogHolder's published, ?archivedDate=tomorrow
707: [02:20:10] <spronk> ah
708: [02:20:11] <spronk> heh
709: [02:20:14] <Pyromanik> same could probably be said of any exported developer
710: [02:20:14] <ss23> Regarding 3.1, Hamish says it probably won't be fixed
711: [02:20:27] <spronk> i know a couple of german developers and they're complete muppets
712: [02:20:27] <Pyromanik> People tend not to get jobs overseas unless they're good at what they do.
713: [02:20:35] <Peavers> ss23, fixed anchor links in newsletters yet?
714: [02:20:40] <ss23> Peavers: I see no ticket
715: [02:20:41] <ss23> ^.^
716: [02:20:44] <Pyromanik> hahaha
717: [02:20:53] <Pyromanik> zing!
718: [02:21:09] <Peavers> ss23, fixed anchor links in newsletters yet?
719: [02:21:15] <ss23> simon_w|air: The can_view should be in the blog module itself, right?
720: [02:22:16] <simon_w|air> ss23, https://github.com/silverstripe/silverstripe-blog/blob/master/code/BlogTree.php#L214-L218 bypasses the normal canView() check on Children/Menu
721: [02:22:36] <Pyromanik> ss23: did you fix the issue with db details coming out in a stack trace yet?
722: [02:22:41] <ss23> Pyromanik: Not an issue
723: [02:22:47] <spronk> heh
724: [02:22:48] <ss23> Pyromanik: That only happens in dev mode, and it's expected there
725: [02:22:49] <spronk> woops
726: [02:22:55] <Pyromanik> ss23: no it's not.
727: [02:22:56] <simon_w|air> And then https://github.com/silverstripe/silverstripe-blog/blob/master/code/BlogTree.php#L284-L296 makes it look like you can get the full content...
728: [02:22:59] <ss23> simon_w|air: But that needs to be fixed in prod, right?
729: [02:23:02] <ss23> uh
730: [02:23:10] <ss23> s/prod/blog module
731: [02:23:11] <ss23> like
732: [02:23:23] <ss23> It's the responbilities of modules to check if they're serving content that's allowed to be viewed?
733: [02:23:28] <simon_w|air> ss23, well, it should be there too. But also in Versioned
734: [02:23:35] * ajmitch reads the last hour or so of security discussion for fun
735: [02:24:12] <simon_w|air> Like, ?archivedDate should require login, or not select across stages
736: [02:24:16] <Pyromanik> shit, I had a V and now I'm sleepy
737: [02:24:34] <irogue> [14:22] <+ss23> Pyromanik: That only happens in dev mode, and it's expected there
738: [02:24:40] <irogue> there's code specifically there to filter it
739: [02:24:42] <Peavers> shit, just had instant coffee and now I'm about to through up
740: [02:24:45] <irogue> but it misses one line
741: [02:25:13] <spronk> hmm
742: [02:25:14] <Pyromanik> never shoot deets out willy nilly
743: [02:25:21] <ss23> Pyromanik: That's what dev mode is *for*
744: [02:25:25] <spronk> this is a bit of a caveat for anyone making modules and using versioned
745: [02:25:26] <Pyromanik> ss23: no
746: [02:25:28] <ss23> "DON'T SHOW ME ERROR MESSAGES IN DEV"
747: [02:25:28] <ss23> idek
748: [02:25:34] <Pyromanik> it's not for letting everyone know your db details
749: [02:25:38] <Pyromanik> no
750: [02:25:41] <ss23> lol
751: [02:25:42] <irogue> ss23: yes, but it's a bug because the details ARE BEING FILTERED
752: [02:25:47] <ss23> what
753: [02:25:50] <ss23> They are being filtered?!
754: [02:25:51] <ss23> Lame
755: [02:25:52] <Pyromanik> error message yes, db privilage info, no.
756: [02:25:55] <irogue> there's code there to filter it
757: [02:25:58] <ss23> ANYWAY, TALK TO simon_w|air
758: [02:26:01] <ss23> I don't have access to simon_w
759: [02:26:03] <ss23> uh
760: [02:26:05] <irogue> with a list of which bits to filter out
761: [02:26:06] <Pyromanik> lulz
762: [02:26:07] <ss23> I don't have access to the repo, ask simon_w
763: [02:26:11] <ss23> Sometimes I cant' sentence.
764: [02:26:19] <Pyromanik> sometimes I can't.
765: [02:26:21] <simon_w|air> Pull request!
766: [02:26:26] <Pyromanik> hehe
767: [02:26:27] <simon_w|air> Click the edit button :p
768: [02:26:27] <Pyromanik> NO U
769: [02:26:37] <Pyromanik> i'd have to log in to github and shit
770: [02:26:37] <simon_w|air> Pfft, why would I pull request when I can push?
771: [02:26:44] <Pyromanik> I ain't do'n that at wrok.
772: [02:26:45] <irogue> Pyromanik: have you tested adding MySQLI::connect to your one?
773: [02:26:59] <simon_w|air> Anyway, I really should lunch
774: [02:27:04] <simon_w|air> Hmm, what to lunch...
775: [02:27:21] <Peavers> Did any of you guys fall from a building a die today? http://www.stuff.co.nz/national/9017927/Man-found-dead-in-central-Wellington
776: [02:27:30] <spronk> yep
777: [02:27:31] <spronk> that was me
778: [02:27:32] <spronk> my bad
779: [02:27:32] <ss23> woah
780: [02:27:36] <ss23> Where is that?
781: [02:27:41] <ss23> NEAR TARANKI STREET?!
782: [02:27:43] <Peavers> How does one fall out of a building?
783: [02:27:43] <ss23> OH GOD MAYBE I WALKED NEAR HIM
784: [02:27:52] <Peavers> "Hang on guys, going to just step over here"
785: [02:27:59] * Peavers falls out the office
786: [02:28:02] <spronk> well, there was that case in the US a few days ago when someone leaned on a railing that collapsed
787: [02:28:11] <spronk> at a balcony
788: [02:29:01] <simon_w|air> ss23, bring me lunch!
789: [02:29:11] <Peavers> simon_w|air and ss23, bring ME lunch.
790: [02:29:23] <simon_w|air> Peavers, get your own lackey!
791: [02:29:28] <Peavers> ikr
792: [02:30:23] <Peavers> ss23, did you know the silverstripe newsletter mod build is failing? you should prob fix that.
793: [02:30:54] <Pyromanik> irogue: na
794: [02:31:08] <Pyromanik> I decided I probably shouldn't break a production site for my own curiosity
795: [02:31:11] <simon_w|air> Dammit, I do actually have to leave the building. Gotta post some mails like some old person
796: [02:31:19] <Pyromanik> hahaah
797: [02:31:22] <Pyromanik> I love posting mail
798: [02:31:26] <Peavers> simon_w|air, just don't fall out of it.
799: [02:31:27] <Pyromanik> get to go for a walk
800: [02:31:32] <Pyromanik> there's some thing to do
801: [02:31:41] <Pyromanik> you feel like you have a purpose in life
802: [02:31:47] <simon_w|air> The box is like 30 seconds up the street
803: [02:31:51] <Pyromanik> and the novelty of posting something is so quaint
804: [02:32:01] <simon_w|air> Posting 5 things!
805: [02:32:23] <simon_w|air> Only 3 of which are return to sender things
806: [02:32:29] <spronk> can anyone confirm that restful server is fucked as well?
807: [02:32:40] <Pyromanik> it worked?
808: [02:33:14] <spronk> fucked as in allows access to unpublished shit via Versioned
809: [02:34:52] <spronk> ah. @todo Custom filters per DataObject subclass, e.g. to disallow showing unpublished pages in SiteTree/Versioned/Hierarchy . so yes
810: [02:34:56] * UncleCheese has joined #silverstripe
811: [02:41:15] * Jayden90 has joined #silverstripe
812: [02:41:37] <Jayden90> Might be a good idea to add SilverStripe here: https://github.com/github/gitignore
813: [02:42:04] <Jayden90> "A Collection of Useful .gitignore Templates"
814: [02:43:23] <simon_w|air> Why does SilverStripe need a specific one?
815: [02:48:33] <Peavers> ss23
816: [02:48:34] <Peavers> ss23
817: [02:48:37] <Peavers> ss23
818: [02:48:57] <simon_w|air> Still hasn't brought me some lunch!
819: [02:49:10] <Peavers> still hasn't fixed anchor links in the newsletter
820: [02:49:15] <Peavers> even with his stupid pull request
821: [02:51:25] <UncleCheese> what's the easiest way to find a justice of the peace in wellington?
822: [02:51:39] <UncleCheese> i need to get a document stamped, and it's consumed my whole week
823: [02:51:51] <Peavers> Cop Shop UncleCheese
824: [02:51:56] <UncleCheese> where's that?
825: [02:52:03] <Colin[pi]> police station
826: [02:52:09] <Peavers> oh or the Library
827: [02:52:13] <UncleCheese> hmm
828: [02:52:24] <UncleCheese> the library is in the Civic Centre?
829: [02:52:28] <Peavers> yup
830: [02:52:29] <Peavers> thats the one
831: [02:52:30] <UncleCheese> ok
832: [02:52:37] <UncleCheese> that sounds like a fun adventure for tomrorow
833: [02:53:02] <simon_w|air> UncleCheese, http://www.jpwellington.org.nz/Wellington+JP+Clinics.html#Friday
834: [02:54:00] <UncleCheese> OMG
835: [02:54:07] <simon_w|air> Another fire engine! Maybe ss23's on fire!
836: [02:55:56] <Colin[pi]> so can we just disable this archiveDate altogether? or is it required for internal stuff?
837: [02:56:23] <zippy__> getting the action from a request, I had thought it was $Request->param('Action') - ? I am trying to determine what action / controller function will be called in my init function
838: [02:56:36] <simon_w|air> Colin[pi], unset($_GET['archivedDate'); in a _config or _ss_environment should work fine, if you don't use the history part of the CMS
839: [02:57:05] <simon_w|air> zippy__, it is
840: [02:57:30] <skysis> How can I fetch content from gridfield via AJAX? I can do it normally but not via AJAX http://www.sspaste.com/paste/show/520307cd91d5f
841: [02:57:47] <skysis> can't find tutorials anywhere either =\
842: [02:58:57] <simon_w|air> skysis, you need to convert the DataList into something that your JS can handle
843: [02:59:42] * simon_w|air quit (Remote host closed the connection)
844: [03:00:09] * simon_w|air has joined #silverstripe
845: [03:00:43] <zippy__> seems it's not populated in the init() function as $this->request->param('Action') gives me Null
846: [03:00:50] * liam_ has joined #silverstripe
847: [03:00:56] <skysis> hmm ok, I'm currently getting Internal Server Errors when it tries to fetch the info though?
848: [03:01:13] * liam_ is now known as Guest41946
849: [03:01:17] <simon_w|air> zippy__, are you sure your URL has an action in it?
850: [03:01:39] <zippy__> yeap, it's calling the function correctly
851: [03:01:56] * Jayden90 quit (Quit: Jayden90)
852: [03:02:13] <simon_w|air> skysis, well, the error will be something like "Call to undefined method 'forTemplate' on DataList"
853: [03:02:19] <Guest41946> I am trying to update a form field over ajax. How can I return the html for a single form field?
854: [03:02:27] <Guest41946> e.g. $field->render() ?
855: [03:02:28] <simon_w|air> http://doc.silverstripe.org/framework/en/topics/debugging
856: [03:02:46] <simon_w|air> Guest41946, $field->FieldHolder()
857: [03:03:19] <simon_w|air> zippy__, and do you have any custom $url_handlers?
858: [03:04:25] <Guest41946> simon_w|air: how can I render that? in my controller I am trying "return $field->FieldHolder ();" but it doesn't return anything?
859: [03:04:53] <simon_w|air> Guest41946, is your code even being called?
860: [03:05:36] <zippy__> simon_w|air: no I dont. If I check the Action in the function myaction() then I see it. but not in init()
861: [03:07:05] <Guest41946> simon_w|air: ok it's working… is there a way to do this without returning the fieldholder as well… just the form field?
862: [03:07:18] <simon_w|air> Guest41946, ->Field()
863: [03:07:46] <Colin[pi]> simon_w: soz was afk, thanks I'll give it a try
864: [03:07:56] <Guest41946> simon_w|air: thanks mate
865: [03:11:22] <skysis> simon_w|air: Error at framework/core/Object.php line 675: Uncaught Exception: Object->__call(): the method 'getviewer' does not exist on 'HasManyList'
866: [03:12:51] <simon_w|air> skysis, yes, you need to render the list in a way that your JS can handle
867: [03:14:59] <Peavers> Well, I've got anchor links down to keeping their tag, just need to remove the domain from the link and that will be that fixed.
868: [03:15:04] * simon_w|air quit (Quit: Leaving)
869: [03:16:05] <skysis> ok thanks simon I'll try find out how to do that
870: [03:16:44] * skysis quit (Quit: Page closed)
871: [03:24:09] <zippy__> woah woah woah!
872: [03:24:21] <zippy__> a new release of SS eh
873: [03:29:23] <Peavers> whats the deal with flush adding two //?
874: [03:30:59] * howardgrigg quit (Remote host closed the connection)
875: [03:35:12] * willr quit (Ping timeout: 260 seconds)
876: [03:36:17] <ss23> 14:54:06 <@simon_w|air> Another fire engine! Maybe ss23's on fire!
877: [03:36:18] <ss23> :O
878: [03:36:19] <ss23> Nope!
879: [03:36:24] <ss23> Peavers: Link to request?
880: [03:36:33] <Peavers> wut?
881: [03:36:35] <ss23> dammit somon_w left
882: [03:36:40] <ss23> Peavers: pull requst for anchors
883: [03:36:46] <Peavers> ss23, how to stop absoulte urls in ss newsletters?
884: [03:36:47] <ss23> srsly I'm so hungry
885: [03:36:58] <ss23> Peavers: There's a pull request there iirc, just use that persons fork
886: [03:37:10] <Peavers> there are only two pulls
887: [03:37:13] <Peavers> none of what I want
888: [03:37:31] <Colin[pi]> ss23: I will send some pizza in the mail
889: [03:37:39] <ss23> ty
890: [03:37:41] <Colin[pi]> might need to microwave
891: [03:37:45] <ss23> Peavers: guess you'll have to fix it then1 :D
892: [03:37:49] <ss23> Peavers: If you pay, we'll do it
893: [03:37:49] <ss23> Like
894: [03:37:51] <Peavers> I'm trying!
895: [03:37:58] <ss23> You can *probably* talk to someone at Silverstripe, and we can fix it
896: [03:38:09] <Peavers> I've almost got it solved
897: [03:38:20] <Peavers> just need to stop ss adding the absolute url to the link
898: [03:40:56] * willr has joined #silverstripe
899: [03:43:05] * cloph has joined #silverstripe
900: [03:43:21] * cloph_away quit (Ping timeout: 264 seconds)
901: [03:45:47] <Peavers> hang on...
902: [03:46:14] <Peavers> rather than hacking this to bits trying to stop ss converting the body, why not just create extra text fields for anchor links...
903: [03:48:59] * simon_w|air has joined #silverstripe
904: [03:52:58] <simon_w|air> Hmm, rice dish not as filling as noodle dish
905: [03:53:22] <lewellyn> next time, try the noodle+rice dish and see if you find the happy medium! :D
906: [03:53:41] <simon_w|air> Or, just go for the noodle dish
907: [03:54:01] <Colin[pi]> weird I would have thought rice to be more filling :\
908: [03:54:28] <simon_w|air> Usually it is. Maybe there's something about fried rice that just isn't filling
909: [03:54:37] <Peavers> $text = str_ireplace(array_keys($replacements), array_values($replacements), $text);
910: [03:54:43] <Peavers> you there, you're the problem!
911: [03:55:08] <simon_w|air> Peavers, fix it!
912: [03:55:17] <simon_w|air> Have you fixed it yet?
913: [03:55:19] * atmos has joined #silverstripe
914: [03:55:23] <Peavers> almost?
915: [03:55:24] <Peavers> I think?
916: [03:55:30] <simon_w|air> How about now?
917: [03:55:37] <Peavers> someone needs to teach me how to debug php properly... theres got to be an easier way.
918: [03:55:38] <simon_w|air> Why isn't it fixed yet?
919: [03:56:09] <simon_w|air> Also, hello iBooks!
920: [04:06:48] <Pyromanik> spell checking in tinymce
921: [04:07:58] <Guest41946> is there a way to sum a property of the objects in a datalist?
922: [04:08:40] <simon_w|air> Guest41946, $list->sum('Column')
923: [04:09:01] <simon_w|air> Pyromanik, broken!
924: [04:09:19] <Pyromanik> foreach($list->Column('AddMeTogether') as $addend){$total += $addend;}
925: [04:09:31] <Pyromanik> or sum
926: [04:09:38] <Pyromanik> I thought there was a function for it, but too lazy for docs
927: [04:09:45] <Pyromanik> simon_w|air: I know it's broken
928: [04:09:57] <Pyromanik> I have to fix it because an account manager noticed as much
929: [04:10:03] <Pyromanik> (but clients didn't).
930: [04:10:20] * mirrors has joined #silverstripe
931: [04:10:20] <Pyromanik> (because as all web developers know, no client ever uses their website)
932: [04:10:52] <Colin[pi]> yay finally I've completed a report class that actually seems to be working
933: [04:11:27] <Peavers> I think this Director guy seems to be my issue... perhaps not $text...
934: [04:11:35] <Peavers> going into the framework, was good knowing you all.
935: [04:11:44] <Colin[pi]> and we never saw him again
936: [04:12:04] <simon_w|air> Peavers, rewriting of links is done in SSViewer
937: [04:12:12] <Peavers> a sub boss eh?
938: [04:12:17] <Peavers> ssviewer here I come
939: [04:12:18] <Pyromanik> pit boss
940: [04:12:19] * UncleCheese quit (Quit: UncleCheese)
941: [04:12:29] <simon_w|air> Should be able to just set the flag to tell it not to when doing the newsletter stuff?
942: [04:12:40] * Stomach quit (Quit: Leaving.)
943: [04:12:40] <Peavers> yeah you wanna tell me how on earth to do that?!
944: [04:13:08] <Peavers> SSViewer::setOption is dep and no new api info?
945: [04:13:10] <mirrors> is there are way not to add a gridfield dataextension if the gridfield is in a modeladmin
946: [04:13:31] <simon_w|air> Peavers, Config::inst()->update('SSViewer', 'rewrite_hash_links', false);
947: [04:13:47] <Peavers> in site config file yeah?
948: [04:14:02] <simon_w|air> Peavers, just before rendering the newsletter
949: [04:14:18] * zippy__ quit (Ping timeout: 240 seconds)
950: [04:17:30] <Peavers> The template render eh?
951: [04:17:56] <simon_w|air> Well, that's what it effects
952: [04:18:03] <Peavers> $this->ss_template = $newsletter->RenderTemplate;
953: [04:18:21] <simon_w|air> For an email, usually just before ->send()
954: [04:21:03] * Guest41946 quit (Quit: Guest41946)
955: [04:23:01] <mirrors> anyone?
956: [04:23:10] * liam_ has joined #silverstripe
957: [04:23:19] <Pyromanik> installing pspell - apt-get wants to update php... this could go horribly wrong :F
958: [04:23:34] * liam_ is now known as Guest34885
959: [04:23:35] <simon_w|air> mirrors, a Controller::curr() instanceof check?
960: [04:24:48] <Pyromanik> phew
961: [04:25:13] <ss23> lol Pyromanik XD
962: [04:25:46] * UncleCheese has joined #silverstripe
963: [04:26:11] * Stomach has joined #silverstripe
964: [04:26:58] <Peavers> ss23, you've been zero help to me since SS employed you, so tell me this. In what function of the newsletter model can I add simon_w|air awsome code to destroy SSViewer?! (Config::inst()->update('SSViewer', 'rewrite_hash_links', false);)
965: [04:27:14] <simon_w|air> ss23, burn!
966: [04:27:33] <Peavers> simon_w|air, you can answere before ss23 for extra creds
967: [04:28:33] <ss23> Peavers: Yes
968: [04:28:34] <ss23> :)
969: [04:28:51] <ss23> if it makes you feel better, I didn't help you before I worked here, and I won't help you after :D
970: [04:28:55] <Peavers> Yes isn't really an accepted response.
971: [04:29:01] <ss23> Sorry, I meant No
972: [04:29:01] <ss23> :)
973: [04:29:05] <simon_w|air> Peavers, eh, home time :p
974: [04:29:13] <ss23> Peavers: How is MoE going to handle their support anyway? Internal and escalate to us?
975: [04:29:42] <Peavers> I'll tell you when you tell me the function name
976: [04:29:54] <ss23> init()
977: [04:30:00] <Peavers> lies
978: [04:30:02] * simon_w|air quit (Quit: This computer has gone to sleep)
979: [04:30:04] <ss23> __construct()
980: [04:30:08] <Peavers> more lies
981: [04:30:18] <ss23> DUDE IDK
982: [04:30:19] <ss23> ;_;
983: [04:30:23] <ss23> I'm working, for PAYING clients
984: [04:30:25] <Peavers> you're supposed to know! lol
985: [04:30:28] <ss23> fucking solr
986: [04:30:28] <ss23> :<
987: [04:30:43] <irogue> protip: sphinx
988: [04:30:59] <Peavers> solr is written in java, I'm a java dev... I can help with solr...
989: [04:31:15] <ss23> XD
990: [04:31:21] <ss23> sphinx shit too
991: [04:31:30] <ss23> We migrated from sphinx, I presume solr seemed marginally less shit
992: [04:31:32] <irogue> but its not java
993: [04:32:08] <irogue> solr has more features but is resource-hungry (cos java)
994: [04:32:14] <irogue> sphinx is easy to implement
995: [04:32:35] <ss23> idc resources, I only care about module that SS uses for it!
996: [04:32:35] <ss23> :O
997: [04:32:43] <irogue> lol
998: [04:32:45] * Guest34885 has left #silverstripe
999: [04:32:59] <irogue> from memory the sphinx module for SS is half-finished
1000: [04:33:56] <irogue> i just self-implement
1001: [04:36:18] <Bollig|DesignCty> irogue: noo, fix the module
1002: [04:36:55] <ss23> "I'll just fork it internally" -- every developer ever
1003: [04:37:41] <ss23> http://www.thecivilian.co.nz/shock-as-mcdonalds-outlets-found-selling-dead-animals-to-children/
1004: [04:38:06] <irogue> Bollig|DesignCty: my implementation is different from "normal" though
1005: [04:38:14] <irogue> i only search DataObjects, not SiteTree
1006: [04:38:25] <Bollig|DesignCty> ………..
1007: [04:38:31] <Bollig|DesignCty> which aren't data objects?
1008: [04:39:38] <atmos> had nothing but issues with Solr so far, it can be pretty potent though
1009: [04:39:41] <irogue> well, specific dataobjects :P
1010: [04:40:09] <irogue> atmos: i think that's a pretty normal experience
1011: [04:40:56] <atmos> irogue: true - even worse when you index it with a 8 year old DMS
1012: [04:41:05] <irogue> Bollig|DesignCty: i may work on the module though, cos sphinx is awesome, and mysql fulltext is BALLS
1013: [04:41:24] <Bollig|DesignCty> HAIRY ones.
1014: [04:41:27] <Bollig|DesignCty> srsly.
1015: [04:41:28] * howardgrigg has joined #silverstripe
1016: [04:43:33] * mirrors quit (Quit: Page closed)
1017: [04:45:02] <atmos> Don't you need a license for sphinx?
1018: [04:45:23] <ss23> We have some clients using "silentone" here for DMS
1019: [04:45:23] <ss23> omg
1020: [04:45:25] <ss23> omgomgomgomng
1021: [04:46:08] * howardgrigg quit (Ping timeout: 260 seconds)
1022: [04:46:37] <atmos> ss23: that would be us. Not looking forward to pointing SS at the 'new' version of Silentone
1023: [04:48:18] <ss23> XD
1024: [04:48:21] <ss23> atmos: Are you a client of SS?
1025: [04:48:31] <ss23> Oh gosh, I have to be on good behaviour now don't I?! Another client of ours here!
1026: [04:49:17] <atmos> ss23: haha, I'm a dev of a client of yours
1027: [04:49:30] <atmos> ss23: *of SS
1028: [04:49:55] <ss23> Oh, can you tell me which one? It could be one I work on personally! (In fact, I'm working with one that uses silentone right now...)
1029: [04:50:12] <ss23> If "fuck solr" really rings a bell for you, then it's probably the client you do work for XD
1030: [04:50:24] <atmos> ss23: TDC?
1031: [04:50:27] <ss23> :D
1032: [04:50:28] <ss23> Yes!
1033: [04:50:35] <ss23> wait
1034: [04:50:43] <ss23> Yes :D
1035: [04:50:53] <ss23> There's TRC and TDC and I always mix them up
1036: [04:51:02] <atmos> ss23: haha, are you working on our metadata issues? Tasman Distr...
1037: [04:51:48] <ss23> atmos: I'm Stephen (the other guy who works on them is Jean). I'm working on uh... helping Jean with solr being weird at the moment, but yes search. One of them has been done and is waiting on response though!
1038: [04:51:53] * ss23 checks he actually did email about it
1039: [04:52:11] <Peavers> He supposed to be fixing links in email newsletters.
1040: [04:52:25] <ss23> Peavers: GO AWAY I HAVE A PAYING CLIENT I'M FIXING THINGS FOR :D
1041: [04:53:00] <ss23> atmos: Metadata one is done and commited! Liz should know
1042: [04:53:12] <atmos> ss23: I'm Patrick - I've been the one quietly sniggering away when I've had to commit the updates heh
1043: [04:53:16] <ss23> hahaha
1044: [04:53:31] <ss23> Well, nice to see you on here, Patrick :D
1045: [04:53:39] <Peavers> I'm Chris, I hate web dev and php.
1046: [04:53:40] <ss23> If you ever have anything you want an answer to quickly etc, it's faster to hit me up on here
1047: [04:53:57] <Bollig|DesignCty> (scary thought right there IMO… ;) )
1048: [04:54:09] <Peavers> lol ss23 it bloody is not
1049: [04:54:13] <Peavers> you're no use to anyone on hear.
1050: [04:54:16] <ss23> hahaha
1051: [04:54:20] <ss23> Peavers: I SEE NO TICKETS FROM YOU!
1052: [04:54:23] <ss23> NO TICKET? NO HELP! :D
1053: [04:54:27] <atmos> ss23: I've actually pushed up the 'TopConten't field Jean committed and bumped the return results to 15 as opposed to 10 - which has helped - we're just testing now hence no response
1054: [04:54:30] <wmk> g'morning
1055: [04:55:20] <ss23> atmos: Yeah, Jean said he was having problems with his solr server he was using not indexing a bunch of pages, so wanting to get taht fixed too (and find out how you guys manage to get it working in production!)
1056: [04:55:26] <atmos> ?+ oh and the 'Public Consultation' error I fixed :O
1057: [04:55:33] <atmos> bah
1058: [04:55:58] <ss23> Maybe this is why you don't mind solr, you actually can get it to work, meanwhile we have to try coerce it into doing stuff XD
1059: [04:57:17] * DigNZ quit (Quit: DigNZ)
1060: [04:57:28] <Pyromanik> ROFL
1061: [04:57:31] <Pyromanik> http://zachholman.com/posts/abusing-emoji/
1062: [04:58:42] <Colin[pi]> lol even in the terminal?
1063: [04:58:48] <ss23> old but lulz, Pyromanik
1064: [04:58:52] <Colin[pi]> cd [shirt]
1065: [04:58:57] <ss23> WAIT
1066: [04:59:01] <ss23> Thats not what I thought it was :O
1067: [04:59:04] <Colin[pi]> ssh colin@[turd]
1068: [04:59:15] <spronk> fucking emoji
1069: [04:59:19] <ss23> haha
1070: [04:59:20] * DigNZ has joined #silverstripe
1071: [04:59:21] * DigNZ quit (Read error: Connection reset by peer)
1072: [04:59:28] * kerosene has joined #silverstripe
1073: [05:00:03] <Peavers> seriouse question, why isn't ss paying attention to SSViewer:
1074: [05:00:03] <Peavers> rewrite_hash_links: false?
1075: [05:00:24] <ss23> Peavers: Do you mean paying attention to newsletter?
1076: [05:00:29] * nickmolhoek quit (Quit: nickmolhoek)
1077: [05:00:31] <Peavers> yup lol
1078: [05:00:52] <ss23> If so, seriously, it's because the company needs to make money, so we can't spend lots of time on opensource during work time, and people don't like doing it in personal time
1079: [05:01:01] <ss23> We have hackdays and things at work, but honestly, no one wants to work on newsletter module
1080: [05:01:04] <Peavers> what?
1081: [05:01:15] <Peavers> my question was, why are my config rules being ignored
1082: [05:01:21] <ss23> OH!
1083: [05:01:24] <ss23> I thought you meant the company...
1084: [05:01:25] <Peavers> you're a dork dude.
1085: [05:01:27] <ss23> XD
1086: [05:01:28] <Peavers> lol no.
1087: [05:01:32] <ss23> In my defence, they're the same acronym
1088: [05:01:38] <Peavers> lol
1089: [05:01:45] <Peavers> SSViewer: rewrite_hash_links: false
1090: [05:01:50] <Peavers> thought that bit would have made it obviouse
1091: [05:03:20] <atmos> ss23: the search is actually pretty tight now - it's the ****ing autosuggest
1092: [05:03:55] <ss23> The autosuggest looked *okay*. There's that issue with the rates thing, which is just... meh. It kind of goes back to the 2.4 days, where you couldn't have nested/urls/and/things
1093: [05:04:39] <atmos> ss23: yeah with most things it works well, but it refuses to update most of the time - and rates is the most hit seciton of the site :O
1094: [05:05:06] <atmos> ss23: I'm going to dump it tomorrow and see what happens :L
1095: [05:05:17] <ss23> :D
1096: [05:05:19] * simon_w|air has joined #silverstripe
1097: [05:05:35] <ss23> You're not the only client that has issues with it not updating!
1098: [05:06:01] <UncleCheese> if i have a PR that I want to submit to SilverStripe that has API changes, which branch do i submit it to?
1099: [05:06:19] <simon_w|air> master
1100: [05:06:19] <ss23> UncleCheese: Depends on the nature, but either 3.1 or master
1101: [05:06:40] <UncleCheese> yeah, i always pick the wrong one, and chillu has to correct me
1102: [05:06:45] <ss23> XD
1103: [05:07:08] <simon_w|air> There shouldn't have been API changes to 3.1 since the first beta :p
1104: [05:07:10] <UncleCheese> it's actually not an API change per se.. it's changing the inheritance chain of a class
1105: [05:07:22] <simon_w|air> How's that not an API change?
1106: [05:07:35] <ss23> UncleCheese: If you think it's something 3.1 will need (bug fix, a requirement etc) then 3.1, but if it's just "makes it nicer", master
1107: [05:07:44] <ss23> Like my refactoring, I *really* want in 3.1
1108: [05:07:46] <UncleCheese> ok, master it is
1109: [05:07:58] <simon_w|air> And if it's about making Extension extend Object, no :p
1110: [05:07:59] <ss23> (and technically it still works fine)
1111: [05:12:35] * Pyromanik quit (Quit: leaving)
1112: [05:14:18] <simon_w|air> Man, so glad State's 0800 allows mobile calls
1113: [05:14:48] <ss23> wtf...
1114: [05:14:52] <ss23> simon_w|air: o.o
1115: [05:14:52] <ss23> Why/
1116: [05:15:03] <ss23> WHERE ("ClassName" = 'Page') AND ("SiteTree_Live"."ClassName" IN ('Page','XmlPage'...)
1117: [05:15:06] <ss23> Really, Silverstripe?
1118: [05:15:12] <simon_w|air> I've been on hold for about 10 minutes now
1119: [05:15:22] <ss23> simon_w|air: Why are you rining state?
1120: [05:15:42] <simon_w|air> Renewal time and I have some questions
1121: [05:15:52] <ss23> lol
1122: [05:15:55] <ss23> You're the worst kind of developer!
1123: [05:16:54] <simon_w|air> Because I'm ringing someone?
1124: [05:16:55] <ss23> uh
1125: [05:16:56] <ss23> Customer
1126: [05:16:58] <ss23> Not developer
1127: [05:17:05] <ss23> Yes, implying that no one likes customers asking questions
1128: [05:17:06] <ss23> :P
1129: [05:17:09] <ss23> Sorry, my brain is dumb
1130: [05:18:45] <ss23> simon_w|air: If a *test* requires CMS, but the module doesn't... how do you make Travis work?
1131: [05:18:58] <simon_w|air> Change the test
1132: [05:19:06] <ss23> Any other things you could do?
1133: [05:19:38] <simon_w|air> hack around with the travis file and hooks?
1134: [05:19:52] <ss23> blargh
1135: [05:19:54] <ss23> hack around sounds hard
1136: [05:19:55] <ss23> :<
1137: [05:19:57] <ss23> ty thoguh
1138: [05:24:03] * markdowton quit (Ping timeout: 256 seconds)
1139: [05:24:53] * markdowton has joined #silverstripe
1140: [05:25:46] * Bollig|DesignCty has joined #silverstripe
1141: [05:29:50] <Colin[pi]> holy crap: https://www.youtube.com/watch?v=TWeJsaCiGQ0
1142: [05:30:04] <Colin[pi]> impressive engineering
1143: [05:34:52] * openbees has joined #silverstripe
1144: [05:38:50] <simon_w|air> The ending stinger's awesome
1145: [05:39:42] <ss23> simon_w|air: Hamish says the archiveDate issue isn't relevant for 2.4 too
1146: [05:39:51] <ss23> simon_w|air: Is https://github.com/silverstripe/silverstripe-cms/pull/824 enough to fix all issues, or you wanna comment on it? :D
1147: [05:41:54] <simon_w|air> Well, that's pretty much what 2.4 does
1148: [05:42:44] <ss23> Is it suffiecent, simon_w|air? Like, you know more about this issue than me, and it would be nice to make sure it's all dealt with goodly at once rather than a chain of 10 security releases in a row :P
1149: [05:42:55] <simon_w|air> Needs tests!
1150: [05:43:00] <ss23> replu
1151: [05:43:01] <ss23> reply
1152: [05:43:02] <ss23> :3
1153: [05:43:09] <spronk> yeah
1154: [05:43:10] <spronk> needs tests
1155: [05:43:12] <spronk> for example
1156: [05:43:18] * robert_ has joined #silverstripe
1157: [05:43:24] <spronk> that doesn't make me confident that it'll fix the tomorrow's date bug
1158: [05:46:23] <simon_w|air> Well, it means if you're setting ?archivedDate when accessing a Page or subclass directly, you'll get 403-ed
1159: [05:46:49] <simon_w|air> So I bring up a case that isn't fixed!
1160: [05:54:15] * EasyCo quit (Ping timeout: 260 seconds)
1161: [06:00:33] * Stomach quit (Quit: Leaving.)
1162: [06:01:35] <Colin[pi]> ss23: I'm on 2.4 and the archiveDate issue is most certainly relevant
1163: [06:01:53] <simon_w|air> Colin[pi], you can use it when not logged in?
1164: [06:01:57] <Colin[pi]> yep
1165: [06:02:12] <simon_w|air> And you're on 2.4.11?
1166: [06:02:14] <Colin[pi]> let me double check
1167: [06:02:23] <simon_w|air> Which came out this morning :p
1168: [06:02:38] <Colin[pi]> 2.4.10 :P
1169: [06:03:21] <simon_w|air> Gosh, get with the times :p
1170: [06:03:53] <Colin[pi]> wait so .11 fixes it or no?
1171: [06:04:02] <simon_w|air> No idea!
1172: [06:04:25] <simon_w|air> But there's a check in ContentController in 2.4.x-dev for archivedDate
1173: [06:05:54] * Shrike_Finland has joined #silverstripe
1174: [06:13:57] <ss23> hmm
1175: [06:14:17] <ss23> Colin[pi]: To confirm, uh...
1176: [06:14:18] <ss23> Can you confirm?
1177: [06:14:28] <ss23> Like, simon_w|air, I can respond to hamish and be like "lol no ur wrong", but how 2 confirm?
1178: [06:15:16] <simon_w|air> It's more there's still the metadata disclosure in 2.4. Like, you can do ?stage=Stage and get all the stage titles
1179: [06:16:01] <ss23> simon_w|air: Hamish said that was a non issue, and that any place it is an issue, ti's a problem with the module/code that doesn't do canView on every dataobect/page
1180: [06:16:13] <ss23> simon_w|air: At the end of the day, I don't understand enough to make sure this is fixed properly
1181: [06:16:27] <simon_w|air> ss23, A canView() check only works in 3.1
1182: [06:16:30] <ss23> I just want ot make sure that someone that does (you :D) can like... find out if it's not *before* we do security releases for everything
1183: [06:16:59] <ss23> This srsly seems like a good topic to have on the dev list
1184: [06:17:00] <ss23> :/
1185: [06:17:05] <ss23> </3 closed source 'security'
1186: [06:19:07] <simon_w|air> So, sticking http://www.sspaste.com/paste/show/5203377ec1377 as an extension on SiteTree should fix it in 2.4/3.0
1187: [06:19:09] <simon_w|air> Colin[pi], ^^
1188: [06:21:07] <ss23> simon_w|air: If thats a better solution than what Hamish said and will actually fix it, maybe it's better to suggest that?
1189: [06:21:10] <ss23> Like
1190: [06:21:12] <ss23> simon_w|air: you know what I mean? ;_;
1191: [06:21:20] <simon_w|air> ss23, look at my comment :p
1192: [06:21:26] <simon_w|air> (and the one I'm about to make)
1193: [06:21:30] <ss23> :D
1194: [06:21:32] <ss23> sweet
1195: [06:21:33] <ss23> idk
1196: [06:21:34] <ss23> I'm nervous
1197: [06:21:36] * ss23 runs around
1198: [06:25:30] <simon_w|air> So, 3.0's the only version where you can actually get at stuff you shouldn't be able to
1199: [06:25:38] <simon_w|air> 2.4 show's the metadata
1200: [06:25:42] <simon_w|air> *shows
1201: [06:28:02] <ss23> simon_w|air: It still sets the session cookie, so the DoS (ish) vector exists I guess
1202: [06:28:19] <ss23> It's annoying... enough that I think it should be fixed. Debatable whether it's security, but it does come into the avaibility side of thing
1203: [06:28:23] <ss23> things
1204: [06:29:20] <simon_w|air> Yeah, the 404 means the redirect doesn't happen, so you don't have the link to return to the live mode
1205: [06:29:44] * EasyCo has joined #silverstripe
1206: [06:37:14] * Shrike_Finland1 has joined #silverstripe
1207: [06:37:14] * Shrike_Finland quit (Read error: Connection reset by peer)
1208: [06:39:11] * Shrike_Finland has joined #silverstripe
1209: [06:41:05] * Shrike_Finland2 has joined #silverstripe
1210: [06:42:11] * howardgrigg has joined #silverstripe
1211: [06:43:07] * Shrike_Finland1 quit (Ping timeout: 264 seconds)
1212: [06:43:54] * Shrike_Finland quit (Ping timeout: 264 seconds)
1213: [06:48:14] * Shrike_Finland2 quit (Ping timeout: 240 seconds)
1214: [06:51:51] * Shrike_Finland has joined #silverstripe
1215: [06:54:41] * priithansen has joined #silverstripe
1216: [06:57:31] * Peavers quit (Ping timeout: 264 seconds)
1217: [06:57:37] * Shrike_Finland1 has joined #silverstripe
1218: [07:01:10] <ss23> Where is Ingo when you need him
1219: [07:01:25] * Shrike_Finland quit (Ping timeout: 248 seconds)
1220: [07:03:21] <spronk> whaa
1221: [07:03:39] <ss23> His pull request broke stuff
1222: [07:03:39] <ss23> :<
1223: [07:03:55] <spronk> sigh
1224: [07:04:34] <ss23> Awww
1225: [07:04:37] * ss23 pets spronk
1226: [07:04:38] <ss23> Whats up?
1227: [07:06:30] <spronk> o_O
1228: [07:06:32] <spronk> i was .. empathising
1229: [07:06:34] * PigeonFriend has joined #silverstripe
1230: [07:06:36] <ss23> oic
1231: [07:06:37] <ss23> Okay
1232: [07:06:42] <spronk> but
1233: [07:06:44] <spronk> there is one thing
1234: [07:06:45] <ss23> I thought you were like "SIGH I HATE SHIT FUCK"
1235: [07:06:48] <spronk> i cbf updating site files
1236: [07:06:50] <ss23> lol
1237: [07:07:00] <spronk> probably should upgrade to 3.1
1238: [07:07:03] <spronk> but its still prerelease..
1239: [07:07:48] <ss23> 3.1 is stable enough for me
1240: [07:08:11] <ss23> PigeonFriend: Just an FYI, you know about the security release for 2.4?
1241: [07:09:18] <PigeonFriend> nope, but I'll take a look - what's it to prevent?
1242: [07:09:25] <ss23> PigeonFriend: pre-auth SQLi
1243: [07:09:27] <ss23> Pretty much the worst
1244: [07:09:27] <ss23> :P
1245: [07:09:33] <simon_w|air> Hmm, maybe I should get ss-log to announce security releases on join along with logging
1246: [07:09:43] <PigeonFriend> lol
1247: [07:09:50] <PigeonFriend> how did that get in there :(
1248: [07:09:54] <ss23> Could be handy, seems like no one here pays attention to announcements
1249: [07:09:54] <ss23> :P
1250: [07:10:01] <ss23> PigeonFriend: I don't even know
1251: [07:10:14] <PigeonFriend> Generally I do... but i just don't pay attention to 2.4 anymore :P
1252: [07:10:14] <simon_w|air> PigeonFriend, in a feature almost no one directly uses
1253: [07:10:20] <ss23> You know the worst part... SilverStripe has been audited, a lot more than once
1254: [07:10:25] <ss23> PigeonFriend: 3.X got a reelease too!
1255: [07:10:28] <ss23> It's just no one cares about that
1256: [07:10:30] <spronk> auditing is bullshit
1257: [07:10:33] <ss23> ikr
1258: [07:10:36] <PigeonFriend> Auditors don't know what they are doing
1259: [07:10:37] <ss23> "lol u ticked boxes!"
1260: [07:10:37] <spronk> pen testing is the only way to go
1261: [07:10:46] <ss23> spronk: It's been pentested too
1262: [07:10:46] <ss23> :P
1263: [07:10:49] <spronk> yeah
1264: [07:10:52] <spronk> evidently by muppets
1265: [07:10:53] <spronk> or
1266: [07:10:56] <ss23> lol
1267: [07:11:00] <spronk> without sufficient budget
1268: [07:11:06] <ss23> Though really
1269: [07:11:17] <PigeonFriend> so 3.1 is released with a known critical bug?
1270: [07:11:18] <simon_w|air> Pentesting isn't supposed to pick up everything
1271: [07:11:20] <ss23> If its taken the entire OSS community this long to realise, I can't imagine the budget required to find it in terms of man hours :P
1272: [07:11:29] <spronk> yeah
1273: [07:11:32] <ss23> PigeonFriend: 3.1 hasn't been released yet
1274: [07:11:34] <spronk> this is the problem with open source software
1275: [07:11:36] <ss23> PigeonFriend: The SQLi is 2.4 only
1276: [07:11:57] <spronk> the whole... many eyes on the code thing is bs
1277: [07:12:00] <simon_w|air> The amount of root escalation bugs in Linux shows that
1278: [07:12:01] <ss23> PigeonFriend: Another issue, non admins being able to flush, was addressed earlier in 3.1.dev and today in 3.0
1279: [07:12:13] <spronk> in practice there are what
1280: [07:12:14] <ss23> simon_w|air: I don't expect any other OS to have less
1281: [07:12:15] <spronk> 5? people
1282: [07:12:26] <spronk> that understand these parts of SS well enough?
1283: [07:12:37] <ss23> spronk: Me and you found this one, adn we don't understand SS
1284: [07:12:37] <ss23> :D
1285: [07:12:57] <simon_w|air> spronk, you're optimistic. There's about that much that'll be able to understand the code without having to cross-reference the entire codebase
1286: [07:13:19] <simon_w|air> I still had to check in at least three separate places to get past my WTF
1287: [07:13:26] <spronk> yeah
1288: [07:13:30] <ss23> The guy who found this sqli didn't know SS at all
1289: [07:13:36] <ss23> He was actually testing his source auditor
1290: [07:13:37] <PigeonFriend> ss23: ok, i thought you meant 3.1 was released when you said 3.X - and i meant another bug
1291: [07:13:46] <ss23> Aw k
1292: [07:13:48] <openbees> till now we delivered 4 projects on ss3.1
1293: [07:13:49] <PigeonFriend> non admins being able to flush was both annoying, but helpful
1294: [07:13:54] <ss23> yeah
1295: [07:14:00] <simon_w|air> Still can in dev
1296: [07:14:09] * ocm has joined #silverstripe
1297: [07:14:11] <ocm> howdy!
1298: [07:14:13] <simon_w|air> But you can't flush=all in dev without admin D:
1299: [07:14:18] <spronk> should have been a config preference
1300: [07:14:39] <simon_w|air> spronk, then people turn it on in dev and forget to turn it off in live
1301: [07:14:42] <ss23> hai ocm ^.^
1302: [07:14:49] <ss23> ocm: Remember, there's been a critical 2.4 release
1303: [07:14:50] <ss23> :)
1304: [07:14:54] <simon_w|air> People be stupid, yo
1305: [07:14:56] <spronk> but if you can ?flush in dev...
1306: [07:15:00] <spronk> no need to turn it on
1307: [07:15:09] <ocm> ss23, thnx for the notification on that
1308: [07:15:09] <spronk> so only people who want it live would be turning it on, one would imagine
1309: [07:15:20] <ocm> like I am not drowning already in tickets before my vacation :D
1310: [07:15:23] <ocm> haha
1311: [07:15:26] <ss23> XD
1312: [07:15:33] <ss23> ocm: But I went through and closed some pull requests for you!
1313: [07:15:34] <ss23> :D
1314: [07:15:36] <PigeonFriend> ss23L: hmm, i think I've seen issues where there have been abilities to do SQL injection like that via the CMS... it seemed like the CMS was initially built as if the user in the CMS was trusted
1315: [07:15:50] <ss23> PigeonFriend: I'm only aware of one SQLi post-auth
1316: [07:15:55] <ss23> And I'll be dammed if I can't bloody find where it is
1317: [07:16:03] <ss23> I remember talking to ingo about it, then forgeting to email...
1318: [07:16:05] <ocm> appreciate the work on that :D
1319: [07:16:20] <PigeonFriend> DOM was a big culprate that I patched a few times, iirc
1320: [07:16:22] * simon_w|air goes poking in ss-log
1321: [07:16:22] <ocm> this week is been like hell, rounding things up
1322: [07:16:33] <simon_w|air> PigeonFriend, DOM was shit to start with :p
1323: [07:17:04] <ss23> PigeonFriend: If you do know of anything like that thouhg, let me know. I'm working at SS now, so I can poke the security team (WHCIH INCLUDES ME KIND OF, YAY)
1324: [07:17:07] <ss23> :D
1325: [07:18:13] <PigeonFriend> ss23: I can't recall where I've seen it before - I *think* it had something to do with CSV exporting or something.. but maybe not. I noticed it long before SS moved to github
1326: [07:18:20] <PigeonFriend> so could easily be patched now
1327: [07:18:58] * ARNHOE has joined #silverstripe
1328: [07:23:00] * chillu has joined #silverstripe
1329: [07:23:11] <ss23> Oh look, chillu is here now :D
1330: [07:23:22] <ss23> PigeonFriend: Yes, the CSV stuff was ehere I found it!
1331: [07:23:38] <ss23> PigeonFriend: Likely the same issue then. It was reported as like "can't export anything with quotes in CSV", and got ignored on the tracker for like 3 years
1332: [07:23:42] <ss23> XD
1333: [07:25:24] <ss23> chillu: I sent you an email! If you want to discuss it, just give me a poke -- I'd love to get it sorted ASAP if possible (though of course, I know you're busy, so just replying when you get time is fine too)
1334: [07:25:57] <Bollig|DesignCty> GO YOU'RE SO DEMANDING ss23! ;)
1335: [07:26:18] <ss23> XD
1336: [07:26:19] <ss23> I know
1337: [07:26:40] <ss23> It's annoying... if I say nothing, emails sit around and it's a week then I remind them and they're like "eh, sorry, I forgot!" but I hate being all demanding!!!!!
1338: [07:26:43] * ss23 dies
1339: [07:27:56] * ss-log_ has joined #silverstripe
1340: [07:28:01] * simon_w|air has left #silverstripe
1341: [07:28:01] * simon_w|air has joined #silverstripe
1342: [07:28:10] <simon_w|air> Woo! It works!
1343: [07:28:18] * ss-log_ quit (Remote host closed the connection)
1344: [07:28:32] <ss23> :D
1345: [07:28:41] <simon_w|air> Three lines of code :)
1346: [07:29:11] <PigeonFriend> ss23: glad my memory serves me well then!
1347: [07:29:51] <simon_w|air> Now, to remember how to update the actual ss-log binary...
1348: [07:30:40] <lewellyn> aha. i found the source of the ding. now to figure out why channel notices are dinging again. :(
1349: [07:31:19] <chillu> ss23: Thanks for the email. I don't have time to do more open source this week, so if you can send around a patch (via email, not github) that's a good start.
1350: [07:32:06] * UncleCheese quit (Quit: UncleCheese)
1351: [07:32:10] <PigeonFriend> chillu: I proved that lazy loading bug! someone needs to be on it :P
1352: [07:32:35] * ss-log has joined #silverstripe
1353: [07:32:40] <simon_w|air> PigeonFriend, how about you? :p
1354: [07:32:43] * simon_w|air has left #silverstripe
1355: [07:32:43] * simon_w|air has joined #silverstripe
1356: [07:32:58] <PigeonFriend> simon_w|air: see my original bug ticket - way over my head
1357: [07:33:08] <ss23> chillu: this is billable opensource, since it's for a client. The patch would be just not to do the prefilter stuff, but that will break more, so I need someone who understands the ORM to fix up the prefilter branch to work properly. I can probably push it off to halkyon tomorrow for hackday if you don't have time though?
1358: [07:33:11] <PigeonFriend> i think it's an architecture problem
1359: [07:33:23] <ss23> Oh I have a lazyloading bug too
1360: [07:33:24] <ss23> :D
1361: [07:33:28] <ss23> simon_w|air: Fix our bugs!
1362: [07:33:44] * ss-log has joined #silverstripe
1363: [07:33:57] <PigeonFriend> https://github.com/silverstripe/silverstripe-framework/issues/1682
1364: [07:34:12] * simon_w|air has left #silverstripe
1365: [07:34:12] * simon_w|air has joined #silverstripe
1366: [07:34:20] <simon_w|air> -ss-log- New SilverStripe security releases for 2.4 and 3.0 are available. Check the topic for details.
1367: [07:34:21] <simon_w|air> :)
1368: [07:34:58] <ss23> simon_w|air~ Wanna help me with some ORM stuff? :D
1369: [07:35:09] <simon_w|air> What sort of help...
1370: [07:35:11] <ss23> Hmm
1371: [07:35:14] <ss23> make the code work, kind of help?
1372: [07:35:15] <ss23> :D
1373: [07:35:22] <ss23> I think it'll be small
1374: [07:35:24] <simon_w|air> That one I can properly feel like doing!
1375: [07:35:30] <ss23> :D
1376: [07:36:10] <ss23> simon_w|air: https://github.com/silverstripe-big-o/silverstripe-fulltextsearch/blob/pulls/index-prefilter/code/solr/Solr.php#L224
1377: [07:36:28] <ss23> simon_w|air: This is meant to, basically, get the list of things to be indexed. Issue is that the SQL ends up looking like
1378: [07:36:43] <ss23> simon_w|air: https://gist.github.com/ss23/6182397
1379: [07:36:55] <ss23> where class = Page and class IN (subclasses)
1380: [07:37:46] <ss23> So the code that runs looks probably like
1381: [07:38:51] <ss23> simon_w|air: https://gist.github.com/ss23/6182417 -- which gives that SQL I showed
1382: [07:39:11] <simon_w|air> ss23, $options['include_children'] is set?
1383: [07:39:18] <ss23> simon_w|air: Yes
1384: [07:39:29] <simon_w|air> And is that supposed to make it not include children?
1385: [07:39:34] <simon_w|air> Cause that's what it's doing
1386: [07:39:54] <ss23> Oh, is it like... opposite?
1387: [07:40:17] <ss23> Remove the $list->filter('ClassName', 'Page'); and it'll get subclasses? :O
1388: [07:40:48] <ss23> Oh look at that
1389: [07:40:49] <ss23> :D
1390: [07:40:59] <ss23> wait
1391: [07:43:02] <simon_w|air> ss23, I have a feeling that the ifs on lines 220 and 261 should start with a !
1392: [07:43:45] <simon_w|air> Yeah, looking at the commit, that's what the original code did
1393: [07:45:13] <ss23> Trust chillu to accidently reverse functionality like that! :D
1394: [07:45:20] <ss23> ty simon_w|air, that is a lot easier fix than I was thinking
1395: [07:45:30] <ss23> simon_w|air: Can I like... ammed someone elses commit?
1396: [07:45:34] <ss23> Or like... how 2 approach fixing this in opensource?
1397: [07:46:21] <simon_w|air> Yes you can, but that can probably wait until (if) it gets turned into a PR
1398: [07:46:28] <ss23> It's already a PR!
1399: [07:46:29] <ss23> :D
1400: [07:46:35] <ss23> It's been sitting there for like 6 months
1401: [07:46:44] <guzzlefry> hm
1402: [07:47:01] <guzzlefry> is URLATT() what I want to call on a string to encode spaces to %20?
1403: [07:47:09] <simon_w|air> Haha, then yeah, amend and force push
1404: [07:47:21] <ss23> The fulltextsearch module is in a sad state, worse so with random forks like this :<
1405: [07:47:24] <ss23> sadpanda
1406: [07:47:37] <ss23> guzzlefry: urlencode()?
1407: [07:47:43] <simon_w|air> guzzlefry, that or RAWURLATT
1408: [07:47:56] <guzzlefry> ah, thanks
1409: [07:48:06] <simon_w|air> ss23, templates!
1410: [07:48:08] <ss23> Smoething is going weiiiirrrdddd. solr says it indexed ~2k pages, but only returns 37 results
1411: [07:48:12] <ss23> blargh
1412: [07:48:14] <ss23> </3 templates
1413: [07:48:32] <guzzlefry> simon_w|air: Isn't there something in the coding convention saying that template functions should be lowercase?
1414: [07:48:39] <guzzlefry> going off very vague memory :P
1415: [07:49:03] <simon_w|air> Nope. Template methods should be upper camel case
1416: [07:49:10] <simon_w|air> Action methods should be lowercase
1417: [07:49:17] <simon_w|air> Other methods should be lower camel case
1418: [07:49:35] <simon_w|air> And methods are all case-insensitive, so whatever :p
1419: [07:50:22] <guzzlefry> oh :P
1420: [07:53:22] <ss23> simon_w|air: I don't want to ammend this commit, cause that will screw up other people using this code, since people use this in production. I can just uh...
1421: [07:53:25] <ss23> how to best handle...?
1422: [07:53:34] <ss23> Close that PR, update this branch, create new PR, right?
1423: [07:53:47] <simon_w|air> ss23, a push updates the PR
1424: [07:53:57] <ss23> Oh, so it'll just have two commits, right?
1425: [07:54:02] <simon_w|air> Yeah
1426: [07:54:06] <ss23> Sweeeet, idc about that
1427: [07:54:20] <ss23> squashing commits will be worse than two commits in this case, IMO
1428: [07:56:02] * Zauberfisch_ quit (Ping timeout: 246 seconds)
1429: [07:56:22] <simon_w|air> "The requested URL /~simon/logbot/index.php was not found on this server."
1430: [07:56:22] <simon_w|air> Hmmm, oops.
1431: [07:56:45] <simon_w|air> Oh right, I moved it
1432: [07:56:58] <simon_w|air> Now it's in a www folder
1433: [07:57:43] <ss23> chillu: Can you give me access to silverstripe-big-o? Or would you rather I do a PR to update that repo, so the PR updates for mainline?
1434: [07:57:47] <ss23> God, so many forks
1435: [08:00:38] <chillu> Send a PR for now, I'm no longer in Big O you'll need to ask Julian S.
1436: [08:00:42] <ss23> sweet
1437: [08:01:36] <Zauberfisch> chillu ss23 what is this big o group anyway? :O
1438: [08:01:49] <ss23> Zauberfisch: Internal silverstripe team that has their own github! :<
1439: [08:02:09] <ss23> Also known as "Big No"
1440: [08:02:14] <ss23> :D
1441: [08:02:16] <Zauberfisch> :D
1442: [08:02:33] <ss23> We also have Science Ninjas. Also known as Science Whingers
1443: [08:02:42] <ss23> :P
1444: [08:03:19] <simon_w|air> Does Big O at least always go on about the worst case?
1445: [08:03:24] <ss23> lol
1446: [08:03:36] <ss23> Close, they ARE the worst case!
1447: [08:03:38] <ss23> :D
1448: [08:03:46] * Zauberfisch_ has joined #silverstripe
1449: [08:03:58] <ss23> simon_w|air: So do you know of any modules that do the different composer.json for tests vs normal?
1450: [08:04:06] <simon_w|air> ss23, nope
1451: [08:04:11] <ss23> Annoying... :<
1452: [08:04:21] <simon_w|air> Zauberfisch_, look, you got told about the security releases, right?
1453: [08:04:32] <ss23> simon_w|air: Is there a command line switch to install all recommended packages too, so that travis can just do that?
1454: [08:05:49] <simon_w|air> ss23, um, doubt it
1455: [08:06:19] <Zauberfisch> ss23: so the cool kids at ss have grouped together in gangs?
1456: [08:06:24] <ss23> yep yep
1457: [08:06:30] <ss23> You'll never find out the name of my gang
1458: [08:06:30] <ss23> :D
1459: [08:07:03] <simon_w|air> "The Support Bitch"?
1460: [08:07:48] <ss23> Hey hey, there's more than one of us
1461: [08:07:50] <ss23> Support Bitches
1462: [08:07:51] <ss23> :D
1463: [08:08:06] * markdowton quit (Quit: markdowton)
1464: [08:08:06] <simon_w|air> Did mandrew join your group then?
1465: [08:08:11] <ss23> hahahaha
1466: [08:08:19] <simon_w|air> Cause that was basically his job before he left
1467: [08:08:37] <chillu> ss23: So you've figured out the index-prefilter stuff? Its just a reversed conditional
1468: [08:08:49] * howardgrigg quit (Remote host closed the connection)
1469: [08:08:56] <ss23> chillu: Yeah, got it :P
1470: [08:09:00] <ss23> I thought it was more complex!
1471: [08:15:27] * mobiusnz quit (Quit: Leaving.)
1472: [08:16:39] * mobiusnz has joined #silverstripe
1473: [08:18:47] <Zauberfisch> simon_w|air: what about the release?
1474: [08:19:10] <simon_w|air> Zauberfisch, you got a message about it when Zauberfisch_ joined?
1475: [08:20:11] <Zauberfisch> simon_w|air: I am not sure what you mean
1476: [08:20:34] <ss23> Zauberfisch: simon_w|air configured ss-log to tell people about the 2.4 release on join
1477: [08:20:37] * ss23 has left #silverstripe
1478: [08:20:38] * ss23 has joined #silverstripe
1479: [08:20:40] <ss23> did you get the message?
1480: [08:20:46] <ss23> eh
1481: [08:20:48] <ss23> no one is going ot read it!
1482: [08:20:49] <simon_w|air> There's two of you. The one with the underscore should've gotten a message
1483: [08:20:52] <Zauberfisch> ah, I see, let me check
1484: [08:21:20] <simon_w|air> ss23, doing it in a way that should make sure they see it's spammy
1485: [08:21:23] * LoveDuckie has left #silverstripe
1486: [08:21:36] <Zauberfisch> simon_w|air: yes, got it, just didn't notice it
1487: [08:21:40] <ss23> yeah ik
1488: [08:21:58] <Zauberfisch> notices go into its own window
1489: [08:22:18] <Zauberfisch> and I don't really care about that window since its mostly just bots
1490: [08:22:20] <simon_w|air> Yeah, that's probably fairly common
1491: [08:22:32] <simon_w|air> Mine just show up inline
1492: [08:22:36] <simon_w|air> Much nicer
1493: [08:25:23] <ss23> Mine count as non-talking activity, so I get to them, but not quickly as talking
1494: [08:25:29] <ss23> (e.g. same as join/parts)
1495: [08:31:45] * lobarvaz has joined #silverstripe
1496: [08:35:37] <Shrike_Finland1> Hi, is it normal that buttons on bottom of admin interface are not translated?
1497: [08:36:41] <Shrike_Finland1> I'm testing the latest version from github
1498: [08:37:54] * Colin[pi] quit (Read error: Connection reset by peer)
1499: [08:46:56] * Nightjar has joined #silverstripe
1500: [08:58:58] * micmania1 has joined #silverstripe
1501: [08:59:38] * LoveDuckie has joined #silverstripe
1502: [09:05:45] <wmk> Shrike_Finland1, buttons should be translated, at least they should utilize _t().
1503: [09:05:59] <wmk> you can add missing translations at transifex
1504: [09:06:51] <priithansen> getlocalization.com is out and transifex is in?
1505: [09:15:41] * SightUnseen has joined #silverstripe
1506: [09:16:01] * SightUnseen has left #silverstripe
1507: [09:17:17] <Nightjar> apparently, yes.
1508: [09:17:24] <Nightjar> it would seem so.
1509: [09:17:41] <wmk> yes it is.
1510: [09:18:19] <wmk> chillu moved also core to transifex, he wrote to dev list last week
1511: [09:18:26] <priithansen> ah nice to see the docs have catched up too
1512: [09:18:48] <wmk> priithansen, is the merge in now? yesterday it was not...
1513: [09:19:01] <chillu> I still need to actually remove the getlocalization project, but figured i'd give it a bit of cutover time for safety
1514: [09:19:16] * howardgrigg has joined #silverstripe
1515: [09:19:31] <priithansen> http://doc.silverstripe.org/framework/en/trunk/misc/contributing/translation < seems to point to the right place
1516: [09:21:31] <wmk> chillu, https://github.com/silverstripe/silverstripe-framework/blob/3.1/lang/de.yml there are some german strings without quotation
1517: [09:21:41] <wmk> even two word strings
1518: [09:21:49] <wmk> is this ok?
1519: [09:22:06] * LoveDuckie quit (Read error: Connection reset by peer)
1520: [09:22:30] <chillu> wmk: Do they show up in your CMS UI correctly? Not sure in terms of the YAML standard, but at least the transifex and SS parsers don't complain
1521: [09:22:59] <chillu> all the different parsers and generators seem to have different ideas on what to quote, and that changes over time as well - SO MUCH FUN
1522: [09:23:07] <wmk> chillu, well, not tested right now, i just read the source.
1523: [09:23:19] <ss23> Well, *someone* decided to use YML unstead of JSON or XML master race
1524: [09:23:19] <ss23> :3
1525: [09:23:42] <wmk> i can feel you, chillu
1526: [09:23:42] <Nightjar> oh
1527: [09:23:44] <Nightjar> you
1528: [09:23:52] * howardgrigg quit (Ping timeout: 264 seconds)
1529: [09:24:00] <ss23> :D
1530: [09:24:21] <wmk> ss23, for manual editing yml is very good. unless you put tab instead of spaces
1531: [09:24:34] <Nightjar> it should be tabs!
1532: [09:24:53] <wmk> should !== is ??
1533: [09:24:55] <simon_w|air> hmm, redis notification of key events is currently in unstable. Do we use it in production...
1534: [09:24:56] <chillu> JSON is even less standardized in terms of translations (tooling support), and everybody hates XML (XLIFF)
1535: [09:25:03] <Nightjar> wmk: this is true.
1536: [09:25:15] <ss23> Come on, simon_w|air... :3
1537: [09:25:21] <ss23> simon_w|air: Weigh into this discussion :D
1538: [09:25:33] <simon_w|air> XML 4 lyfe?
1539: [09:25:38] <ss23> XD
1540: [09:25:44] <chillu> On the good note, we *can* switch between formats pretty easily now (much easier than in 2.4)
1541: [09:25:52] <openbees> damn 0% translation for Hindi #shame
1542: [09:26:03] <ss23> Just you know, migrating like a million modules, a lot of which still haven't even got on composer
1543: [09:26:06] <ss23> :P
1544: [09:26:07] <chillu> Off you go Vikas, translation time! :D
1545: [09:26:16] <simon_w|air> Also, not using Zend_* would be a great plus!
1546: [09:26:17] <openbees> yaah looks like
1547: [09:26:18] <wmk> nevermind, transifex has a nice ui, but is IMHO quite expensive for non OSS (just for use as yml editor / get changes in master file)
1548: [09:26:19] <ss23> simon_w|air: ++
1549: [09:27:05] <chillu> simon_w|air: Alternatives? I hope you're not advocating yet another roll-your-own solution ;)
1550: [09:27:06] * micmania2 has joined #silverstripe
1551: [09:27:15] <ss23> lol
1552: [09:27:34] <ss23> You have to think, would our solutinos mean or more less owrk?
1553: [09:27:37] <ss23> more or less work*
1554: [09:28:29] <wmk> ss23, depends. /me is just adjusting displayanything to 3.1 / frontend form
1555: [09:28:41] <simon_w|air> Seriously, the few times I've had to use the Zend classes that SS uses, I've given up and just written my own. So much nicer, less headaches and it works
1556: [09:29:06] <simon_w|air> Oh goody, Redis 2.8 is up to RC2. Safe for us to use then :)
1557: [09:29:07] <ss23> I have to say, they do seem buggy and... bad.
1558: [09:29:17] <Nightjar> redis?
1559: [09:29:19] * micmania1 quit (Ping timeout: 264 seconds)
1560: [09:29:33] <ss23> Nightjar: the fancy fast k/v store
1561: [09:29:36] <ss23> It's p. cool.
1562: [09:29:44] <Nightjar> so like
1563: [09:29:47] <Nightjar> mongo and couch
1564: [09:29:49] <Nightjar> only faster
1565: [09:29:51] <Nightjar> a faster mongo
1566: [09:29:54] <simon_w|air> Nightjar, Redis is to Memcached link Postgres is to MySQL
1567: [09:29:59] <Nightjar> a speedier couch?
1568: [09:30:16] <Nightjar> oic, that kind of kv store
1569: [09:30:38] <wmk> is there a way to determine if an ajax request is made from frontend or from backend (leftandmain) ?
1570: [09:30:52] <Nightjar> HTTP_REFERRER/
1571: [09:30:54] <Nightjar> ??
1572: [09:30:59] <ss23> lol Nightjar
1573: [09:31:05] <simon_w|air> Controller::curr() instanceof LeftAndMain?
1574: [09:31:20] <ss23> $_SERVER['URL']
1575: [09:31:22] <ss23> :D
1576: [09:31:38] <wmk> ok, thanks for the input ;)
1577: [09:31:54] <simon_w|air> ss23, it's $_GET['url'], gosh :p
1578: [09:31:59] <Nightjar> do what simon_w|air said, he's more righter
1579: [09:32:05] <ss23> pish posh!
1580: [09:32:39] <Nightjar> do you actually say that irl?
1581: [09:32:50] <Nightjar> I can't imagine it
1582: [09:32:52] <ss23> lol
1583: [09:32:58] <ss23> Hmm, I don't think so
1584: [09:33:07] <ss23> I said "cuss" the other day and everyone was like "LOL Y U SAY CUSS"
1585: [09:33:09] <Nightjar> it sounds like onomatapeia
1586: [09:33:13] <Nightjar> for someone taking a lumpy shit
1587: [09:33:21] <ss23> I didn't even know cuss was meant to be so archaic that people thought it was weird
1588: [09:33:31] <Nightjar> really?
1589: [09:33:33] <Nightjar> :<
1590: [09:33:38] <Nightjar> no one told me either
1591: [09:33:41] <ss23> IKR
1592: [09:33:47] <ss23> Someone was like "LOL MY GRANDMA SAYS CUSS"
1593: [09:33:48] <ss23> like whaaaat
1594: [09:34:05] <Nightjar> http://zachholman.com/posts/swearing/
1595: [09:34:08] <ss23> I totally didn't check how long the meetings I went to today were...
1596: [09:34:15] <ss23> hmm
1597: [09:34:19] * ss23 puts down as 3 hour meeting
1598: [09:34:38] <simon_w|air> That's what IRC logs are for!
1599: [09:35:01] <ss23> :O
1600: [09:35:10] <ss23> It would work, but just as I got back from lunch I went to a meeting iirc
1601: [09:35:17] <ss23> or it might've been just as I left the meeting I got lunch
1602: [09:35:18] <ss23> hmm
1603: [09:35:23] <simon_w|air> Seriously, best time tracking stuff I've got at the moment
1604: [09:35:37] <Nightjar> ^^
1605: [09:35:43] <Nightjar> I've done this on a number of occasions
1606: [09:36:02] <Nightjar> "I asked this question then, so I must have been working on..."
1607: [09:38:09] * Shrike_Finland1 quit (Quit: Leaving.)
1608: [09:39:07] <simon_w|air> ss23, if you can't use IRC for your time tracking you're using it wrong
1609: [09:39:19] <ss23> I know, I need to IRC more
1610: [09:39:22] <ss23> so I have proper blocks defined
1611: [09:40:59] <ss23> Hmm
1612: [09:41:09] <ss23> Even worse than not knowing how long something latest, not knowing what I did all day!
1613: [09:41:34] <Nightjar> oh that is the worst.
1614: [09:41:41] <ss23> admin/breaks it is :D
1615: [09:41:45] <ss23> srsly I've been here almost 12 hours
1616: [09:41:56] <ss23> :<
1617: [09:41:57] <Nightjar> the kind of day you get 100201501501235 little 'tweaks' that just... eat your day up and then you go "wtf did I do?"
1618: [09:42:01] <ss23> mm
1619: [09:42:06] <ss23> I spent a lot with random opensource blargh
1620: [09:42:14] <ss23> stupid fulltextsearch
1621: [09:42:19] <Nightjar> 5m on that, 5m on that, 5min on this, 10 on that
1622: [09:42:21] <Nightjar> URGH
1623: [09:42:30] <simon_w|air> Just charge it all to irogue
1624: [09:42:34] <ss23> XD
1625: [09:42:39] <ss23> anyway, there we are, 9/12 hours logged
1626: [09:42:42] <ss23> so that's 3 hours of "LOL IRC"
1627: [09:42:43] <ss23> :D
1628: [09:42:44] <ss23> Not bad
1629: [09:43:10] <ss23> Time to go home~
1630: [09:43:42] * EasyCo quit (Quit: EasyCo)
1631: [09:43:57] <ss23> oh simon_w|air, I was going to ask
1632: [09:44:01] <ss23> You know burgerfuel thingies?
1633: [09:44:11] <ss23> Why are they all like "LOL AND AN ENTRY TO THE AMERICAS CUP"?
1634: [09:44:24] <simon_w|air> Because that's what you could win?
1635: [09:44:33] <ss23> But it's on every entry?
1636: [09:44:54] <simon_w|air> "Thank you for entering, you are now in the draw to win a trip for 2 to the America's Cup in San Francisco."
1637: [09:45:26] <ss23> "HOLY MOLY U SCORED SPUD FRIES AND AOLI WITH UR NEXT BURGER PURCHASE & an entry to the AMERICA'S CUP"
1638: [09:45:29] <ss23> wait
1639: [09:45:38] <ss23> entry into the competition for tickets to the americas cup?
1640: [09:45:42] <simon_w|air> Yeah
1641: [09:45:47] <ss23> misleading
1642: [09:45:50] <simon_w|air> Remember, only got 160 chars
1643: [09:45:55] <simon_w|air> And bitch at them then :p
1644: [09:46:01] <ss23> XD
1645: [09:46:05] <ss23> bbl, home time
1646: [09:46:08] <ss23> simon_w|air: Unlike you, I'm NICE!
1647: [09:46:15] <ss23> I don't ring up my insurance company with *questions*!
1648: [09:46:16] <ss23> :P
1649: [09:46:17] <ss23> bbl
1650: [09:46:19] <simon_w|air> Unlike you, I'm going to bed!
1651: [09:46:37] <simon_w|air> That's because you don't have an insurance company :p
1652: [09:48:56] * openbees quit (Quit: Leaving)
1653: [09:49:40] <Nightjar> insurance is bad.
1654: [09:49:42] <Nightjar> get a server
1655: [09:49:44] <Nightjar> put stuff on it
1656: [09:49:51] <Nightjar> own f-all.
1657: [09:49:54] <Nightjar> back up your server.
1658: [09:50:00] <Nightjar> problem solved.
1659: [09:50:43] <Nightjar> we're geeks. The shit we want is digital. Even photographs or actual real life outside expeditions.
1660: [09:50:51] <Nightjar> of*
1661: [09:52:17] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1662: [09:53:05] * Bollig|DesignCty has joined #silverstripe
1663: [09:55:20] * markdowton has joined #silverstripe
1664: [10:04:04] <ocm> should SomeObject::get()->ID just return the first or all?
1665: [10:04:23] <ocm> I want to get an array from all IDS
1666: [10:09:00] <priithansen> ocm get()->column('ID') if i'm not mistaken
1667: [10:12:21] <ocm> ah :) that is why it is only returning 1 object
1668: [10:14:12] <ocm> column('ID'); gives this error: [NOTICE] TRYING TO GET PROPERTY OF NON-OBJECT
1669: [10:14:53] <hamror> hey guys
1670: [10:16:58] <hamror> my validate function doesn't seem to run? not sure what i'm doing: http://bpaste.net/show/qHNsFhyAa8uuV19lZSh9/
1671: [10:17:34] <hamror> doing, doing wrong, even
1672: [10:18:22] <priithansen> MyObject::get()->column('ColName'); should be the right way to go about it I have examples of it in my live code. Must be something else bugging out then
1673: [10:19:27] <ocm> hm dunno, its not such a fancy function.. just trying to get all the blogholders and loop trough them to get the first blogarticle
1674: [10:20:13] <ocm> http://sspaste.com/paste/show/52037012e72eb
1675: [10:20:15] <Nightjar> hamror: umm
1676: [10:20:36] <Nightjar> case sensitivity
1677: [10:20:44] <Nightjar> submitenquiry != submitEnquiry
1678: [10:20:59] <hamror> that's only used in my trace call
1679: [10:21:06] <hamror> which doesn't mean anything
1680: [10:21:18] <hamror> it's just a printed string, everywhere else is submitenquiry
1681: [10:21:32] <Nightjar> oh, you've defined it twice
1682: [10:21:38] <Nightjar> that'd about do it
1683: [10:21:41] <hamror> yeah i don't know where it's mean tot be, neither place triggers
1684: [10:21:47] <hamror> i did either
1685: [10:21:55] <hamror> do i have to flush=all or something after each change
1686: [10:22:10] <Nightjar> nope
1687: [10:22:26] <hamror> i tried in the controller and in the form instance seperately
1688: [10:22:35] <Nightjar> either should work
1689: [10:22:36] <hamror> i assume Form instance is responsible
1690: [10:22:41] <hamror> yeah i am having 0 luck
1691: [10:23:49] * howardgrigg has joined #silverstripe
1692: [10:26:03] <priithansen> ocm: get() should return one DataList object
1693: [10:26:47] <PigeonFriend> Hey all, what's the correct syntax in YAML for defining db and has_one? Is it just standard Title: Varchar(255) or do I need to do db: { Title: Varchar } ?
1694: [10:27:18] <Nightjar> hamror: you can just FormAction::create('name', 'Title')
1695: [10:27:22] <Nightjar> instead of ->setTitle()
1696: [10:27:25] <priithansen> I think I remember having some trouble with looping datalists because of the lazy loading. Maybe $holder = BlogHolder::get()->toArray(); or ->toNestedArray(); will make it loopable
1697: [10:28:10] <Nightjar> also your entire form subclass is pretty irrelevant
1698: [10:28:18] <Nightjar> you can just call setTemplate on the parent
1699: [10:28:19] <Nightjar> iirc
1700: [10:29:00] <Nightjar> ie, return Form::create($this, __FUNCTION__, $fields, $actions, $validator)->setTemplate('blah')
1701: [10:36:25] * CodeTrap quit (Remote host closed the connection)
1702: [10:44:59] <ocm> priithansen I will look into that, thanks
1703: [10:57:59] * zippy__ has joined #silverstripe
1704: [11:00:04] * CodeTrap has joined #silverstripe
1705: [11:16:54] * CodeTrap quit (Ping timeout: 264 seconds)
1706: [11:19:21] <ARNHOE> With a form, when I have $email->setTemplate('BelMeTerugEmail');. it gives [Notice] Uninitialized string offset: 0, when I comment setTemplate, I dont get the the error. Seems to be with Director::absoluteURL(,1)
1707: [11:31:35] * Zauberfisch_ is now known as Zauberfisch_i
1708: [11:32:55] * Zauberfisch_i quit (Read error: Connection reset by peer)
1709: [11:32:55] <ss23> ARNHOE: Post full stacktrace?
1710: [11:32:59] * CodeTrap has joined #silverstripe
1711: [11:33:39] * Zauberfisch_ has joined #silverstripe
1712: [11:33:54] * Zauberfisch_ is now known as Zauberfisch_i
1713: [11:34:35] * osterlaus has joined #silverstripe
1714: [11:53:27] <ocm> hm, priithansen, still not workin, toArray() or toNestedArray returns nothing at all
1715: [11:53:41] <ocm> anyone else a suggestion? http://sspaste.com/paste/show/52037012e72eb
1716: [11:54:15] * zippy__ quit (Quit: zippy__)
1717: [12:01:49] * funkygibbon quit (Read error: Connection reset by peer)
1718: [12:05:57] * UndefinedOffset has joined #silverstripe
1719: [12:11:42] * kerosene_ has joined #silverstripe
1720: [12:11:43] * Shrike_Finland has joined #silverstripe
1721: [12:13:51] * kerosene quit (Ping timeout: 256 seconds)
1722: [12:14:11] * kerosene_ is now known as kerosene
1723: [12:14:15] <priithansen> ocm: do you want to get a list of every blog holders latest blog entry?
1724: [12:17:13] <priithansen> because at the moment the foreach only ever runs once and then return the function
1725: [12:19:40] <ocm> yes, I want to loop through all blogholders
1726: [12:19:50] <ocm> and from them get the first blog entry (newest that is)
1727: [12:20:19] <priithansen> jeah the return in the loop returns the whole function with first run
1728: [12:20:45] <priithansen> added a comment to your sspaste
1729: [12:24:12] <Shrike_Finland> wmk: I have translated all the string for SS3.1 and translations have worked in SS3.1beta3. But now in latest GitHub version, buttons are not working.
1730: [12:24:45] <Shrike_Finland> Buttons work, but translations in buttons does not. :)
1731: [12:30:20] <ocm> oh damn, I feel stupid.. obviously the function stops after the return
1732: [12:30:30] <ocm> thanks for the comment on that priithansen :)
1733: [12:31:13] <priithansen> np
1734: [12:31:15] * C10ne has joined #silverstripe
1735: [12:31:36] <wmk> Shrike_Finland, are your translations in the lang file?
1736: [12:31:53] <wmk> if not something when importing language went wrong...
1737: [12:32:12] <C10ne> Anyone knows how to add item to many_many relation programmaticaly?
1738: [12:33:16] <priithansen> C10ne: http://doc.silverstripe.org/framework/en/topics/datamodel#adding-relations
1739: [12:34:00] * Shrike_Finland1 has joined #silverstripe
1740: [12:34:00] * Shrike_Finland quit (Read error: Connection reset by peer)
1741: [12:36:06] * Nightjar has left #silverstripe
1742: [12:36:48] * Shrike_Finland has joined #silverstripe
1743: [12:36:49] * Shrike_Finland1 quit (Read error: Connection reset by peer)
1744: [12:37:53] <C10ne> Thanks priithansen, didn't see that part of docs.
1745: [12:49:14] * C10ne quit (Quit: Page closed)
1746: [12:52:12] <Shrike_Finland> wmk: I'm not sure, should I look from cms/lang or framework/lang...
1747: [12:53:11] <Shrike_Finland> Also, which is weird - there is english words as a translation. Have Getlocalization messed some things up?
1748: [12:56:58] <Shrike_Finland> On transifex.com, button translations are correct.
1749: [12:59:25] <ocm> prrithansen, however your function looks fine still got problems :(
1750: [13:00:40] <priithansen> what sort of problems?
1751: [13:05:28] <wmk> Shrike_Finland, yes, getlocalisation messed something up.
1752: [13:06:04] * LoveDuckie has joined #silverstripe
1753: [13:07:04] <wmk> Shrike_Finland, see https://groups.google.com/forum/#!msg/silverstripe-dev/9x0Z9Xb31no/terXN2ZixD0J
1754: [13:08:26] * LoveDuckie has left #silverstripe
1755: [13:11:34] <Shrike_Finland> wmk: ok, I see. Well, I have translated CMS and framework in finnish and it seems ok in the transifex. Maybe they get fixed, when pulled from transifex. Hope there is not fi vs fi_FI problems...
1756: [13:12:11] * Zauberfisch quit (Quit: leaving)
1757: [13:15:25] <ocm> if I loop through the function it doesnt return any value
1758: [13:16:15] * Zauberfisch has joined #silverstripe
1759: [13:17:47] <priithansen> ocm: I have method described in sspaste comment in Page_Controller and using <% loop $ChildArticles %>$Title<% end_loop %> everything works as expected.
1760: [13:19:51] * g4b0_ has joined #silverstripe
1761: [13:20:43] <g4b0_> hi all
1762: [13:21:07] <g4b0_> which is the best DataType to store lat&long ?
1763: [13:21:25] * CodeTrap quit (Quit: CodeTrap)
1764: [13:23:14] <ocm> priithansen that is weird, if I do the same it just stays empty for some reason
1765: [13:24:14] <ocm> now trying another approach, first looping throguh the blogholders from the blogtree ( loop chidlren, if classname = blogholder, blabla)
1766: [13:24:22] * CodeTrap has joined #silverstripe
1767: [13:24:22] <ocm> and use the blogholder id to fetch something
1768: [13:26:05] * Shrike_Finland1 has joined #silverstripe
1769: [13:27:01] * Shrike_Finland quit (Ping timeout: 248 seconds)
1770: [13:30:09] <priithansen> all out of ideas what the problem could be. You could var_dump($entries) instead of return to see if the method is called and what it returns
1771: [13:32:22] <ocm> I think i found something
1772: [13:32:36] <ocm> $Content.Summary() gives problems
1773: [13:32:46] <ocm> and some other stuff I had in my template to display
1774: [13:39:11] <wmk> Shrike_Finland1, you can login to transifex and download your language files
1775: [13:40:30] * howardgrigg quit (Remote host closed the connection)
1776: [13:42:38] <Shrike_Finland1> wmk: that's what I did :) And everything works perfectly.
1777: [13:44:13] <wmk> ;)
1778: [13:46:43] * fen has joined #silverstripe
1779: [13:46:46] <fen> Hi Support
1780: [13:50:35] <Shrike_Finland1> hi
1781: [13:56:45] <fen> h i how can i import dat and make it automatically published
1782: [14:05:55] * CodeTrap quit (Ping timeout: 264 seconds)
1783: [14:07:35] * fen quit (Ping timeout: 250 seconds)
1784: [14:07:48] <wmk> Member has private access but class has magical method __get
1785: [14:07:57] <wmk> grm
1786: [14:15:10] * pex has joined #silverstripe
1787: [14:37:18] * robert__ has joined #silverstripe
1788: [14:40:57] * robert_ quit (Ping timeout: 240 seconds)
1789: [14:41:27] * Nivery has joined #silverstripe
1790: [14:42:34] * Nivery quit (Read error: Connection reset by peer)
1791: [14:43:08] * hubertusanton has joined #silverstripe
1792: [14:50:58] * howardgrigg has joined #silverstripe
1793: [14:52:22] * osterlaus quit (Quit: Leaving.)
1794: [14:55:43] * howardgrigg quit (Ping timeout: 264 seconds)
1795: [15:02:14] * ARNHOE quit (Remote host closed the connection)
1796: [15:04:15] * priithansen quit (Quit: priithansen)
1797: [15:14:03] * ARNHOE has joined #silverstripe
1798: [15:14:08] * catcher has joined #silverstripe
1799: [15:14:51] * violetina has joined #silverstripe
1800: [15:18:47] * robert__ quit (Quit: Connection reset by traffic clause.)
1801: [15:22:20] * ARNHOE quit (Remote host closed the connection)
1802: [15:30:38] * priithansen has joined #silverstripe
1803: [15:34:07] * LoveDuckie has joined #silverstripe
1804: [15:34:09] * LoveDuckie has left #silverstripe
1805: [15:34:18] * pex quit (Ping timeout: 264 seconds)
1806: [15:36:36] * pex has joined #silverstripe
1807: [15:39:27] * hubertusanton quit (Ping timeout: 250 seconds)
1808: [15:48:51] * Liquide has joined #silverstripe
1809: [16:02:58] * g4b0_ quit (Quit: Sto andando via)
1810: [16:05:55] <wmk> anyone uses ajax forms in a bootstrap modal?
1811: [16:08:15] <priithansen> I think i have one with foundation modal if that would help
1812: [16:30:21] * micmania3 has joined #silverstripe
1813: [16:33:41] * micmania2 quit (Ping timeout: 246 seconds)
1814: [16:37:19] <wmk> priithansen, is this very different to bootstrap?
1815: [16:45:22] <priithansen> wmk: no idea
1816: [16:47:47] <wmk> if you have a paste i'm happy to have a look at it. though i found something another input is always good
1817: [16:49:31] * lobarvaz quit (Remote host closed the connection)
1818: [16:51:41] * howardgrigg has joined #silverstripe
1819: [16:52:14] * pex quit (Ping timeout: 246 seconds)
1820: [16:56:21] * micmania2 has joined #silverstripe
1821: [16:57:09] <priithansen> wmk: if you can make any sense of it. I sure as hell can't remember how it all worked :) http://www.sspaste.com/paste/show/5203ccf998798
1822: [16:58:53] <wmk> 10x priithansen
1823: [16:58:53] * pex has joined #silverstripe
1824: [17:00:16] * micmania3 quit (Ping timeout: 276 seconds)
1825: [17:03:15] * ARNHOE has joined #silverstripe
1826: [17:03:42] * micmania2 quit (Quit: Leaving)
1827: [17:04:07] * pex quit (Quit: pex)
1828: [17:11:19] <ARNHOE> chillu:
1829: [17:12:35] <ARNHOE> chillu: https://github.com/silverstripe/silverstripe-framework/issues/2307 is actualyl breaking it pretty badly. I run dev/build?flush=all and its the first error I see. How can I fix this?
1830: [17:21:19] <ARNHOE> Also chillu when I start with http://klanten.mastercaller.v1lang/dev/build?flush=all after the redirects it ends up with a double slash, http://klanten.mastercaller.v1lang//dev/build?flush=all&flushtoken= - I have a feeling it has something to do with https://github.com/silverstripe/silverstripe-framework/commit/041466fe024ade10f085f247e67d6f459a9f48ed but not sure
1831: [17:32:37] * hip has joined #silverstripe
1832: [17:32:55] * PigeonFriend quit (Ping timeout: 264 seconds)
1833: [17:33:50] * hip has left #silverstripe
1834: [17:40:26] * chris______ has joined #silverstripe
1835: [17:41:38] <chris______> hey everyone, any hints on how to turn a SS_Query object into an ArrayData object that i can pass to the view?
1836: [17:48:58] <chris______> i tried calling $dos = DataObject::buildDataObjectSet($recordsFromDBQuery); but it says to use DataList. I dont see the methods i need to do this in DataList
1837: [18:03:12] <wmk> chris______, ss 2.4 or 3.x?
1838: [18:04:34] <UndefinedOffset> wmk 3.x i would say if its saying to use DataList ;)
1839: [18:05:45] <chris______> ss 3.1. I am doing a custom sql query and adding an atribute to the columns returned for each record, so i'm not able to fit into normal data objects. if i stick data into arraydata, i think it would work, just not sure how.
1840: [18:06:49] * howardgrigg quit (Remote host closed the connection)
1841: [18:12:54] * ocm quit (Read error: Connection reset by peer)
1842: [18:15:25] * joelpittet has joined #silverstripe
1843: [18:17:57] <AlphaCactus> chris______: I think ArrayList might be what you want, but I haven't had to try to put objects into it which don't correspond do an actual class.
1844: [18:20:50] <wmk> UndefinedOffset, well DataObject::buildDataObjectSet doesn't sound like 3..?
1845: [18:24:45] <UndefinedOffset> wmk ya i'd say he was migrating from 2.4 or just learning 3.x's ORM
1846: [18:26:12] <chris______> both actually :) i've been working on a big java project for the last year and coming up to speed on ss3. ArrayList got me much closer, Debug::dump shows the extra attribute but it doesnt look like its showing up in the template.
1847: [18:27:42] <wmk> do you return the arraylist in a method like getArray() ? or how is it passed to the template...
1848: [18:30:02] <wmk> argh
1849: [18:31:15] <chris______> for each result row i push it into an array, then push the array into the constructor for the ArrayList, then return the ArrayList from the function thats used in the loop in the template
1850: [18:38:20] <chris______> I just got it. thank you. Arraylist was what i needed.
1851: [18:44:51] * chris______ quit (Quit: Page closed)
1852: [18:46:26] <UndefinedOffset> chillu that fix for flush=1, related to it should the image class also be checking for admin before it flushes the generated images?
1853: [18:46:31] <simon_w|air> ARNHOE, what's wrong with a double slash? Also, then flush you're doing's redundant and the all does nothing
1854: [18:47:16] <ARNHOE> Well, adding a doubleslash isn't really normal so I suspected it to be a bug
1855: [18:47:55] <simon_w|air> That does absolutely nothing?
1856: [18:48:10] <ARNHOE> oke
1857: [18:48:56] <simon_w|air> UndefinedOffset, https://github.com/silverstripe/silverstripe-framework/blob/3.0/main.php#L108-L110
1858: [18:56:15] * simon_w|air quit (Quit: This computer has gone to sleep)
1859: [18:56:21] * kerosene quit (Quit: time to wake up)
1860: [18:56:24] * markdowton quit (Ping timeout: 260 seconds)
1861: [18:56:46] * markdowton_ has joined #silverstripe
1862: [19:00:29] * SightUnseen has joined #silverstripe
1863: [19:05:01] * SightUnseen has left #silverstripe
1864: [19:08:09] <UndefinedOffset> oh ic
1865: [19:08:23] <UndefinedOffset> its being unset, did not expect that :P
1866: [19:17:16] * howardgrigg has joined #silverstripe
1867: [19:18:57] * lerni has joined #silverstripe
1868: [19:22:03] * howardgrigg quit (Ping timeout: 260 seconds)
1869: [19:23:18] * simon_w|air has joined #silverstripe
1870: [19:25:05] * simon_w|air quit (Client Quit)
1871: [19:25:24] * simon_w|air has joined #silverstripe
1872: [19:26:34] <ARNHOE> I got a pretty odd problem
1873: [19:26:38] <ARNHOE> $fields->addFieldToTab('Root.Main', TextField::create("BondID", $this->Editie()->Tournament()->Bond()->ID, $this->Editie()->Tournament()->Bond()->ID));
1874: [19:26:50] <ARNHOE> The ID is being shown as Title, but the value shows as 0
1875: [19:27:12] <ARNHOE> So the Title shows the right ID, 1 but value shows 0 :s
1876: [19:27:34] <simon_w|air> And there's a BondID field on $this that's value's 0?
1877: [19:28:08] <ARNHOE> I amt rying to save it into "BondID" => "Int" with a hiddenfield
1878: [19:28:43] <simon_w|air> Yes, and loadDataFrom causes the existing value to override any value you provide in the constructor
1879: [19:30:00] <ARNHOE> Oke, how could I prevent that?
1880: [19:30:07] <simon_w|air> You can't
1881: [19:30:39] <simon_w|air> You probably want something like onBeforeWrite instead
1882: [19:32:08] <ARNHOE> cheers, using $this->BondID = $this->Editie()->Tournament()->Bond()->ID; in onbeforewrite
1883: [19:34:59] * simon_w|air quit (Remote host closed the connection)
1884: [19:42:00] * mobiusnz quit (Quit: Leaving.)
1885: [19:42:19] * mobiusnz has joined #silverstripe
1886: [19:46:40] * simon_w|air has joined #silverstripe
1887: [19:47:35] <atmos> guten morgen
1888: [19:47:36] * mobiusnz quit (Quit: Leaving.)
1889: [19:55:16] <atmos> die autosuggest! kill it with fire!
1890: [19:56:04] <simon_w|air> You're just holding it wrong.
1891: [19:58:34] <FrozenFire> Anyone Australian mind doing me a solid today?
1892: [19:58:53] <simon_w|air> Any Australian should be asleep :p
1893: [19:59:20] <FrozenFire> Man, those timezones sure vary
1894: [19:59:34] <FrozenFire> Thought this was morning-time there
1895: [19:59:53] * FrozenFire tries again later
1896: [19:59:55] <simon_w|air> It is. It's just before 6 in the morning for most of them.
1897: [20:00:01] <FrozenFire> True
1898: [20:01:13] <atmos> FrozenFire: 'doing a solid'?
1899: [20:01:29] <FrozenFire> atmos, Regarding the phrase, or the solid to be done?
1900: [20:06:46] * simon_w|air quit (Remote host closed the connection)
1901: [20:08:19] * chillu quit (Read error: Connection reset by peer)
1902: [20:08:41] * chillu has joined #silverstripe
1903: [20:09:30] * simon_w|air has joined #silverstripe
1904: [20:09:30] * simon_w|air quit (Client Quit)
1905: [20:09:43] * simon_w|air has joined #silverstripe
1906: [20:17:21] <FrozenFire> Probably a stupid question, but are Australia and NZ on the same phone system?
1907: [20:17:28] <simon_w|air> No
1908: [20:17:53] <simon_w|air> We're completely separate countries :p
1909: [20:17:57] * FrozenFire runs a major SMS provider, and one of our customers wants to send to Australia :P
1910: [20:18:13] <FrozenFire> Yeah, I realize. I know you guys get connectivity for some things from Australia, though
1911: [20:18:53] <FrozenFire> The solid I was hoping to have done is getting someone to let me test sending messages to them, and having them send messages back
1912: [20:19:14] <FrozenFire> Would of course pay for their costs plus extra :P
1913: [20:19:49] * BPower has joined #silverstripe
1914: [20:21:03] <BPower> What's the proper way for an extension to access a method of its owner from within the same method name in itself. E.g. https://gist.github.com/nathanbrauer/0c17435524101374670a
1915: [20:21:07] <BPower> ?*
1916: [20:21:29] <simon_w|air> $this->owner->MethodName
1917: [20:21:31] <simon_w|air> $this->owner->MethodName()
1918: [20:21:42] <BPower> That's not going to create an infinite loop?
1919: [20:21:47] <FrozenFire> Just be careful that the method exists on the parent
1920: [20:22:04] <simon_w|air> Well, if the method you're calling calls you, then yes, it'll loop
1921: [20:22:05] <FrozenFire> I've seen it loop when the method doesn't exist
1922: [20:22:20] <FrozenFire> Or yeah, when it calls $this->extend('SameMethod')
1923: [20:22:36] <simon_w|air> BPower, anyway, in that code, your extension methods will never be called
1924: [20:23:00] <BPower> the DataObject methods overwrites the extension methods?
1925: [20:23:26] <BPower> overrides**
1926: [20:23:32] <FrozenFire> The DataObject gets first right of refusal on any call
1927: [20:23:44] <FrozenFire> If the method doesn't exist, it defers to an extension call
1928: [20:24:01] <BPower> How can I accomplish essentially the same thing?
1929: [20:24:09] <FrozenFire> If the method exists on the DataObject, and you want the extension methods called, you need to do $this->extend('SomeMethod');
1930: [20:24:15] * zippy__ has joined #silverstripe
1931: [20:24:29] <FrozenFire> BPower, Mind summarizing what you're looking to accomplish?
1932: [20:24:32] <simon_w|air> $MethodOptionA.NoTags
1933: [20:24:45] <BPower> simon_w|air: is that seriously built in?!
1934: [20:25:02] <zippy__> Morning
1935: [20:25:09] <BPower> .NoTags
1936: [20:25:12] <simon_w|air> Bah, $MethodOptionA.NoHTML
1937: [20:25:21] <simon_w|air> Yes
1938: [20:25:36] <BPower> Wow.
1939: [20:25:49] <BPower> That's much easier.
1940: [20:26:03] <BPower> Is there a way I can add more options?
1941: [20:26:21] <BPower> e.g. something like .ApprovedHTML
1942: [20:26:21] <simon_w|air> Stick an Extension on StringField?
1943: [20:26:37] <BPower> so i'd have to edit the core file?
1944: [20:26:44] <simon_w|air> No
1945: [20:26:49] <simon_w|air> You add an Extension subclass
1946: [20:27:12] <simon_w|air> It's like DataExtension, but not specific to DataObjects
1947: [20:27:46] <BPower> but wouldn't I have to edit StringField to include $extensions = array('MyExentsion')?
1948: [20:28:16] <simon_w|air> No
1949: [20:28:33] <simon_w|air> How do you normally add an Extension to a class?
1950: [20:29:36] <BPower> I've never done it for a non-dataobject
1951: [20:30:02] <simon_w|air> DataExtension is a subclass of Extension
1952: [20:30:28] <simon_w|air> There is no difference in how you add them
1953: [20:31:17] <BPower> but to enable the extension on a specific DataObject, you have to add the $extensions property to the class, no?
1954: [20:31:38] <atmos> blegh itson.co.nz is down
1955: [20:31:42] <simon_w|air> No
1956: [20:32:44] <simon_w|air> http://docs.silverstripe.org/framework/en/trunk/reference/dataextension#adding-a-extension-to-a-built-in-class
1957: [20:33:35] * tankr has joined #silverstripe
1958: [20:34:17] * Peavers has joined #silverstripe
1959: [20:34:21] <Peavers> Yo simon_w|air
1960: [20:34:34] <Peavers> I've got a bone to pick with you
1961: [20:34:40] <simon_w|air> Of course you do
1962: [20:34:58] <Peavers> I added your little bit of code last night and got it working as expected
1963: [20:35:15] <Peavers> but as expected isn't what I want!! it still adds www.example.com to the link!!!
1964: [20:35:26] <Peavers> how do you explain yourself?!
1965: [20:35:58] <simon_w|air> Oh right, there's that too
1966: [20:35:59] <simon_w|air> Hang on
1967: [20:36:32] * zippy___ has joined #silverstripe
1968: [20:36:36] <BPower> simon_w|air: oh. yml. of course. haha. so $extensions is the 2.4 way, huh?
1969: [20:37:04] * zippy__ quit (Ping timeout: 264 seconds)
1970: [20:37:04] * zippy___ is now known as zippy__
1971: [20:37:13] <simon_w|air> BPower, $extensions is how you add extensions to a class you create
1972: [20:37:35] <simon_w|air> Peavers, https://github.com/silverstripe/silverstripe-framework/blob/3.0/email/Email.php#L373-L398
1973: [20:37:43] <BPower> can I use yml for both?
1974: [20:37:46] <simon_w|air> You don't want that call on line 396
1975: [20:37:49] <simon_w|air> BPower, yes
1976: [20:38:04] <BPower> so i'd rather just do that. One standard to rule them all.
1977: [20:38:39] <Peavers> yup that looks like what I was looking for
1978: [20:39:43] <simon_w|air> Peavers, fairly sure Newsletter uses its own Email subclass, so you can just copy/paste, and change that line
1979: [20:40:08] <Peavers> copy the entire function to the news email sub?
1980: [20:40:19] <simon_w|air> yeah
1981: [20:40:22] <Peavers> sweet
1982: [20:40:59] <Peavers> just deleting that line would work wouldn't it? as I don't want that call at all
1983: [20:41:15] <simon_w|air> Well, you still need the assignment, just without the call
1984: [20:41:19] * nickmolhoek has joined #silverstripe
1985: [20:41:20] * nickmolhoek quit (Remote host closed the connection)
1986: [20:41:33] <Peavers> yup
1987: [20:41:34] * nickmolhoek has joined #silverstripe
1988: [20:41:44] <BPower> So! On another note, have y'all contributed or pre-ordered your next computer/smartphone yet? http://www.indiegogo.com/projects/ubuntu-edge/x/4042029
1989: [20:41:57] <atmos> ss23: boom, autosuggest is down for th meantime
1990: [20:41:58] <Peavers> BPower, its not going to make 32m
1991: [20:42:16] <Peavers> it will struggle to make 10m
1992: [20:42:43] <BPower> IDK! Bloomberg LP just contributed $80k and they stabilized the price at $695. Since then, it's been back to its rapid growth.
1993: [20:42:49] <simon_w|air> I don't want Ubuntu on my desktop. Why would I want it on my phone?
1994: [20:42:59] <BPower> denial.
1995: [20:43:01] <BPower> ;)
1996: [20:43:18] <BPower> Besides, Ubuntu Touch is a whole new beast.
1997: [20:43:23] <Peavers> I think the idea is great, will need a few generations to settle down to something I'd buy though
1998: [20:43:51] <BPower> simon_w|air: I would never want Android as my desktop (as it is now), but it's a great mobile OS
1999: [20:43:52] <atmos> Peavers: what's the allure of it though? open source-ness?
2000: [20:44:13] <Peavers> More the idea that my PC is always with me,
2001: [20:44:33] <simon_w|air> Oh man, a spec comparison
2002: [20:44:41] <simon_w|air> This is hilarious
2003: [20:44:57] <simon_w|air> And I guess there's supposed to be a video in that giant, empty block at the top?
2004: [20:45:09] <BPower> Well, at the very very least, you can use it only as an unlocked Android phone (it comes preinstalled).
2005: [20:45:14] <BPower> there *is* a video there.
2006: [20:45:20] <BPower> do you have flash disabled?
2007: [20:45:20] <simon_w|air> No there isn't :p
2008: [20:45:26] <simon_w|air> I don't have Flash installed
2009: [20:45:35] <BPower> that's why.
2010: [20:45:38] <simon_w|air> For something about mobile, they're failing already
2011: [20:45:39] <Peavers> lol they used a flash video?
2012: [20:45:44] <Peavers> html5 or get out
2013: [20:45:47] <BPower> it's indiegogo
2014: [20:45:50] <Peavers> don
2015: [20:45:50] <simon_w|air> So?
2016: [20:45:52] <Peavers> don't care.
2017: [20:45:54] <BPower> it's not their fault
2018: [20:45:58] <BPower> Ubuntu's**
2019: [20:46:02] <simon_w|air> Yes it is
2020: [20:46:20] <BPower> Ubuntu is supposed to make Indiegogo support a different video platform?
2021: [20:47:05] <simon_w|air> Ubuntu is supposed to use something that actually works on mobile
2022: [20:47:20] * kmayo has joined #silverstripe
2023: [20:47:43] <BPower> Well their only options are Indiegogo and Kickstarter and Kickstarter doesn't allow use for hardware project like this.
2024: [20:48:03] <Peavers> BPower, have you pledged?
2025: [20:48:11] <simon_w|air> http://www.indiegogo.com/projects/y55-happiness-trainer-your-must-have-mobile-app
2026: [20:48:20] <simon_w|air> Oh look, an indiegogo thing with a non-Flash video!
2027: [20:48:28] <simon_w|air> Tell me again how this isn't Ubuntu's fault.
2028: [20:48:32] <BPower> Peavers: yes, sir I have.
2029: [20:48:51] * UndefinedOffset quit (Quit: Leaving.)
2030: [20:49:03] <BPower> Actually it looks like it's YouTube's fault.
2031: [20:49:06] * UndefinedOffset has joined #silverstripe
2032: [20:49:14] <simon_w|air> Nope
2033: [20:49:16] <BPower> It's a youtube video they're using.
2034: [20:49:19] <simon_w|air> Youtube has HTML5 embeds
2035: [20:49:46] <simon_w|air> In fact, it's the default. You have to go out of your way to not use them.
2036: [20:50:34] <BPower> I wonder if the Ubuntu team actually provided the embed code, or if indiegogo simply asks for the YouTube URL, then applies the <object> tags on their own...
2037: [20:51:46] <BPower> simon_w|air: ya, it's indiegogo - they're using the old tag: http://quick-markup.com/p/5204054712f90
2038: [20:51:48] <simon_w|air> Anyway, the onus still comes back to Ubuntu
2039: [20:52:43] * jrthomer quit (Remote host closed the connection)
2040: [20:52:47] <BPower> i would say "yes" if developers were actually the ones who were responsible for building the campaign page, but marketers aren't ever going to know to test those things, and why should they? It should just work.
2041: [20:53:18] <BPower> I'm going to submit it as a bug to indiegogo.
2042: [20:53:39] * Stomach has joined #silverstripe
2043: [20:53:41] <BPower> Here's the video, btw: http://www.youtube.com/watch?v=eQLe3iIMN7k
2044: [20:53:45] <simon_w|air> Because they're targeting mobile users. Making sure it works on mobile is kinda a major part
2045: [20:54:06] * UndefinedOffset quit (Ping timeout: 264 seconds)
2046: [20:54:17] * jrthomer has joined #silverstripe
2047: [20:54:41] <BPower> simon_w|air: actually, they're targeting techies, developers, and other early adopters. The phone will never be for sale outside of indiegogo.
2048: [20:55:32] <simon_w|air> BPower, actually, they're targeting mobile users who just happen to be more tech inclined
2049: [20:55:50] <atmos> BPower: indeed - but mobile users will be looking to those techies for recommendations - so by proxy they are targeting mainstream users in some way
2050: [20:57:43] <BPower> This is not a devise for the mainstream consumer. It's an early product with and early, probably beta version of Ubuntu Touch (with a Android dual boot to for stability when needed). atmos, that's true, but the techies won't be able to recommend the device because it won't be for sale. They will only be able to recommend the OS.
2051: [20:58:12] <BPower> Ubuntu needs critical mass of apps for Ubuntu Touch and an initial testing audience.
2052: [20:58:29] * coldblooded01 has joined #silverstripe
2053: [20:58:34] <BPower> That's why they're focused on developers and early adopters right now.
2054: [20:58:46] * CodeTrap has joined #silverstripe
2055: [20:59:12] <atmos> BPower: good point - either way, the media will spin what those early adopters will say regardless
2056: [20:59:13] <BPower> Of those people, they're targeting people who want a laptop in your pocket. That's what justified it for me. I need a laptop and I'll spend $800+ to get one, so I might as well spend $600 (early bird price) to get a "laptop" that i can carry in my pocket.
2057: [21:00:15] <BPower> i guess I shouldn't say they're targeting people who want a laptop in your pocket. They're more trying to convince the early adopters that laptop in your pocket is the next thing.
2058: [21:01:00] <atmos> BPower: isn't everyone saying that now though? I don't think that needs more convincing
2059: [21:01:01] <BPower> Even if you use it as just an Android phone, at minimum, it has the best specs, hands down, over any phone.
2060: [21:01:17] <atmos> not that companies *are* doing it though
2061: [21:01:19] <simon_w|air> Because, with Android, specs actually matter
2062: [21:01:21] <BPower> atmos: yes, but there's no real product to show for it
2063: [21:01:45] <simon_w|air> Maybe because your laptop serves a different task to what can fit in your pocket?
2064: [21:01:47] * FrozenFire doesn't think he's ever looked at join messages specifically
2065: [21:01:50] <FrozenFire> Spying Aussies
2066: [21:01:51] <FrozenFire> :P
2067: [21:01:58] <BPower> simon_w|air: specs matter for the iPhone too. that's why they gave it the "retina" display. that's a spec.
2068: [21:02:03] <simon_w|air> FrozenFire, wait for Colin :p
2069: [21:02:12] <Kolin> I'm here!
2070: [21:02:52] <atmos> it is a pimp looking phone though
2071: [21:02:53] <FrozenFire> Kolin, Yeah, but aren't you in the UK? :P
2072: [21:03:20] <simon_w|air> BPower, notice how retina is no longer used by Apple when marketing the iPhone? Because it doesn't matter.
2073: [21:03:24] <Kolin> yes
2074: [21:03:26] <Kolin> :(
2075: [21:04:10] <BPower> simon_w|air: it mattered enough for it to be the only major change between the 3gs and 4
2076: [21:04:29] <atmos> i love how it says 'state of the art' device because it has more teh specs
2077: [21:04:35] <BPower> and why the iPad Mini 2 will probably only have a higher res screen
2078: [21:05:23] <simon_w|air> BPower, so the better CPU, more RAM, different antenna design aren't major changes?
2079: [21:05:47] <simon_w|air> Improved battery, completely different form factor
2080: [21:05:51] <simon_w|air> I could go on :p
2081: [21:05:59] <atmos> what's a decent IRC client for android?
2082: [21:06:06] <BPower> all those things you just listed, except for form factor: specs. ;)
2083: [21:06:33] * simon_w|air sighs
2084: [21:07:01] * BPower pats simon_w|air on the head.
2085: [21:07:08] <simon_w|air> And, other than battery life, how many do consumers care about?
2086: [21:07:09] <simon_w|air> None.
2087: [21:07:40] <BPower> All they know is that it's faster and they can do more at once.
2088: [21:07:57] <simon_w|air> No they can't
2089: [21:08:04] <simon_w|air> You can still only do one thing at a time
2090: [21:08:07] <FrozenFire> They think they can
2091: [21:08:08] <BPower> Without the spec bump in 4, they wouldn't have the pseudo-multitasking
2092: [21:08:12] <simon_w|air> That's a limit of being a person
2093: [21:08:44] * violetina quit (Remote host closed the connection)
2094: [21:08:48] <FrozenFire> Well, the person can do multiple things at once in exactly the same way that a computer can
2095: [21:08:50] <FrozenFire> Task switching
2096: [21:09:04] <simon_w|air> Except a person sucks at it
2097: [21:09:06] * atmos quit (Quit: Page closed)
2098: [21:09:11] <FrozenFire> Some people suck at it
2099: [21:09:18] <BPower> my wife doesn't
2100: [21:09:21] <simon_w|air> No easily switchable memory
2101: [21:09:33] * Pyromanik has joined #silverstripe
2102: [21:09:38] <Pyromanik> must be Friday
2103: [21:09:38] <FrozenFire> Just like computers, there's a cost to context switching
2104: [21:09:40] <Pyromanik> walk in to the office
2105: [21:09:48] <Pyromanik> "Does our website 500?"
2106: [21:09:58] <Pyromanik> hmm, SS 500, not apache 500
2107: [21:09:58] <BPower> hah
2108: [21:10:13] <Pyromanik> OH, TWITTER API IS BROKEN, BRINGS DOWN WHOLE SITE, HOW CONVENIENT
2109: [21:10:18] <Pyromanik> THANX TWITS
2110: [21:10:26] <FrozenFire> THANKS BAD CODE
2111: [21:10:43] <FrozenFire> If you let an API connectivity issue bring your whole site down...
2112: [21:10:44] <Peavers> simon_w|air, $this->body = $fullBody; still fucks with the links
2113: [21:10:46] <FrozenFire> That's pretty bad
2114: [21:10:47] <Pyromanik> FrozenFire: indeed. I fixed it like this:
2115: [21:10:55] <Pyromanik> /* */
2116: [21:10:56] * atmos has joined #silverstripe
2117: [21:11:06] <FrozenFire> Pyromanik, I guffawed
2118: [21:11:14] <Pyromanik> idek
2119: [21:11:14] <atmos> Yuck this client is pants
2120: [21:11:19] <Pyromanik> PANTS!
2121: [21:11:25] <FrozenFire> PANTALOONS
2122: [21:11:27] <Pyromanik> such a brilliant English saying
2123: [21:11:36] <simon_w|air> Bollocks!
2124: [21:11:42] <AlphaCactus> Bloody!
2125: [21:12:58] * BPower has not been very productive today....
2126: [21:13:15] * FrozenFire has been very unproductive today
2127: [21:13:19] <FrozenFire> Every payday is unproductive
2128: [21:13:28] <FrozenFire> "OH MY GOD I MADE SO MUCH MONEY I CAN TAKE A DAY OFF"
2129: [21:13:29] <FrozenFire> :P
2130: [21:13:45] <FrozenFire> Also, waiting on sleeping Aussies
2131: [21:14:02] <FrozenFire> WAKE UP CONTINENT
2132: [21:14:30] <simon_w|air> I know at least one's awake :p
2133: [21:14:44] <simon_w|air> And has been for over an hour
2134: [21:14:55] <FrozenFire> The only precondition on usefulness to me is that they have a mobile phone and fingers.
2135: [21:15:11] <FrozenFire> And are vulnerable to my charms
2136: [21:15:33] <Pyromanik> FrozenFire: another couple of hours yet
2137: [21:15:50] <Pyromanik> simon_w|air: oh you, studdly mcmuffin
2138: [21:15:57] <andylockran> hey all
2139: [21:16:01] <Pyromanik> hi andylockran
2140: [21:16:29] <Pyromanik> FrozenFire: are you making prank calls?
2141: [21:16:53] <zippy__> I have a custom controller, and in the YAML I have 'user/settings' : 'SettingController' - and in that controller I also have public $URLSegment = 'user/settings'; but it seems a default route somewhere is also being created for /SettingController - so I end up with two urls to access the controller! Other than a htaccess rewrite rule, is there a way to tell it NTO to create that default route?
2142: [21:17:35] <FrozenFire> Time confuses me.
2143: [21:18:02] * howardgrigg has joined #silverstripe
2144: [21:18:07] * UncleCheese has joined #silverstripe
2145: [21:18:15] <andylockran> If you chuck jQuery in a <% require javascript 'jquery %> tag - how to make sure it gets rendered in the head, before its dependencies?
2146: [21:18:32] <FrozenFire> andylockran, You place the requirement before each dependency
2147: [21:18:39] <FrozenFire> Define the fullness of each template's dependencies
2148: [21:18:50] <FrozenFire> Don't assume some other template will load it
2149: [21:19:07] * atmos quit (Ping timeout: 264 seconds)
2150: [21:19:35] <andylockran> but if I do a list of requires in the template, the order I type them isn't how they get rendered.
2151: [21:19:47] <FrozenFire> Yes it is
2152: [21:20:40] <FrozenFire> Unless something changed while I was gone
2153: [21:20:51] <Pyromanik> andylockran: yyou don't.
2154: [21:20:52] <Pyromanik> ever
2155: [21:20:53] <Pyromanik> put
2156: [21:20:56] <Pyromanik> jquery in the head
2157: [21:21:05] <FrozenFire> Pyromanik, He means that he wants jQuery first.
2158: [21:21:18] <FrozenFire> He just worded it poorly.
2159: [21:21:19] <Pyromanik> well that's the order of the <% require %>s
2160: [21:21:41] <Pyromanik> 09:19 < andylockran> but if I do a list of requires in the template, the order I type them isn't how they get rendered.
2161: [21:21:44] <Pyromanik> it is
2162: [21:21:56] <Pyromanik> just, that it also depends on the include order of the templates
2163: [21:22:20] <Pyromanik> in 2.4 $Layout require calls would be included before any of the main template's
2164: [21:22:26] <FrozenFire> It does not depend on the include order of the templates.
2165: [21:22:29] <Pyromanik> not sure if it's still the same in 3.0
2166: [21:22:38] <FrozenFire> Because you're defining all of your template's requirements in the template.
2167: [21:22:44] <Pyromanik> yeah, now I'm wording things poorly
2168: [21:22:46] <FrozenFire> Instead of being a derp and leaving hanging dependencies
2169: [21:23:22] <simon_w|air> zippy__, well, that behaviour's going in 3.2
2170: [21:23:22] <Pyromanik> yeah, define ALL the requires that template needs on that template.
2171: [21:23:58] <Pyromanik> andylockran: don't just assume that because jquery is included on the parent template that it is going to be included (or included first).
2172: [21:24:05] <Pyromanik> always
2173: [21:24:12] <Pyromanik> <% require jquery %>
2174: [21:24:16] <Pyromanik> <% require other things %>
2175: [21:24:21] <Pyromanik> <% require init %>
2176: [21:24:24] <Pyromanik> etc
2177: [21:25:01] <Pyromanik> requirements are processed in order, just that the order in which they template's they're on might not be what you expect.
2178: [21:25:17] <Pyromanik> that or you've misspelt jquery's location
2179: [21:25:38] <zippy__> simon_w|air: ok, so it's to be expected then
2180: [21:25:40] <UncleCheese> spelt
2181: [21:28:03] <Pyromanik> yes UncleCheese.
2182: [21:28:07] <Pyromanik> spelt.
2183: [21:28:18] <UncleCheese> you spelt spelled wrong
2184: [21:28:18] <Pyromanik> Spelt is spelt correctly.
2185: [21:28:54] * Pyromanik catches a fish with his sly Americanisms troll :P
2186: [21:29:06] <Pyromanik> just like colour is spelt correctly :P
2187: [21:29:34] <Pyromanik> :D
2188: [21:29:53] <AlphaCactus> and smelled and smelt :P
2189: [21:30:11] <simon_w|air> smelt is a different verb entirely :p
2190: [21:30:13] <lewellyn> colour is spelt without that godawful u.
2191: [21:30:17] <Pyromanik> AlphaCactus: I don't like to smelled my aluminium
2192: [21:30:25] <AlphaCactus> :P
2193: [21:30:54] <Pyromanik> lewellyn: colour is spelt with that wonderfully correct u :P
2194: [21:30:56] <zippy__> metre - meter
2195: [21:30:59] <zippy__> I much like meter
2196: [21:31:04] <UncleCheese> how do you decide when to use a t instead of "ed?"
2197: [21:31:09] <Pyromanik> zippy__: are you writing a poem?
2198: [21:31:13] <lewellyn> zippy__: meter has a good cadence ;)
2199: [21:31:15] <Pyromanik> UncleCheese: English.
2200: [21:31:18] <simon_w|air> UncleCheese, when that's how it's spelt
2201: [21:31:39] <Pyromanik> as my good American friend once put it "English, not Americaneese"
2202: [21:31:55] <lewellyn> UncleCheese: do you need it spelled out when to use "spelt"? ;)
2203: [21:32:03] <Pyromanik> rofl
2204: [21:32:08] <AlphaCactus> the President's English thank you.
2205: [21:32:27] * lewellyn uses proper american.
2206: [21:32:32] <Pyromanik> I thought that spelled was a misspelling until I looked up recently and found that someone had retroactively redefined English.
2207: [21:32:44] <Pyromanik> lewellyn: good on you :D
2208: [21:32:55] <lewellyn> Pyromanik: no, they're both valid words and actually are not 100% interchangeable.
2209: [21:33:00] <Pyromanik> I use f'n terrible Kiwi.
2210: [21:33:07] <UncleCheese> i kind of feel like i'm reading geoffrey chaucer or something
2211: [21:33:16] <Pyromanik> lewellyn: yeah, that's what the internet told me.
2212: [21:33:21] <Pyromanik> you can't eat spelled.
2213: [21:33:26] <Pyromanik> xD
2214: [21:33:33] <lewellyn> UncleCheese: ye meet me wif?
2215: [21:33:56] <lewellyn> or i guess it'd still be mete back then?
2216: [21:34:34] <Pyromanik> pilgrims. GOSH
2217: [21:34:52] <simon_w|air> Ha, things that pre-date the US constitution: The discover of NZ by Europeans.
2218: [21:35:04] <simon_w|air> And they think they can have their own language
2219: [21:35:49] <lewellyn> simon_w|air: we thought about writing our words all down in one book first ;)
2220: [21:36:12] <UncleCheese> can you really "discover" something that has been known to thousands of people for hundreds of years?
2221: [21:36:28] <UncleCheese> I think you mean the invasion of NZ by Europeans.
2222: [21:36:31] <simon_w|air> UncleCheese, yes.
2223: [21:36:32] <lewellyn> then the british had to go and try to one up with writing a library ;)
2224: [21:36:37] <simon_w|air> And that happened latter
2225: [21:36:50] <simon_w|air> lewellyn, pfft, we can't fit our words in one book :p
2226: [21:37:07] <Pyromanik> UncleCheese: yes, but to the Europeans, it was a discovery.
2227: [21:37:13] <lewellyn> not when you list every possible time they've been used!
2228: [21:37:36] <Pyromanik> It isn't a mutually exclusive condition to have a discovery not be discovered by a separate set of individuals
2229: [21:37:42] <UncleCheese> well, in that case, i just discovered Rebecca Black
2230: [21:37:51] <Pyromanik> perfectly valid ;D
2231: [21:37:59] <simon_w|air> Really? You only just discovered her?
2232: [21:38:03] <simon_w|air> Gutted
2233: [21:38:07] <Pyromanik> http://www.youtube.com/watch?v=HK4p7MYfLzs
2234: [21:39:09] <UncleCheese> I love this interpretation: http://www.youtube.com/watch?v=lrJz9Dh5MsM
2235: [21:40:45] <BPower> To get the object form of a Field, $this->fieldObj('FieldName') ?
2236: [21:41:42] * atmos has joined #silverstripe
2237: [21:41:42] <Pyromanik> oh god, yoko ono
2238: [21:42:04] <Pyromanik> BPower: dbObject()
2239: [21:42:07] <Pyromanik> but yep
2240: [21:42:19] <BPower> Pyromanik: thanks!
2241: [21:42:36] <Pyromanik> You're welcome :)
2242: [21:45:52] <Shrike_Finland1> What is that "material", UncleCheese… :D What a cover.
2243: [21:46:18] <UncleCheese> it's awesome
2244: [21:46:21] <Peavers> simon_w|air I still think you're wrong with overriding that email function
2245: [21:46:33] <simon_w|air> Peavers, could be. Fix it!
2246: [21:46:57] <Peavers> I've traced the link generating all the way down deep into the core
2247: [21:47:06] <Peavers> Can't find where its changing!
2248: [21:47:20] <UncleCheese> I love that fruit jam in NZ lists "sugar" as its first ingredient and not high fructose corn syrup
2249: [21:47:52] <simon_w|air> UncleCheese, welcome to a country that cares about taste? :p
2250: [21:48:26] <UncleCheese> and life
2251: [21:48:36] <lewellyn> is it friday there yet? http://youtu.be/1GaKaGwch0U
2252: [21:48:41] <UncleCheese> nooooooooo
2253: [21:48:52] <UncleCheese> lol
2254: [21:48:52] <UncleCheese> omg
2255: [21:49:03] <UncleCheese> k, putting in the headphones
2256: [21:49:53] <lewellyn> that's my second favorite version of that song.
2257: [21:52:16] <simon_w|air> http://www.youtube.com/watch?v=qizNQKzatXA
2258: [21:52:36] * hfried has joined #silverstripe
2259: [21:53:22] * micmania1 has joined #silverstripe
2260: [21:59:35] <andylockran> Pyromanik: thanks for that; so if I have two modules, that both require jQuery (independently) I put jQuery require at the top of both, and SilverStripe will do the rest
2261: [22:00:04] <ss23> blargh, working from home today, no lunch for me simon_w|air :<
2262: [22:04:52] <BPower> can interfaces define what a required return type? e.g. boolean, array, DataObject, etc
2263: [22:05:44] <ss23> Nope, BPower
2264: [22:05:56] <BPower> didn't think so....
2265: [22:05:57] * lerni quit (Remote host closed the connection)
2266: [22:06:17] <BPower> i'm trying hard not to build in too much logic.
2267: [22:06:23] <ss23> Use C
2268: [22:06:37] <BPower> there's silverstripe implementation in C? ;)
2269: [22:07:06] <ss23> There's HHVM... kind of :P
2270: [22:07:09] <ss23> But no, I think not
2271: [22:08:27] <simon_w|air> hfried, just running the tests with that change now. There shouldn't be any regressions that aren't important (i.e. the removal of staged pages on the login page for getting to staged content)
2272: [22:08:37] <micmania1> Does the comments module allow replies to comments?
2273: [22:09:23] <BPower> What kind of performance improvements can we expect in 3.1?
2274: [22:09:34] <simon_w|air> ss23, BPower, and the return types in HHVM are only JIT hints
2275: [22:09:59] <ss23> aw k
2276: [22:10:15] <FrozenFire> Everything's now private for a start
2277: [22:10:16] <FrozenFire> So a reduction in that respect
2278: [22:10:16] <FrozenFire> :P
2279: [22:13:07] <simon_w|air> The config layer being cached is the main speed improvement
2280: [22:15:03] <BPower> simon_w|air: how effective is that? e.g. general % time saved?
2281: [22:15:13] <zippy__> anyone use a good company for psd -> html cut ups (good company:))
2282: [22:15:24] <simon_w|air> BPower, noticeable.
2283: [22:15:29] <BPower> zippy__: LifetreeCreative
2284: [22:15:31] <BPower> zippy__: LifetreeCreative.com
2285: [22:16:06] <BPower> zippy__: or NathanBrauer.com ;)
2286: [22:16:14] <zippy__> ta
2287: [22:16:24] <FrozenFire> Sounds messy
2288: [22:16:39] <BPower> FrozenFire: what's messy?
2289: [22:16:51] <BPower> and how does something *sound* messy.
2290: [22:16:53] <FrozenFire> "I don't want a front-end developer. I just want this PSD made into HTML"
2291: [22:16:54] <FrozenFire> :P
2292: [22:16:57] <BPower> doesn't it *look* messy?
2293: [22:17:00] <BPower> ;)
2294: [22:17:18] <FrozenFire> Tastes messy
2295: [22:17:24] <BPower> yum!
2296: [22:18:15] * Stomach quit (Quit: Leaving.)
2297: [22:19:12] * Liquide quit ()
2298: [22:19:59] <BPower> simon_w|air: noticeable even with partial caching enabled?
2299: [22:21:25] <simon_w|air> Probably. The 3.0 config API is slow, and partial caching can only hide a little bit of it
2300: [22:23:17] * pippy has joined #silverstripe
2301: [22:23:40] <BPower> simon_w|air: awesome. I'm under fire to get performance cleaned up here.
2302: [22:24:34] <Pyromanik> man the news is awesome sometimes
2303: [22:24:44] <UncleCheese> gang fight, gang fight
2304: [22:24:57] <FrozenFire> BPower, The biggest thing you can probably do for performance is to move the Zend_Cache backend off of the disk
2305: [22:25:10] <FrozenFire> Or put the silverstripe-cache in a tmpfs
2306: [22:25:23] <FrozenFire> Or on a faster storage mechanism of any sort
2307: [22:25:27] * pippy_ quit (Ping timeout: 260 seconds)
2308: [22:25:31] <FrozenFire> SS defers far too much to disk access
2309: [22:25:45] <Pyromanik> http://s1.ibtimes.com/sites/www.ibtimes.com/files/styles/v2_article_large/public/2013/07/24/burka-avenger.jpg
2310: [22:25:56] <Pyromanik> so basically just a ninja right? Why is this revolutionary?
2311: [22:26:15] <Pyromanik> andylockran: yep.
2312: [22:26:28] <Pyromanik> make sure it's the same file though, or you'll end up with jquery included twice
2313: [22:26:57] <BPower> FrozenFire: we have SS temp folder located in /tmp/SS_www.hostname.com
2314: [22:27:27] <FrozenFire> BPower, Which is on the disk
2315: [22:27:32] <FrozenFire> Unless you have your /tmp in memory
2316: [22:27:35] <FrozenFire> Which would be sort of silly
2317: [22:28:07] <FrozenFire> BPower, The disk is the slowest component of a computer, unless you're using an SSD
2318: [22:28:11] <FrozenFire> And even then, probably still
2319: [22:28:20] <FrozenFire> SS caches on disk
2320: [22:28:27] <BPower> FrozenFire: Ya, it did make it faster though - we're also using APC
2321: [22:28:30] <FrozenFire> Which means that each requests requires several random disk accesses
2322: [22:28:43] <FrozenFire> BPower, APC for the Zend_Cache backend?
2323: [22:28:59] <BPower> I know nothing about Zend_Cache
2324: [22:29:07] <FrozenFire> SS_Cache is an extension of Zend_Cache
2325: [22:29:17] <FrozenFire> SS_Cache is used for caching configuration and a bunch of other things
2326: [22:29:20] <FrozenFire> Like partial caching
2327: [22:29:22] <BPower> Ah. APC is installed serverwide
2328: [22:29:33] <FrozenFire> That's nice. Still doesn't answer the question. :)
2329: [22:29:38] <FrozenFire> I'm going to presume not.
2330: [22:29:42] <micmania1> Anybody familiar with GridFIeldFilterHeader?
2331: [22:29:42] <BPower> I don't know how to answer the question :)
2332: [22:29:44] <simon_w|air> Configuring SS_Cache, especially for the manifest, is lots of fun
2333: [22:29:46] <BPower> Not my forte
2334: [22:29:56] <FrozenFire> Since getting Zend_Cache configured to use APC is complicated as all hell
2335: [22:30:15] <FrozenFire> So yeah, I would say that your best bet for immediate gains is to create a tmpfs where the silverstripe cache is
2336: [22:30:21] <FrozenFire> Like, a ramdisk
2337: [22:30:27] <BPower> micmania1: hah, I read that as GridFieldHitlerHater.... oops.
2338: [22:30:58] <BPower> Great thanks, FrozenFire!
2339: [22:31:36] <FrozenFire> BPower, Just keep in mind that if you ever reboot the system, everything in a tmpfs is lost.
2340: [22:31:41] <FrozenFire> Usually that does not matter
2341: [22:31:42] <micmania1> It might as well be Hitler at the moment...
2342: [22:31:57] <FrozenFire> But if you do something stupid in your code and save something important in SS_Cache, you'll have a lot of fun.
2343: [22:32:09] <FrozenFire> And by fun, I mean anger and frustration
2344: [22:32:13] * nyeholt has joined #silverstripe
2345: [22:32:28] <micmania1> Let me rephrase my question. Has anybody listed pages in a GridField?
2346: [22:33:15] <BPower> micmania1: hah - sorry I can't help.
2347: [22:34:21] <BPower> FrozenFire: Good to know! So if we reboot, it's basically flush=all.
2348: [22:34:27] <FrozenFire> Yep
2349: [22:34:44] <FrozenFire> You would also want to set up an /etc/fstab entry to re-create the tmpfs on boot
2350: [22:34:56] * SSmandrew has joined #silverstripe
2351: [22:35:00] <FrozenFire> Otherwise you'll be like "My site is 100 times slower after rebooting. WTF?"
2352: [22:35:18] <BPower> perf - calling our Ops team now.
2353: [22:36:01] <FrozenFire> Also worth mentioning that unless they're very smart, this is going to result in a few seconds of downtime at least.
2354: [22:36:30] <FrozenFire> Since you need to move your cache out of place, create the tmpfs where it was, then move the files from the cache into the tmpfs
2355: [22:36:36] <FrozenFire> (Or let SS regenerate the cache)
2356: [22:38:16] * ARNHOE_ has joined #silverstripe
2357: [22:40:03] <simon_w|air> hfried, commented on the PR
2358: [22:42:06] * ARNHOE quit (Ping timeout: 264 seconds)
2359: [22:42:20] <hfried> simon_w|air OK, I'll probably ask Sam or Ingo for a second opinion before merging. Be good if you could raise a PR against 3.0 in case we go ahead.
2360: [22:44:45] <BPower> FrozenFire: ya, we'd just let SS recreate the cache. But you *could* move automatically. E.g. in _ss_env, if (dir_exists(/tmpfs) && dir_exists(/tmp/SS)) { mv(/tmp/SS, /tmpfs); }
2361: [22:45:10] <BPower> that would load before any SS caching mechanism would load.
2362: [22:45:23] <FrozenFire> Eh. You'd be unpleasantly surprised.
2363: [22:46:17] <simon_w|air> Gah, stupid git
2364: [22:46:47] <FrozenFire> Git hates you too
2365: [22:46:56] <BPower> FrozenFire: worst case scenario, it fails and ss regenerates the cache
2366: [22:47:13] <FrozenFire> Worst case scenario your requests break and your site is down until you fix it
2367: [22:47:19] <ss23> Peavers: Oh you.
2368: [22:47:23] <simon_w|air> Turns out set-url doesn't change the push URL, so I ended up pushing my branch to silverstripe
2369: [22:47:32] <simon_w|air> Now it's going to the right place
2370: [22:47:43] <Peavers> ss23 I just don't know anymore.
2371: [22:47:53] <BPower> simon_w|air: git branch -avv ;)
2372: [22:48:12] <simon_w|air> BPower, git remote set-url --push origin git@github.com:simonwelsh/silverstripe-cms.git
2373: [22:48:23] * Guest76831 quit (Remote host closed the connection)
2374: [22:48:34] <BPower> OH
2375: [22:48:39] <BPower> btw, does SS use git flow?
2376: [22:48:39] * onre has joined #silverstripe
2377: [22:49:06] * onre is now known as Guest77116
2378: [22:49:10] <ss23> Peavers: Tell you what, it's a hack day today. I'll fix that bug for you. But in return, you have to be nice to me for the next 6 months at least
2379: [22:49:19] <Peavers> deal
2380: [22:49:33] <simon_w|air> BPower, the OS repos are almost entirely updated via pull request
2381: [22:49:34] <Peavers> I've spent all day yesterday, all night, and all this morning on it lol
2382: [22:49:39] <Peavers> still can't figure the prick out
2383: [22:49:44] <ss23> lol, you needa write more code :D
2384: [22:49:47] <BPower> Peavers: Don't do it! It's a trap!
2385: [22:49:48] <BPower> ;)
2386: [22:50:10] <Peavers> I've hacked the core to death 10 or so times to the point I had to reinstall lol
2387: [22:50:12] <Peavers> damn links.
2388: [22:50:32] <BPower> Guess what time it is at Marketo?!
2389: [22:51:01] <BPower> BEER O'CLOCK!
2390: [22:51:15] <BPower> ...it'd mean a whole lot more if I actually liked beer....
2391: [22:51:33] <AlphaCactus> teh more you drink it, teh more u lik eit
2392: [22:51:36] * travis-ci has joined #silverstripe
2393: [22:51:37] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#484 (canview - b1664f8 : Simon Welsh): The build has errored.
2394: [22:51:37] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/commit/b1664f86a430
2395: [22:51:37] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/10007354
2396: [22:51:37] * travis-ci has left #silverstripe
2397: [22:51:57] <simon_w|air> Nah duh it errored. I deleted the branch.
2398: [22:52:12] <Pyromanik> BPower: have a cider then?
2399: [22:52:13] <BPower> AlphaCactus: So what you're saying is, Wheat Grass shots ~= Beer
2400: [22:52:22] <Pyromanik> BPower: where are you? USA?
2401: [22:52:38] <AlphaCactus> to each their own poison I suppose...
2402: [22:52:57] <BPower> Pyromanik: This is 'Merica. We have beer and water.
2403: [22:52:59] <ss23> arggghhhhh
2404: [22:53:04] <ss23> the walk away with headphones still on
2405: [22:53:05] <ss23> :<
2406: [22:53:06] <BPower> ...and milk
2407: [22:53:09] <ss23> my poor headphone cables
2408: [22:53:38] <BPower> ss23: i did that yesterday. both the rubber things on the earbuds flew off. i have only one left now.
2409: [22:54:02] <BPower> Pyromanik: And yes, California.
2410: [22:54:05] <AlphaCactus> http://tinyurl.com/lh7x6sp
2411: [22:54:09] <simon_w|air> hehe, earbuds
2412: [22:55:00] <BPower> AlphaCactus: it was actually a joke....
2413: [22:55:27] <AlphaCactus> ohhhhhhhhhhh.
2414: [22:55:30] <AlphaCactus> derp
2415: [22:55:31] * BPower thought it was funny.
2416: [22:55:43] * sminnee has joined #silverstripe
2417: [22:57:55] <micmania1> is it right that you can do array_key_exists($key, $dataObject) ?
2418: [22:59:04] <FrozenFire> I think that's a byproduct of ViewableData implementing IteratorAggregate
2419: [23:02:04] <Pyromanik> BPower: but your milk isn't milk
2420: [23:02:07] <Pyromanik> it's like
2421: [23:02:13] <Pyromanik> malk
2422: [23:02:14] <micmania1> http://api.silverstripe.org/3.1/source-class-ArrayList.html#401-408 - This is returning false for "Title". The first item in the list if a BlogPost (SiteTree -> Page -> BlogPost)
2423: [23:02:20] <Pyromanik> with sugar in it
2424: [23:02:28] <micmania1> is*
2425: [23:03:37] <FrozenFire> micmania1, I would assume that it would return false for Title
2426: [23:03:39] <BPower> micmania1: what's the difference between array_key_exists() and isset($array[$key])?
2427: [23:03:45] <FrozenFire> Actually, hrmm
2428: [23:03:54] <FrozenFire> Nevermind. For SiteTree, yeah, that should work
2429: [23:03:56] <BPower> Pyromanik: malk?
2430: [23:04:02] <FrozenFire> But Title is often implemented as a method.
2431: [23:04:06] <BPower> Pyromanik: are you in NZ?
2432: [23:04:14] * Colin[pi] has joined #silverstripe
2433: [23:04:22] <FrozenFire> Colin[pi], Hey there best buddy of mine.
2434: [23:04:26] <Colin[pi]> morning!
2435: [23:04:40] * azureKnight has joined #silverstripe
2436: [23:04:42] <FrozenFire> You have no idea how long I've been waiting for you.
2437: [23:04:49] <Colin[pi]> :o
2438: [23:04:58] <FrozenFire> You've been on my mind all day
2439: [23:04:59] <BPower> Pyromanik: I used to live in Vietnam and had NZ milk imported. It was .... i don't even have words to describe...
2440: [23:05:11] <FrozenFire> Want to know why?
2441: [23:05:13] <Colin[pi]> ooh so glad I have that effect on you :o
2442: [23:05:17] <BPower> Pyromanik: but I'm sure local milk in NZ is better than milk imported from NZ.
2443: [23:05:22] <FrozenFire> Because you live in Australia.
2444: [23:05:29] <FrozenFire> And I'm in desperate need of an Australian right now
2445: [23:05:47] <Colin[pi]> oooook?
2446: [23:05:52] <FrozenFire> An Australian with a mobile phone, fingers, a vulnerability to my charms, and a bit of time on his/her hands.
2447: [23:05:59] <simon_w|air> Colin[pi], these Canadians are weird
2448: [23:06:13] <lewellyn> FrozenFire: that either means you need citizenship or identity theft.
2449: [23:06:25] <Colin[pi]> lol
2450: [23:06:35] <FrozenFire> Haha, somewhat less daunting a task than that.
2451: [23:06:49] <FrozenFire> I need to occasionally (only a few times) send an Australian a text message, and have them reply
2452: [23:07:19] <FrozenFire> I run a major SMS provider, and need to get Australian connectivity going. This is the only place I know Australians from :P
2453: [23:07:48] <FrozenFire> Colin[pi], Would you be up for giving me a bit of help? :D
2454: [23:07:55] <Colin[pi]> so you want to spam me?
2455: [23:08:04] <Pyromanik> BPower: Vietnamese milk will have been UHT stuff that doesnt' go in the fridge.
2456: [23:08:09] <FrozenFire> Nah. Just one or two messages to make sure they're being delivered
2457: [23:08:12] <Pyromanik> I can agree with your statement.
2458: [23:08:23] <FrozenFire> It's a new carrier, so I have nfc whether any of my code for binding to them will work
2459: [23:08:24] <Colin[pi]> lol
2460: [23:08:30] <FrozenFire> And it has to be routed into Australia :P
2461: [23:08:34] <Colin[pi]> k we can test if you like
2462: [23:08:47] <Colin[pi]> just because you asked so nicely
2463: [23:08:52] <Pyromanik> lol
2464: [23:08:57] <FrozenFire> I'd appreciate it, and would be happy to remunerate you for any costs, plus some beer money.
2465: [23:08:57] <Colin[pi]> and I expect special favours in returb
2466: [23:08:57] <FrozenFire> :P
2467: [23:09:00] <Colin[pi]> *return also
2468: [23:09:00] <Pyromanik> you're just totally suceptible to his charms.
2469: [23:09:10] <Pyromanik> his wiley charms.
2470: [23:09:27] <FrozenFire> Mind PM'ing me your mobile phone number?
2471: [23:09:46] <FrozenFire> Cross my heart, hope to die, I won't spam you. :P
2472: [23:09:51] <lewellyn> he's going to send you an apk! oh no! ;)
2473: [23:09:54] <Pyromanik> all the elephants.
2474: [23:10:03] * Colin[pi] gonna get haxxed
2475: [23:10:42] <FrozenFire> If nothing else, have a story to tell in that you were involved in facilitating tens of millions of SMS messages being delivered.
2476: [23:10:43] <FrozenFire> :P
2477: [23:10:59] <Kolin> haxxed!
2478: [23:11:18] <Kolin> cant even count characters :(
2479: [23:11:30] * Shrike_Finland1 quit (Quit: Leaving.)
2480: [23:11:35] <Kolin> What chance do i stand in a casino?
2481: [23:13:10] * catcher quit (Quit: Leaving)
2482: [23:15:15] * Stomach has joined #silverstripe
2483: [23:17:40] * mobiusnz has joined #silverstripe
2484: [23:19:32] <Pyromanik> upgrade from 3.0 to 3.1 - the usual just delete and drop in, then change all me statics to privates?
2485: [23:19:52] * zippy__ quit (Ping timeout: 276 seconds)
2486: [23:20:33] <Pyromanik> :< where are the 3.1 changelogs :/
2487: [23:20:34] * zagoodwin has joined #silverstripe
2488: [23:20:36] <Pyromanik> :S
2489: [23:20:41] <Pyromanik> D:
2490: [23:20:47] <Pyromanik> x(
2491: [23:20:48] * Peavers_Somethin has joined #silverstripe
2492: [23:20:51] <Pyromanik> +_+
2493: [23:20:54] <Pyromanik> X_X
2494: [23:20:55] * Peavers quit (Ping timeout: 264 seconds)
2495: [23:20:57] <Pyromanik> $_$
2496: [23:20:58] <Pyromanik> xD
2497: [23:20:59] * simon_w|air quit (Ping timeout: 260 seconds)
2498: [23:21:06] <Peavers_Somethin> not impressed.
2499: [23:21:42] <Pyromanik> because tiem'n out
2500: [23:21:44] <Pyromanik> ?
2501: [23:21:52] <Peavers_Somethin> yup
2502: [23:21:57] <Peavers_Somethin> seems my isp has shat itself
2503: [23:22:03] * simon_w|air has joined #silverstripe
2504: [23:22:07] * zippy__ has joined #silverstripe
2505: [23:22:30] <zippy__> hmmm seems the ol UFB is blowing some chunks today
2506: [23:22:38] <Peavers_Somethin> its snap zippy__
2507: [23:22:47] <Peavers_Somethin> mines just shat itself too
2508: [23:22:54] <zippy__> ah, snap!
2509: [23:23:33] <Pyromanik> simon_w|air: is there a specific stablerish commit I should fetch for 3.1?
2510: [23:23:37] <zagoodwin> Hey, for my has one it only works if i have "static $has_one = array ('document' => 'Image');"
2511: [23:23:46] <simon_w|air> Pyromanik, the latest one
2512: [23:23:54] <Pyromanik> zagoodwin: and... ?
2513: [23:23:56] <zagoodwin> if i replace Image with anything else it wont work
2514: [23:24:02] <Pyromanik> well yeah
2515: [23:24:07] <Pyromanik> that's the Object class
2516: [23:24:18] <zagoodwin> ohh sweet,
2517: [23:24:20] <Pyromanik> it must exist.
2518: [23:24:30] * howardgrigg quit (Remote host closed the connection)
2519: [23:24:31] <zagoodwin> that makes sense
2520: [23:24:41] <Pyromanik> eg by default cms install... Page, Image, Document
2521: [23:24:56] <Pyromanik> if you MyCustomObject extends DataObject
2522: [23:25:06] <Pyromanik> you could 'yays' => "MyCustomObject"
2523: [23:25:15] <Pyromanik> then you will have one yays, which is a mydataobject
2524: [23:25:36] * ARNHOE_ quit (Remote host closed the connection)
2525: [23:25:43] <Pyromanik> or have one mycustomobject named yays, to put it less ambiguiously
2526: [23:26:02] <Pyromanik> or more, since yays will probably have it's own title.
2527: [23:26:08] <Pyromanik> but the relation will be named yays
2528: [23:26:14] * Pyromanik sighs.
2529: [23:26:21] <Pyromanik> I'm so good at explaining.
2530: [23:27:54] <nyeholt> can anyone recommend a query log analysis tool that automatically does aggregation and "similar query" matching via parameter extraction
2531: [23:28:07] <nyeholt> and you know, is free of course (/cheapskate)
2532: [23:29:30] * mobiusnz has left #silverstripe
2533: [23:29:44] <FrozenFire> All hail Colin[pi], provisioner of Australian phones.
2534: [23:29:45] <FrozenFire> ;P
2535: [23:29:59] <Colin[pi]> still a better phone company than Telstra
2536: [23:31:22] <Pyromanik> so like
2537: [23:31:31] <Pyromanik> if(class_exists('SiteTree')) SiteTree::enable_nested_urls();
2538: [23:31:34] <Pyromanik> no longer a thing?
2539: [23:31:44] <simon_w|air> Now a _config.yml thing?
2540: [23:31:51] <Pyromanik> yeah but it's not in there either
2541: [23:32:04] <simon_w|air> On by default
2542: [23:32:09] <Pyromanik> https://github.com/silverstripe/silverstripe-installer/blob/3.1/mysite/_config/config.yml
2543: [23:32:12] <Pyromanik> oic
2544: [23:32:14] <Pyromanik> cool, so not needed?
2545: [23:32:36] <Pyromanik> (actually what I really meant I guess - it's on by defualt do I even need this line anymore?)
2546: [23:33:06] <simon_w|air> You don't need that line any more
2547: [23:33:23] <Pyromanik> :D ty
2548: [23:34:52] <FrozenFire> So, SS got high praise yesterday.
2549: [23:35:13] <FrozenFire> From the primary developer of Zend Framework, no less.
2550: [23:35:14] <FrozenFire> :P
2551: [23:35:16] <Pyromanik> by your bosses?
2552: [23:35:19] <Pyromanik> oh
2553: [23:35:22] <Pyromanik> winning.
2554: [23:35:41] <FrozenFire> Not that anyone thinks SS is elegant or fast or stable, mind you. :P
2555: [23:35:44] <Pyromanik> FrozenFire: was he looking at the CMS, or at framework code?
2556: [23:35:53] <Pyromanik> yeah, well fast it isn't really.
2557: [23:36:18] <FrozenFire> We needed our... "logistics manager" (boss' assistant) to be able to update our website.
2558: [23:36:26] <FrozenFire> So I moved our site from ZF2 to SS
2559: [23:36:30] <Pyromanik> pretty elegant for that.
2560: [23:36:31] <FrozenFire> Took me about twenty minutes
2561: [23:36:35] <Pyromanik> nice
2562: [23:36:41] <FrozenFire> "Damn that was fast."
2563: [23:36:42] <Pyromanik> 3.1?
2564: [23:36:47] <Pyromanik> haha
2565: [23:36:50] <Pyromanik> it is fast.
2566: [23:37:14] <micmania1> I've given up on this canFilterBy thing.
2567: [23:37:14] <micmania1> Too much black magic going on.
2568: [23:37:22] <Pyromanik> My record is 8 hours, but that's theme from design mockups.
2569: [23:37:38] <FrozenFire> http://staging.roave.com/team/
2570: [23:37:41] <FrozenFire> Now running SS :P
2571: [23:37:50] <Pyromanik> micmania1: what is it you're trying to do (the problem your'e trying to solve, not the issue with canfilterby)
2572: [23:38:24] <micmania1> I've trying to list Pages in a GridField, but GridFieldFilterHeader is not returning any fields to filter by.
2573: [23:38:47] <micmania1> Its checking Title with canFilterBy and its returning false.
2574: [23:39:04] <Pyromanik> heh
2575: [23:39:07] <Pyromanik> I see
2576: [23:39:15] <Pyromanik> $searchable_fields ?
2577: [23:39:21] <micmania1> yeah, its set.
2578: [23:39:41] * Pyromanik shrugs
2579: [23:39:44] <FrozenFire> micmania1, Also, why is ArrayList involved, by the way?
2580: [23:39:45] <Pyromanik> I think I've had this issue too
2581: [23:39:50] <Pyromanik> I just removed the filterable header.
2582: [23:40:09] <Pyromanik> mmm, you probably want datalist
2583: [23:40:20] <FrozenFire> DataObjects are not ArrayList-friendly
2584: [23:40:31] <micmania1> ArrayList is involved because it uses the first item from $gridField->getList() to check the database fields.
2585: [23:40:58] <FrozenFire> But... why is ArrayList involved?
2586: [23:41:13] <micmania1> http://api.silverstripe.org/3.1/source-class-ArrayList.html#401-408
2587: [23:41:20] <FrozenFire> But... why is ArrayList involved?
2588: [23:41:35] <FrozenFire> A list of Pages should be a DataList
2589: [23:41:52] <FrozenFire> A GridField (say, from a ModelAdmin) should be returning a DataList
2590: [23:42:00] * CodeTrap quit (Ping timeout: 260 seconds)
2591: [23:42:08] <FrozenFire> It takes a fair bit of hacking, last I checked, to make GridField work with ArrayList
2592: [23:42:28] <FrozenFire> You might be looking for https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/DataList.php#L207
2593: [23:43:14] <micmania1> nope, this is all in the core. I haven't touched it.
2594: [23:43:36] * FrozenFire clears his throat
2595: [23:43:41] <FrozenFire> But... why is ArrayList involved?
2596: [23:45:05] <micmania1> $this->AllChildrenIncludingDeleted() - That could be it.
2597: [23:45:09] <micmania1> 2 secs
2598: [23:45:10] <AlphaCactus> Can i set the order of items in the leftandmain left menu
2599: [23:45:25] <FrozenFire> AlphaCactus, Depends on the version of SS
2600: [23:45:25] <simon_w|air> AlphaCactus, change the priorities of the classes
2601: [23:45:33] <FrozenFire> And regardless, it's not trivial. :P
2602: [23:45:33] <AlphaCactus> 3.1+
2603: [23:46:10] <simon_w|air> Not trivial my arse :p
2604: [23:46:18] <FrozenFire> Wasn't trivial the last time I tried
2605: [23:46:27] <simon_w|air> CMSMain:
2606: [23:46:28] <simon_w|air> menu_priority: 5
2607: [23:46:44] <micmania1> Yes! FrozenFire, that was it.
2608: [23:46:45] <micmania1> cheers
2609: [23:47:32] * simon_w|air quit (Remote host closed the connection)
2610: [23:47:51] * simon_w|air has joined #silverstripe
2611: [23:47:56] * hfried quit (Quit: hfried)
2612: [23:48:14] <FrozenFire> Hrmm, maybe it was something else that I was doing
2613: [23:48:22] <FrozenFire> Like changing where the Help item was
2614: [23:48:25] <FrozenFire> Or something like that
2615: [23:48:46] <simon_w|air> Yeah, changing the order has been trivial since it wasn't hardcoded
2616: [23:49:00] * Peavers has joined #silverstripe
2617: [23:49:00] <Pyromanik> hey Zauberfisch_i do you reckon you could do a sweet blog post on Entwine?
2618: [23:49:38] <AlphaCactus> higher number means higher on the list I take it
2619: [23:50:08] * Peavers_Somethin quit (Ping timeout: 246 seconds)
2620: [23:50:20] <simon_w|air> yup
2621: [23:50:30] <AlphaCactus> thx simon
2622: [23:50:50] * howardgrigg has joined #silverstripe
2623: [23:53:08] <micmania1> Bed time for me. Thanks for the help.
2624: [23:53:29] <BPower> Pyromanik: you mean so it doesn't have to be refrigerated?
2625: [23:57:42] <Pyromanik> BPower: yeah.
2626: [23:58:02] <Pyromanik> Ultra Heat Treated - UHT. Doesn't need refridgeration
2627: [23:58:19] * chillu quit (Quit: chillu)
2628: [23:58:23] <Pyromanik> you can, of course. Most people enjoy milk cold.
2629: [23:58:36] <BPower> ya, we did.
2630: [23:58:40] <Pyromanik> but it's made specifically to survive in warmer climates.
2631: [23:58:49] <BPower> and have a longer shelf life
2632: [23:58:55] <Pyromanik> same deal.
2633: [23:59:11] <BPower> it was super expensive though
2634: [23:59:15] <Pyromanik> yeh, it would be.
2635: [23:59:24] <BPower> 1 liter was the same price as 1 US gallon.
2636: [23:59:28] <Pyromanik> lol
2637: [23:59:34] <Pyromanik> also it depends on how they shipped it in.
2638: [23:59:42] <BPower> i'm sure they boated it in
2639: [23:59:54] <Pyromanik> it may have been UHT, but may also have a processing plant in Vietnam that rehydrates powder.

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