#silverstripe IRC Log

IRC log for 10 September 2013

All timestamps are in UTC.

1: [00:03:36] * redstubble_ has joined #silverstripe
2: [00:05:40] <Colin[pi]> quiet in here today
3: [00:05:47] <Colin[pi]> everyone is actually working?
4: [00:05:49] <Colin[pi]> :o
5: [00:06:50] <spronk> nah
6: [00:07:01] <spronk> i'm reading about how marissa meyer thought she was design pro enough to make a logo
7: [00:07:02] <guzzlefry> kinda :P
8: [00:07:35] * redstubble quit (Ping timeout: 246 seconds)
9: [00:09:15] <Colin[pi]> yeah that logo is such a fail
10: [00:09:36] <spronk> man
11: [00:09:42] <spronk> can't believe she posted that blog entry though
12: [00:09:51] <Colin[pi]> link?
13: [00:09:53] <spronk> she clearly doesn't value design
14: [00:10:07] <spronk> http://marissamayr.tumblr.com/post/60336044815/geeking-out-on-the-logo
15: [00:10:15] <Colin[pi]> ah yep I just found it lol
16: [00:10:16] <Colin[pi]> thanks
17: [00:11:37] <guzzlefry> I liked the old one better. :P
18: [00:11:44] <spronk> "So, one weekend this summer, I rolled up my sleeves and dove into the trenches with our logo design team: Bob Stohrer, Marc DeBartolomeis, Russ Khaydarov, and our intern Max Ma. We spent the majority of Saturday and Sunday designing the logo from start to finish, and we had a ton of fun weighing every minute detail. "
19: [00:12:10] <Colin[pi]> "Our last move was to tilt the exclamation point by 9 degrees, just to add a bit of whimsy"
20: [00:12:12] <Colin[pi]> lol
21: [00:12:16] <spronk> jesus fucking christ Marissa. You're CEO, not a designer, trying to rescue Yahoo from insignificance. You've got better things to do with your time than amateur design
22: [00:12:41] <spronk> she's the embodiment of google's design-by-statistics ethos
23: [00:12:43] <spronk> </rant>
24: [00:13:18] <willr> It's cringe worthy
25: [00:13:41] <guzzlefry> yeah..two days on a logo is a bit ridiculous. :P
26: [00:14:47] <Colin[pi]> it looks like such an amateur logo
27: [00:15:03] <Colin[pi]> I reckon I could have come up with something better in illustrator in about 30 minutes
28: [00:15:07] <Colin[pi]> and I'm bad at it!
29: [00:15:17] * Jayden90 has joined #silverstripe
30: [00:35:46] <spronk> oo
31: [00:35:47] <spronk> wtf
32: [00:35:53] <spronk> api top bar changed colour
33: [00:36:04] <spronk> or... was there a top bar there before?
34: [00:38:29] <ss23> It's new
35: [00:38:31] <ss23> DOUBLE BAR
36: [00:42:00] <spronk> WOAH
37: [00:42:02] <spronk> INCEPTION
38: [00:42:16] <ss23> :D
39: [00:42:19] <ss23> Needs. More. Bootstrap.
40: [00:45:31] <Colin[pi]> ehhh bootstrap
41: [00:45:37] <Colin[pi]> makes every website look the same
42: [00:45:46] <spronk> yeah..
43: [00:45:47] <spronk> well
44: [00:45:52] <spronk> people that don't bother customising it yeah
45: [00:46:02] <Colin[pi]> yeah I am oversimplifying it :)
46: [00:47:06] <spronk> oh ffs
47: [00:47:07] <spronk> subsites
48: [00:47:14] <spronk> doing this thing again where i open homepage
49: [00:47:20] <spronk> and it redirects me to page not found
50: [00:47:23] <spronk> ENDLESS LOOP
51: [00:47:56] <Colin[pi]> wow subsites sounds like a pain in the dick
52: [00:48:28] <spronk> tbh i dno if this is subsites
53: [00:48:30] <spronk> or just a bug in silverstripe
54: [00:49:13] <Colin[pi]> I don't think I've heard a positive comment related to subsites yet :)
55: [00:49:37] <simon_w> Good thing about sub sites: It gets spronk something to rage about! :p
56: [00:50:20] <spronk> i know :D
57: [00:50:26] <spronk> dno what i'd do without something to rage about
58: [00:51:16] <Colin[pi]> lol look at number 6: http://www.theguardian.com/commentisfree/2013/sep/08/10-ways-to-survive-abbott
59: [00:54:24] <simon_w> You could even come across by boat! :p
60: [00:54:58] <Colin[pi]> a second-hand indonesian fishing boat!
61: [00:59:16] <spronk> omfg
62: [00:59:20] <spronk> i can't give this to the client
63: [00:59:49] <Colin[pi]> tell them it has many undocumented features
64: [00:59:57] <spronk> it's completely broken
65: [01:00:02] <spronk> you click on a page in the sitetree
66: [01:00:06] <Colin[pi]> FOOM
67: [01:00:08] <spronk> and it just sits there
68: [01:00:13] <spronk> with the little loading indicator
69: [01:00:27] <spronk> network indicates that the cms has loaded the page, but it's now trying to load some resized image
70: [01:01:02] <Colin[pi]> ajax bug?
71: [01:01:22] <spronk> yeah, but i've got no idea whaty
72: [01:01:23] <spronk> what
73: [01:01:33] <spronk> urgh
74: [01:01:43] <spronk> and this is why i shouldn't use beta software
75: [01:02:25] * Bollig|DesignCty has joined #silverstripe
76: [01:02:54] <Colin[pi]> usually beta stuff is more functional than that
77: [01:02:57] <Colin[pi]> sounds like alpha
78: [01:03:43] * UncleCheese quit (Quit: UncleCheese)
79: [01:03:44] <spronk> this is 3.1beta2
80: [01:03:54] <spronk> i should update
81: [01:03:59] <spronk> but i had to make core changes to make subsites work properly
82: [01:04:11] <Colin[pi]> icky :(
83: [01:04:51] <spronk> and subsites still deosn't play nice with copying pages and urls
84: [01:04:54] <spronk> products-2
85: [01:04:56] <spronk> YAY WTF
86: [01:05:46] * chillu quit (Quit: chillu)
87: [01:06:30] * redstubble has joined #silverstripe
88: [01:07:38] <simon_w> Woo, mailer class written
89: [01:08:23] <spronk> omfg. cms using subsites tries to load content from a different fucking domain, iframe issues occur.
90: [01:08:56] <spronk> Uncaught SecurityError: Blocked a frame with origin
91: [01:10:07] <Pyromanik> simon_w: rewrite of ss's proceedural stuff?
92: [01:10:14] * redstubble_ quit (Ping timeout: 246 seconds)
93: [01:10:17] <Pyromanik> or something for your own stuffs?
94: [01:10:55] <Colin[pi]> sounds like his own stuff
95: [01:11:24] <spronk> anyone encountered this issue before with subsites? where you're editing from one domain, but it attempts to load content in iframe from a subsite domain, and browser security blocks?
96: [01:11:44] <Pyromanik> dafuq iframe?
97: [01:12:09] <spronk> i.e. mysite.com/admin
98: [01:12:11] <spronk> click a page in a subsite
99: [01:12:22] <spronk> ss attempts to load mysubsitedomain.com/pages/blablabla
100: [01:12:33] <spronk> browser's all CROSS DOMAIN BAD
101: [01:12:40] <Pyromanik> same origin
102: [01:12:40] <spronk> spronk's all FUCK YOU SUBSITES
103: [01:12:40] <spronk> et al
104: [01:12:47] <Pyromanik> QED
105: [01:13:35] <guzzlefry> spronk: Firefox?
106: [01:13:54] <spronk> well, chrome in this case
107: [01:13:57] <spronk> but same thing happens in any browser
108: [01:15:01] <simon_w> Pyromanik, custom code
109: [01:15:08] <simon_w> well, framework
110: [01:15:28] <spronk> why build own mailer when swiftmail!?
111: [01:18:05] <simon_w> Because Mail_Mime
112: [01:18:11] <spronk> ...?
113: [01:18:17] <simon_w> Screw writing an actual mailer
114: [01:18:24] <spronk> seriously using pear's mailer?
115: [01:18:24] <simon_w> http://pear.php.net/package/Mail_Mime
116: [01:18:27] <simon_w> Yes
117: [01:18:35] <spronk> jesus christ man
118: [01:20:56] <simon_w> Why install another mailer when I'm going to need it for receiving emails?
119: [01:22:15] <spronk> i'm confused - what?
120: [01:22:53] <simon_w> Mail_MimeDecode
121: [01:22:59] <simon_w> We use that for parsing incoming emails
122: [01:24:28] * dilshann has joined #silverstripe
123: [01:24:34] <simon_w> It requires Mail_Mime
124: [01:25:05] <spronk> yeah....
125: [01:25:11] <spronk> but pear::mail is dodgy as fuck
126: [01:26:14] <Colin[pi]> i feel that way about pear itself :)
127: [01:26:43] <spronk> indeed
128: [01:26:55] * spronk ditched pear a long time ago after he got sick of php updates simply breaking pear libs
129: [01:27:32] <Colin[pi]> you could say it all went... pear shaped
130: [01:27:39] <Colin[pi]> *puts on sunglasses*
131: [01:27:50] <dilshann> hello geeks ! i'm lookign for help, how to refactor 2 DataObject classes inherit from a common parent class.
132: [01:27:52] <dilshann> http://doc.silverstripe.org/framework/en/3.1/tutorials/5-dataobject-relationship-management
133: [01:28:02] <dilshann> here is the exercise
134: [01:28:40] <spronk> hahahaha :D
135: [01:30:39] <Colin[pi]> i did that in the wrong order, i should have put on the sunglasses first, = n00b
136: [01:31:04] <dilshann> help help help help
137: [01:31:08] <spronk> That's OK. Not everyone can be horatio
138: [01:31:13] <spronk> dilshann: ?
139: [01:31:39] <spronk> also, simon_w, get with the times
140: [01:31:41] <spronk> Mail_Mime2 is out
141: [01:32:13] <spronk> well
142: [01:32:14] <spronk> "out"
143: [01:32:44] <spronk> lolphp4 support
144: [01:36:56] <spronk> hey ss23: have you guys fixed subsites yet?
145: [01:38:29] <simon_w> Mmm, free pizza
146: [01:38:51] <Pyromanik> dilshann: not possiblel.
147: [01:39:03] <Pyromanik> oh
148: [01:39:09] <Pyromanik> common parent or 2 parents?
149: [01:39:44] <Pyromanik> multiple inheritance is not possible in php.
150: [01:39:59] <Pyromanik> having a common parent, you just extend the same parent when defining the class.
151: [01:42:18] <spronk> ah subsites
152: [01:42:19] <spronk> you fucking cunt
153: [01:42:29] <Colin[pi]> lol
154: [01:42:42] <spronk> so turs out page not found bug is https://github.com/silverstripe/silverstripe-framework/issues/1935
155: [01:42:42] <spronk> this bug
156: [01:42:48] <spronk> but..... subsites is causing the problem
157: [01:42:57] <spronk> because what happens is - click on a page to edit on Subsite 1
158: [01:43:03] <spronk> it opens that page
159: [01:43:15] <spronk> then immediately opens the content for the page with the same URL on Subsite 2
160: [01:43:36] <spronk> but it's not at all obvious you're on subsite 2 unless you look at the URL
161: [01:44:46] <dilshann> pyromanik what ????
162: [01:45:04] <dilshann> impossible ? seriously ?
163: [01:46:52] <dilshann> please just read the last lines of that page
164: [01:47:07] <dilshann> exercise topic
165: [01:47:32] <dilshann> i'm trying to do the exercise after read the tutorial
166: [01:47:59] <spronk> aaaaand hierarchical urls are a sham in ss.. sigh
167: [01:48:16] <spronk> dilshann: efactor the Student and Mentor classes to inherit from a common parent class Person, and avoid any duplication between the two subclasses ?
168: [01:48:34] <dilshann> yes yes
169: [01:48:45] <spronk> that's not multiple inheritance pyro
170: [01:49:20] <spronk> basically, dilshann, put anything common to Student and Mentor in a class Person
171: [01:49:24] <spronk> and have Student extends Person
172: [01:49:26] <spronk> and Mentor extends Person
173: [01:50:41] <dilshann> yes thats what i did and i have extended person class from DataObject, and student and mentor from Person
174: [01:50:43] <spronk> bloody drag and drop reordering never works properly
175: [01:50:58] <spronk> dilshann: so you're good
176: [01:51:36] <dilshann> but when it comes to the backend cms interface it shows me a blank page
177: [01:53:27] <dilshann> hey spronk this is what they have asked to to right ?
178: [01:54:32] <spronk> yeah it si
179: [01:54:36] <spronk> blank page is either error
180: [01:54:41] <spronk> or you haven't set up the getCMSFields stuff
181: [01:55:13] <spronk> Pyromanik: know anything about subsites and pages with the same urlsegment?
182: [01:56:53] <dilshann> class Mentor extends Person{ private static $db = array( 'Name' => 'Varchar', ); private static $belongs_many_many = array( 'Projects' => 'Project' ); } class Student extends Person{ private static $db = array( 'Name' => 'Varchar', 'University' => 'Varchar', ); private static $has_one = array( 'Project' => 'Project' ); } class Person extends DataObje
183: [01:57:24] <dilshann> OMG no one gonna able to read this
184: [01:57:27] <dilshann> sorry
185: [01:57:31] <dilshann> sorry
186: [01:57:42] <Colin[pi]> dilshann: use http://www.sspaste.com/
187: [01:58:36] <dilshann> Thank you so much Colin
188: [01:58:55] <Colin[pi]> no worries, will make code pastes much easier to read
189: [02:00:15] * UncleCheese has joined #silverstripe
190: [02:01:28] <dilshann> spronk http://www.sspaste.com/paste/show/522e7c18c4a7e
191: [02:01:37] <dilshann> see my code
192: [02:02:11] <spronk> ok
193: [02:02:16] <spronk> so what do you mean by you're getting a blank pagfe?
194: [02:06:00] <dilshann> when i refresh the backend i getting a black interface without any form fields only thing i can see here is the left side main menu
195: [02:06:14] <dilshann> when it comes to the font end it says Server error
196: [02:06:19] <spronk> ok
197: [02:06:19] <dilshann> Server error*
198: [02:06:21] <spronk> have a look in your error log
199: [02:06:24] <spronk> and see what the error is
200: [02:06:51] <dilshann> how to see the error log ? :D
201: [02:06:55] <spronk> haha
202: [02:06:58] <spronk> depends on your server config
203: [02:07:07] <spronk> have you done a /dev/build after changing the structure?
204: [02:07:13] <dilshann> yes
205: [02:07:45] <spronk> ok
206: [02:07:55] <spronk> what's your server? a vm? lamp? wamp?
207: [02:08:01] <dilshann> wamp
208: [02:08:05] <Pyromanik> spronk: shouldn't matter, query should be altered by extension to not give a shit
209: [02:08:16] <spronk> yeah, that's what i thought
210: [02:08:34] <spronk> been looking through subsites commits - looks like frank found this bug and has put up a hacky patch to fix it
211: [02:08:34] <spronk> sigh
212: [02:08:42] <spronk> dilshann: k, look in wamp folder for logs
213: [02:09:04] <Pyromanik> dilshann: you have an error.
214: [02:09:48] * redstubble_ has joined #silverstripe
215: [02:09:50] * redstubble quit (Read error: Connection reset by peer)
216: [02:10:21] <Pyromanik> put site into dev mode, it will tell you what the error is
217: [02:10:27] <dilshann> error log's last error is about "File does not exist:"
218: [02:10:30] <Pyromanik> wamp has error reporting on by default
219: [02:10:41] <Pyromanik> you didn't dev/build
220: [02:11:03] <dilshann> of course i did
221: [02:11:27] <Pyromanik> well what file doesn't exist?
222: [02:12:08] <dilshann> this is the what error log says
223: [02:12:10] <dilshann> [Tue Sep 10 07:33:58 2013] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/themes, referer: http://localhost/SilverStripeExperiments/projects/laf-group/
224: [02:12:31] <dilshann> i understand nothing
225: [02:13:02] <Pyromanik> put in mysite/config.php : Director::set_environment_type('dev');
226: [02:13:06] <Pyromanik> and reload the page
227: [02:13:21] <Pyromanik> (that comes up blank)
228: [02:15:01] <dilshann> huh error appears in the front end is..
229: [02:15:03] <dilshann> [User Error] Couldn't run query: SELECT DISTINCT count(DISTINCT "Person"."ID") AS "0" FROM "Person" LEFT JOIN "Student" ON "Student"."ID" = "Person"."ID" WHERE ("ProjectID" = '13') AND ("Person"."ClassName" IN ('Student')) Column 'ProjectID' in where clause is ambiguous
230: [02:15:32] <dilshann> GET /SilverStripeExperiments/projects/laf-group/ Line 592 in C:\wamp\www\SilverStripeExperiments\framework\model\MySQLDatabase.php
231: [02:17:39] <spronk> hmm
232: [02:17:48] <Pyromanik> http://www.sspaste.com/paste/show/522e7c18c4a7e
233: [02:17:55] <Pyromanik> I don't think this is accurate if that is your error.
234: [02:17:56] <spronk> here's the problem
235: [02:18:00] <spronk> belongs_many_many
236: [02:18:01] <spronk> and has_one
237: [02:18:03] <spronk> to Projects
238: [02:18:39] <spronk> actually, that should work.. sorta
239: [02:18:59] <spronk> you don't have some other member class still around, do you?
240: [02:19:18] <dilshann> no just these 2
241: [02:19:43] * Stomach quit (Quit: Leaving.)
242: [02:20:11] * Stomach has joined #silverstripe
243: [02:20:36] <Pyromanik> spronk: but code what version of SilverStripe are you using?
244: [02:20:49] <Pyromanik> and what is your full stack trace (sspaste.com)
245: [02:21:25] <dilshann> so i didn't get you... what i have to do now in order to see this working ?
246: [02:21:40] <Pyromanik> you have to tell me what the full error is
247: [02:22:30] <Pyromanik> http://logs.simon.geek.nz/index.php?date=2013-09-10#log_1041045 there is much more information underneath this part of the error.
248: [02:24:59] * zippy__ has joined #silverstripe
249: [02:25:07] <zippy__> elo
250: [02:25:25] <Colin[pi]> hey zippy
251: [02:25:51] <simon_w> Aww, no BPower
252: [02:26:21] <Pyromanik> sad why?
253: [02:26:23] <Pyromanik> hi zippy__
254: [02:26:45] <simon_w> How am I supposed to ask him about his Ubuntu Edge?
255: [02:29:01] <zippy__> just think I found the next vacum cleaning I am going to buy...
256: [02:31:33] <Pyromanik> wtf?
257: [02:31:50] <atmos> Shark Navigator?
258: [02:31:59] <Stomach> LIFTAWAY
259: [02:32:01] <zippy__> atmos: hello no!
260: [02:32:04] <zippy__> *hell
261: [02:32:15] <atmos> BUT TWICE THE SUCTION POWER
262: [02:32:45] <zippy__> been hassling the wife for a while for a new one. Last night I thought fuck it and just snapped the handle
263: [02:32:50] <Colin[pi]> it sucks twice as much!
264: [02:32:50] <zippy__> "ahh, the cleaner broke!"
265: [02:33:15] <zippy__> new purchase justified :)
266: [02:33:55] <Colin[pi]> mate of mine bought his wife a vacuum for her birthday, and was ridiculed on facebook
267: [02:34:07] <zippy__> hahah i'd say so
268: [02:34:17] <zippy__> cooking books for christmas
269: [02:34:18] <Colin[pi]> he was like "but.. but.. it's a Dyson, it's cool!"
270: [02:34:37] <zippy__> I was tempted to get a Dyson, but reviews actually haven't been that good for them
271: [02:35:19] * simon_w quit (Ping timeout: 264 seconds)
272: [02:36:11] <dilshann> pyromanik i ll tell you
273: [02:36:20] <dilshann> but is a long error
274: [02:36:33] <dilshann> how do i show that
275: [02:36:36] <dilshann> ?
276: [02:40:33] <zippy__> dilshann: you could paste in it
277: [02:40:34] <zippy__> !help
278: [02:40:45] <zippy__> !ask
279: [02:40:48] <zippy__> !question
280: [02:40:59] <zippy__> sigh
281: [02:41:24] <zippy__> http://www.sspaste.com/
282: [02:43:07] * dilshann quit (Ping timeout: 250 seconds)
283: [02:43:16] * simon_w has joined #silverstripe
284: [02:52:38] * coldblooded01 quit (Quit: coldblooded01)
285: [02:57:03] <spronk> le sigh
286: [02:57:16] <spronk> gonna have to do a full tree diff of my cms, framework, and subsites dirs :(
287: [02:59:03] <spronk> guys
288: [02:59:07] <spronk> paste from word in chrome
289: [02:59:09] <spronk> still no work?
290: [02:59:34] * simon_w is getting rather good at breaking add ons
291: [02:59:58] <spronk> lul
292: [03:03:25] <spronk> transferring a ss site via ftp = pain.
293: [03:04:01] <simon_w> s/a ss site //
294: [03:04:11] <spronk> i dno
295: [03:04:20] <spronk> ss has a massive number of files compared to some other cmss
296: [03:07:09] <Colin[pi]> spronk: can't tar.gz first?
297: [03:07:30] <Pyromanik> Colin[pi]: how to untar over ftp?
298: [03:07:57] <Colin[pi]> no untar via ssh.. maybe he doesn't have cli access
299: [03:07:59] <mobiusnz> don't use ftp
300: [03:08:03] <spronk> nah, tar.gz then download the tar via ftp
301: [03:08:06] <spronk> but no i can't, inode limit :P
302: [03:24:02] <spronk> does phptek ever come on irc?
303: [03:24:09] <spronk> someone from ss finally looked at my bug
304: [03:24:15] <spronk> https://github.com/silverstripe/silverstripe-framework/issues/2065
305: [03:27:29] * cloph_away has joined #silverstripe
306: [03:28:05] * cloph quit (Ping timeout: 256 seconds)
307: [03:32:35] <ss23> spronk: Nope, phptek doesn't
308: [03:33:43] <simon_w> He's also not the best at triaging
309: [03:35:04] <spronk> lol
310: [03:35:16] <ss23> Eh, he takes the time to go through a *lot* of reports, which is more than most people
311: [03:35:25] <ss23> (e.g. he actually helps people when they open tickets that should be on the forum)
312: [03:36:55] <spronk> mm..
313: [03:37:39] <ss23> I fucking hate zendesk
314: [03:37:49] <ss23> Just FYI my blood sugar is really low atm, so I'm in a shitty mood now :<
315: [03:37:50] <ss23> rage
316: [03:38:01] <ss23> It's srsly retarded that you can't open tabs
317: [03:38:19] <ss23> And takes ~20 seconds to load each page
318: [03:38:33] <spronk> you can't open tabs?
319: [03:38:46] <simon_w> It has its own "tabs"
320: [03:38:51] <simon_w> They're shit
321: [03:39:03] <spronk> oh wow
322: [03:39:09] <spronk> javascript links?
323: [03:39:09] <spronk> sigh
324: [03:39:10] <ss23> spronk: You can, if you hack around it. They try disable/capture any kind of middle/right click to open a new tab
325: [03:39:13] <ss23> yeah
326: [03:39:15] <spronk> ffs
327: [03:39:18] <ss23> CAUSE JAVASCRIPT IS THE FUTURE
328: [03:39:19] <spronk> HATE SITES LIKE THAT
329: [03:39:20] <ss23> fuck me
330: [03:39:22] <ss23> ikr
331: [03:39:23] <ss23> :/
332: [03:39:29] <spronk> ever heard of deeplinking js!?
333: [03:39:30] <ss23> "Oh but backbone! angular!!!"
334: [03:39:33] <ss23> "ember!"
335: [03:39:38] <spronk> well
336: [03:39:44] <spronk> it's not like you can't do this shit in backbone/angular/ember
337: [03:39:56] <ss23> It's called ember, because whenever I attempt to use a webapp written in ember, there are burning embers of rage in my heart.
338: [03:40:41] <zippy__> with ss 2.4.5 (shudder) I have a page with a DataObjectManager to an Object using popup. With that object/popup can it have a has_many to images?
339: [03:40:46] <Colin[pi]> lol ss23
340: [03:40:55] <zippy__> ie a relatiionship manager in the popup
341: [03:43:24] * redstubble has joined #silverstripe
342: [03:44:04] <simon_w> ss23, see if there's an extension for whatever browser you use like http://www.macworld.com/article/2046505/command-click-avenger-review-take-back-your-safari-tabs.html?
343: [03:45:29] * simon_w can cmd-click in Zendesk now :D
344: [03:46:31] <ss23> :D
345: [03:47:20] <ss23> I will try
346: [03:47:23] * redstubble_ quit (Ping timeout: 246 seconds)
347: [03:49:04] <spronk> man
348: [03:49:07] <spronk> i have finally
349: [03:49:11] <spronk> done a full diff on my core changes and subsites changes
350: [03:49:13] <spronk> sigh
351: [03:49:24] <Colin[pi]> scary hacks?
352: [03:50:47] <Colin[pi]> if you're needing to hack the core substantially for subsites that says to me subsites is broken
353: [03:51:03] <spronk> had to make changes to ... about 5 classes
354: [03:51:09] <ss23> What?! Subsites?! Broken?!
355: [03:51:11] <spronk> 3 of them were for subsites
356: [03:51:13] <Colin[pi]> lol
357: [03:51:16] <spronk> mainly to support things like nested virtualpages
358: [03:51:19] <ss23> It's *awesome*
359: [03:51:22] <Colin[pi]> haha
360: [03:51:37] <spronk> i also hacked around a couple of bugs that have since been fixed slightly differently in core
361: [03:52:39] <ss23> I walked to clients office too fast
362: [03:52:44] <ss23> now my shins are sore as fuck
363: [03:53:06] <spronk> lol
364: [03:53:11] <spronk> walking to client office
365: [03:53:12] <spronk> what is this
366: [03:53:14] <spronk> where's the SS limosine
367: [03:53:15] <spronk> or hummer
368: [03:53:18] <spronk> or Aston?!
369: [03:53:26] <Colin[pi]> SS chopper
370: [03:53:30] <spronk> exactly
371: [03:53:41] <spronk> with the massive contracts you guys win surely you can afford a few private hueys
372: [03:53:43] * SticksM has joined #silverstripe
373: [03:53:46] <Colin[pi]> ITS ALL ABOUT KEEPING AN IMAGE
374: [03:53:55] <spronk> where's sminee when you need him
375: [03:54:10] <Colin[pi]> printing a huey
376: [03:54:22] <Colin[pi]> piece by piece
377: [03:54:54] <ss23> spronk: I would've taken a nice taxi, but I felt like walking
378: [03:54:56] <ss23> BIG MISTAKE
379: [03:55:02] <ss23> Turns out Lampton Quay is kind of a longish road
380: [03:55:05] <simon_w> Home time!
381: [03:55:06] <ss23> Long enough to make me late :<
382: [03:55:08] <ss23> have fun, simon_w
383: [03:55:10] <spronk> lol
384: [03:55:14] <Colin[pi]> cya simon_w
385: [03:55:19] <spronk> even /me knows this
386: [03:55:24] <simon_w> So glad I didn't bike today!
387: [03:55:50] <ss23> spronk: Well I know this now too!
388: [03:56:35] <Colin[pi]> I was planning to bike today but it's windy as fuck outside
389: [03:58:02] <spronk> anyone know of any tools like Charles or Fiddler that work on VirtualBox, or as perhaps a webapp on a headless linux server?
390: [03:58:23] <Pyromanik> 15:55 <+ss23> Turns out Lampton Quay is kind of a longish road
391: [03:58:25] <Pyromanik> lolwut
392: [03:59:02] <Pyromanik> Lampton Quay isn't that long.
393: [03:59:15] <Pyromanik> The whole of Wellington CBD isn't that big.
394: [03:59:37] <ss23> And I wasn't *that* late
395: [03:59:42] <ss23> Just late enough that I felt bad
396: [03:59:42] <ss23> :<
397: [04:00:02] <spronk> it's a good couple of km long no?
398: [04:01:37] <spronk> also, isn't ss on like courtnay?
399: [04:02:41] <spronk> or do you guys have a second office now where you hide away all the people who aren't supposed to be seen?
400: [04:02:45] <spronk> :D
401: [04:04:57] <Colin[pi]> oh man
402: [04:05:00] <Colin[pi]> I saw that once
403: [04:05:03] <Colin[pi]> went to this place
404: [04:05:10] <Colin[pi]> whole office was very flash
405: [04:05:14] <Colin[pi]> and out the back
406: [04:05:21] <Colin[pi]> was this tiny little room, door closed, no windows
407: [04:05:28] <Colin[pi]> five developers crammed in there
408: [04:05:32] <Colin[pi]> poor bastards
409: [04:05:47] <spronk> yeah
410: [04:05:58] * spronk knows of at least a couple of firms that do that
411: [04:06:00] <Colin[pi]> i.e. the people actually doing the work
412: [04:07:11] <Pyromanik> Jail!
413: [04:07:11] <spronk> i applied for a job at a high frequency trading place a few years ago that did that
414: [04:07:13] <Pyromanik> Gaol!
415: [04:07:14] <ss23> spronk: Yeah, courtnay
416: [04:07:20] * Trooy has joined #silverstripe
417: [04:07:22] <Pyromanik> spronk: not that long.
418: [04:07:23] <spronk> [User Deprecated] SSTemplateParser->ClosedBlock_Handle_Control is deprecated. is deprecated. Use or instead. Called from SSTemplateParser->ClosedBlock__finalise.
419: [04:07:25] <ss23> spronk: Was on the far side of Courtneay :<
420: [04:07:25] <spronk> seriously...
421: [04:07:26] * Trooy quit (Client Quit)
422: [04:07:38] <ss23> Took ~15 mins to walk. Not a long time, but I just mis-timed
423: [04:07:42] <spronk> i18n collector task is broken in rc1?
424: [04:08:08] <spronk> or has client's inept developer used a control somewhere..
425: [04:08:12] <ss23> 16:02:39 < spronk> or do you guys have a second office now where you hide away all the people who aren't supposed to be seen?
426: [04:08:17] <ss23> haha, we do have two ends of the office
427: [04:08:33] <ss23> This end, the big end, has 2x dev teams, CWP team, all of maangement/sales
428: [04:08:43] <ss23> Other end has, I think, 2x dev teams, and it's a *tiny* office
429: [04:08:54] <ss23> well, tiny section, it's all open plan
430: [04:09:24] <Colin[pi]> which end has the more attractive people?
431: [04:09:26] <ss23> Point is, sucks to be them, awesome to be me
432: [04:09:27] <Pyromanik> spronk: 1Km according to http://goo.gl/maps/Z9Sq4
433: [04:09:29] <ss23> Colin[pi]: Hmmm
434: [04:09:35] <ss23> I'm going to say this end, because I'm here :D
435: [04:09:42] <Colin[pi]> lol
436: [04:09:45] <Pyromanik> Colin[pi]: depends on your definition
437: [04:09:50] <Pyromanik> some would say in the middle.
438: [04:09:59] <spronk> oh
439: [04:10:00] <Pyromanik> the politicians would say the northern end.
440: [04:10:03] <ss23> hahah Pyromanik
441: [04:10:07] <spronk> for some reason i thought lambton extended on past the beehive
442: [04:10:13] <spronk> fucking streets that should be the same but aren't..
443: [04:10:15] <Pyromanik> ss23 would say the southern end, because he's not even on it.
444: [04:10:37] <spronk> ugh
445: [04:10:38] <spronk> fucking subsites
446: [04:10:42] <spronk> "Main Site" isn't in language files
447: [04:10:59] <Colin[pi]> dude just ditch it and fire up something in joomla, WHAT COULD GO WRONG?
448: [04:11:05] <spronk> lawl
449: [04:11:08] <ss23> hahahaha Colin[pi]
450: [04:11:12] <spronk> funny story
451: [04:11:13] <Pyromanik> oh wow, I just confused a discussion on SS office with Lambton quay
452: [04:11:14] <ss23> I'm not sure which is worse, Joomla or Subsites...
453: [04:11:18] <Pyromanik> Colin[pi]: PSHHHHH
454: [04:11:23] <Pyromanik> YOU USED THE J WORD
455: [04:11:25] <Pyromanik> OUT WITH YOU
456: [04:11:37] <ss23> Wordpress #1 fansite
457: [04:11:39] <spronk> the guys i'm contracting for on this have a developer who reckons this "whole site" would take him 5 days in joomla
458: [04:12:10] <spronk> (it's an nz/au site, with large requirements for single data entry - shared pages, about 120 template files, 50 page types)
459: [04:12:23] <Colin[pi]> mm
460: [04:12:34] <spronk> he's also inept
461: [04:12:34] <spronk> but hey
462: [04:12:43] <spronk> 5 days in joomla. WHo can argue
463: [04:13:15] <Colin[pi]> maybe he could, but I wouldn't want to touch that site with a 40 foot pole
464: [04:13:25] <spronk> mm
465: [04:13:28] <spronk> then again
466: [04:13:37] <spronk> you don't wantt o touch this subsites hash job with one either
467: [04:13:41] <Pyromanik> gaiz, gaiz, stop swearing all over the channel, fuck.
468: [04:13:41] <atmos> I'd really like to see him try
469: [04:13:48] <spronk> ;D
470: [04:13:53] <spronk> so would i
471: [04:13:55] <Pyromanik> too many j words :< I AM OFFEND.
472: [04:13:57] <spronk> took about 5 days to do the templates alone
473: [04:14:11] * zippy__ quit (Ping timeout: 245 seconds)
474: [04:14:25] <atmos> back in the day I would have said something similar about Drupal... I learned quickly
475: [04:14:29] * openbees has joined #silverstripe
476: [04:14:58] <Colin[pi]> think I said about how i opened up some WP code the other day... thought process was "Maybe it got better... *opens code*..... OH DEAR GOD."
477: [04:15:12] <spronk> jesus christ
478: [04:15:21] <spronk> even in the tests for subsites "Main site" is hardcoded as an expected value
479: [04:15:52] <Pyromanik> lol
480: [04:16:01] <Pyromanik> just deal with it and have a main site already
481: [04:16:02] <Pyromanik> gosh
482: [04:16:08] <spronk> client is confused as fuck
483: [04:16:12] <Pyromanik> we can't all be too cool for record #1.
484: [04:16:21] <spronk> want to change Main to AUS
485: [04:16:29] <spronk> should be a simple yml entry
486: [04:16:30] <Pyromanik> translate it?
487: [04:16:31] <spronk> BUT NO
488: [04:16:35] <Pyromanik> ic
489: [04:16:48] <Pyromanik> tell the client to harden the fuck up and stop being an aussie.
490: [04:17:10] <spronk> yeah..
491: [04:17:24] <Pyromanik> last time I was horribly confused by a website I closed adobe.com.
492: [04:17:40] * spronk rofls
493: [04:17:43] <spronk> OH OH
494: [04:17:46] <spronk> you guys have CC?
495: [04:19:35] <Pyromanik> yes
496: [04:20:17] <spronk> updated yet?
497: [04:20:26] <spronk> cos
498: [04:20:29] <spronk> wait for it to wipe ALL YOUR SETTINGS
499: [04:20:41] <Pyromanik> lol
500: [04:20:53] <Pyromanik> no doubt I'll hear all the complains from the desk behind me (designers)
501: [04:21:00] <spronk> ah, adobe
502: [04:21:02] <spronk> you've done it again
503: [04:21:09] <Pyromanik> personally I barely use it
504: [04:21:23] <spronk> mm, i still have CS3
505: [04:22:21] <Pyromanik> RAGE
506: [04:22:22] <Pyromanik> FUCK
507: [04:22:30] <Pyromanik> ask for a restful API
508: [04:22:38] <ss23> Finally, the first time in probably ~3 days that I'll get to write code
509: [04:22:38] <ss23> :D
510: [04:22:45] <ss23> It's maybe only an hour or two's worth, but yay
511: [04:22:53] <Pyromanik> get delivered a form of api with multiple end points for the same thing, different end points for getting/pushing
512: [04:22:58] <ss23> My job is basicically "do tiny things and fix environment issues" now
513: [04:23:06] <spronk> lol
514: [04:23:14] <Pyromanik> INABILITY TO DELETE excepting pushing an entire set minus the one record :<
515: [04:23:15] <spronk> welcome to maintenance
516: [04:23:21] <spronk> ew
517: [04:23:21] <spronk> sick
518: [04:23:30] <ss23> lol Pyromanik
519: [04:23:31] <ss23> Nice
520: [04:23:50] <Pyromanik> "Can we make this more restful?"
521: [04:24:08] <Pyromanik> "Ok we added a new endpoint Industries/{guid}
522: [04:24:11] <Pyromanik> "
523: [04:24:19] <Pyromanik> I. Just. Don't. Even.
524: [04:24:26] <Pyromanik> How do you even work with internet?
525: [04:24:33] <Pyromanik> MS devs. GOSH.
526: [04:24:48] <Pyromanik> welcome to 2004.
527: [04:25:05] <Pyromanik> hmm, not fair. Maybe 2007.
528: [04:25:20] <spronk> oh?
529: [04:25:25] <spronk> i'm surprised they didn't give you a SOAP RPC API
530: [04:25:34] <Pyromanik> I think they're trying to retrofit one :<
531: [04:25:38] * spronk lols
532: [04:25:49] <spronk> QWALITY NZ DEVZ
533: [04:26:49] <Pyromanik> I think it's this: https://www.microsoft.com/en-nz/dynamics/default.aspx
534: [04:27:22] <spronk> ohhh
535: [04:27:31] <Pyromanik> not sure though
536: [04:27:50] <spronk> not sharepoint?
537: [04:27:52] <spronk> because lol.
538: [04:28:17] <Pyromanik> yeah.
539: [04:28:20] <Pyromanik> like
540: [04:28:26] <Pyromanik> sharepoint: online edition
541: [04:29:08] * simon_w|air has joined #silverstripe
542: [04:29:16] <Pyromanik> service.svc/
543: [04:29:23] <Pyromanik> how does it even
544: [04:29:25] <Pyromanik> I just
545: [04:29:27] <Pyromanik> iis 7
546: [04:29:32] <Pyromanik> loath
547: [04:30:14] <atmos> I find anything MS is fine, unless it's somehow related to NZ specific development
548: [04:31:04] <openbees> copy to subsite function in subsite module is really annoying ... why they send to subsite after each copy .. :|
549: [04:31:35] <spronk> openbees: because if you copy a page that has restricted parentage you'll need to move it before you can properly save/publish
550: [04:31:40] <spronk> but yes, it's a PITA
551: [04:31:52] <spronk> should be able to see subsite trees below the main site in the sitetree IMO
552: [04:32:29] <openbees> or it can create a clone of parent if its not in subsite .. may be .. just an idea
553: [04:33:01] <spronk> mm
554: [04:33:04] <spronk> i wrote a task that can do something along those lines
555: [04:33:09] <spronk> it's quick and dirty but..
556: [04:34:11] <spronk> http://sspaste.com/paste/show/522ea0128f67e
557: [04:35:03] <spronk> could work it into a gui function
558: [04:37:42] <openbees> nice thanks ... I thing was going in right direction ... though I created a sitewide page ... user can create them in main site and using some checkboxes he/she can copy across all site .. it uses similar approach but runs onBeforeWrite .. anyway I will grab some code from your task too :)
559: [04:38:00] <atmos> I missed my chance to go to TechEd this year, paid ticket+flights+accom
560: [04:38:10] <atmos> FFFFFFF
561: [04:38:35] <ss23> ;_;
562: [04:38:37] <spronk> openbees: one thing you may get pulled up on later is editing in both places
563: [04:38:43] <ss23> atmos: Oh, uh, I replied to a ticket btw!
564: [04:38:44] * dilshan has joined #silverstripe
565: [04:38:53] <atmos> ss23: lemme check
566: [04:39:24] <ss23> atmos: If you're allowed to give sudo access, we're happy to take it (though I understand there are issues in most organisations when you do that)
567: [04:39:38] <openbees> spronk : yaah can do that as I am saving original page ID
568: [04:40:19] <spronk> oo
569: [04:40:20] <spronk> nice
570: [04:40:45] <atmos> ss23: yeah most likely not, I'll check on it
571: [04:40:52] <openbees> spronk http://www.sspaste.com/paste/show/522ea182d1ef0 if you wanna check
572: [04:41:15] <spronk> oohh i see
573: [04:42:00] <ss23> ASDF
574: [04:42:05] <ss23> Someone broke 2.4 docs for api.silverstripe.org
575: [04:42:08] <ss23> Whats simon_w|air's mirror :/
576: [04:42:20] <atmos> ss23: hmmmm, you do have root access
577: [04:42:30] <ss23> atmos: I don't think so? :O
578: [04:42:35] <ss23> atmos: I did sudo -l and didn't see it
579: [04:42:55] <atmos> ss23: try again, the primary root should be updated
580: [04:43:02] <atmos> not sure if thatl hellp
581: [04:43:17] <ss23> atmos: Oh, sweet. I'll try some time later (very busy at the moment, might not be till Friday)
582: [04:43:22] <ss23> atmos: Was just poking you while you were here ^.^
583: [04:43:31] <atmos> ss23: sweet, also, do you use putty?
584: [04:43:42] <ss23> atmos: If on Windows, yes, but I'm on OSX at the moment
585: [04:43:47] <atmos> ah
586: [04:43:50] <atmos> cool
587: [04:44:15] * DigNZ quit (Quit: DigNZ)
588: [04:50:29] <atmos> ss23: tis workin now, just logged in, you needed to b in apache group to go pas /var/www
589: [04:50:32] <atmos> past*
590: [04:51:48] * atmos quit (Quit: Page closed)
591: [04:52:02] <spronk> ugh
592: [04:52:04] <spronk> subsites is so hacky
593: [04:52:07] <spronk> poor spronk. poor openbees
594: [04:54:14] <simon_w|air> ss23, api.logs.simon.geek.nz
595: [04:55:34] <openbees> lanewayfestival.com running on my luck :| god help us ... spronk subsite module needs some serious pull request :D
596: [04:56:50] <spronk> looks nice :P
597: [04:56:59] * DigNZ has joined #silverstripe
598: [04:57:00] * DigNZ quit (Remote host closed the connection)
599: [04:57:04] <spronk> its all responsive
600: [04:57:13] * DigNZ has joined #silverstripe
601: [04:57:55] <openbees> well I am 0 in design and front-end :D
602: [04:58:05] * nickmolhoek quit (Quit: nickmolhoek)
603: [04:58:31] * DigNZ quit (Client Quit)
604: [05:00:24] <ss23> simon_w|air: Yep, found it, ty :D
605: [05:00:46] <simon_w|air> Maybe I should make them links on the bottom of the logs
606: [05:02:10] <openbees> :O what happened to header of api and doc site
607: [05:02:19] <simon_w|air> Hmm, I should probably also close that window
608: [05:02:20] <spronk> also
609: [05:02:20] <spronk> Created by JetBrains PhpStorm
610: [05:02:21] <spronk> this is amateur man
611: [05:02:28] <spronk> put some decent file comments :P
612: [05:02:43] <openbees> :D
613: [05:03:13] <openbees> will do .. kinda don't like phpstrom .. it's added by that
614: [05:05:02] <spronk> mm
615: [05:05:12] <simon_w|air> Oh look, my mirror has that massive new bar too
616: [05:05:12] <simon_w|air> http://docs.logs.simon.geek.nz/framework/en/
617: [05:11:51] <spronk> ugh
618: [05:12:02] <spronk> fucking subsites needs to ensure virtualpages can be created anywhere regardless of parent page restrictions.
619: [05:12:11] * Shrike_Finland has joined #silverstripe
620: [05:15:35] <spronk> openbees: are you running the latest master of subsites?
621: [05:16:04] <openbees> I believe yes .. as site is on ss3.1
622: [05:16:11] <spronk> can you use virtualpages?
623: [05:16:13] <spronk> i.e.
624: [05:16:16] <spronk> if you create a virtual page
625: [05:16:20] <spronk> does the subsite dropdown work at all?
626: [05:16:23] <spronk> (subsites virtual page this is)
627: [05:16:48] <openbees> subsite dropdown works fine
628: [05:17:00] <spronk> when editing a subsite virtual page source?
629: [05:17:12] <spronk> it actually changes the tree dropdown below to the correct site tree?
630: [05:17:12] <openbees> let me try .. we have no virtual page
631: [05:24:12] <openbees> doesn't happen to me
632: [05:24:30] <spronk> hmm
633: [05:24:41] <spronk> so you create a new virtualpage
634: [05:24:44] <spronk> select subsite from the dropdown
635: [05:24:51] <spronk> and you get the correct treedropdown for that subsite?
636: [05:27:48] <spronk> openbees: what if you do it from a subsite?
637: [05:27:55] <spronk> i.e. log in to admin through a subsite's domain
638: [05:28:21] <openbees> addnew (in subsite) -> virtual page -> published -> select subsite : fine
639: [05:28:29] <openbees> i was doing this in subsite
640: [05:28:33] <spronk> subsites virtual page?
641: [05:28:36] <spronk> or virtual page?
642: [05:29:00] <openbees> virtual page but in a sibiste
643: [05:29:02] <openbees> subsite
644: [05:29:07] <spronk> ah
645: [05:29:10] <spronk> what about a subsites virtual page
646: [05:29:11] <openbees> checking in main site now
647: [05:29:16] <spronk> the one where you have
648: [05:29:49] <spronk> add new -> subsites virtual page -> select subsite from drop down -> ??
649: [05:30:46] <openbees> ahh i can see it now ...
650: [05:30:50] <openbees> it happens
651: [05:31:10] <openbees> but what is wrong with it .. first choice should be current site
652: [05:31:51] <spronk> so it doesn't load the correct site tree for the selected subsite for you?
653: [05:32:51] * Sticks38 has joined #silverstripe
654: [05:33:19] <openbees> ohh dear .. now I know what you are pointing ... !
655: [05:33:31] <openbees> yaah its definitely wrong
656: [05:33:55] <spronk> urgh
657: [05:34:43] <spronk> ah
658: [05:34:43] <spronk> https://github.com/chillu/silverstripe-subsites/commit/3ae010f84ea0a1fa8f3d14d588aa3cc046a1aba6
659: [05:34:46] <spronk> there's a patch for this
660: [05:34:49] * SticksM quit (Ping timeout: 246 seconds)
661: [05:35:49] <openbees> cool .. I never needed it ;)
662: [05:37:02] * maknz has joined #silverstripe
663: [05:37:02] * maknz quit (Changing host)
664: [05:37:02] * maknz has joined #silverstripe
665: [05:37:51] <spronk> ugh
666: [05:37:53] <ss23> (((()))(()))
667: [05:37:54] <spronk> 2 months and it hasn't been merged.
668: [05:37:55] <ss23> Sorry, I have a lisp
669: [05:40:06] * Stomach quit (Quit: Leaving.)
670: [05:41:32] * stecman quit (Quit: This computer has gone to sleep)
671: [05:45:20] <spronk> Warning: get_magic_quotes_gpc support is being removed from Silverstripe. Please set this to off in your php.ini and see http://php.net/manual/en/security.magicquotes.php in /home/kerricka/public_html/framework/core/Constants.php on line 142
672: [05:45:21] <spronk> OH GOD
673: [05:45:23] <spronk> DONT DO THIS FOR ME
674: [05:47:53] * spronk supresses the error
675: [05:48:16] * guzzlefry has left #silverstripe
676: [05:50:05] * Error404NotFound has joined #silverstripe
677: [05:50:52] * dilshan quit (Quit: Page closed)
678: [05:52:40] * redstubble quit (Ping timeout: 246 seconds)
679: [05:56:01] <spronk> hmm
680: [05:56:06] <spronk> flushing puts an extra / in my url
681: [05:56:53] <ss23> Yes
682: [05:56:59] <ss23> known issue, iirc
683: [05:58:18] <spronk> sigh
684: [05:58:25] <spronk> subsite copy fucks up user defined form
685: [05:58:29] <spronk> fields don't copy across.
686: [05:58:34] <ss23> lol
687: [05:58:48] <ss23> yay subsites !
688: [05:59:27] * openbees quit (Ping timeout: 260 seconds)
689: [06:01:47] * UncleCheese quit (Quit: UncleCheese)
690: [06:12:25] * openbees has joined #silverstripe
691: [06:16:14] * Guits has joined #silverstripe
692: [06:17:24] <Guits> Just upgraded a site from ss2.4 to ss3.05 and noticed that there are no horizontal scrolling in the modeladmin, which obviously causes problems to modeladmins with many columns
693: [06:17:49] <spronk> ha
694: [06:17:49] <spronk> really?
695: [06:18:41] <Guits> .. anyone got the same bug or is it just me? any solution?
696: [06:20:18] <spronk> OH FOR FUCKS SAKES
697: [06:20:33] <spronk> whatever happened between ss3.1 b3 and rc1, and subsites 0.4 -> master, has broken ModelAdmin for subsites
698: [06:21:05] <spronk> Guits: ^^ was about to help you and noticed yet another bug with subites. hang on
699: [06:22:26] * Kapdap quit (Ping timeout: 264 seconds)
700: [06:23:04] * Kapdap has joined #silverstripe
701: [06:25:28] * openbees quit (Ping timeout: 256 seconds)
702: [06:29:18] <spronk> Guits: you can still scroll
703: [06:29:21] <spronk> just that it hides the scrollbar
704: [06:29:40] <Guits> thanx spronk ..but how do you mean?
705: [06:29:47] <spronk> .ModelAdmin .cms-content-fields .cms-edit-form {
706: [06:29:48] <spronk> overflow-y: auto;
707: [06:29:48] <spronk> overflow-x: hidden;
708: [06:29:48] <spronk> }
709: [06:29:52] <spronk> overflow-x: hidden
710: [06:30:09] <spronk> override that CSS in your own app and it should be fine
711: [06:30:33] <Guits> thanx :)
712: [06:33:27] <spronk> https://github.com/silverstripe/silverstripe-subsites/commit/37843f447ef4b558170a0ba851ae349a5c413028
713: [06:33:28] <spronk> growl.
714: [06:33:42] <spronk> waste 30 minutes of my life because patch does more than it claims
715: [06:37:31] * openbees has joined #silverstripe
716: [06:42:09] <ss23> lol spronk
717: [06:43:50] <ss23> Ow, I have a gnarly headache after today
718: [06:43:51] <ss23> :<
719: [06:44:10] <spronk> "This was intentional, but you are right. Currently no changelogs for subsites though. Feel free to add it to the docs though."
720: [06:44:23] <spronk> commit message says nothing about it. sigh.
721: [06:44:57] <ss23> spronk: Sounds like you're offering to write docs
722: [06:44:58] <ss23> ^.^
723: [06:45:08] <spronk> you mean
724: [06:45:12] <spronk> write a fucking commit message?
725: [06:45:18] <spronk> that explains what the fuck the commit does
726: [06:45:30] <spronk> that causes disruptive behaviour
727: [06:45:40] <ss23> That was a pretty large / explicit commit message already :P
728: [06:45:55] <ss23> FIX: fix bugs
729: [06:45:55] <ss23> :D
730: [06:45:58] <ss23> ss23 commits!
731: [06:46:22] <ss23> spronk: I understand your frustrations, I just think, at the end of the day, it's not going to get better, unless you want to take over maintaining that module yourself :P
732: [06:46:29] <spronk> sigh
733: [06:46:35] <spronk> if it's part of the CWP
734: [06:46:37] * violetina2 has joined #silverstripe
735: [06:46:39] <spronk> it needs to be better.
736: [06:46:45] <ss23> spronk: Why?
737: [06:46:45] <openbees> ss23 +1 :D
738: [06:47:03] <spronk> ss23: because it's not just ss ltd that will be building sites on CWP, no?
739: [06:47:16] <ss23> spronk: That's not an explanation for why it needs to be better
740: [06:47:25] <ss23> Linux is part of CWP, and check out how many bugs *it* has
741: [06:47:33] <spronk> sigh
742: [06:47:51] <spronk> i just look at subsites and see a bag of hurt
743: [06:48:05] <ss23> Me too :D
744: [06:48:15] <ss23> Subsites is worse than fulltextsearch -- that's saying something
745: [06:48:37] <spronk> it's so bad that the ... five? sites i've used with it have caused the owners or people contracting me to question whether or not SilverStripe is worth using *at all*
746: [06:48:47] * ARNHOE has joined #silverstripe
747: [06:48:59] <Colin[pi]> :(
748: [06:49:05] <ss23> I'm not trying to say it's not bad
749: [06:49:57] <openbees> well honestly we can't just blame original authors .. unless we have contributed !
750: [06:49:59] <Colin[pi]> write a new module ss23! ^_^
751: [06:50:02] <ss23> Hahaha
752: [06:50:12] <ss23> Sure, I'll just /amsg these clients with "Fuck you, writing a module"
753: [06:50:18] <Colin[pi]> lol
754: [06:50:28] <ss23> Peavers'll be happy :D
755: [06:51:46] <ss23> forms r hard, yo
756: [06:51:46] <ss23> :<
757: [06:58:31] <Colin[pi]> forms/validation is one area I feel needs improvement
758: [06:59:58] <ss23> It's not just SS, it's hard in general
759: [07:00:00] <ss23> HTML not designed for it etc
760: [07:00:04] <ss23> HTTP, I should say
761: [07:01:22] <Colin[pi]> one area I have trouble with still is ajax :\
762: [07:01:28] <Colin[pi]> because I'm old skool
763: [07:01:30] <spronk> ,,
764: [07:01:35] <Colin[pi]> ajax was after my time man
765: [07:01:36] <Colin[pi]> lol
766: [07:02:04] <Colin[pi]> I do a lot of forms in a very old skool way when I know I could be ajaxing a lot of stuff
767: [07:03:32] * NobrainerWeb has joined #silverstripe
768: [07:03:41] <NobrainerWeb> Hi guys
769: [07:03:47] <Colin[pi]> hey there
770: [07:04:47] <ss23> Colin[pi]: Old man!
771: [07:04:48] <ss23> :P
772: [07:04:49] <NobrainerWeb> Still looking for how to avoid creating duplicates of a data object. I have DO skill that has one field = Title and i want to make sure that the client is not creating more Skills with the same title.
773: [07:05:15] <NobrainerWeb> Skill is managed via a GridFieldConfig_RelationEditor
774: [07:05:30] <Colin[pi]> ss23: yes it's true :C
775: [07:05:35] <NobrainerWeb> Should i do some onBeforeWrite check on Skill?
776: [07:05:52] <ss23> Colin[pi]: So... got any daughters then? :D
777: [07:05:57] <ss23> ;)
778: [07:06:17] <Colin[pi]> lol ffs
779: [07:06:18] * Sticks38 quit (Read error: Connection reset by peer)
780: [07:06:21] <Colin[pi]> you never give up do you
781: [07:06:31] <ss23> XD
782: [07:06:32] <Colin[pi]> I know a lot of brazilian girls...
783: [07:06:33] <ss23> Have I asked before?!
784: [07:08:03] <Colin[pi]> not me, just others ;P
785: [07:08:16] <spronk> lul
786: [07:08:28] <spronk> hmm
787: [07:08:33] <spronk> how to add extra buttons to modeladmin toolbar
788: [07:09:06] <spronk> $gf = $form->Fields()->getFieldByName($this->sanitiseClassName($this->modelClass)); $gf->getConfig->addComponent(new GridFieldSpecialCoolButton()); no seem to work
789: [07:13:16] <Pyromanik> I need to replace a section of a string.
790: [07:13:18] <Pyromanik> how do?
791: [07:13:24] <Pyromanik> my/blah/string
792: [07:13:30] <Pyromanik> change /blah to /foo
793: [07:13:32] <spronk> str_replace ?
794: [07:13:35] <Pyromanik> no
795: [07:13:50] <Pyromanik> because the string is actually my/blah/string/blah/maybe
796: [07:13:59] <spronk> preg_replace, greedy?
797: [07:14:36] <Pyromanik> I know indeses
798: [07:14:44] <Pyromanik> indexes
799: [07:14:49] <Pyromanik> and length
800: [07:15:43] <Pyromanik> I guess preg replace it is
801: [07:20:23] <ss23> Managed to typo "wysihtml5" as "wysih5ml"
802: [07:20:23] <ss23> idek at my typos sometimes
803: [07:20:41] <Colin[pi]> lol I just went to type function and typed cuntion, how freudian
804: [07:20:47] <Pyromanik> dafuq is that clump of letters?
805: [07:21:52] <ss23> What you say is HTML5!
806: [07:23:17] <simon_w|air> Just dictate
807: [07:23:50] <ss23> Hard to dictate code
808: [07:23:52] <ss23> LEFT PAREN
809: [07:23:53] <ss23> RIGHT PARENT
810: [07:23:55] <ss23> NEWLINE
811: [07:24:02] <ss23> Though there was that guy who did the stuff for python with dictation
812: [07:24:05] * Err404NotFound has joined #silverstripe
813: [07:24:05] * Error404NotFound quit (Disconnected by services)
814: [07:24:14] <Colin[pi]> "MAKE WEBSITE"
815: [07:24:49] <simon_w|air> {it's rather easy}
816: [07:24:49] <simon_w|air> I'm doing it right now
817: [07:25:25] <simon_w|air> Just don't start laughing
818: [07:25:33] <ss23> lol
819: [07:25:33] <ss23> haha
820: [07:25:36] <simon_w|air> Especially in Mavericks
821: [07:25:46] <simon_w|air> Wasn't great. I should dictate more often
822: [07:25:47] * Jayden90 quit (Quit: Jayden90)
823: [07:27:23] <simon_w|air> *This is
824: [07:27:50] <simon_w|air> Maybe I should try UK English instead of Australia
825: [07:28:03] <ss23> i would guess we're closer to Australia than UK English
826: [07:28:28] <Colin[pi]> uts uh but duffrint frum oztrayleun though
827: [07:28:59] <ss23> lol
828: [07:29:11] <NobrainerWeb> Need help, how do i make sure that a client can not make duplicates of a data object? The Title column must be unique
829: [07:29:32] <ss23> NobrainerWeb: I would probably make a onBeforeWrite() that validates
830: [07:29:37] <Pyromanik> you can specify it as unique, or override canCreate()
831: [07:29:39] <ss23> NobrainerWeb: Possibly could do a form validator too, thoguh I'm not sure how
832: [07:29:53] <ss23> How do you specify as unique in SS?
833: [07:29:53] <Pyromanik> OR
834: [07:29:56] <Pyromanik> validate()
835: [07:30:08] <Pyromanik> ss23: something to do with table options somewhere I think
836: [07:30:11] <NobrainerWeb> yes how do i specify as unique?
837: [07:30:13] <Pyromanik> I know you can make indexes
838: [07:30:14] <ss23> Pyromanik: Help, I'm all burgerfuel'd out :<
839: [07:30:19] <ss23> I know indexes too
840: [07:30:22] <Pyromanik> I'm still at work, so no
841: [07:30:24] <ss23> But wasn't sure about unique
842: [07:30:28] <ss23> Pyromanik: wtf
843: [07:30:29] <Pyromanik> I'm not sure about unique either
844: [07:30:32] <ss23> Pyromanik: y u working so late :O
845: [07:30:36] <Pyromanik> ss23: dat OT
846: [07:30:38] <NobrainerWeb> just tried index, no change
847: [07:30:42] <ss23> Pyromanik: Pay++?
848: [07:31:00] <simon_w|air> static $indexes = array('Title' => array('type' => 'unique', 'value' => 'Title'))
849: [07:31:33] <spronk> hey Pyromanik are your lights flciking like mad?
850: [07:31:40] <ss23> There you are, NobrainerWeb :D, what simon_w|air said
851: [07:31:50] <NobrainerWeb> trying :-)
852: [07:31:51] <ss23> simon_w|air: Do you know if it gets enforced 'nicely'?
853: [07:31:59] <ss23> simon_w|air: As in, a nice error for the user, if you violate it?
854: [07:32:59] <NobrainerWeb> no error
855: [07:33:04] <NobrainerWeb> just and empty row :-(
856: [07:33:07] <simon_w|air> NobrainerWeb, dev/build
857: [07:33:12] <NobrainerWeb> I did
858: [07:33:18] <simon_w|air> Oh yeah, that's because the error doesn't get handled nicely
859: [07:33:26] <NobrainerWeb> Index Skill.Title: changed to unique (Title) (from ("Title"))
860: [07:33:28] <simon_w|air> You want a validate() check too
861: [07:34:11] <NobrainerWeb> and how do i validate, some code in onBeforeWrite?
862: [07:34:57] <simon_w|air> protected function validate() { $res = parent::validate(); if(self::get()->filter('Title', $this->Title)->exclude('ID', $this->ID)->count() > 0) $res->error('Duplicate Title value'); return $res }
863: [07:38:45] <NobrainerWeb> Wow, thank you so much simon_w|air - that works perfect :-)
864: [07:43:04] <Colin[pi]> my cookie clicker is still running simon_w
865: [07:43:23] <simon_w|air> Hmm, I suppose I could open mine
866: [07:43:54] <Pyromanik> spronk: no
867: [07:44:09] <simon_w|air> Colin[pi], almost 600mil/sec
868: [07:45:13] <Colin[pi]> wow mine is only 91mil
869: [07:45:27] <Pyromanik> how to fix wamp not loading php_curl.dll?
870: [07:45:34] <Pyromanik> extension enabled in php.ini
871: [07:45:39] <Pyromanik> correct php.ini loaded
872: [07:45:48] <Pyromanik> call to undefined function curl_init :<
873: [07:45:55] <simon_w|air> Pyromanik, restart apache?
874: [07:46:03] <Pyromanik> simon_w|air: done
875: [07:46:13] <simon_w|air> phpinfo() to make sure it's enabled?
876: [07:51:42] * simon_w|air resets his game!
877: [07:51:46] <Pyromanik> simon_w|air: it's not shoing
878: [07:56:17] * violetina2 quit (Remote host closed the connection)
879: [07:58:11] <Colin[pi]> zomg back to the start simon_w?
880: [07:58:27] <simon_w|air> Colin[pi], yup!
881: [07:59:42] <Colin[pi]> my grandmas are getting kinda scary
882: [08:00:55] <ss23> XD
883: [08:01:05] <ss23> simon_w|air: THEy'RE TRYING TO BUILD A PRISON
884: [08:01:46] <simon_w|air> Who are?
885: [08:01:53] <ss23> lol
886: [08:02:00] <ss23> never mind!
887: [08:03:21] * openbees quit (Ping timeout: 245 seconds)
888: [08:04:01] * kinglozzer has joined #silverstripe
889: [08:22:27] * SightUnseen has joined #silverstripe
890: [08:22:44] * SightUnseen has left #silverstripe
891: [08:29:54] * micmania1 has joined #silverstripe
892: [08:30:13] <ss23> I feel so dirty
893: [08:30:16] <ss23> I'm writing the worst code...
894: [08:30:34] <ss23> "hardcoded" isn't even the right word to describe it.
895: [08:30:50] <micmania1> <+ss23> I feel so dirty - Did I come in the right chat?
896: [08:31:42] <ss23> XD
897: [08:31:46] <ss23> You don't know how dirty this code is!
898: [08:31:48] <ss23> I'll commit it now
899: [08:31:49] * chillu has joined #silverstripe
900: [08:32:02] <ss23> I have to commit it to my personal github, it's too dirty to soil official codebases with
901: [08:32:17] <micmania1> what you making?
902: [08:32:19] <ss23> My fantasy is that someone will take the code and fix it :D
903: [08:32:29] <ss23> micmania1: Module for 2.4 to replace TinyMCE with an alternative editor
904: [08:32:44] <micmania1> That sounds grim
905: [08:35:27] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
906: [08:36:16] <ss23> https://github.com/ss23/silverstripe-wysihtml5
907: [08:36:18] <ss23> Now with code
908: [08:36:18] <ss23> :D
909: [08:36:27] <ss23> https://github.com/ss23/silverstripe-wysihtml5/blob/master/code/Html5EditorField.php
910: [08:36:31] <ss23> Oh yeah... oh man that's so dirty
911: [08:36:36] <ss23> All that inline Javascript...
912: [08:36:41] <ss23> That massive chunk of HTML that should be in a template file
913: [08:36:44] <ss23> Oh man...
914: [08:36:57] <ss23> Hardcoded CSS paths...
915: [08:37:04] <micmania1> haha
916: [09:07:22] * mrzero quit (Ping timeout: 245 seconds)
917: [09:11:48] * willr quit (*.net *.split)
918: [09:18:28] * Bollig|DesignCty quit (*.net *.split)
919: [09:18:28] * unsigned_ quit (*.net *.split)
920: [09:18:28] * abitran quit (*.net *.split)
921: [09:18:28] * ajmitch quit (*.net *.split)
922: [09:18:28] * wmk quit (*.net *.split)
923: [09:18:29] * chillu quit (*.net *.split)
924: [09:18:29] * Shrike_Finland quit (*.net *.split)
925: [09:18:29] * Pyromanik quit (*.net *.split)
926: [09:18:29] * andylockran quit (*.net *.split)
927: [09:18:30] * kinglozzer quit (*.net *.split)
928: [09:18:30] * Kapdap quit (*.net *.split)
929: [09:18:30] * Colin[pi] quit (*.net *.split)
930: [09:18:30] * Mayzie quit (*.net *.split)
931: [09:18:30] * kerosene quit (*.net *.split)
932: [09:18:31] * jrthomer quit (*.net *.split)
933: [09:18:31] * NobrainerWeb quit (*.net *.split)
934: [09:18:31] * cloph_away quit (*.net *.split)
935: [09:18:32] * Zauberfisch quit (*.net *.split)
936: [09:18:32] * Guest92049 quit (*.net *.split)
937: [09:18:32] * simon_w quit (*.net *.split)
938: [09:18:32] * FrozenFire quit (*.net *.split)
939: [09:18:33] * lewellyn quit (*.net *.split)
940: [09:18:33] * irogue_ quit (*.net *.split)
941: [09:18:33] * MattSS quit (*.net *.split)
942: [09:18:34] * micmania1 quit (*.net *.split)
943: [09:18:34] * spronk quit (*.net *.split)
944: [09:18:35] * ARNHOE quit (*.net *.split)
945: [09:18:35] * maknz quit (*.net *.split)
946: [09:18:35] * ooystein_ quit (*.net *.split)
947: [09:18:35] * mobiusnz quit (*.net *.split)
948: [09:18:35] * robert_ quit (*.net *.split)
949: [09:18:36] * Zauberfisch__ quit (*.net *.split)
950: [09:18:36] * ec8or quit (*.net *.split)
951: [09:18:36] * Kolin quit (*.net *.split)
952: [09:21:28] * willr has joined #silverstripe
953: [09:21:28] * mrzero has joined #silverstripe
954: [09:21:28] * chillu has joined #silverstripe
955: [09:21:28] * micmania1 has joined #silverstripe
956: [09:21:28] * kinglozzer has joined #silverstripe
957: [09:21:28] * NobrainerWeb has joined #silverstripe
958: [09:21:28] * ARNHOE has joined #silverstripe
959: [09:21:28] * Kapdap has joined #silverstripe
960: [09:21:28] * maknz has joined #silverstripe
961: [09:21:28] * Shrike_Finland has joined #silverstripe
962: [09:21:28] * cloph_away has joined #silverstripe
963: [09:21:28] * simon_w has joined #silverstripe
964: [09:21:28] * Bollig|DesignCty has joined #silverstripe
965: [09:21:28] * unsigned_ has joined #silverstripe
966: [09:21:28] * Colin[pi] has joined #silverstripe
967: [09:21:28] * Pyromanik has joined #silverstripe
968: [09:21:28] * abitran has joined #silverstripe
969: [09:21:28] * ajmitch has joined #silverstripe
970: [09:21:28] * kerosene has joined #silverstripe
971: [09:21:28] * spronk has joined #silverstripe
972: [09:21:28] * andylockran has joined #silverstripe
973: [09:21:28] * irogue_ has joined #silverstripe
974: [09:21:28] * ooystein_ has joined #silverstripe
975: [09:21:28] * mobiusnz has joined #silverstripe
976: [09:21:28] * FrozenFire has joined #silverstripe
977: [09:21:28] * robert_ has joined #silverstripe
978: [09:21:28] * jrthomer has joined #silverstripe
979: [09:21:28] * Zauberfisch__ has joined #silverstripe
980: [09:21:28] * wmk has joined #silverstripe
981: [09:21:28] * Guest92049 has joined #silverstripe
982: [09:21:28] * lewellyn has joined #silverstripe
983: [09:21:28] * Mayzie has joined #silverstripe
984: [09:21:28] * ec8or has joined #silverstripe
985: [09:21:28] * Kolin has joined #silverstripe
986: [09:21:28] * MattSS has joined #silverstripe
987: [09:21:28] * Zauberfisch has joined #silverstripe
988: [09:26:19] <Zauberfisch> yay, rc1
989: [09:26:32] <ss23> Isn't rc1 old?
990: [09:26:42] <simon_w|air> Yes
991: [09:26:45] <simon_w|air> Like, over a month
992: [09:26:46] <Zauberfisch> hmmm, I saw it for the first time
993: [09:26:47] <ss23> In fact, it's over a month old!
994: [09:26:48] <ss23> :D
995: [09:26:49] <ss23> haha
996: [09:26:51] <Zauberfisch> really? :O
997: [09:27:05] <ss23> RC2 should be soon
998: [09:27:06] <ss23> :D
999: [09:27:07] <simon_w|air> 9th of August
1000: [09:27:18] <simon_w|air> Gosh, it's like you ignore both the topic and ss-log_!
1001: [09:27:23] <ss23> lol
1002: [09:27:27] <simon_w|air> And ss-announce
1003: [09:27:34] <Zauberfisch> oh, well
1004: [09:27:47] <Zauberfisch> great, you destroyed the moment+
1005: [09:28:08] <ss23> simon_w|air: You have to tell me if https://groups.google.com/forum/#!topic/silverstripe-dev/yZVNJRXa5kY is a good idea and how to solve the issues I have!
1006: [09:28:21] <NobrainerWeb> i just saw it yesterday also, some notice pop-up and i think, great :-) but nahh it's old
1007: [09:28:57] <simon_w|air> ss23, I also have to sleep soon :p
1008: [09:29:03] <ss23> I only know realise how disjointed and weird my post is
1009: [09:29:09] <simon_w|air> And have my cookies overtake Colin[pi]'s again
1010: [09:29:16] <ss23> simon_w|air: That's okay, I don't mind you staying up late to do this for me <3
1011: [09:29:28] <simon_w|air> But I do :p
1012: [09:29:36] <ss23> Fine fine, tomorrow!
1013: [09:44:25] <ss23> simon_w|air: Composer help :O
1014: [09:44:38] <simon_w|air> Have fun :D
1015: [09:44:57] <ss23> How 2 select 3.1.0?
1016: [09:45:00] <ss23> Just 3.1.0?
1017: [09:45:10] <simon_w|air> 3.1.0.x-dev
1018: [09:45:13] <ss23> ty
1019: [09:45:13] <ss23> <3
1020: [09:47:33] <ss23> composer is retarded
1021: [09:47:42] <ss23> I'm like "composer update silverstripe/cms", it cries because it needs to do framework too
1022: [09:47:54] <ss23> "composer update silverstripe/cms silverstripe/framework" -> updates *everything*
1023: [09:47:57] <ss23> idek
1024: [09:48:57] * priithansen has joined #silverstripe
1025: [09:49:49] * openbees has joined #silverstripe
1026: [09:55:35] <ss23> Man, faster internet would save the world so much money
1027: [09:57:26] * SightUnseen has joined #silverstripe
1028: [09:58:40] * SightUnseen has left #silverstripe
1029: [10:00:14] * cloph_away is now known as cloph
1030: [10:00:31] <openbees> ss23 what about money you will have to pay for faster internet :D
1031: [10:00:57] <ss23> Money is just a farce, man!
1032: [10:01:05] <ss23> Real value is in the time we get to spend happy
1033: [10:01:07] <ss23> Man!
1034: [10:01:48] <openbees> true :)
1035: [10:02:01] <ss23> Lets see if I can finish work when this song finishes :D
1036: [10:02:05] <ss23> 10 min song, so I have a good chance
1037: [10:06:04] * Pyromanik__ has joined #silverstripe
1038: [10:06:18] <Pyromanik__> weehah, dat wind.
1039: [10:06:26] <Pyromanik__> gale*
1040: [10:06:40] <ss23> I hear it's bad here too :O
1041: [10:06:43] <ss23> fucking Windows 8...
1042: [10:07:20] <ss23>
1043: [10:07:23] <ss23> eep
1044: [10:07:24] <ss23> can't copy/paste
1045: [10:07:28] <ss23> Gust: 133km/h in chch
1046: [10:07:32] <Pyromanik__> wellington: N46, gust 69.
1047: [10:07:36] <ss23> Gust: 69km/h
1048: [10:07:37] <ss23> :<
1049: [10:07:37] <ss23> laaaame
1050: [10:07:44] <ss23> You win this round, Pyromanik__!
1051: [10:07:53] <Pyromanik__> chch, N87, gust 133
1052: [10:08:18] <Pyromanik__> this is almost as strong as that time I went camping
1053: [10:08:20] * Marvanni has joined #silverstripe
1054: [10:08:29] <Pyromanik__> gust 150
1055: [10:08:35] <Pyromanik__> snapped my tent poles :<
1056: [10:09:16] <ss23> awww, haha
1057: [10:09:18] <ss23> sucks
1058: [10:09:20] <Pyromanik__> 11hr work day, idek what to do when I get home.
1059: [10:10:57] * Colin[pi] quit (Ping timeout: 276 seconds)
1060: [10:11:01] <ss23> Yeah, I'm doing 12hrs
1061: [10:11:02] <ss23> :<
1062: [10:11:06] <ss23> Almost done though
1063: [10:11:10] <ss23> Was hoping I would be done by the end of this song!
1064: [10:11:13] <ss23> Alas, I am not
1065: [10:11:25] <ss23> I *should* be, but too many clients with fucked up 30 min long deployment procedures
1066: [10:12:20] <ss23> wah
1067: [10:12:22] <ss23> I will do this tomorrow
1068: [10:12:24] <ss23> I'm tired
1069: [10:14:00] <Pyromanik__> Today I basically reimplemented DO::get to use external not-quite-REST api.
1070: [10:14:14] <Pyromanik__> yaml configurable.
1071: [10:14:24] <ss23> lol
1072: [10:14:37] * Marvanni quit (Quit: Marvanni)
1073: [10:14:41] <ss23> fancy pants
1074: [10:14:59] <Pyromanik__> might extract and define it a bit further and wholey fuck I can feel the wind under the floorboards.
1075: [10:15:07] <Pyromanik__> and release it to the public
1076: [10:15:15] <Pyromanik__> it's pretty generic for restful.
1077: [10:15:27] <Pyromanik__> it'd just be nice to make it... acutually restful.
1078: [10:16:50] <ss23> Home time! bbl
1079: [10:40:20] * swordsmanz has joined #silverstripe
1080: [10:41:51] * Pyromanik__ has left #silverstripe
1081: [10:49:17] <ARNHOE> When running Google PageSpeed on pretty much all my silverstripe websites, I always get "Improve server reaction time" this is on small websites and larger websites. What am I doing wrong? I bought a VPS to see if that would improve it, it does but still asks for improving
1082: [10:51:05] * zippy__ has joined #silverstripe
1083: [10:51:06] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
1084: [10:53:39] * NobrainerWeb quit (Quit: NobrainerWeb)
1085: [10:53:40] <micmania1> Silverstripe isn't the best for speed imo. 3.1 has made some good improvements though.
1086: [10:55:30] <ARNHOE> I am using 3.1, but was just checking if it has something to do with my code. But even when I added one pagetype and some css it still asks for improvement
1087: [10:57:26] <micmania1> Add ?debug_request=1 on your URL. It'll show all your queries with time it takes.
1088: [10:57:48] <micmania1> Should give you an idea of what's taking the time but I think its just Silverstripe and how it routes to a Page.
1089: [10:58:13] <ss23> ARNHOE: If you care about it, you can use either partial caching (if the site is heavily driven by database/content), or static caching (way faster, but more error prone)
1090: [10:58:24] <ARNHOE> I am using partial caching for the biggerw ebsite
1091: [10:58:35] <ARNHOE> it has improved with that and the vps
1092: [10:59:01] <ARNHOE> what is slow and fast for a query micmania1 ?
1093: [10:59:12] <openbees> varnish is also a good option for caching and speed-up
1094: [10:59:39] <ARNHOE> used APC aswell, but first time using. Is installing and enabling enough for that?
1095: [11:00:48] <micmania1> We've used APC for a couple of sites and the speed is noticable.
1096: [11:02:01] <ARNHOE> and you only needed to enable it or ?
1097: [11:02:12] <micmania1> also, its not debug_request=1 you need. its showqueries=1. My bad.
1098: [11:04:04] <ARNHOE> hmpf, http://addons.silverstripe.org/ doesn't return improve server reaction. But thats only the framework without cms
1099: [11:09:26] <ss23> Yeah, that site is pretty fast
1100: [11:10:45] <ARNHOE> its pretty painful, especially the first load of a silverstripe site
1101: [11:17:09] * qlex has joined #silverstripe
1102: [11:17:17] * qlex says hi
1103: [11:17:34] <qlex> got a question.what's the status of support for translatable support in ss3?
1104: [11:18:05] <qlex> we're about to submit a proposal for a site that has a requirement of bilingual content - but structure of site in polish might be different to site in english
1105: [11:23:21] * NobrainerWeb has joined #silverstripe
1106: [11:46:04] <wmk> qlex, no problem
1107: [11:46:31] <wmk> with translatable you have a sitetree for each language that are coupled to each other.
1108: [11:47:22] <wmk> translatable works well in ss3.1
1109: [11:51:55] <wmk> question to all, simon_w, willr, chillu : does SS3.1 support unicode in URLS? E.g. for russian websites that have cyrillic signs
1110: [11:52:24] <zippy__> with SS 2.4.5, was the only way to handle object relations to a page the DataObjectManager… and popups?
1111: [12:02:12] <qlex> wmk: i used translatable in previous versions of ss, but never tried it in 3
1112: [12:02:28] <qlex> did u try it in production environment ?
1113: [12:03:09] * Sjohn has joined #silverstripe
1114: [12:09:12] * UndefinedOffset has joined #silverstripe
1115: [12:14:22] <wmk> atm i'm developing a site with translatable and 3.1
1116: [12:19:00] * spronk has left #silverstripe
1117: [12:32:01] <openbees> why canCreate() function not working in dataextension :(
1118: [12:32:21] <openbees> according to API we can use it
1119: [12:32:33] <openbees> ss3.1rc1
1120: [12:41:50] <openbees> not allowed currently :( https://github.com/silverstripe/silverstripe-framework/issues/1631
1121: [12:46:50] * zippy__ quit (Ping timeout: 256 seconds)
1122: [12:56:05] * samthejarvis has joined #silverstripe
1123: [12:56:12] <wmk> argh, white screen of death. debugging a template can be ugly
1124: [12:56:59] <Zauberfisch> wmk: as of 3.1 you can not set display_errors in _config.php
1125: [12:57:07] <Zauberfisch> you need to set it in one of the following places:
1126: [12:57:11] <Zauberfisch> php.ini
1127: [12:57:13] <Zauberfisch> .htaccess
1128: [12:57:17] <Zauberfisch> _ss_environment.php
1129: [12:57:48] <samthejarvis> getting a value of a viewabledata subclass, $pdf = new ContractPDF();$pdf->customise($newdata); then $pdf->getField('OneOfTheValuesInNewData'); works, but $this->getField('OneOfTheValuesInNewData'); from a method in ContractPDF returns null
1130: [12:57:56] <samthejarvis> any idea why this might be?
1131: [12:57:56] <Zauberfisch> (reason for this is the new error handler that overwrites the values if
1132: [12:59:34] <Zauberfisch> samthejarvis: odd
1133: [12:59:44] <Zauberfisch> have you tried just calling the proertie?
1134: [12:59:48] <Zauberfisch> *proerty
1135: [12:59:57] * chillu quit (Quit: chillu)
1136: [13:00:05] <Zauberfisch> $this->OneOfTheValuesInNewData; from a method in ContractPDF
1137: [13:00:06] <samthejarvis> ->OneOfTheValuesInNewData? doesn't work from the ContractPDF
1138: [13:00:09] <samthejarvis> yeah
1139: [13:00:22] <samthejarvis> just null, works from any other context
1140: [13:00:33] <Zauberfisch> no idea
1141: [13:00:54] <samthejarvis> worth a try, thanks
1142: [13:01:23] <samthejarvis> deadlines, who needs em
1143: [13:04:45] <samthejarvis> just made my own protected static "data" and set it
1144: [13:04:57] <samthejarvis> tis fine
1145: [13:09:02] <openbees> guys what is more resource consuming .. reading a language string from yml or reading a config yml ... just a thought if anyone know !
1146: [13:14:17] <wmk> Zauberfisch, THANKS!!!
1147: [13:14:30] <wmk> how many beers do i owe you in the meantime?
1148: [13:14:36] * openbees quit (Quit: Leaving)
1149: [13:21:52] * Shrike_Finland quit (Quit: Leaving.)
1150: [13:29:11] * qlex says thanx and seeya
1151: [13:29:14] * qlex has left #silverstripe
1152: [13:38:37] * priithansen quit (Quit: priithansen)
1153: [13:55:00] * PanPipes has joined #silverstripe
1154: [14:01:17] * samthejarvis quit (Ping timeout: 250 seconds)
1155: [14:13:22] * priithansen has joined #silverstripe
1156: [14:22:19] * Error404NotFound has joined #silverstripe
1157: [14:22:57] * chillu has joined #silverstripe
1158: [14:22:59] * Dalv0 has joined #silverstripe
1159: [14:23:03] * chillu quit (Changing host)
1160: [14:23:03] * chillu has joined #silverstripe
1161: [14:29:04] * Dalv0 has left #silverstripe
1162: [14:34:05] <Zauberfisch> wmk: hah
1163: [14:34:11] <Zauberfisch> i dont drink ber
1164: [14:34:23] <Zauberfisch> *beer
1165: [14:34:35] <Zauberfisch> but i love mate :D
1166: [14:34:46] <Zauberfisch> (flora power)
1167: [14:35:18] * NobrainerWeb quit (Quit: NobrainerWeb)
1168: [14:41:53] * svandragt has joined #silverstripe
1169: [14:43:48] <svandragt> hi guys I have a SubjectArea which has_one Contact. I'm trying to get a list of all contacts that are assigned to subjectarea's - however SubjectArea::get()->relation('Contact'); returns the method 'forforeignid' does not exist on 'Contact' - I can't find anything in the forums - something simple I'm doing wrong?
1170: [14:44:09] <svandragt> 3.0.5
1171: [14:45:35] * Shrike_Finland has joined #silverstripe
1172: [14:46:25] <micmania1> SubjectArea::get()->innerJoin("Contact", 'Contact.SubjectAreaID = SubjectArea.ID');
1173: [14:46:30] <micmania1> Something like that might work.
1174: [14:47:04] <micmania1> or maybe you want to do Contact::get()->innerJoin("SubjectArea", ...) if you're trying to get Contact
1175: [14:51:07] * Nivery has joined #silverstripe
1176: [14:52:58] <svandragt> Thanks micmania1 that works great. unusual error though?
1177: [14:54:22] <micmania1> do you have a have_one or belongs_to linking back from Contact? That would cause the error in trying to automatically find the foreign id
1178: [14:54:30] <micmania1> has_one*
1179: [14:57:29] <svandragt> I didn't when I made the Contact initially but added it in whilst debugging and resaved everything but maybe it will only work correctly for new contacts I'll try that too, makes sense.
1180: [14:59:59] <svandragt> thank you
1181: [15:06:02] <svandragt> yeah my has_many relationship is not created when i run dev/build
1182: [15:07:09] * Sjohn quit (Ping timeout: 250 seconds)
1183: [15:29:24] * ARNHOE quit (Ping timeout: 260 seconds)
1184: [15:36:20] * PanPipes quit (Quit: Computer went to sleep)
1185: [15:54:00] * violetina has joined #silverstripe
1186: [15:55:07] * Shrike_Finland quit (Ping timeout: 264 seconds)
1187: [15:55:21] * osterlaus has joined #silverstripe
1188: [15:56:22] * osterlaus has left #silverstripe
1189: [15:56:25] * Shrike_Finland has joined #silverstripe
1190: [16:05:16] * kinglozzer quit ()
1191: [16:15:29] * dilshan has joined #silverstripe
1192: [16:16:24] <dilshan> hello geeks
1193: [16:16:27] <dilshan> http://www.ssbits.com/tutorials/2009/adding-a-cms-action-the-slightly-hacky-way/
1194: [16:16:44] <dilshan> i'm trying to do this using ss 3.1
1195: [16:17:40] <dilshan> but its not working , can anyone tell me what are the classes that needs to be changed according to ss 3.1
1196: [16:18:01] <dilshan> this example is all about ss 2.4
1197: [16:18:43] <svandragt> dilshan: look at the release notes for both 3.0 and 3.1
1198: [16:19:52] <wmk> dilshan, cms in 3 changed a lot
1199: [16:21:47] <ec8or> my "new" keyboard: http://i.imgur.com/q4zQAmB.jpg
1200: [16:23:24] <wmk> hmm, what if you're color blind?
1201: [16:24:00] <ec8or> yo gotta touch type
1202: [16:24:32] <dilshan> i follwed through the tutorials but i got this error
1203: [16:24:34] <dilshan> Fatal error: Class 'LeftAndMainDecorator' not found
1204: [16:27:40] * dilshan_ has joined #silverstripe
1205: [16:29:03] * dilshan quit (Ping timeout: 250 seconds)
1206: [16:38:02] * Shrike_Finland quit (Quit: Leaving.)
1207: [16:42:32] * Nivery quit (Quit: Nivery)
1208: [16:48:21] * Marvanni has joined #silverstripe
1209: [16:50:10] * gelignite has joined #silverstripe
1210: [16:57:47] * priithansen quit (Quit: priithansen)
1211: [17:24:05] * dilshan_ quit (Quit: Page closed)
1212: [17:26:15] * BPower has joined #silverstripe
1213: [17:27:27] <BPower> Hey all - I have an UploadField and I've set the FolderName that I want the uploads to go into. How can I force the Filename? E.g. If someone uploads "ReallyCoolStuff.pdf" it automatically gets changed to "Ebook.pdf"?
1214: [17:36:20] * maknz quit (Ping timeout: 260 seconds)
1215: [17:41:55] * Error404NotFound quit (Read error: Connection reset by peer)
1216: [17:42:35] * Error404NotFound has joined #silverstripe
1217: [17:42:43] * Error404NotFound quit (Read error: Connection reset by peer)
1218: [17:48:03] * jcwacky has joined #silverstripe
1219: [17:48:10] * jcwacky quit (Client Quit)
1220: [17:48:29] * jcwacky has joined #silverstripe
1221: [17:48:52] <jcwacky> Anyone about with experience of Lucene?
1222: [17:57:28] * BPower quit (Remote host closed the connection)
1223: [18:11:17] * Nivery has joined #silverstripe
1224: [18:17:04] * Nivery quit (Quit: Nivery)
1225: [18:18:54] * Liquide has joined #silverstripe
1226: [18:20:16] * priithansen has joined #silverstripe
1227: [18:24:28] * ARNHOE has joined #silverstripe
1228: [18:28:30] * micmania1 has joined #silverstripe
1229: [18:35:05] * jcwacky quit (Quit: jcwacky)
1230: [19:15:58] * Marvanni quit (Quit: Marvanni)
1231: [19:20:18] * ARNHOE quit (Remote host closed the connection)
1232: [19:23:29] * catcher has joined #silverstripe
1233: [19:29:59] <andylockran> hey guys - I've had a play around with teh subsites module.
1234: [19:30:23] <andylockran> How come you can't have content from the parent site rendered easily onto a subsite?
1235: [19:30:56] <andylockran> Found an old bug that says it was a design decision - but can't understand how a subsite can be a subsite without having a relationship defined to a parent site
1236: [19:46:44] <lewellyn> this isn't zope ;)
1237: [19:49:26] <wmk> andylockran, which version of SS?
1238: [19:50:16] <andylockran> 3.0
1239: [19:51:14] <wmk> in 2.4 you can have the whole page rendered, including relations.
1240: [19:52:02] <wmk> subsite module alters the sql query, so sometimes this can drive you crazy when you want to check for other pages that are on another subsite.
1241: [19:52:21] <wmk> check for Subsites::enable() or disable(), not sure if it's still the same in 3.0
1242: [19:57:24] <andylockran> thanks
1243: [20:00:34] <andylockran> any London based SS freelancers fancy a few weks work?
1244: [20:05:09] * atmos has joined #silverstripe
1245: [20:07:28] <wmk> you're welcome
1246: [20:30:41] * wmk wonders if syntactic sugar is bad when you have diabetes
1247: [20:39:59] * nickmolhoek has joined #silverstripe
1248: [20:40:02] * nickmolhoek quit (Remote host closed the connection)
1249: [20:40:19] * nickmolhoek has joined #silverstripe
1250: [20:41:11] * DigNZ has joined #silverstripe
1251: [20:41:12] * DigNZ quit (Remote host closed the connection)
1252: [20:41:26] * DigNZ has joined #silverstripe
1253: [20:43:26] * UndefinedOffset quit (Quit: Leaving.)
1254: [20:46:39] <Pyromanik> hmm
1255: [20:46:45] <Pyromanik> thread safe or non thread safe?
1256: [20:46:48] <Pyromanik> that is the question
1257: [20:47:24] <Pyromanik> idek
1258: [20:47:48] * UncleCheese has joined #silverstripe
1259: [20:51:14] <simon_w> Pyromanik, TS really only exists for Windows
1260: [20:52:07] <Pyromanik> wampserver, so yep
1261: [20:52:12] <Pyromanik> got thread safe
1262: [20:52:30] * Marvanni has joined #silverstripe
1263: [20:53:15] * Marvanni quit (Client Quit)
1264: [20:53:21] * SightUnseen has joined #silverstripe
1265: [20:54:43] * SightUnseen has left #silverstripe
1266: [21:01:24] * stecman has joined #silverstripe
1267: [21:02:01] * Stomach has joined #silverstripe
1268: [21:02:40] * ajmitch quit (Ping timeout: 256 seconds)
1269: [21:03:34] * ajmitch has joined #silverstripe
1270: [21:05:10] <Pyromanik> TIL: Broccoli stops skin cancer - but by rubbing it on your skin (not eating it).
1271: [21:09:17] <wmk> i have a datalist i want to itereate in php.
1272: [21:09:34] <Pyromanik> foreach($datalist as $item)
1273: [21:09:48] <wmk> foreach ($mylist as $foo) doesn't fire the query.....
1274: [21:09:58] <wmk> hmm...
1275: [21:10:22] <Pyromanik> foreach($datalist->execute() as $item) ?
1276: [21:10:52] <wmk> the ss docs say forach ($mylist as $item).
1277: [21:10:53] * zippy__ has joined #silverstripe
1278: [21:10:55] <zippy__> damn
1279: [21:11:11] <Pyromanik> ?
1280: [21:12:05] <wmk> Pyromanik, forach ($datalist->getIterator() looks promising, i'll try
1281: [21:12:19] <Pyromanik> k
1282: [21:12:26] <Pyromanik> zippy__: wazzaaaa?
1283: [21:12:43] <zippy__> Oracle pulled out the postponement card
1284: [21:12:48] <zippy__> stink
1285: [21:14:14] <Pyromanik> so
1286: [21:14:19] <Pyromanik> try to download a file
1287: [21:14:36] <Pyromanik> modal window *PREPARING DOWNLOAD*
1288: [21:14:45] <Pyromanik> bullshit, stupid javascript tracker POS
1289: [21:14:52] <Pyromanik> you ain't nothing but a setTimeout
1290: [21:15:01] <Pyromanik> I hate you with vengance, give me the hard link you crap site.
1291: [21:15:20] <atmos> what does 'preparing' even mean? It's not a torrent
1292: [21:15:43] <UncleCheese> wmk: $datalist->each(function($item) {});
1293: [21:15:47] <Pyromanik> F'd if I know
1294: [21:16:14] <atmos> ss23: any luck with SSH?
1295: [21:16:28] <Pyromanik> enable JS it comes up with a "not working? TRY REPAIRING YOUR DOWNLOAD"
1296: [21:16:33] <Pyromanik> so click that
1297: [21:16:36] <Pyromanik> takes you to another page
1298: [21:16:51] <Pyromanik> RESTARTING DOWNLOAD IN: 5 seconds
1299: [21:16:53] <Pyromanik> 4
1300: [21:16:54] <Pyromanik> 3
1301: [21:16:55] <Pyromanik> etc
1302: [21:16:59] <Pyromanik> WHY?
1303: [21:17:07] <atmos> link?
1304: [21:17:33] <Pyromanik> http://www.mediafire.com/download/qwgdzgccthzwc15/php_curl-5.3.13-VC9-x64.zip
1305: [21:17:45] <zippy__> UncleCheese: with the ImageDataObjectManager - can you specify the objects to use? I am trying to use it to manage a many_many image on an object. There is a filter paramater but I can't use that on my Image since the join column not there. So is it possible to use a ImageDataObjectManager to manage a many_many image?
1306: [21:17:49] <Pyromanik> fuck I hate sites like that
1307: [21:17:56] <atmos> yuck, download 'buttons'
1308: [21:18:01] <Pyromanik> exactly
1309: [21:18:06] <Pyromanik> the pits of the internet
1310: [21:18:15] <Pyromanik> almost as bad as articles on 4 pages.
1311: [21:18:15] <zippy__> downloads ok here
1312: [21:18:17] <Pyromanik> 'articles'
1313: [21:18:17] <UncleCheese> there is no ManyManyImageDOM, but there's a ManyManyFileDOM which is pretty much the same thing with fewer features
1314: [21:18:22] <Pyromanik> zippy__: you have JS enable.d
1315: [21:18:28] <zippy__> yea
1316: [21:18:38] <Pyromanik> I know it 'works'
1317: [21:18:40] <Pyromanik> but it's bullshit.
1318: [21:18:51] <Pyromanik> "Preparing download" - yeah right.
1319: [21:19:21] <Pyromanik> designed to stop scrapers I guess.
1320: [21:19:24] <simon_w> Ha, Team USA are chicken
1321: [21:19:36] <zippy__> makes people go to the website to see the ads
1322: [21:19:39] <zippy__> simon_w: yeap!!
1323: [21:21:45] <zippy__> UncleCheese: I see. Having a quick look I need to create an object which has_one Image and use that new Image with the ManyManyFileDOM? I can't just point it to a relationship?
1324: [21:22:29] <UncleCheese> Yup…. new ManyManyFileDataObjectManager($this, "MyFileObjects", "MyFileObject");
1325: [21:25:23] <wmk> UncleCheese, thanks
1326: [21:25:33] <zippy__> UncleCheese: So I can't do this can I ? static $many_many = array('Images' => 'Image');
1327: [21:26:03] <UncleCheese> if you're just managing files directly, use an Uploadify field
1328: [21:26:23] <UncleCheese> i think DOM is a bit overkill if it's just files
1329: [21:28:45] <zippy__> good thinkin
1330: [21:29:06] <zippy__> UncleCheese: When are you going to add licesnes to your Github things?
1331: [21:29:31] <UncleCheese> they all have licenses now
1332: [21:30:10] <simon_w> UncleCheese, no they don't
1333: [21:30:32] <UncleCheese> i just did that a couple of weeks ago
1334: [21:30:40] <UncleCheese> which one doesn't?
1335: [21:31:04] <simon_w> Of the 5 modules of yours Github says are the most popular, four don't have licenses
1336: [21:31:41] <simon_w> DOM, Uploadify, KickAssets, ImageGallery
1337: [21:31:48] <simon_w> There's probably more
1338: [21:32:03] <UncleCheese> oh, all that legacy stuff
1339: [21:32:09] <UncleCheese> the 3.0 stuff should all have licenses
1340: [21:33:31] <simon_w> Nope
1341: [21:34:30] <simon_w> https://github.com/unclecheese/silverstripe-mock-dataobjects 3.0 module with no license
1342: [21:34:39] <simon_w> Really, it shouldn't be this easy to show you being wrong :p
1343: [21:34:51] <UncleCheese> not released yet
1344: [21:35:00] <simon_w> Publicly accessible
1345: [21:35:04] <UncleCheese> github just makes it SO hard to add licenses thought!
1346: [21:35:12] <simon_w> As good as released
1347: [21:35:50] <simon_w> Oh boo hoo :p
1348: [21:36:11] <simon_w> Also, click the +, name it LICENSE, select from the thing that pops up
1349: [21:36:23] <zippy__> lol
1350: [21:36:23] <zippy__> simon_w: You mentioned no mamp, do you just compile php from source or use brew or something?
1351: [21:36:41] <simon_w> zippy__, I compile myself or use the PHP that Apple provides
1352: [21:46:16] * gelignite quit (Quit: http://bit.ly/nkczDT)
1353: [21:51:32] <UncleCheese> that's two clicks.. i can't handle it
1354: [21:54:38] <Pyromanik> guys guys
1355: [21:55:06] <Pyromanik> I used a json_decode to ... well... decode json. But now I have an ArrayData full of stdClass's
1356: [21:55:36] <zippy__> Pyromanik: What did you encode?
1357: [21:55:43] <Pyromanik> zippy__: umm
1358: [21:55:45] <Pyromanik> I didn't
1359: [21:55:52] <Pyromanik> but it's an array of objects
1360: [21:56:09] <zippy__> simon_w: I might give this a rip - http://php-osx.liip.ch/ - comes with a stack extenions already to save compiling
1361: [21:56:13] <Pyromanik> I foolishly thought that php would decode an object into an associative array
1362: [21:56:37] <Pyromanik> and hoped that arraylist would cast items that are arrays into arraydatas
1363: [21:56:49] <Pyromanik> *keyed arrays
1364: [22:00:43] <Pyromanik> oh there's a flag for it :D
1365: [22:01:24] <zippy__> yuis
1366: [22:01:27] <zippy__> there is
1367: [22:02:34] <Pyromanik> arraylist doesn't cast though :<
1368: [22:04:50] <ss23> atmos: Haven't had a chance to check again sorry :<
1369: [22:05:47] <simon_w> ss23, fix it!
1370: [22:20:25] <ss23> I'M SO BUSY
1371: [22:20:26] <ss23> ;___;
1372: [22:20:27] * ss23 dies
1373: [22:22:24] * toot has joined #silverstripe
1374: [22:25:03] <zippy__> UncleCheese: It seems it's almost there… Object has static $many_many = array('Images' => 'Image'); and Object pop has new MultipleFileUploadField('Images', 'Images'); and I can add images, but it's not using that many_many so when I close the popup and open it again the images are not shown, and my join table is empty. So it doesn't seem to use that relationship..
1375: [22:26:30] <UncleCheese> don't forget to save
1376: [22:26:37] <ss23> And flush
1377: [22:28:01] <zippy__> yeap I save and tried flushing
1378: [22:29:56] <UncleCheese> uploadify fields require saving the parent record.. they don't apply the relationship on upload
1379: [22:30:20] <UncleCheese> wait, what do you mean "close the popup?"
1380: [22:30:46] <UncleCheese> didn't i advise you to use Uploadify instead of DOM?
1381: [22:30:53] <zippy__> yes you did
1382: [22:31:04] <zippy__> I have a page which has many products. The products have many images
1383: [22:31:10] <UncleCheese> oh
1384: [22:31:16] <UncleCheese> so use a regular dom
1385: [22:31:27] <zippy__> the page ues the dom for the products. The popup of the product contains the Uploadify images
1386: [22:31:44] <UncleCheese> yeah, just use a regular dom for products and product should have a many_many Images
1387: [22:31:56] <UncleCheese> filmdom only works for has_one files
1388: [22:32:00] <UncleCheese> FileDOM*
1389: [22:32:16] <zippy__> yes, on my Page I have $productsDOM = new DataObjectManager('Products', ….
1390: [22:32:22] <zippy__> which is just the regular DOM right?
1391: [22:34:52] * joelpittet has joined #silverstripe
1392: [22:35:04] * Colin[pi] has joined #silverstripe
1393: [22:35:23] <zippy__> sorted :) it seems it was an old uploadify module
1394: [22:35:34] <zippy__> UncleCheese: Sorted, grab the lateset from github
1395: [22:35:38] <zippy__> thank you
1396: [22:36:06] <UncleCheese> wow.. uploadify added mm support like a year ago at least
1397: [22:36:08] <UncleCheese> that is old
1398: [22:36:57] <zippy__> it's an old site!! 2.4 (bleh)
1399: [22:39:35] * Zauberfisch__ quit (Ping timeout: 245 seconds)
1400: [22:40:04] * Zauberfisch quit (Ping timeout: 264 seconds)
1401: [22:41:09] * Zauberfisch has joined #silverstripe
1402: [22:41:09] * Zauberfi1ch has joined #silverstripe
1403: [22:43:42] <atmos> ss23: np :)
1404: [22:48:58] <zippy__> damn now I got something spastic happening, when I click 'Close' on my popup, the DOM table is cleared
1405: [22:49:00] <zippy__> weird
1406: [22:52:32] <simon_w> Welcome to the DOM :p
1407: [22:56:01] <zippy__> yeap, the whole table just goes, like, removed from the … browser DOM...
1408: [22:56:32] <Colin[pi]> "this is not the table you were looking for" *dom waves hand*
1409: [22:56:48] <Colin[pi]> "you can go about your business"
1410: [23:05:42] <zippy__> With a MultipleFileUploadField - can you specify the folder to use on create / or after?
1411: [23:08:54] <Colin[pi]> you can on create I think zippy
1412: [23:14:04] <zippy__> Colin[pi]: not a contructor function, but can call setUploadFolder after field created
1413: [23:15:18] <Colin[pi]> yep that's the one :)
1414: [23:20:57] * spronk has joined #silverstripe
1415: [23:26:47] * SightUnseen has joined #silverstripe
1416: [23:29:27] <spronk> https://github.com/silverstripe/silverstripe-framework/issues/2065#issuecomment-24194058
1417: [23:29:33] <spronk> subtle bug finding!
1418: [23:31:07] * SightUnseen quit (Ping timeout: 264 seconds)
1419: [23:31:23] <ss23> spronk: Is phptek l33t yet? :D
1420: [23:31:42] <ss23> spronk: Why is your avatar what it is?
1421: [23:31:53] <Pyromanik> are you the phptek?
1422: [23:32:02] <ss23> lol no, but phptek is sitting next to me
1423: [23:32:03] <Pyromanik> no
1424: [23:32:10] <ss23> (He works at SS)
1425: [23:32:13] <Pyromanik> yes I see
1426: [23:37:17] <Pyromanik> how does arraylist do it's thing?
1427: [23:37:45] <Pyromanik> coz like arraydata has this: http://api.silverstripe.org/3.1/source-class-ArrayData.html#50-71
1428: [23:38:24] <Pyromanik> which casts objects into arraydatas
1429: [23:38:28] <Pyromanik> I want arraylist to do the same
1430: [23:39:58] <spronk> le sigh
1431: [23:40:03] * catcher quit (Quit: Leaving)
1432: [23:40:08] <Pyromanik> looks like I'm subclassing! :<
1433: [23:44:26] * chillu quit (Quit: chillu)
1434: [23:46:24] <ss23> le shim
1435: [23:52:22] * Jayden90 has joined #silverstripe
1436: [23:56:59] * SightUnseen has joined #silverstripe
1437: [23:57:21] <Pyromanik> http://api.silverstripe.org/3.1/source-class-ArrayList.html#62-73
1438: [23:57:40] <Pyromanik> IMO this should be objects -> arraydata, array -> arraylist
1439: [23:57:41] * Trooy has joined #silverstripe
1440: [23:57:57] <ss23> atmos: I have access to the dev01 folder now, but I don't have access to run commands as apache, so I'm not able to trigger a solr reindex/configure properly

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