#silverstripe IRC Log

IRC log for 6 November 2013

All timestamps are in UTC.

1: [00:00:58] * pippy quit (Ping timeout: 245 seconds)
2: [00:03:22] * SMaction has joined #silverstripe
3: [00:05:09] <SMaction> I am using windows 7 silverstripe 2.4.x and WAMP for development on localhost. These choices were not mine and cannot be changed. Help! Can anyone tell me what version of apache php etc to use in wamp and any other configuration information that might help. I am at a loss
4: [00:06:11] <antmas> 5.4
5: [00:06:15] <antmas> php
6: [00:06:55] <antmas> SMaction: what errors are you getting?
7: [00:12:29] <simon_w> madmatt, going to have TVs and stuff working up with the merch desk over the weekend?
8: [00:13:01] * guci0 quit (Ping timeout: 250 seconds)
9: [00:13:05] * Sj0hn quit (Read error: Connection reset by peer)
10: [00:15:23] <irogue23> GODDAMMIT
11: [00:15:27] <irogue23> too many things use 2.4GHz
12: [00:16:18] <irogue23> figured out why my bluetooth headset kept dropping, was being interfered with by my wireless headphones
13: [00:16:26] <spronk> hm
14: [00:16:49] <spronk> why would $fields->push(new HiddenField('SubsiteID', 'SubsiteID', Subsite::currentSubsiteID())); not add a field to my form output?
15: [00:17:29] <simon_w> Custom form template?
16: [00:18:08] <spronk> no custom template, just a form object extending Form
17: [00:18:12] <spronk> creating fields in construictor
18: [00:18:26] <simon_w> Duplicate field?
19: [00:18:36] <spronk> ugh, never mind
20: [00:18:40] <spronk> someone's added a custom template
21: [00:18:50] <spronk> cheers simon_w
22: [00:19:08] <simon_w> For those, just stick in $HiddenFields
23: [00:19:14] <simon_w> or loop it and $Field
24: [00:19:24] <spronk> mm
25: [00:22:42] <antmas> fffff ports
26: [00:24:21] <antmas> https://www.humblebundle.com/
27: [00:24:28] <Colin[pi]> ooh I possibly have an NZ based client on the way
28: [00:24:34] <Pyromanik> TIL, anti-firearm protestors don't understand the conecpt of ecological impact when trading biological goods.
29: [00:24:37] <Pyromanik> http://oxfam.ca/our-work/campaigns/arms-trade-treaty
30: [00:25:07] <simon_w> And people that protest animal testing don't understand how it works?
31: [00:25:47] <Pyromanik> or at least choose to ignore the fact that firearm imports have a social impact (apples) vs plant imports which have an ecological impact (oranges)
32: [00:26:57] <Pyromanik> simon_w: most things protested in this world are perpetuated by rhetoric and fallacies.
33: [00:27:24] <Pyromanik> mostly due to very few of the advocates actually bothering to learn fuck all about what actually happens.
34: [00:28:03] <Pyromanik> sad, because sometimes they have points. But the general fanatacisim makes them look like rabid loonies.
35: [00:28:58] <Pyromanik> eg. arms related violence. Sure, there should be more regulations - but that's up to an individual country to impose and enforce, not the fact that it's easier to trade them around the world.
36: [00:29:04] <simon_w> The bride and one of the bridesmaids at the wedding over the weekend are involved with lab based animal testing. Apparently, everything brought up against that process is based on what happened in the 50s
37: [00:29:56] <Pyromanik> pretty much.
38: [00:30:02] <Pyromanik> I didn't really expect much less.
39: [00:30:21] <Pyromanik> I don't think they put wigs and lipstick on pig snouts like most people seem to think.
40: [00:31:18] <simon_w> Well, there is still make up testing on animals, where they do that, but the protests don't distinguish between ending that (good) and all forms of animal testing (stupid)
41: [00:31:49] <Pyromanik> yeah sure, making an animal suffer I disagree with. But I also understand that most testing isn't overly unethical, and that if we didn't have it... I don't think many of these protestors would put their hand up for experimental drugs in the absense of rats.
42: [00:32:17] <Pyromanik> etcv
43: [00:32:19] <Pyromanik> -v
44: [00:34:16] <Pyromanik> also, does SS pick up abstract classes extending DataObject?
45: [00:34:20] <antmas> if we didn't have it, medicine would be practially still int the dark ages
46: [00:34:29] <Pyromanik> or will I destroificate my universe?
47: [00:34:58] <Pyromanik> antmas: exactly. Or there'd be more mass graves all over the world where they test on homeless people, and we'd be protesting that instead.
48: [00:35:37] * elgrodo quit (Remote host closed the connection)
49: [00:35:59] <simon_w> Pyromanik, abstract DO extensions screw up dev/build
50: [00:36:39] <Pyromanik> fff :<
51: [00:36:41] <Pyromanik> ok
52: [00:36:42] <Pyromanik> ta
53: [00:37:07] <Pyromanik> This is where a trait would come in handy I guess :<
54: [00:37:17] <Pyromanik> FU 5.3
55: [00:37:33] <spronk> o_O
56: [00:39:49] <Pyromanik> setBlah(){ $this->setField('Blah', $val); } won't cause an infinite loop will it?
57: [00:40:50] <simon_w> No infinite loop
58: [00:42:55] * antmas quit (Ping timeout: 250 seconds)
59: [00:43:26] * markd has joined #silverstripe
60: [00:47:47] * antmas has joined #silverstripe
61: [00:49:28] <Pyromanik> time to go get shit done.
62: [00:49:29] * Pyromanik quit (Quit: leaving)
63: [00:53:40] * UncleCheese has joined #silverstripe
64: [00:58:28] * nick86 has joined #silverstripe
65: [00:58:53] <nick86> hey guys, what is the best way to get the ID from a has_one on a dataobject?
66: [00:58:54] <nick86> public function populateDefaults() {
67: [00:58:54] <nick86> parent::populateDefaults();
68: [00:58:54] <nick86> $this->DetailPage = $this->DetailPage->ID;
69: [00:58:54] <nick86> }
70: [00:59:23] <nick86> where Detail Page has a many_many relations ship with this DataObject
71: [00:59:25] <simon_w> Well, in populdateDefaults, the has_one will be 0
72: [00:59:38] <simon_w> And the many_many will be empty
73: [01:01:01] <nick86> ok, just to confirm, you mean that populateDefaults does not know about the relationship?
74: [01:01:16] <simon_w> No, in populdateDefaults, the relationship doesn't exist
75: [01:01:35] <simon_w> That's only called when creating an object, before anything else happens to it
76: [01:01:56] <nick86> is there another way to get the ID of the Parent in the realtionship?
77: [01:02:41] <simon_w> $this->DetailPageID will have it, once it has been set
78: [01:03:11] <unsignedint> hey does anyone know how to make GridField display data from the many_many_extraFields where there is a field in the parent class with the same name
79: [01:03:13] <unsignedint> eg http://www.sspaste.com/paste/show/52799352bba5a
80: [01:03:37] <unsignedint> the parent class field value overrides the value on the $many_many_extraFields table
81: [01:04:11] <nick86> great, one more question... how do i set it?
82: [01:04:13] <nick86> :P
83: [01:04:27] <nick86> or when does it get set?
84: [01:04:35] <Avroceptyr> 120367706-|--|-manuel.schlegel@epfl.ch-|-ymWUw/xbUgzioxG6CatHBw==-|-wia immer|--
85: [01:04:40] <Avroceptyr> 120367706-|--|-manuel.schlegel@epfl.ch-|-ymWUw/xbUgzioxG6CatHBw==-|-wia immer|--
86: [01:04:42] <simon_w> How are you creating the object?
87: [01:04:43] <Avroceptyr> 120367706-|--|-manuel.schlegel@epfl.ch-|-ymWUw/xbUgzioxG6CatHBw==-|-wia immer|--
88: [01:05:28] <nick86> it is through a gridfield
89: [01:06:05] <simon_w> Managing a has_many?
90: [01:06:45] <nick86> yep
91: [01:06:54] <simon_w> Then it is set when you save the object
92: [01:07:44] <nick86> oh ok, is there any way to set it before? just looks confusing having it blank in the CMS
93: [01:08:41] * mdowton has joined #silverstripe
94: [01:08:46] <simon_w> Just don't show the field
95: [01:09:26] <unsignedint> simon_w: whats the correct way to show a ManyMany relation value in GridFIeld?
96: [01:10:05] <simon_w> unsignedint, first, you're never going to be able to get the value in a sane way if you're overriding it
97: [01:10:07] <nick86> i have tried to turn it off, but removeFieldFromTab does not seem to work on these
98: [01:10:35] <simon_w> nick86, field name's DetailPageID
99: [01:10:50] <nick86> ok, will try that, may have left off the ID
100: [01:12:12] <unsignedint> im good with an insane way :P ok will rename the field
101: [01:12:21] <unsignedint> just wondering if there was a way around it
102: [01:12:41] <nick86> brilliant, that worked simon
103: [01:12:51] * EasyCo has joined #silverstripe
104: [01:12:55] <nick86> you would not believe how long i have been googleing that!!
105: [01:13:08] <nick86> might write a post on it, seems to be a gap in the community
106: [01:14:37] <antmas> hmmmm
107: [01:15:20] <antmas> anyone know why (suddenly) one would get an openssl not enabled exception when running a composer install?
108: [01:15:34] <antmas> it has never BEEN enabled
109: [01:16:28] <simon_w> Because you're trying to install something that's using SSL
110: [01:17:02] <antmas> but it installed just fine before
111: [01:17:05] <antmas> without it being enabled
112: [01:17:41] <antmas> the only thing that has changed is the lock/json files point at 1.0 instead of dev-master for this particular module
113: [01:19:28] <antmas> :<
114: [01:20:34] * pippy_ is now known as pippy
115: [01:21:24] * chillu quit (Quit: chillu)
116: [01:23:48] * mobiusnz`home has joined #silverstripe
117: [01:25:58] <antmas> any ideas?
118: [01:26:42] * wilr_ has joined #silverstripe
119: [01:27:06] <wilr_> Welcome back simon_w
120: [01:27:22] <simon_w> oh noes, I'm back!
121: [01:27:43] <wilr_> didn't miss much
122: [01:28:26] <ss23> :O
123: [01:29:36] <simon_w> No surprise there
124: [01:30:09] <EasyCo> Gotta tan?
125: [01:30:30] <simon_w> Need to schedule some extended downtime for the work servers at some point though
126: [01:30:37] <simon_w> Pfft, like I'd be outside for long enough to tan
127: [01:30:44] <irogue23> i have a tan!
128: [01:30:49] <irogue23> which is most uncommon
129: [01:31:37] <EasyCo> haha
130: [01:32:53] <simon_w> Bah, could really do with a clothes dryer on days like today
131: [01:33:46] <irogue23> laundromat time!
132: [01:36:12] <simon_w> In Karori? Get real :p
133: [01:36:37] <irogue23> lol
134: [01:36:49] <irogue23> that was my problem living in North Shore of Auckland
135: [01:37:06] <simon_w> Hmm, wonder if it's worth going across to my parents' or just wear these shorts three days in a row
136: [01:37:06] <irogue23> only laundromat was in Glenfield, and only open work hours
137: [01:37:37] * mobiusnz`home quit (Quit: Leaving.)
138: [01:37:40] <irogue23> whereas my current place in the slums of Hamilton, 3 laundromats within walking distance (though walking to one of them would involve walking down a street i'd likely get stabbed in)
139: [01:38:08] <irogue23> simon_w: as long as you haven't sharted, 3 days is fine :P
140: [01:38:29] <Colin[pi]> LOL
141: [01:38:52] <antmas> turn em inside out
142: [01:38:54] <antmas> :P
143: [01:42:01] <simon_w> I guess I could turn the heatpimp on too :p
144: [01:42:18] <simon_w> Domestics: they're hard and stuff
145: [01:42:27] <antmas> HEATPIMP
146: [01:42:27] * Motoservo has joined #silverstripe
147: [01:47:09] <ss23> rofl
148: [01:47:11] <ss23> the heatpimp
149: [01:51:43] * Avroceptyr has joined #silverstripe
150: [01:52:19] <Colin[pi]> ahahaha
151: [01:52:37] <Colin[pi]> HEATPIMP GOT HIMSELF A FLAMIN TOP HAT
152: [01:53:01] <antmas> ROFL
153: [02:06:46] <simon_w> You're all just jealous of my heatpimp
154: [02:07:04] <Colin[pi]> I am very jealous of your heatpimp
155: [02:09:04] <simon_w> Anyway, back to more servery awesomeness
156: [02:11:59] <Ryan-Toast> How do I stop my HtmlEditorFields from doing this: http://i.imgur.com/048zha6.png
157: [02:12:11] * keksters quit (Ping timeout: 250 seconds)
158: [02:21:45] * fpereira1 quit (Ping timeout: 250 seconds)
159: [02:23:27] * antmas quit (Ping timeout: 250 seconds)
160: [02:26:29] * DaShiVaDan quit (Ping timeout: 250 seconds)
161: [02:30:15] <mdowton> Anybody know how to correctly access a method in entwine? I am adding a nofollow link to the tinymce editor I've got the felid in the form. I need to add to the insertLink method in HTMLEditForm.js file I can hook into this call $('form.htmleditorfield-linkform').entwine in my own js file but no the insertLink method what is the correct way to do this?
162: [02:33:32] <pippy> Ryan-Toast: you could add a class to the HTMLEditorField
163: [02:33:56] <Ryan-Toast> pippy: There has to be some kind of default thing.,
164: [02:35:45] <zippy__> Ryan-Toast: That looks... odd... the css is bung/missing? was this an upgrade site?
165: [02:36:05] <Ryan-Toast> zippy__: Nah, fresh install.
166: [02:36:06] <zippy__> Ryan-Toast: I believe there is a ->setCols() call you can do, I know there is a setRows() but by default it shouldn't be that spastic
167: [02:36:12] <pippy> try a flush
168: [02:36:26] <zippy__> check developer tools to make sure no css/assets are missing or 500 erroring
169: [02:36:28] <Ryan-Toast> zippy__: This is on an extended class btw
170: [02:36:35] <pippy> it's weird, I usually have the opposite problem
171: [02:36:47] <Ryan-Toast> zippy__: Nothing's missing.
172: [02:36:52] <pippy> I want it to fill the full width, and I do that with this:
173: [02:36:55] <pippy> $htmlField->addExtraClass('stacked');
174: [02:37:04] * antmas has joined #silverstripe
175: [02:37:22] <Ryan-Toast> usually I just add ,'Content' to the end of the new Field call, but doesn't work here.
176: [02:47:17] * Nightjar has joined #silverstripe
177: [02:52:50] <Nightjar> Lets play fun with the UK visa application system!
178: [02:52:57] <Nightjar> step 1: press the log out button.
179: [02:53:05] <Nightjar> step 2: notice how it doesn't log you out.
180: [02:53:24] <Nightjar> step 3: continue to access all your personal information as if you never clicked "log out".
181: [02:54:00] <Colin[pi]> step 4: ????
182: [02:54:03] <Colin[pi]> step 5: PROFIT
183: [02:54:09] <Nightjar> FORGE ALL THE THINGS
184: [02:54:43] <Nightjar> another fun fact: Go to log in, pops up a new window.
185: [02:54:54] <Nightjar> step 1: enter log in information
186: [02:55:04] <Nightjar> step 2: press enter when finished filling out the form
187: [02:55:21] * variable_office has joined #silverstripe
188: [02:55:35] <Nightjar> step 3: click "log in" link again, and wait for the log in window to pop up again. BECAUSE SUBMITTING THE LOGIN FORM CLOSES THE WINDOW
189: [02:56:15] <variable_office> I have a long sql query running every second or so, beginning with SELECT "SiteTree_Live"."ClassName", "SiteTree_Live"."Created".... any ideas for how I can trace down to what is constantly calling this?
190: [02:56:34] <Nightjar> you, getting a page.
191: [02:56:57] <Nightjar> define 'every second or so'?
192: [03:03:42] <Nightjar> variable_office: hello?
193: [03:04:10] <simon_w> Setting up iptables stuff without console access. What could possibly go wrong?
194: [03:04:20] <antmas> kiwisaver holiday engaged
195: [03:04:21] <Nightjar> simon_w: ...
196: [03:04:21] <antmas> dat feel
197: [03:04:33] <Nightjar> antmas: huh?
198: [03:04:34] <variable_office> Nightjar, sorry. It is a production site, that query runs very very often. I need to figure out what is running that query
199: [03:04:48] <Nightjar> variable_office: well everything that gets a page out of the database.
200: [03:04:51] <Nightjar> say like...
201: [03:04:53] <Nightjar> loading a page
202: [03:04:58] <Nightjar> loading the menus
203: [03:05:01] <Nightjar> loading any links
204: [03:05:18] <Nightjar> loading site tree objects in menus to form lists on pages.
205: [03:05:24] <antmas> man, screw kiwisaver
206: [03:05:36] <variable_office> So any page load will run that query? Is there a way to tell which page specifically? Ie. maybe I can cache that page?
207: [03:05:43] <Nightjar> ALL the pages.
208: [03:05:46] <Nightjar> what's the problem?
209: [03:06:03] <Nightjar> if it runs 'very often' while you are not browsing, then you have an issue with some kind of ajax request.
210: [03:06:17] <Nightjar> if it runs 'very often' as in, you think it's too much, it's not.
211: [03:06:33] <Nightjar> unless it's seriously impacting the performance of your site, in which case you should look at static caching.
212: [03:06:53] * Stevie quit ()
213: [03:08:54] <Nightjar> variable_office: the length of the query shouldn't impact anything, it only serves to make debugging a bit of a pain.
214: [03:10:53] <ss23> None of these templates can be found in theme 'simple': CMSProfileController_show.ss, LeftAndMain_show.ss, CMSProfileController.ss, LeftAndMain.ss, Controller.ss
215: [03:10:58] <ss23> why do all my tests fail with crap like this/
216: [03:11:02] <ss23> *well not all of them, only like 180 of them)
217: [03:11:35] <Nightjar> because template search isn't cascading up module hierarchy like it should?
218: [03:12:29] * antmas quit (Quit: Page closed)
219: [03:13:20] <ss23> is this known bug or what?
220: [03:13:22] <Nightjar> I'm tired, hungry, frustrated & extremely angry. What do?
221: [03:13:37] <guzzlefry> party!
222: [03:13:42] <guzzlefry> at pizza place
223: [03:13:48] <Nightjar> brilliant idea, I have wine in the pantry.
224: [03:14:30] <ss23> Nightjar: Fucking hate feeling like that
225: [03:15:16] <Nightjar> ss23: work is slow, UK visa system dicking me around, I took time off to get shit done and it's all gone to waste. PAY I NEED DOWN THE DRAIN.
226: [03:15:32] <Nightjar> Now I'm stressed about everything getting sorted in time before I go over.
227: [03:15:34] <ss23> :(
228: [03:15:34] <ss23> lame
229: [03:15:38] <Nightjar> FUCKING BULLSHIT MAN.
230: [03:15:50] <Nightjar> then, to make it even better, I have more of this shit to look forward to.
231: [03:16:09] <Nightjar> ss23: you have to fill out a visa application online right.
232: [03:16:26] <Nightjar> and then after you've submitted it you have to print it off and get it stamped TWICE, and THEN send it in.
233: [03:16:27] <ss23> yep
234: [03:16:29] <ss23> o.o
235: [03:16:30] <ss23> okay
236: [03:16:33] <ss23> annoying, but common
237: [03:16:34] <Nightjar> so uhh... why did I fill it out online?
238: [03:16:38] <ss23> lol
239: [03:16:50] <ss23> becuase fuck you that's why!
240: [03:16:55] <Nightjar> indeed.
241: [03:17:36] <Nightjar> I wanted to get shit sorted, send it off and come home and pack shit.
242: [03:17:50] * cameronb has joined #silverstripe
243: [03:17:59] <Nightjar> instead I came home, raged the fuck out at their shit website, now it's too late to do anything about all the things.
244: [03:18:09] <Nightjar> have to wait until Friday where I'll have to take more time off.
245: [03:20:18] <Colin[pi]> Nightjar: how long you been waiting in visa limbo?
246: [03:21:40] <Nightjar> Now I just wanna go to the fucking supermarket to buy food, but it's rush hour o'clock.
247: [03:22:04] <Nightjar> I'd just walk, but I'm SERIOUSLY not in the mood for it.
248: [03:22:19] * Azure has joined #silverstripe
249: [03:22:39] <Nightjar> Colin[pi]: I applied Sunday night.
250: [03:23:06] <Nightjar> you have to do biometric scans though, I thought to to it today so I could clear it with work
251: [03:23:11] <Colin[pi]> oh ok I thought we were talking about times similar to the Australian system
252: [03:23:23] <Nightjar> and so then I turn up and chappy goes "where's your application form?"
253: [03:23:27] <Nightjar> and I'm all "... online?"
254: [03:23:44] <simon_w> Yay, didn't lock myself out of the server again!
255: [03:23:55] <Colin[pi]> Nightjar: my gf applied for her Aussie visa in January... aside from the initial response letter, haven't heard a single thing else
256: [03:24:02] <Nightjar> Colin[pi]: yeah, that's the issue. I haven't submitted it yet. I need to get all this shit in order to send it over for them to begin considering me.
257: [03:24:34] <Colin[pi]> ah ok you're still getting all the stuff together, painfffulll
258: [03:24:43] <Nightjar> Colin[pi]: haha. My missus applied for a new passport in March. It took until October for them to present a new one.
259: [03:25:01] <Nightjar> Colin[pi]: yeh, that's my issue. I wanna leave mid December.
260: [03:25:10] <Colin[pi]> their estimate to us upon submission was 15 months, just to BEGIN looking at the application
261: [03:25:13] <Nightjar> everything keeps not going my way.
262: [03:25:15] <Colin[pi]> 15
263: [03:25:16] <Colin[pi]> months
264: [03:25:20] <Nightjar> lolwut
265: [03:25:23] <irogue23> Nightjar: protip, pay for urgent passport errytime :P
266: [03:25:25] <Nightjar> that's atrocious.
267: [03:25:33] <Colin[pi]> and it costs $4K
268: [03:25:39] <Colin[pi]> and you dont get a refund if you fail
269: [03:25:50] <simon_w> Man, having to get a visa must suck
270: [03:25:56] <Nightjar> irogue23: I have passport. NZ is fucking awesome. I DID IT ALL ONLINE, new passport in my letterbox 3 days later. NOT A RUSH JOB.
271: [03:26:11] <irogue23> heh, yeah
272: [03:26:12] <Nightjar> simon_w: indeed.
273: [03:26:16] <irogue23> that's actually quite impressive Nightjar
274: [03:26:26] <irogue23> \am used to ~2 weeks for non-urgent and ~2 days for urgent
275: [03:26:36] <Nightjar> I mean, I wouldn't, but because wanting to live... a bit different to the 6 months visitor visa.
276: [03:26:42] <simon_w> Last time I got one, had to courier my passport to Sydney
277: [03:26:52] <Nightjar> lolwut
278: [03:26:52] <Colin[pi]> i know an immi lawyer here, he said that generally if people pay a lot of money for something, they expect some sort of quality service
279: [03:27:02] <simon_w> Egypt doesn't have a presence in NZ
280: [03:27:03] <Colin[pi]> $4K for more than a year's wait is not good
281: [03:27:14] <Nightjar> simon_w: you're Egyptian?
282: [03:27:19] <simon_w> Sent them passport, return envelope and letter saying "give me visa, government says so"
283: [03:27:29] <simon_w> Nightjar, nah, entry visa
284: [03:27:34] <Nightjar> ah, right.
285: [03:28:26] <simon_w> Every other country has pretty much involved me just showing up
286: [03:28:32] <Nightjar> yeh
287: [03:28:33] <simon_w> Though with an ESTA for the US
288: [03:28:37] <Nightjar> yeh
289: [03:28:42] * kerosene has joined #silverstripe
290: [03:28:48] <simon_w> They're charging for those now, the jerks
291: [03:28:51] <Nightjar> ESTA $14US, done.
292: [03:29:00] <Nightjar> Canada just rock up and don't give a fuck
293: [03:29:02] <Nightjar> <3
294: [03:29:02] <simon_w> Want to transit for the US? Give us the moneys!
295: [03:29:07] <simon_w> *through
296: [03:29:09] <Nightjar> think I might go through Canada
297: [03:29:29] <Nightjar> simon_w: yeah, only place in the world where they don't let you into the country and they still search, print and scan you.
298: [03:29:40] <Nightjar> or so I hear.
299: [03:30:17] <simon_w> When I flew NZ2 to LA, only people that didn't go through Customs were those staying on the plane to London. I think even that may have changed.
300: [03:30:38] <Nightjar> yeh
301: [03:30:52] <Nightjar> I think they pull you all off and search then put all back on. Which is stupid.
302: [03:30:56] <Nightjar> but hey.
303: [03:30:59] <Nightjar> whatever.
304: [03:31:14] <Nightjar> I think Imma fly through Canada because better.
305: [03:31:20] <Nightjar> that or Dubai.
306: [03:31:42] <Nightjar> fuck this I'm ordering pizza
307: [03:32:49] <irogue23> now i want pizza
308: [03:33:00] <simon_w> If you do go through the US, try to avoid LA
309: [03:33:55] <Nightjar> I've heard, yeah.
310: [03:34:07] <Nightjar> trying to avoid US all together now.
311: [03:34:19] <Nightjar> gun nuts running around shooting up airports.
312: [03:34:22] <Nightjar> :<
313: [03:36:39] <simon_w> Mmm, cookie times for lunch
314: [03:37:07] <lewellyn> i swear you guys have been talking about lunch for the past 8 hours.
315: [03:38:04] <Nightjar> cuuuuuuuuuuuunts
316: [03:38:11] <Nightjar> "your credit card has been declined"
317: [03:38:18] <Nightjar> "FUCK YOU GIVE ME PIZZA
318: [03:38:21] <Nightjar> "
319: [03:38:21] <lewellyn> time to raise the limit
320: [03:38:31] <Nightjar> so drops me back at checkout
321: [03:38:46] <Nightjar> lewellyn: nah, is fat fingers on number entry.
322: [03:38:50] <Nightjar> so I click next
323: [03:38:51] <lewellyn> they want you to use a stolen card
324: [03:39:02] <Nightjar> YOUR ORDER IS SUCCESSFUL, - payment on delivery
325: [03:39:02] <lewellyn> they can validate the number on the client side :P
326: [03:39:05] <Nightjar> FFFFFFFFFFUUUUUUUUUUUUUUUUUUUUUU
327: [03:39:20] <Nightjar> lewellyn: yeh, but they can't validate the CSC
328: [03:39:28] <lewellyn> oh. your fault then ;)
329: [03:39:39] <Nightjar> luckily for me, I actually do have $23 in my wallet.
330: [03:40:19] <lewellyn> though, to be fair, i fat finger my american express's code all the time. it's hard to numeric keypad.
331: [03:40:39] <lewellyn> and i'd be calling and bitching if they have my CC# and want payment on delivery.
332: [03:40:41] <simon_w> I just autofill it all
333: [03:40:46] <Nightjar> lewellyn: I was trying to recall from memory, so it could be CSC, Expiry, or I fat fingered the number
334: [03:41:03] <Nightjar> def. enough cash there.
335: [03:41:14] <Nightjar> lewellyn: and it's not lunch, it's Dinner now.
336: [03:41:25] <lewellyn> i haven't even made dinner yet :P
337: [03:41:29] <lewellyn> i'm just eating lunch! :P
338: [03:41:37] <Nightjar> I didn't lunch yet, early dinner.
339: [03:41:42] <Nightjar> Plus anti rage food.
340: [03:41:42] <lewellyn> late lunch, here.
341: [03:41:47] <Nightjar> indeed.
342: [03:41:53] <Nightjar> what is it, 9pm?
343: [03:41:57] <lewellyn> my girlfriend gets home in an hour, then we'll do dinner.
344: [03:41:59] <lewellyn> Tue Nov 5 19:41:58 PST 2013
345: [03:42:04] <Nightjar> 7
346: [03:42:09] <Nightjar> nearly 8
347: [03:42:14] <Nightjar> close!
348: [03:42:36] <lewellyn> why was 6 afraid of seven? ;)
349: [03:42:59] <simon_w> Because 6 became sentient and is now afraid of many things
350: [03:43:11] * markd quit (Ping timeout: 250 seconds)
351: [03:43:38] <lewellyn> yup.
352: [03:44:04] <lewellyn> it's afraid of the baggage claim system at heathrow now, thanks to it discovering monty python, too
353: [03:45:04] * DigNZ quit (Quit: DigNZ)
354: [03:45:17] <lewellyn> i tried to explain to 6 that they have a new system since that song. but it found the internet and read that the new one's just as bad.
355: [03:47:38] <Nightjar> BECAUSE SEVEN ATE NINE
356: [03:47:58] <spronk> what the fuck
357: [03:48:01] <spronk> are you people talking about
358: [03:48:08] <Nightjar> 7's eating 9's
359: [03:48:22] * Nightjar makes punching above weight joke.
360: [03:50:40] <EasyCo> What's the composer package for sapphiretest?
361: [03:55:25] <EasyCo> Nm, just saw it's included in the framework. But phpunit is telling me it can't find it
362: [03:57:32] * nickmolhoek quit (Quit: nickmolhoek)
363: [04:00:58] <EasyCo> By George! Where'd my phpunit.xml go!
364: [04:05:53] * toebu has joined #silverstripe
365: [04:06:31] * peter_w has joined #silverstripe
366: [04:08:13] <peter_w> hey every
367: [04:08:24] <ss23> hai hai
368: [04:08:45] <ss23> Hmm, idk why this test fails
369: [04:08:46] <ss23> :(
370: [04:09:44] <peter_w> i am getting a weird problem that I have not experienced before...every image that is in my assets folder now returns a forbidden 403 response...has anyone experienced this ?
371: [04:10:59] <EasyCo> How're your file permission spooking? Did you change anything?
372: [04:11:11] <EasyCo> spooking? looking. Wow
373: [04:11:38] <peter_w> EasyCo: assets folder is 755 and owner and group are apache
374: [04:11:50] <EasyCo> What about the actual files?
375: [04:12:17] <peter_w> 644 which is at least read to everyone
376: [04:12:40] * Ryan-Toast quit (Quit: Ryan-Toast)
377: [04:12:55] <peter_w> some permissions as the images that are in my themes images folder
378: [04:12:58] <peter_w> same*
379: [04:13:07] <peter_w> which are working by the way
380: [04:14:10] * toebu quit (Ping timeout: 245 seconds)
381: [04:14:43] <EasyCo> Are you logged in as some user that perhaps doesn't have permission to the assets for some reason? I'm not sure SS would even throw a 403 by the way
382: [04:14:45] <ss23> Anyone got SS set up and can run a test for me and see if it passes?
383: [04:14:46] <EasyCo> Just spitballing
384: [04:14:53] <ss23> phpunit --filter testRedirectsNestedRenamedPagesWithGetParameters cms/tests/controller/ModelAsControllerTest
385: [04:14:57] <ss23> will run it
386: [04:15:05] <EasyCo> hold
387: [04:15:33] <Nightjar> peter_w: check .htaccess in assets
388: [04:16:08] <peter_w> EasyCo: I am not logged in at all. The public user should be able to see these images
389: [04:16:23] <peter_w> Nightjar: I have removed the .htaccess from the assets filder
390: [04:16:31] <peter_w> folder*
391: [04:18:04] <Nightjar> no, don't remove it
392: [04:18:37] <Nightjar> check that it exists and it's standard.
393: [04:18:37] * pippy_ has joined #silverstripe
394: [04:18:38] * Nimle has joined #silverstripe
395: [04:18:42] <ss23> PLS SOMEONE RUN THE TEST ;_;
396: [04:18:52] <Nightjar> travis?
397: [04:19:19] <ss23> it's just one test I want, setting up travis for it is execssive
398: [04:19:28] * ec8or__ has joined #silverstripe
399: [04:19:35] <Nimle> Hi guys, SS shows items in admin sorted by id, so the recent records goes to the bottom. what is the best way to make sure by default items are sorted by created date in cms?
400: [04:19:36] * coldhand_ has joined #silverstripe
401: [04:21:57] <Nightjar> omg so good. Pulling apart old HDD's calmed me down, now I have Pizza and a Cab Sav.
402: [04:22:04] <Azure> I am trying to use the latest version of the basic-galleries module, however it seems to be giving me a bit of trouble (as is almost everything else that I've tried in order to implement a photo gallery, using tutorials, modules, etc.):
403: [04:22:08] <Nightjar> In this short moment, life is good.
404: [04:22:49] <Azure> PHP Fatal error: Class 'GridFieldBulkImageUpload' not found in /Users/mark/Sites/eatonwebbp/basic-galleries/code/PhotoGalleryPage.php on line 29
405: [04:22:49] <Azure> It just so happens that the line in question is an attempt to add that component.
406: [04:23:03] <Azure> SS 3.1.1, of course.
407: [04:23:28] * pippy quit (*.net *.split)
408: [04:23:30] * spronk quit (*.net *.split)
409: [04:23:30] * coldhand quit (*.net *.split)
410: [04:23:31] * ec8or_ quit (*.net *.split)
411: [04:23:32] <simon_w> Azure, Sounds like you're missing a module
412: [04:23:43] <Nightjar> Azure: 'basic galleries' is a composition module.
413: [04:23:44] <simon_w> Nimle, private static $default_sort?
414: [04:23:46] <Nightjar> it has dependencies.
415: [04:23:46] <DesignerX> Nimle: hi, I think you can have the public static $Sort on the object & that will be used as the default sort for it ..
416: [04:24:05] <DesignerX> what simon_w said ^^
417: [04:24:22] <Azure> Naturally I would miss that, especially since I don't have composer on here.
418: [04:24:31] <Azure> (OS X 10.9)
419: [04:24:46] <EasyCo> ss23: Yah that erroring
420: [04:24:58] <Nightjar> such as https://github.com/colymba/GridFieldBulkEditingTools Azure
421: [04:25:27] <EasyCo> Actually that could be because of my environment now that I look at the error
422: [04:25:54] <ss23> if you get it being like uh
423: [04:26:05] <ss23> -'/silverstripe/hackfest/hackfest/newlevel1/newlevel2/newlevel3/?foo=bar&test=test'
424: [04:26:09] <ss23> +'/silverstripe/hackfest/hackfest/newlevel2/newlevel3'
425: [04:26:13] <ss23> then that means my shit didn't break it
426: [04:26:18] <ss23> if you get "HTTP HOST YO", that's just your env
427: [04:26:33] <EasyCo> Yah it's my env
428: [04:26:48] <Nimle> @simon_w, thanks. static $default_sort = "LastEdited DESC"; worked
429: [04:28:05] <Azure> "purplespider/basic-galleries dev-master requires colymba/gridfield-bulk-editing-tools * -> no matching package found."
430: [04:28:06] <Azure> Nice.
431: [04:28:31] <Azure> I'm assuming that it tries to look for the module on the silverstripe website and download it.
432: [04:29:23] <EasyCo> ss23: Pass
433: [04:29:56] <EasyCo> Are you referring to a version or branch in particular?
434: [04:30:32] <Nightjar> no
435: [04:30:36] <Nightjar> it searches packagist
436: [04:30:49] <EasyCo> Oh right, that's cool
437: [04:30:53] <ss23> EasyCo: dw
438: [04:31:02] <ss23> I have custom code in cms that I thought wouldn't effect it, but it does
439: [04:31:03] <ss23> :(
440: [04:31:09] <EasyCo> Time: 2.42 seconds, Memory: 60.25Mb
441: [04:31:09] <EasyCo> OK (1 test, 2 assertions)
442: [04:31:30] * toebu has joined #silverstripe
443: [04:32:31] <EasyCo> Haha, I had to google dw.
444: [04:32:37] <Azure> Strange.
445: [04:32:41] <Azure> It's there, so...
446: [04:33:49] <Azure> No idea why it would fail then.
447: [04:33:55] <EasyCo> Does CLI ignore _config.yml?
448: [04:34:04] <EasyCo> It seems to ignore my dev mode setting
449: [04:34:15] <EasyCo> And only works if I put it in the _config.php
450: [04:34:16] * HONEY_ quit (Read error: Connection reset by peer)
451: [04:34:54] * HONEY has joined #silverstripe
452: [04:35:18] * HONEY is now known as Guest53041
453: [04:37:35] <Azure> And now trying to install the bulk editing tools, but it gives me a git error. I guess that would probably be because either I instantiated the root directory of my test site as a git repo. Or it's just missing the right files.
454: [04:39:23] <Azure> To be more specific, the error I got was "The .git directory is missing from /.../.../vendor/composer/installers, see http://..."
455: [04:41:36] <Nightjar> EasyCo: cli ignores all the things.
456: [04:41:43] <Nightjar> you're on the CLI, you're a user.
457: [04:42:06] <Nightjar> Tron fights for the users.
458: [04:42:30] <EasyCo> Qué?
459: [04:42:35] <Nightjar> Azure: submodules, or download zip and add it to your repo.
460: [04:42:48] <Nightjar> EasyCo: you've not seen Tron?
461: [04:42:52] <EasyCo> Nah
462: [04:43:39] <EasyCo> Was all the specially Tron related or was there some truth?
463: [04:43:42] <ss23> Guys...
464: [04:43:48] <ss23> If I have like site.com/foo/bar/baz
465: [04:43:58] <ss23> Should I be able to go to site.com/baz and get redirected to /foo/bar/baz?
466: [04:44:46] <Nightjar> EasyCo: truth.
467: [04:44:56] <Nightjar> eg. if dev || test || cli
468: [04:44:59] <ss23> simon_w: Do you know? :(
469: [04:45:25] <EasyCo> So how're you expected to run your phpunit tests?
470: [04:45:27] <simon_w> If you're using pages
471: [04:46:02] <ss23> simon_w: How does that behavior work exactly? It's not working for me with my old page redirector refactoring and I'm wondering if it was part of the old stuff I refactored out :S
472: [04:46:03] <Nightjar> EasyCo: you run tests
473: [04:46:14] <simon_w> ss23, yes
474: [04:46:15] <Nightjar> dev/tests
475: [04:46:18] <ss23> simon_w: thank you <3
476: [04:46:22] <simon_w> That's the entire reason you did it
477: [04:46:43] <Nightjar> EasyCo: see docs on testing
478: [04:47:00] <ss23> simon_w: ;_; I guess so
479: [04:47:15] <EasyCo> But but...
480: [04:47:17] <ss23> simon_w: sorry, been a while since I've worked on this code >.<
481: [04:47:23] <EasyCo> What about the CLI. won't nobody think of the cli?
482: [04:47:48] <Nightjar> they do
483: [04:47:50] <Nightjar> all the clis
484: [04:48:01] <Nightjar> so long as it's not that dirty clu.
485: [04:48:05] <Nightjar> he'll fuck your shit up
486: [04:50:06] * Ryan-Toast has joined #silverstripe
487: [04:50:34] <EasyCo> testing docs don't say shit about CLI dev environment
488: [04:51:07] <Nightjar> which docs are you reading?
489: [04:51:15] <EasyCo> http://doc.silverstripe.org/framework/en/topics/testing/
490: [04:51:24] * cloph_away has joined #silverstripe
491: [04:51:50] <EasyCo> There's no mention of Tests can only run in "dev" mode
492: [04:51:50] * cloph quit (Ping timeout: 264 seconds)
493: [04:52:22] <Nightjar> EasyCo: I always was quite fond of main.php
494: [04:55:42] <EasyCo> All I'm saying is I find it weird the _config.yml config it ignored in CLI. While _config.php isn't. Kinda defeats the purpose to put your settings in there if they're going to be ignored in CLI.
495: [04:56:48] <Nightjar> EasyCo: probably legacy stuff that hasn't updated. If you're sure about it all, open a github issue.
496: [04:57:01] <Nightjar> remember, proper descriptions only!
497: [04:57:24] <Nightjar> "diz shit dun werk, but diz shit duz" ain't good enough ;)
498: [04:57:59] <EasyCo> I'll keep that in mind. Thanks for the hot tip.
499: [04:59:54] <Nightjar> EasyCo: if you're trying to run tests, you're probably good enough at this.
500: [05:00:32] * Ryan-Toast quit (Quit: Ryan-Toast)
501: [05:00:49] <EasyCo> Nightjar: Are you drinking?
502: [05:01:43] <Nightjar> ... no?
503: [05:01:48] <Nightjar> why would you ask that?
504: [05:01:54] * UncleCheese quit (Quit: UncleCheese)
505: [05:02:07] <EasyCo> Just checking, I'm finding you a bit harder to follow then usual :)
506: [05:02:21] <Nightjar> I had a bad afternoon.
507: [05:02:57] <EasyCo> Fair enough
508: [05:03:52] <Nightjar> and as such, yeh, I'm half a bottle deep :<
509: [05:06:09] <EasyCo> What ya drinking?
510: [05:06:38] * wilr_ quit (Quit: wilr_)
511: [05:10:35] <Nightjar> Vidal white series Merlot Cabernet Savignon 2012 from Hawkes Bay.
512: [05:10:53] <Colin[pi]> OH LA DE DA
513: [05:10:55] <Colin[pi]> ;D
514: [05:11:21] <EasyCo> I like wine.
515: [05:11:24] <Nightjar> pfft. Just because Kiwi wines are better than Aussie ones.
516: [05:11:32] <Azure> I seemed to have fixed most of the problems, other than the admin UI borking up because it can't find a template in the "simple" theme:
517: [05:11:34] <Azure> [User Warning] None of these templates can be found in theme 'simple': GridFieldSortableRows.ss
518: [05:11:40] <EasyCo> Is it a soft merlot or kinda dry?
519: [05:11:43] <Nightjar> Azure: ?flush in admin
520: [05:11:58] <Nightjar> EasyCo: define soft vs dry
521: [05:12:02] <irogue23> fuck wine
522: [05:12:09] <irogue23> except Passion Pop, that's delicious
523: [05:12:17] <EasyCo> Hahaah Passion Pop
524: [05:12:20] <Azure> Seems to work now.
525: [05:12:29] <EasyCo> That's no wine, that's lets get fucked up juice
526: [05:12:29] <Azure> I forgot how weird Silverstripe was.
527: [05:12:32] <Nightjar> it's a merlot cab sav, so it's dry, but not so dry. I guess
528: [05:12:41] <Nightjar> but I'm a fan of a good dry wine
529: [05:12:43] <Azure> Even though at the time I think I was using 2.3 back in 2010
530: [05:12:54] <EasyCo> Nightjar: By soft I mean opposite of dry :)
531: [05:13:07] <Nightjar> EasyCo: yeah, duno.
532: [05:13:18] <Nightjar> It tastes like an extremely good red for $10.
533: [05:13:29] <simon_w> soft as an opposite of dry? You crazy.
534: [05:13:45] <simon_w> Also, my pizza's late
535: [05:13:55] <EasyCo> I like my Shiraz and Pinots or any kind of dry blend. But sometimes if you get a merlot from a low rain seasons if can be really nice and dry.
536: [05:14:21] <Nightjar> wait what
537: [05:14:23] <Nightjar> fuck
538: [05:14:33] <Nightjar> wine drinkers, all seem to have a different definition of dry
539: [05:14:47] <EasyCo> Haha
540: [05:14:55] <EasyCo> Yah, I'm not expert
541: [05:15:03] <EasyCo> *no
542: [05:15:13] <Nightjar> I like pinots from Central Otago.
543: [05:15:14] <Nightjar> good.
544: [05:15:21] <Nightjar> I like Merlots and Cab Sav.
545: [05:15:35] <Nightjar> the _occasional_ Shiraz is ok.
546: [05:15:53] <Nightjar> sometimes a pissy weak pinot from some other rando country is nice. But not too often.
547: [05:15:58] <EasyCo> Dry as in high tannins taste
548: [05:16:00] <Colin[pi]> I like me a good Pinot Noir
549: [05:16:15] <Nightjar> So I guess I'd define dry as 'bite'. Which is what people normally associate with high tannin wine, eg. Cab. Sav.
550: [05:16:27] <EasyCo> Yep
551: [05:16:31] <simon_w> dry: not sweet
552: [05:16:43] <Nightjar> but that said I've had some pinots (typically renowned for low tannins) that have been very nice.
553: [05:16:47] <Nightjar> and quite bitey
554: [05:16:59] <Nightjar> simon_w: yeah, I get that that is the traditional meaning.
555: [05:17:08] <Nightjar> but it's not always quite what people mean.
556: [05:17:08] * peter_w quit (Quit: Page closed)
557: [05:17:20] <Nightjar> I find most whites to be more 'wet'.
558: [05:17:29] <EasyCo> or soft :)
559: [05:17:32] <Nightjar> reisling - being a desert wine is quite sweettastic.
560: [05:17:47] <Nightjar> but I prefer a good port over a reisling.
561: [05:17:52] <Colin[pi]> mmmm port
562: [05:17:55] <Colin[pi]> I love port
563: [05:18:17] <simon_w> I prefer starboard
564: [05:18:19] <Nightjar> yeah but again there are good and shit ones
565: [05:18:28] <Nightjar> simon_w: haha, I was gonna make that joke :<
566: [05:18:28] <Colin[pi]> nightjar: tried a botrytis semillon?
567: [05:18:37] <Nightjar> nope
568: [05:18:43] <Colin[pi]> sweet like honey
569: [05:18:55] <simon_w> Anyway, time to watch telly and eat pizza
570: [05:19:14] <Colin[pi]> this is amazing: http://danmurphys.com.au/media/DM/Product/750x2000/50040_0_9999_v1_m56577569852574428.jpg
571: [05:19:15] <Nightjar> mmm pizza
572: [05:22:03] <EasyCo> This is where the magic happens: http://www.rockfordwines.com.au/
573: [05:22:17] <EasyCo> Colin[pi]: What's the retail on those?
574: [05:22:29] <Nightjar> ha bullshit
575: [05:22:35] <Nightjar> the magic happens down queenstown.
576: [05:22:48] <Colin[pi]> EasyCo: I think about $30/bottle
577: [05:23:05] <Colin[pi]> bloody nice though
578: [05:23:08] <EasyCo> Can't more then one spot be magical?
579: [05:23:17] <EasyCo> Colin[pi]: I'll give it a try.
580: [05:23:34] <EasyCo> I'll report back :)
581: [05:23:35] <Colin[pi]> EasyCo: you wont regret it, one of the best dessert wines I've ever had
582: [05:23:42] <EasyCo> Oh no~
583: [05:23:48] <EasyCo> It's a desert wine?
584: [05:23:51] <Colin[pi]> yes :P
585: [05:23:57] <EasyCo> As in very sweet?
586: [05:24:01] <Colin[pi]> it's a botrytis semillon!
587: [05:24:03] <Colin[pi]> sweet as heck
588: [05:24:04] <EasyCo> Not like ice wine sweet is it?
589: [05:24:22] <Colin[pi]> info page here
590: [05:24:23] <Colin[pi]> http://danmurphys.com.au/product/DM_50040
591: [05:24:24] <EasyCo> I can't say I'm familiar with it
592: [05:24:27] <Colin[pi]> $29 there
593: [05:24:56] <EasyCo> Sounds like it would be nice with a stinky cheese
594: [05:25:27] * cameronb quit (Ping timeout: 250 seconds)
595: [05:25:59] <Colin[pi]> have it with one of those apricot and almost cheeses... soo good
596: [05:26:06] <Colin[pi]> *almost lol
597: [05:26:07] <Colin[pi]> almod
598: [05:26:11] <Colin[pi]> almond even
599: [05:26:12] <Colin[pi]> ffs
600: [05:26:20] <EasyCo> Mann....
601: [05:26:24] <EasyCo> I can't wait to get home now
602: [05:26:42] <Colin[pi]> that cheese + that wine... insta tongue gasm
603: [05:27:37] <Colin[pi]> I think I want to go and get some now DAMMIT
604: [05:27:38] <Colin[pi]> LOL
605: [05:27:44] <Colin[pi]> just thinking about it
606: [05:27:44] <Colin[pi]> haha
607: [05:28:49] <Nightjar> oh guys
608: [05:28:51] <Nightjar> guys
609: [05:28:53] <Nightjar> guys
610: [05:28:58] <Nightjar> you're both freelancers right?
611: [05:29:13] <Nightjar> are both your feminine counterparts on hand?
612: [05:29:27] <Colin[pi]> mine is in the shower
613: [05:30:59] <EasyCo> mines at work
614: [05:31:10] <EasyCo> haha, why?
615: [05:31:32] <Nightjar> because I have a very important question I wish for them to read for themselves.
616: [05:31:48] <Colin[pi]> o_O
617: [05:31:52] <ss23> lol
618: [05:31:54] <EasyCo> lol
619: [05:31:54] <Colin[pi]> what is this, secret squirrel?
620: [05:31:58] <ss23> Nightjar is looking for justifications to give to his gf, I presume?
621: [05:32:20] <Nightjar> ie, not skewedly recounted by your retelling of the ques purple monkey dishwasher tion.
622: [05:32:44] <Nightjar> haha ss23, nah, this actually comes FROM my missus.
623: [05:32:50] <ss23> oic
624: [05:32:52] <ss23> Nightjar: PM me question
625: [05:33:03] <ss23> I can answer as a guy who once wore a dress.
626: [05:33:10] <Colin[pi]> once?
627: [05:33:18] <EasyCo> Lets hear it then
628: [05:33:20] <ss23> once, singular
629: [05:33:20] <EasyCo> I'm curious now
630: [05:33:41] <Colin[pi]> ss23: your boobies would fill it out nicely
631: [05:33:45] <ss23> lol
632: [05:33:47] <Colin[pi]> ;D
633: [05:33:58] * Colin[pi] looks down and sighs
634: [05:34:08] <ss23> XD
635: [05:34:13] <ss23> You want yours to grow big too? :P
636: [05:34:50] <Colin[pi]> my gf makes up for my lack ;D
637: [05:35:34] <Colin[pi]> come on then Nightjar you tease
638: [05:37:17] <Colin[pi]> afk
639: [05:41:19] <Nightjar> ROFL Colin[pi]
640: [05:41:30] <Nightjar> Colin[pi] my gf makes up for my lack ;D
641: [05:41:33] <Nightjar> HIGH FIVE
642: [05:45:52] <Nimle> When opening grid view which shows all items in dataobject in cms, it has green "Add new item" button on left top. I want to add another button next to it, which says "Delete all". what is the best way to do it?
643: [05:45:58] <Nightjar> so yeh,do we have wimmins at the screens yet?
644: [05:46:18] <Nightjar> Nimle: left top??
645: [05:46:24] <Nightjar> OH
646: [05:46:32] <Nightjar> on the actual GF view.
647: [05:46:34] <Nightjar> right.
648: [05:46:47] <Nightjar> Nimle: you'll need to implement your own component
649: [05:47:27] <Nimle> @Nightjar, is there any example or documentation how to do it?
650: [05:48:18] <Nightjar> Nimle: not really unfortunately. There's a bit on the GridField docs page
651: [05:48:48] <EasyCo> Nightjar: Not for a couple of hours
652: [05:48:51] <Nightjar> other than that you can just take examples from the existing ones.
653: [05:49:35] <Nimle> @Nightjar, grid field docs show how to add for individual item. like can show a button in front of them
654: [05:49:37] <Nightjar> Nimle: but the basic premise is that there are a bunch of different interfaces for different things. Implement the ones you need to achieve what you need (ie, don't blindly copy GridFieldAddNewButton)
655: [05:49:55] <Nightjar> EasyCo: hmm
656: [05:50:03] <Nightjar> Colin[pi]: what about your one?
657: [05:52:23] * Shrike_Finland quit (Quit: Leaving.)
658: [05:54:28] <ss23> simon_w: Got a while to chat about how to structure some code?
659: [05:58:33] <Nightjar> ss23: no, he's eating pizza in front of TV.
660: [05:58:35] <Nightjar> gosh.
661: [05:59:08] <Nightjar> THE GOVERNMENT HAS A SECRET SYSTEM
662: [05:59:09] <Nightjar> A MACHINE
663: [05:59:30] <Nightjar> THAT SPIES ON YOU, EVERY HOUR, OF EVERY DAY
664: [06:07:37] <Zauberfisch23> ls
665: [06:07:46] <Zauberfisch23> hmm, wrong window
666: [06:08:07] <ss23> :(
667: [06:08:44] <Zauberfisch23> anyway, I actually do have something to talk about.
668: [06:08:50] <Zauberfisch23> I have this weird bug on one of my servers
669: [06:09:07] <Zauberfisch23> saving in a gridfield returns a http response with a couple of spaces
670: [06:09:11] <Zauberfisch23> " "
671: [06:09:23] <Zauberfisch23> on all other servers on the same action its just ""
672: [06:09:43] <Zauberfisch23> this spaces causes the silverstripe javascript to think it has to eval() the response
673: [06:09:59] <Zauberfisch23> but then dies because it can't run it
674: [06:10:04] <Zauberfisch23> and the cms gets stuck
675: [06:10:14] <Zauberfisch23> any clues where those spaces might come from?
676: [06:10:19] <EasyCo> Zauberfisch23: Extra spaces somewhere fucking with your shit?
677: [06:10:24] <EasyCo> EOF
678: [06:10:34] <Zauberfisch23> but why would they only be on 1 server?
679: [06:10:46] <EasyCo> Are they all running exact copies?
680: [06:10:54] <Zauberfisch23> works fine on local dev VM and another server
681: [06:10:55] <Zauberfisch23> yes
682: [06:11:00] <Zauberfisch23> cloned the same repo
683: [06:11:29] <Zauberfisch23> and its happening with several projects
684: [06:11:39] <Zauberfisch23> all have this weird error on this 1 server
685: [06:16:44] <ss23> sysadmins hate him for this 1 simple error
686: [06:27:12] <EasyCo> Zauberfisch23: Has this just started?
687: [06:29:03] <Zauberfisch23> no
688: [06:29:07] <Zauberfisch23> well
689: [06:29:14] <Zauberfisch23> seems older versions of SS run fine
690: [06:29:29] <Zauberfisch23> but I have not deployed websites there for a couple of month
691: [06:29:45] <Zauberfisch23> so tracking down the commit where it broke is going to be hard
692: [06:30:00] <EasyCo> Hmm, good luck then
693: [06:30:10] <EasyCo> I'm off, god speed to ya.
694: [06:30:17] * EasyCo quit (Quit: We can't stop here, this is bat country)
695: [06:30:47] * mdowton quit (Quit: The computer fell asleep)
696: [06:31:14] * mdowton has joined #silverstripe
697: [06:32:16] * mdowton quit (Remote host closed the connection)
698: [06:34:20] <Nightjar> Zauberfisch23: try pjax response handler or whatever that class is
699: [06:34:27] <Nightjar> pjax something something
700: [06:34:32] <Nightjar> only in CMS?
701: [06:35:57] <Zauberfisch23> Nightjar: only CMS, and only gridfield detail forms
702: [06:36:03] <Zauberfisch23> saving pages works
703: [06:36:31] <Zauberfisch23> (saving works in general, but after saving pages the CMS still runs, after saving gridfield records the CMS stops)
704: [06:46:40] * Shrike_Finland has joined #silverstripe
705: [06:48:01] * iamss has joined #silverstripe
706: [06:48:41] <iamss> Hello SilverStripe! does anyone here have tried using the QueuedJobs module?
707: [06:49:23] * DigNZ has joined #silverstripe
708: [06:49:31] <Zauberfisch23> iamss: I've been toled its cool
709: [06:49:39] <Zauberfisch23> but never actually used it myself
710: [06:49:39] * DigNZ quit (Client Quit)
711: [06:50:01] <iamss> I can't seem to make the module work. What I did is I made a class that extends to AbstractQueuedJob implements QueuedJob
712: [06:50:49] <iamss> but when I execute the command sapphire/cli-script.php dev/tasks/ProcessJobQueueTask nothing happens
713: [06:51:07] <iamss> it just gives me a 0 new jobs
714: [06:51:20] <iamss> so how does it really works?
715: [06:51:26] * Marvanni2 has joined #silverstripe
716: [06:51:27] <iamss> help please :)
717: [06:51:49] <Zauberfisch23> no idea sorry
718: [06:51:58] <Zauberfisch23> and I am to busy right now to look into it
719: [06:54:32] * [BNC]bull5hit has joined #silverstripe
720: [06:54:39] * cameronb has joined #silverstripe
721: [06:55:13] * oskarholo quit (Ping timeout: 272 seconds)
722: [06:55:14] * andylockran quit (Ping timeout: 272 seconds)
723: [06:55:14] * marvanni quit (Ping timeout: 272 seconds)
724: [06:55:32] <cameronb> Hey has anyone ever gotten an unexplainable blank page after including a form in your controller with renderWith()?
725: [06:55:48] * [BNC]bull5hit quit (Changing host)
726: [06:55:48] * [BNC]bull5hit has joined #silverstripe
727: [06:55:48] * cameronb quit (Changing host)
728: [06:55:48] * cameronb has joined #silverstripe
729: [06:56:26] <ss23> cameronb: flush and check your logs
730: [06:57:03] <iamss> here's the code http://justpaste.it/dizw
731: [06:58:14] <iamss> Zauberfisch23 can you help me please how the QueuedJobs works
732: [06:58:27] <Zauberfisch23> no
733: [06:58:34] * andylockran has joined #silverstripe
734: [06:58:41] * Shrike_Finland quit (Quit: Leaving.)
735: [07:01:17] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
736: [07:03:53] * Shrike_Finland has joined #silverstripe
737: [07:07:16] <cameronb> Weird thing is that nothing at all comes out in the logs
738: [07:07:41] <cameronb> no errors in my apache logs
739: [07:07:44] <cameronb> and nothing if I try SS_Log::add_writer(new SS_LogFileWriter('/errors.log'));
740: [07:08:00] <cameronb> errors.log exists
741: [07:08:06] <cameronb> I gave it 777 permissions just to be sure
742: [07:08:30] <ss23> probably want errors.log, not /errors.log
743: [07:12:11] <cameronb> tried both
744: [07:12:25] <cameronb> ok figured out my apache logs are bung, now I am finding some php errors
745: [07:12:32] <ss23> sweet
746: [07:12:52] <cameronb> Call to undefined method MySecurityExtension::hasMethod()
747: [07:13:07] <cameronb> so something to do with me extending using the Extension class
748: [07:13:55] <cameronb> Basically, I am trying to extend the Security controller class
749: [07:13:59] <cameronb> to add a new action
750: [07:14:27] <cameronb> what I have done is create a new class MySecurityExtension extends Extension
751: [07:14:55] <cameronb> then in my config I do a Object::add_extension('Security', 'MySecurityExtension');
752: [07:15:05] <cameronb> everything works fine until I get to adding a form
753: [07:15:18] <cameronb> which I guess is expecting the $controller to be seomthing different
754: [07:15:44] <cameronb> so because I am an Extension class, it doesn't have the right methods and stuff
755: [07:20:35] * willr has joined #silverstripe
756: [07:20:43] * Nimle quit (Ping timeout: 250 seconds)
757: [07:28:26] * lerni has joined #silverstripe
758: [07:28:31] * iamss quit (Ping timeout: 250 seconds)
759: [07:29:28] <cameronb> fuckit
760: [07:29:45] <cameronb> just making my own controller, with a route to make it seem nice
761: [07:29:57] <cameronb> not even budget to get things perfect
762: [07:35:11] <cameronb> enough*
763: [07:41:52] * Colin[pi] quit (Ping timeout: 264 seconds)
764: [07:42:56] <ss23> hnng
765: [07:43:00] <ss23> I love writing really nice recursive code
766: [07:43:03] * kerosene quit (Ping timeout: 256 seconds)
767: [07:47:46] * SightUnseen has joined #silverstripe
768: [07:48:08] * SightUnseen has left #silverstripe
769: [07:49:43] <willr> ss23 prolog?
770: [07:51:17] <irogue23> anyone doing Charity-IT?
771: [07:51:26] <ss23> willr: PHP!
772: [07:51:44] <willr> psh recursion for dummies.
773: [07:51:52] <ss23> lol
774: [07:51:58] <ss23> It's hardly my first time, but like
775: [07:52:04] <ss23> I've been trying to think of a good way to do this all day
776: [07:52:11] <ss23> sminnee finally was like "fuck it, do it recursive"
777: [07:52:13] <Nightjar> Why'd you go and have to make things so complicated?
778: [07:52:13] <ss23> so I did
779: [07:52:15] <ss23> and omg good
780: [07:52:48] * cameronb quit (Quit: Page closed)
781: [07:53:18] <ss23> hmmmmmm
782: [07:53:39] <Nightjar> I see the way you're acting like you're somebody else
783: [07:53:44] <Nightjar> it gets me frustrated.
784: [07:54:38] <ss23> lol
785: [07:54:43] <ss23> Guys... maybe question for willr and simon_w
786: [07:54:57] <ss23> a call to $this->extend seems expensive as shit if you have lots of extensions, since it'll just loop over all of them, right?
787: [07:55:17] <Nightjar> 08:51 irogue23 anyone doing Charity-IT?
788: [07:55:19] <Nightjar> what is?
789: [07:55:27] <ss23> 6^^
790: [07:55:29] <ss23> idk what this is either
791: [07:55:32] <willr> correct, but in terms of 'expensive' it's not a huge hit.
792: [07:55:47] <willr> but yes, you wouldn't want to extend() everywhere.
793: [07:55:55] <ss23> willr: What about if you do extensions another way...
794: [07:56:03] <irogue23> http://www.eventbrite.com/event/9041580611
795: [07:56:22] <ss23> So like, instead of "do you have a method called this", instead, for every extension, once at run time, you call theShitIExtend, and it will bind where required
796: [07:56:33] <irogue23> hackfest for charity
797: [07:56:40] <ss23> then when you do a $this->extend, you just go "foreach ($this->shitThatIsTouchingMeInBadPlaces)" etc?
798: [07:56:49] <ss23> willr: Imagine with lots of extensions, could be a not bad gain
799: [07:56:58] <ss23> not a *lot*, but seems like a better way to handle it for scaiability?
800: [07:57:19] <ss23> willr: just since there isn't a *tiny* amount of extend calls in the code
801: [07:57:49] <ss23> also, lol @ extend only supporting 7 array args
802: [07:58:10] <willr> irogue23 looks like a poor mans http://www.goodfornothing.com challenge. Would be tempting depending on the NPO's there
803: [07:59:12] <willr> Couple people at work keen on the Cambodia one http://www.gfnchallenge.org
804: [07:59:12] <ss23> willr: So your thoughts? "Too much effort, not enough gain", "Good idea, just need someone to do it"?
805: [08:00:45] <willr> for improving extension performance? Can't be a bad thing to improve speed but I think in terms of raw performance it's small fish.
806: [08:01:52] * DigNZ has joined #silverstripe
807: [08:02:02] * DigNZ quit (Client Quit)
808: [08:03:02] <willr> though that's not looking too closely at XHProf at extensions..
809: [08:04:18] <simon_w> Basically, the slow part of extensions already does that
810: [08:04:31] <ss23> simon_w: More info?
811: [08:04:42] <simon_w> The __call stuff
812: [08:05:14] <simon_w> You get a lot more time in that than in extend()
813: [08:05:23] <ss23> ah k
814: [08:05:48] <simon_w> Sure, if you did extend() everywhere then that'll change
815: [08:06:25] <simon_w> __call's main problem is that the array it looks up in is massive
816: [08:06:26] <ss23> Okay so much more mundane question, best way to go from /foo/bar/baz -> array('foo', 'bar', 'baz')? This is SS_httprequest object that is for the URL /foo/bar/baz, that is
817: [08:06:43] <simon_w> foo picks the controller?
818: [08:06:49] <simon_w> array_values(allParams())
819: [08:06:53] <ss23> simon_w: Doing this for the old page redirector refactoring
820: [08:07:03] <ss23> almost, simon_w, but that a) includes NULL's, and b) only goes 3 levels deep
821: [08:07:06] <ss23> the b) idc about
822: [08:07:09] <ss23> But the a) is slightly annoying
823: [08:07:11] <ss23> can work around it easily enough...
824: [08:07:22] <ss23> Just wondering if there's a better way
825: [08:07:29] <ss23> Seems horrible to have this URLSegment/Action/Whateverelse crap in here
826: [08:09:39] <simon_w> https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/controllers/ModelAsController.php#L110-L138
827: [08:09:52] <ss23> yeah, that's what I'm refacotring away :P
828: [08:10:02] <ss23> Hence why I said idc about b
829: [08:10:06] <ss23> because it already only does 3 levels deep
830: [08:10:31] <simon_w> so array_filter(array_values(allParams())) ?
831: [08:10:49] <ss23> oh
832: [08:10:52] <ss23> slightly nicer than my foreach
833: [08:11:21] <simon_w> Though does also take out '0'
834: [08:11:35] <simon_w> maybe want array_filter(array_values(allParams()), function($v) { return $v !== NULL })
835: [08:11:52] <ss23> I'm glad you'ere here to think of all those edgecases
836: [08:11:53] <ss23> :P
837: [08:12:08] <simon_w> Guess who gets to write the tests though? :p
838: [08:12:14] <ss23> ohhh, so like
839: [08:12:16] <ss23> ALREADY TESTS FOR IT
840: [08:12:20] <ss23> That's how I know my old code wasn't working
841: [08:12:20] <ss23> :P
842: [08:12:31] <ss23> gotta say, makes developing a lot easier if you have tests already written
843: [08:17:49] <ss23> OK (1 test, 3 assertions)
844: [08:17:50] <ss23> AWW YEAH
845: [08:21:54] * shakesoda quit (Ping timeout: 243 seconds)
846: [08:21:57] <irogue23> willr: yeah, i'd be curious who the NPOs are too
847: [08:22:10] * nepgear has joined #silverstripe
848: [08:25:21] <ss23> oh fuck me
849: [08:25:26] <ss23> there's an entire ceveat to this behaviour
850: [08:25:38] <ss23> if the URL looks like "foo/bar", but...
851: [08:25:39] <ss23> bar isn't found
852: [08:25:45] * chillu has joined #silverstripe
853: [08:25:48] <ss23> it might be that bar is an action on foo, or something
854: [08:25:49] <ss23> blargh
855: [08:26:02] <Nightjar> nah, fuck that shit irogue23.
856: [08:26:08] <Nightjar> NPOs the worst clients ever.
857: [08:26:11] <Nightjar> NO SIR.
858: [08:26:20] <ss23> I think we have some NPO's here
859: [08:26:39] <Nightjar> well... unless the caveat upon entering your NPO is "FUCKING TAKE IT OR SHUT UP AND GO SOMEWHERE ELSE AND PAY REAL MONEY"
860: [08:29:02] * Shrike_Finland quit (Quit: Leaving.)
861: [08:29:03] <ss23> FUCKING
862: [08:29:17] <ss23> This behaviour doesn't *work* because of the fucking /foo/actionoffoo crap
863: [08:29:18] <ss23> ;_;
864: [08:29:35] * willr quit (Quit: willr)
865: [08:32:00] <ss23> blargh
866: [08:32:04] <ss23> have to make all my nice code ugly to work around
867: [08:32:05] <ss23> :(
868: [08:32:50] * zfmf has joined #silverstripe
869: [08:37:05] * chillu quit (Quit: chillu)
870: [08:39:39] * chillu has joined #silverstripe
871: [08:39:49] <Nightjar> http://www.reddit.com/r/funny/comments/1py754/my_first_amputee_costume_thanks_for_your_help/
872: [08:43:53] * ssnewbie has joined #silverstripe
873: [08:44:26] <ssnewbie> hello y'all, looking for a leg-up...
874: [08:45:29] <ssnewbie> about to start my first silverstripe project from scratch (Ive done only a tiny little bit of maintenance up to now) and have been looking around the web for help on a very specific topic
875: [08:46:36] <ssnewbie> basically im going to develop a site that will let users edit a form and save the data, they have to log in to gain access and they can access their saved data when they log in. simple premise
876: [08:48:13] <ssnewbie> my question is, out of the box does silverstripe support saving and retrieving user-linked data? my feeling is i will have to create a new DataObject or Page object that has a one-to-one relationship with a Member...am I on the right track, or am I missing some built-in functionality here?
877: [08:50:51] * svandragt has joined #silverstripe
878: [08:51:23] <zippy__> ssnewbie: you'll want to create a new DataObject, and link it to the user, or, depending on how many fields you can extend the Member and add fields that way
879: [08:52:29] <ssnewbie> zippy, thanks for that, glad im on the right track. by link u mean use the SS has_one relationship functionality
880: [08:52:52] <Nightjar> hahahahahahahahahaa
881: [08:53:03] <Nightjar> "Stroke is largely preventable, yet about 9000 New Zealanders every year have a stroke. For information about reducing your stroke risk click here."
882: [08:53:25] <Nightjar> http://www.stroke.org.nz/node/preventing-stroke : "The requested page could not be found."
883: [08:53:41] <zippy__> ssnewbie: yeap - either way your going to have to extend (data extension) on the member
884: [08:53:51] <Nightjar> I guess they lied?
885: [08:53:57] <zippy__> ssnewbie: as you'll have to extend it, to add the has one relationship
886: [08:54:00] <zippy__> Nightjar: sure did
887: [08:54:31] <Nightjar> ssnewbie: see userforms module.
888: [08:55:25] <ssnewbie> zippy, ok. I think Ill keep the data separate in a new DataObject, and link via the member relationship. THe form is huge so Ive been considering the multiform module (paging), not sure if that works in conjunction with userform...?
889: [08:56:36] * violetina has joined #silverstripe
890: [08:57:58] <Nightjar> no ssnewbie, it sounds like userform will not really suit your purpose at all.
891: [08:58:19] <Nightjar> what you're looking at is a serious engineering application design project.
892: [08:58:36] <Nightjar> I would not attmept it unless you've got some serious coding experience.
893: [08:59:27] <ssnewbie> eh, no its not that complex, literally just a multi page form, with user-linked data (and therefore authentication). i do have years of coding under my belt
894: [08:59:46] <ssnewbie> was just wondering how to approach in silverstripe without re-inventing any wheels
895: [08:59:55] * nepgear is now known as shakesoda
896: [08:59:58] <Nightjar> yeah well should be ok then.
897: [09:00:08] <Nightjar> just remember, decorate your members, don't extend them!
898: [09:01:03] <Zauberfisch23> !
899: [09:01:05] <ssnewbie> im hoping just the has_one relationship definition will all ill have to do to the members, ill separate all the other data into a new DataObject then
900: [09:01:09] <ss23> finally -- OK (7 tests, 18 assertions)
901: [09:01:15] <ss23> NOW WHO'S READY FOR SOME CODE REVIEW?! :D
902: [09:01:58] <Nightjar> ssnewbie: depends on how you define the data. If you have many associations to it, then an abstraction would probably be a good idea.
903: [09:02:17] <Nightjar> ss23: sif.
904: [09:02:32] <Nightjar> spray and walk away
905: [09:03:17] <ss23> lol
906: [09:03:22] <ss23> GREEN = MERGE
907: [09:03:35] * Colin[pi] has joined #silverstripe
908: [09:03:41] <ssnewbie> nightjar, its literally just a big old set of data, linked to the user. I imagine one db row to represent it all and a foreign key to a user id, pretty flat
909: [09:03:54] * kinglozzer has joined #silverstripe
910: [09:04:54] <ss23> eh
911: [09:04:57] <ss23> I have to figure out git first
912: [09:05:00] <ss23> composer makes it *hard*
913: [09:06:21] <ss23> error: src refspec refactor-old-page-redirector does not match any.
914: [09:06:23] <ss23> DOES TOO BITCH
915: [09:06:40] <Nightjar> ssnewbie: if the data definition never changes, then you could just assign it all as db values.
916: [09:06:48] <Nightjar> if it does... it will more complex.
917: [09:07:47] * toebu quit (Read error: Connection reset by peer)
918: [09:07:50] <ssnewbie> true true, still waiting for spec confirmation, but i think its fixed. what do you mean exactly, assign it all as db values
919: [09:10:29] <ss23> #fuckcomposer
920: [09:10:39] <madmatt> Trending on Twatter
921: [09:10:45] <madmatt> since 2011
922: [09:11:35] <ss23> srsly
923: [09:11:38] <ss23> how the fuck do I push this commit
924: [09:11:46] <ss23> error: src refspec refactor-old-page-redirector does not match any.
925: [09:11:46] <ss23> error: failed to push some refs to 'git@github.com:ss23/silverstripe-cms.git'
926: [09:11:54] <Nightjar> ssnewbie: I mean private static $db = array('column' => 'type', etc)
927: [09:12:06] <ss23> or
928: [09:12:06] <ss23> ss23@win:/var/www/silverstripe/hackfest/old-page-redirector/cms$ git push composer refactor-old-page-redirector
929: [09:12:09] <ss23> fatal: remote error: You can't push to git://github.com/ss23/silverstripe-cms.git Use https://github.com/ss23/silverstripe-cms.git
930: [09:12:12] <Nightjar> ss23: how to push? NEVER COMPOSER
931: [09:12:12] <ss23> like
932: [09:12:15] <ss23> WHY THE FUCK NOT YOU SON OF A BITCH?
933: [09:13:24] <madmatt> erm
934: [09:13:28] <Nightjar> because IT CAME IN LIKE A WREEEECKING BAAAALLLL
935: [09:13:29] <madmatt> because it should be git@github.com?
936: [09:13:52] <madmatt> Or, y'know, use https
937: [09:13:57] <ss23> >.>
938: [09:14:07] <ss23> using https doesn't work either
939: [09:14:14] <ss23> madmatt: it works fine if I don't use composer
940: [09:14:15] <ss23> idk why
941: [09:14:25] <madmatt> and that's why I have an @
942: [09:14:29] <madmatt> boom
943: [09:14:38] <madmatt> haha, random
944: [09:14:44] <madmatt> blame composer tbh
945: [09:15:04] <madmatt> Anything funky in .git/config? I don't recall composer doing weird things besides adding a few remotes, but YMMV
946: [09:15:35] <ss23> nope
947: [09:15:52] <ss23> well
948: [09:15:54] <Nightjar> ss23: iirc composer doesn't support https?
949: [09:15:55] <ss23> Hard to know if anything funky
950: [09:15:56] <ss23> but I doubt it
951: [09:16:09] <ss23> Nightjar: It does, but it's nothing to do with composer anyway, right?
952: [09:16:21] <Nightjar> idk, ask simon_w
953: [09:16:25] <ss23> lol
954: [09:16:33] * toebu has joined #silverstripe
955: [09:16:33] <ss23> the annoying thing is like
956: [09:16:36] <Nightjar> you know I have a love hate, mostly hate, relationship with composer
957: [09:16:37] <ss23> trying to commit it is just hard
958: [09:16:38] <ss23> idk
959: [09:16:44] <ss23> can probably re-clone, copy over edited files... etc
960: [09:16:48] <Nightjar> the annoying thing is like
961: [09:16:53] <Nightjar> trying to * is just hard
962: [09:16:55] <Nightjar> idk
963: [09:17:07] <Nightjar> can probably just use git and submodules... etc
964: [09:17:11] <madmatt> How about I fix that for you ss23, and you write the Kiwicon title slides
965: [09:17:20] <ss23> lol
966: [09:17:27] <ss23> madmatt: I still need to get my training shit for friday sorted
967: [09:17:27] <madmatt> copypasta nightmare man, I remember why I hate PPT now
968: [09:17:39] <ss23> madmatt: Are you doing a talk?
969: [09:17:51] <madmatt> ss23: Nah, I'm on AV all weekend
970: [09:17:57] <ss23> oic, sweet
971: [09:18:08] <ss23> I get a speakers badge + access this year
972: [09:18:08] <madmatt> packin begins at dumb'o'clock in the morning
973: [09:18:08] <ss23> ;)
974: [09:18:17] <ss23> haha
975: [09:18:24] <ss23> yeah, I made sure not to volunteer for early :D
976: [09:18:42] <Nightjar> madmatt: all the cool kids use browser based presentations these days
977: [09:19:00] <ss23> ^^
978: [09:19:03] <madmatt> Nightjar: not for a presentation that will stay running for 48hrs :]
979: [09:19:08] <ss23> so many JS fanboys here present on these weird JS thing stuff
980: [09:19:14] <madmatt> That's a recipe for memory leaks ahoy
981: [09:19:33] <Nightjar> sif
982: [09:19:53] <Nightjar> just use Chrome, that shit stays running foreeeeeecvvvvvvveeeeeevvvvvveeeeeeeeeeevvvvvvvv*crash*
983: [09:19:58] <Nightjar> AYE SS23
984: [09:20:05] <madmatt> How about instead
985: [09:20:20] <ss23> XD
986: [09:20:23] <ss23> Saw a screenshot the other day
987: [09:20:24] <madmatt> I do it in PPT, then convert to LibreOffice, then PDF, then use Dreamweaver to convert it to HTML
988: [09:20:27] <ss23> facebook using 1.5GB of ram
989: [09:20:42] <Nightjar> yeah well facebook is shit.
990: [09:20:50] <Nightjar> ALL the things happen, especially if you have all the apps.
991: [09:21:02] <Nightjar> it's gotta track metrics on all that shit, gosh
992: [09:21:03] * madmatt addicted to Candy Crush Saga
993: [09:21:08] <madmatt> (not really)
994: [09:21:19] <ss23> goddam it
995: [09:21:23] <ss23> its not just composer it looks like
996: [09:22:23] <ss23> okay
997: [09:22:27] <ss23> was combination of two issues
998: [09:22:29] <ss23> 1 composer was gay
999: [09:22:30] <ss23> 2 i was dum
1000: [09:22:35] <ss23> toghether, they form ss23-bane
1001: [09:22:40] <Nightjar> but mostly 1 right?
1002: [09:22:45] <ss23> ;_;
1003: [09:22:46] * ss23 coughs
1004: [09:22:49] <ss23> yeah.... :(
1005: [09:22:57] <madmatt> mostly #2
1006: [09:23:03] <Nightjar> hahahah, catch 22'd!
1007: [09:23:05] <ss23> shhh!
1008: [09:24:04] * spronk2 has joined #silverstripe
1009: [09:25:12] <ss23> hmm
1010: [09:25:14] <ss23> silverstripe docs are lame
1011: [09:25:22] <madmatt> Does anyone remember how to fix Gimp loading a hi-res PNG with jagged edges?
1012: [09:25:29] <madmatt> It always gets me
1013: [09:25:49] <ss23> madmatt: Is "use a real image editor" a valid answer?
1014: [09:26:09] <ss23> wow
1015: [09:26:15] <ss23> so turns out cleaners come on wednesday too
1016: [09:26:15] <ss23> just fyi guys
1017: [09:26:29] <ss23> on the plus side, google was playing electronica instead of spice girls
1018: [09:27:34] <madmatt> ss23: harsh man
1019: [09:27:45] <madmatt> Fine, mspaint.exe come at me
1020: [09:28:30] <ss23> ss23 authored 4 months ago
1021: [09:28:36] <ss23> damn, a while since I've worked on this...
1022: [09:29:16] * ss23 waits for travis to run ^.^
1023: [09:31:45] <ss23> 6 mins, tests not done yet :(
1024: [09:31:54] <ss23> oh, failure.
1025: [09:32:07] <ss23> The command "[ "$BEHAT_TEST" = "1" ]" exited with 0.
1026: [09:32:08] <ss23> hmmm
1027: [09:32:13] <ss23> not so sure this is a bug I caused....
1028: [09:34:06] <ss23> chillu: If you have time today and could look at https://github.com/silverstripe/silverstripe-cms/pull/801 I would apperciate it (and I think one of the science ninjas would propose to you)
1029: [09:35:00] <chillu> ss23 Last time I looked the PHPUnit build was broken - so you fixed that now?
1030: [09:35:55] <ss23> chillu: No, looks like some behat stuff broke it (I commented on the PR saying that it looks broken but not caused by me)
1031: [09:36:05] <ss23> chillu: The tests work fine locally (without any behat... 'stuff')
1032: [09:36:45] <Zauberfisch23> chillu: do you have any clues on this issue? http://logs.simon.geek.nz/index.php?date=2013-11-06#log_1107840
1033: [09:36:48] <chillu> have you tried getting behat going locally? I think that's a good time investment if you plan to contribute frequently to core
1034: [09:37:19] <ss23> chillu: Nope, but halkyon did, so if I ever want behat tests ran I can ask him. Don't have a massive desire to contribute to core, and besides, isn't Travis for running behat tests for me so I don't have to? :D
1035: [09:38:15] <chillu> https://travis-ci.org/silverstripe/silverstripe-cms/jobs/13570621 - still breaks
1036: [09:38:26] <madmatt> Zauberfisch23: Just one server? Got a php_prepend_include or whatever the php.ini file is?
1037: [09:38:41] <ss23> ohhhh
1038: [09:38:41] <madmatt> s/file/command/
1039: [09:38:46] <ss23> chillu: Damn, I misread the failure
1040: [09:39:03] <ss23> chillu: Second, sorry!
1041: [09:41:24] <ss23> had an old test in there I forgot about >.<
1042: [09:44:32] <Zauberfisch23> madmatt: thanks for the tip, I'll run a grep
1043: [09:49:58] * guci0 has joined #silverstripe
1044: [09:50:03] <guci0> Hello World!
1045: [09:50:17] <ss23> hallo guci0!
1046: [09:50:22] * ss23 waits for his tests
1047: [09:52:25] <kinglozzer> Sure, have '-' as a delimiter for values that also contain '-'... how could that possibly go wrong?
1048: [09:52:34] * kinglozzer hopes they listen
1049: [09:52:41] <ss23> XD
1050: [09:54:14] <guci0> ;)
1051: [09:58:24] <ss23> Is there any place to check wehther my phpdocs are parsing right?
1052: [09:58:49] <ss23> wanna find out *now* rather than 2 months time when the docs are borked.
1053: [10:00:14] <madmatt> ss23: Just follow the other docs that look a'ight?
1054: [10:00:19] <ss23> mm
1055: [10:01:35] <madmatt> Zauberfisch23: It's called auto_prepend_file and auto_append_file: http://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file
1056: [10:02:50] <ss23> HOME TIME FINALLY
1057: [10:02:50] <ss23> :D
1058: [10:03:07] <spronk2> https://www.everymac.com/systems/by_year/macs-released-in-2011.html
1059: [10:03:14] <spronk2> this page loading properly for everyone?
1060: [10:03:42] <zippy__> spronk2: https warnings
1061: [10:03:44] <Zauberfisch23> madmatt: hmm, its set, but set to no value
1062: [10:03:45] <Nightjar> runs for me
1063: [10:03:50] <Zauberfisch23> auto_prepend_file =
1064: [10:03:53] <Nightjar> opera 12
1065: [10:03:54] <Zauberfisch23> auto_append_file =
1066: [10:03:59] <spronk2> css looks normal?
1067: [10:04:00] <Nightjar> g'nite
1068: [10:04:12] <Nightjar> yeh, normal enough for a horrible looking website?
1069: [10:04:22] <zippy__> chrome isn't loading in the css for me due to the https errors
1070: [10:04:41] * Nightjar has left #silverstripe
1071: [10:04:43] * Nightjar has joined #silverstripe
1072: [10:05:20] * Nightjar has left #silverstripe
1073: [10:05:46] <madmatt> Zauberfisch23: ok, well that rules that out
1074: [10:05:49] <guci0> It's good, Opera 11.64 :)
1075: [10:05:49] <zippy__> that head section on the site is weird! some assets it uses the path /assets/.... others it has the domain in there as well
1076: [10:06:04] <zippy__> spronk2: fix the https warnings and I think it will look better
1077: [10:06:21] <spronk2> ah
1078: [10:06:21] <madmatt> Zauberfisch23: definitely nothing changed (e.g. unicode funny business, uploaded a file from Windows -> linux using a bad ftp client or something?)
1079: [10:06:40] <zippy__> spronk2: http://www.everymac.com/systems/by_year/macs-released-in-2011.html is fine https://www.everymac.com/systems/by_year/macs-released-in-2011.html looks fucked
1080: [10:06:44] <madmatt> If you're using git, make sure it's actually checking the framework/cms folders etc, and it's not ignoring them because they're a git submodule or separate git repos etc.
1081: [10:08:01] <ss23> chillu: Let me know if anything else required for that PR btw! (client is waiting on it kind of)
1082: [10:08:13] <ss23> dammit
1083: [10:08:18] <ss23> I have to decide if Iw anna get dinner or not
1084: [10:08:25] <ss23> screw it, no dinner.
1085: [10:08:36] <spronk2> yeah
1086: [10:08:37] <spronk2> good spotting
1087: [10:10:45] <chillu> ss23 its a bit hard to compare the moved code, is there anything you changed in the logic that I should pay specific attention to?
1088: [10:14:58] <chillu> alright, tests passed, confirmed that we have good existing code coverage for the feature - so merged
1089: [10:17:07] * micmania1 has joined #silverstripe
1090: [10:17:55] * toebu quit (Ping timeout: 245 seconds)
1091: [10:18:38] <zippy__> jez the ol bangladesh are getting close...
1092: [10:21:43] * toebu has joined #silverstripe
1093: [10:25:03] * ec8or__ is now known as ec8or_
1094: [10:25:14] * kerosene has joined #silverstripe
1095: [10:27:50] * chillu quit (Quit: chillu)
1096: [10:36:14] * Sjohn has joined #silverstripe
1097: [10:46:39] * kerosene quit (Ping timeout: 256 seconds)
1098: [10:47:39] * chillu has joined #silverstripe
1099: [10:54:30] * PanPipes has joined #silverstripe
1100: [10:55:54] <ss23> chillu: YAY :D <3
1101: [10:56:27] <ss23> chillu: The closest thing I can think of to logic / breakage would be some kind of edge case whrere you don't have nested URLs turned on. I didn't test a lot there since I figured that was legacy anyway
1102: [10:58:31] <chillu> Yeah that's been deprecated, right? If you're using nested_urls=false you're doin' it wrong ;)
1103: [11:07:51] * Motoservo has joined #silverstripe
1104: [11:22:36] * NobrainerWeb has joined #silverstripe
1105: [11:26:18] <ss23> I hope so, chillu, but there are still lots of references to it
1106: [11:38:02] * Colin[pi] quit (Ping timeout: 246 seconds)
1107: [11:46:27] <guci0> Hmmm... Is any possible to enable inside UploadForm folder managment, set or create new folder for files?
1108: [11:54:03] * PanPipes quit (Quit: Computer went to sleep)
1109: [11:54:05] * dangerdan has joined #silverstripe
1110: [11:56:22] <kinglozzer> Ffs, git can't deal with changing casing in file names?
1111: [11:58:50] * dangerdan quit (Client Quit)
1112: [12:02:46] <kinglozzer> git mv -f foo.txt Foo.txt
1113: [12:02:49] <kinglozzer> Sorted
1114: [12:03:48] <micmania1> quici0, use $uploadField->setFolderName('path/to/file/') and it will create your folder.
1115: [12:11:11] <guci0> micmania1: Thanks, I know setFolderName – I need something variables, connected via PageType. Nevermind – I have idea ;)
1116: [12:11:48] * bp01 has joined #silverstripe
1117: [12:15:02] <bp01> Hi! Can I remove /home from my site, so that the root becomes www.site.com instead www.site.com/home ?
1118: [12:19:31] <bp01> I have Silverstripe 2.4.5
1119: [12:20:35] * ssnewbie quit (Ping timeout: 250 seconds)
1120: [12:24:28] <ss23> bp01: First of all, you should update -- there's some serious security issues with that version of 2.4. But uh... the root should be / kind of -- going to site.com should load /home, but not redirect there
1121: [12:33:02] <bp01> +ss23: Ok, but it does do a redirect...
1122: [12:34:14] <ss23> bp01: Shouldn't do, no idea why sorry, I'm off to bed
1123: [12:35:01] <bp01> +ss23: Sure, thanks anyway!
1124: [12:35:30] <bp01> Does anybody else have any ideas? :-)
1125: [12:38:42] * svandragt quit (Ping timeout: 246 seconds)
1126: [12:40:41] * NobrainerWeb quit (Quit: NobrainerWeb)
1127: [12:45:26] <guci0> bp01: In 3.X You can, but 2.4.5 I don't know – look inside RootURLController.php and static $default_homepage_link = 'home'; Remeber to flush.
1128: [12:56:42] * NobrainerWeb has joined #silverstripe
1129: [13:02:16] <bp01> Hmm ok..
1130: [13:04:10] * toebu quit (Ping timeout: 245 seconds)
1131: [13:09:54] * UndefinedOffset has joined #silverstripe
1132: [13:13:06] * svandragt has joined #silverstripe
1133: [13:16:38] <svandragt> bp01: I think you might have replaced the homepage then this happens, but I can't remember the solution.
1134: [13:17:10] <svandragt> bp01: if so, in the future, convert the page into the pagetype you want (well this is in 3.0 anyway)
1135: [13:18:58] <svandragt> bp01: if you have a backup, perhaps you could try deleting the homepage and run /dev/build maybe it will create a new one without the home?
1136: [13:20:09] <svandragt> if you find the answer: http://www.silverstripe.org/general-questions/show/20329
1137: [13:36:25] <bp01> svandragt: The company I work for have several old 2.4.5 sites, and they all have this problem. Aupgrading doesn't seem to be an option... :-( I have
1138: [13:36:38] <bp01> erhh.
1139: [13:36:59] <bp01> Thanks for your input, I'll search around a bit more!
1140: [13:38:37] <bp01> Btw, I don't think it's the same problem as in the link you provided. All the other pages work fine, i.e. they don't get prefixed with /home. The problem is I can't get rid of /home from www.site.com/home.
1141: [13:39:35] * kinglozzer is wondering how car tyres can be so expensive >:(
1142: [13:45:04] <ec8or_> how can i use columns returned by a join in a where statement for ss3?
1143: [13:45:09] <ec8or_> like this: http://www.sspaste.com/paste/show/527a45da963ac
1144: [13:45:31] <ec8or_> i get unknown column for anything on the joined table
1145: [13:46:58] <kinglozzer> ec8or_: Shouldn't you use ->leftJoin() instead of doing it all in the one method?
1146: [13:47:08] <ec8or_> yeah that is old 2.4 code
1147: [13:47:19] <ec8or_> can't get it to work with leftJoin
1148: [13:50:51] <ec8or_> i should probably have a look at improving the data base structure as well :)
1149: [14:04:04] <NobrainerWeb> How do i know who (member) created a page or a blogentry?
1150: [14:04:48] <NobrainerWeb> I'm trying to do a modeladmin for managing blogposts, and i only want members to see and edit own blogentries
1151: [14:11:51] * zippy__ quit (Ping timeout: 245 seconds)
1152: [14:12:02] * toebu has joined #silverstripe
1153: [14:21:57] * jrthomer has joined #silverstripe
1154: [14:24:35] * zippy__ has joined #silverstripe
1155: [14:25:31] * spronk2 quit (Quit: spronk2)
1156: [14:28:45] * toebu quit (Ping timeout: 245 seconds)
1157: [14:48:07] * Alexwijn has joined #silverstripe
1158: [14:48:57] <Alexwijn> Does Silverstripe have a log?
1159: [14:52:10] <kinglozzer> It can do: http://doc.silverstripe.org/framework/en/topics/error-handling#filesystem-logs
1160: [14:53:11] * pathum has joined #silverstripe
1161: [14:55:15] <Alexwijn> got it
1162: [14:59:19] * bp01 quit ()
1163: [15:04:22] * NobrainerWeb quit (Quit: NobrainerWeb)
1164: [15:06:51] * phpathum_ has joined #silverstripe
1165: [15:07:03] * catcher has joined #silverstripe
1166: [15:07:25] * pathum quit (Ping timeout: 272 seconds)
1167: [15:16:55] * DesignerX quit (Ping timeout: 272 seconds)
1168: [15:19:18] * pathum has joined #silverstripe
1169: [15:22:44] * phpathum_ quit (Ping timeout: 246 seconds)
1170: [15:23:22] * violetina quit (Remote host closed the connection)
1171: [15:24:41] * violetina has joined #silverstripe
1172: [15:30:46] * spronk2 has joined #silverstripe
1173: [15:30:53] * spronk2 quit (Client Quit)
1174: [15:31:25] * phpathum_ has joined #silverstripe
1175: [15:34:09] * pathum quit (Ping timeout: 240 seconds)
1176: [15:48:55] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
1177: [15:49:42] <Alexwijn> Does anyone know a good module where you can edit themes
1178: [15:49:55] <Alexwijn> Without coding knowledge
1179: [15:50:22] <Alexwijn> So the designer will create a some kind of editor page for the user
1180: [15:50:27] <Alexwijn> So he can change for example the color
1181: [15:50:31] <Alexwijn> or a slider
1182: [15:52:29] * pathum has joined #silverstripe
1183: [15:52:37] <catcher> Alexwijn, I believe you'd be looking for a theme that supports that, rather than a module.
1184: [15:53:29] <catcher> I can't say whether or not one already exists, but it'd be nice to build one if it doesn't.
1185: [15:55:07] * phpathum_ quit (Read error: Connection reset by peer)
1186: [15:56:10] <Alexwijn> Is that possible for SS?
1187: [15:56:20] <Alexwijn> That a theme can add a page onto the cms?
1188: [16:00:09] * Colin[pi] has joined #silverstripe
1189: [16:00:46] <catcher> Alexwijn, it'd require an accompanying module, I suppose
1190: [16:02:05] <Alexwijn> So SS does no offer this?
1191: [16:02:28] <Alexwijn> Is it possible that a module read data from a theme
1192: [16:02:33] <Alexwijn> For example code
1193: [16:02:36] <Alexwijn> for a form
1194: [16:06:08] * Sjohn quit ()
1195: [16:11:19] <kinglozzer> Anyone who's familiar with Injector care to take a look at this? http://pastie.org/8460035. I'm sure I can probably do that much more easily with Injector...
1196: [16:12:50] * phpathum_ has joined #silverstripe
1197: [16:15:28] * pathum quit (Ping timeout: 264 seconds)
1198: [16:18:15] * pathum has joined #silverstripe
1199: [16:20:05] * Zauberfisch has joined #silverstripe
1200: [16:21:15] * phpathum_ quit (Ping timeout: 245 seconds)
1201: [16:21:38] * phpathum_ has joined #silverstripe
1202: [16:22:00] * Zauberfisch quit (Client Quit)
1203: [16:23:41] * pathum quit (Ping timeout: 272 seconds)
1204: [16:23:58] <Marvanni2> where can I find the default PasswordValidator settings?
1205: [16:25:38] <kinglozzer> PasswordValidator.php?
1206: [16:27:09] <Marvanni2> yeah, I got that, but I wondered if there are set some minimal requirements by default
1207: [16:28:05] <kinglozzer> As far as I know Member just uses that standard configuration
1208: [16:28:08] * pathum has joined #silverstripe
1209: [16:31:19] * phpathum_ quit (Ping timeout: 244 seconds)
1210: [16:37:52] * jcwacky has joined #silverstripe
1211: [16:38:46] <jcwacky> What do I need to add to my extension to change a Page type's name?
1212: [16:38:53] <jcwacky> private static $singular_name = 'Single Submission Form'; doesn't seem to be having any effect.
1213: [16:42:44] <Zauberfisch23> jcwacky: nothing
1214: [16:42:50] <Zauberfisch23> extensions are not the place to do that
1215: [16:42:54] <Zauberfisch23> use language files
1216: [16:43:37] <jcwacky> Ahh, that's a new one for me. I'll take a look.
1217: [16:43:41] <jcwacky> Thanks.
1218: [16:43:59] <Zauberfisch23> jcwacky:
1219: [16:44:16] <Zauberfisch23> ZauberfischIsAwesomePage:
1220: [16:45:03] <Zauberfisch23> SINGULARNAME: 'awesome zauberfisch is awesome'
1221: [16:45:15] <Zauberfisch23> PLURALNAME: 'awesome zauberfisches are awesome'
1222: [16:45:31] <Zauberfisch23> /mysite/lang/en.yml
1223: [16:45:42] <Zauberfisch23> make sure you use 2 spaces for indentation, not tabs
1224: [16:52:26] <jcwacky> Thanks, but struggling to get it to take effect.
1225: [16:52:40] <jcwacky> Think it might be because I'm trying to rename UserDefinedForm
1226: [16:52:57] <jcwacky> And the 'userforms' dir comes after 'mysite'?
1227: [16:52:59] <Zauberfisch23> did you forget to flush?
1228: [16:53:08] <jcwacky> Flushed several times.
1229: [16:53:18] <Zauberfisch23> not sure about the include order of lang files
1230: [16:55:46] <jcwacky> Hmm, saying that, removing SINGULARNAME from userforms/lang/en.yml doesn't seem it help.
1231: [16:56:39] <jcwacky> Ah, no, it did make it work for DESRIPTION
1232: [16:57:09] <Zauberfisch23> jcwacky: if lang file really doesn't work, you can always update the config in php
1233: [16:57:42] <Zauberfisch23> I think that should be possible for lang files aswell as for config files
1234: [16:57:50] <Zauberfisch23> but I would need to look into that
1235: [16:58:02] <jcwacky> Yeh, looks like UserDefinedForm gets SINGULARNAME from it's PHP file, but DESCRIPTION from it's lang file.
1236: [16:58:14] <Zauberfisch23> no, thats not what I mean
1237: [16:58:39] <Zauberfisch23> or I am pretty sure that UDF does not set the title in php, that would be bad
1238: [16:59:03] * phpathum_ has joined #silverstripe
1239: [16:59:24] <Zauberfisch23> setting silverstripe configs that are possible with yml should be set with yml or private statics, everything else is bad practice
1240: [17:00:23] <jcwacky> Ah, sorry yeh. I've got it now, it was also defined in en_GB & en_US as well as en.yml
1241: [17:00:35] * pathum quit (Ping timeout: 260 seconds)
1242: [17:01:51] <jcwacky> Presume it should really just be defined in en.yml, as it's the same in both GB & US
1243: [17:03:06] * kinglozzer quit ()
1244: [17:03:10] * lerni quit (Quit: lerni)
1245: [17:09:11] <jcwacky> Hmm, so my custom en_US.yml file appears to work fine overwriting values set in /userforms/lang/en.yml, but it's not overwriting values set in userforms/lang/en_US.yml
1246: [17:11:34] <catcher> jcwacky, did you /dev/build?
1247: [17:11:49] * svandragt quit (Ping timeout: 272 seconds)
1248: [17:12:22] <catcher> jcwacky, well, that seems it applied when I only read the first few lines of the chat :)
1249: [17:18:22] <jcwacky> ok, solved it my moving my /lang directory from /mysite to /zlang!
1250: [17:27:38] * phpathum_ quit (Ping timeout: 244 seconds)
1251: [17:37:14] * svandragt has joined #silverstripe
1252: [17:37:57] * SMaction has left #silverstripe
1253: [17:47:35] <Alexwijn> What is priority of a ss file?
1254: [17:47:47] <Alexwijn> If I put a ss file in the theme folder
1255: [17:47:57] <Alexwijn> Can it be overritten by a module
1256: [17:48:13] <Alexwijn> or does a module override that
1257: [17:55:00] <AlphaCactus> eh, I think themes override site which overrides modules which overrides framework/cms. but i'm not real sure about that.
1258: [17:56:37] <Alexwijn> One way to find out :)
1259: [17:58:30] <Alexwijn> Any advice you can give me for the following
1260: [17:58:40] <Alexwijn> I want to create a slider module, but want to make it globally so all themes can use
1261: [17:58:53] <Alexwijn> Ofcourse every theme can adjust if they need adjustments for css or something
1262: [17:59:17] <Alexwijn> But the slider must be available globally in the theme
1263: [17:59:27] <Alexwijn> And there need to be setting in the CMS
1264: [17:59:29] <Alexwijn> to add images for it
1265: [18:06:50] <Alexwijn> Anything?
1266: [18:07:38] <AlphaCactus> yikes, that would require thinking.
1267: [18:07:49] <Alexwijn> :)
1268: [18:09:17] <Alexwijn> Maybe that a theme can define a slider name by id
1269: [18:09:26] <Alexwijn> And that you get a new tab at settings
1270: [18:09:29] <Alexwijn> where you can edit the slider
1271: [18:10:07] * SightUnseen has joined #silverstripe
1272: [18:12:35] * SightUnseen has left #silverstripe
1273: [18:14:32] * svandragt quit (Ping timeout: 272 seconds)
1274: [18:27:26] <Alexwijn> How to a ModelAdmin to the settings apge?
1275: [18:27:27] <Alexwijn> page*
1276: [18:27:34] <Alexwijn> Rather having it own menu
1277: [18:32:10] * simon_w quit (Quit: This computer has gone to sleep)
1278: [18:34:53] <Alexwijn> Or is that not possible?
1279: [18:39:19] <Zauberfisch23> Alexwijn: you mean as in a admin section like model admin but not with a grid? yes its possible, in fact it already exists, the settings admin
1280: [18:39:25] <Zauberfisch23> just look at the code of it
1281: [18:39:49] <Alexwijn> I want a ModelAdmin inside the Settings Menu Page
1282: [18:39:57] <Alexwijn> As a diffent tab
1283: [18:40:08] <Alexwijn> So then it becomes tab in tab
1284: [18:42:09] <Alexwijn> Do you understand?
1285: [18:42:35] <Alexwijn> A ModelAdmin as Tab in the SiteConfig
1286: [18:42:38] <Alexwijn> page
1287: [18:44:13] <Alexwijn> hm
1288: [18:46:25] <Alexwijn> Is this possible?
1289: [18:47:45] <Alexwijn> I tried adding this: private static $tree_class = 'SiteConfig';
1290: [18:47:49] <Alexwijn> But that does not work
1291: [19:06:43] <AlphaCactus> model admin is just a gridfield really. so could you do just a gridfield?
1292: [19:10:37] <AlphaCactus> Something like this maybe: http://kh.designkh.com/assets/Screenshot_4.png but its not a ModelAdmin
1293: [19:13:24] * coldhand_ is now known as coldhand
1294: [19:16:23] * simon_w has joined #silverstripe
1295: [19:17:05] * antmas has joined #silverstripe
1296: [19:17:29] <antmas> mernin
1297: [19:18:25] <antmas> holy crap, xero went up again?
1298: [19:18:30] <antmas> O.o
1299: [19:24:56] <simon_w> Gotta have some company that can do no wrong :p
1300: [19:29:14] <antmas> simon_w: I just wish I invested :P
1301: [19:29:36] <simon_w> You know what company would've been awesome to invest in? Apple :p
1302: [19:31:31] <simon_w> You know, just before Steve came back
1303: [19:31:46] <antmas> simon_w: I guess
1304: [19:32:17] <simon_w> I know people that bought houses because of what happened with their Apple stock
1305: [19:32:19] <antmas> but imagine if it were invested in Xero and how rich you could have gotten in less than 3 weeks
1306: [19:32:26] <antmas> yeah
1307: [19:32:54] <antmas> shit is going to crash though
1308: [19:32:57] <antmas> surely
1309: [19:33:39] <simon_w> Apple is a great case of how screwed up the stock market is. Consistently exceeds expectations, but stock still going down
1310: [19:37:22] <antmas> I don't think it has anything to do with any companies anymore, it's all just algorithm swarms and seasonal changes now
1311: [19:41:33] <Alexwijn> AlphaCactus, yeah like that
1312: [19:41:45] <Alexwijn> Only for example "Windows" is a ModelAdmin
1313: [19:43:27] * nickmolhoek has joined #silverstripe
1314: [19:44:11] <AlphaCactus> you could put a Gridfield in side windows... I think ModelAdmin wants to take over all of the the main area of the CMS.
1315: [19:45:37] <Alexwijn> I guess I'll keep it in the menu for now
1316: [19:45:51] <Alexwijn> Need to finish everything in less then 45minutes :)
1317: [19:46:01] <AlphaCactus> that always works
1318: [19:46:22] * CodeTrap has joined #silverstripe
1319: [19:46:23] <Alexwijn> How to retrieve DataObject inside the template
1320: [19:46:28] <Alexwijn> I need to use an extension
1321: [19:46:29] <Alexwijn> ?
1322: [19:46:35] <Alexwijn> for Page.php
1323: [19:46:42] <AlphaCactus> you can write stuff right in page
1324: [19:46:49] <Alexwijn> It is a module
1325: [19:46:50] * pippy_ is now known as pippe
1326: [19:46:53] * pippe is now known as pippy
1327: [19:46:59] <AlphaCactus> oh.
1328: [19:49:33] * Ryan-Toast has joined #silverstripe
1329: [19:50:26] * chillu quit (Quit: chillu)
1330: [19:50:53] <Alexwijn> So how can I retrieve it?
1331: [19:51:27] * Pyromanik has joined #silverstripe
1332: [19:52:49] * chillu has joined #silverstripe
1333: [19:53:09] <Alexwijn> never mind, found it
1334: [19:56:14] * UncleCheese has joined #silverstripe
1335: [20:02:17] * DigNZ has joined #silverstripe
1336: [20:06:59] * pippy quit (Ping timeout: 272 seconds)
1337: [20:10:21] <AlphaCactus> how u do it
1338: [20:13:43] <Alexwijn> What you mean
1339: [20:13:57] * pippy has joined #silverstripe
1340: [20:14:26] <Alexwijn> Is it just me or are Requirements very buggy
1341: [20:15:13] <zippy__> What you mean?
1342: [20:15:18] <Alexwijn> I created a DataExtension, add it Page
1343: [20:15:23] <Alexwijn> And add this to init
1344: [20:15:28] <Alexwijn> Requirements::javascript('jquery_cycle/javascript/jquery.cycle.min.js');
1345: [20:15:32] <Alexwijn> But did does not get included
1346: [20:15:42] <Alexwijn> Before I had problems witht his too
1347: [20:15:49] <Alexwijn> Sollution, a lot of refreshes and flushes
1348: [20:16:00] <Alexwijn> But now, that does not work
1349: [20:17:34] <Pyromanik> zippy__: What you say?
1350: [20:17:45] <Pyromanik> Someone set up us the bomb.
1351: [20:18:00] <Pyromanik> take off every zig!
1352: [20:18:33] <Pyromanik> Alexwijn: I don't think there is an init on dataextension.
1353: [20:18:49] <Alexwijn> Ah
1354: [20:18:50] <Alexwijn> Goit it
1355: [20:18:58] <Alexwijn> I set it on where I needed it
1356: [20:19:01] <Alexwijn> At the get function
1357: [20:20:01] <guzzlefry> Using SilverStripe as a backend for mod_auth_mysql
1358: [20:20:05] <guzzlefry> SEE IF I WON'T
1359: [20:24:12] <Pyromanik> Hey just a thought
1360: [20:24:31] <Pyromanik> does yml config violate open/closed priciple?
1361: [20:24:41] <Pyromanik> well, specifically being able to modifly db, etc?
1362: [20:25:01] <guzzlefry> question
1363: [20:25:10] <guzzlefry> shouldn't composer install pull in a .htaccess file?
1364: [20:25:12] <simon_w> You mean like you used to be able to do from your _config.php?
1365: [20:25:25] <simon_w> guzzlefry, only if you're installing silverstripe-installer
1366: [20:25:54] <guzzlefry> hm, odd
1367: [20:27:43] <guzzlefry> I need some type of skelton SS install to work with. :/
1368: [20:27:52] <guzzlefry> maybe a scirpt to harass me about steps I forget.
1369: [20:28:11] * zfmf has left #silverstripe
1370: [20:28:29] <simon_w> Zauberfisch has a silverstripe-bootstrap type thing that has a bunch of modules and defaults and stuff
1371: [20:28:52] <Pyromanik> we have one too, because fuck composer
1372: [20:29:45] <Ryan-Toast> What does HeadingLevel do for fields?
1373: [20:29:46] <guzzlefry> I actually like Composer. :P
1374: [20:30:10] <simon_w> Ryan-Toast, for HeaderFields it sets the number in the <h#> tag
1375: [20:30:17] <Ryan-Toast> Ah, coolio.
1376: [20:30:21] <Ryan-Toast> cheers.
1377: [20:30:27] * simon_w mentions composer way too much: http://logs.simon.geek.nz/stats.php#composer
1378: [20:30:52] <Ryan-Toast> I have a skeleton that I'm working on to learn SS: https://github.com/Rhym/ss_boilerplate
1379: [20:31:11] <guzzlefry> hm
1380: [20:31:17] * antmas_ has joined #silverstripe
1381: [20:31:33] * antmas quit (Ping timeout: 250 seconds)
1382: [20:31:54] <catcher> ffs
1383: [20:31:54] <catcher> Nick Number times used
1384: [20:31:54] <catcher> Pyromanik 136
1385: [20:31:54] <catcher> catcher 54
1386: [20:32:04] <guzzlefry> simon_w: Is there a simple way to use just the CMS? Currently I have composer pulling in cms and framework. It seems i also need a module with $databaseConfig set.
1387: [20:32:24] <catcher> Interesting.. must be something else contains ffs for me.
1388: [20:32:36] <catcher> Pyromanik, on the other hand..
1389: [20:32:52] <simon_w> guzzlefry, well, it needs to know how to talk to the database
1390: [20:32:59] <simon_w> I just use _ss_environment.php
1391: [20:33:25] <guzzlefry> To set the database as well?
1392: [20:33:28] <Alexwijn> Is it possible to have a hidden administrator?
1393: [20:33:28] <guzzlefry> database name
1394: [20:34:31] <simon_w> guzzlefry, yes, SS_DATABASE_NAME or SS_DATABASE_CHOOSE_NAME (the one I use)
1395: [20:34:35] <simon_w> Alexwijn, no
1396: [20:34:53] <guzzlefry> thanks
1397: [20:35:28] <Pyromanik> ffs catcher, why you gotta go bringing that up?
1398: [20:35:31] <Pyromanik> xP
1399: [20:35:57] <Pyromanik> SS_DATABASE_NAME
1400: [20:35:58] <Pyromanik> REALLY?
1401: [20:36:07] <Pyromanik> pretty sure that never used to be there :<
1402: [20:36:12] <Pyromanik> only prefix and suffix!
1403: [20:36:20] <simon_w> yeah, it's rather recent
1404: [20:36:22] <guzzlefry> hm so
1405: [20:36:25] <Pyromanik> simon_w: ah, cool
1406: [20:36:31] <simon_w> cause SS_DATABASE_CHOOSE_NAME is so much more better
1407: [20:36:46] <Pyromanik> I have (if not defined SS_DATABASE_CHOOSE_NAME) $database = 'blah';
1408: [20:36:50] <Pyromanik> in my _config.php
1409: [20:37:09] <Pyromanik> for live sites vs devs which use folder name
1410: [20:37:17] <guzzlefry> If my silverstripe files are in web-admin/, and I have SS_DATABASE_CHOOOSE_NAME, Silverstripe will look for the ss_web-admin database?
1411: [20:37:26] <Pyromanik> yes
1412: [20:37:29] <Pyromanik> well
1413: [20:37:33] <Pyromanik> depends on what you defined it as
1414: [20:37:37] <guzzlefry> 1
1415: [20:37:39] <Pyromanik> 1 will give you web-admin
1416: [20:37:50] <Pyromanik> 2 will give you this(/web-admin)
1417: [20:37:55] * guzzlefry wonders how he missed that while reading the docs.
1418: [20:37:56] <Pyromanik> etc
1419: [20:38:12] <Pyromanik> quick
1420: [20:38:25] <Pyromanik> what does the u modifier flag do to a regex?
1421: [20:38:31] <Pyromanik> first to answer wins a prize
1422: [20:38:39] <simon_w> unicode support
1423: [20:38:47] <Pyromanik> boom, 10 points for simon_w :D
1424: [20:39:00] <Pyromanik> cheers :)
1425: [20:41:30] <guzzlefry> oh wait
1426: [20:41:42] <guzzlefry> I don't think web-admin would be a vaild database name. >_>
1427: [20:42:01] <simon_w> It is
1428: [20:42:48] <guzzlefry> in MySQL?
1429: [20:42:58] <guzzlefry> I figured the - would throw it off.
1430: [20:43:00] <AlphaCactus> ya
1431: [20:43:13] <guzzlefry> Unless I need to escape it with ""?
1432: [20:43:19] <AlphaCactus> can have _ or -
1433: [20:44:48] <guzzlefry> yeah, it's yelling at me about the -
1434: [20:47:21] <guzzlefry> hrm
1435: [20:47:46] <guzzlefry> SilverStripe Framework requires a $databaseConfig defined.
1436: [20:47:48] <simon_w> Yes, you have to quote it
1437: [20:48:01] <simon_w> have you defined the server, user and password as well?
1438: [20:48:06] <guzzlefry> yep
1439: [20:48:17] <simon_w> Where's your _ss_environment.php?
1440: [20:48:23] <simon_w> Using the default mysite/_config.php?
1441: [20:48:29] <guzzlefry> oh
1442: [20:48:38] <guzzlefry> I might need that?
1443: [20:49:27] <simon_w> Well, your _config.php needs to set the $project value and include conf/ConfigureFromEnv.php
1444: [20:49:28] <guzzlefry> _ss_environment.php is in /var/www/web-admin/
1445: [20:54:20] <guzzlefry> "Setting up the database; you will be returned to your site shortly...."
1446: [20:54:26] <guzzlefry> That shouldn't take more than a minute should it?
1447: [20:54:44] <simon_w> Depends how much it needs to do and how slow your machine is
1448: [20:55:09] <guzzlefry> It's...in the cloud! >_>
1449: [20:55:35] <guzzlefry> okay so, I guess I need a basic template for this to work.
1450: [20:58:51] <simon_w> Bah, http_build_url() is only available in pecl
1451: [20:59:15] * zfmf has joined #silverstripe
1452: [21:00:25] <guzzlefry> okay so
1453: [21:00:30] <guzzlefry> adding a template didn't help.
1454: [21:00:44] <guzzlefry> /admin is blank.
1455: [21:00:52] <guzzlefry> err
1456: [21:01:03] <guzzlefry> /Security/login rather
1457: [21:01:44] <guzzlefry> oh ffs
1458: [21:05:26] * micmania1 has joined #silverstripe
1459: [21:05:34] <guzzlefry> So I guess all I really need are a theme and a skeleton site module that I can pull in with Composer.
1460: [21:09:39] <micmania1> guzzlefry, hows the ecommerce coming along?
1461: [21:09:55] <guzzlefry> dude..
1462: [21:10:07] <guzzlefry> Another project now has priority. :P
1463: [21:10:26] <micmania1> haha I hate that.
1464: [21:10:32] <guzzlefry> After I set this mod_auth_mysql thing to use SilverStripe's member database.
1465: [21:11:02] <micmania1> http://awesomescreenshot.com/0101xbx5d3 - I'm pimping mine up :)
1466: [21:12:10] <simon_w> Woo, time to implement http://svn.php.net/viewvc/pecl/http/branches/DEV_2/php_http_url.c?view=markup#l186 and http://svn.php.net/viewvc/pecl/http/branches/DEV_2/php_http_url.h?view=markup#l51 in user land!
1467: [21:12:44] <guzzlefry> micmania1: SS_shop?
1468: [21:12:49] <guzzlefry> forget the name of it :P
1469: [21:13:09] <micmania1> nah, custom. Didn't like the others
1470: [21:13:20] <guzzlefry> oh, nice
1471: [21:14:17] <micmania1> It still has a LONG way to go though
1472: [21:16:07] <guzzlefry> What's left?
1473: [21:16:56] <micmania1> EVERYTHING!!
1474: [21:17:00] <guzzlefry> :(
1475: [21:17:05] <micmania1> I'm just building components atm
1476: [21:17:11] <micmania1> and linking models etc.
1477: [21:17:13] * UndefinedOffset quit (Quit: Leaving.)
1478: [21:17:35] <guzzlefry> I have the checkout process stuff and the backend order management left.
1479: [21:17:40] <guzzlefry> But mine is very bare-bones.
1480: [21:18:14] <micmania1> Mines just a personal project so i'm doing it with all the trimmings
1481: [21:18:30] <guzzlefry> ...masochist :P
1482: [21:18:42] <guzzlefry> well actually
1483: [21:19:00] <guzzlefry> I'd be having fun with this if I wasn't in a rush.
1484: [21:20:39] <antmas_> the idea of doing that makes my head hurt
1485: [21:20:47] <antmas_> Shopify all the things!
1486: [21:22:47] * Jakx has joined #silverstripe
1487: [21:23:30] * [BNC]bull5hit quit (Quit: bye)
1488: [21:25:39] <Ryan-Toast> Can I do: $sqlQuery->orderBy = 'RAND()'; in a query?
1489: [21:26:17] <Ryan-Toast> going to send that query a rand, bitches love rand.
1490: [21:29:47] <guzzlefry> I remember RAND() being bad.
1491: [21:30:50] <Jakx> simon_w, I believe javascript parsed in the CMS's preview iframe are interrupting the CMS behavior. Do you know any obvious reasons why this may be happening?
1492: [21:37:13] * UncleCheese quit (Quit: UncleCheese)
1493: [21:37:35] <antmas_> hmmm
1494: [21:38:03] <antmas_> if I delete everything in /assets/_combined files, then view the a page in the CMS/frontend, those js files should regenerate, right?
1495: [21:43:56] <simon_w> yes
1496: [21:44:02] * spronk has joined #silverstripe
1497: [21:44:39] <ss23> Some of our deployment scripts will expliiclty delete those files to get them to regenerate, antmas_
1498: [21:44:47] * antmas_ quit (Ping timeout: 250 seconds)
1499: [21:45:07] * antmas has joined #silverstripe
1500: [21:47:00] <Alexwijn> How to get the page type of the current page
1501: [21:48:19] <Jakx> Alexwijn, depends what you mean by page type. But $this->ClassName or $ClassName will do it.
1502: [21:48:23] <ss23> ohhh
1503: [21:48:24] <ss23> Handy
1504: [21:48:36] <ss23> I was going to say get_class($this), but that looks beter
1505: [21:48:36] <Alexwijn> in template
1506: [21:48:46] <ss23> lol
1507: [21:49:09] <Jakx> ^ as mentioned... $ClassName
1508: [21:49:13] <guzzlefry> so
1509: [21:49:22] <guzzlefry> #debian or #ubuntu for asking questions? :P
1510: [21:51:35] * Guest111 has joined #silverstripe
1511: [21:56:17] <guzzlefry> Which encryption type does SilverStripe use for passwords?
1512: [21:57:55] <ss23> guzzlefry: crypt() with bcrypt atm I think
1513: [21:58:07] <ss23> Could probably patch 3.1 to use password_hash maybe
1514: [21:58:11] <ss23> or maybe not old enough yet
1515: [21:58:51] <guzzlefry> mod_auth_mysql better support that. :P
1516: [21:59:05] <guzzlefry> otherwise I'm going to be bad and use plaintext or MD5. >_>
1517: [21:59:53] <ss23> lol
1518: [22:00:01] <ss23> oh shit
1519: [22:00:16] <guzzlefry> They're using .htaccess with plaintext crap right now.
1520: [22:00:24] <ss23> I was implementing that here at work too, guzzlefry
1521: [22:00:30] <ss23> guzzlefry: I checked, it should support it on some distros
1522: [22:00:33] <guzzlefry> Did you get that working?
1523: [22:00:38] <guzzlefry> I'm using Ubuntu >_>
1524: [22:00:46] <ss23> guzzlefry: lol
1525: [22:00:54] <ss23> Ubuntu is generally good at supporting things, so should be okay there
1526: [22:01:33] <ss23> Reason is that it uses crypt() which may or may not support it
1527: [22:01:40] <ss23> (syscall crypt, not php crypt)
1528: [22:02:20] <ss23> guzzlefry: btw, you can use mod_authn_dbd, which comes built into apache
1529: [22:02:45] <guzzlefry> That can handle MySQL?
1530: [22:02:53] <ss23> yeah
1531: [22:02:59] <ss23> well
1532: [22:03:00] <ss23> I think so
1533: [22:03:08] * DigNZ quit (Quit: DigNZ)
1534: [22:03:28] <ss23> yeah
1535: [22:03:34] <ss23> guzzlefry: It has a DBDriver mysql option
1536: [22:03:50] <ss23> guzzlefry: http://httpd.apache.org/docs/current/mod/mod_dbd.html#dbdriver
1537: [22:05:38] <ss23> guzzlefry: http://httpd.apache.org/docs/current/misc/password_encryptions.html Oh looks like it supports it on all distros!
1538: [22:05:46] <antmas> note sure if my last question was answered, got booted
1539: [22:05:48] <ss23> guzzlefry: ucky you :)
1540: [22:05:54] <ss23> Let me know if you get it set up, guzzlefry
1541: [22:05:55] <antmas> anyone for the regenerated files?
1542: [22:06:06] <ss23> antmas: 10:39:05 < antmas_> if I delete everything in /assets/_combined files, then view the a page in the CMS/frontend, those js files should regenerate, right?
1543: [22:06:09] <ss23> 10:44:58 <@simon_w> yes
1544: [22:06:11] <ss23> 10:45:04 -!- spronk [~noemail@118-93-11-76.dsl.dyn.ihug.co.nz] has joined #silverstripe
1545: [22:06:15] <ss23> 10:45:41 <+ss23> Some of our deployment scripts will expliiclty delete those files to get them to regenerate, antmas_
1546: [22:06:19] <guzzlefry> ss23: I don't see an option to set salt field. 0.o
1547: [22:06:25] <guzzlefry> although it's in the old docs.
1548: [22:06:35] <antmas> ss23: ah, cool. Thought so
1549: [22:06:37] <ss23> guzzlefry: You don't set a salt field
1550: [22:06:46] <guzzlefry> oh
1551: [22:06:52] <guzzlefry> it grabs it from the encrypted string?
1552: [22:06:53] <ss23> guzzlefry: The "password" contains the salt already
1553: [22:06:55] <ss23> yeah
1554: [22:06:56] <guzzlefry> okay
1555: [22:06:58] <ss23> :P
1556: [22:07:02] <guzzlefry> The old docs had a salt field. :P
1557: [22:08:19] <antmas> :( it's not generating
1558: [22:08:22] <antmas> le poos
1559: [22:09:05] <guzzlefry> Now, if only there was a way to get the queries it was sending to MySQL land.
1560: [22:09:51] <AlphaCactus> ?showqueries
1561: [22:10:16] <guzzlefry> non-SilverStripe related.
1562: [22:10:35] <AlphaCactus> oh
1563: [22:11:01] <guzzlefry> I'm playing sysadmin now. :P
1564: [22:11:26] * DigNZ has joined #silverstripe
1565: [22:11:34] <antmas> guzzlefry: fun fun, I'm about to switch to being 'training this guy on how to use Android'
1566: [22:13:10] <AlphaCactus> i'm trying to be sysadmin too. linux is complicated
1567: [22:13:17] <ss23> antmas: permissions?
1568: [22:13:25] <zippy__> guzzlefry: turn on the mysql log for full queries... (for a bit)
1569: [22:14:34] * DigNZ quit (Client Quit)
1570: [22:14:58] <antmas> ss23: 777 on assets for now
1571: [22:15:18] <ss23> antmas: Make sure it's -R, so that the assets/_combinedfolders is writable too
1572: [22:15:29] <antmas> ss23: yeah did that
1573: [22:15:30] <ss23> antmas: And make sure you have combined files turned on so it's meant to be writing there
1574: [22:15:34] * DigNZ has joined #silverstripe
1575: [22:15:37] * DigNZ quit (Client Quit)
1576: [22:15:40] <antmas> ss23: in config?
1577: [22:15:42] <zippy__> 777 -R / :-)
1578: [22:15:51] <ss23> antmas: well, in your everywhere
1579: [22:15:54] <ss23> I can't recall how it works
1580: [22:15:54] <zippy__> doing / is bad. mykey
1581: [22:15:57] <ss23> But it's opt-in, right
1582: [22:16:04] <antmas> ah
1583: [22:17:25] <antmas> man, docs have such a spaz in IE
1584: [22:17:53] * Guest111 quit (Quit: Page closed)
1585: [22:18:35] <ss23> fuck
1586: [22:18:38] <guzzlefry> okay so, it's not even hitting the database.
1587: [22:18:40] <ss23> client on monday -> "PLEASE CLEAR CACHE"
1588: [22:19:37] <ss23> IT'S NOW THURSDAY
1589: [22:19:59] <antmas> hmmmmm
1590: [22:20:01] <antmas> Requirements::set_combined_files_folder(ASSETS_DIR . '/_combinedfiles');
1591: [22:20:39] <guzzlefry> FFUUUU mod_auth_mysql
1592: [22:21:02] <ss23> guzzlefry: Why aren't you using the built in modules for it?
1593: [22:22:33] <guzzlefry> ss23: Because mod_auth_mysql should handle it.
1594: [22:22:41] <guzzlefry> And I don't think mod_dbd does auth anywya.
1595: [22:22:43] <guzzlefry> anyway
1596: [22:23:07] <ss23> guzzlefry: Authentication in Apache works by combining two modules -- one to get the data, and one to do the actual auth
1597: [22:23:32] <ss23> guzzlefry: So mod_auth_dbd gets the mysql query data result thing, then you hand it to the mod_password_digest w/e to do the actual auth
1598: [22:23:35] <ss23> idk
1599: [22:23:40] <ss23> seems silly to use external modules when the built in ones should do it
1600: [22:24:05] * Twist_ has joined #silverstripe
1601: [22:24:55] <Twist_> Hello - I'm a first time caller, I need some understanding assiatnce with what is probably a very rookie problem
1602: [22:25:19] <antmas> ah, stupid IE caching. It's fine in FF and Chrome
1603: [22:25:24] <antmas> story of my life
1604: [22:25:26] <Twist_> been working with ss on my own for a few months so my knowledge is patchy
1605: [22:26:53] * SphereSilverNL has joined #silverstripe
1606: [22:27:09] * catcher quit (Quit: Leaving)
1607: [22:27:13] * DigNZ has joined #silverstripe
1608: [22:27:35] <SphereSilverNL> \o
1609: [22:28:19] <Twist_> I have an app with a number of page types. In one of them - ModulePage - when the page gets called in the browser, I create a dataobject, in the index function. when I call a totally different pagetype, somehow, the index function from ModulePage gets called and dataobjects are created. I know this becuase changing the index function to private stops it happenening, but also stops ModulePage from workig at all. Am I missing som
1610: [22:28:54] <SphereSilverNL> Is it extending ModulePage?
1611: [22:28:59] <Twist_> nope
1612: [22:29:08] <Twist_> totally different page
1613: [22:29:21] <Twist_> both extend Page
1614: [22:29:38] <SphereSilverNL> How is the DO created? any inherits on the ModulePage?
1615: [22:29:39] <Twist_> same thing happen if I move the logic from index to init
1616: [22:30:13] <SphereSilverNL> Hmmm, that's odd, parsing A where B is requested.
1617: [22:30:16] <Twist_> $attempt = new PlayerModuleAttempt(); $attempt->write();
1618: [22:30:31] <Twist_> just normal DOs
1619: [22:30:41] <Twist_> I've tried to track it down for hours
1620: [22:30:41] <SphereSilverNL> Version?
1621: [22:30:45] <Twist_> 3.1
1622: [22:31:13] <AlphaCactus> can you do a SS_Backtrace::backtrace(); in your init/index to see where it is getting called from
1623: [22:31:18] <Twist_> I can re-architect, but would rather know
1624: [22:31:39] <Twist_> cool never done that - what should I expect to see?
1625: [22:31:46] <SphereSilverNL> a backtrace would be nice though ;) would probably help you a lot ;)
1626: [22:31:47] <AlphaCactus> stack dump
1627: [22:31:48] <Twist_> thanks for your help by the way :)
1628: [22:32:00] <SphereSilverNL> The classes, runtime, stackdump, of the request
1629: [22:32:24] <guzzlefry> yay, progress
1630: [22:32:27] <Twist_> where will it output to?
1631: [22:32:34] <Twist_> just adding it now
1632: [22:32:35] <AlphaCactus> http response
1633: [22:32:43] <AlphaCactus> like Debug::show() would do
1634: [22:32:52] <Twist_> OK on it, will report back
1635: [22:32:57] <Twist_> thanks again :)
1636: [22:34:09] <SphereSilverNL> Did any of you guys send me an Elite FXX model?
1637: [22:35:08] * AlphaCactus googles Elite FXX
1638: [22:35:31] <antmas> lolwut?
1639: [22:35:34] <antmas> I get cars?
1640: [22:35:36] <SphereSilverNL> It's a scale model of the Ferrari FXX, Elite refers to the build-quality of the model :P
1641: [22:35:37] <Pyromanik> TIL ' is mandatory not optional when applying a decorator.
1642: [22:35:52] <AlphaCactus> who was I talking to about racing in NZ the other day?
1643: [22:35:56] <antmas> random
1644: [22:36:01] <SphereSilverNL> works
1645: [22:36:03] <Pyromanik> AlphaCactus: antmas and I
1646: [22:36:15] * EasyCo has joined #silverstripe
1647: [22:36:22] <AlphaCactus> Pyromanik: so turns out teh guy I was talking about was in NZ racing as we spoke...
1648: [22:36:24] <EasyCo> Mornin'
1649: [22:36:39] <SphereSilverNL> It's my birthday, and I don't mind presents, but I really have no clue whoever send me this. Must be someone who knows I collect Ferrari-models
1650: [22:36:51] <Pyromanik> AlphaCactus: ha, nice.
1651: [22:37:21] <Pyromanik> SphereSilverNL: Happy Birthday :)
1652: [22:37:43] <antmas> SphereSilverNL: how old?
1653: [22:37:51] <SphereSilverNL> Pyromanik: Thanks
1654: [22:38:00] <SphereSilverNL> antmas: it starts with a 3 now :(
1655: [22:38:11] <EasyCo> SphereSilverNL: Welcome to the club!
1656: [22:38:15] * Jakx has left #silverstripe
1657: [22:38:15] <antmas> SphereSilverNL: oh, so a big one?
1658: [22:38:32] <EasyCo> Nothing really changes, you just sleep more
1659: [22:38:37] <EasyCo> …well at least I do :)
1660: [22:38:48] <antmas> and your back gets more sore
1661: [22:39:04] <SphereSilverNL> antmas: According to my passport, I'm 30 now. According to my ex, my boss, my friends, I'm probably closer to just the 3
1662: [22:39:24] <antmas> SphereSilverNL: lol!
1663: [22:39:50] <SphereSilverNL> I'm just a kid in a grown-up's body :D
1664: [22:40:01] <AlphaCactus> Pyromanik: http://targa.co.nz/
1665: [22:40:03] <Pyromanik> SphereSilverNL: good man.
1666: [22:40:06] <Pyromanik> AlphaCactus: ah, the targa!
1667: [22:40:09] <Pyromanik> good times.
1668: [22:40:19] <Pyromanik> it's a Rally, not speedway :P
1669: [22:40:33] <Pyromanik> although I thought it was a tarmac rally, not dirt.
1670: [22:40:54] <SphereSilverNL> who cares, race is race, pedal to the metal, press it down hard, corners are for wimps
1671: [22:41:27] <antmas> Pyromanik: <3 tarmac rally
1672: [22:42:15] <Pyromanik> targa pretty cool event.
1673: [22:42:22] <SphereSilverNL> targa NZ is not in Silverstripe? I are disappoint
1674: [22:42:43] <Pyromanik> ha, yeh. Whoever made it doesn't really know websites.
1675: [22:43:13] <SphereSilverNL> Targa looks cool though. I should probably not enter :)
1676: [22:43:18] <antmas> Pyromanik: best day ever - seeing one of these go nuts in the Westcoast http://www.youtube.com/watch?v=cDRkHXMHqFo
1677: [22:45:17] <SphereSilverNL> That makes me want to buy an old Quatro
1678: [22:45:22] <Pyromanik> haha http://www.yafdev.com/
1679: [22:46:32] <Pyromanik> antmas: http://www.youtube.com/watch?v=G5ceykLZDKA
1680: [22:46:50] <AlphaCactus> stop sending fun links, I 'm at work here
1681: [22:46:57] <Pyromanik> so am I
1682: [22:47:20] <SphereSilverNL> I'm not working, keep the fun links coming
1683: [22:48:01] <Pyromanik> http://www.youtube.com/watch?v=gmifaKiPa6M
1684: [22:48:02] <SphereSilverNL> I never work actually, I just sit there and get paid :P
1685: [22:48:29] <AlphaCactus> sign me up. haven't had a job like that for years
1686: [22:48:47] <SphereSilverNL> Willing to move to the Netherlands?
1687: [22:48:49] * travis-ci has joined #silverstripe
1688: [22:48:49] <travis-ci> [travis-ci] chillu/silverstripe-framework#117 (pulls/2638-uploadfield - 61f99fa : Ingo Schommer): The build was broken.
1689: [22:48:49] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/54a6417164b4...61f99fa1effd
1690: [22:48:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/13606599
1691: [22:48:49] * travis-ci has left #silverstripe
1692: [22:49:09] <Alexwijn> SphereSilverNL, in this weather?
1693: [22:49:13] <SphereSilverNL> Is it me, or is Travis an asshole?
1694: [22:49:18] <SphereSilverNL> Alexwijn: It sucks
1695: [22:49:25] <Alexwijn> Tell me about it
1696: [22:49:41] <Pyromanik> SphereSilverNL: www.youtube.com/watch?v=DCWbFwF9Uyk
1697: [22:49:43] <Pyromanik> :D ?
1698: [22:49:43] <Alexwijn> Today I had to wait a half hour in the rain, waiting for the bus
1699: [22:49:50] <AlphaCactus> suuuuuureee.... where is the netherlands?
1700: [22:50:08] <Alexwijn> Next to Belgium and Germany
1701: [22:50:22] <antmas> Norway?
1702: [22:50:26] <antmas> wiat
1703: [22:50:28] <antmas> wait*
1704: [22:50:30] <SphereSilverNL> AlphaCactus: you don't know where the Netherlands is????
1705: [22:50:30] <antmas> yes?
1706: [22:50:50] <Alexwijn> SphereSilverNL, we'r not that big... :)
1707: [22:50:57] <Alexwijn> Although we are one of the riches in europe
1708: [22:51:04] <SphereSilverNL> Yes we are. We are huge!
1709: [22:51:17] <AlphaCactus> https://maps.google.com/?ll=-84.786525,-63.105469&spn=14.775888,228.339844&t=h&z=3
1710: [22:51:32] <antmas> ah man, always get Norway and Netherlands mixed up
1711: [22:51:35] <antmas> :(
1712: [22:51:53] <SphereSilverNL> Yeah, they're only a few hundred miles apart
1713: [22:52:00] <SphereSilverNL> I would mix that up too.
1714: [22:52:11] <antmas> Black Metal!
1715: [22:52:18] <antmas> \m/
1716: [22:52:18] <Alexwijn> AlphaCactus...wtf?
1717: [22:52:21] <SphereSilverNL> http://goo.gl/DqUPLj <-- I live there
1718: [22:52:21] <Twist_> hey back again. well, adding the backtrace into the index gave me a backtrace when I call ModulePage directly (output to the browser) when I call the other page, nothing. I should add, ModulePage is the only place in the app that creates these DOs.
1719: [22:52:48] <Alexwijn> Or your link is corrupted or you trying to point out NL
1720: [22:52:54] <guzzlefry> rawr
1721: [22:52:56] <AlphaCactus> SphereSilverNL: how far is the drive to the Nürburgring?
1722: [22:53:00] <SphereSilverNL> Hey Twist_ , could you pasty the backtrace of the ModulePage and OtherPage it's links?
1723: [22:53:07] <SphereSilverNL> AlphaCactus: Depends on my mood
1724: [22:53:17] <AlphaCactus> lol
1725: [22:53:42] <antmas> SphereSilverNL: what language is the native?
1726: [22:53:48] <SphereSilverNL> Officially, it's about 2:48
1727: [22:54:00] <SphereSilverNL> The native language of the Netherlands?
1728: [22:54:01] <AlphaCactus> thyere are lots of roads in the netherlands
1729: [22:54:09] <SphereSilverNL> For some reason.... it's "Dutch"
1730: [22:54:12] <antmas> SphereSilverNL: well, the most spoken
1731: [22:54:14] <Twist_> yep
1732: [22:54:14] <antmas> ah
1733: [22:54:28] <SphereSilverNL> It's somewhat a mix between German and Stupid
1734: [22:54:39] <Alexwijn> It a lot more then that
1735: [22:55:43] <SphereSilverNL> AlphaCactus: I've been to the Nurburgring a few times on my motorcycle. It usually took me about 2 hours to get there.
1736: [22:55:51] * Motoservo has joined #silverstripe
1737: [22:56:11] <Alexwijn> English, Germany, France
1738: [22:56:14] <antmas> SphereSilverNL: :O
1739: [22:56:16] <antmas> jelly
1740: [22:56:34] <AlphaCactus> SphereSilverNL: nice, i know people that drive that far just to do autocross here.
1741: [22:56:48] <SphereSilverNL> I know them too ;)
1742: [22:57:01] <Alexwijn> Dutch is a mix of that
1743: [22:57:01] <Pyromanik> Danish?
1744: [22:57:09] <SphereSilverNL> I'm not that fanatic, but if I can,It's the best circuit in the world
1745: [22:57:17] * Motoservo quit (Client Quit)
1746: [22:57:20] <SphereSilverNL> Danish is more like Frisian than Dutch
1747: [22:57:38] <SphereSilverNL> Dutch and Danish are hardly the same, nor have they anything in common
1748: [22:57:42] <Twist_> this is the backtrace from the ModulePage http://goo.gl/re3niU
1749: [22:57:59] <Pyromanik> interesting. The more you know!
1750: [22:58:22] * ajmitch wants to visit the netherlands one day
1751: [22:58:32] <Alexwijn> Only one day?
1752: [22:58:45] <SphereSilverNL> Fun fact of the day: Finnish (you know, IKEA), is closer to Russian and is nothing like any other language in Europe ;)
1753: [22:58:49] <ajmitch> not 'for one day' :P
1754: [22:58:59] <guzzlefry> PasswordEncryptor_MySQLPassword looks promising...
1755: [22:59:18] <Pyromanik> ERROR [Notice]: Indirect modification of overloaded property has no effect
1756: [22:59:20] <Pyromanik> halp!
1757: [22:59:21] <guzzlefry> And...I'm the first person in the logs to mention it. :P
1758: [22:59:22] <SphereSilverNL> You'd probably be high after one day, than, lying in a mudpool for 3 days
1759: [22:59:38] <Pyromanik> SphereSilverNL: finnish is...
1760: [22:59:42] <Pyromanik> nothing like russian.
1761: [22:59:47] <SphereSilverNL> Finland
1762: [22:59:54] <Pyromanik> also Ikea is Swedish.
1763: [22:59:55] * violetina quit (Remote host closed the connection)
1764: [22:59:56] <SphereSilverNL> I said "closer to" not "it's like"
1765: [23:00:10] <Pyromanik> true, you did.
1766: [23:00:14] <SphereSilverNL> Ikea is Swedish??
1767: [23:00:17] <Pyromanik> yep
1768: [23:00:19] <irogue23> yeah, IKEA is extremely swedish
1769: [23:00:23] <Pyromanik> Nokia is Finnish.
1770: [23:00:27] <unsignedint> can anyone enlighten me as to why Silverstripe doesnt allow setting class-level variables on DataObjects? http://sspaste.com/paste/show/527ac7ea059c1
1771: [23:00:28] <irogue23> tho the company is registered in NL for tax reasons iirc
1772: [23:00:29] <AlphaCactus> Twist_: so if you die or backtrace in your index function where you create the DO, but you load up a different page, it doesn't die or show backtrace, but does create the DO?
1773: [23:00:34] <SphereSilverNL> ok, scrap my ikea-remark... I thought Ikea was Finnish
1774: [23:00:41] <Pyromanik> unsignedint: it does
1775: [23:00:45] <AlphaCactus> unsignedint: sure it does
1776: [23:00:46] <irogue23> Pyromanik: not for long it isn't
1777: [23:00:54] <Pyromanik> irogue23: hmm?
1778: [23:01:00] <Twist_> AlphaCactus - yep exactly. Crazy...
1779: [23:01:02] <unsignedint> Pyromanik, AlphaCactus: then why is the data I am setting disappearing?
1780: [23:01:03] <irogue23> Nokia bought by Microsoft
1781: [23:01:06] <irogue23> so will be American soon
1782: [23:01:14] <Pyromanik> unsignedint: probably sublties with __set and setField
1783: [23:01:18] <Colin[pi]> HAI2ALL
1784: [23:01:29] <AlphaCactus> Twist_: can you put a Backtrace in the constructor of your DO?
1785: [23:01:30] <SphereSilverNL> Hey Colin[pi]
1786: [23:01:32] <Pyromanik> it doesn't make a concrete field, as such.
1787: [23:01:42] <Twist_> good idea
1788: [23:01:47] <SphereSilverNL> also, please dump the request
1789: [23:01:49] <SphereSilverNL> ?
1790: [23:01:59] <Twist_> wiil do :)
1791: [23:02:07] <AlphaCactus> unsignedint: is it disappearing inside a template? or somwhere else?
1792: [23:02:55] <unsignedint> AlphaCactus: see code, the template calls AccessoryItems() which sets a class-level field on each item, but within each AccessoryItem getNicePrice() the data is gone
1793: [23:03:33] <guzzlefry> PasswordEncryptor_MySQLPassword <--- how do I actually set the Member stuff to use this?
1794: [23:03:55] <SphereSilverNL> Address the parent?
1795: [23:04:08] * nicolaas has joined #silverstripe
1796: [23:04:09] <nicolaas> can you have a many many with yourself???
1797: [23:04:21] <Pyromanik> easily
1798: [23:04:28] <SphereSilverNL> yes, sure, you can, but I'd personally advise to use an intermediate.
1799: [23:04:45] * DaShiVaDan has joined #silverstripe
1800: [23:04:53] <nicolaas> as in how?
1801: [23:05:13] <SphereSilverNL> My experience with self-related objects often turn out to become a behemoth of an object.
1802: [23:05:36] <SphereSilverNL> Using an intermediate, LinkObjectOneToObjectTwo method
1803: [23:05:44] <SphereSilverNL> keeps the code cleaner, usually
1804: [23:06:22] * AlphaCactus squints at teh code
1805: [23:06:30] <Twist_> sorry, stupid rookie question here, my DOs don't have constructors - I can add them I assume, can't find any syntax for how to that?
1806: [23:06:44] * SphereSilverNL knows it's not the best, but better than linking to itself
1807: [23:07:17] <Colin[pi]> fuck you windows and your network settings
1808: [23:07:20] <SphereSilverNL> Check DO-class. It has the constructor, so pass at least those parameters, and have fun manipulating them ;)
1809: [23:07:26] <ss23> NOW YOU'RE UNDER CONTROL AND NOW YOU DO WHAT THEY TOLD YA
1810: [23:07:34] <SphereSilverNL> Colin[pi]: Ever tried that Apple OS?
1811: [23:07:44] <Colin[pi]> OS X?
1812: [23:07:48] <SphereSilverNL> yeah?
1813: [23:07:59] <Colin[pi]> yes
1814: [23:08:13] <AlphaCactus> Twist_: copy the DataObject::__construct function and start from there.
1815: [23:08:13] <SphereSilverNL> Trust me, it's worse. Best OS is Debian/GNU/Linux
1816: [23:08:27] <Colin[pi]> ss23: THOSE WHO DIED ARE JUSTIFIED
1817: [23:08:40] <ss23> FUCK YOU I WON'T DO WHAT YOU TELL ME
1818: [23:08:44] <nicolaas> UBUNTU just keeps surprising me
1819: [23:08:45] <SphereSilverNL> That's what I said AlphaCactus, only I use complicated words to sound super-smart
1820: [23:08:52] <Colin[pi]> SphereSilverNL: yeah but... but.. I was able to copy files to a share, yesterday, right?
1821: [23:08:55] <Colin[pi]> and NOTHING has changed
1822: [23:09:01] <Colin[pi]> and today it says I dont have permission
1823: [23:09:04] <Colin[pi]> FUUUU WINDOWS
1824: [23:09:09] <nicolaas> SphereSilverNL: I looked up behemoth
1825: [23:09:09] * travis-ci has joined #silverstripe
1826: [23:09:09] <travis-ci> [travis-ci] chillu/silverstripe-framework#117 (pulls/2638-uploadfield - 61f99fa : Ingo Schommer): The build passed.
1827: [23:09:09] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/54a6417164b4...61f99fa1effd
1828: [23:09:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/13606599
1829: [23:09:09] * travis-ci has left #silverstripe
1830: [23:09:14] <SphereSilverNL> Colin[pi]: Copying in OSX has always been a hell
1831: [23:09:23] <guzzlefry> ss23: GET OFF THE ROOF
1832: [23:09:32] <ss23> Crank the music up
1833: [23:09:37] <unsignedint> ss23: get back to maintaining the docs
1834: [23:09:44] <guzzlefry> haha
1835: [23:09:52] <ss23> BRING THAT SHIT IN
1836: [23:09:52] <SphereSilverNL> ss23: stay on the roof, I'll be there right away to get you a beer.
1837: [23:09:55] * ss23 headbangs all over
1838: [23:09:58] <nicolaas> Twist_: what are you trying to do?
1839: [23:10:21] <Colin[pi]> SphereSilverNL: you'd think it'd be something they'd get right, since copying files is, like, i dunno, one of the first things an OS was ever used for
1840: [23:10:27] <AlphaCactus> SphereSilverNL: indeed you did.
1841: [23:10:59] <ss23> Seriously guys, I spent like 8 hours yesterday doing a pull request for you all
1842: [23:11:02] <ss23> Don't make me go back to docs!
1843: [23:11:12] <Colin[pi]> DO IT
1844: [23:11:16] <AlphaCactus> unsignedint: have you verified that the values are set before you return $items on line 12
1845: [23:11:33] <SphereSilverNL> Please don't say "return array();"
1846: [23:11:40] <AlphaCactus> ss23: what was in this alleged pull request
1847: [23:11:47] <ss23> Alleged?!
1848: [23:12:07] <SphereSilverNL> To quote Avdi: "It works in my browser"
1849: [23:12:09] <ss23> https://github.com/silverstripe/silverstripe-cms/pull/801
1850: [23:12:10] <unsignedint> AlphaCactus: yep within the setCurrentVehicleItemID() I echoed the value of getCurrentVehcileItemID() and it matched
1851: [23:12:32] <AlphaCactus> unsignedint: how about after your loop though I mean.
1852: [23:12:39] <ss23> Refactor out the old page redirector functionality, makes it a lot less shit, fixes a potential issue where you can view/become aware of stagged content, and makes it so you can disable it
1853: [23:13:11] * Twist_ quit (Ping timeout: 250 seconds)
1854: [23:14:24] <AlphaCactus> unsignedint: also, i'm not sure how efficient SS templates are. Does it cache its own copy of the result from AccessoryItems so it can iterate it without calling the function each time? might check that cache, if so, to see if it isn't doing something weird. thats beyond my knowledge though.
1855: [23:15:15] <SphereSilverNL> In dev-mode, the cache shouldn't be used
1856: [23:15:42] <unsignedint> AlphaCactus: thanks for your help. its looks like that *during* the loop, calling $item->getCurrentVehicleItemID() returns the value that was set. But as soon as the loop ends, calling $items->first()->getCurrentVehicleItemID() returns nothing. WTF silverstripe??
1857: [23:16:20] <AlphaCactus> unsignedint: i'm not so sure this is a SS issue?
1858: [23:16:30] <SphereSilverNL> Ofcourse it's returning nothing but a model
1859: [23:16:42] <SphereSilverNL> that's the lazy method
1860: [23:16:53] <AlphaCactus> where do the instances for the loop go then
1861: [23:16:56] <SphereSilverNL> If not addressed, it's not queried
1862: [23:17:14] <AlphaCactus> how do you force the query then
1863: [23:17:40] <irogue23> ungh, i require caffeines
1864: [23:17:49] <irogue23> damn people knocking on the door at 8am
1865: [23:17:54] <Alexwijn> And I require sleep
1866: [23:17:59] <Colin[pi]> I bought some brazilian caffeines today... soo good
1867: [23:18:02] <SphereSilverNL> actually address the query in the code. And even that might not work. AFAIK, the new lazy method, will only actually execute a query if it's needed
1868: [23:18:16] <unsignedint> yeah its like the instance is destroyed after the loop ends and a new instance is instantiated every time its accessed
1869: [23:18:18] <SphereSilverNL> I should be in bed irogue23
1870: [23:18:28] <guzzlefry> Allows pluggable password encryption. By default, this might be PHP's integrated sha1() function, but could also be more sophisticated to facilitate password migrations from other systems. Use register() to add new implementations. <--- lies
1871: [23:18:31] <Alexwijn> SphereSilverNL, same here....same here
1872: [23:18:33] <Colin[pi]> yeah I was gonna say aren't you up a bit late SphereSilverNL?
1873: [23:19:12] <SphereSilverNL> Colin[pi]: It's my mothafrikkin' birthdaaay! I'm allowed to stay up late today! Just not allowed to be groggy at work tomorrow :/
1874: [23:19:22] <Colin[pi]> HAPPY BIRTHDAY DUDE!
1875: [23:19:42] <Alexwijn> Congratz
1876: [23:19:50] <SphereSilverNL> Thanks, although 20 minutes late :P
1877: [23:20:03] <Alexwijn> Then why say it's your birthday
1878: [23:20:11] <Colin[pi]> well fuck you then :D
1879: [23:20:19] <SphereSilverNL> Because I just noticed it's 20 minutes late.
1880: [23:20:31] <SphereSilverNL> Colin[pi]: I prefer not to, if that's ok with you?
1881: [23:20:38] <Colin[pi]> aww, but... aww :(
1882: [23:20:47] <Colin[pi]> birthday special?
1883: [23:20:51] <SphereSilverNL> Me and my big mouth :/
1884: [23:20:59] <Colin[pi]> I'll even let you give the reach around
1885: [23:20:59] <Alexwijn> Yeah I something on the radio today
1886: [23:21:02] <Alexwijn> heard*
1887: [23:21:06] <SphereSilverNL> Ehhhh, Maybe my cat is up for something?
1888: [23:21:10] <Alexwijn> nvm
1889: [23:21:17] <Colin[pi]> hey good to see you're getting some pussy on your b'day
1890: [23:21:27] <Alexwijn> I don't think its approiate here what I wanted to say
1891: [23:21:33] <Alexwijn> oh dear
1892: [23:21:46] <SphereSilverNL> owwwww god, this is going wrong bigtime
1893: [23:21:52] <Colin[pi]> not appropriate on the chat they said
1894: [23:22:18] <Alexwijn> :)
1895: [23:22:18] <SphereSilverNL> I somewhat completely agree with the chat this time, I think.
1896: [23:22:25] <Alexwijn> And it also been logged
1897: [23:22:29] <AlphaCactus> unsignedint: so did someone say how to force an eager load instead of lazy?
1898: [23:22:33] <Alexwijn> It sticks forever :)
1899: [23:22:35] <EasyCo> Did Pyromanik ever get his GFs question answered yesterday?
1900: [23:22:39] <Colin[pi]> lol
1901: [23:22:43] <Colin[pi]> I got over that a while back
1902: [23:22:52] <Colin[pi]> HEY EASYCO
1903: [23:22:53] <SphereSilverNL> I have been logged? That might explain that burning feeling
1904: [23:22:54] <Colin[pi]> I got a pic for you
1905: [23:22:56] <Colin[pi]> one sec
1906: [23:23:00] <unsignedint> AlphaCactus: no they didnt :( I tried it myself by accessing a field on the item but it did nothing
1907: [23:23:17] <Alexwijn> Colin, no nude pics here on chat
1908: [23:23:29] <Colin[pi]> EasyCo: after our chat yesty: https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn1/1382064_10152347546628206_278858407_n.jpg
1909: [23:23:30] <EasyCo> Haha a pic of me? Am I looking studly?
1910: [23:23:31] <guzzlefry> ss23: Any idea on how to set the default encryption method?
1911: [23:23:40] <ss23> guzzlefry: In SilverStripe/
1912: [23:23:48] <Alexwijn> I'm scared to click that link
1913: [23:23:54] <Colin[pi]> it's safe :P
1914: [23:23:54] <EasyCo> Haha
1915: [23:23:57] <Colin[pi]> wine and cheese :P
1916: [23:23:58] <EasyCo> A pic FOR me
1917: [23:23:59] <EasyCo> Oh
1918: [23:24:00] <EasyCo> Haha
1919: [23:24:02] <EasyCo> That's awesome
1920: [23:24:12] <EasyCo> So you that chat was enough to spur you on!
1921: [23:24:14] <Colin[pi]> I wanted it so bad after talking about it LOL
1922: [23:24:21] <EasyCo> Haha
1923: [23:24:26] <EasyCo> Good man
1924: [23:24:27] <ss23> guzzlefry: http://api.silverstripe.org/master/source-class-Security.html#782-794 -- but if you do that, you're dumb ;_;
1925: [23:24:31] <Colin[pi]> couldn't get the wine I wanted, but that one is pretty good
1926: [23:24:34] <EasyCo> That right glass is filled to the brim!
1927: [23:24:40] <Alexwijn> http://www.youtube.com/watch?v=sSJ5PgUx0Zg
1928: [23:24:54] <EasyCo> I went an picked up a case of Oranjeboom instead :)
1929: [23:24:59] <Colin[pi]> that's mine, my gf's on the left, we hadn't started yet :(
1930: [23:25:10] <EasyCo> Looks delish
1931: [23:25:16] <Colin[pi]> mouthgasm
1932: [23:25:30] <guzzlefry> ss23: How do I get it to use the PasswordEncryptor_MySQLPassword?
1933: [23:25:34] <EasyCo> The second best type of gasm
1934: [23:25:36] <guzzlefry> Also, I am not!
1935: [23:25:40] <Colin[pi]> LOL
1936: [23:26:54] <Alexwijn> Look what I found: http://memebase.cheezburger.com/thisisphotobomb/tag/boobs/
1937: [23:26:58] <Pyromanik> EasyCo: well yours never showed up to answer!
1938: [23:27:14] <Pyromanik> also weird, your mention didn't highlight me :<
1939: [23:27:22] <ss23> guzzlefry: Set it to that with that function?
1940: [23:27:58] <guzzlefry> not sure which string to pass
1941: [23:28:01] <ss23> idk
1942: [23:28:04] <ss23> tias
1943: [23:28:11] <ss23> probably 'PasswordEncryptor_MySQLPassword' is fine
1944: [23:28:57] <AlphaCactus> unsignedint: could you just do $NicePrice($Up.ID) ?
1945: [23:30:49] <guzzlefry> So
1946: [23:30:56] <guzzlefry> I'm supposed to register the encryptor first.
1947: [23:31:18] <guzzlefry> but guess what!? Fatal error: Call to undefined method PasswordEncryptor::register() in /var/www/cm-admin/mysite/_config.php on line 20
1948: [23:31:48] * DigNZ1 has joined #silverstripe
1949: [23:32:13] <EasyCo> Wait a minute! If you have a template called MyController_home.ss. Will the automatically match for the home action?
1950: [23:32:23] <SphereSilverNL> I'm off to bed. Before I say anything stupid :)
1951: [23:32:36] <Colin[pi]> TOO LATE
1952: [23:32:37] <Colin[pi]> ;D
1953: [23:32:39] <unsignedint> AlphaCactus: the code is called outside of templates too, and id rather it was automatic. But thanks for the suggestion :)
1954: [23:32:40] <Colin[pi]> nn dude
1955: [23:32:41] <SphereSilverNL> :'(
1956: [23:32:53] * DigNZ quit (Ping timeout: 268 seconds)
1957: [23:32:54] * SphereSilverNL quit (Remote host closed the connection)
1958: [23:33:44] <irogue23> http://ow.ly/i/3EeNI/original
1959: [23:33:49] <irogue23> teehee
1960: [23:33:51] <unsignedint> AlphaCactus: also the call to NicePrice is within a <% include %> so passing parameters doesnt work
1961: [23:33:59] <irogue23> i really get off on traffic nightmares (unless i'm in them :P)
1962: [23:34:00] <unsignedint> (code pasted was simplified)
1963: [23:34:16] <ss23> irogue23: Why is that traffic nightmare? Cause everyone going down to one lane?
1964: [23:34:37] <irogue23> ss23: ya, accident in the tunnel, 3 lanes reduced to 1
1965: [23:34:53] <ss23> lol
1966: [23:34:54] <ss23> sux
1967: [23:36:49] <Alexwijn> What if everyone wants to go back: http://4.bp.blogspot.com/-dcqhf6FGFks/UHRmXEA_BZI/AAAAAAAADdU/pBNuRJKr4AI/s1600/traffic_jam.jpg
1968: [23:36:57] <irogue23> ss23: result = https://dl.dropboxusercontent.com/u/4618071/tunneltraffic.png
1969: [23:37:07] <guzzlefry> oh ffs
1970: [23:37:07] <Colin[pi]> ouchies :(
1971: [23:37:17] <guzzlefry> PasswordEncryptor::reigster() was removed in 3.1
1972: [23:37:21] <ss23> lol
1973: [23:37:24] <ss23> RED IS GOOD, RITE?
1974: [23:37:37] <Colin[pi]> RED MEANS FASTER
1975: [23:37:40] <Colin[pi]> everyone knows that
1976: [23:39:11] <irogue23> black means "basically non-moving" (that's the tunnel), red means going <30 km/h iirc
1977: [23:39:41] <Colin[pi]> you know how they get that traffic data? so cool
1978: [23:39:52] <guzzlefry> Is there an easy way to find out why a method was removed?
1979: [23:40:11] <irogue23> Colin[pi]: in Auckland it's done with sensors all along the motorway that track average speed
1980: [23:40:41] <Colin[pi]> hmm well depends on the system, I heard with google traffic they use data from android devices in the cars
1981: [23:40:49] <DaShiVaDan> anyone here develop android apps with eclipse on windows ?
1982: [23:41:04] <irogue23> yeah, the google maps stuff works that way Colin[pi]
1983: [23:41:45] * DesignerX has joined #silverstripe
1984: [23:41:46] <irogue23> it's a bit less accurate tho as relies on accuracy of GPS, can't really handle tunnels, and only tracks people who happen to have an android phone
1985: [23:41:56] <Colin[pi]> still very cool idea
1986: [23:41:58] <Colin[pi]> not perfect
1987: [23:41:59] <irogue23> yup
1988: [23:42:11] <Colin[pi]> but when I read that I was like "...huh. That's awesome"
1989: [23:42:57] <irogue23> the AA have their own nationwide system (and have done for quite a long time) which uses data from in-car GPS systems (TomTom, Navman etc.)
1990: [23:43:25] <irogue23> combined with data from transport angencies etc. in areas that have sensor-based systems
1991: [23:43:30] <Colin[pi]> I thought those systems just received info and didnt send?
1992: [23:43:43] <Alexwijn> Damn, I need to sleep
1993: [23:43:57] * antmas quit (Ping timeout: 250 seconds)
1994: [23:44:00] <unsignedint> sleep is for the weak!
1995: [23:44:06] <lewellyn> week
1996: [23:44:14] <Colin[pi]> yes sleep is for the week
1997: [23:44:16] <irogue23> Colin[pi]: nah, most of the modern ones have data connections for live info on road closures, receiving traffic info etc.
1998: [23:44:31] <Colin[pi]> ah k.. I have an old one and usually use my phone now
1999: [23:44:52] <irogue23> i tried using my old Android phone for navigation in Auckland
2000: [23:44:54] <irogue23> never again :P
2001: [23:45:11] <Colin[pi]> my iphone is ok... though it tried to send me into a paddock the other day
2002: [23:45:24] <irogue23> google maps doesn't really stay very up-to-date in NZ
2003: [23:45:38] <irogue23> new highways that don't even exist on it, etc.
2004: [23:45:52] <Colin[pi]> really? get your shit together google
2005: [23:45:57] <unsignedint> 12:45 Colin[pi]: my iphone is ok... though it tried to send me into a paddock the other day <-- apple maps master race
2006: [23:46:04] <Alexwijn> Google getting bad these days
2007: [23:46:04] <Colin[pi]> lol
2008: [23:46:18] <irogue23> Navman (originally a NZ company) is also shite at NZ
2009: [23:46:21] <Alexwijn> A normal google search is turning up sometimes bad results
2010: [23:46:24] <Alexwijn> And weird results
2011: [23:46:30] <irogue23> TomTom actually seems to be the best here
2012: [23:46:31] <Colin[pi]> well, we could always switch to bing, amirite guise? guise?
2013: [23:46:45] <AlphaCactus> who here is in NZ
2014: [23:46:48] * unsignedint slaps Colin[pi]
2015: [23:46:55] * Colin[pi] deserved it
2016: [23:47:05] * Alexwijn claps
2017: [23:47:10] <irogue23> Colin[pi]: actually, Bing Maps (which uses Nokia/HERE Maps data) is more up-to-date here, lol
2018: [23:47:17] <Colin[pi]> oh god
2019: [23:47:19] <Colin[pi]> end times are here
2020: [23:47:19] <irogue23> doesn't have street view, and the sattelite imagery is complete shite
2021: [23:47:20] <Colin[pi]> lol
2022: [23:47:29] <irogue23> but they have better sources for roading data
2023: [23:47:53] <irogue23> i think Google likes to do everything themselves rather than being reliant on third-party data sources
2024: [23:48:07] <irogue23> which doesn't really work too well in countries they don't even have a physical presence :P
2025: [23:48:16] * antmas has joined #silverstripe
2026: [23:48:35] <Colin[pi]> yeah but you know what pisses me off? now apple is pissed off with them, they've decided to default to bing for everything
2027: [23:48:53] <irogue23> yeah
2028: [23:49:05] <irogue23> bing is certainly improving, but it's still got quite a way to catch up
2029: [23:49:14] <Colin[pi]> you can change it, but siri for example searches the web in bing now, unless you ask "google <something>"
2030: [23:49:20] * CodeTrap quit (Quit: CodeTrap)
2031: [23:49:27] <irogue23> i have a Windows Phone, and often just hit search rather than remembering to open the Google app
2032: [23:49:46] <irogue23> and am often pleasantly surprised when it gives the correct results :P
2033: [23:50:21] * Alexwijn is sleeping on his keyboard
2034: [23:50:25] <unsignedint> irogue23: how is the windows phone btw? I have only used android
2035: [23:50:42] <irogue23> unsignedint: i like it. it performs massively quicker on low-end hardware
2036: [23:50:46] * Alexwijn quit ()
2037: [23:50:56] * zfmf has left #silverstripe
2038: [23:51:10] <Colin[pi]> unsignedint: the coloured tile thing in Win8 comes from the phone originally
2039: [23:51:12] <irogue23> Android you generally have to spend $700+ to get something responsive, iv'e got a Huawei WP8 phone that was $300 and speedy as fuck
2040: [23:51:15] <antmas> yeah, they have Win phones at work
2041: [23:51:17] <Colin[pi]> so it's kinda like the start menu in Win8
2042: [23:51:21] <unsignedint> nice
2043: [23:51:30] <irogue23> cos not Java, ultimately
2044: [23:51:33] <antmas> $250 phones, run as fast as my GS3
2045: [23:51:36] <antmas> crazy
2046: [23:51:42] <irogue23> yep
2047: [23:51:43] <Colin[pi]> irogue23: so so true
2048: [23:52:08] <Colin[pi]> I'm getting tired of android.. any phone I go to try in the store.. touch something.. *wait wait wait wait* THERE it goes
2049: [23:52:14] <irogue23> yeah
2050: [23:52:18] <Colin[pi]> at least with iOS it's bloody fast
2051: [23:52:18] <irogue23> i've never been able to handle it
2052: [23:52:28] <antmas> I'm considering switching once the MS takeover of Nokia produce something nicer than the 1020
2053: [23:52:30] <irogue23> cos i don't buy high priced phones :P
2054: [23:52:35] <unsignedint> Colin[pi]: thats not a fair comparison, an iOS phone costs $1200
2055: [23:52:44] <irogue23> unsignedint: so do high end androids
2056: [23:52:46] <unsignedint> compare it to a GS4 or something
2057: [23:52:47] <unsignedint> yeah
2058: [23:53:06] <antmas> I've never seen a $1200 top shelf android phone
2059: [23:53:12] <antmas> maybe for like 2 days post launch
2060: [23:53:23] <unsignedint> yeah I bought my gs4 for $1150
2061: [23:53:28] <antmas> jesus
2062: [23:53:30] <unsignedint> when it was launched
2063: [23:53:32] <guzzlefry> simon_w: Is there an alternative to PasswordEncryptor::register()? Since it seems to be removed as of SS3.1.
2064: [23:53:36] <antmas> day 1?
2065: [23:53:39] <unsignedint> yep
2066: [23:53:40] <Colin[pi]> yeah but to me it shows that Android is not as polished, as a consumer that's the impression I get
2067: [23:53:46] <Colin[pi]> I know there are a lot of factors at play
2068: [23:53:47] <simon_w> guzzlefry, config api
2069: [23:53:49] <antmas> if you'd waited a week, it would be $900
2070: [23:53:52] <antmas> :P
2071: [23:53:57] <unsignedint> at least you can do what you want on Android, as a programmer thats the most important thing
2072: [23:54:10] <unsignedint> and also you dont need itunes or any of that crap
2073: [23:54:28] <unsignedint> oh and your phone will show as a mass storage device, very handy
2074: [23:54:39] <unsignedint> oh and bluetooth works
2075: [23:54:50] <antmas> that reminds me, I should really get an SD card
2076: [23:54:51] <irogue23> < unsignedint> and also you dont need itunes or any of that crap
2077: [23:54:54] <Colin[pi]> unsignedint: I hardly ever use itunes
2078: [23:54:55] <antmas> only 16gb :(
2079: [23:54:56] <irogue23> as of iOS6, no itunes required
2080: [23:55:17] <unsignedint> about bloody time then. what about for updates or transferring music to your phone?
2081: [23:55:28] <Colin[pi]> and quite frankly.. I like that apple is kinda restrictive on the OS
2082: [23:55:52] <Colin[pi]> because I don't get the same BS I have on android, malware, intrustive ad stuff, task killers etc.
2083: [23:56:20] <unsignedint> task killers are really only for low-end phones
2084: [23:56:24] <unsignedint> but fair enough
2085: [23:56:30] <antmas> Colin[pi]: agreed
2086: [23:56:32] <Colin[pi]> well I have an aging tablet which needs it ;)
2087: [23:56:55] <Colin[pi]> but it started to have icons appearing that I didn't authorise
2088: [23:56:59] <Colin[pi]> i'm like wtf
2089: [23:57:05] <Colin[pi]> some malware crept in with an app
2090: [23:57:06] <unsignedint> I dont think the malware argument is very good either, just dont install malware. theres far more malware available for windows etc but nobody complains about that
2091: [23:57:28] <Colin[pi]> yeah but i have never had that happen on iOS.. never
2092: [23:57:37] <antmas> Colin[pi]: neither
2093: [23:57:44] <antmas> on OSX sure
2094: [23:57:56] <unsignedint> i also like what cyanogenmod is doing, reporting to the app that it will supply the capabilities and then return empty lists etc when the app requests contacts or whatever
2095: [23:58:12] <Colin[pi]> anyway I don't want to get into a fanboi argument :)
2096: [23:58:17] <unsignedint> haha fair enough
2097: [23:58:18] <Colin[pi]> if you like what you use, then that's fine :D
2098: [23:58:26] <antmas> unsignedint: yeah I'm waiting for my warranty to run out then its on to 4.4 ;)
2099: [23:58:46] <unsignedint> nice :)

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