#silverstripe IRC Log

IRC log for 25 September 2013

All timestamps are in UTC.

1: [00:00:03] <ss23> Pyromanik: I understand the first translation / change, but *why* keep using it/
2: [00:00:07] <ss23> Why not switch
3: [00:00:11] <Pyromanik> oic, yeh.
4: [00:00:13] <Pyromanik> nfi
5: [00:00:15] <Pyromanik> accident
6: [00:00:16] <ss23> simon_w: pls, pls
7: [00:00:17] <Pyromanik> mebbe
8: [00:00:19] <ss23> simon_w: how d I push?
9: [00:00:27] <irogue> good timing there Outlook
10: [00:00:30] <ss23> silverstripes-iMac-2:sapphire sshkardoon$ git push origin master
11: [00:00:31] <ss23> Everything up-to-date
12: [00:00:36] <ss23> BUT IT'S LYING, IT'S LYING
13: [00:00:36] <ss23> ;_;
14: [00:00:49] <ss23> fml
15: [00:00:50] <ss23> composer master
16: [00:00:52] <ss23> not origin master
17: [00:00:53] <ss23> Kill me
18: [00:00:57] <irogue> just as i sign up for a fastmail trial and configure my email address to go there as well as to my Outlook.com
19: [00:01:05] <ss23> wtf stil not working ;_;
20: [00:01:09] <irogue> my Outlook (the physical client, not the webmail) craps its pants
21: [00:01:37] <irogue> really helps with the decision-making :P
22: [00:02:01] <ss23> lol irogue
23: [00:03:04] <ss23> still cna't get this to push
24: [00:03:11] <ss23> I'm so defeated, I feel like spronk after using subsites
25: [00:03:19] <irogue> hahaha
26: [00:03:19] <spronk> LOL
27: [00:03:32] * Jayden90 quit (Quit: Jayden90)
28: [00:03:39] <simon_w> Pushing the right branch?
29: [00:03:44] <ss23> idk
30: [00:03:46] <ss23> probably not
31: [00:03:47] <ss23> no
32: [00:03:48] <ss23> I wasn't
33: [00:03:49] <ss23> :<
34: [00:03:51] <ss23> fuck
35: [00:03:52] <irogue> so, i should probably finally release an SS module
36: [00:04:43] <irogue> i made an SESMailer
37: [00:04:53] <simon_w> But then people want you to support and maintain it
38: [00:04:58] <simon_w> Or they expect me to
39: [00:05:20] <ss23> ^^^
40: [00:05:28] <Colin[pi]> And? Why can't you? ;P
41: [00:05:29] <ss23> Need an auto responder -- "pleaes make a PR"
42: [00:05:34] <ss23> Colin[pi]: Psh...
43: [00:05:38] <ss23> Colin[pi]: Do *You* have moduels?
44: [00:05:53] <Colin[pi]> Bro do you even module?
45: [00:05:59] <Colin[pi]> I have like a shit ton
46: [00:06:08] <Colin[pi]> but they are not public ^_^
47: [00:06:21] <ss23> lol
48: [00:06:24] <ss23> DOESN'T COUNT THEN
49: [00:06:27] <Colin[pi]> :C
50: [00:06:34] <ss23> I get to maintain all the official modules, I'm *important*!
51: [00:06:39] <Colin[pi]> i even have a god damn weather widget
52: [00:06:48] <ss23> And by "maintain", I mean "fuck a client is complaining, lets make the module actually work with 3.1"
53: [00:06:48] <Colin[pi]> I made it on the weekend for fun ^_^
54: [00:08:05] <Pyromanik> Colin[pi]: why oh why
55: [00:08:11] <Colin[pi]> why what?
56: [00:13:57] <ss23> Oh look, Peavers!
57: [00:14:05] <ss23> Peavers: Looks like a client wants those newsletter fixes
58: [00:14:09] <ss23> Peavers: Maybe I'll be paid to make them for oyu
59: [00:14:18] <ss23> simon_w: Did you want lunch today?
60: [00:14:43] <simon_w> ss23, you should bring it down here
61: [00:15:04] <spronk> ugh fucking msword
62: [00:15:13] <spronk> somehow managed to get myself a second first page in the middle of the document
63: [00:15:21] <simon_w> Skill
64: [00:15:23] <irogue> spronk: don't fuck it, you'll catch something
65: [00:15:30] <spronk> lool
66: [00:16:02] <ss23> simon_w: psh :<
67: [00:17:26] * chillu quit (Quit: chillu)
68: [00:18:52] <Pyromanik> FFFFFFFFFFFFFFFFUUUUUU
69: [00:19:06] * Bollig|DesignCty has joined #silverstripe
70: [00:19:12] <Pyromanik> ArrayList::merge() Y 4 U NO return $this; ?!
71: [00:19:38] <Pyromanik> 12:16 <+ss23> simon_w: psh :<
72: [00:19:42] <Pyromanik> oh you and your turbos
73: [00:19:49] <ss23> hahahahahahahhahahaha
74: [00:19:51] <ss23> lol IRL
75: [00:22:11] <Pyromanik> 12:05 <+ss23> Colin[pi]: Psh...
76: [00:23:32] <Pyromanik> 12:16 <+ss23> simon_w: psh :<
77: [00:23:39] <Colin[pi]> PSH
78: [00:23:47] <simon_w> HSP
79: [00:24:37] <ss23> The film Inception is just trying to explain "callback hell" via a more mainstream medium.
80: [00:25:44] <longtips> shame writing promises / deferreds in php is a bit of a gotcha
81: [00:25:56] <longtips> (re: callback hell)
82: [00:26:57] * Jayden90 has joined #silverstripe
83: [00:28:32] <Jayden90> Is it possible to automatically populate a pages' gridfield with it's child pages. I have a tile style nav on a page listing child pages, but the apearance of each of the tiles is customisable. Big, small, background pic, etc. I want to avoid setting tile apearance within each of the child pages.
84: [00:29:49] <Pyromanik> GridField::create('lol', 'hmmkay', $this->Children(), GridFieldConfig::create()) ?
85: [00:31:22] <Jayden90> It does my head in a bit, if a child page is deleted, will the relationships automatically remove the record in that gridfield?
86: [00:31:34] <Pyromanik> There is no relationship.
87: [00:32:05] <Pyromanik> Gridfield does nothing more than display a list.
88: [00:32:06] <Pyromanik> any list.
89: [00:32:10] <Pyromanik> SS_List
90: [00:32:27] <Jayden90> Pyromanik: with $this->Children(), how would you add custom fields to the records, ie. tile height, background-image, etc?
91: [00:32:40] <Pyromanik> DataList, ArrayList, JSONList, MyCustomListImplementation implements SS_List
92: [00:33:08] <Pyromanik> Jayden90: you don't?
93: [00:34:10] * zippy__ quit (Quit: zippy__)
94: [00:35:04] <Jayden90> esentialy if I loop $Children, the tiles would all look the same unless the child pages themselves had $BackgroundImage, etc. on them to tap into.
95: [00:36:05] <Jayden90> I am wondering if the appearence of tiles could be contained in the CMS to the page they are being displayed on.
96: [00:48:28] <simon_w> Failed asserting that false is true.
97: [00:48:31] <simon_w> Awww
98: [00:49:52] <ss23> lol
99: [00:49:54] <ss23> I hate that message
100: [00:50:33] <ss23> Error: Must be instance of Boolean, Boolean given
101: [00:51:04] <irogue> well that was surprising
102: [00:51:13] <irogue> suddenly i seem to be doing silverstripe hosting
103: [00:51:23] <ss23> lol why?
104: [00:51:57] <ss23> simon_w: So you guys getting your own lunch then?
105: [00:52:05] <Peavers> ss23!
106: [00:52:09] <ss23> :O
107: [00:52:19] <simon_w> ss23, doesn't look like it
108: [00:52:24] <irogue> old flatmate (who does IT rang), one of his customers' SS site has been down for days, wants replacement hosting+developer ASAP
109: [00:52:27] <Peavers> Can you yell at Oppler from where you're sitting?
110: [00:52:35] <ss23> Peavers: Yes, I *can*...
111: [00:52:42] * Stomach quit (Quit: Leaving.)
112: [00:52:43] <ss23> lol irogue
113: [00:52:52] <Peavers> Can you yell at him to check a repopend SUPPORT ticket from me?
114: [00:52:59] <Peavers> reopened**
115: [00:53:02] <ss23> Peavers: ... he'll get mad :O
116: [00:53:05] <irogue> their current host was charging them $100/mo for hosting a fairly quiet SS site
117: [00:53:10] <Peavers> on a scale of 1-10 how mad?
118: [00:53:15] <ss23> irogue: We charge them like that much
119: [00:53:16] <ss23> :D
120: [00:53:24] <ss23> Peavers: Eh, probably ~4
121: [00:53:26] <irogue> so i can just charge them half that and pop it on its own EC2 instance
122: [00:53:29] <Peavers> I can deal with a 4.
123: [00:53:38] <Peavers> My tickets been open for like 36 hours now.
124: [00:53:47] <ss23> Hmmm
125: [00:53:58] <Peavers> Does he get a notification that I reopened it?
126: [00:54:02] <Peavers> not sure he even knows about it
127: [00:54:03] <ss23> Peavers: I'll check
128: [00:54:13] <ss23> I'll check with like "so do you get notifications about re-opened tickets/'
129: [00:54:31] <ss23> Peavers: I'm going out for lunch, I'll talk to him on the way
130: [00:54:32] <simon_w> Including the slash
131: [00:54:34] <Peavers> sweet - its a bug with your stupid deploynaut anyway...
132: [00:54:39] <ss23> lol
133: [00:54:39] <ss23> Peavers: No
134: [00:54:41] <ss23> Peavers: NO
135: [00:54:43] <Peavers> Yes.
136: [00:54:44] <Peavers> YES
137: [00:54:54] <ss23> Peavers: Believe me, there is no way in hell we're going to make the themes directory world readable/writable for you
138: [00:54:58] <ss23> :P
139: [00:55:00] <ss23> That's massive risk
140: [00:55:05] <Peavers> lol I don't want it!
141: [00:55:13] <ss23> What do you want then!
142: [00:55:14] <Peavers> I want you to delete the files that are there so I can deploy!
143: [00:55:17] <ss23> oic
144: [00:55:18] <ss23> ohhhh
145: [00:55:21] <ss23> Yes, we've had that bug too
146: [00:55:21] <ss23> XD
147: [00:55:29] <Peavers> lol thats all I want!
148: [00:55:33] <ss23> I havent' thought of an elegant fix... apart from "don't get in that position"
149: [00:55:44] <Peavers> I've changed my code to use the asset folder, but can't deploy that code due to the permission error
150: [00:55:44] <simon_w> That's what she said
151: [00:55:50] <ss23> XD
152: [00:55:52] <ss23> yeah, Peavers
153: [00:56:14] <Peavers> he fixed it once, but then found another place I did the same thing... ...my bad...
154: [00:56:22] <simon_w> ss23, five minutes, inside Readings, somewhere visible
155: [01:11:10] <simon_w> ss23, too late!
156: [01:11:35] <ss23> ........
157: [01:11:53] <ss23> simon_w: I ALREADY GOT LUNCH
158: [01:12:06] <simon_w> Sure sure
159: [01:12:30] * zippy__ has joined #silverstripe
160: [01:17:10] * UncleCheese quit (Quit: UncleCheese)
161: [01:18:37] <spronk> man
162: [01:18:43] <spronk> msword needs better semantic editing tools
163: [01:26:38] <zippy__> whats the world coming to....
164: [01:26:48] <ss23> lol
165: [01:26:54] <zippy__> get an email "The package has been delivered to your house"….
166: [01:27:02] <zippy__> look outside, and it's sitting on the deck
167: [01:27:09] <ss23> haha
168: [01:27:15] <zippy__> "don't bother to ring the doorbell, we'll email him"
169: [01:27:30] <zippy__> lazy ass courier compaies
170: [01:28:03] <Pyromanik> 12:52 < irogue> old flatmate (who does IT rang), one of his customers' SS site has been down for days, wants replacement hosting+developer ASAP
171: [01:28:07] <Pyromanik> LIVING THE DREAM
172: [01:28:12] <spronk> fucking courises
173: [01:28:31] <simon_w> So long as they consent
174: [01:28:36] <spronk> :D
175: [01:28:56] <ss23> lol
176: [01:29:33] <spronk> ugh
177: [01:29:36] <spronk> fucking contract client
178: [01:29:56] <Peavers> ss23, tell John I say thanks!
179: [01:30:05] <ss23> Peavers: He'll get more angry!
180: [01:30:05] <spronk> "we need to make the virtual pages on the nz site show different warranty info to the nz site"
181: [01:30:09] <ss23> He's busy atm anyway
182: [01:30:17] <ss23> I hate having a song in my head but not having it in my library
183: [01:30:22] <ss23> A sign of not pirating enough music, IMO
184: [01:30:25] <Peavers> Google music bitch.
185: [01:30:52] <simon_w> iTunes Radio
186: [01:30:54] * UncleCheese has joined #silverstripe
187: [01:30:55] <ss23> >30 day free trial, then $12.99 per month
188: [01:31:50] <Pyromanik> camo & krooked, cross the line.
189: [01:32:02] <ss23> Pyromanik: Is that an artist/song?
190: [01:34:18] * unsignedint has joined #silverstripe
191: [01:37:58] <spronk> ss23: what do you know about cms pages and requiredfields ?
192: [01:38:04] <spronk> i.e. getCMSValidator
193: [01:38:09] <ss23> Alone in the middle of an open field laying on your back, gazing up into a starry night sky
194: [01:38:14] <ss23> spronk: Hmmm, nothing!
195: [01:38:18] <spronk> damnit
196: [01:38:27] <ss23> I can learn, if you pay me, spronk ^.^
197: [01:38:34] <spronk> :(
198: [01:39:55] <Pyromanik> ss23: artists - album
199: [01:40:18] <spronk> because i'm pretty sure getCMSValidator is broken
200: [01:40:23] <Pyromanik> spronk: iirc that's oldschool.
201: [01:40:29] <spronk> DAMNIT wtf
202: [01:40:30] <Pyromanik> trouble is, I dunno what is newschool :<
203: [01:40:32] <spronk> what's newschool ?
204: [01:40:33] <spronk> D:
205: [01:40:36] <Pyromanik> ikr
206: [01:40:43] <Pyromanik> it's a question that's been asked here a few times.
207: [01:40:57] * ss23 is now playing: Opening - Linkin Park [Reanimation - 2002]
208: [01:41:01] <ss23> OLDSCHOOL AS SHIT NIGGA
209: [01:41:32] <spronk> fucks sakes
210: [01:41:38] <spronk> upgrade site to 3.1
211: [01:41:44] <spronk> client starts complaining that pages don't save
212: [01:41:49] <spronk> any data entered just disappears
213: [01:41:50] <ss23> >upgrade
214: [01:41:50] <ss23> lol
215: [01:41:58] <ss23> You knew this would happen1
216: [01:42:18] <spronk> lo and behold, getCMSValidator isn't working. no errors coming back to CMS UI, no notices on the required fields
217: [01:43:55] <spronk> what the fuck to do.
218: [01:44:08] <spronk> if i disable the required fields, likelyhood of site breakage = high
219: [01:44:29] <spronk> if i don't, client will continually get confused as to which fields are required, and lose data
220: [01:44:35] <spronk> note: why the fuck does it lose all the data they entered :/
221: [01:47:07] <ss23> spronk: running latest 3.1 cms and framework?
222: [01:47:11] <simon_w> Blame that sminnee guy
223: [01:47:16] <ss23> ^^^
224: [01:47:39] <simon_w> ss23, go and yell at him for spronk
225: [01:47:50] <spronk> ss23: 3.1 rc2 cms and fw
226: [01:47:55] <spronk> it worked in 3.0.something
227: [01:48:12] <ss23> simon_w: And say what?!
228: [01:48:19] <ss23> "IRC is mad at you, they say you broke latest 3.1"
229: [01:48:39] <ss23> If it makes you feel better
230: [01:48:41] <ss23> This isn't saving either
231: [01:48:46] <simon_w> Fairly sure it was him that redid how validators worked in the CMS
232: [01:48:47] <ss23> mix and match cms/framework versions, yo!
233: [01:49:01] <spronk> ss23: wha?
234: [01:49:08] <ss23> Waait no, it's doing the opposite
235: [01:49:12] <spronk> he's got a pull req for changes to validation shit
236: [01:49:21] <ss23> It works fine, saves, but the CMS says it's not published.
237: [01:49:21] <spronk> but as far as i can see it isn't in rc2
238: [01:49:38] <ss23> lol
239: [01:49:43] <ss23> spronk: IDK MAN
240: [01:49:43] <ss23> ;_;
241: [01:49:47] <ss23> spronk: simon_w said it, not me!
242: [01:50:05] <spronk> i was referring to whatever you're talking about
243: [01:50:11] <ss23> spronk: I'm talking about this 2.4 site
244: [01:50:12] <ss23> :
245: [01:50:12] <ss23> :P
246: [01:50:20] <spronk> oh
247: [01:50:34] <ss23> fuck it, this site isn't getting the XSS/flush fixes
248: [01:50:50] <irogue> righto, time to upgrade this site
249: [01:50:58] <ss23> NO!!!!
250: [01:51:02] <ss23> Upgrades are *evil*!
251: [01:51:04] <ss23> Just rebuild, bro!
252: [01:51:08] <irogue> lol
253: [01:51:13] <irogue> luckily, no modules or custom code!
254: [01:51:17] <ss23> If I had a $ for every "oh I'll just upgrade"
255: [01:51:29] <ss23> irogue: Not even a "class Page extends"...?
256: [01:52:03] <irogue> well yeah, other than pagetypes
257: [01:52:05] <irogue> they don't count :P
258: [01:53:06] <ss23> lol
259: [01:53:12] <ss23> I don't know if I wanna fix this or what...
260: [01:53:19] <ss23> like
261: [01:53:19] <ss23> urgh
262: [01:53:21] <ss23> I hate upgrades
263: [01:53:23] * UncleCheese quit (Quit: UncleCheese)
264: [01:53:23] <spronk> // TODO Automatically switch to the tab/position of the first error \\ statusMessage("Validation failed.", "bad");
265: [01:53:32] <spronk> i don't even get the status message wtf.
266: [01:53:54] <ss23> simon_w: Do you know an easy way to cross reference an SVN rXXXXX to git commit hash? (This looks like it was pointing to before we were on git)
267: [01:54:02] <ss23> cms/ -r112678 http://svn.silverstripe.com/open/modules/cms/branches/2.4
268: [01:55:09] <simon_w> Find the matching git commit
269: [01:55:22] <ss23> simon_w: Yeah, that's what I'm asking, do you know how to do that?
270: [01:55:29] <Pyromanik> git find?
271: [01:55:33] <Pyromanik> xD
272: [01:55:45] <spronk> ah, debugging in opera because FORMATS JAVASCRIPT
273: [01:55:55] <spronk> why they switched from presto...
274: [01:56:00] <simon_w> So does Safari!
275: [01:56:03] <ss23> lol
276: [01:56:08] <spronk> safari does?
277: [01:56:09] <spronk> since when?
278: [01:56:13] <spronk> chrome doesn't..
279: [01:56:22] <Pyromanik> yeah but chrome is bad
280: [01:56:33] <spronk> i mean nicely formats minified js etc?
281: [01:56:37] <simon_w> WebKit had pretty-print in its inspector since around Safari 5
282: [01:56:38] <Pyromanik> apart from the sandboxing, I can't think why anyone would use it
283: [01:57:03] <simon_w> Pyromanik, google fanbois like ss23
284: [01:57:08] <ss23> lol
285: [01:57:09] <Pyromanik> ikr
286: [01:57:12] <ss23> I'm a fanboy if shit that's good
287: [01:57:13] <ss23> ;)
288: [01:57:18] <ss23> It just so happens Chrome is best browser
289: [01:57:19] <ss23> ^.^
290: [01:57:22] <Pyromanik> sif
291: [01:57:24] <ss23> Hmm
292: [01:57:25] * UncleCheese has joined #silverstripe
293: [01:57:30] <Pyromanik> no such thing as a best browser
294: [01:57:30] <ss23> I'm trying to think of google products I use
295: [01:57:35] <ss23> Chrome and gmail I think is about it
296: [01:57:36] <Pyromanik> gmail
297: [01:57:40] <Pyromanik> chrome I use
298: [01:57:43] <Pyromanik> but... eh
299: [01:57:44] <spronk> omfg, chrome does have it
300: [01:57:53] <simon_w> Not on by default though, right?
301: [01:57:54] <ss23> Gmail is the best free mail that I know of
302: [01:58:00] <ss23> Chrome is best browser IMO
303: [01:58:10] <ss23> So, dunno if counts as fanboy
304: [01:58:15] <Jayden90> man this is a massive gotcha, wish someone would fix this in Git http://stackoverflow.com/questions/115983/how-do-i-add-an-empty-directory-to-a-git-repository
305: [01:58:18] <ss23> I mean, like hell if I'm going to go back to Failfox!
306: [01:58:27] <spronk> oh, but it does it after loads file in debugger, so skips around and you lose where your cursor is. great work
307: [01:58:54] <spronk> hmm
308: [01:59:04] <ss23> lol Jayden90
309: [01:59:16] <spronk> i think i know why it doesn't give an error. forms on other tabs are
310: [01:59:20] <spronk> n't even validated in js
311: [01:59:57] <ss23> Hmm
312: [02:00:06] <ss23> This r112678 isn't referneced at all in the git log for cms
313: [02:00:15] <Jayden90> ss23: I can believe this has bugging people for 6+ years and no one has fixed it
314: [02:00:25] <ss23> Jayden90: Are you offering to fix it? :d
315: [02:00:28] <spronk> or maybe they are.. wtf
316: [02:00:35] <ss23> Jayden90: There are millions of things like that in SilverStripe
317: [02:01:00] <ss23> You have no many times I would've saved like 3 hours work if there was a impersonate/masquarede option
318: [02:01:07] <Pyromanik> Jayden90: that's not something to be fixed.
319: [02:01:09] <Pyromanik> at all.
320: [02:01:10] <spronk> validationResult ends up true
321: [02:01:17] <Pyromanik> git tracks CONTENT, not files.
322: [02:01:40] <Pyromanik> common solution is an empty file called .gitkeep
323: [02:01:44] <Pyromanik> in said empty folder.
324: [02:01:49] <Jayden90> Pyromanik: the consensus on the net is that is is not a descision or a restriction
325: [02:02:01] <spronk> Pyromanik: if git tracks content, not files, why .gitkeep work ? :)
326: [02:02:04] <Jayden90> simply no one has developed that functionality yet
327: [02:02:19] <Pyromanik> spronk: a file is content. "" is valid.
328: [02:02:24] <Pyromanik> a directory is structure.
329: [02:02:26] <spronk> a folder is a file
330: [02:02:27] <spronk> !
331: [02:02:31] <simon_w> ss23, looks like it was an internal commit to me
332: [02:02:34] <spronk> or at least it is in unix
333: [02:02:38] <spronk> EVERYTHING IS A FIEL
334: [02:02:42] <Jayden90> there are a billion reasons you would want to version folder structure
335: [02:02:43] <ss23> simon_w: uh, what does that mean? o.o
336: [02:02:45] <Pyromanik> spronk: take it up with Linus dude.
337: [02:02:49] <Pyromanik> I didn't design Git
338: [02:02:58] <simon_w> ss23, not in the /open/ space
339: [02:03:05] <Pyromanik> spronk: yeh, unix claims that, but doensn't actually do it as such.]
340: [02:03:13] <Pyromanik> plan9 on the other hand...
341: [02:03:16] <ss23> simon_w: The entire line looks like cms/ -r112678 http://svn.silverstripe.com/open/modules/cms/branches/2.4
342: [02:03:18] <Jayden90> For example, a simple SilverStripe module that just contains templates needs an empty _config folder
343: [02:03:41] <spronk> everything is a file is bullshit
344: [02:03:47] <Pyromanik> Jayden90: _config.php
345: [02:03:51] <Pyromanik> have both.
346: [02:03:52] <ss23> spronk: ++
347: [02:03:54] <ss23> so true
348: [02:03:58] <simon_w> ss23, last revision that'll get pulled in there is 111915
349: [02:04:05] <Pyromanik> <?php\nEOF
350: [02:04:25] <Pyromanik> Jayden90: or have an empty yml file.
351: [02:04:27] <ss23> spronk: https://twitter.com/ss2342/status/382686965067296768
352: [02:04:31] <Pyromanik> mymodule.yml
353: [02:04:39] <Pyromanik> _config/mymodule.yaml
354: [02:04:41] <ss23> simon_w: I'm slightly confused as to how/why, etc
355: [02:04:46] <Pyromanik> it can be empty.
356: [02:04:46] <simon_w> Jayden90, Or just don't use git
357: [02:04:58] <Pyromanik> or yeah, use something like mercurial
358: [02:05:04] <Pyromanik> or SVN
359: [02:05:06] <ss23> slow versioning, nigga
360: [02:05:07] <ss23> right?
361: [02:05:08] <ss23> svn
362: [02:05:09] <ss23> :D
363: [02:05:12] <Pyromanik> no.
364: [02:05:23] <ss23> git is the chrome of VCS
365: [02:05:25] <Pyromanik> superior vectoring numerology.
366: [02:05:29] <simon_w> ss23, repositories are revisioned. The external's just pegged at a later one than the commit it'll end up pulling in
367: [02:05:29] <ss23> svn is the Firefox
368: [02:05:45] <spronk> git's popularity is unfortunate.
369: [02:05:45] * Stomach has joined #silverstripe
370: [02:05:53] <Pyromanik> hg is good.
371: [02:05:53] <ss23> simon_w: Ah, so, if you set a revision that's further than the repo actually has, it'll just pull in the latest it can to it?
372: [02:06:02] <ss23> Pyromanik: mmm...
373: [02:06:04] <Jayden90> Pyromanik: Yea, you can do empty yml file, etc. but it is still a pointless gotcha regarding git
374: [02:06:04] <ss23> like
375: [02:06:09] <ss23> If git didn't come out where it did, I think hg would've won
376: [02:06:15] <simon_w> ss23, kinda
377: [02:06:22] <Pyromanik> ss23, spronk, Jayden90: or bazaar, lol
378: [02:06:33] <Pyromanik> Jayden90: it's not a gotcha.
379: [02:06:33] <spronk> back in my day DARCS was the new hotness
380: [02:06:40] <ss23> DAE Source Safe?
381: [02:06:41] <ss23> ^.^
382: [02:06:45] <Pyromanik> it's a user not knowing what do.
383: [02:06:53] <Jayden90> Thats what a gotcha is
384: [02:06:57] <Pyromanik> no it's not.
385: [02:07:06] <spronk> i'd probably define it more as unexpected behaviour, pyro
386: [02:07:07] <Jayden90> when there is something you would not anticipate
387: [02:07:08] <Pyromanik> that's blaming ignorance for your fault.s
388: [02:07:17] <ss23> I'm with Jayden90 here
389: [02:07:19] * ss23 glares at Pyromanik
390: [02:07:21] <spronk> yes it's also ignorance, but...
391: [02:07:23] <ss23> Pyromanik: Fix subsites for me please
392: [02:07:30] <Pyromanik> ss23: no, ask spronk
393: [02:07:36] <Pyromanik> he's the one with the masters in computer science.
394: [02:07:43] <spronk> ss23: you've got subsites issues?!
395: [02:07:44] <ss23> lol
396: [02:07:48] <spronk> lol /me doesn't ahve masters
397: [02:07:53] <Pyromanik> oh
398: [02:07:56] <Pyromanik> honours, whatever.
399: [02:07:57] <spronk> bsc hons bro
400: [02:07:59] <ss23> I have a phd in dropping out
401: [02:08:02] <ss23> Does this count
402: [02:08:11] <Pyromanik> shoulda got 1st class then shouldn't you spronk :P
403: [02:08:17] <Jayden90> If I put a landmine in a park and a kid stepped on it, was the kid ignorant?
404: [02:08:19] * spronk did get first class, motherfucker
405: [02:08:24] <Colin[pi]> does the ss-shop developer visit irc?
406: [02:08:37] <spronk> i swear way too much on IRC>
407: [02:08:42] <ss23> Colin[pi]: Who makes it / their nick etc?
408: [02:08:45] * spronk blames subsites
409: [02:08:46] <Pyromanik> Jayden90: if the fool walked past the sign that said "LANDMINES, KEEP OUT"
410: [02:08:50] <Pyromanik> then yes.
411: [02:09:01] <spronk> git presents no such signs
412: [02:09:02] <Jayden90> There was not sign like that when I first installed git
413: [02:09:03] <Colin[pi]> jedateach?
414: [02:09:08] <Pyromanik> spronk: so do I :<
415: [02:09:10] <Colin[pi]> the burnbright one
416: [02:09:23] <Pyromanik> Jayden90: there's never a sign when you install any software.
417: [02:09:28] <Pyromanik> RTFM
418: [02:10:47] <Jayden90> Pyromanik: no signs, just basic tutorials and a few gotchas
419: [02:11:00] <Pyromanik> A gotcha is more like when DataObject::get() returns either an empty object OR null. And you think you can $val->exists() and then suddenly member function on non object fatal error.
420: [02:11:16] <Pyromanik> was fixed in 3.0
421: [02:11:26] <Pyromanik> now always object.
422: [02:11:45] <Pyromanik> so no longer have to $obj && $obj->exists(), can just ->exists()
423: [02:11:49] <Stomach> if ($object && $object->exists()) has always been a pet peeve of mine
424: [02:12:00] <Pyromanik> Stomach: exactly. THAT is a gotcha. IMO.
425: [02:12:30] <Pyromanik> the difference between undocumented/undefined behaviour & just simply not understanding how something works.
426: [02:15:13] <Pyromanik> https://git.wiki.kernel.org/index.php/Git_FAQ#Can_I_add_empty_directories.3F
427: [02:15:20] <simon_w> DataObject::get() didn't return an empty object in 2.4
428: [02:15:25] <simon_w> Only the relation getters did
429: [02:16:14] <Pyromanik> simon_w: the point is more that it was inconsistent.
430: [02:16:20] <Jayden90> "Currently the design of the Git index (staging area) only permits files to be listed, and nobody competent enough to make the change to allow empty directories has cared enough about this situation to remedy it."
431: [02:16:30] <Jayden90> remedy insinuates it is deficient
432: [02:17:03] <Pyromanik> It is if you're looking at that section.
433: [02:17:23] <Colin[pi]> noms time
434: [02:17:55] <simon_w> Oh man, this form is so much nicer than the equivalent in silverstripe
435: [02:18:05] <Colin[pi]> PSH
436: [02:18:22] <simon_w> Don't have to worry about duplicate IDs from Blah[] fields
437: [02:19:35] <Pyromanik> simon_w: facebookphpxmlamalgamation?
438: [02:19:40] <spronk> url param to turn on dev mode??
439: [02:19:55] <spronk> ah
440: [02:19:56] <simon_w> spronk, ?isDev=1
441: [02:19:56] <spronk> isDev
442: [02:20:05] * spronk was ?dev=1 ing
443: [02:20:28] <simon_w> Pyromanik, something like that
444: [02:20:56] <Pyromanik> spronk: broken in 3.0
445: [02:20:59] <Pyromanik> hope you have 3.1
446: [02:21:00] <spronk> what?
447: [02:21:01] <spronk> fucks
448: [02:21:03] <spronk> i do
449: [02:22:14] <Pyromanik> http://en.wikipedia.org/wiki/Git_%28software%29#Data_structures
450: [02:22:52] <spronk> Object->__call(): the method 'getprodutcstocompare' does not exist on 'ProductCategory_Controller'
451: [02:22:59] <spronk> BULL FUCKING SHIT
452: [02:23:23] <spronk> oh
453: [02:23:26] <spronk> produtcs
454: [02:24:00] <spronk> shut up.
455: [02:24:04] <Pyromanik> how mad on a scale of mad->maddest?
456: [02:24:17] <spronk> madly
457: [02:24:35] <spronk> although interestingly even after fixing said typo, still doesn't work. Some weird issue with virtual pages
458: [02:25:33] <spronk> ss23: you should convince someone to work on a replacement for subsites virtual pages
459: [02:25:42] <ss23> lol
460: [02:25:51] <ss23> spronk: Well... CWP has subsites as a "Supported" module
461: [02:25:53] <spronk> a MasterPage type scenario could work well
462: [02:26:01] <ss23> Once they get out of "holy shit we have literally 0 time" mode, I presume they'll fix it
463: [02:26:18] <spronk> where you mark a page as master, and can "pull" content automatically from said master from a subordinate page
464: [02:26:26] <spronk> preferably with field-level granularity
465: [02:26:33] <spronk> actuall;y that would be fucking handy
466: [02:26:44] <ss23> spronk: Pull request!
467: [02:27:05] <spronk> subsite -> new PageTypePage() -> Settings -> 'Synchronise' -> select page on another subsite -> select fields
468: [02:27:23] <spronk> then it's still a PageTypePage
469: [02:27:43] <spronk> only downside is duplicate content and potential for sync process to not work, but... onBeforeWrite could work nicely
470: [02:27:59] <spronk> in fact, this shouldn't be that difficult to do as an extension
471: [02:28:10] <spronk> <LIGHT BULB MOMENTS>
472: [02:28:24] <ss23> lol
473: [02:28:31] <ss23> 2 days later "FUCK ME FUCK THIS FUCK THAT"
474: [02:28:41] <spronk> almost certainly
475: [02:29:11] <spronk> the permissions model could be trickty
476: [02:30:17] <spronk> would probably ahve to lock the page if editor doesn't have access to both it and it's sync parent
477: [02:30:38] <ss23> "SERVER ERROR"
478: [02:30:41] <ss23> story of my fucking life
479: [02:32:20] <spronk> yeah
480: [02:32:33] <spronk> someone needs to make a panel in SS console that shows full errors
481: [02:32:45] <spronk> instead of having to rely on network inspector.
482: [02:32:55] <spronk> i mean, there's a fucking entwine console
483: [02:41:01] <Jayden90> Wish SilverStripe TinyMCE was this awsome http://www.tinymce.com/tryit/html5_formats.php
484: [02:42:30] <ss23> [User Error] Couldn't run query (42000, 701, [Microsoft][SQL Server Native Client 10.0][SQL Server]There is insufficient system memory in resource pool 'internal' to run this query.):
485: [02:42:34] <ss23> wat
486: [02:43:29] <spronk> man
487: [02:43:33] <spronk> tinymce..
488: [02:44:39] * kerosene has joined #silverstripe
489: [02:46:21] <pippy> I'm surprised SilverStripe still even has tinyMCE
490: [02:46:38] <pippy> there are so better jquery based ones out there now
491: [02:46:44] <spronk> hmm
492: [02:46:45] <spronk> maybe
493: [02:46:59] <kerosene> pippy: such as?
494: [02:47:28] <pippy> just google for WYSIWYG jquery
495: [02:47:34] <kerosene> no
496: [02:47:43] <spronk> AFAIK there aren't any that do stuff like paste from word
497: [02:47:51] <kerosene> I wanted to know which one(s) you thought were better than tinymce
498: [02:47:51] <spronk> except ck and tiny
499: [02:49:02] <pippy> spronk: i think that's probally why SS sill has it
500: [02:49:19] <ss23> 14:49:13 < pippy> just google for WYSIWYG jquery
501: [02:49:21] <ss23> I've searched
502: [02:49:23] <ss23> Like, really recently
503: [02:49:29] <ss23> pippy: I'm inclined to not believe you before you bring up examples
504: [02:49:37] <ss23> I did find one I thought was okay, but it wouldn't be apprirpatei to replace tinymce
505: [02:49:40] <pippy> i usually tell content authors to copy to notepad first anyway, it still usually retains some bad formatting
506: [02:50:14] <ss23> https://github.com/xing/wysihtml5 This one seemed okay, but not the same kind of editor
507: [02:50:14] <kerosene> the only one that comes to my mind is redactor, which isn't free and I don't think it does word-paste either
508: [02:50:17] <pippy> http://imperavi.com/redactor/ first result after googling WYSIWYG jquery, looks pretty impressive
509: [02:50:18] <ss23> pippy: COME ON, SHOW A SOURCE!!!!!
510: [02:50:23] <ss23> >not free
511: [02:51:07] <pippy> lol
512: [02:51:22] <spronk> i do think it would be nice if the editor were a bit less integrated
513: [02:51:35] <spronk> so it was easier to do that stuff
514: [02:51:52] <spronk> and by do that stuff, i mean swap it out with a different editor
515: [02:52:02] <kerosene> aloha was very promising but the config seems nightmareish
516: [02:53:23] <ss23> Anyway, I think we've reached the conclusion, all the free ones are shit, and there arae no replacements better enough than tinymce to warrant it
517: [02:53:42] <pippy> i do like being able to edit tiny mce from the config file
518: [02:54:16] <Jayden90> heard good things about http://imperavi.com/redactor/ too
519: [02:54:58] <Jayden90> It would nice to be able to edit htmleditor config individually throught the cms
520: [02:55:15] <pippy> i got excited when there was talk of removing prototype from the core, i imagined a super fast jquery backend
521: [02:55:16] <Jayden90> not just globaly in the config file
522: [02:55:30] <Jayden90> jquery all the way
523: [02:55:36] <ss23> >super fast
524: [02:55:37] <ss23> >jquery
525: [02:56:41] <Jayden90> ss23: At least bring TinyMCE up to date
526: [02:56:45] <pippy> I have put small jquery wysiwyg editors in the backend in SS 2.* before in the past, but they were pretty non standard ones
527: [02:57:09] <spronk> SS' tiny is quite customised
528: [02:57:27] <Pyromanik> it is?
529: [02:57:33] <spronk> well
530: [02:57:38] <Pyromanik> news to me
531: [02:57:39] <spronk> stuff like the uploaders and media popups and stuff
532: [02:57:40] <ss23> It is!
533: [02:57:50] <Pyromanik> yeah, those are plugins though spronk
534: [02:57:52] <ss23> The reason it doesn't get updated often is because of how high the coupling is
535: [02:57:53] <Jayden90> A fair bit of TinyMCE config docs are not usable with the version in SS
536: [02:57:54] <simon_w> Nope, just some custom plugins
537: [02:57:56] <spronk> hmm, true
538: [02:57:57] <pippy> ss23: is probally right, if it invoves a non standard jquery plugin it would be hard supporting it
539: [02:58:07] <spronk> ss23: where's the other coupling?
540: [02:58:10] <pippy> plus anyoing specs, like word copy + paste
541: [02:58:11] <Pyromanik> ss23: you mean because people can't be bothered testing the plugins?
542: [02:58:16] <ss23> idk, I'm just going off what sminnee told me
543: [02:58:24] <simon_w> Coupling was all 2.4
544: [02:58:25] <ss23> I presume he's tried updating it before and felt the pain
545: [02:59:05] <spronk> oh god
546: [02:59:06] <spronk> NOT THIS AGAIN
547: [02:59:11] <spronk> Page type "Page" not allowed as child of this parent page
548: [02:59:16] <Pyromanik> ss23: it's coupled tightnly now in the fact that your HTMLEditorField is TinyMCE, when it's in theory supposed to be easy to swap out for another backend (eg that other one that looks just like tiny but isn't tiny).
549: [02:59:25] <Pyromanik> and in actuality it isn't.
550: [02:59:48] <Pyromanik> we had a small conversation about it at the last hackfest
551: [03:00:40] * spronk tears hair out
552: [03:00:54] <spronk> i thought i solved this damn problem
553: [03:01:06] * simon_w contemplates going home
554: [03:01:30] <spronk> dooo iiittt
555: [03:01:37] <spronk> actually solve this subsites virtual page problem then do it
556: [03:01:52] * ss23 contemplates complating contemplation
557: [03:01:55] <simon_w> Bah, Mark just took a smoke-o and I need to get him to email the wages person
558: [03:01:58] <spronk> hmm
559: [03:02:07] <spronk> how do those error messages get set in the cms..
560: [03:02:16] <spronk> because any time i try to add a new page it's telling me page is not allowed as achild of this page
561: [03:02:22] <Jayden90> looks like SS uses TinyMCE 3.5.8, current is 4.0.6
562: [03:02:43] <ss23> Jayden90: Pull request? ;)
563: [03:02:56] <ss23> I would do it against master if you wanna do it
564: [03:03:31] <Jayden90> http://www.tinymce.com/presentation/index.html#/2 here is a nice presentations of the 4.0 changes
565: [03:05:05] <Jayden90> ss23: I will take a look at it in my free time on the weekend for sure :)
566: [03:05:11] <ss23> :D
567: [03:05:18] <ss23> Jayden90: Is your github picture you, btw?
568: [03:05:23] <Jayden90> yep
569: [03:05:38] <Jayden90> jaydenseric.com
570: [03:05:38] <ss23> Sweeet
571: [03:05:44] <spronk> hmm
572: [03:06:30] <pippy> Jayden90: retina icons!
573: [03:07:24] <Jayden90> In 4.0? yea :D
574: [03:07:53] <pippy> 4.0 looks pretty good
575: [03:08:11] <Jayden90> I look foreward to the nicer api
576: [03:08:22] <Jayden90> easier to paste in HTML5 support
577: [03:08:43] <Jayden90> Plain looks nicer too
578: [03:09:12] <simon_w> Lol, tinyMCE
579: [03:10:12] <pippy> tinyMCE looks quite out of place in SilverStripe
580: [03:10:18] * abitran quit (Ping timeout: 264 seconds)
581: [03:10:27] <pippy> 3.0 is polished and looks modern
582: [03:10:34] * abitran has joined #silverstripe
583: [03:10:47] <simon_w> Eh, fitting with the look didn't stop people using DOM in 2.4
584: [03:12:08] <Jayden90> pippy: agreed.
585: [03:12:55] <pippy> maybe in the future if SS were to get tinymce 4 they'd both look pro
586: [03:14:18] <spronk> ugh
587: [03:14:20] <spronk> FUCK PDF
588: [03:20:26] <ss23> FUCK
589: [03:21:48] <Pyromanik> FUCK
590: [03:21:50] <spronk> word makes a 240kb pdf
591: [03:21:54] <spronk> primopdf makes a 900kb pdf
592: [03:21:55] <spronk> wtf.
593: [03:22:07] <spronk> word's pdf screws up in preview on mac
594: [03:25:49] * abitran quit (Remote host closed the connection)
595: [03:25:55] * abitran_ has joined #silverstripe
596: [03:33:54] * bambii7 has joined #silverstripe
597: [03:34:19] <bambii7> Hi all, I'm having some trouble understanding composer and pull requests for contributing
598: [03:34:45] <Pyromanik> composer has nothing to do with pull requests
599: [03:34:59] <Pyromanik> afaik
600: [03:35:14] <bambii7> yeah but in the docs, its says to edit the composer.json file to point to your fork
601: [03:35:28] <bambii7> so I made a fork https://github.com/bambii7/silverstripe-framework
602: [03:35:29] <Pyromanik> that's for setting up
603: [03:35:33] <Pyromanik> yeh
604: [03:35:54] <Pyromanik> so edit the json to use that instead of https://github.com/silverstripe/silverstripe-framework
605: [03:36:09] <bambii7> but what I'm stuck on is adding the repositories url to my branch
606: [03:36:10] <bambii7> um
607: [03:36:21] <Pyromanik> so when you pull and stuff it'll update from your repo, not the upstream.
608: [03:36:22] <bambii7> so update this line? "silverstripe/framework": "self.version",
609: [03:36:30] <Pyromanik> dunno
610: [03:36:32] <Pyromanik> I hate composer
611: [03:36:36] <bambii7> lol
612: [03:36:43] <Pyromanik> it's a good idea, but a shit implementation
613: [03:36:43] <spronk> hmm
614: [03:36:45] <spronk> need a URLField
615: [03:37:10] <Pyromanik> bambii7: I tend to just fork then pull directly from my repo.
616: [03:37:28] <Pyromanik> it makes things less complicated for those of us who aren't composer wizards for sure.
617: [03:38:15] <bambii7> ok so I forget composer, and update the framework submodule to point to my fork
618: [03:38:36] <bambii7> that sounds easier
619: [03:38:43] <Pyromanik> it's not a submodule, lol :<
620: [03:38:52] <Pyromanik> well, not last time I checked :<
621: [03:39:00] <bambii7> yeah you're right
622: [03:39:06] <spronk> jiesus firebug gets slow if you leave it open for a few days
623: [03:39:16] <Pyromanik> spronk: extremely
624: [03:39:31] <Pyromanik> bambii7: thus I don't like using composer even more.
625: [03:39:31] <spronk> i wonder why
626: [03:39:39] <Pyromanik> spronk: memory leaks
627: [03:39:39] <bambii7> ok so I'll just rm -rf framework and replace with my fork then.....
628: [03:39:50] <Pyromanik> bambii7: just rm-rf the entire install :P
629: [03:39:51] <bambii7> I thought memory leaks were fixed.
630: [03:40:02] <Pyromanik> bambii7: lol, nevar
631: [03:40:13] <Pyromanik> that's the thing about Firefox
632: [03:40:18] <bambii7> ha, Im out of date
633: [03:40:25] <Pyromanik> people blame the browser for slowness when it's usually the addons
634: [03:41:21] <Pyromanik> bambii7: yeh, I tend to just clone framework, clone cms, manually plonk in required project and theme files (otherwise supplied by installer repo)
635: [03:41:29] <Pyromanik> that way git doesn't have a spaz
636: [03:42:03] <Pyromanik> and it doesn't make composer go and download half the symfony2 collection
637: [03:42:09] <Pyromanik> :S
638: [03:42:22] <Pyromanik> 'clean' and simple.
639: [03:42:32] <bambii7> ok yeah, that sounds much more managable to me, I'll give it a go
640: [03:42:43] <Pyromanik> then all you have to do is commit to your repo
641: [03:42:58] <Pyromanik> until you're done, then you squash your commits on that working branch and submit a pull request.
642: [03:43:00] * dilshan has joined #silverstripe
643: [03:43:52] <bambii7> yeah haven't had to get that involved with git before, just trying to practice a few times, squashing/rebasing...
644: [03:45:19] <Pyromanik> yeh, a bit daunting at first I'll admit.
645: [03:45:53] <Pyromanik> I don't often git, but when I do I like to have simon_w's close by to ask questions.
646: [03:46:17] <longtips> what actually calls the handleIndex action in Controller.php
647: [03:46:18] <Pyromanik> I'm sure he gets annoyed, but probably not as annoying as the guy using his computer who can't figure out how the mouse works.
648: [03:46:21] <Pyromanik> eh ss23
649: [03:46:28] <bambii7> ha wish I had that luxury
650: [03:46:29] <Pyromanik> bro, do you even click?
651: [03:46:34] <longtips> the Action/ID/OtherID is handled by the handleAction method
652: [03:46:37] <spronk> does Children() return in CMS order?
653: [03:46:53] <Pyromanik> longtips: there's a handleIndex?
654: [03:47:03] <Pyromanik> spronk: should do, yeh.
655: [03:47:05] <Pyromanik> $default_sort
656: [03:47:06] <spronk> mm, good
657: [03:47:13] <longtips> http://dpaste.com/1395367/ Pyromanik
658: [03:47:25] <longtips> in./framework/control/Controller.php
659: [03:47:30] <spronk> this site has a "Size" field that they use to add smaller/larger links...
660: [03:47:42] <spronk> tempted to put them in a reorderable gridfield
661: [03:48:07] <Pyromanik> longtips: there isn't one.
662: [03:48:34] <longtips> i'm using 3.0.5
663: [03:48:41] <spronk> unfortunately UC's sortablegridfield seems to only sort on has_many or many_many...
664: [03:48:42] <longtips> or whatever is stable
665: [03:48:53] <spronk> anyone used it with a page $db field for the sort index?
666: [03:48:58] <Pyromanik> spronk: UC has a sortablegridfield?
667: [03:49:06] <Pyromanik> pretty sure it's undefinedoffset's
668: [03:49:11] <Pyromanik> also, ajshort has one
669: [03:49:16] <Pyromanik> gridfieldextensions
670: [03:49:19] <Pyromanik> better IMO.
671: [03:49:31] <spronk> oh, yeah, UO's
672: [03:49:41] <bambii7> thanks for your help, cacio
673: [03:49:45] * bambii7 quit (Quit: Page closed)
674: [03:49:49] <spronk> but, will look at ajs'
675: [03:50:44] <spronk> hmm
676: [03:51:27] <Pyromanik> longtips: there is no handleIndex.
677: [03:51:57] * cloph_away has joined #silverstripe
678: [03:52:06] * cloph quit (Ping timeout: 252 seconds)
679: [03:56:31] <spronk> hmm
680: [03:56:36] <spronk> how do i need to set up an arraylist to populate a gridfield?
681: [03:56:46] <spronk> just $list->add($dataObject) ? or do i need to use ArrayData
682: [03:58:01] <dilshan> guys what is the diffrence between flush=1 and flush=all ????
683: [03:59:30] <spronk> flush=all flushes templates relevant to current page only
684: [03:59:36] <spronk> flush=all flushes everything and the kitchen sink
685: [04:03:56] <spronk> the method 'byids' does not exist on 'ArrayList'
686: [04:04:06] <spronk> soooooooo apparently you can't use an ArrayList on gridfields
687: [04:04:17] <spronk> with ajs' module
688: [04:10:11] * zippy__ quit (Ping timeout: 245 seconds)
689: [04:13:11] <spronk> grr. fucking subsites.
690: [04:13:28] <spronk> more to the point, virtual pages not being proper pages.
691: [04:15:52] <dilshan> thanks spronk
692: [04:18:06] <Jayden90> dilshan: I thought it's just flush=1 in 3.1
693: [04:20:08] <guzzlefry> Pretty sure flush=1 does a flush=all in 3.1
694: [04:21:42] * Colin[pi] quit (Ping timeout: 264 seconds)
695: [04:22:37] <Pyromanik> 15:56 < spronk> just $list->add($dataObject) ? or do i need to use ArrayData
696: [04:22:42] <Pyromanik> shouldn't matter, I dunno.
697: [04:22:49] <Pyromanik> ArrayData probably safest.
698: [04:22:57] <Pyromanik> unless it's actually a data object.
699: [04:23:11] <spronk> dw
700: [04:23:13] <spronk> it's never gonna work anwyay
701: [04:23:16] <Pyromanik> longstoryshort: I imagine if it extends ViewableData you'll be fine.
702: [04:23:30] <spronk> the orderable rows stuff is all reliant on DataList
703: [04:23:42] <Pyromanik> orderabl... oh extension.
704: [04:23:43] <spronk> breaking the fucking LSP >:[
705: [04:23:49] <Pyromanik> mmm
706: [04:23:52] <Pyromanik> LSP
707: [04:24:17] <Pyromanik> Lumpy Space Princess.
708: [04:24:56] <Pyromanik> dat liskov
709: [04:24:58] <Pyromanik> so lumpy
710: [04:25:01] <Pyromanik> what a princess
711: [04:25:06] <spronk> :D
712: [04:26:27] <Pyromanik> HAHHAAHAHAHAHAHAHAH
713: [04:26:28] <Pyromanik> HAHAHAHAH
714: [04:26:31] <spronk> ?
715: [04:26:31] <Pyromanik> OH GAWD
716: [04:26:46] <Pyromanik> Designers did a sweet ad for a company advertising airport transport.
717: [04:27:01] <Pyromanik> it displays on an LCD screen
718: [04:27:28] <Pyromanik> a rival company who also offers airport transport has come along and put up a roll up banner in front of the LCD
719: [04:27:44] <Pyromanik> obscuring our client's ad from public view.
720: [04:28:29] <spronk> hahahahahahah
721: [04:28:35] <spronk> what company has put the rollup banner?
722: [04:28:55] * spronk crosses fingers
723: [04:29:11] * Stomach quit (Quit: Leaving.)
724: [04:29:15] * nickmolhoek quit (Ping timeout: 248 seconds)
725: [04:30:24] * UncleCheese quit (Quit: UncleCheese)
726: [04:30:41] <Pyromanik> spronk: sec
727: [04:33:44] * Colin[pi] has joined #silverstripe
728: [04:34:05] * nickmolhoek has joined #silverstripe
729: [04:34:06] * nickmolhoek quit (Remote host closed the connection)
730: [04:35:02] <Pyromanik> spronk: see msg
731: [04:40:25] <simon_w|air> Stupid 1630 closing times
732: [04:44:14] <guzzlefry> yay, finally got around to setting xdebug up.
733: [04:44:22] <guzzlefry> I was expecting it to be more difficult. :P
734: [04:44:22] * nickmolhoek has joined #silverstripe
735: [04:44:23] * nickmolhoek quit (Remote host closed the connection)
736: [04:45:25] * abitran_ quit (Ping timeout: 268 seconds)
737: [04:52:01] * abitran has joined #silverstripe
738: [05:04:37] * nickmolhoek has joined #silverstripe
739: [05:04:38] * nickmolhoek quit (Remote host closed the connection)
740: [05:06:14] * Peavers quit ()
741: [05:07:09] * Stomach has joined #silverstripe
742: [05:07:13] * UncleCheese has joined #silverstripe
743: [05:07:28] * DigNZ quit (Quit: DigNZ)
744: [05:30:57] * stecman quit (Quit: This computer has gone to sleep)
745: [05:33:05] <spronk> Pyromanik: the fuck you still doing here?
746: [05:34:59] * abitran quit (Ping timeout: 240 seconds)
747: [05:35:06] * abitran has joined #silverstripe
748: [05:35:18] * Stomach quit (Quit: Leaving.)
749: [05:39:50] <guzzlefry> question!
750: [05:40:13] <guzzlefry> $Image.SetRatioSize(40,40), What specifically does that return? It's called in template.
751: [05:41:44] <simon_w|air> An Image_Cached object
752: [05:41:57] <simon_w|air> Which gets rendered as an <img> tag
753: [05:42:11] <guzzlefry> hrm
754: [05:42:16] <guzzlefry> doesn't seem to be working
755: [05:46:11] * UncleCheese quit (Quit: UncleCheese)
756: [05:46:40] * abitran quit (Ping timeout: 245 seconds)
757: [05:47:07] * abitran has joined #silverstripe
758: [05:53:48] <longtips> can i configure my SS osme how so that i get 5 'controller' segments to point to one controller, so instead of /product/product-family/sub-product/ i get /product-family/sub-product/
759: [05:53:56] <longtips> but all product-families are through the same controller
760: [05:54:00] <longtips> (there will only ever be 5)
761: [05:54:34] <simon_w|air> longtips, you can add in some Director rules that do that
762: [06:01:23] * abitran quit (Ping timeout: 245 seconds)
763: [06:01:44] <guzzlefry> heh, might help if I actually had the assets. :P
764: [06:02:46] <guzzlefry> Still odd that I didn't get any errors.
765: [06:03:04] <guzzlefry> But this is ancient 2.4.
766: [06:06:39] * abitran has joined #silverstripe
767: [06:28:35] * Liquide quit ()
768: [06:37:40] <longtips> it's not immediately clear, but can i specify a method as well as a controller in my routes.yml?
769: [06:37:52] <longtips> maybe i missed something here http://doc.silverstripe.com/framework/en/topics/configuration
770: [06:39:21] * abitran quit (Ping timeout: 240 seconds)
771: [06:39:29] * abitran has joined #silverstripe
772: [06:42:54] * robert__ has joined #silverstripe
773: [06:44:18] * robert_ quit (Ping timeout: 245 seconds)
774: [06:48:28] <Colin[pi]> curse you simon_w
775: [06:48:42] <simon_w|air> That's right, it's all my fault
776: [06:48:49] <Colin[pi]> cookie clicker :P
777: [06:48:59] <simon_w|air> Eh, I've given up on it :p
778: [06:49:11] <Colin[pi]> lol I still open the tab from time to time
779: [06:50:47] <Colin[pi]> I had to open it in Chrome as it should come as no surprise that it was killing my FF
780: [06:51:14] * zfmf1 has joined #silverstripe
781: [07:20:29] <simon_w|air> Hmm, tempted to throw together another blog sort of thing
782: [07:20:35] <simon_w|air> Someone do it for me!
783: [07:20:56] <simon_w|air> Or at least recommend a decent theme that isn't simple
784: [07:22:30] <simon_w|air> Hmm, there's simple and then a bunch of Foundation and Bootstrap themes. Boring.
785: [07:22:47] <simon_w|air> Screw it, write my own
786: [07:23:26] <simon_w|air> Or just don't use SS. That'll work too.
787: [07:24:08] <spronk> lol
788: [07:30:09] <Colin[pi]> We have our own blog module in SS with responsive themes based on Skeleton
789: [07:30:24] <Colin[pi]> but it's still on 2.4
790: [07:31:44] <simon_w|air> I'm somewhat tempted to get some cheap shared hosting and stick a WP site
791: [07:31:55] <spronk> ghost
792: [07:32:00] <simon_w|air> Not public
793: [07:32:06] <spronk> :(
794: [07:32:34] <Colin[pi]> nooo not WP
795: [07:34:21] <simon_w|air> Give me something else that I can basically stick up, grab a decent theme from somewhere and have a blog
796: [07:34:44] <simon_w|air> Oh, self-hosted too
797: [07:38:42] <DryerLintPurple> is it wrong that I'm working on yet another Bootstrap theme? <_<;
798: [07:40:28] * abitran quit (Ping timeout: 240 seconds)
799: [07:40:38] * abitran has joined #silverstripe
800: [07:41:09] <simon_w|air> Hmm, I don't have an up-to-date server with MySQL on it
801: [07:41:15] <simon_w|air> Not sure if I want to change that
802: [07:45:06] <DryerLintPurple> I should probably update the mysql install on my dev machine one of these days, still running a 5.1 build from like 4 years ago on it.
803: [07:46:56] <simon_w|air> postgres!
804: [07:46:59] * Error404NotFound has joined #silverstripe
805: [07:47:49] <DryerLintPurple> no, I don't need to update postgres, I just installed it on this system like 2 weeks ago :P
806: [07:48:03] * Jayden90 quit (Ping timeout: 260 seconds)
807: [07:49:11] * Error404NotFound quit (Read error: Connection reset by peer)
808: [07:49:38] <DryerLintPurple> was having problems getting forum module running on it, though, so for now back to mysql.
809: [07:56:43] * kinglozzer has joined #silverstripe
810: [08:04:43] * abitran quit (Ping timeout: 248 seconds)
811: [08:04:51] * abitran has joined #silverstripe
812: [08:14:45] * SightUnseen has joined #silverstripe
813: [08:14:49] * SightUnseen has left #silverstripe
814: [08:23:55] * ocm has joined #silverstripe
815: [08:23:59] <ocm> howdy!
816: [08:24:06] <Colin[pi]> hey ocn
817: [08:24:08] <Colin[pi]> *ocm
818: [08:29:30] * zippy__ has joined #silverstripe
819: [08:53:00] * oceanmountain has joined #silverstripe
820: [08:55:23] * ocm quit (Ping timeout: 248 seconds)
821: [08:55:24] * oceanmountain is now known as ocm
822: [08:57:36] * joelpittet has joined #silverstripe
823: [09:03:19] * guci0 has joined #silverstripe
824: [09:03:24] <guci0> Hi all
825: [09:08:00] * Sjohn has joined #silverstripe
826: [09:16:48] <simon_w|air> For those following at home, I went with TextPattern
827: [09:18:51] * weareone has joined #silverstripe
828: [09:21:21] <weareone> How can I empty a table between my tests? I try to do it through my tearDown, but it seems some objects are still there when the test commences.
829: [09:22:33] <simon_w|air> SapphireTest should be doing that for you
830: [09:23:24] <weareone> simon_w|air, hmm. Then I must be doing something else wrong
831: [09:23:31] * willr has joined #silverstripe
832: [09:25:26] * abitran quit (Ping timeout: 240 seconds)
833: [09:25:45] * abitran has joined #silverstripe
834: [09:25:59] <weareone> is there an easier way to debug while running the tests other than dumping variables onto the console?
835: [09:30:34] <kinglozzer> Hmm. Whenever I try to upload a large image, I get a "Empty file upload result". The actual HTTP response is blank. upload_max_filesize and post_max_size are both 0
836: [09:30:53] <kinglozzer> Anything over about 2mb fails
837: [09:31:13] * openbees has joined #silverstripe
838: [09:32:30] <kinglozzer> Which is strange, as a previous project was letting me upload over 30mb files and I haven't changed a thing
839: [09:33:05] <openbees> how to allow uploads of big files in ss sites .. I used to upload them and via ftp and attach from files (after a file sync)
840: [09:33:34] <openbees> but now it gives error with ss3.1 rc2 .. even when attaching from files
841: [09:34:01] <kinglozzer> My 'from files' dialog doesn't even work :P
842: [09:34:03] <openbees> Kinglozzer .. r we facing same problem ? :D
843: [09:34:23] <kinglozzer> openbees: Is the 'from files' window blank when you open it?
844: [09:34:32] <openbees> no I can choose files
845: [09:34:37] <kinglozzer> Damnit :(
846: [09:34:49] * chillu has joined #silverstripe
847: [09:35:44] <kinglozzer> Wow, I can't browse to the folder in the 'Files' sectio
848: [09:35:44] * chillu quit (Read error: Connection reset by peer)
849: [09:35:50] * kinglozzer checks error logs
850: [09:36:21] * chillu has joined #silverstripe
851: [09:36:24] <kinglozzer> >>Fatal error: Allowed memory size of 67108864 bytes exhausted
852: [09:36:25] <kinglozzer> Grrr
853: [09:36:47] <kinglozzer> Screw you GD
854: [09:37:20] <kinglozzer> Might want to up that limit a little :P
855: [09:39:40] * weareone quit (Quit: Leaving)
856: [09:43:58] * peter_ss1 quit (Quit: Leaving.)
857: [09:57:49] <openbees> seems like its validation max file size even when attaching from files .. tried by commenting this https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/UploadField.php#L212
858: [09:57:53] <openbees> and it works
859: [09:58:04] <openbees> validating*
860: [09:59:14] <openbees> there is a comment in just few lines above "// TODO thats the first thing that came to my head, feel free to change it" :D
861: [09:59:39] * kerosene has joined #silverstripe
862: [09:59:45] <openbees> kinglozzer could u make it work ?
863: [10:00:03] * Error404NotFound has joined #silverstripe
864: [10:00:12] <kinglozzer> My issue was caused by PHP hitting memory limits when resampling the large images
865: [10:00:17] <kinglozzer> And failing silently :P
866: [10:01:11] <openbees> :( I am trying to upload a 24 MB pdf and its not working
867: [10:03:12] * swordsmanz has joined #silverstripe
868: [10:11:50] * joelpittet quit (Remote host closed the connection)
869: [10:12:49] * Error404NotFound quit (Read error: Connection reset by peer)
870: [10:13:13] * joelpittet has joined #silverstripe
871: [10:17:23] * micmania1 has joined #silverstripe
872: [10:21:45] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
873: [10:32:43] * joelpittet quit (Remote host closed the connection)
874: [10:37:07] * willr quit (Quit: willr)
875: [10:42:34] * sam___ has joined #silverstripe
876: [10:42:38] <sam___> hi...
877: [10:42:40] * zippy__ quit (Quit: zippy__)
878: [10:42:55] <sam___> can anybody help me on custom validator in pop-up
879: [10:42:57] <sam___> ?
880: [10:51:54] * joelpittet has joined #silverstripe
881: [10:52:17] * dilshan quit (Ping timeout: 250 seconds)
882: [11:01:37] <sam___> has any body used ajax validator in the pop up page?
883: [11:10:03] * openbees quit (Quit: Leaving)
884: [11:24:02] * abitran quit (Ping timeout: 256 seconds)
885: [11:24:31] * abitran has joined #silverstripe
886: [11:29:59] * spronk2 has joined #silverstripe
887: [11:31:19] <spronk2> jesus christ this coursera course is doing my head in
888: [11:35:45] * joelpittet quit (Ping timeout: 252 seconds)
889: [11:45:44] * joelpittet has joined #silverstripe
890: [11:49:00] * dangerdan_ has joined #silverstripe
891: [11:49:29] * sam___ quit (Ping timeout: 250 seconds)
892: [11:50:06] <dangerdan_> is it possible to throw your own 'notice' message in the cms? like the box that pops up in the top right when something goes wrong. I'm sure i've done it before but cant remember how, and cant find anything in the docs about it
893: [11:53:32] <kinglozzer> Doesn't it automatically do that if the response code is 4xx/5xx ?
894: [11:54:00] <dangerdan_> Yes it does but i'd like to put my own error message in there
895: [11:54:46] <kinglozzer> Yeah but I meant I thought it should automatically do it if you return a 4xx/5xx error with your message
896: [11:55:16] <dangerdan_> oh okay, let me try that
897: [11:55:21] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/javascript/LeftAndMain.js#L97-L105
898: [11:55:42] <kinglozzer> You might need to manually set the X-Status header, not sure
899: [11:56:42] <dangerdan_> is there not a way to do this from within the php
900: [11:57:21] <kinglozzer> In your controller $this->response->addHeader('X-Status', 'Your message'); will set the header
901: [11:57:31] <spronk2> i think there's a simpler way..
902: [11:57:32] <kinglozzer> No idea if it'll just work though
903: [11:58:18] <kinglozzer> return $this->httpError(500, 'Some error'); perhaps?
904: [11:58:34] <kinglozzer> Not sure if it'll automatically fill out that header if it detects that it's an ajax request
905: [11:58:57] <kinglozzer> I'm curious now, will try it
906: [11:59:10] <spronk2> what if you just throw a user_error ?
907: [11:59:19] <dangerdan_> thing is i want to throw this in onBeforeWrite... so i dont think thats helping either
908: [11:59:28] <dangerdan_> i think in the past i have done return $this->httpError(500, 'Some error'); , but probably in a controller
909: [11:59:36] <spronk2> try user_error('…', E_USER_ERROR);
910: [11:59:41] <spronk2> although that will halt your execution
911: [11:59:43] <dangerdan_> user error i tried first but its just a php error
912: [11:59:55] * abitran quit (Remote host closed the connection)
913: [12:00:00] <dangerdan_> in the box
914: [12:00:04] * abitran_ has joined #silverstripe
915: [12:00:06] <kinglozzer> Controller::curr()->httpError() ?
916: [12:00:07] <dangerdan_> im okay with that
917: [12:00:42] <dangerdan_> that just says internal server error
918: [12:00:47] <dangerdan_> should i be returning that actually?
919: [12:02:48] <kinglozzer> Not sure which code should be returned, does it not display whatever text you add?
920: [12:02:56] <spronk2> $this->response->addHeader('X-Status', rawurlencode($message));
921: [12:02:59] <spronk2> that's what CMSMain does
922: [12:03:56] <kinglozzer> Yeah, you'll probably need Controller::curr()->response->add... if you're doing this in the model though ^^
923: [12:03:58] * kinglozzer lunch
924: [12:04:05] <spronk2> mm
925: [12:04:37] <dangerdan_> yes!
926: [12:04:44] <dangerdan_> Controller::curr()->response->addHeader('X-Status', rawurlencode('My message'));
927: [12:04:47] <dangerdan_> did the trick :)
928: [12:04:48] <dangerdan_> thanks guys
929: [12:16:05] <dangerdan_> now im not sure how to get it to stop writing now its thrown the error... am i doing this in the wrong place? I want to count an object's has_many, if the number of has many's it has is more than 9 i want it to throw an error and refuse to add the relationship
930: [12:16:15] <dangerdan_> should i be doing this in validate rather than onbeforewrite?
931: [12:16:22] <spronk2> yeah, i'd probably do it in validate
932: [12:16:34] <spronk2> if you actually want it to halt the write
933: [12:18:37] * UndefinedOffset has joined #silverstripe
934: [12:19:11] * Marvanni quit (Ping timeout: 240 seconds)
935: [12:19:18] * Marvanni has joined #silverstripe
936: [12:21:29] <dangerdan_> hmmm similar situation, it will throw the error but still write...
937: [12:21:54] <spronk2> o_O
938: [12:21:56] <spronk2> hmm
939: [12:22:05] <spronk2> are you returning false from validate?
940: [12:22:43] <ec8or> anyone running ss3 under nginx here?
941: [12:22:51] <dangerdan_> im returning parent::validate
942: [12:22:59] <dangerdan_> i'll add in the false return if the error occurs
943: [12:23:09] <ec8or> or have good experience running a fairly db intensive app under apache with 2GB of RAM?
944: [12:23:46] <dangerdan_> ah
945: [12:23:50] <dangerdan_> i think i knwo my issue
946: [12:24:11] <spronk2> ec8or: define db-intensive?
947: [12:24:18] <spronk2> i run ss3 under nginx in dev but not prod
948: [12:24:29] <dangerdan_> i'm trying to validate when someone adds from a gridfield that is managing the relationship, the error should be thrown on the gridfield not the model itself
949: [12:26:47] <ec8or> spronk2: it will handle quite big tables and complex queries, so think mysql will hog quite a bit of that ram
950: [12:27:07] <spronk2> you can control mysql's memory caching etc
951: [12:27:18] <ec8or> spronk2: i saw there are instructions for setting it up now
952: [12:27:35] <ec8or> when i tried using nginx for the beta some dev pages etc. wouldn't load properly
953: [12:28:17] <ec8or> spronk2: did you set it up yourself or did you use this? http://doc.silverstripe.org/framework/en/3.1/installation/nginx
954: [12:28:33] <spronk2> i sorta started with the ss nginx setup then rewrote it a bit looking at nginx wiki
955: [12:28:37] <spronk2> specifically the don't do this part
956: [12:30:37] <ec8or> ok cool, thanks
957: [12:33:09] * micmania1 quit (Ping timeout: 248 seconds)
958: [12:33:15] * dangerdan_ quit (Ping timeout: 250 seconds)
959: [12:40:41] * osterlaus has joined #silverstripe
960: [12:43:39] * Sjohn quit (Ping timeout: 250 seconds)
961: [12:46:16] * dangerdan has joined #silverstripe
962: [12:48:07] <dangerdan> If I have a one to many relationship that I want to manage with a GridField in the cms, how would I go about putting a limit on the number of how many relations one object can have? is this possible?
963: [12:48:45] <dangerdan> I'm looking at GridField_SaveHandler but not sure how I can use this to abort the save if i detect something is wrong
964: [12:48:54] * Colin[pi] quit (Ping timeout: 252 seconds)
965: [12:49:28] * abitran_ quit (Ping timeout: 240 seconds)
966: [12:49:37] * abitran has joined #silverstripe
967: [12:49:48] * micmania1 has joined #silverstripe
968: [13:15:30] * joelpittet quit (Remote host closed the connection)
969: [13:18:33] * Marvanni quit (Ping timeout: 240 seconds)
970: [13:18:52] * Marvanni has joined #silverstripe
971: [13:30:39] * dangerdan quit (Quit: Page closed)
972: [13:36:11] * MichaelDesignerX quit (Ping timeout: 260 seconds)
973: [13:42:38] * joelpittet has joined #silverstripe
974: [13:45:29] <micmania1> does silverstripe document the logic for selecting a template anywhere? specifically for actions (ie MyPage_action.ss)
975: [13:58:08] <kinglozzer> micmania1: Not sure about documentation, but this might/might not help: https://github.com/silverstripe/silverstripe-framework/blob/3.1/control/Controller.php#L277-L297
976: [13:58:48] <micmania1> kinglozzer, I was just writing some docs for work. Just wanted to link to it but I couldn't find anything
977: [14:01:54] <kinglozzer> I don't think there is any documentation for it
978: [14:09:05] * osterlaus quit (Quit: Leaving.)
979: [14:11:01] <Marvanni> I think this is the only tutorial that mention the action template variations
980: [14:11:01] <Marvanni> http://doc.silverstripe.com/framework/en/trunk/tutorials/4-site-search
981: [14:17:28] * catcher has joined #silverstripe
982: [14:17:49] <micmania1> Thanks, Marvanni
983: [14:33:52] * zfmf1 quit (Ping timeout: 256 seconds)
984: [14:48:16] * dangerdan has joined #silverstripe
985: [14:49:24] * spronk2 quit (Quit: spronk2)
986: [14:52:47] * dangerdan quit (Ping timeout: 250 seconds)
987: [15:02:16] <andylockran> hey guys
988: [15:02:37] <andylockran> How can I change the value in the select box of a dropdown field from a has_one relationship?
989: [15:02:53] * Mayazcherquoi is now known as Mayzie
990: [15:03:54] <andylockran> http://paste.ubuntu.com/
991: [15:05:16] <Marvanni> empty paste....
992: [15:05:32] <andylockran> http://dpaste.com/1396017/ evern
993: [15:06:16] <andylockran> could it be because the tables and field names are the same?
994: [15:07:10] <catcher> andylockran, your first arg should be LocationID
995: [15:07:37] <Marvanni> what catcher says..
996: [15:07:44] <andylockran> while I'm at it - despite having http://dpaste.com/1396023/ set - I got no longs
997: [15:07:47] <andylockran> logs *
998: [15:07:48] <Marvanni> same for DepartmentID
999: [15:07:59] <catcher> similarly, DepartmentID
1000: [15:08:02] <catcher> ^
1001: [15:08:23] <Marvanni> :)
1002: [15:08:50] <Marvanni> Why not spit out errors on screen when your in dev mode?
1003: [15:09:15] <andylockran> what should I put in the _config.php to make that happen?
1004: [15:09:33] <micmania1> Anybody know why DataObject::validate() is set to protected?
1005: [15:09:44] <Marvanni> if(Director::isDev()) {
1006: [15:09:45] <Marvanni> ini_set('error_reporting', E_ALL);
1007: [15:09:45] <Marvanni> ini_set("display_errors", 1);
1008: [15:09:45] <Marvanni> }
1009: [15:09:50] <Marvanni> Thats whay i use
1010: [15:10:22] <Marvanni> y=t
1011: [15:11:13] <andylockran> :k - make that change and still nothing
1012: [15:12:08] <andylockran> I'm going to var_dump($fields) to see if there's any clues there
1013: [15:12:42] <Marvanni> what do you want?? does the fields save the values?
1014: [15:13:25] <andylockran> the fields don't show up
1015: [15:13:27] <Marvanni> $fields->addFieldToTab('Root.Content', $location, 'Content');
1016: [15:13:32] <Marvanni> There is no Contact Field
1017: [15:13:33] <andylockran> I either get the fields showing, with the #1 as the option
1018: [15:13:54] <Marvanni> Remove the Content string in addFieldToTab
1019: [15:14:11] <Marvanni> If SS doesn't find the field, it won't add
1020: [15:14:47] <andylockran> ok
1021: [15:15:56] <ec8or> is the database structure still the same in 3.1 and 2.4?
1022: [15:16:22] <Marvanni> As far as I know yes
1023: [15:16:37] <ec8or> i.e. can i just import my old SiteTree?
1024: [15:16:39] <ec8or> that is cool
1025: [15:16:49] <andylockran> Ok - I've got that fixed. Can I define the default 'value' by which to list items in a DataObject
1026: [15:17:08] <Marvanni> hm... probably but I would test it first..... not 100% sure
1027: [15:17:10] <andylockran> i.e. always display the 'Location' field, not ID field (but persist ID to the db)
1028: [15:17:57] <Marvanni> function populateDefaults(){$this->LocationID = someid;}
1029: [15:18:31] <Marvanni> http://www.electrictoolbox.com/silverstripe-populate-defaults-dynamically/
1030: [15:18:47] <Marvanni> for the exact coding examples
1031: [15:18:56] <andylockran> not sure that's exactly what I want
1032: [15:19:18] <andylockran> the default drop down behaviour of a has_one lists the select element as the foreignKey ID
1033: [15:19:28] <Marvanni> yes
1034: [15:19:39] <Marvanni> so?
1035: [15:19:43] <andylockran> I'd like to define in the Foreign class what should be returned for that class
1036: [15:19:58] <andylockran> eg, with django it would be: return self.title
1037: [15:20:31] <andylockran> is there an attribute on the Location class that I should set to make it always return the particular attribute, rather than the ID ?
1038: [15:20:56] <Marvanni> hm not that im aware of
1039: [15:21:11] <Marvanni> list->map(); does use ID => Title by default
1040: [15:21:51] <andylockran> so if I had a 'title' column, it'd return that
1041: [15:22:03] <Marvanni> you might try to get function getTitle() {return $this->Department;}, bu I don't think it will work for the dropdown values
1042: [15:22:04] <catcher> andylockran, you're currently trying to pull a "Location" field from "Location" objects
1043: [15:22:33] <catcher> andylockran, map with "Title" instead, or just call map() instead for the default behavior ID=>Title as marvanni mentioned
1044: [15:22:48] <Marvanni> I always try to use Title for a DO's since that is mostly used for Breadcrumbs, dropdowns, summary lists etc
1045: [15:22:53] <catcher> (or whatever the title-ish field is called)
1046: [15:23:18] <Marvanni> otherwise you did it right with : $DepartmentList = Dataobject::get("Department")->map("ID", "Department");
1047: [15:23:27] <Marvanni> not other way as far as i know
1048: [15:24:16] <Marvanni> but if you use Title, the dropdowns will show without all the coding needed you did
1049: [15:42:00] * micmania1 quit (Read error: Connection reset by peer)
1050: [15:42:26] * micmania1 has joined #silverstripe
1051: [15:44:13] * joelpittet quit (Remote host closed the connection)
1052: [15:52:16] * joelpittet has joined #silverstripe
1053: [15:54:57] * joelpittet quit (Remote host closed the connection)
1054: [15:59:40] * kinglozzer quit ()
1055: [16:02:31] * robert__ is now known as robert_
1056: [16:06:53] * zfmf1 has joined #silverstripe
1057: [16:11:00] * Frans_ has joined #silverstripe
1058: [16:16:51] * Frans_ quit (Ping timeout: 250 seconds)
1059: [16:51:12] * chillu quit (Quit: chillu)
1060: [16:57:40] <andylockran> thanks for your advice
1061: [17:00:01] * Colin[pi] has joined #silverstripe
1062: [17:19:50] <andylockran> Hey guys - once I have a DataObject on a page, how difficult is it to write a filter to re-filter the list based on an attribute?
1063: [17:26:21] <catcher> andylockran, very simple if you have an SS_List, just use the list's filter() method
1064: [17:30:51] * chillu has joined #silverstripe
1065: [17:40:28] * kerosene quit (Quit: let's do this again some time)
1066: [18:03:53] * zfmf1 has left #silverstripe
1067: [18:15:01] * gelignite has joined #silverstripe
1068: [18:33:09] * r3v3rb has joined #silverstripe
1069: [18:36:08] * robert_ quit (Read error: Connection reset by peer)
1070: [18:45:13] * SightUnseen has joined #silverstripe
1071: [18:45:35] * SightUnseen has left #silverstripe
1072: [19:08:13] * razzi has joined #silverstripe
1073: [19:15:07] * abitran quit (Ping timeout: 248 seconds)
1074: [19:15:17] * abitran has joined #silverstripe
1075: [19:23:11] * guci0 quit (Ping timeout: 250 seconds)
1076: [19:29:11] * zfmf1 has joined #silverstripe
1077: [19:32:03] * Nivery has joined #silverstripe
1078: [19:51:00] * swordsmanz quit (Read error: Connection reset by peer)
1079: [19:52:10] * swordsmanz has joined #silverstripe
1080: [20:14:36] * travis-ci has joined #silverstripe
1081: [20:14:36] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#545 (3.1 - 9a4a5d9 : Ingo Schommer): The build passed.
1082: [20:14:36] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/16c802f7e186...9a4a5d909d99
1083: [20:14:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/11794932
1084: [20:14:36] * travis-ci has left #silverstripe
1085: [20:17:16] * r3v3rb quit (Quit: r3v3rb)
1086: [20:23:58] * travis-ci has joined #silverstripe
1087: [20:23:58] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1037 (3.1 - 12a4a8c : Ingo Schommer): The build passed.
1088: [20:23:58] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7da1340cbbb1...12a4a8c9dc5d
1089: [20:23:58] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11794640
1090: [20:23:58] * travis-ci has left #silverstripe
1091: [20:25:04] <Marvanni> grrr... do I really need PHPUnit for running the i18nTextCollector?
1092: [20:29:03] * robert_ has joined #silverstripe
1093: [20:29:04] * robert_ quit (Changing host)
1094: [20:29:04] * robert_ has joined #silverstripe
1095: [20:29:10] * UndefinedOffset quit (Quit: Leaving.)
1096: [20:36:44] * coldblooded01 has joined #silverstripe
1097: [20:49:23] <Pyromanik> Marvanni: are you installing the dev version?
1098: [20:53:00] * SightUnseen has joined #silverstripe
1099: [20:53:56] <catcher> so which e-commerce module is out in front now?
1100: [20:54:46] * SightUnseen1 has joined #silverstripe
1101: [20:55:46] <simon_w> swipestripe
1102: [20:57:22] * SightUnseen1 has left #silverstripe
1103: [20:57:37] * DigNZ has joined #silverstripe
1104: [20:57:38] * DigNZ quit (Read error: Connection reset by peer)
1105: [20:57:42] * SightUnseen quit (Ping timeout: 264 seconds)
1106: [20:57:52] * DigNZ has joined #silverstripe
1107: [20:57:57] * DigNZ quit (Client Quit)
1108: [20:59:17] <Pyromanik> catcher: recently BSD'd
1109: [21:00:35] <catcher> cool, does it require a separate payment gateway module?
1110: [21:00:59] <Marvanni> im currently working on the downloaded version from ss.org
1111: [21:01:53] <simon_w> catcher, https://github.com/frankmullenger/silverstripe-swipestripe#requirements says yes
1112: [21:02:38] <simon_w> http://addons.silverstripe.org/add-ons/swipestripe/swipestripe says that composer will try to install it for you
1113: [21:03:26] <Pyromanik> http://www.crazydomains.com.au/
1114: [21:03:32] <Pyromanik> 1) lol pam anderson wtf
1115: [21:03:39] <Pyromanik> 2) SS logo is bastardised
1116: [21:03:47] <Pyromanik> 3) It does actually feature the SS logo...
1117: [21:03:55] <Pyromanik> 4) ROFL sif their support staff look like that
1118: [21:04:47] <Marvanni> Then I need liv(f)e support...
1119: [21:05:11] <Pyromanik> catcher: depends on what gateway you're using.
1120: [21:05:19] <Pyromanik> but in short, it leverages SS's payments module.
1121: [21:05:38] <Pyromanik> which you can also find a fork of in Frank's github
1122: [21:06:39] <catcher> Looks pretty cool, hopefully worth the $. Has anyone played around with it enough to know how difficult it is to integrate products from parts of an existing site?
1123: [21:06:49] <Pyromanik> catcher: *sigh*
1124: [21:06:59] <Pyromanik> https://github.com/frankmullenger/silverstripe-swipestripe/commit/a3590b6ba1ad9494bdcee1bff7305fce783fd016
1125: [21:07:07] <Pyromanik> catcher: 08:59 < Pyromanik> catcher: recently BSD'd
1126: [21:07:24] <Pyromanik> I'm sure Frank wouldn't mind if you paid him still though :P
1127: [21:07:50] <Pyromanik> though tbh it might depend on what version you're using.
1128: [21:07:59] <Pyromanik> 2.4 and 3.0 versions are probably still propietary licence.
1129: [21:08:09] <catcher> ha, I see - I thought you were telling me stories since the website still had license purchase info.
1130: [21:08:18] * Nivery quit (Quit: Nivery)
1131: [21:08:25] <catcher> 3.1 for this one.
1132: [21:08:31] <Pyromanik> yeh he hasn't updated the site yet. Busy chap now he has a full time job.
1133: [21:08:57] <Pyromanik> http://logs.simon.geek.nz/search.php?q=tankr+open+swipestripe
1134: [21:09:09] <Pyromanik> just says latest version
1135: [21:09:24] <simon_w> Whoa, someone using search!
1136: [21:10:10] * UncleCheese has joined #silverstripe
1137: [21:10:10] <Pyromanik> people don't?
1138: [21:10:40] * atmos has joined #silverstripe
1139: [21:10:56] <simon_w> root@logbot:~# grep 'GET /search.php' /var/log/apache2/access.log.1 | wc -l
1140: [21:10:57] <simon_w> 58
1141: [21:11:09] <simon_w> Hmm, I guess 58 hits in a week isn't that bad
1142: [21:11:31] <simon_w> Sure, half of them look like people trying to break things
1143: [21:13:16] * Pyromanik looks at ss23 ...
1144: [21:13:19] <Pyromanik> >.>
1145: [21:13:38] * zippy__ has joined #silverstripe
1146: [21:13:41] <simon_w> Nah, it's automated things
1147: [21:13:50] <simon_w> Like looking for WP and phpMyAdmin
1148: [21:14:03] <simon_w> Always hilarious
1149: [21:14:19] <Pyromanik> lol
1150: [21:14:33] * stecman has joined #silverstripe
1151: [21:14:38] <Pyromanik> yet another reason to never wordderp
1152: [21:16:22] <simon_w> I'm trying out TextPattern for my new blag. Is nice so far.
1153: [21:23:27] <Pyromanik> textpattern is a blag ms?
1154: [21:26:57] <simon_w> Well, it works as well
1155: [21:27:04] <simon_w> I guess it's kinda like WP
1156: [21:27:49] <longtips> if i know a particular field i want, is DataObject::get_one the way to go?
1157: [21:28:00] <longtips> or should i be sticking to using first and a filter or something
1158: [21:28:05] <longtips> filter, limit, first
1159: [21:28:35] <simon_w> Well, just filter then first
1160: [21:29:12] <longtips> what i'm asking is, should i avoid get_one and just go Whatever::get()->filter('field', 'unique thing')->first();
1161: [21:29:32] <longtips> since get_one seems more explicit but looks like i'm building sql almost
1162: [21:29:45] <Marvanni> i18nTextCollector run says // Restrict modules we update to just the specified ones (if any passed)
1163: [21:30:07] <Marvanni> but it does that after all folders are processed and then limit the modules
1164: [21:30:23] <simon_w> Yeah, get_one needs you to pass in a WHERE clause directly, so going through ::get() and ->filter() is nicer and there's a lot smaller chance that you'll screw it up ;)
1165: [21:30:35] <longtips> yeah i hear you
1166: [21:30:36] <longtips> cheers
1167: [21:30:41] <Marvanni> won't it make more sense to limit the modules before parsing them all?
1168: [21:31:00] <Marvanni> If I add this before the module parsing:
1169: [21:31:01] <Marvanni> if($restrictToModules && count($restrictToModules)) {
1170: [21:31:01] <Marvanni> $modules = array_intersect($modules, $restrictToModules);
1171: [21:31:01] <Marvanni> }
1172: [21:31:19] <Marvanni> I don't get the missing PHPUnit classes that are needed in the framework....
1173: [21:31:56] <Marvanni> Is there a reason that all folders are parsed before the modules are filtered?
1174: [21:35:47] <Pyromanik> longtips: there is also ::get()->byId($id)
1175: [21:36:28] <Pyromanik> Marvanni: it wouldn't be much of an autoloader if it didn't autoload.
1176: [21:36:54] <Pyromanik> also, you haven't provided any context
1177: [21:37:02] <Pyromanik> ie, file, line, etc.
1178: [21:37:13] <Pyromanik> I've little idea what you're talking about.
1179: [21:37:23] <Pyromanik> other than you don't want PHPUnit to get invovled.
1180: [21:37:29] <simon_w> i18nTextCollector
1181: [21:37:32] <Marvanni> i18nTextCollector
1182: [21:37:33] <simon_w> Read Pyromanik :p
1183: [21:37:35] <Marvanni> dev/tasks/i18nTextCollectorTask/?module=mymodule&locale=en_US
1184: [21:38:05] <Marvanni> this parses all files, when it does not need to. At least I think
1185: [21:38:34] <Marvanni> Does it collect duplicate translation string?
1186: [21:38:36] <Marvanni> s
1187: [21:39:13] <Pyromanik> simon_w: Marvanni ha, missed 2 earlier lines in the wall of text :<
1188: [21:40:10] <longtips> Pyromanik: yeah this is a GUID based on the product, not its ID
1189: [21:40:14] <longtips> cheers tho
1190: [21:41:35] <longtips> can i add a method to my dataobject that gets called during filter?
1191: [21:41:44] <Pyromanik> longtips: no
1192: [21:41:47] <longtips> like getSomeCustom then filter('SomeCustom'
1193: [21:41:48] <longtips> ahh
1194: [21:41:49] <Pyromanik> filter is SQL generation
1195: [21:42:02] <Pyromanik> in datalists
1196: [21:42:10] * catcher quit (Quit: Leaving)
1197: [21:42:12] <longtips> half of learning SS seems to be learning best practices within the SS style
1198: [21:42:19] <Pyromanik> can't call php methods from your db! :P
1199: [21:42:21] <longtips> the other half is me being a boob
1200: [21:42:30] <longtips> yeah i understand
1201: [21:42:50] <longtips> i guess i could add a static method to the DO that does the db stuff for me
1202: [21:42:58] <Pyromanik> longtips: but you can foreach datalists
1203: [21:42:58] <longtips> rather than floating it around in my controller which is really unrelated
1204: [21:44:03] <Pyromanik> $newlist = arraylist::Create, foreach $list as $item, if $item->method(): $newlist->push($item);
1205: [21:44:22] <longtips> yeah i'm just gonna add a static method to sort this out, so it reads more sanely in the controller
1206: [21:44:33] <longtips> Prodct::FindProductOfFamily()
1207: [21:45:06] * gelignite quit (Quit: http://bit.ly/nkczDT)
1208: [21:46:00] <atmos> mmm dat feeling of setting up a demo of a release
1209: [21:50:37] <simon_w> Pyromanik, screw doing that
1210: [21:50:41] <simon_w> Just ->filterByCallback() :p
1211: [21:51:27] <simon_w> Gah, making a pull request to fix that is so much effort
1212: [21:52:04] <simon_w> (doesn't work with array callbacks in 5.3)
1213: [21:59:10] <Marvanni> hm, it seems fixed in latest dev... (i18nTextCollector for Pyromanik)
1214: [22:02:37] * zfmf1 has left #silverstripe
1215: [22:03:48] <Colin[pi]> bom dia
1216: [22:04:24] * nickmolhoek has joined #silverstripe
1217: [22:04:26] * nickmolhoek quit (Remote host closed the connection)
1218: [22:04:44] * nickmolhoek has joined #silverstripe
1219: [22:24:37] * razzi quit ()
1220: [22:24:43] * atmos_ has joined #silverstripe
1221: [22:25:11] * atmos quit (Ping timeout: 250 seconds)
1222: [22:33:05] <simon_w> Bah, my onadd isn't firing
1223: [22:33:10] * simon_w rages at entwine some
1224: [22:34:19] <Colin[pi]> why not write your own orm? ;P
1225: [22:34:43] <simon_w> Because the ORM was James' job
1226: [22:35:40] <Colin[pi]> PSH
1227: [22:35:50] <Colin[pi]> no excuse
1228: [22:38:03] * SightUnseen has joined #silverstripe
1229: [22:38:34] * SightUnseen has left #silverstripe
1230: [22:40:01] <Pyromanik> simon_w: sweet to know. I thought there might ahve been something, but couldnt' be arsed looking
1231: [22:42:46] * travis-ci has joined #silverstripe
1232: [22:42:46] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#546 (3.0.6 - 8ae0c47 : Ingo Schommer): The build passed.
1233: [22:42:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/commit/8ae0c4794610
1234: [22:42:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/11801399
1235: [22:42:46] * travis-ci has left #silverstripe
1236: [22:43:46] <Pyromanik> 10:35 < Colin[pi]> PSH
1237: [22:43:49] <Pyromanik> BRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR
1238: [22:43:50] <ss23> nice turbo
1239: [22:43:53] <ss23> VRRRRZOM
1240: [22:43:59] <ss23> lol
1241: [22:44:16] <Pyromanik> PFRWRWRWRW
1242: [22:44:25] <Pyromanik> gets one of them fancy flutter type ones
1243: [22:44:48] <Colin[pi]> but it's so ugly: http://www.digitaltrends.com/cars/keating-bolt-supercar-unveiled/
1244: [22:45:16] <simon_w> My onadd still isn't working, but onchange is firing fine and so are the other onadd methods :(
1245: [22:46:26] <Pyromanik> Colin[pi]: RX7 and NSX had a baby?
1246: [22:46:43] * DigNZ has joined #silverstripe
1247: [22:46:44] * DigNZ quit (Remote host closed the connection)
1248: [22:46:54] <Pyromanik> with hints of Elise and McLaren?
1249: [22:46:58] * DigNZ has joined #silverstripe
1250: [22:47:01] <Colin[pi]> Pyromanik: something like that, bit of Jag thrown in too
1251: [22:47:30] <Colin[pi]> I'd love to see it get to that speed and not rip itself apart
1252: [22:47:44] <Pyromanik> Colin[pi]: ah, it's British. Explains the styling a bit
1253: [22:47:47] <Colin[pi]> lol
1254: [22:48:03] <Pyromanik> ie, elise, european lemans-ish styling
1255: [22:48:22] <Colin[pi]> they must have solved some incredible challenges if they think it'll hit that speed
1256: [22:48:44] <Colin[pi]> anything above the veyron's top speed is incredibly difficult to achieve in a road car
1257: [22:49:45] <Pyromanik> Colin[pi]: taht's why you engineer a track car then make it road legal, produce 15 and sell them for exorbitant prices
1258: [22:49:52] <Marvanni> any ideas to read a specific yml lang file ?
1259: [22:50:10] <Marvanni> i mean, so I can work with it in plain php
1260: [22:50:16] <Pyromanik> ie, meet the bare minimum to qualify for the record title entry.
1261: [22:51:11] <Pyromanik> Marvanni: use the config?
1262: [22:51:21] <Pyromanik> it's what it's there for.
1263: [22:51:46] <Colin[pi]> Pyromanik: yeah but it's more than that, the physics challenges are immense at >400kph
1264: [22:51:55] <Colin[pi]> the air becomes like treacle
1265: [22:52:19] <Marvanni> what I want is, read a lang.yml file in php, and add a translation string if it is missing, and write the file back
1266: [22:52:49] <Colin[pi]> if they get that road car to do 547kph, I'll eat my hat
1267: [22:53:27] <Pyromanik> Colin[pi]: that's not a picture of it.
1268: [22:53:55] <Pyromanik> Marvanni: I think you're supposed to use an online thingamajig for that
1269: [22:54:29] <Marvanni> hm.. is it? How does Silverstripe reads the files and parse it?
1270: [22:54:54] * UncleCheese quit (Quit: UncleCheese)
1271: [22:55:23] <Pyromanik> it reads, it doesn't write.
1272: [22:55:37] <Pyromanik> probably uses the same reader the config system does
1273: [22:56:18] <Marvanni> the write won't be a problem, did that before, but now I need to read the file first, so can compare the data thats already in it
1274: [22:56:56] <Marvanni> hm, maybe the RauksYAML is what I need...
1275: [22:57:01] <Marvanni> Rails
1276: [22:58:01] <Pyromanik> likely.
1277: [22:59:48] <atmos_> ss23: looks like I'm now part of The Prow dev
1278: [23:00:11] * travis-ci has joined #silverstripe
1279: [23:00:11] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1040 (3.0.6 - 24bae3f : Ingo Schommer): The build passed.
1280: [23:00:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d4407449af6e...24bae3f922b8
1281: [23:00:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11801634
1282: [23:00:11] * travis-ci has left #silverstripe
1283: [23:00:16] <simon_w> Hmm, if I go to the bank now, it'll be an acceptable time for lunch once I'm done
1284: [23:02:00] <Pyromanik> 11:30?
1285: [23:02:03] <Pyromanik> too early :<
1286: [23:02:04] <ss23> hahah atmos_
1287: [23:02:30] <ss23> atmos_: I was just talking to coworker about that. He was like "How do tasman do dev?" "oh they have git accounts" "okay thats good, patrick can do all the prow stuff then"
1288: [23:03:01] <ss23> 10:47:03 <@simon_w> My onadd still isn't working, but onchange is firing fine and so are the other onadd methods :(
1289: [23:03:05] <ss23> #fuckjavascript
1290: [23:03:22] <simon_w> It was James. He broke it!
1291: [23:03:34] <ss23> DAMMIT JAMES
1292: [23:05:02] <simon_w> Well, it's more entwine overrides the jQuery manipulation methods to be able to trigger onadd and our modal stuff doesn't use jQuery
1293: [23:05:39] * MichaelDesignerX has joined #silverstripe
1294: [23:06:01] * travis-ci has joined #silverstripe
1295: [23:06:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1039 (3.0.6 - d440744 : Ingo Schommer): The build has errored.
1296: [23:06:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/d4407449af6e
1297: [23:06:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11801405
1298: [23:06:01] * travis-ci has left #silverstripe
1299: [23:06:27] * simon_w goes back to blaming Hamish
1300: [23:07:39] * travis-ci has joined #silverstripe
1301: [23:07:39] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#547 (3.0.6 - 65939e1 : Ingo Schommer): The build passed.
1302: [23:07:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/8ae0c4794610...65939e1ede9e
1303: [23:07:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/11801648
1304: [23:07:39] * travis-ci has left #silverstripe
1305: [23:07:40] <guzzlefry> :(
1306: [23:13:14] <Marvanni> ok, this is what I needed : http://sspaste.com/paste/show/52436c6e50a2e
1307: [23:16:18] * travis-ci has joined #silverstripe
1308: [23:16:19] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1041 (3.0 - 047e325 : Ingo Schommer): The build passed.
1309: [23:16:19] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/2dd7baac1608...047e325e2745
1310: [23:16:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11802255
1311: [23:16:19] * travis-ci has left #silverstripe
1312: [23:16:58] <simon_w> Screw it, I'm just going to have an early lunch
1313: [23:16:59] <Pyromanik> cool Marvanni
1314: [23:17:04] <simon_w> I really need to start having breakfast
1315: [23:17:06] <Pyromanik> wd simon_w, good option.
1316: [23:17:13] <Pyromanik> also, yes. Breakfast good.
1317: [23:17:29] <simon_w> ss23, if you want, you can queue at the bank with me
1318: [23:18:01] <Pyromanik> que?
1319: [23:18:19] <simon_w> Need to stick a PIN on my shiny new card before I can use it
1320: [23:18:24] <ss23> haha
1321: [23:18:29] <ss23> simon_w: When?
1322: [23:18:36] <simon_w> ss23, well, I'll be going about now
1323: [23:18:40] * Pyromanik does his best Manuel impression
1324: [23:18:49] <ss23> simon_w: Aw, going to ring a client now
1325: [23:18:53] <simon_w> ss23, haha!
1326: [23:18:59] <simon_w> Your phone working yet?
1327: [23:19:23] <ss23> Of course!
1328: [23:19:27] <ss23> Only broke once siince I've got here :D
1329: [23:19:35] <simon_w> I shall text you when I've finished with the bank then
1330: [23:20:37] <simon_w> It wasn't working last time I texted you :p
1331: [23:21:48] * travis-ci has joined #silverstripe
1332: [23:21:49] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1043 (2.4.13 - ebcad2c : Ingo Schommer): The build failed.
1333: [23:21:49] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/ebcad2c8f3d3
1334: [23:21:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11802580
1335: [23:21:49] * travis-ci has left #silverstripe
1336: [23:23:31] <Colin[pi]> why would $file->write() be making two files instead of one?
1337: [23:23:45] * travis-ci has joined #silverstripe
1338: [23:23:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1043 (2.4 - f7373d1 : Ingo Schommer): The build passed.
1339: [23:23:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c504fe0beb44...f7373d1124e5
1340: [23:23:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11802579
1341: [23:23:46] * travis-ci has left #silverstripe
1342: [23:23:57] <Pyromanik> Colin[pi]: because you call it twice
1343: [23:24:17] <Pyromanik> define 'making two'
1344: [23:24:42] <Colin[pi]> create file object, set ParentID, Name and Filename, then call write()
1345: [23:24:50] <Colin[pi]> I get two DO's :\
1346: [23:25:16] * UncleCheese has joined #silverstripe
1347: [23:29:15] <Colin[pi]> nm figured it out, I'm a retard
1348: [23:29:17] <Colin[pi]> ;D
1349: [23:29:44] <Colin[pi]> 'Path/$asset_name' doesn't work Colin you pillock
1350: [23:32:39] <Marvanni> how easy... and this is what id need to parse it back
1351: [23:32:39] <Marvanni> $dumper = new sfYamlDumper();
1352: [23:32:40] <Marvanni> $yml = $dumper->dump($array, 999);
1353: [23:33:31] <Marvanni> the 999 makes sure that everything is indented, not sure if I need to count the array depth..
1354: [23:34:18] * abitran quit (Ping timeout: 264 seconds)
1355: [23:34:26] * abitran has joined #silverstripe
1356: [23:34:49] <Pyromanik> sf eh.
1357: [23:34:52] <Pyromanik> heh.
1358: [23:36:48] * DigNZ quit (Quit: DigNZ)
1359: [23:45:34] <Colin[pi]> dat wind
1360: [23:45:37] <Colin[pi]> holy crap
1361: [23:45:41] <spronk> lulzs
1362: [23:45:43] * travis-ci has joined #silverstripe
1363: [23:45:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1044 (3.0 - ffb316d : Ingo Schommer): The build passed.
1364: [23:45:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/047e325e2745...ffb316dbc987
1365: [23:45:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11803173
1366: [23:45:43] * travis-ci has left #silverstripe
1367: [23:45:53] <Colin[pi]> building might blow over I reckon
1368: [23:47:09] <spronk> wait, which city are you in Colin[pi]?
1369: [23:48:03] <Colin[pi]> Canberra
1370: [23:48:22] <spronk> oic
1371: [23:48:27] * spronk has left #silverstripe
1372: [23:49:07] * spronk has joined #silverstripe
1373: [23:50:20] <ss23> Oh that's right
1374: [23:50:31] <ss23> I know about the storm cause Larksie was like " Guess I'm not wearing shorts tomorrow"
1375: [23:51:03] * joelpittet has joined #silverstripe
1376: [23:52:49] * travis-ci has joined #silverstripe
1377: [23:52:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1044 (3.0.7-rc1 - 87330c8 : Ingo Schommer): The build passed.
1378: [23:52:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/commit/87330c8647bf
1379: [23:52:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/11803174
1380: [23:52:50] * travis-ci has left #silverstripe
1381: [23:53:23] * Bollig|DesignCty has joined #silverstripe
1382: [23:53:47] <spronk> SHORT SHORTS
1383: [23:55:03] * travis-ci has joined #silverstripe
1384: [23:55:04] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#549 (3.0.7-rc1 - 77342fa : Ingo Schommer): The build failed.
1385: [23:55:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/commit/77342faca414
1386: [23:55:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/11803185
1387: [23:55:04] * travis-ci has left #silverstripe
1388: [23:56:19] <longtips> what do i use for arbitrary file uploads, i've got pdfs here
1389: [23:56:50] <longtips> looking at http://doc.silverstripe.org/framework/en/reference/uploadfield is all about images
1390: [23:57:31] <longtips> ahh just File
1391: [23:58:22] * joelpittet quit (Remote host closed the connection)
1392: [23:58:48] * zippy__ quit (Ping timeout: 252 seconds)
1393: [23:58:58] * joelpittet has joined #silverstripe

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