#silverstripe IRC Log

IRC log for 31 July 2014

All timestamps are in UTC.

1: [00:16:40] * chrisrio has joined #silverstripe
2: [00:16:54] <chrisrio> hey guys - does anyone remember how to write to stage draft? :\
3: [00:17:10] <chrisrio> doco talks about live but not draft.
4: [00:17:19] <chrisrio> (3.1)
5: [00:17:46] <simon_w|work> writeToStage('Stage')
6: [00:18:30] <zippy__> omg lol
7: [00:18:49] <zippy__> developer so lazy… getSIzes - all through out the code, capital I
8: [00:18:49] <chrisrio> simon_w|work: did you grab that from doco or from your brain?
9: [00:18:55] <simon_w|work> My brain
10: [00:19:06] <simon_w|work> Way faster than the docs :p
11: [00:19:12] <zippy__> chrisrio: you must be new here…. simon_w|work knows all
12: [00:19:13] <Ryan-Toast> Hey guys, any idea why my site is showing the following? http://ec2-54-253-10-188.ap-southeast-2.compute.amazonaws.com/
13: [00:19:32] <Stomach> because you havent set the theme?
14: [00:19:55] <chrisrio> simon_w|work: that ended up publishing the page.
15: [00:20:16] <chrisrio> must be my initial write.
16: [00:20:40] <Ryan-Toast> Stomach: theme is set
17: [00:21:28] <Stomach> database?
18: [00:21:35] <Stomach> htaccess?
19: [00:21:39] <Ryan-Toast> Stomach: Should I try setting it in the config.php instead of the yml file?
20: [00:21:42] <Stomach> /home doesnt work
21: [00:21:47] <chrisrio> simon_w|work: the result of writeToStage('Stage') is that the page shows up in the sitetree as "deleted"
22: [00:22:50] <zippy__> Ryan-Toast: I think it's your htaccess- as I can't get to http://ec2-54-253-10-188.ap-southeast-2.compute.amazonaws.com/admin/
23: [00:23:01] <zippy__> so your routes wont work, and when routes don't work I think thats the error page
24: [00:23:04] <Ryan-Toast> htasccess looks fine.
25: [00:23:07] <Ryan-Toast> sigh.
26: [00:23:11] <Ryan-Toast> hate amazon servers
27: [00:23:14] <zippy__> Ryan-Toast: yes, but is apache set to read it?
28: [00:23:26] <Ryan-Toast> zippy__: Shrug. How do I check?
29: [00:23:30] * micmania1 quit (Quit: micmania1)
30: [00:23:30] <simon_w|work> Ryan-Toast, no cms
31: [00:23:56] <zippy__> Edit the .htaccess and just put in something like asdfasdfsdf -which is invalid and should 500 error
32: [00:24:10] <Ryan-Toast> simon_w|work: there is a cms
33: [00:24:18] <simon_w|work> Ryan-Toast, that page says otherwise
34: [00:25:35] <Stomach> simon_w|work, http://ec2-54-253-10-188.ap-southeast-2.compute.amazonaws.com/home/ doesnt work either
35: [00:25:59] <simon_w|work> Stomach, that's just a .htaccess or lack of mod_rewrite problem
36: [00:26:18] <Ryan-Toast> changed .htaccess, didn;t so anything
37: [00:26:24] <Ryan-Toast> added “fdgklfdbjglkjdfngdfljg"
38: [00:27:33] <zippy__> Ryan-Toast: so fix the apache config
39: [00:28:24] <zippy__> Ryan-Toast: I mean, AllowOverride on your site folder in apache
40: [00:28:27] <Ryan-Toast> zippy__: How would I go about doing that?
41: [00:28:32] * willr quit (Quit: willr)
42: [00:28:37] <zippy__> Ryan-Toast: you have shell?
43: [00:28:42] <Ryan-Toast> zippy__: yarp
44: [00:28:50] <zippy__> Ubuntu or Debian I presume?
45: [00:28:55] <Ryan-Toast> Shrug
46: [00:29:01] <Ryan-Toast> oh wait
47: [00:29:02] <Ryan-Toast> no
48: [00:29:10] <zippy__> Ubuntu :)
49: [00:29:23] * Ryan-Toast feels like a scrub
50: [00:29:36] <zippy__> did you setup this vhost?
51: [00:29:40] <Ryan-Toast> no
52: [00:29:51] <zippy__> where are your files?
53: [00:29:55] <Ryan-Toast> cloud house did
54: [00:30:02] <Ryan-Toast> on an amazon server
55: [00:30:04] <Ryan-Toast> somewhere
56: [00:30:19] <zippy__> you don't know the path to them on your server?
57: [00:30:24] <Ryan-Toast> I’m just SSH’d in
58: [00:30:29] <Ryan-Toast> Oh, yeah
59: [00:30:39] <Ryan-Toast> /var/www/silver
60: [00:30:42] <zippy__> right
61: [00:30:46] <zippy__> check out this http://stackoverflow.com/questions/18740419/how-to-set-allowoverride-all
62: [00:31:12] <zippy__> it might not be /etc/apache2/apache2.conf though, it might be like /etc/apache2/sites-enabled/000-default
63: [00:32:04] <zippy__> you may also need to run
64: [00:32:11] <zippy__> a2enmod rewrite
65: [00:32:16] <zippy__> and restart apache again
66: [00:32:19] <zippy__> afk
67: [00:32:28] <Ryan-Toast> zippy__: There is no <Directory /var/www/> in that config file, shold I add it at the bottom?
68: [00:34:30] <zippy__> Ryan-Toast: no
69: [00:34:37] <zippy__> check for a config in /etc/apache2/sites-enabled/
70: [00:35:20] <Ryan-Toast> zippy__: I feel out fof my depth, I may ask the hosting guys to fuck around with it.
71: [00:35:25] <Ryan-Toast> Don’t want to mess up the server
72: [00:36:58] <zippy__> Ryan-Toast: sweet, and remove that asdasdasd whatever from the htaccess
73: [00:37:46] <Ryan-Toast> zippy__: Good point :P
74: [00:38:05] <Ryan-Toast> zippy__: Thanks for the help anyway |:)
75: [00:38:34] * azureRaven has joined #silverstripe
76: [00:51:56] * ajmitch quit (Ping timeout: 260 seconds)
77: [00:53:22] * willr has joined #silverstripe
78: [00:54:44] * ajmitch has joined #silverstripe
79: [00:57:47] * ss23 quit (Ping timeout: 245 seconds)
80: [00:58:37] * ss23 has joined #silverstripe
81: [00:59:35] * Ryan-Toast quit (Quit: Ryan-Toast)
82: [01:01:47] * Ryan-Toast has joined #silverstripe
83: [01:06:28] * jenniferaslan quit (Quit: jenniferaslan has left the room)
84: [01:07:24] <chrisrio> So yeah.. $page->write(); $page->writeToStage('Stage'); in SS3.1 seems to publish the page not write to draft. Bit sad. If anyone has any other ideas or a decent piece of documentation I'd be super happy and will (not) love you long time
85: [01:07:44] <simon_w|work> chrisrio, ditch the first ->write(0
86: [01:07:49] <chrisrio> simon_w|work: doesnt help.
87: [01:08:09] <simon_w|work> Calling write() anywhere else?
88: [01:08:54] <chrisrio> na
89: [01:09:11] <chrisrio> simply writing the badboy via writeToStage ends up with the page in the CMS as deleted.
90: [01:09:21] <chrisrio> IE I can restore it.
91: [01:10:43] <simon_w|work> That usually means you're writing only to Live, not Stage
92: [01:11:31] <chrisrio> at least if I take out my writeToStage it doesnt show up at all, as you would expect.
93: [01:11:35] <chrisrio> so THATS good.. :P
94: [01:12:04] <chrisrio> I'm grabbing some form data, making a new page object, calling saveInto, and then saving that puppy
95: [01:12:06] <chrisrio> nothing fancy.
96: [01:12:09] <chrisrio> and no other writes.
97: [01:15:04] * Tanger has joined #silverstripe
98: [01:15:48] <chrisrio> http://pastiebin.com/53d998ba7b4d4
99: [01:16:00] <chrisrio> cant get any more simple than that - that'll write a deleted page into the CMS.
100: [01:18:57] <Stomach> chrisrio, you can do something like http://pastie.org/9432992
101: [01:19:34] <Stomach> or just $object->write() actually
102: [01:22:09] <chrisrio> YAY
103: [01:22:13] <chrisrio> first didnt fly
104: [01:22:17] <chrisrio> but ->write() worked
105: [01:22:24] <chrisrio> man what a ballache!
106: [01:22:31] <chrisrio> damn you writeToStage!
107: [01:22:37] <chrisrio> thanks simon_w|work
108: [01:23:15] <chrisrio> any idea why writeToStage freaked out?
109: [01:23:36] <willr> @simon_w|work namespaces in SS’s we going to prefix them with vendor you think?
110: [01:24:10] <simon_w|work> willr, given how annoying current PHP namespaces are, I don't think moving SS into one is a good idea
111: [01:24:12] <willr> psr-0 would suggest prefixing with vendor but that could get bulky
112: [01:24:34] <willr> so stick to not using namespaces for now?
113: [01:24:56] <simon_w|work> Yeah. I'd prefer to have wildcard imports before any switch happened
114: [01:25:05] <simon_w|work> Also, basing namespaces of file paths just seems stupid
115: [01:25:09] <simon_w|work> *off
116: [01:26:07] <simon_w|work> SilverStripe/Framework/Model/FieldType/Int FTW :p
117: [01:27:04] <willr> Doesn’t sound the the PHP guys are too keen on adding wildcards
118: [01:27:29] <simon_w|work> I'm not surprised. It's rather hard with a dynamic language
119: [01:27:37] <simon_w|work> Maybe Hack could add it though...
120: [01:43:39] * micmania1 has joined #silverstripe
121: [01:47:52] * Olliepop quit (Ping timeout: 246 seconds)
122: [02:00:00] * Bosie has joined #silverstripe
123: [02:03:39] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
124: [02:06:52] * azureRaven has joined #silverstripe
125: [02:07:45] * azureRaven quit (Client Quit)
126: [02:08:32] <Bosie> Hello all. Very quick (and dumb, I'm sure) question. I'm migrating an old site from SS2.* and I'm not getting my head around automatic escaping and now getting double slashes. Looks like from the SS3 docs, DataObject accessors get automatically escaped. However, if I don't escape a string and do a ::get, I get a SQL error??
127: [02:11:49] <Bosie> All the existing database rows where a name has an apostrophe have backslashes in the data - I thought I'd be able to remove all those in the DB, no?
128: [02:12:25] <zippy__> Bosie: How are you doing a get? xxxx::get()->filter('column', $foo); ?
129: [02:14:15] <Bosie> DataObject::get_one( "Foo", ...
130: [02:15:31] <Bosie> does that make a difference?
131: [02:15:58] <zippy__> Bosie: if you use the filter() method, then that will be escaped
132: [02:16:54] <zippy__> you can also do Foo::get()->first();
133: [02:17:28] <Bosie> cheers zippy - giving it a go now :)
134: [02:20:15] <Ryan-Toast> zippy__: How did you go with namespacing? Any issues?
135: [02:20:25] <zippy__> Ryan-Toast: going good
136: [02:20:31] <zippy__> no issues
137: [02:20:35] <Ryan-Toast> zippy__: No problems?
138: [02:20:46] <zippy__> nope
139: [02:20:49] <Ryan-Toast> I want to do it to my project, but I don’t want to get haldfway and everything’s broken.
140: [02:20:55] <Ryan-Toast> Swish
141: [02:20:59] <Ryan-Toast> May give it a go now.
142: [02:21:18] <zippy__> so far so good, I have a couple of dataobjects, a data extension, couple of page types (which get later extended in main project) - all ok
143: [02:22:30] <Ryan-Toast> zippy__: Did you have to change your templates?
144: [02:22:38] * willr quit (Quit: willr)
145: [02:22:52] <zippy__> Ryan-Toast: oh yea thats going to suck for you, windows lover...
146: [02:23:24] <zippy__> Ryan-Toast: read http://logs.simon.geek.nz/index.php?date=2014-07-31#log_1357955
147: [02:23:37] <zippy__> no a problem for me since my pages get extended off of
148: [02:23:56] <Ryan-Toast> zippy__: I’m on a mac
149: [02:24:02] <zippy__> ahh
150: [02:24:05] <zippy__> all gravy then
151: [02:24:16] <Ryan-Toast> zippy__: Hmm.
152: [02:24:26] <Ryan-Toast> I work on windows at home though, so maybe not the best plan
153: [02:25:06] <zippy__> simon_w|work: might know of a work around since he did the namespace stuff
154: [02:26:22] <simon_w|work> Override https://github.com/silverstripe/silverstripe-framework/blob/3.1/control/Controller.php#L266-L301 so it does a str_replace('\\', '-', $controller)
155: [02:26:42] <Ryan-Toast> hack dat core
156: [02:26:52] <simon_w|work> Or, you know, Page_Controller
157: [02:27:00] <Ryan-Toast> naww mayne.
158: [02:27:05] <Ryan-Toast> HACK THE WORLD
159: [02:27:09] <Ryan-Toast> or is it earth
160: [02:27:12] <Ryan-Toast> never rmemeeber
161: [02:27:17] <simon_w|work> HACK THE PLANET
162: [02:27:33] <Ryan-Toast> that'
163: [02:27:34] <Ryan-Toast> s it :D
164: [02:27:39] <Ryan-Toast> Love that movie
165: [02:28:08] <Ryan-Toast> https://www.youtube.com/watch?v=drJWxMLrpE0
166: [02:28:34] <simon_w|work> They're trashing our rights!
167: [02:28:37] <simon_w|work> Hack the planet!
168: [02:29:24] * Olliepop has joined #silverstripe
169: [02:29:34] <Ryan-Toast> simon_w: Found a gif http://i.imgur.com/6VLOirY.gif
170: [02:30:03] <simon_w|work> But the reason that movie's good is cause of the boobs
171: [02:30:32] <Ryan-Toast> ctrl shift n
172: [02:37:54] <Bosie> Hey zippy - the Foo::get()->first(); still barfed. is there a way to use xxxx::get()->filter('column', $foo) when I want to filter on a LIKE eg where name LIKE ... ??
173: [02:38:06] * travis-ci has joined #silverstripe
174: [02:38:07] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2984 (3.1 - c02ff14 : Damian Mooyman): The build is still failing.
175: [02:38:07] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/37f88c8e1a42...c02ff14db8d7
176: [02:38:07] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31294547
177: [02:38:07] * travis-ci has left #silverstripe
178: [02:38:19] <zippy__> Bosie whats the actual error you get?
179: [02:38:32] <zippy__> and yes there is a LIKE
180: [02:40:44] <Bosie> I get a user error - ERROR [User Error]: Couldn't run query: - then it shows the sql string with the value of the look-up has the apostrophe in it
181: [02:41:47] <zippy__> Bosie: Foo::get()->first(); but your not passing anything. Can you show the real code please
182: [02:42:01] <Bosie> OK, sorry :)
183: [02:49:11] <zippy__> simon_w|work: Ok, so I have ran into something. I have a page and a dataobject. The page has many dataobject. Since these are both in the same namespace I have just specified the class in the $has_one and $has_many - but I am getting an error No has_one found on class MyObject. There is. I have even tried doing 'MyPage' => 'MyNamespace\MyPage'. Is there a gotcha here?
184: [02:50:51] <simon_w|work> zippy__, need to use the full name in relations
185: [02:51:17] <zippy__> full name like; 'MyNameSpace\MyPage' => 'MyNameSpace\MyPage' ?
186: [02:51:32] <zippy__> not just full name like; 'MyPage' => 'MyNameSpace\MyPage' ?
187: [02:52:23] <simon_w|work> The name of the relation has no bearing at all on the class
188: [02:53:20] <zippy__> 'MyNameSpace\MyPage' => 'MyNameSpace\MyPage' - so now instead of having ->MyPage(); what would the accessor be now then?
189: [02:54:08] <simon_w|work> No, you just want 'MyPage' => 'MyNameSpace\MyPage'
190: [02:54:19] <simon_w|work> the name of the relation can be whatever you want
191: [02:54:42] <zippy__> yea that is what I thought, but it's not having a bar of it
192: [02:55:33] <simon_w|work> Flush
193: [02:55:50] <simon_w|work> And make sure you've done the same thing to the has_many too
194: [02:56:06] <Bosie> OK, zippy, so this worked - Buyer::get()->filter('Name', $data->Buyer->Name)->first() - one last question, how do I make the filter a LIKE rather than an equals. can't find this anywhere in the docs cos "like" is written everywhere
195: [02:56:16] <Bosie> thanks tons btw :)
196: [02:56:37] <simon_w|work> Bosie, ->filter('Name:PartialMatch', $value)
197: [02:57:28] * willr has joined #silverstripe
198: [03:07:38] * willr quit (Quit: willr)
199: [03:08:13] <zippy__> simon_w|work: I think it's getting buggered up because I have a class in my namespace, and there is another of the same class name in my mysite folder
200: [03:11:53] * willr has joined #silverstripe
201: [03:12:05] <zippy__> hehe, I like the wording in the comment
202: [03:12:06] <zippy__> include a hint for has_many that is missing a has_one
203: [03:12:11] <zippy__> throw new Exception($message);
204: [03:12:15] <zippy__> thats a subtle hint :)
205: [03:15:11] <zippy__> god damn it
206: [03:15:35] <zippy__> was using / not \
207: [03:16:09] <Olliepop> How do I remove the filter altogether from ModelAdmin? I've tried private static $searchable_fields = array(); but no luck
208: [03:22:03] <zippy__> Olliepop: not sure if you can, might have to hide with css perhaps
209: [03:22:43] <Bosie> simon_w|work and zippy - thanks for your help guys, it's working now :)
210: [03:33:13] * Bosie quit (Ping timeout: 246 seconds)
211: [03:33:14] * cloph_away has joined #silverstripe
212: [03:33:34] * cloph quit (Ping timeout: 264 seconds)
213: [03:36:24] <Olliepop> Thanks zippy__
214: [03:38:01] <simon_w|work> Olliepop, public function SearchForm() { return ''; }
215: [03:51:59] <Olliepop> @simon_w|work close! It removed the buttons but the sidebar is still there with the title "Filter", but otherwise empty
216: [03:52:46] <simon_w|work> Olliepop, that's because that's part of the template. You'll need CSS to change that.
217: [03:53:18] <Olliepop> @simon_w|work alright cheers
218: [04:18:44] * Cheddam quit (Ping timeout: 255 seconds)
219: [04:35:28] * micmania1 quit (Quit: micmania1)
220: [04:59:26] * nickmolhoek quit (Quit: nickmolhoek)
221: [05:01:59] * mobiusnz quit (Quit: Leaving.)
222: [05:25:06] * mobiusnz has joined #silverstripe
223: [05:26:03] * zippy__ quit (Quit: zippy__)
224: [05:32:36] * Ryan-Toast quit (Quit: Ryan-Toast)
225: [05:35:54] * Olliepop has left #silverstripe
226: [05:43:48] * mobiusnz quit (Quit: Leaving.)
227: [05:44:42] * travis-ci has joined #silverstripe
228: [05:44:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2988 (3.1 - c93e752 : Damian Mooyman): The build is still failing.
229: [05:44:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c02ff14db8d7...c93e752abef0
230: [05:44:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31301965
231: [05:44:42] * travis-ci has left #silverstripe
232: [05:46:09] <simon_w|work> Merging broken PRs into 3.1
233: [05:46:11] <simon_w|work> Tut tut tut
234: [05:46:29] * mobiusnz has joined #silverstripe
235: [05:47:06] * hubertusanton quit (Ping timeout: 250 seconds)
236: [05:47:19] * willr quit (Quit: willr)
237: [05:52:09] * travis-ci has joined #silverstripe
238: [05:52:09] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2989 (3.1 - edb8964 : Stig Lindqvist): The build is still failing.
239: [05:52:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c93e752abef0...edb8964722ec
240: [05:52:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31302242
241: [05:52:09] * travis-ci has left #silverstripe
242: [05:59:02] * mobiusnz quit (Quit: Leaving.)
243: [06:01:56] * hubertusanton has joined #silverstripe
244: [06:07:31] <Stomach> simon_w|work, we've all merged broken pull requests before :P
245: [06:11:49] * chrisrio quit (Quit: Page closed)
246: [06:23:05] <simon_w|work> Stomach, not into a stable branch :p
247: [06:34:39] <simon_w|work> Come on, finish loading. Then there's two more things to click then it can be home time!
248: [06:38:20] * mirrors has joined #silverstripe
249: [06:38:37] <mirrors> hey can anyone tell me where documents like this have been moved to
250: [06:38:38] <mirrors> http://doc.silverstripe.org/doku.php?id=module:external-content-newconnector
251: [06:40:27] <simon_w|work> mirrors, should've been moved into the module
252: [06:41:43] <mirrors> simon_w|work: thanks...i was struggling finding outside of the module
253: [06:42:00] <mirrors> does anyone know of a sharepoint connector module for SS3
254: [06:44:45] * azureRaven has joined #silverstripe
255: [06:47:42] * azureRaven quit (Client Quit)
256: [06:48:01] * azureRaven has joined #silverstripe
257: [06:49:07] <azureRaven> Anybody there?
258: [06:49:18] <simon_w|work> Nope
259: [06:49:54] <azureRaven> simon_w|work I always miss people.
260: [06:50:11] <azureRaven> Actually, you got a second, simon_w|work ?
261: [06:51:19] <simon_w|work> azureRaven, just ask your question. Don't ask about asking.
262: [06:51:26] <azureRaven> That's fair.
263: [06:52:49] <azureRaven> I'm using a restful request and the xml returns the date. How would I go about writing that to a has_many relation in the onBeforeWrite?
264: [06:54:24] <azureRaven> $rest->date = $this->Date('startdate') or something?
265: [06:56:07] * simon_w|work quit (Quit: home time!)
266: [07:02:37] * Robke has joined #silverstripe
267: [07:03:29] <Robke> hello does this thing still works in templateS? <% if ClassName == "Foo" %> <% loop Bar %> whatever <% end_loop %> <% end_if %> ?
268: [07:05:35] <mirrors> should do
269: [07:06:44] <Robke> the strangest part of this that if i write classname Home
270: [07:06:46] <Robke> it works
271: [07:06:54] <Robke> but if other classname it doesnt
272: [07:06:58] <Robke> hm...
273: [07:12:06] <azureRaven> Robke is your Home.php just Home php?
274: [07:14:18] <Robke> what do you mean? :)
275: [07:14:30] <Robke> home page is Home.php :)
276: [07:14:40] <Robke> but im using renderwith method
277: [07:14:53] <Robke> if you are in lets say some PageHolder
278: [07:15:00] <Robke> and click on the img
279: [07:15:14] <Robke> it renders with foo.ss
280: [07:15:15] * CodeTrap has joined #silverstripe
281: [07:15:24] <Robke> in this file is bootstrap carousel :)
282: [07:15:36] <Robke> so if im doing this from home page it works :)
283: [07:15:41] <Robke> and everything looks nice
284: [07:15:51] <Robke> but if im doing it in another page holder nothing works
285: [07:16:01] <Robke> i mean ClassName :)
286: [07:16:57] <Robke> and i this Foo.ss i need to load PageHolder's images :)
287: [07:17:15] <Robke> hrrr... hate that my english is so bad :(
288: [07:18:22] <Robke> ok i found the problem :)
289: [07:18:29] <Robke> thanks for trying to help ;]
290: [07:26:30] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
291: [07:45:07] * stnvh has joined #silverstripe
292: [07:57:46] * azureRaven has joined #silverstripe
293: [07:58:21] * kinglozzer has joined #silverstripe
294: [08:00:16] * ocmnt has joined #silverstripe
295: [08:00:30] <ocmnt> howdy
296: [08:03:30] * CodeTrap1 has joined #silverstripe
297: [08:05:00] * CodeTrap quit (Ping timeout: 250 seconds)
298: [08:09:53] * simon_w has joined #silverstripe
299: [08:10:43] <azureRaven> ocmnt yo.
300: [08:13:24] * CodeTrap has joined #silverstripe
301: [08:15:02] * CodeTrap1 quit (Ping timeout: 260 seconds)
302: [08:16:10] <Robke> hello
303: [08:18:08] <Robke> hm... i have strange structure but maybe you could help to me :)
304: [08:18:27] <Robke> menu are created as a page (it is only for the menu name)
305: [08:18:48] <Robke> then i have to create Holder of pages (active submenu)
306: [08:19:18] <Robke> so after that i see tolders template in which are subpages :)
307: [08:19:27] * CodeTrap quit (Quit: CodeTrap)
308: [08:19:27] <Robke> and i need to load ajax :) how could i do this? :)
309: [08:21:07] * spronk2 has joined #silverstripe
310: [08:22:51] * mirrors quit (Quit: Page closed)
311: [08:24:50] * Pyi6k has joined #silverstripe
312: [08:37:33] <kinglozzer> Hmm. Let's say I wanted to be able to modify $output here: http://api.silverstripe.org/3.1/source-class-SSViewer.html#1086-1087. How do? Subclassing SSViewer would be a pain, as it's "hard coded" everywhere
313: [08:37:42] <kinglozzer> Basically I want to be able to fuck with Requirements
314: [08:37:54] <kinglozzer> Like completely
315: [08:38:08] <kinglozzer> Oh I guess I could just do my own Requirements backend...
316: [08:41:20] <kinglozzer> Actually no I couldn't - you can't add methods to Requirements, so I'd have to subclass Requirements...
317: [08:45:35] <kinglozzer> Can't even ask to add an extend hook as neither SSViewer or Requirements are subclasses of Object :(
318: [08:48:15] * travis-ci has joined #silverstripe
319: [08:48:15] <travis-ci> [travis-ci] dhensby/silverstripe-framework#2 (pulls/absolute-url-fix - edb8964 : Stig Lindqvist): The build has errored.
320: [08:48:15] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/c02ff14db8d7^...edb8964722ec
321: [08:48:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31310572
322: [08:48:15] * travis-ci has left #silverstripe
323: [08:48:20] <simon_w> kinglozzer, you can subclass Requirements_Backend, override includeInHTML and use that
324: [08:49:18] * r3v3rb has joined #silverstripe
325: [08:51:08] <kinglozzer> simon_w: Mm, trouble is I can't add methods to Requirements. I guess I could just do Requirements::backend()->myMethod() though
326: [08:51:27] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
327: [08:51:33] <simon_w> kinglozzer, why do you need to add a method?
328: [08:52:39] <kinglozzer> simon_w: (this is theoretical - don't actually need to do it atm). Was thinking about how you could set some JS to be written to <head>, some to <body> - unless I misunderstand Requirements you can't do that currently
329: [08:52:48] <kinglozzer> Well, without putting them in templates
330: [08:52:58] <simon_w> insertHeadTags()?
331: [08:53:37] * azureRaven has joined #silverstripe
332: [08:55:19] <kinglozzer> simon_w: Oh :P yeah that'd probably be the easiest option ><
333: [08:56:20] * travis-ci has joined #silverstripe
334: [08:56:20] <travis-ci> [travis-ci] dhensby/silverstripe-framework#3 (pulls/absolute-url-fix - ed4a211 : Daniel Hensby): The build failed.
335: [08:56:20] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/edb8964722ec...ed4a211df454
336: [08:56:20] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31311018
337: [08:56:20] * travis-ci has left #silverstripe
338: [08:58:13] <Pyi6k> [09:51] <kinglozzer> simon_w: Mm, trouble is I can't add methods to Requirements. I guess I could just do Requirements::backend()->myMethod() though
339: [08:58:17] <Pyi6k> yeah, I've done that in the past.
340: [08:58:36] <Pyi6k> same sorta deal with Image_Backend
341: [08:59:18] <Pyi6k> but not so bad, because not all static calls.
342: [09:00:19] * spronk2 quit (Quit: spronk2)
343: [09:01:12] * spronk2 has joined #silverstripe
344: [09:01:50] * travis-ci has joined #silverstripe
345: [09:01:50] <travis-ci> [travis-ci] dhensby/silverstripe-framework#4 (pulls/absolute-url-fix - ac9be93 : Daniel Hensby): The build was canceled.
346: [09:01:50] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/ed4a211df454...ac9be93dd857
347: [09:01:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31311286
348: [09:01:50] * travis-ci has left #silverstripe
349: [09:05:44] <Pyi6k> two two was a race horse, one one was one too. two two won one race, one one won one too.
350: [09:07:46] <kinglozzer> How much wood would a woodchuck chuck if a woodchuck could chuck wood?
351: [09:09:38] <Pyi6k> she sells seashells by the sea shore, I'm sure.
352: [09:14:56] * travis-ci has joined #silverstripe
353: [09:14:57] <travis-ci> [travis-ci] dhensby/silverstripe-framework#5 (pulls/absolute-url-fix - c3069f8 : Daniel Hensby): The build is still failing.
354: [09:14:57] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/ac9be93dd857...c3069f8830a7
355: [09:14:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31312235
356: [09:14:57] * travis-ci has left #silverstripe
357: [09:15:51] * CodeTrap has joined #silverstripe
358: [09:20:44] * ajmitch quit (Ping timeout: 250 seconds)
359: [09:22:47] * ajmitch has joined #silverstripe
360: [09:27:38] <ocmnt> Pyi6k, kinglozzer: http://www.thepoke.co.uk/2011/12/23/english-pronunciation/
361: [09:27:43] <ocmnt> now give that a try :D
362: [09:28:32] <Pyi6k> all I saw was 'steak and a blowjob'
363: [09:28:49] * Robke quit (Ping timeout: 246 seconds)
364: [09:29:29] <kinglozzer> ocmnt: Easy! :P
365: [09:31:15] * willr has joined #silverstripe
366: [09:31:34] * azureRaven quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
367: [09:33:51] * jays has joined #silverstripe
368: [09:34:09] <Pyi6k> so would oauth be the right tool for internal authentication in a company that has several systems which people may or may not be able to access, and at different levels?
369: [09:34:11] <ocmnt> video ir it didnt happen :D
370: [09:34:31] <simon_w> Pyi6k, oauth is authentication, not authorisation
371: [09:34:40] <ocmnt> how authentic is that?!
372: [09:35:04] <Pyi6k> simon_w: so... no?
373: [09:35:22] <simon_w> Pyi6k, can't tie into existing LDAP or equiv?
374: [09:36:18] <Pyi6k> simon_w: trying to tie several services into a single auth point, with Active Directory backend.
375: [09:36:50] <Pyi6k> as opposed to each app authing separately with their own quirks, etc.
376: [09:36:52] * Tanger quit (Quit: Tanger)
377: [09:36:57] <simon_w> Well, you could use oauth for the authentication but you still need some other system for authorisation
378: [09:37:14] <Pyi6k> Thus just updating user's info in Active Directory would be enough to allow/disallow etc.
379: [09:37:35] <Pyi6k> so sounds like I'm confused between authentication and authorisation
380: [09:37:59] <simon_w> Authentication is saying who you are, authorisation is what you can do
381: [09:38:28] <simon_w> You can piggy back the latter off oauth (using scopes), but is kinda cheating
382: [09:39:08] <Pyi6k> yeah, oauth is set around users allowing disallowing apps to an account they already have right?
383: [09:39:09] <simon_w> Wait, I'm backwards
384: [09:39:21] <simon_w> OAuth is what you can do, not who you are
385: [09:39:29] <Pyi6k> I'm not sure it'd work in this way... as user ability is admin defined
386: [09:39:51] <simon_w> No, it is who you are
387: [09:39:51] <Pyi6k> simon_w: right, so oauth is only half the solution?
388: [09:39:56] <Pyi6k> haah
389: [09:39:59] <Pyi6k> gawd :<
390: [09:40:01] * jays quit (Ping timeout: 246 seconds)
391: [09:40:02] <simon_w> OAuth tries to do both, so rather confusing
392: [09:40:10] * travis-ci has joined #silverstripe
393: [09:40:10] <travis-ci> [travis-ci] dhensby/silverstripe-framework#6 (pulls/absolute-url-fix - 751b13a : Daniel Hensby): The build is still failing.
394: [09:40:10] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/c3069f8830a7...751b13a7c6cb
395: [09:40:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31314075
396: [09:40:10] * travis-ci has left #silverstripe
397: [09:40:17] <Pyi6k> yeah, I've got myself and my colleague twisted around too ;/
398: [09:40:19] <Pyi6k> hence the question
399: [09:40:41] <simon_w> Pyi6k, so, you *can* include permissions with oauth (in the form of scopes)
400: [09:41:25] <Pyi6k> sounds like I need to understand oauth better, off to wiki I think
401: [09:41:34] <simon_w> Good luck :p
402: [09:42:12] <Pyi6k> "OAuth provides client applications a 'secure delegated access' to server resources on behalf of a resource owner."
403: [09:42:25] <simon_w> Yeah, so it's "I'm this person!"
404: [09:42:30] <Pyi6k> yeah, this is where it's confusing for me... there is no resource owner. Or the resource owner is the system itself.
405: [09:43:16] <Pyi6k> I'm not wanting to let systems access someone's info, I want someone to access systems info.
406: [09:43:43] <simon_w> Pyi6k, if all requests have to go through the system, then oauth is fine
407: [09:43:57] <simon_w> If the client side needs to know what the user can and can't do, you need something more
408: [09:45:32] * zippy__ has joined #silverstripe
409: [09:54:22] <ocmnt> oauth is not the savest way to provide authentication
410: [09:56:41] * travis-ci has joined #silverstripe
411: [09:56:41] <travis-ci> [travis-ci] dhensby/silverstripe-framework#7 (pulls/absolute-url-fix - d9015e5 : Daniel Hensby): The build is still failing.
412: [09:56:41] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/751b13a7c6cb...d9015e5d095d
413: [09:56:41] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31315110
414: [09:56:41] * travis-ci has left #silverstripe
415: [09:57:15] <simon_w> ocmnt, all depends on the token scheme you pick
416: [09:57:24] <zippy__> simon_w: how much space do all the logs take?
417: [09:57:48] <zippy__> doing a search runs pretty quick, you using something for the search or just a mysql full text search?
418: [09:58:37] <simon_w> zippy__, postgres
419: [09:59:21] <simon_w> du -hs /var/lib/postgresql/9.1/main
420: [09:59:21] <simon_w> 832M /var/lib/postgresql/9.1/main
421: [10:00:51] <zippy__> runs pretty quick
422: [10:01:22] <simon_w> Yeah, it's indexed
423: [10:03:29] <Pyi6k> 'coz postre is balls out awesome right.
424: [10:03:37] <ss23> mysql > postgres
425: [10:03:48] <zippy__> even still, must be a boat load of rows, how many rows you got in there?
426: [10:04:16] <simon_w> 1357612
427: [10:04:37] <simon_w> ss23, just because you suck and configuring it
428: [10:05:02] <simon_w> *at
429: [10:06:18] <zippy__> and the whole line is indexed? so you'd have 400mb of data and then 430mb of index?
430: [10:07:08] <simon_w> Indexes on ID, Nick, Target, date("Time") and Search
431: [10:07:39] <simon_w> Search is a tsvector built from Text and Nick
432: [10:07:39] <zippy__> Search?
433: [10:07:46] <zippy__> gotcha
434: [10:08:22] <zippy__> class SiteConfig extends \DataExtension { -> badass with the namespaces right here!
435: [10:08:24] <simon_w> Just makes writing the search queries easier (and index updates faster)
436: [10:08:47] <zippy__> nice to be able to call things what they are instead of prefixing class's
437: [10:09:04] <simon_w> If I wanted to, I could just stick an index on the tsvector generating function instead of storing it in a column
438: [10:12:22] <zippy__> With a grid field, when you click the add button in the bread crumbs it has the name of the class it's adding, so with name spaces you end up with something like Pages / MyPage / New My Namespace \ Object Name
439: [10:12:35] <zippy__> is there a way to specify the name, so it's not something so ugmo
440: [10:14:19] <Pyi6k> screenshot or it didn't happen.
441: [10:16:26] <simon_w> zippy__, private static $singular_name on the DataObject
442: [10:16:51] <zippy__> Pyi6k: https://dl.dropboxusercontent.com/u/1547575/Screen%20Shot%202014-07-31%20at%2010.15.52%20PM.png
443: [10:18:11] <zippy__> simon_w: woah! I wasn't expecting there to be! thanks
444: [10:18:17] <zippy__> that is super useful
445: [10:19:44] <zippy__> wow even the green add buttons use it
446: [10:22:15] <ss23> rofl simon_w
447: [10:22:20] <ss23> I SUCCEDED AS MUCH AS I WANTED TO
448: [10:33:34] * CodeTrap quit (Ping timeout: 240 seconds)
449: [10:37:19] * travis-ci has joined #silverstripe
450: [10:37:19] <travis-ci> [travis-ci] dhensby/silverstripe-framework#8 (pulls/absolute-url-fix - 85afc97 : Daniel Hensby): The build is still failing.
451: [10:37:19] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/d9015e5d095d...85afc978cfa2
452: [10:37:19] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31318109
453: [10:37:19] * travis-ci has left #silverstripe
454: [10:41:41] <Pyi6k> zippy__: oh right yeah it has the namespace.
455: [10:41:44] <Pyi6k> I see.
456: [10:41:58] <Pyi6k> singular_name and plural_name
457: [10:42:02] <Pyi6k> ???
458: [10:42:04] <Pyi6k> profit.
459: [10:43:09] * willr quit (Quit: willr)
460: [10:47:31] * harold__ has joined #silverstripe
461: [10:48:55] <harold__> guys are there any solutions for multi languagesites in SS
462: [10:49:07] <harold__> or any suggestions as to how to achieve this feature
463: [10:49:33] <ss23> harold__: I did it with subsites
464: [10:51:12] <harold__> is it complex to implement
465: [10:51:43] * simon_w quit (Ping timeout: 255 seconds)
466: [10:52:18] <ss23> harold__: Not really complex, but it wasn't simple like "install the module and be done with it"
467: [10:52:25] <ss23> It took customization, a bunch of bug fixes, stuff like that
468: [10:52:47] <ss23> https://github.com/silverstripe/silverstripe-subsites/pull/142 was the big one that broke my stuff
469: [10:54:19] <harold__> that is going to give you different languages sites on a sub domain right?
470: [10:55:26] <ss23> Yeah
471: [10:55:30] <ss23> That might or might not be what you want
472: [10:55:36] <ss23> The other "good" one is uh...
473: [10:55:38] <ss23> done by tractorcow
474: [10:55:51] <ss23> https://github.com/tractorcow/silverstripe-fluent this one
475: [10:56:25] <Pyi6k> harold__: ss23 subsites?
476: [10:56:27] <Pyi6k> o.0
477: [10:56:35] <ss23> I never said you should do it, I said I did it with it
478: [10:56:35] <ss23> :P
479: [10:56:39] <Pyi6k> Translatable works in a very similar manner, but isnt' 'subsites'
480: [10:58:12] <zippy__> ss23: 2 months on and still no tests :)
481: [10:58:21] <ss23> Pull requests welcome!
482: [10:58:22] <ss23> :D
483: [11:01:38] <Pyi6k> Your face is a test.
484: [11:12:30] <harold__> I'd be looking to have it all on a single domain i think
485: [11:14:11] <harold__> fluent looks like it could do the job
486: [11:26:55] * simon_w has joined #silverstripe
487: [11:28:32] * travis-ci has joined #silverstripe
488: [11:28:33] <travis-ci> [travis-ci] dhensby/silverstripe-framework#9 (pulls/absolute-url-fix - 412d85a : Daniel Hensby): The build has errored.
489: [11:28:33] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/85afc978cfa2...412d85a41ec8
490: [11:28:33] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31321957
491: [11:28:33] * travis-ci has left #silverstripe
492: [11:29:18] * simon_w quit (Client Quit)
493: [11:37:08] * CodeTrap has joined #silverstripe
494: [11:43:03] * irogue_ has joined #silverstripe
495: [11:43:30] <irogue_> Hello people
496: [11:44:06] <zippy__> hi
497: [11:44:12] * zippy__ is now known as zippy
498: [11:44:20] <zippy> god damn it
499: [11:44:33] <zippy> the prick has registred it
500: [11:44:53] * travis-ci has joined #silverstripe
501: [11:44:54] <travis-ci> [travis-ci] dhensby/silverstripe-framework#10 (pulls/absolute-url-fix - 8c0c731 : Daniel Hensby): The build is still failing.
502: [11:44:54] <travis-ci> [travis-ci] Change view : https://github.com/dhensby/silverstripe-framework/compare/412d85a41ec8...8c0c731037a8
503: [11:44:54] <travis-ci> [travis-ci] Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/31322296
504: [11:44:54] * travis-ci has left #silverstripe
505: [11:46:08] <irogue_> That prick
506: [11:49:11] <irogue_> Hey zippy, who are you? I feel like I should know.
507: [11:49:14] <irogue_> Like
508: [11:49:21] <zippy> O.o
509: [11:49:29] <zippy> I been in here for over a year :(
510: [11:49:31] <irogue_> I know your IRC name and you're here lots
511: [11:49:34] * zippy has hurt feeelings
512: [11:49:42] <irogue_> But who are you IRL?
513: [11:49:56] <zippy> nz developer
514: [11:50:12] <irogue_> are you in Wellington? If so, where were you tonight? Lol
515: [11:50:54] <zippy> no to both
516: [11:51:06] <irogue_> Ah ok
517: [11:51:53] <irogue_> I just realised I've talked to you heaps but had never really figured out who you are and how you're connected
518: [11:52:42] <zippy> I use colloguy as my irc client
519: [11:52:49] <zippy> ;-)
520: [11:53:02] <ss23> Yeah, zippy is one of those lamers who didn't go to wdcnz
521: [11:53:05] <irogue_> COLLOGUY
522: [11:53:06] <ss23> Even though we had an IRC meetup
523: [11:53:16] <irogue_> which you didntncome yo ss
524: [11:53:24] <zippy> dude, earthquakes
525: [11:53:24] <irogue_> Wow that was bad
526: [11:53:31] <ss23> irogue_: I told you, I was busy tonight :P
527: [11:53:33] <ss23> zippy: hahaha
528: [11:53:39] <ss23> zippy: That's the release of buildup of how AWESOME WE ARE
529: [11:54:11] <irogue_> I just got back to hotel cos the bar closed
530: [11:54:23] <irogue_> Everything is always closed in Wellington, its bullshit
531: [11:54:50] <ss23> haha
532: [11:54:54] <ss23> It's true, wgtn is bad for closing
533: [11:55:03] <ss23> apart from 3am friday/saturday night burgerfuel
534: [11:55:04] <ss23> idek @ that
535: [11:55:21] <irogue_> 11pm on a Thursday ? Better close the bar!
536: [11:55:42] <irogue_> Wtf Thursday is considered a main drinking night in Auckland, same hours as Fri/sat
537: [11:56:19] <zippy> OH YES!!!
538: [11:56:22] <zippy> NickServ NOTICE Nick zippy is now registered to your account.
539: [11:56:23] <zippy> :D
540: [11:56:26] <ss23> :D
541: [11:56:26] <zippy> I owns it bitches
542: [11:56:29] <ss23> nice
543: [11:56:47] <zippy> since the guy that last had it didn't use it in over a year, you can msg a freenode admin to get it released
544: [11:56:51] <irogue_> ss23: you go to that bar with the Japanese name but not related to Japan at all?
545: [11:56:53] <zippy> \o/
546: [11:57:23] <ss23> hashigozaki?
547: [11:57:27] <irogue_> ss23: they have an 8.5% and wow
548: [11:57:28] <zippy> I have been after this nickname for ages
549: [11:57:31] <irogue_> Yes that place
550: [11:57:35] <ss23> it's related, the guy went to Japan then came back to start a bar here in the style of some of the places over tehre
551: [11:57:38] <ss23> :P
552: [11:57:48] <ss23> It's just not a japanese place
553: [11:57:48] <ss23> :D
554: [11:57:53] <ss23> But yeah, it's the "nerd bar" in wgtn
555: [11:58:11] <irogue_> Well their 8.5% cider is amaze
556: [11:59:57] <irogue_> Guess that's why we went there
557: [12:00:29] * Silverstripe has joined #silverstripe
558: [12:00:37] <irogue_> The bartender was mentioning how much the name of some bottle of wine sounded like it would be a town in oblivion
559: [12:00:41] <irogue_> He was right
560: [12:00:42] <ss23> I take it Silverstripe is antmas?
561: [12:00:46] * Silverstripe is now known as antmas
562: [12:00:49] <ss23> haha
563: [12:00:50] <ss23> called it
564: [12:00:53] <antmas> Lol yes
565: [12:00:58] <antmas> :(
566: [12:00:59] <irogue_> Hostname prob a hint :p
567: [12:01:15] <ss23> Sorry I couldn't come out tonight, I really did want to!
568: [12:01:15] <ss23> :(
569: [12:01:21] <antmas> I'm on android, gimmie a break :p
570: [12:01:27] <irogue_> HI ANTMAS
571: [12:01:57] <antmas> Omg HAI
572: [12:02:03] <antmas> XD
573: [12:02:06] <irogue_> I seem to still be getting drunker, I think that last cider I had to skull cos they were closing is still processing
574: [12:02:11] <antmas> BK was average
575: [12:02:13] <antmas> :(
576: [12:02:24] <irogue_> BK is always avwrage
577: [12:02:30] <irogue_> Esp after BF
578: [12:02:46] <antmas> Yeah I skulled my wheat beer :S
579: [12:03:21] <antmas> Holy shit I still have a muffin!
580: [12:03:24] <antmas> Win
581: [12:03:44] * antmas is komplete
582: [12:04:23] <irogue_> Oh yes so do i
583: [12:04:24] <irogue_> Sweeeeet
584: [12:04:49] <irogue_> I got 2 XD
585: [12:05:00] <antmas> Lol nice
586: [12:05:17] <antmas> I had 3 ice creams!
587: [12:05:21] <zippy> antmas: o/
588: [12:05:33] <antmas> \o
589: [12:05:37] <irogue_> I'm so tempted to move my flight and stay another night
590: [12:06:03] <antmas> Yeah I'm stoked I have an extra night
591: [12:06:20] <zippy> man, I am stoked to have registered zippy! how awesome is might night ;-)
592: [12:06:44] * antmas is now known as nowhastimetosita
593: [12:06:53] <nowhastimetosita> Lolwut
594: [12:07:01] * nowhastimetosita is now known as antmas
595: [12:07:45] <antmas> Ss23 will you be around tomorrow?
596: [12:07:58] <ss23> Yep!
597: [12:08:01] <ss23> All day, at the office ^.^
598: [12:08:05] <ss23> If you're here at lunch time, come around
599: [12:08:11] <ss23> irogue_ / antmas : when are you leavign?
600: [12:08:24] <antmas> Yeah Colin and I will be stopping by
601: [12:08:36] <antmas> I leave Saturday arvo
602: [12:08:58] <ss23> aw sweet man, yeah
603: [12:09:00] <ss23> um
604: [12:09:02] <ss23> IRC me or something
605: [12:09:05] <ss23> we can get lunch
606: [12:09:06] <ss23> o/
607: [12:09:11] <antmas> Awwww yissss
608: [12:09:21] <antmas> Cell number maybe?
609: [12:09:49] <ss23> 027 726 3555
610: [12:09:54] <ss23> %.%
611: [12:09:55] <ss23> ^.^
612: [12:09:57] <antmas> Chur
613: [12:10:09] <antmas> Bf is amazing
614: [12:10:59] <antmas> Irogue_ turn the music down!!!
615: [12:11:10] <irogue_> Lol not me
616: [12:11:15] <irogue_> Silent here on level 2
617: [12:11:21] <antmas> :I
618: [12:11:41] <antmas> Ah, it was a car me thinks
619: [12:12:31] <zippy> you guys are in the same motel?
620: [12:12:32] <ss23> hahaha
621: [12:12:42] <ss23> inb4 antmas figures out about that civic that drives around with the bass
622: [12:14:00] <antmas> Yeah
623: [12:14:04] * UndefinedOffset has joined #silverstripe
624: [12:14:11] <antmas> West plaza
625: [12:15:13] <irogue_> Hi undefinedoffset!
626: [12:16:11] <antmas> Colin and kingy ended up next door to a strip joint and a brothel :O
627: [12:16:21] <irogue_> I'm honestly trying to figure out if I can stay another night
628: [12:17:02] <antmas> XD
629: [12:17:24] <irogue_> Ss23 knows why
630: [12:18:12] <ss23> hahaha
631: [12:18:16] <ss23> wait
632: [12:18:17] <ss23> I know why?
633: [12:18:47] <irogue_> the thing tonight
634: [12:19:36] <irogue_> Everyone was all "oh man it sucks you're not gonna be here Friday night!"
635: [12:19:49] <ss23> oic hahhaaha
636: [12:19:51] <ss23> yeah yeah
637: [12:19:51] <ss23> XD
638: [12:20:01] <irogue_> And I'm like "THANKS FOR TELLING ME BEFORE NOW"
639: [12:20:08] * Frans_Amsterdam has joined #silverstripe
640: [12:20:43] <Frans_Amsterdam> Hi all,
641: [12:20:47] <antmas> What's Friday night?
642: [12:20:57] <zippy> Frans_Amsterdam: hi
643: [12:21:22] * spronk2 quit (Quit: spronk2)
644: [12:21:32] <ocmnt> heya Frans_Amsterdam
645: [12:21:43] <irogue_> antmas: a company thing
646: [12:22:15] <irogue_> I'd tell you but then I'd have to make you sign an employment contract :p
647: [12:22:36] <zippy> 1st of august...
648: [12:23:45] <Frans_Amsterdam> Hi All, I would like to ask some advice how to design a multiple language site in combination with subsites. It is a typical site for HQ and that same site is running the same content added with local news.
649: [12:24:20] * antmas looks for Spronk
650: [12:24:25] <irogue_> Bahahaha
651: [12:24:35] <Frans_Amsterdam> Accept using local url like .de .be .uk
652: [12:25:20] <irogue_> I've actually never used subsites. maybe ss23 can help
653: [12:26:02] <antmas> Irogue_ well janine has been giving me the wink so...
654: [12:26:11] <antmas> :p
655: [12:26:33] * antmas is probably reading that all wrong
656: [12:26:49] <irogue_> antmas: your work would be so mad :p
657: [12:27:06] <antmas> Indeed
658: [12:27:51] <zippy> who'd want to move to wellington thoug
659: [12:28:20] <irogue_> Colin would :p
660: [12:28:35] <irogue_> Janine should try and recruit him
661: [12:28:56] <zippy> Colin is a freelancer isn't he? always saying "clients gonna client"
662: [12:29:00] <zippy> he'd miss that too much
663: [12:29:03] <irogue_> Lure him with fibre and a country without Abbott
664: [12:29:48] <irogue_> antmas: WHY DOES THIS HOTEL NOT HAVE A MINI BAR
665: [12:30:13] <antmas> Irogue_ first world problems
666: [12:30:20] <zippy> https://www.google.co.nz/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=%22clients+gonna+client%22 -- colin makes the top 10 twice
667: [12:30:33] <irogue_> would totally be down for a tiny bottle of vodka right now
668: [12:30:49] <antmas> I'd move here, but like Colin I'd have to uproot the family :/
669: [12:30:59] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
670: [12:31:40] <irogue_> Single life ftw :p
671: [12:32:14] <antmas> Xero has already tried to poach me too
672: [12:32:27] <antmas> And Lucid, weirdly
673: [12:34:48] <irogue_> wtf is lucid
674: [12:35:03] <antmas>  Nelson Shopify house
675: [12:35:36] <irogue_> Oh right that place that guy was from
676: [12:36:04] <antmas> Yeah
677: [12:36:25] * Frans_Amsterdam has joined #silverstripe
678: [12:37:02] <ss23> oh god I'm watching Russel Brand
679: [12:37:05] <ss23> When I'm drunk I turn into Russel Brand ;_;
680: [12:37:42] * CodeTrap quit (Ping timeout: 245 seconds)
681: [12:38:01] <irogue_> ss23: bahaha
682: [12:39:07] <antmas> Apparently you turn very sarcastic!
683: [12:39:18] <antmas> So yeah, fits :p
684: [12:39:25] <ss23> hahahha
685: [12:42:32] * Frans_Am_ has joined #silverstripe
686: [12:46:02] * Frans_Am_ quit (Client Quit)
687: [12:52:55] <irogue_> I now fly out on Sunday :p
688: [12:53:47] <ss23> nice
689: [12:53:47] <ss23> :D
690: [12:53:52] <ss23> Yeah, I can drink tomorrow night
691: [12:53:52] <ss23> o/
692: [12:54:51] <irogue_> Woop woop
693: [12:55:16] <irogue_> Jetstar were surprisingly easy to deal with
694: [12:57:51] <zippy> even at 1 in the morning?
695: [12:58:40] <irogue_> Yep
696: [12:58:49] <irogue_> Was obv an Indian call centre
697: [12:58:55] <ss23> I wonder how much random drunken calls they get
698: [12:59:00] <ss23> "LET ME STAY ANOTHER DAY!!!!"
699: [12:59:17] <irogue_> ss23: so, basically me right now?
700: [12:59:32] <irogue_> :p
701: [12:59:53] <ss23> XD
702: [12:59:56] <zippy> derka derka derka
703: [13:00:19] <ss23> hahaha
704: [13:00:22] <ss23> sherpa maluka
705: [13:01:06] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
706: [13:03:22] * harold__ quit (Ping timeout: 246 seconds)
707: [13:05:07] * Frans_Amsterdam has joined #silverstripe
708: [13:08:22] * caamic30 has joined #silverstripe
709: [13:11:54] * Stomcch has joined #silverstripe
710: [13:13:28] * UndefinedOffset quit (Quit: Leaving.)
711: [13:13:57] <irogue_> Guess I should let hotel know too
712: [13:14:45] * UndefinedOffset has joined #silverstripe
713: [13:15:23] * Stomach quit (Ping timeout: 240 seconds)
714: [13:18:33] <irogue_> Zzzzzz
715: [13:18:39] * irogue_ quit (Quit: Bye)
716: [13:27:20] <caamic30> somebody here who tried using advanced CMS workflow module?
717: [13:29:10] * caamic30 quit (Quit: caamic30)
718: [13:45:17] <Pyi6k> zzzzzz
719: [13:45:36] <Pyi6k> HEY DOES ANYONE .. QUIT
720: [13:52:17] <zippy> ...
721: [13:52:25] <Pyi6k> omg WDCNZ and everyone got drunks
722: [13:52:33] <Pyi6k> LIKE ME LAST YEAR, TIME OF MY LIFE ;_;
723: [13:52:37] <Pyi6k> I missed out this year :<
724: [13:52:42] <Pyi6k> and there were more geeks
725: [13:52:52] <Pyi6k> Last year I got a ride back to my hotel in a bread truck.
726: [13:54:19] <Pyi6k> getting loose in wellington is legit.
727: [13:54:58] <zippy> :)
728: [13:55:02] <zippy> 2am, time for me to crash!
729: [13:55:06] <Pyi6k> so uhh
730: [13:55:22] <zippy> it was antmas
731: [13:55:33] * zippy quit (Quit: zippy)
732: [13:55:33] <Pyi6k> insert into blah(thing) values (select col from table)
733: [13:55:44] <Pyi6k> how to do wehn col is magics or something
734: [13:55:46] <Pyi6k> err
735: [13:55:49] <Pyi6k> return more than 1
736: [13:56:24] * zippy__ has joined #silverstripe
737: [13:57:34] * zippy__ quit (Client Quit)
738: [14:03:20] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
739: [14:03:44] * muskie9 has joined #silverstripe
740: [14:08:15] * catcher has joined #silverstripe
741: [14:46:40] <Pyi6k> tiem 2 go
742: [14:46:41] * Pyi6k quit ()
743: [15:04:44] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
744: [15:31:50] * oddnoc has joined #silverstripe
745: [15:43:52] * jenniferaslan has joined #silverstripe
746: [15:50:27] * CodeTrap has joined #silverstripe
747: [15:54:27] <ocmnt> ^
748: [15:59:46] * CodeTrap1 has joined #silverstripe
749: [16:01:07] * CodeTrap quit (Ping timeout: 245 seconds)
750: [16:01:28] * r3v3rb quit (Quit: r3v3rb)
751: [16:29:58] * kinglozzer quit ()
752: [16:30:39] * stnvh quit ()
753: [16:33:11] * MiniZeka has joined #silverstripe
754: [16:33:21] <MiniZeka> Hi
755: [16:33:34] <MiniZeka> why on Earth I can't translate my website?
756: [16:33:45] <MiniZeka> run dev/tasks text collector
757: [16:33:48] <MiniZeka> got en.yml
758: [16:33:55] <MiniZeka> translated in to norwegian
759: [16:34:03] <MiniZeka> named no_NB.yml
760: [16:34:16] <MiniZeka> added i18n::set_locale('no_NB'); to config
761: [16:34:38] <MiniZeka> but website still shows english
762: [16:36:06] <MiniZeka> \any advice?
763: [16:37:05] <oddnoc> I haven’t worked with the new yml-based translations. It is only 04:30 in NZ, so you might have to wait a few hours for them to wake up.
764: [16:37:16] <catcher> ^
765: [16:37:43] <MiniZeka> :(
766: [16:40:02] * jenniferaslan quit (Quit: jenniferaslan has left the room)
767: [16:40:15] <oddnoc> This http://doc.silverstripe.org/framework/en/topics/i18n (Language Definitions section) seems to imply that your file should be named no.yml, without the country part.
768: [16:43:33] * jenniferaslan has joined #silverstripe
769: [16:43:54] <MiniZeka> oddnoc: tried that, no luck
770: [16:44:05] <oddnoc> :(
771: [16:44:34] <oddnoc> Oh, one more thing. You do have to do a dev/build after changing any yml file.
772: [16:45:58] <MiniZeka> I think it's flush=1 that should be run
773: [16:46:07] <MiniZeka> but tried dev/build also
774: [16:46:11] <MiniZeka> same results
775: [16:46:37] <oddnoc> For yml, since 3.1, it’s dev/build. Sorry it isn’t working in this instance, though.
776: [16:47:05] <MiniZeka> strangest part is that it's working on localhost
777: [16:49:52] <MiniZeka> and I'm quite sure I uploaded everything
778: [16:50:37] <oddnoc> Given the time difference, you might post in the forum in the meantime.
779: [16:54:02] <MiniZeka> ... I'm an idiot, I confess
780: [16:54:19] <MiniZeka> I uploaded everything... EXCEPT TEMPLATES :(
781: [16:57:03] <oddnoc> :) problem solved, I hope!
782: [16:57:58] <MiniZeka> yeah... that's why it worked on localhost...
783: [16:58:08] <MiniZeka> I kept uploading _config and yml files
784: [16:58:42] <MiniZeka> but templates were'n uploaded, so website showed hard-coded strings
785: [17:21:38] * UncleCheese has joined #silverstripe
786: [17:22:44] * UndefinedOffset quit (Quit: Leaving.)
787: [17:43:33] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
788: [17:52:39] * UndefinedOffset has joined #silverstripe
789: [18:53:25] * CodeTrap has joined #silverstripe
790: [18:54:53] * CodeTrap1 quit (Ping timeout: 240 seconds)
791: [19:55:12] * joelpittet has joined #silverstripe
792: [20:07:42] * Cheddam has joined #silverstripe
793: [20:15:11] * mobiusnz has joined #silverstripe
794: [20:17:03] * Olliepop has joined #silverstripe
795: [20:17:58] * Kingy[a] is now known as Kingy
796: [20:18:23] <Stomcch> morning Kingy
797: [20:18:25] <Stomcch> how was wdcnz
798: [20:18:42] <Kingy> yeah it was awesome
799: [20:18:49] <Kingy> post-post drinks drinks was also very fun
800: [20:18:56] <Kingy> poor ss23 lol
801: [20:19:52] <Stomcch> did he get some smack
802: [20:20:08] <Kingy> he's on 24/7 support
803: [20:20:18] <Kingy> so we were tweeting at him all night and he got a tad angry haha
804: [20:20:36] <Kingy> https://twitter.com/ss2342
805: [20:20:59] <oddnoc> rough night
806: [20:22:23] <Kingy> but yeah Stomcch the talks were great (apart from the functional programming)
807: [20:23:57] * Stomcch is now known as Stomach
808: [20:28:53] * r3v3rb has joined #silverstripe
809: [20:40:17] * zippy__ has joined #silverstripe
810: [20:41:04] <zippy__> morning
811: [20:41:08] * zippy__ is now known as zippy
812: [20:41:17] * zippy rubs his shiny new nickname
813: [20:41:26] * nickmolhoek has joined #silverstripe
814: [20:41:54] <Kingy> hey
815: [20:43:47] * Ryan-Toast has joined #silverstripe
816: [20:45:07] <zippy> morings
817: [20:49:16] <Ryan-Toast> merning
818: [20:51:16] * irogue_ has joined #silverstripe
819: [20:53:00] <zippy> irogue_: morning
820: [20:53:07] <irogue_> mornin'
821: [20:54:07] * MiniZeka quit (Ping timeout: 246 seconds)
822: [20:56:52] * catcher quit (Quit: Leaving)
823: [20:57:16] <irogue_> HAI Stomach and Kingy
824: [20:57:39] <Stomach> howdy
825: [20:58:26] <Kingy> hey irogue_
826: [20:58:32] <Kingy> you made the 9am standup then
827: [20:58:33] <Kingy> good work
828: [20:59:09] <irogue_> haha yep
829: [20:59:13] <zippy> Kingy: was looking dicy http://logs.simon.geek.nz/index.php?date=2014-08-01#log_1358648
830: [20:59:21] <irogue_> even had breakfast at the hotel first
831: [20:59:39] <zippy> sorted out the hotel room for another night?
832: [20:59:44] <Kingy> zippy: haha I saw on twitter he was trying to wind people up in IRC
833: [20:59:51] * UndefinedOffset quit (Quit: Leaving.)
834: [21:00:08] <zippy> na, he was just saying that to cover himself ;-)
835: [21:00:56] <Kingy> lol
836: [21:01:01] <Kingy> wish I didn't live so far away now
837: [21:05:30] <irogue_> zippy: yep
838: [21:05:36] <irogue_> same room even
839: [21:09:28] * Jakx has joined #silverstripe
840: [21:09:33] <Jakx> Friday! :(
841: [21:09:57] <Kingy> I've never seen a sad face next to the word friday before
842: [21:10:01] <Jakx> 90% of the time, I make up for work I didn't do on Monday... on Friday :(
843: [21:10:34] <Blacklite> "technical debt"
844: [21:11:04] <Jakx> It's like this, http://weknowmemes.com/wp-content/uploads/2011/12/its-friday-fuck-this-shit-mondays.jpg, but the opposite.
845: [21:11:12] <Ryan-Toast> Coming back to a project aftyer 2 weeks of working on other biz: http://i.imgur.com/1jinTf2.gif
846: [21:11:17] <Jakx> Sorry, http://weknowmemes.com/wp-content/uploads/2011/12/its-friday-fuck-this-shit-mondays.jpg
847: [21:11:21] <Jakx> too much grammar.
848: [21:11:23] <Jakx> haha
849: [21:11:41] <Jakx> Ryan-Toast, haha.
850: [21:11:54] <Ryan-Toast> It’s an API project too, shit.
851: [21:12:25] <Ryan-Toast> Kingy: I find I’m more like: Saturday :)
852: [21:12:32] <Ryan-Toast> or Friday 4pm onwards
853: [21:12:46] <Kingy> yeah that's true
854: [21:12:54] <Kingy> although friday being casual friday makes it better
855: [21:13:08] <zippy> Ryan-Toast: get ya site up?
856: [21:13:26] * r3v3rb quit (Quit: r3v3rb)
857: [21:13:26] <Ryan-Toast> zippy: Nope, handed it off to the hosting people to fix.
858: [21:13:29] <Ryan-Toast> because cbf
859: [21:13:44] <Ryan-Toast> If they want it on that weird server they can make it work.
860: [21:13:44] <Jakx> In the CMS, what can I use in place of $this->request->requestVar(), from SiteTree context? (I'm extending Page)
861: [21:14:07] <zippy> Jakx: what are you trying to do ?
862: [21:14:12] <Kingy> irogue_: you must be glad you aren't flying out today.. Windy as shit
863: [21:14:19] <irogue_> Kingy: yeah
864: [21:14:24] <Jakx> zippy, trying to get my gridfield search params
865: [21:14:25] <zippy> Ryan-Toast: still broke!
866: [21:14:26] <irogue_> tho, odds are it will be on sunday too :P
867: [21:14:29] <irogue_> wellington, after all
868: [21:14:45] <Ryan-Toast> zippy: Lol, yup.
869: [21:14:47] <Kingy> yeah old sam the man on breakfast was saying it's going to be a shit weekend
870: [21:15:04] <Kingy> fuck sakes there is a gap in the concrete wall next to me and the wind sounds like a computer fan going ballistic
871: [21:15:22] <zippy> Jakx: can you use Controller::curr()->request->requestVar()
872: [21:15:26] <zippy> else, $_GET :P
873: [21:15:47] <Ryan-Toast> Kingy: Some people’s shit weekend, is Ryan’s gaming happy weekend.
874: [21:15:54] <Ryan-Toast> comma for no reason.
875: [21:16:04] <Kingy> yeah same
876: [21:16:12] <zippy> Ryan-Toast: no it's a pause for dramatic effect
877: [21:16:19] <Kingy> i just got a xbox wireless receiver for my pc
878: [21:16:26] <Kingy> so i can finally play don bradman cricket
879: [21:16:27] <Kingy> :D
880: [21:17:00] <Ryan-Toast> Kingy: I brought a bluetooth dongle to connect my wireless controllers and play playstation one games. IT’s great.
881: [21:17:22] <Ryan-Toast> and smetimes GBA games on the FOOKING BIGSCREEN, SON
882: [21:17:32] <Kingy> lol
883: [21:17:53] * adrexia has joined #silverstripe
884: [21:18:22] <irogue_> mornin' adrexia
885: [21:18:25] <adrexia> heya
886: [21:18:56] <Kingy> hi
887: [21:19:26] <Ryan-Toast> Oh Mary. You’re so fucking good at this game: http://tympanus.net/Development/FullscreenForm/
888: [21:19:49] * r3v3rb has joined #silverstripe
889: [21:19:51] <zippy> I thought there was a dev query you could use to profile the code a bit
890: [21:19:59] <Jakx> zippy, Controller::curr()->request->requestVar() worked great! Ty!
891: [21:20:02] <zippy> r3v3rb: get it sorted?
892: [21:20:25] <r3v3rb> que?
893: [21:20:54] <zippy> Ryan-Toast: thats quite a cool form, the elements and button need to be a tad brighter, but thsts cool
894: [21:21:16] <Ryan-Toast> zippy: Yeah would move the contnue button, but awesome concept.
895: [21:21:33] * r3v3rb quit (Client Quit)
896: [21:23:09] <adrexia> shiny!
897: [21:23:24] <zippy> so all the profile stuff like debug_profile got removed in 3.1?
898: [21:26:00] <zippy> using TemplateGlobalProvider is petty handy
899: [21:29:18] <Ryan-Toast> Is this the incrrect way to send vars toa view or something? return $this->customise($product_array)->renderWith(array('EbossRangePage', 'Page'));
900: [21:30:47] <adrexia> if you need toadd sopmething to it first, yes
901: [21:31:08] <Ryan-Toast> adrexia: I have :P
902: [21:31:27] <adrexia> I need to finish my coffee
903: [21:31:33] <adrexia> I can't read english yet
904: [21:31:41] * irogue_ starts on the V
905: [21:31:55] <Kingy> you all just need to go and get that $19 cider again
906: [21:32:21] <Ryan-Toast> Like a aballer’ Recordalig, or however it’s spelt?
907: [21:32:31] <Kingy> What was it called irogue_?
908: [21:32:39] <Kingy> It was 8.5% apparently
909: [21:32:47] <Kingy> and he couldn't even skull it :P
910: [21:32:53] <adrexia> *good*
911: [21:33:22] <zippy> implements TemplateGlobalProvider on ALL THINGS
912: [21:33:38] <irogue_> http://www.twothumb.com/sandrc.html
913: [21:33:57] <zippy> Ryan-Toast: something like that, it work?
914: [21:34:20] <Ryan-Toast> zippy: Something like what?
915: [21:34:52] <zippy> Ryan-Toast: Is this the incrrect way to send vars toa view or something?
916: [21:35:26] <Ryan-Toast> zippy: It works kinda, but sends the wrong biz.,
917: [21:35:31] <Ryan-Toast> Too early in the morning.
918: [21:35:38] <zippy> sends the wrong biz?
919: [21:36:40] <zippy> so in SS, are static methods ment to be like_this not likeThis
920: [21:36:57] <Ryan-Toast> zippy: Figured out the issue, just me being dumb and sending an ArrayList instead of an array
921: [21:37:04] <zippy> ;-)
922: [21:37:19] <zippy> easy mistake, as some functions called in views need an ArrayList
923: [21:37:36] <Ryan-Toast> zippy: It’s working: http://i.imgur.com/3gdfK.gif
924: [21:39:28] * babak quit (Quit: Connection closed for inactivity)
925: [21:50:36] <Jakx> What is the best reference for "admin/pages/edit/show/"? So that I can use it in Controller::join_links() i.e something like singleton('CMSMain')->Link('show')...
926: [21:55:25] <zippy> How can I check if an object already exists in a many_many relationship? like, ->Groups()->exists($myGroup)
927: [21:55:50] <zippy> Jakx: isn't that link bult via the link on the controller?
928: [21:57:38] <Jakx> zippy, not sure.
929: [21:57:46] <zippy> give it a crack
930: [21:58:49] <irogue_> I'm sitting in the euro corner
931: [21:59:02] <irogue_> with Ingo, Stig and Mateusz
932: [21:59:55] <zippy> irogue_: ask them, whats the method to see if an object/id exists already in a many_many relationship :D
933: [22:00:46] <irogue_> zippy: they're busy discussing some shiz
934: [22:01:08] <zippy> hopefully the big questions..
935: [22:01:19] <zippy> how to remove the flush need :)
936: [22:01:23] <zippy> folder restructure
937: [22:03:46] * muskie9 quit (Ping timeout: 272 seconds)
938: [22:05:06] * mobiusnz quit (Quit: Leaving.)
939: [22:05:43] * muskie9 has joined #silverstripe
940: [22:06:03] <Kingy> irogue_: has Patrick and Colin arrived yet?
941: [22:09:43] <Ryan-Toast> Client just gave me a cake, aww yiss
942: [22:10:01] <zippy> In a many_many relationship, is there a way to get the ID from the pivot table?
943: [22:11:38] <irogue_> zippy: re your earlier question, I'd think you'd use http://api.silverstripe.org/3.1/class-ManyManyList.html#_foreignIDFilter
944: [22:13:03] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
945: [22:15:22] <zippy> irogue_: thanks, so I have my ManyManyList - now I want to get the ID of the item in the list which matches my ObjectID
946: [22:15:37] <Jakx> Is there any reason why my class isn't effecting it's target? http://sspaste.com/paste/show/53dabba587b4c
947: [22:16:05] <Jakx> Is all setup in config.yml etc
948: [22:16:36] <Stomach> you dont need to return $form in an extension
949: [22:16:59] <Stomach> also is there a updateEditForm hook in the object you're trying to decorate?
950: [22:17:23] <irogue_> zippy: something like $this->OtherThing()->forForeignID($id)->ID ?
951: [22:17:28] <irogue_> i'm just kinda guessing here :P
952: [22:18:08] <Jakx> Stomach, that's good to know. Also, I'm not sure, I just assumed there would be seeing as CMSFileAddController extends LeftAndMain?
953: [22:18:26] <zippy> I tried $this->OtherThing()->filter('ItemID', 2)->first(); but that returns my Item now the row in the many. Will try that irogue_
954: [22:19:37] <Stomach> Jakx, it doesnt look like it does
955: [22:21:03] <Jakx> Stomach, yeah... hmmm :(. Is this an appropriate place to add such a hook? Maybe, submit it to the SS repo?
956: [22:21:21] <zippy> hmm I tried to do a DataObject::get_one on the Page_Object pivot table, but it balks that the Page_Object model doesn't exist
957: [22:21:26] <zippy> balls, there must be a way
958: [22:21:33] <zippy> maybe I need to go more raw
959: [22:21:53] <Jakx> Stomach, or should I instead just overwrite the getEditForm() method?
960: [22:25:08] <Jakx> Stomach, even if I overwrite the getEditForm() method, I still get nothing. Any suggestions?
961: [22:27:16] <Jakx> Stomach, I just added the hook. Seems to be working - not happy about it - but I gotta get this done :(. Thanks for the assist man!
962: [22:27:18] <zippy> Jakx: you flushed?
963: [22:27:36] <Jakx> zippy, yeah
964: [22:27:36] <Stomach> Jakx, yeah that would be a good pull request
965: [22:28:21] <Stomach> and if you want to overwrite the geteditform action, then you would have to extend the CMSFileAddController, not DataExtension
966: [22:29:12] <Stomach> then use your custom class rather than the CMSFileAddController
967: [22:40:48] * harold_ has joined #silverstripe
968: [22:40:55] <harold_> hi guys can anyone help with this problem
969: [22:41:02] <harold_> I have included a template file
970: [22:41:09] <harold_> now when i open my page:
971: [22:41:10] <harold_> [Warning] Missing argument 1 for ViewableData::getField(), called in /home/qwejhibskjcwkjjk/lewishamplumber.com/framework/view/ViewableData.php on line 108 and defined
972: [22:41:30] <harold_> i have rebuilt and flushed
973: [22:45:04] <Jakx> Just submitted my first pull request to Silverstripe CMS. This is a big day for me. 1 line of code! Aha.
974: [22:45:24] <irogue_> lol
975: [22:45:39] <irogue_> link me :P
976: [22:45:54] <Jakx> https://github.com/silverstripe/silverstripe-cms/pull/1068
977: [22:46:32] <Jakx> Next time, I might not create an issue item as well.
978: [22:47:32] <irogue_> heh, world's simplest PR?
979: [22:47:41] <irogue_> mmm. Joel is good at baking scones
980: [22:48:26] <Jakx> irogue_, gotta start somewhere I guess! Who knows, maybe my next PR will be 3 lines changed.
981: [22:48:41] <irogue_> Jakx: simple is good. means it has a chance of actually being merged :P
982: [22:48:52] <irogue_> especially on a hackday
983: [22:49:23] <Stomach> Jakx, nah just rewrite the orm for your next one
984: [22:49:58] <irogue_> haha
985: [22:50:08] <Stomach> irogue_, when are they gonna give you pull the trigger permission on core? :D
986: [22:50:17] <irogue_> Stomach: hopefully never :P
987: [22:50:28] <irogue_> too much responsibility for my liking, lol
988: [22:50:28] <Stomach> thats the spirit!
989: [22:50:52] * harold_ quit (Quit: Page closed)
990: [22:51:01] <Jakx> Stomach, lol
991: [22:56:33] * UncleCheese has joined #silverstripe
992: [23:02:26] <oddnoc> Soooo…. Not possible to extend init() from an Extension?
993: [23:02:29] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
994: [23:03:46] <oddnoc> Or… extension not being added to controller from YAML….
995: [23:04:56] <zippy> ;-)
996: [23:06:32] <oddnoc> Aha! Helps to have the right class names in the YAML. I really should replace this brain.
997: [23:11:09] * jenniferaslan quit (Quit: jenniferaslan has left the room)
998: [23:13:33] * mobiusnz has joined #silverstripe
999: [23:15:09] <oddnoc> And but no… Looks like I have to put some glue in Page->init() :(
1000: [23:16:59] * mirrors has joined #silverstripe
1001: [23:28:17] * Pyrolysis has joined #silverstripe
1002: [23:28:45] <Pyrolysis> so, what is this?
1003: [23:28:53] <oddnoc> How can an object have an extension, yet not have that extension instance?
1004: [23:29:12] <Pyrolysis> don't
1005: [23:29:25] <Pyrolysis> Assad shot
1006: [23:29:32] <zippy> eh
1007: [23:29:36] <Pyrolysis> zz
1008: [23:29:54] * Pyrolysis quit (Client Quit)
1009: [23:31:44] <Kingy> wtf
1010: [23:33:28] <oddnoc> No, I’ve asked that wrong. This needs more digging off line. Cheers, all.
1011: [23:33:32] * oddnoc quit (Quit: It must be Beer:30!)
1012: [23:35:33] * camfindlay has joined #silverstripe
1013: [23:35:41] * Colin[pi]_Mac has joined #silverstripe
1014: [23:35:49] <Colin[pi]_Mac> morning all :)
1015: [23:35:53] <zippy> hello
1016: [23:35:55] <camfindlay> yo!
1017: [23:35:55] <irogue_> oh look, a wild Colin[pi]_Mac and camfindlay appear
1018: [23:36:04] <Ryan-Toast> Hai
1019: [23:36:07] <Kingy> haha
1020: [23:36:08] <Colin[pi]_Mac> it's almost like you could see us
1021: [23:36:30] * wracu has joined #silverstripe
1022: [23:36:32] <Kingy> how you going Colin[pi]_Mac
1023: [23:36:44] * wracu quit (Client Quit)
1024: [23:36:46] <Colin[pi]_Mac> good mate!
1025: [23:36:56] <Ryan-Toast> how was your burger fuel?
1026: [23:37:02] * wracu has joined #silverstripe
1027: [23:37:19] <Kingy> fantastic as usual
1028: [23:37:34] <Kingy> was for me anyway
1029: [23:37:44] <Kingy> can't speak for Colin[pi]_Mac or irogue_
1030: [23:39:59] <zippy> was it a first for Colin[pi]_Mac ?
1031: [23:40:09] <Colin[pi]_Mac> yes it was my first time
1032: [23:40:20] <irogue_> yeah, we took Colin[pi]_Mac and antmas' burgerfuel virginity
1033: [23:40:22] <zippy> did it live up to the hype of the channel?
1034: [23:40:34] <irogue_> I don't think anything can live up to the hype
1035: [23:40:53] <Colin[pi]_Mac> was alright, I think I was a bit too intoxicated to really notice!
1036: [23:40:56] <zippy> whenever ss23 moans about it, will your mouth drool
1037: [23:41:22] <Kingy> haha Colin[pi]_Mac
1038: [23:47:37] <zippy> omg, the hold music at web drive is farking terrible!
1039: [23:47:39] * harold_ has joined #silverstripe
1040: [23:48:48] <zippy> it's slit the wrists worthy
1041: [23:48:58] <harold_> will future versions of SS address the cache/flush problem?
1042: [23:49:04] <zippy> the same build up and message on a 15/20 second repeat loop
1043: [23:49:07] <zippy> harold_: whats the problem?
1044: [23:49:39] <harold_> some servers I work on don't flush properly
1045: [23:49:54] <harold_> i have some code
1046: [23:49:56] <harold_> locally
1047: [23:50:03] <harold_> flush wasn't working
1048: [23:50:13] <harold_> tried deleting the folder manually
1049: [23:50:14] <harold_> flush=1
1050: [23:50:17] <harold_> flush=all
1051: [23:50:20] <harold_> no joy
1052: [23:50:27] <harold_> different server and it flushes first time
1053: [23:51:46] <zippy> so it's a server issue? like the permissions on the files don't allow apache to remove them?
1054: [23:51:57] <irogue_> harold_: is it mediatemple by chance?
1055: [23:52:28] <harold_> no...
1056: [23:52:36] <harold_> the problem is with my local machine
1057: [23:52:38] <harold_> WAMP
1058: [23:52:42] <harold_> hosted flushed ok
1059: [23:52:56] <irogue_> ok, must be some kind of permission issue
1060: [23:54:25] <harold_> but i nuked the cache folder manualyl
1061: [23:54:43] <harold_> but I've experienced this before, on a MAC also
1062: [23:56:11] * Colin[pi]_Mac has joined #silverstripe
1063: [23:56:42] * AndroUser has joined #silverstripe
1064: [23:58:10] * AndroUser is now known as antmas
1065: [23:58:28] <harold_> is 'testimonial' a reserved table name?
1066: [23:58:35] <zippy> nop
1067: [23:59:24] <antmas> Morning all!
1068: [23:59:44] <Kingy> hey ya
1069: [23:59:55] <harold_> this is my simple dataobject that stored testimnials
1070: [23:59:55] <Kingy> afternoon now
1071: [23:59:56] <harold_> http://paste2.org/Df74AXeN

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