#silverstripe IRC Log

IRC log for 7 November 2013

All timestamps are in NZT (New Zealand Time).

1: [00:07:51] * Motoservo has joined #silverstripe
2: [00:22:36] * NobrainerWeb has joined #silverstripe
3: [00:26:18] <ss23> I hope so, chillu, but there are still lots of references to it
4: [00:38:02] * Colin[pi] quit (Ping timeout: 246 seconds)
5: [00:46:27] <guci0> Hmmm... Is any possible to enable inside UploadForm folder managment, set or create new folder for files?
6: [00:54:03] * PanPipes quit (Quit: Computer went to sleep)
7: [00:54:05] * dangerdan has joined #silverstripe
8: [00:56:22] <kinglozzer> Ffs, git can't deal with changing casing in file names?
9: [00:58:50] * dangerdan quit (Client Quit)
10: [01:02:46] <kinglozzer> git mv -f foo.txt Foo.txt
11: [01:02:49] <kinglozzer> Sorted
12: [01:03:48] <micmania1> quici0, use $uploadField->setFolderName('path/to/file/') and it will create your folder.
13: [01:11:11] <guci0> micmania1: Thanks, I know setFolderName – I need something variables, connected via PageType. Nevermind – I have idea ;)
14: [01:11:48] * bp01 has joined #silverstripe
15: [01:15:02] <bp01> Hi! Can I remove /home from my site, so that the root becomes www.site.com instead www.site.com/home ?
16: [01:19:31] <bp01> I have Silverstripe 2.4.5
17: [01:20:35] * ssnewbie quit (Ping timeout: 250 seconds)
18: [01: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
19: [01:33:02] <bp01> +ss23: Ok, but it does do a redirect...
20: [01:34:14] <ss23> bp01: Shouldn't do, no idea why sorry, I'm off to bed
21: [01:35:01] <bp01> +ss23: Sure, thanks anyway!
22: [01:35:30] <bp01> Does anybody else have any ideas? :-)
23: [01:38:42] * svandragt quit (Ping timeout: 246 seconds)
24: [01:40:41] * NobrainerWeb quit (Quit: NobrainerWeb)
25: [01: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.
26: [01:56:42] * NobrainerWeb has joined #silverstripe
27: [02:02:16] <bp01> Hmm ok..
28: [02:04:10] * toebu quit (Ping timeout: 245 seconds)
29: [02:09:54] * UndefinedOffset has joined #silverstripe
30: [02:13:06] * svandragt has joined #silverstripe
31: [02:16:38] <svandragt> bp01: I think you might have replaced the homepage then this happens, but I can't remember the solution.
32: [02:17:10] <svandragt> bp01: if so, in the future, convert the page into the pagetype you want (well this is in 3.0 anyway)
33: [02: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?
34: [02:20:09] <svandragt> if you find the answer: http://www.silverstripe.org/general-questions/show/20329
35: [02: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
36: [02:36:38] <bp01> erhh.
37: [02:36:59] <bp01> Thanks for your input, I'll search around a bit more!
38: [02: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.
39: [02:39:35] * kinglozzer is wondering how car tyres can be so expensive >:(
40: [02:45:04] <ec8or_> how can i use columns returned by a join in a where statement for ss3?
41: [02:45:09] <ec8or_> like this: http://www.sspaste.com/paste/show/527a45da963ac
42: [02:45:31] <ec8or_> i get unknown column for anything on the joined table
43: [02:46:58] <kinglozzer> ec8or_: Shouldn't you use ->leftJoin() instead of doing it all in the one method?
44: [02:47:08] <ec8or_> yeah that is old 2.4 code
45: [02:47:19] <ec8or_> can't get it to work with leftJoin
46: [02:50:51] <ec8or_> i should probably have a look at improving the data base structure as well :)
47: [03:04:04] <NobrainerWeb> How do i know who (member) created a page or a blogentry?
48: [03:04:48] <NobrainerWeb> I'm trying to do a modeladmin for managing blogposts, and i only want members to see and edit own blogentries
49: [03:11:51] * zippy__ quit (Ping timeout: 245 seconds)
50: [03:12:02] * toebu has joined #silverstripe
51: [03:21:57] * jrthomer has joined #silverstripe
52: [03:24:35] * zippy__ has joined #silverstripe
53: [03:25:31] * spronk2 quit (Quit: spronk2)
54: [03:28:45] * toebu quit (Ping timeout: 245 seconds)
55: [03:48:07] * Alexwijn has joined #silverstripe
56: [03:48:57] <Alexwijn> Does Silverstripe have a log?
57: [03:52:10] <kinglozzer> It can do: http://doc.silverstripe.org/framework/en/topics/error-handling#filesystem-logs
58: [03:53:11] * pathum has joined #silverstripe
59: [03:55:15] <Alexwijn> got it
60: [03:59:19] * bp01 quit ()
61: [04:04:22] * NobrainerWeb quit (Quit: NobrainerWeb)
62: [04:06:51] * phpathum_ has joined #silverstripe
63: [04:07:03] * catcher has joined #silverstripe
64: [04:07:25] * pathum quit (Ping timeout: 272 seconds)
65: [04:16:55] * DesignerX quit (Ping timeout: 272 seconds)
66: [04:19:18] * pathum has joined #silverstripe
67: [04:22:44] * phpathum_ quit (Ping timeout: 246 seconds)
68: [04:23:22] * violetina quit (Remote host closed the connection)
69: [04:24:41] * violetina has joined #silverstripe
70: [04:30:46] * spronk2 has joined #silverstripe
71: [04:30:53] * spronk2 quit (Client Quit)
72: [04:31:25] * phpathum_ has joined #silverstripe
73: [04:34:09] * pathum quit (Ping timeout: 240 seconds)
74: [04:48:55] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
75: [04:49:42] <Alexwijn> Does anyone know a good module where you can edit themes
76: [04:49:55] <Alexwijn> Without coding knowledge
77: [04:50:22] <Alexwijn> So the designer will create a some kind of editor page for the user
78: [04:50:27] <Alexwijn> So he can change for example the color
79: [04:50:31] <Alexwijn> or a slider
80: [04:52:29] * pathum has joined #silverstripe
81: [04:52:37] <catcher> Alexwijn, I believe you'd be looking for a theme that supports that, rather than a module.
82: [04: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.
83: [04:55:07] * phpathum_ quit (Read error: Connection reset by peer)
84: [04:56:10] <Alexwijn> Is that possible for SS?
85: [04:56:20] <Alexwijn> That a theme can add a page onto the cms?
86: [05:00:09] * Colin[pi] has joined #silverstripe
87: [05:00:46] <catcher> Alexwijn, it'd require an accompanying module, I suppose
88: [05:02:05] <Alexwijn> So SS does no offer this?
89: [05:02:28] <Alexwijn> Is it possible that a module read data from a theme
90: [05:02:33] <Alexwijn> For example code
91: [05:02:36] <Alexwijn> for a form
92: [05:06:08] * Sjohn quit ()
93: [05: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...
94: [05:12:50] * phpathum_ has joined #silverstripe
95: [05:15:28] * pathum quit (Ping timeout: 264 seconds)
96: [05:18:15] * pathum has joined #silverstripe
97: [05:20:05] * Zauberfisch has joined #silverstripe
98: [05:21:15] * phpathum_ quit (Ping timeout: 245 seconds)
99: [05:21:38] * phpathum_ has joined #silverstripe
100: [05:22:00] * Zauberfisch quit (Client Quit)
101: [05:23:41] * pathum quit (Ping timeout: 272 seconds)
102: [05:23:58] <Marvanni2> where can I find the default PasswordValidator settings?
103: [05:25:38] <kinglozzer> PasswordValidator.php?
104: [05:27:09] <Marvanni2> yeah, I got that, but I wondered if there are set some minimal requirements by default
105: [05:28:05] <kinglozzer> As far as I know Member just uses that standard configuration
106: [05:28:08] * pathum has joined #silverstripe
107: [05:31:19] * phpathum_ quit (Ping timeout: 244 seconds)
108: [05:37:52] * jcwacky has joined #silverstripe
109: [05:38:46] <jcwacky> What do I need to add to my extension to change a Page type's name?
110: [05:38:53] <jcwacky> private static $singular_name = 'Single Submission Form'; doesn't seem to be having any effect.
111: [05:42:44] <Zauberfisch23> jcwacky: nothing
112: [05:42:50] <Zauberfisch23> extensions are not the place to do that
113: [05:42:54] <Zauberfisch23> use language files
114: [05:43:37] <jcwacky> Ahh, that's a new one for me. I'll take a look.
115: [05:43:41] <jcwacky> Thanks.
116: [05:43:59] <Zauberfisch23> jcwacky:
117: [05:44:16] <Zauberfisch23> ZauberfischIsAwesomePage:
118: [05:45:03] <Zauberfisch23> SINGULARNAME: 'awesome zauberfisch is awesome'
119: [05:45:15] <Zauberfisch23> PLURALNAME: 'awesome zauberfisches are awesome'
120: [05:45:31] <Zauberfisch23> /mysite/lang/en.yml
121: [05:45:42] <Zauberfisch23> make sure you use 2 spaces for indentation, not tabs
122: [05:52:26] <jcwacky> Thanks, but struggling to get it to take effect.
123: [05:52:40] <jcwacky> Think it might be because I'm trying to rename UserDefinedForm
124: [05:52:57] <jcwacky> And the 'userforms' dir comes after 'mysite'?
125: [05:52:59] <Zauberfisch23> did you forget to flush?
126: [05:53:08] <jcwacky> Flushed several times.
127: [05:53:18] <Zauberfisch23> not sure about the include order of lang files
128: [05:55:46] <jcwacky> Hmm, saying that, removing SINGULARNAME from userforms/lang/en.yml doesn't seem it help.
129: [05:56:39] <jcwacky> Ah, no, it did make it work for DESRIPTION
130: [05:57:09] <Zauberfisch23> jcwacky: if lang file really doesn't work, you can always update the config in php
131: [05:57:42] <Zauberfisch23> I think that should be possible for lang files aswell as for config files
132: [05:57:50] <Zauberfisch23> but I would need to look into that
133: [05:58:02] <jcwacky> Yeh, looks like UserDefinedForm gets SINGULARNAME from it's PHP file, but DESCRIPTION from it's lang file.
134: [05:58:14] <Zauberfisch23> no, thats not what I mean
135: [05:58:39] <Zauberfisch23> or I am pretty sure that UDF does not set the title in php, that would be bad
136: [05:59:03] * phpathum_ has joined #silverstripe
137: [05:59:24] <Zauberfisch23> setting silverstripe configs that are possible with yml should be set with yml or private statics, everything else is bad practice
138: [06: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
139: [06:00:35] * pathum quit (Ping timeout: 260 seconds)
140: [06:01:51] <jcwacky> Presume it should really just be defined in en.yml, as it's the same in both GB & US
141: [06:03:06] * kinglozzer quit ()
142: [06:03:10] * lerni quit (Quit: lerni)
143: [06: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
144: [06:11:34] <catcher> jcwacky, did you /dev/build?
145: [06:11:49] * svandragt quit (Ping timeout: 272 seconds)
146: [06:12:22] <catcher> jcwacky, well, that seems it applied when I only read the first few lines of the chat :)
147: [06:18:22] <jcwacky> ok, solved it my moving my /lang directory from /mysite to /zlang!
148: [06:27:38] * phpathum_ quit (Ping timeout: 244 seconds)
149: [06:37:14] * svandragt has joined #silverstripe
150: [06:37:57] * SMaction has left #silverstripe
151: [06:47:35] <Alexwijn> What is priority of a ss file?
152: [06:47:47] <Alexwijn> If I put a ss file in the theme folder
153: [06:47:57] <Alexwijn> Can it be overritten by a module
154: [06:48:13] <Alexwijn> or does a module override that
155: [06:55:00] <AlphaCactus> eh, I think themes override site which overrides modules which overrides framework/cms. but i'm not real sure about that.
156: [06:56:37] <Alexwijn> One way to find out :)
157: [06:58:30] <Alexwijn> Any advice you can give me for the following
158: [06:58:40] <Alexwijn> I want to create a slider module, but want to make it globally so all themes can use
159: [06:58:53] <Alexwijn> Ofcourse every theme can adjust if they need adjustments for css or something
160: [06:59:17] <Alexwijn> But the slider must be available globally in the theme
161: [06:59:27] <Alexwijn> And there need to be setting in the CMS
162: [06:59:29] <Alexwijn> to add images for it
163: [07:06:50] <Alexwijn> Anything?
164: [07:07:38] <AlphaCactus> yikes, that would require thinking.
165: [07:07:49] <Alexwijn> :)
166: [07:09:17] <Alexwijn> Maybe that a theme can define a slider name by id
167: [07:09:26] <Alexwijn> And that you get a new tab at settings
168: [07:09:29] <Alexwijn> where you can edit the slider
169: [07:10:07] * SightUnseen has joined #silverstripe
170: [07:12:35] * SightUnseen has left #silverstripe
171: [07:14:32] * svandragt quit (Ping timeout: 272 seconds)
172: [07:27:26] <Alexwijn> How to a ModelAdmin to the settings apge?
173: [07:27:27] <Alexwijn> page*
174: [07:27:34] <Alexwijn> Rather having it own menu
175: [07:32:10] * simon_w quit (Quit: This computer has gone to sleep)
176: [07:34:53] <Alexwijn> Or is that not possible?
177: [07: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
178: [07:39:25] <Zauberfisch23> just look at the code of it
179: [07:39:49] <Alexwijn> I want a ModelAdmin inside the Settings Menu Page
180: [07:39:57] <Alexwijn> As a diffent tab
181: [07:40:08] <Alexwijn> So then it becomes tab in tab
182: [07:42:09] <Alexwijn> Do you understand?
183: [07:42:35] <Alexwijn> A ModelAdmin as Tab in the SiteConfig
184: [07:42:38] <Alexwijn> page
185: [07:44:13] <Alexwijn> hm
186: [07:46:25] <Alexwijn> Is this possible?
187: [07:47:45] <Alexwijn> I tried adding this: private static $tree_class = 'SiteConfig';
188: [07:47:49] <Alexwijn> But that does not work
189: [08:06:43] <AlphaCactus> model admin is just a gridfield really. so could you do just a gridfield?
190: [08:10:37] <AlphaCactus> Something like this maybe: http://kh.designkh.com/assets/Screenshot_4.png but its not a ModelAdmin
191: [08:13:24] * coldhand_ is now known as coldhand
192: [08:16:23] * simon_w has joined #silverstripe
193: [08:17:05] * antmas has joined #silverstripe
194: [08:17:29] <antmas> mernin
195: [08:18:25] <antmas> holy crap, xero went up again?
196: [08:18:30] <antmas> O.o
197: [08:24:56] <simon_w> Gotta have some company that can do no wrong :p
198: [08:29:14] <antmas> simon_w: I just wish I invested :P
199: [08:29:36] <simon_w> You know what company would've been awesome to invest in? Apple :p
200: [08:31:31] <simon_w> You know, just before Steve came back
201: [08:31:46] <antmas> simon_w: I guess
202: [08:32:17] <simon_w> I know people that bought houses because of what happened with their Apple stock
203: [08:32:19] <antmas> but imagine if it were invested in Xero and how rich you could have gotten in less than 3 weeks
204: [08:32:26] <antmas> yeah
205: [08:32:54] <antmas> shit is going to crash though
206: [08:32:57] <antmas> surely
207: [08: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
208: [08: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
209: [08:41:33] <Alexwijn> AlphaCactus, yeah like that
210: [08:41:45] <Alexwijn> Only for example "Windows" is a ModelAdmin
211: [08:43:27] * nickmolhoek has joined #silverstripe
212: [08: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.
213: [08:45:37] <Alexwijn> I guess I'll keep it in the menu for now
214: [08:45:51] <Alexwijn> Need to finish everything in less then 45minutes :)
215: [08:46:01] <AlphaCactus> that always works
216: [08:46:22] * CodeTrap has joined #silverstripe
217: [08:46:23] <Alexwijn> How to retrieve DataObject inside the template
218: [08:46:28] <Alexwijn> I need to use an extension
219: [08:46:29] <Alexwijn> ?
220: [08:46:35] <Alexwijn> for Page.php
221: [08:46:42] <AlphaCactus> you can write stuff right in page
222: [08:46:49] <Alexwijn> It is a module
223: [08:46:50] * pippy_ is now known as pippe
224: [08:46:53] * pippe is now known as pippy
225: [08:46:59] <AlphaCactus> oh.
226: [08:49:33] * Ryan-Toast has joined #silverstripe
227: [08:50:26] * chillu quit (Quit: chillu)
228: [08:50:53] <Alexwijn> So how can I retrieve it?
229: [08:51:27] * Pyromanik has joined #silverstripe
230: [08:52:49] * chillu has joined #silverstripe
231: [08:53:09] <Alexwijn> never mind, found it
232: [08:56:14] * UncleCheese has joined #silverstripe
233: [09:02:17] * DigNZ has joined #silverstripe
234: [09:06:59] * pippy quit (Ping timeout: 272 seconds)
235: [09:10:21] <AlphaCactus> how u do it
236: [09:13:43] <Alexwijn> What you mean
237: [09:13:57] * pippy has joined #silverstripe
238: [09:14:26] <Alexwijn> Is it just me or are Requirements very buggy
239: [09:15:13] <zippy__> What you mean?
240: [09:15:18] <Alexwijn> I created a DataExtension, add it Page
241: [09:15:23] <Alexwijn> And add this to init
242: [09:15:28] <Alexwijn> Requirements::javascript('jquery_cycle/javascript/jquery.cycle.min.js');
243: [09:15:32] <Alexwijn> But did does not get included
244: [09:15:42] <Alexwijn> Before I had problems witht his too
245: [09:15:49] <Alexwijn> Sollution, a lot of refreshes and flushes
246: [09:16:00] <Alexwijn> But now, that does not work
247: [09:17:34] <Pyromanik> zippy__: What you say?
248: [09:17:45] <Pyromanik> Someone set up us the bomb.
249: [09:18:00] <Pyromanik> take off every zig!
250: [09:18:33] <Pyromanik> Alexwijn: I don't think there is an init on dataextension.
251: [09:18:49] <Alexwijn> Ah
252: [09:18:50] <Alexwijn> Goit it
253: [09:18:58] <Alexwijn> I set it on where I needed it
254: [09:19:01] <Alexwijn> At the get function
255: [09:20:01] <guzzlefry> Using SilverStripe as a backend for mod_auth_mysql
256: [09:20:05] <guzzlefry> SEE IF I WON'T
257: [09:24:12] <Pyromanik> Hey just a thought
258: [09:24:31] <Pyromanik> does yml config violate open/closed priciple?
259: [09:24:41] <Pyromanik> well, specifically being able to modifly db, etc?
260: [09:25:01] <guzzlefry> question
261: [09:25:10] <guzzlefry> shouldn't composer install pull in a .htaccess file?
262: [09:25:12] <simon_w> You mean like you used to be able to do from your _config.php?
263: [09:25:25] <simon_w> guzzlefry, only if you're installing silverstripe-installer
264: [09:25:54] <guzzlefry> hm, odd
265: [09:27:43] <guzzlefry> I need some type of skelton SS install to work with. :/
266: [09:27:52] <guzzlefry> maybe a scirpt to harass me about steps I forget.
267: [09:28:11] * zfmf has left #silverstripe
268: [09:28:29] <simon_w> Zauberfisch has a silverstripe-bootstrap type thing that has a bunch of modules and defaults and stuff
269: [09:28:52] <Pyromanik> we have one too, because fuck composer
270: [09:29:45] <Ryan-Toast> What does HeadingLevel do for fields?
271: [09:29:46] <guzzlefry> I actually like Composer. :P
272: [09:30:10] <simon_w> Ryan-Toast, for HeaderFields it sets the number in the <h#> tag
273: [09:30:17] <Ryan-Toast> Ah, coolio.
274: [09:30:21] <Ryan-Toast> cheers.
275: [09:30:27] * simon_w mentions composer way too much: http://logs.simon.geek.nz/stats.php#composer
276: [09:30:52] <Ryan-Toast> I have a skeleton that I'm working on to learn SS: https://github.com/Rhym/ss_boilerplate
277: [09:31:11] <guzzlefry> hm
278: [09:31:17] * antmas_ has joined #silverstripe
279: [09:31:33] * antmas quit (Ping timeout: 250 seconds)
280: [09:31:54] <catcher> ffs
281: [09:31:54] <catcher> Nick Number times used
282: [09:31:54] <catcher> Pyromanik 136
283: [09:31:54] <catcher> catcher 54
284: [09: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.
285: [09:32:24] <catcher> Interesting.. must be something else contains ffs for me.
286: [09:32:36] <catcher> Pyromanik, on the other hand..
287: [09:32:52] <simon_w> guzzlefry, well, it needs to know how to talk to the database
288: [09:32:59] <simon_w> I just use _ss_environment.php
289: [09:33:25] <guzzlefry> To set the database as well?
290: [09:33:28] <Alexwijn> Is it possible to have a hidden administrator?
291: [09:33:28] <guzzlefry> database name
292: [09:34:31] <simon_w> guzzlefry, yes, SS_DATABASE_NAME or SS_DATABASE_CHOOSE_NAME (the one I use)
293: [09:34:35] <simon_w> Alexwijn, no
294: [09:34:53] <guzzlefry> thanks
295: [09:35:28] <Pyromanik> ffs catcher, why you gotta go bringing that up?
296: [09:35:31] <Pyromanik> xP
297: [09:35:57] <Pyromanik> SS_DATABASE_NAME
298: [09:35:58] <Pyromanik> REALLY?
299: [09:36:07] <Pyromanik> pretty sure that never used to be there :<
300: [09:36:12] <Pyromanik> only prefix and suffix!
301: [09:36:20] <simon_w> yeah, it's rather recent
302: [09:36:22] <guzzlefry> hm so
303: [09:36:25] <Pyromanik> simon_w: ah, cool
304: [09:36:31] <simon_w> cause SS_DATABASE_CHOOSE_NAME is so much more better
305: [09:36:46] <Pyromanik> I have (if not defined SS_DATABASE_CHOOSE_NAME) $database = 'blah';
306: [09:36:50] <Pyromanik> in my _config.php
307: [09:37:09] <Pyromanik> for live sites vs devs which use folder name
308: [09: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?
309: [09:37:26] <Pyromanik> yes
310: [09:37:29] <Pyromanik> well
311: [09:37:33] <Pyromanik> depends on what you defined it as
312: [09:37:37] <guzzlefry> 1
313: [09:37:39] <Pyromanik> 1 will give you web-admin
314: [09:37:50] <Pyromanik> 2 will give you this(/web-admin)
315: [09:37:55] * guzzlefry wonders how he missed that while reading the docs.
316: [09:37:56] <Pyromanik> etc
317: [09:38:12] <Pyromanik> quick
318: [09:38:25] <Pyromanik> what does the u modifier flag do to a regex?
319: [09:38:31] <Pyromanik> first to answer wins a prize
320: [09:38:39] <simon_w> unicode support
321: [09:38:47] <Pyromanik> boom, 10 points for simon_w :D
322: [09:39:00] <Pyromanik> cheers :)
323: [09:41:30] <guzzlefry> oh wait
324: [09:41:42] <guzzlefry> I don't think web-admin would be a vaild database name. >_>
325: [09:42:01] <simon_w> It is
326: [09:42:48] <guzzlefry> in MySQL?
327: [09:42:58] <guzzlefry> I figured the - would throw it off.
328: [09:43:00] <AlphaCactus> ya
329: [09:43:13] <guzzlefry> Unless I need to escape it with ""?
330: [09:43:19] <AlphaCactus> can have _ or -
331: [09:44:48] <guzzlefry> yeah, it's yelling at me about the -
332: [09:47:21] <guzzlefry> hrm
333: [09:47:46] <guzzlefry> SilverStripe Framework requires a $databaseConfig defined.
334: [09:47:48] <simon_w> Yes, you have to quote it
335: [09:48:01] <simon_w> have you defined the server, user and password as well?
336: [09:48:06] <guzzlefry> yep
337: [09:48:17] <simon_w> Where's your _ss_environment.php?
338: [09:48:23] <simon_w> Using the default mysite/_config.php?
339: [09:48:29] <guzzlefry> oh
340: [09:48:38] <guzzlefry> I might need that?
341: [09:49:27] <simon_w> Well, your _config.php needs to set the $project value and include conf/ConfigureFromEnv.php
342: [09:49:28] <guzzlefry> _ss_environment.php is in /var/www/web-admin/
343: [09:54:20] <guzzlefry> "Setting up the database; you will be returned to your site shortly...."
344: [09:54:26] <guzzlefry> That shouldn't take more than a minute should it?
345: [09:54:44] <simon_w> Depends how much it needs to do and how slow your machine is
346: [09:55:09] <guzzlefry> It's...in the cloud! >_>
347: [09:55:35] <guzzlefry> okay so, I guess I need a basic template for this to work.
348: [09:58:51] <simon_w> Bah, http_build_url() is only available in pecl
349: [09:59:15] * zfmf has joined #silverstripe
350: [10:00:25] <guzzlefry> okay so
351: [10:00:30] <guzzlefry> adding a template didn't help.
352: [10:00:44] <guzzlefry> /admin is blank.
353: [10:00:52] <guzzlefry> err
354: [10:01:03] <guzzlefry> /Security/login rather
355: [10:01:44] <guzzlefry> oh ffs
356: [10:05:26] * micmania1 has joined #silverstripe
357: [10: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.
358: [10:09:39] <micmania1> guzzlefry, hows the ecommerce coming along?
359: [10:09:55] <guzzlefry> dude..
360: [10:10:07] <guzzlefry> Another project now has priority. :P
361: [10:10:26] <micmania1> haha I hate that.
362: [10:10:32] <guzzlefry> After I set this mod_auth_mysql thing to use SilverStripe's member database.
363: [10:11:02] <micmania1> http://awesomescreenshot.com/0101xbx5d3 - I'm pimping mine up :)
364: [10: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!
365: [10:12:44] <guzzlefry> micmania1: SS_shop?
366: [10:12:49] <guzzlefry> forget the name of it :P
367: [10:13:09] <micmania1> nah, custom. Didn't like the others
368: [10:13:20] <guzzlefry> oh, nice
369: [10:14:17] <micmania1> It still has a LONG way to go though
370: [10:16:07] <guzzlefry> What's left?
371: [10:16:56] <micmania1> EVERYTHING!!
372: [10:17:00] <guzzlefry> :(
373: [10:17:05] <micmania1> I'm just building components atm
374: [10:17:11] <micmania1> and linking models etc.
375: [10:17:13] * UndefinedOffset quit (Quit: Leaving.)
376: [10:17:35] <guzzlefry> I have the checkout process stuff and the backend order management left.
377: [10:17:40] <guzzlefry> But mine is very bare-bones.
378: [10:18:14] <micmania1> Mines just a personal project so i'm doing it with all the trimmings
379: [10:18:30] <guzzlefry> ...masochist :P
380: [10:18:42] <guzzlefry> well actually
381: [10:19:00] <guzzlefry> I'd be having fun with this if I wasn't in a rush.
382: [10:20:39] <antmas_> the idea of doing that makes my head hurt
383: [10:20:47] <antmas_> Shopify all the things!
384: [10:22:47] * Jakx has joined #silverstripe
385: [10:23:30] * [BNC]bull5hit quit (Quit: bye)
386: [10:25:39] <Ryan-Toast> Can I do: $sqlQuery->orderBy = 'RAND()'; in a query?
387: [10:26:17] <Ryan-Toast> going to send that query a rand, bitches love rand.
388: [10:29:47] <guzzlefry> I remember RAND() being bad.
389: [10: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?
390: [10:37:13] * UncleCheese quit (Quit: UncleCheese)
391: [10:37:35] <antmas_> hmmm
392: [10: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?
393: [10:43:56] <simon_w> yes
394: [10:44:02] * spronk has joined #silverstripe
395: [10:44:39] <ss23> Some of our deployment scripts will expliiclty delete those files to get them to regenerate, antmas_
396: [10:44:47] * antmas_ quit (Ping timeout: 250 seconds)
397: [10:45:07] * antmas has joined #silverstripe
398: [10:47:00] <Alexwijn> How to get the page type of the current page
399: [10:48:19] <Jakx> Alexwijn, depends what you mean by page type. But $this->ClassName or $ClassName will do it.
400: [10:48:23] <ss23> ohhh
401: [10:48:24] <ss23> Handy
402: [10:48:36] <ss23> I was going to say get_class($this), but that looks beter
403: [10:48:36] <Alexwijn> in template
404: [10:48:46] <ss23> lol
405: [10:49:09] <Jakx> ^ as mentioned... $ClassName
406: [10:49:13] <guzzlefry> so
407: [10:49:22] <guzzlefry> #debian or #ubuntu for asking questions? :P
408: [10:51:35] * Guest111 has joined #silverstripe
409: [10:56:17] <guzzlefry> Which encryption type does SilverStripe use for passwords?
410: [10:57:55] <ss23> guzzlefry: crypt() with bcrypt atm I think
411: [10:58:07] <ss23> Could probably patch 3.1 to use password_hash maybe
412: [10:58:11] <ss23> or maybe not old enough yet
413: [10:58:51] <guzzlefry> mod_auth_mysql better support that. :P
414: [10:59:05] <guzzlefry> otherwise I'm going to be bad and use plaintext or MD5. >_>
415: [10:59:53] <ss23> lol
416: [11:00:01] <ss23> oh shit
417: [11:00:16] <guzzlefry> They're using .htaccess with plaintext crap right now.
418: [11:00:24] <ss23> I was implementing that here at work too, guzzlefry
419: [11:00:30] <ss23> guzzlefry: I checked, it should support it on some distros
420: [11:00:33] <guzzlefry> Did you get that working?
421: [11:00:38] <guzzlefry> I'm using Ubuntu >_>
422: [11:00:46] <ss23> guzzlefry: lol
423: [11:00:54] <ss23> Ubuntu is generally good at supporting things, so should be okay there
424: [11:01:33] <ss23> Reason is that it uses crypt() which may or may not support it
425: [11:01:40] <ss23> (syscall crypt, not php crypt)
426: [11:02:20] <ss23> guzzlefry: btw, you can use mod_authn_dbd, which comes built into apache
427: [11:02:45] <guzzlefry> That can handle MySQL?
428: [11:02:53] <ss23> yeah
429: [11:02:59] <ss23> well
430: [11:03:00] <ss23> I think so
431: [11:03:08] * DigNZ quit (Quit: DigNZ)
432: [11:03:28] <ss23> yeah
433: [11:03:34] <ss23> guzzlefry: It has a DBDriver mysql option
434: [11:03:50] <ss23> guzzlefry: http://httpd.apache.org/docs/current/mod/mod_dbd.html#dbdriver
435: [11:05:38] <ss23> guzzlefry: http://httpd.apache.org/docs/current/misc/password_encryptions.html Oh looks like it supports it on all distros!
436: [11:05:46] <antmas> note sure if my last question was answered, got booted
437: [11:05:48] <ss23> guzzlefry: ucky you :)
438: [11:05:54] <ss23> Let me know if you get it set up, guzzlefry
439: [11:05:55] <antmas> anyone for the regenerated files?
440: [11: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?
441: [11:06:09] <ss23> 10:44:58 <@simon_w> yes
442: [11:06:11] <ss23> 10:45:04 -!- spronk [~noemail@118-93-11-76.dsl.dyn.ihug.co.nz] has joined #silverstripe
443: [11:06:15] <ss23> 10:45:41 <+ss23> Some of our deployment scripts will expliiclty delete those files to get them to regenerate, antmas_
444: [11:06:19] <guzzlefry> ss23: I don't see an option to set salt field. 0.o
445: [11:06:25] <guzzlefry> although it's in the old docs.
446: [11:06:35] <antmas> ss23: ah, cool. Thought so
447: [11:06:37] <ss23> guzzlefry: You don't set a salt field
448: [11:06:46] <guzzlefry> oh
449: [11:06:52] <guzzlefry> it grabs it from the encrypted string?
450: [11:06:53] <ss23> guzzlefry: The "password" contains the salt already
451: [11:06:55] <ss23> yeah
452: [11:06:56] <guzzlefry> okay
453: [11:06:58] <ss23> :P
454: [11:07:02] <guzzlefry> The old docs had a salt field. :P
455: [11:08:19] <antmas> :( it's not generating
456: [11:08:22] <antmas> le poos
457: [11:09:05] <guzzlefry> Now, if only there was a way to get the queries it was sending to MySQL land.
458: [11:09:51] <AlphaCactus> ?showqueries
459: [11:10:16] <guzzlefry> non-SilverStripe related.
460: [11:10:35] <AlphaCactus> oh
461: [11:11:01] <guzzlefry> I'm playing sysadmin now. :P
462: [11:11:26] * DigNZ has joined #silverstripe
463: [11:11:34] <antmas> guzzlefry: fun fun, I'm about to switch to being 'training this guy on how to use Android'
464: [11:13:10] <AlphaCactus> i'm trying to be sysadmin too. linux is complicated
465: [11:13:17] <ss23> antmas: permissions?
466: [11:13:25] <zippy__> guzzlefry: turn on the mysql log for full queries... (for a bit)
467: [11:14:34] * DigNZ quit (Client Quit)
468: [11:14:58] <antmas> ss23: 777 on assets for now
469: [11:15:18] <ss23> antmas: Make sure it's -R, so that the assets/_combinedfolders is writable too
470: [11:15:29] <antmas> ss23: yeah did that
471: [11:15:30] <ss23> antmas: And make sure you have combined files turned on so it's meant to be writing there
472: [11:15:34] * DigNZ has joined #silverstripe
473: [11:15:37] * DigNZ quit (Client Quit)
474: [11:15:40] <antmas> ss23: in config?
475: [11:15:42] <zippy__> 777 -R / :-)
476: [11:15:51] <ss23> antmas: well, in your everywhere
477: [11:15:54] <ss23> I can't recall how it works
478: [11:15:54] <zippy__> doing / is bad. mykey
479: [11:15:57] <ss23> But it's opt-in, right
480: [11:16:04] <antmas> ah
481: [11:17:25] <antmas> man, docs have such a spaz in IE
482: [11:17:53] * Guest111 quit (Quit: Page closed)
483: [11:18:35] <ss23> fuck
484: [11:18:38] <guzzlefry> okay so, it's not even hitting the database.
485: [11:18:40] <ss23> client on monday -> "PLEASE CLEAR CACHE"
486: [11:19:37] <ss23> IT'S NOW THURSDAY
487: [11:19:59] <antmas> hmmmmm
488: [11:20:01] <antmas> Requirements::set_combined_files_folder(ASSETS_DIR . '/_combinedfiles');
489: [11:20:39] <guzzlefry> FFUUUU mod_auth_mysql
490: [11:21:02] <ss23> guzzlefry: Why aren't you using the built in modules for it?
491: [11:22:33] <guzzlefry> ss23: Because mod_auth_mysql should handle it.
492: [11:22:41] <guzzlefry> And I don't think mod_dbd does auth anywya.
493: [11:22:43] <guzzlefry> anyway
494: [11:23:07] <ss23> guzzlefry: Authentication in Apache works by combining two modules -- one to get the data, and one to do the actual auth
495: [11: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
496: [11:23:35] <ss23> idk
497: [11:23:40] <ss23> seems silly to use external modules when the built in ones should do it
498: [11:24:05] * Twist_ has joined #silverstripe
499: [11:24:55] <Twist_> Hello - I'm a first time caller, I need some understanding assiatnce with what is probably a very rookie problem
500: [11:25:19] <antmas> ah, stupid IE caching. It's fine in FF and Chrome
501: [11:25:24] <antmas> story of my life
502: [11:25:26] <Twist_> been working with ss on my own for a few months so my knowledge is patchy
503: [11:26:53] * SphereSilverNL has joined #silverstripe
504: [11:27:09] * catcher quit (Quit: Leaving)
505: [11:27:13] * DigNZ has joined #silverstripe
506: [11:27:35] <SphereSilverNL> \o
507: [11: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
508: [11:28:54] <SphereSilverNL> Is it extending ModulePage?
509: [11:28:59] <Twist_> nope
510: [11:29:08] <Twist_> totally different page
511: [11:29:21] <Twist_> both extend Page
512: [11:29:38] <SphereSilverNL> How is the DO created? any inherits on the ModulePage?
513: [11:29:39] <Twist_> same thing happen if I move the logic from index to init
514: [11:30:13] <SphereSilverNL> Hmmm, that's odd, parsing A where B is requested.
515: [11:30:16] <Twist_> $attempt = new PlayerModuleAttempt(); $attempt->write();
516: [11:30:31] <Twist_> just normal DOs
517: [11:30:41] <Twist_> I've tried to track it down for hours
518: [11:30:41] <SphereSilverNL> Version?
519: [11:30:45] <Twist_> 3.1
520: [11:31:13] <AlphaCactus> can you do a SS_Backtrace::backtrace(); in your init/index to see where it is getting called from
521: [11:31:18] <Twist_> I can re-architect, but would rather know
522: [11:31:39] <Twist_> cool never done that - what should I expect to see?
523: [11:31:46] <SphereSilverNL> a backtrace would be nice though ;) would probably help you a lot ;)
524: [11:31:47] <AlphaCactus> stack dump
525: [11:31:48] <Twist_> thanks for your help by the way :)
526: [11:32:00] <SphereSilverNL> The classes, runtime, stackdump, of the request
527: [11:32:24] <guzzlefry> yay, progress
528: [11:32:27] <Twist_> where will it output to?
529: [11:32:34] <Twist_> just adding it now
530: [11:32:35] <AlphaCactus> http response
531: [11:32:43] <AlphaCactus> like Debug::show() would do
532: [11:32:52] <Twist_> OK on it, will report back
533: [11:32:57] <Twist_> thanks again :)
534: [11:34:09] <SphereSilverNL> Did any of you guys send me an Elite FXX model?
535: [11:35:08] * AlphaCactus googles Elite FXX
536: [11:35:31] <antmas> lolwut?
537: [11:35:34] <antmas> I get cars?
538: [11:35:36] <SphereSilverNL> It's a scale model of the Ferrari FXX, Elite refers to the build-quality of the model :P
539: [11:35:37] <Pyromanik> TIL ' is mandatory not optional when applying a decorator.
540: [11:35:52] <AlphaCactus> who was I talking to about racing in NZ the other day?
541: [11:35:56] <antmas> random
542: [11:36:01] <SphereSilverNL> works
543: [11:36:03] <Pyromanik> AlphaCactus: antmas and I
544: [11:36:15] * EasyCo has joined #silverstripe
545: [11:36:22] <AlphaCactus> Pyromanik: so turns out teh guy I was talking about was in NZ racing as we spoke...
546: [11:36:24] <EasyCo> Mornin'
547: [11: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
548: [11:36:51] <Pyromanik> AlphaCactus: ha, nice.
549: [11:37:21] <Pyromanik> SphereSilverNL: Happy Birthday :)
550: [11:37:43] <antmas> SphereSilverNL: how old?
551: [11:37:51] <SphereSilverNL> Pyromanik: Thanks
552: [11:38:00] <SphereSilverNL> antmas: it starts with a 3 now :(
553: [11:38:11] <EasyCo> SphereSilverNL: Welcome to the club!
554: [11:38:15] * Jakx has left #silverstripe
555: [11:38:15] <antmas> SphereSilverNL: oh, so a big one?
556: [11:38:32] <EasyCo> Nothing really changes, you just sleep more
557: [11:38:37] <EasyCo> …well at least I do :)
558: [11:38:48] <antmas> and your back gets more sore
559: [11: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
560: [11:39:24] <antmas> SphereSilverNL: lol!
561: [11:39:50] <SphereSilverNL> I'm just a kid in a grown-up's body :D
562: [11:40:01] <AlphaCactus> Pyromanik: http://targa.co.nz/
563: [11:40:03] <Pyromanik> SphereSilverNL: good man.
564: [11:40:06] <Pyromanik> AlphaCactus: ah, the targa!
565: [11:40:09] <Pyromanik> good times.
566: [11:40:19] <Pyromanik> it's a Rally, not speedway :P
567: [11:40:33] <Pyromanik> although I thought it was a tarmac rally, not dirt.
568: [11:40:54] <SphereSilverNL> who cares, race is race, pedal to the metal, press it down hard, corners are for wimps
569: [11:41:27] <antmas> Pyromanik: <3 tarmac rally
570: [11:42:15] <Pyromanik> targa pretty cool event.
571: [11:42:22] <SphereSilverNL> targa NZ is not in Silverstripe? I are disappoint
572: [11:42:43] <Pyromanik> ha, yeh. Whoever made it doesn't really know websites.
573: [11:43:13] <SphereSilverNL> Targa looks cool though. I should probably not enter :)
574: [11:43:18] <antmas> Pyromanik: best day ever - seeing one of these go nuts in the Westcoast http://www.youtube.com/watch?v=cDRkHXMHqFo
575: [11:45:17] <SphereSilverNL> That makes me want to buy an old Quatro
576: [11:45:22] <Pyromanik> haha http://www.yafdev.com/
577: [11:46:32] <Pyromanik> antmas: http://www.youtube.com/watch?v=G5ceykLZDKA
578: [11:46:50] <AlphaCactus> stop sending fun links, I 'm at work here
579: [11:46:57] <Pyromanik> so am I
580: [11:47:20] <SphereSilverNL> I'm not working, keep the fun links coming
581: [11:48:01] <Pyromanik> http://www.youtube.com/watch?v=gmifaKiPa6M
582: [11:48:02] <SphereSilverNL> I never work actually, I just sit there and get paid :P
583: [11:48:29] <AlphaCactus> sign me up. haven't had a job like that for years
584: [11:48:47] <SphereSilverNL> Willing to move to the Netherlands?
585: [11:48:49] * travis-ci has joined #silverstripe
586: [11:48:49] <travis-ci> [travis-ci] chillu/silverstripe-framework#117 (pulls/2638-uploadfield - 61f99fa : Ingo Schommer): The build was broken.
587: [11:48:49] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/54a6417164b4...61f99fa1effd
588: [11:48:49] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/13606599
589: [11:48:49] * travis-ci has left #silverstripe
590: [11:49:09] <Alexwijn> SphereSilverNL, in this weather?
591: [11:49:13] <SphereSilverNL> Is it me, or is Travis an asshole?
592: [11:49:18] <SphereSilverNL> Alexwijn: It sucks
593: [11:49:25] <Alexwijn> Tell me about it
594: [11:49:41] <Pyromanik> SphereSilverNL: www.youtube.com/watch?v=DCWbFwF9Uyk
595: [11:49:43] <Pyromanik> :D ?
596: [11:49:43] <Alexwijn> Today I had to wait a half hour in the rain, waiting for the bus
597: [11:49:50] <AlphaCactus> suuuuuureee.... where is the netherlands?
598: [11:50:08] <Alexwijn> Next to Belgium and Germany
599: [11:50:22] <antmas> Norway?
600: [11:50:26] <antmas> wiat
601: [11:50:28] <antmas> wait*
602: [11:50:30] <SphereSilverNL> AlphaCactus: you don't know where the Netherlands is????
603: [11:50:30] <antmas> yes?
604: [11:50:50] <Alexwijn> SphereSilverNL, we'r not that big... :)
605: [11:50:57] <Alexwijn> Although we are one of the riches in europe
606: [11:51:04] <SphereSilverNL> Yes we are. We are huge!
607: [11:51:17] <AlphaCactus> https://maps.google.com/?ll=-84.786525,-63.105469&spn=14.775888,228.339844&t=h&z=3
608: [11:51:32] <antmas> ah man, always get Norway and Netherlands mixed up
609: [11:51:35] <antmas> :(
610: [11:51:53] <SphereSilverNL> Yeah, they're only a few hundred miles apart
611: [11:52:00] <SphereSilverNL> I would mix that up too.
612: [11:52:11] <antmas> Black Metal!
613: [11:52:18] <antmas> \m/
614: [11:52:18] <Alexwijn> AlphaCactus...wtf?
615: [11:52:21] <SphereSilverNL> http://goo.gl/DqUPLj <-- I live there
616: [11: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.
617: [11:52:48] <Alexwijn> Or your link is corrupted or you trying to point out NL
618: [11:52:54] <guzzlefry> rawr
619: [11:52:56] <AlphaCactus> SphereSilverNL: how far is the drive to the Nürburgring?
620: [11:53:00] <SphereSilverNL> Hey Twist_ , could you pasty the backtrace of the ModulePage and OtherPage it's links?
621: [11:53:07] <SphereSilverNL> AlphaCactus: Depends on my mood
622: [11:53:17] <AlphaCactus> lol
623: [11:53:42] <antmas> SphereSilverNL: what language is the native?
624: [11:53:48] <SphereSilverNL> Officially, it's about 2:48
625: [11:54:00] <SphereSilverNL> The native language of the Netherlands?
626: [11:54:01] <AlphaCactus> thyere are lots of roads in the netherlands
627: [11:54:09] <SphereSilverNL> For some reason.... it's "Dutch"
628: [11:54:12] <antmas> SphereSilverNL: well, the most spoken
629: [11:54:14] <Twist_> yep
630: [11:54:14] <antmas> ah
631: [11:54:28] <SphereSilverNL> It's somewhat a mix between German and Stupid
632: [11:54:39] <Alexwijn> It a lot more then that
633: [11: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.
634: [11:55:51] * Motoservo has joined #silverstripe
635: [11:56:11] <Alexwijn> English, Germany, France
636: [11:56:14] <antmas> SphereSilverNL: :O
637: [11:56:16] <antmas> jelly
638: [11:56:34] <AlphaCactus> SphereSilverNL: nice, i know people that drive that far just to do autocross here.
639: [11:56:48] <SphereSilverNL> I know them too ;)
640: [11:57:01] <Alexwijn> Dutch is a mix of that
641: [11:57:01] <Pyromanik> Danish?
642: [11:57:09] <SphereSilverNL> I'm not that fanatic, but if I can,It's the best circuit in the world
643: [11:57:17] * Motoservo quit (Client Quit)
644: [11:57:20] <SphereSilverNL> Danish is more like Frisian than Dutch
645: [11:57:38] <SphereSilverNL> Dutch and Danish are hardly the same, nor have they anything in common
646: [11:57:42] <Twist_> this is the backtrace from the ModulePage http://goo.gl/re3niU
647: [11:57:59] <Pyromanik> interesting. The more you know!
648: [11:58:22] * ajmitch wants to visit the netherlands one day
649: [11:58:32] <Alexwijn> Only one day?
650: [11: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 ;)
651: [11:58:49] <ajmitch> not 'for one day' :P
652: [11:58:59] <guzzlefry> PasswordEncryptor_MySQLPassword looks promising...
653: [11:59:18] <Pyromanik> ERROR [Notice]: Indirect modification of overloaded property has no effect
654: [11:59:20] <Pyromanik> halp!
655: [11:59:21] <guzzlefry> And...I'm the first person in the logs to mention it. :P
656: [11:59:22] <SphereSilverNL> You'd probably be high after one day, than, lying in a mudpool for 3 days
657: [11:59:38] <Pyromanik> SphereSilverNL: finnish is...
658: [11:59:42] <Pyromanik> nothing like russian.
659: [11:59:47] <SphereSilverNL> Finland
660: [11:59:54] <Pyromanik> also Ikea is Swedish.
661: [11:59:55] * violetina quit (Remote host closed the connection)
662: [11:59:56] <SphereSilverNL> I said "closer to" not "it's like"
663: [12:00:10] <Pyromanik> true, you did.
664: [12:00:14] <SphereSilverNL> Ikea is Swedish??
665: [12:00:17] <Pyromanik> yep
666: [12:00:19] <irogue23> yeah, IKEA is extremely swedish
667: [12:00:23] <Pyromanik> Nokia is Finnish.
668: [12: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
669: [12:00:28] <irogue23> tho the company is registered in NL for tax reasons iirc
670: [12: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?
671: [12:00:34] <SphereSilverNL> ok, scrap my ikea-remark... I thought Ikea was Finnish
672: [12:00:41] <Pyromanik> unsignedint: it does
673: [12:00:45] <AlphaCactus> unsignedint: sure it does
674: [12:00:46] <irogue23> Pyromanik: not for long it isn't
675: [12:00:54] <Pyromanik> irogue23: hmm?
676: [12:01:00] <Twist_> AlphaCactus - yep exactly. Crazy...
677: [12:01:02] <unsignedint> Pyromanik, AlphaCactus: then why is the data I am setting disappearing?
678: [12:01:03] <irogue23> Nokia bought by Microsoft
679: [12:01:06] <irogue23> so will be American soon
680: [12:01:14] <Pyromanik> unsignedint: probably sublties with __set and setField
681: [12:01:18] <Colin[pi]> HAI2ALL
682: [12:01:29] <AlphaCactus> Twist_: can you put a Backtrace in the constructor of your DO?
683: [12:01:30] <SphereSilverNL> Hey Colin[pi]
684: [12:01:32] <Pyromanik> it doesn't make a concrete field, as such.
685: [12:01:42] <Twist_> good idea
686: [12:01:47] <SphereSilverNL> also, please dump the request
687: [12:01:49] <SphereSilverNL> ?
688: [12:01:59] <Twist_> wiil do :)
689: [12:02:07] <AlphaCactus> unsignedint: is it disappearing inside a template? or somwhere else?
690: [12: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
691: [12:03:33] <guzzlefry> PasswordEncryptor_MySQLPassword <--- how do I actually set the Member stuff to use this?
692: [12:03:55] <SphereSilverNL> Address the parent?
693: [12:04:08] * nicolaas has joined #silverstripe
694: [12:04:09] <nicolaas> can you have a many many with yourself???
695: [12:04:21] <Pyromanik> easily
696: [12:04:28] <SphereSilverNL> yes, sure, you can, but I'd personally advise to use an intermediate.
697: [12:04:45] * DaShiVaDan has joined #silverstripe
698: [12:04:53] <nicolaas> as in how?
699: [12:05:13] <SphereSilverNL> My experience with self-related objects often turn out to become a behemoth of an object.
700: [12:05:36] <SphereSilverNL> Using an intermediate, LinkObjectOneToObjectTwo method
701: [12:05:44] <SphereSilverNL> keeps the code cleaner, usually
702: [12:06:22] * AlphaCactus squints at teh code
703: [12: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?
704: [12:06:44] * SphereSilverNL knows it's not the best, but better than linking to itself
705: [12:07:17] <Colin[pi]> fuck you windows and your network settings
706: [12:07:20] <SphereSilverNL> Check DO-class. It has the constructor, so pass at least those parameters, and have fun manipulating them ;)
707: [12:07:26] <ss23> NOW YOU'RE UNDER CONTROL AND NOW YOU DO WHAT THEY TOLD YA
708: [12:07:34] <SphereSilverNL> Colin[pi]: Ever tried that Apple OS?
709: [12:07:44] <Colin[pi]> OS X?
710: [12:07:48] <SphereSilverNL> yeah?
711: [12:07:59] <Colin[pi]> yes
712: [12:08:13] <AlphaCactus> Twist_: copy the DataObject::__construct function and start from there.
713: [12:08:13] <SphereSilverNL> Trust me, it's worse. Best OS is Debian/GNU/Linux
714: [12:08:27] <Colin[pi]> ss23: THOSE WHO DIED ARE JUSTIFIED
715: [12:08:40] <ss23> FUCK YOU I WON'T DO WHAT YOU TELL ME
716: [12:08:44] <nicolaas> UBUNTU just keeps surprising me
717: [12:08:45] <SphereSilverNL> That's what I said AlphaCactus, only I use complicated words to sound super-smart
718: [12:08:52] <Colin[pi]> SphereSilverNL: yeah but... but.. I was able to copy files to a share, yesterday, right?
719: [12:08:55] <Colin[pi]> and NOTHING has changed
720: [12:09:01] <Colin[pi]> and today it says I dont have permission
721: [12:09:04] <Colin[pi]> FUUUU WINDOWS
722: [12:09:09] <nicolaas> SphereSilverNL: I looked up behemoth
723: [12:09:09] * travis-ci has joined #silverstripe
724: [12:09:09] <travis-ci> [travis-ci] chillu/silverstripe-framework#117 (pulls/2638-uploadfield - 61f99fa : Ingo Schommer): The build passed.
725: [12:09:09] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/54a6417164b4...61f99fa1effd
726: [12:09:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/13606599
727: [12:09:09] * travis-ci has left #silverstripe
728: [12:09:14] <SphereSilverNL> Colin[pi]: Copying in OSX has always been a hell
729: [12:09:23] <guzzlefry> ss23: GET OFF THE ROOF
730: [12:09:32] <ss23> Crank the music up
731: [12:09:37] <unsignedint> ss23: get back to maintaining the docs
732: [12:09:44] <guzzlefry> haha
733: [12:09:52] <ss23> BRING THAT SHIT IN
734: [12:09:52] <SphereSilverNL> ss23: stay on the roof, I'll be there right away to get you a beer.
735: [12:09:55] * ss23 headbangs all over
736: [12:09:58] <nicolaas> Twist_: what are you trying to do?
737: [12: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
738: [12:10:27] <AlphaCactus> SphereSilverNL: indeed you did.
739: [12:10:59] <ss23> Seriously guys, I spent like 8 hours yesterday doing a pull request for you all
740: [12:11:02] <ss23> Don't make me go back to docs!
741: [12:11:12] <Colin[pi]> DO IT
742: [12:11:16] <AlphaCactus> unsignedint: have you verified that the values are set before you return $items on line 12
743: [12:11:33] <SphereSilverNL> Please don't say "return array();"
744: [12:11:40] <AlphaCactus> ss23: what was in this alleged pull request
745: [12:11:47] <ss23> Alleged?!
746: [12:12:07] <SphereSilverNL> To quote Avdi: "It works in my browser"
747: [12:12:09] <ss23> https://github.com/silverstripe/silverstripe-cms/pull/801
748: [12:12:10] <unsignedint> AlphaCactus: yep within the setCurrentVehicleItemID() I echoed the value of getCurrentVehcileItemID() and it matched
749: [12:12:32] <AlphaCactus> unsignedint: how about after your loop though I mean.
750: [12: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
751: [12:13:11] * Twist_ quit (Ping timeout: 250 seconds)
752: [12: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.
753: [12:15:15] <SphereSilverNL> In dev-mode, the cache shouldn't be used
754: [12: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??
755: [12:16:20] <AlphaCactus> unsignedint: i'm not so sure this is a SS issue?
756: [12:16:30] <SphereSilverNL> Ofcourse it's returning nothing but a model
757: [12:16:42] <SphereSilverNL> that's the lazy method
758: [12:16:53] <AlphaCactus> where do the instances for the loop go then
759: [12:16:56] <SphereSilverNL> If not addressed, it's not queried
760: [12:17:14] <AlphaCactus> how do you force the query then
761: [12:17:40] <irogue23> ungh, i require caffeines
762: [12:17:49] <irogue23> damn people knocking on the door at 8am
763: [12:17:54] <Alexwijn> And I require sleep
764: [12:17:59] <Colin[pi]> I bought some brazilian caffeines today... soo good
765: [12: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
766: [12:18:16] <unsignedint> yeah its like the instance is destroyed after the loop ends and a new instance is instantiated every time its accessed
767: [12:18:18] <SphereSilverNL> I should be in bed irogue23
768: [12: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
769: [12:18:31] <Alexwijn> SphereSilverNL, same here....same here
770: [12:18:33] <Colin[pi]> yeah I was gonna say aren't you up a bit late SphereSilverNL?
771: [12: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 :/
772: [12:19:22] <Colin[pi]> HAPPY BIRTHDAY DUDE!
773: [12:19:42] <Alexwijn> Congratz
774: [12:19:50] <SphereSilverNL> Thanks, although 20 minutes late :P
775: [12:20:03] <Alexwijn> Then why say it's your birthday
776: [12:20:11] <Colin[pi]> well fuck you then :D
777: [12:20:19] <SphereSilverNL> Because I just noticed it's 20 minutes late.
778: [12:20:31] <SphereSilverNL> Colin[pi]: I prefer not to, if that's ok with you?
779: [12:20:38] <Colin[pi]> aww, but... aww :(
780: [12:20:47] <Colin[pi]> birthday special?
781: [12:20:51] <SphereSilverNL> Me and my big mouth :/
782: [12:20:59] <Colin[pi]> I'll even let you give the reach around
783: [12:20:59] <Alexwijn> Yeah I something on the radio today
784: [12:21:02] <Alexwijn> heard*
785: [12:21:06] <SphereSilverNL> Ehhhh, Maybe my cat is up for something?
786: [12:21:10] <Alexwijn> nvm
787: [12:21:17] <Colin[pi]> hey good to see you're getting some pussy on your b'day
788: [12:21:27] <Alexwijn> I don't think its approiate here what I wanted to say
789: [12:21:33] <Alexwijn> oh dear
790: [12:21:46] <SphereSilverNL> owwwww god, this is going wrong bigtime
791: [12:21:52] <Colin[pi]> not appropriate on the chat they said
792: [12:22:18] <Alexwijn> :)
793: [12:22:18] <SphereSilverNL> I somewhat completely agree with the chat this time, I think.
794: [12:22:25] <Alexwijn> And it also been logged
795: [12:22:29] <AlphaCactus> unsignedint: so did someone say how to force an eager load instead of lazy?
796: [12:22:33] <Alexwijn> It sticks forever :)
797: [12:22:35] <EasyCo> Did Pyromanik ever get his GFs question answered yesterday?
798: [12:22:39] <Colin[pi]> lol
799: [12:22:43] <Colin[pi]> I got over that a while back
800: [12:22:52] <Colin[pi]> HEY EASYCO
801: [12:22:53] <SphereSilverNL> I have been logged? That might explain that burning feeling
802: [12:22:54] <Colin[pi]> I got a pic for you
803: [12:22:56] <Colin[pi]> one sec
804: [12:23:00] <unsignedint> AlphaCactus: no they didnt :( I tried it myself by accessing a field on the item but it did nothing
805: [12:23:17] <Alexwijn> Colin, no nude pics here on chat
806: [12:23:29] <Colin[pi]> EasyCo: after our chat yesty: https://fbcdn-sphotos-a-a.akamaihd.net/hphotos-ak-prn1/1382064_10152347546628206_278858407_n.jpg
807: [12:23:30] <EasyCo> Haha a pic of me? Am I looking studly?
808: [12:23:31] <guzzlefry> ss23: Any idea on how to set the default encryption method?
809: [12:23:40] <ss23> guzzlefry: In SilverStripe/
810: [12:23:48] <Alexwijn> I'm scared to click that link
811: [12:23:54] <Colin[pi]> it's safe :P
812: [12:23:54] <EasyCo> Haha
813: [12:23:57] <Colin[pi]> wine and cheese :P
814: [12:23:58] <EasyCo> A pic FOR me
815: [12:23:59] <EasyCo> Oh
816: [12:24:00] <EasyCo> Haha
817: [12:24:02] <EasyCo> That's awesome
818: [12:24:12] <EasyCo> So you that chat was enough to spur you on!
819: [12:24:14] <Colin[pi]> I wanted it so bad after talking about it LOL
820: [12:24:21] <EasyCo> Haha
821: [12:24:26] <EasyCo> Good man
822: [12:24:27] <ss23> guzzlefry: http://api.silverstripe.org/master/source-class-Security.html#782-794 -- but if you do that, you're dumb ;_;
823: [12:24:31] <Colin[pi]> couldn't get the wine I wanted, but that one is pretty good
824: [12:24:34] <EasyCo> That right glass is filled to the brim!
825: [12:24:40] <Alexwijn> http://www.youtube.com/watch?v=sSJ5PgUx0Zg
826: [12:24:54] <EasyCo> I went an picked up a case of Oranjeboom instead :)
827: [12:24:59] <Colin[pi]> that's mine, my gf's on the left, we hadn't started yet :(
828: [12:25:10] <EasyCo> Looks delish
829: [12:25:16] <Colin[pi]> mouthgasm
830: [12:25:30] <guzzlefry> ss23: How do I get it to use the PasswordEncryptor_MySQLPassword?
831: [12:25:34] <EasyCo> The second best type of gasm
832: [12:25:36] <guzzlefry> Also, I am not!
833: [12:25:40] <Colin[pi]> LOL
834: [12:26:54] <Alexwijn> Look what I found: http://memebase.cheezburger.com/thisisphotobomb/tag/boobs/
835: [12:26:58] <Pyromanik> EasyCo: well yours never showed up to answer!
836: [12:27:14] <Pyromanik> also weird, your mention didn't highlight me :<
837: [12:27:22] <ss23> guzzlefry: Set it to that with that function?
838: [12:27:58] <guzzlefry> not sure which string to pass
839: [12:28:01] <ss23> idk
840: [12:28:04] <ss23> tias
841: [12:28:11] <ss23> probably 'PasswordEncryptor_MySQLPassword' is fine
842: [12:28:57] <AlphaCactus> unsignedint: could you just do $NicePrice($Up.ID) ?
843: [12:30:49] <guzzlefry> So
844: [12:30:56] <guzzlefry> I'm supposed to register the encryptor first.
845: [12: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
846: [12:31:48] * DigNZ1 has joined #silverstripe
847: [12:32:13] <EasyCo> Wait a minute! If you have a template called MyController_home.ss. Will the automatically match for the home action?
848: [12:32:23] <SphereSilverNL> I'm off to bed. Before I say anything stupid :)
849: [12:32:36] <Colin[pi]> TOO LATE
850: [12:32:37] <Colin[pi]> ;D
851: [12:32:39] <unsignedint> AlphaCactus: the code is called outside of templates too, and id rather it was automatic. But thanks for the suggestion :)
852: [12:32:40] <Colin[pi]> nn dude
853: [12:32:41] <SphereSilverNL> :'(
854: [12:32:53] * DigNZ quit (Ping timeout: 268 seconds)
855: [12:32:54] * SphereSilverNL quit (Remote host closed the connection)
856: [12:33:44] <irogue23> http://ow.ly/i/3EeNI/original
857: [12:33:49] <irogue23> teehee
858: [12:33:51] <unsignedint> AlphaCactus: also the call to NicePrice is within a <% include %> so passing parameters doesnt work
859: [12:33:59] <irogue23> i really get off on traffic nightmares (unless i'm in them :P)
860: [12:34:00] <unsignedint> (code pasted was simplified)
861: [12:34:16] <ss23> irogue23: Why is that traffic nightmare? Cause everyone going down to one lane?
862: [12:34:37] <irogue23> ss23: ya, accident in the tunnel, 3 lanes reduced to 1
863: [12:34:53] <ss23> lol
864: [12:34:54] <ss23> sux
865: [12:36:49] <Alexwijn> What if everyone wants to go back: http://4.bp.blogspot.com/-dcqhf6FGFks/UHRmXEA_BZI/AAAAAAAADdU/pBNuRJKr4AI/s1600/traffic_jam.jpg
866: [12:36:57] <irogue23> ss23: result = https://dl.dropboxusercontent.com/u/4618071/tunneltraffic.png
867: [12:37:07] <guzzlefry> oh ffs
868: [12:37:07] <Colin[pi]> ouchies :(
869: [12:37:17] <guzzlefry> PasswordEncryptor::reigster() was removed in 3.1
870: [12:37:21] <ss23> lol
871: [12:37:24] <ss23> RED IS GOOD, RITE?
872: [12:37:37] <Colin[pi]> RED MEANS FASTER
873: [12:37:40] <Colin[pi]> everyone knows that
874: [12:39:11] <irogue23> black means "basically non-moving" (that's the tunnel), red means going <30 km/h iirc
875: [12:39:41] <Colin[pi]> you know how they get that traffic data? so cool
876: [12:39:52] <guzzlefry> Is there an easy way to find out why a method was removed?
877: [12:40:11] <irogue23> Colin[pi]: in Auckland it's done with sensors all along the motorway that track average speed
878: [12:40:41] <Colin[pi]> hmm well depends on the system, I heard with google traffic they use data from android devices in the cars
879: [12:40:49] <DaShiVaDan> anyone here develop android apps with eclipse on windows ?
880: [12:41:04] <irogue23> yeah, the google maps stuff works that way Colin[pi]
881: [12:41:45] * DesignerX has joined #silverstripe
882: [12: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
883: [12:41:56] <Colin[pi]> still very cool idea
884: [12:41:58] <Colin[pi]> not perfect
885: [12:41:59] <irogue23> yup
886: [12:42:11] <Colin[pi]> but when I read that I was like "...huh. That's awesome"
887: [12: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.)
888: [12:43:25] <irogue23> combined with data from transport angencies etc. in areas that have sensor-based systems
889: [12:43:30] <Colin[pi]> I thought those systems just received info and didnt send?
890: [12:43:43] <Alexwijn> Damn, I need to sleep
891: [12:43:57] * antmas quit (Ping timeout: 250 seconds)
892: [12:44:00] <unsignedint> sleep is for the weak!
893: [12:44:06] <lewellyn> week
894: [12:44:14] <Colin[pi]> yes sleep is for the week
895: [12:44:16] <irogue23> Colin[pi]: nah, most of the modern ones have data connections for live info on road closures, receiving traffic info etc.
896: [12:44:31] <Colin[pi]> ah k.. I have an old one and usually use my phone now
897: [12:44:52] <irogue23> i tried using my old Android phone for navigation in Auckland
898: [12:44:54] <irogue23> never again :P
899: [12:45:11] <Colin[pi]> my iphone is ok... though it tried to send me into a paddock the other day
900: [12:45:24] <irogue23> google maps doesn't really stay very up-to-date in NZ
901: [12:45:38] <irogue23> new highways that don't even exist on it, etc.
902: [12:45:52] <Colin[pi]> really? get your shit together google
903: [12: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
904: [12:46:04] <Alexwijn> Google getting bad these days
905: [12:46:04] <Colin[pi]> lol
906: [12:46:18] <irogue23> Navman (originally a NZ company) is also shite at NZ
907: [12:46:21] <Alexwijn> A normal google search is turning up sometimes bad results
908: [12:46:24] <Alexwijn> And weird results
909: [12:46:30] <irogue23> TomTom actually seems to be the best here
910: [12:46:31] <Colin[pi]> well, we could always switch to bing, amirite guise? guise?
911: [12:46:45] <AlphaCactus> who here is in NZ
912: [12:46:48] * unsignedint slaps Colin[pi]
913: [12:46:55] * Colin[pi] deserved it
914: [12:47:05] * Alexwijn claps
915: [12:47:10] <irogue23> Colin[pi]: actually, Bing Maps (which uses Nokia/HERE Maps data) is more up-to-date here, lol
916: [12:47:17] <Colin[pi]> oh god
917: [12:47:19] <Colin[pi]> end times are here
918: [12:47:19] <irogue23> doesn't have street view, and the sattelite imagery is complete shite
919: [12:47:20] <Colin[pi]> lol
920: [12:47:29] <irogue23> but they have better sources for roading data
921: [12:47:53] <irogue23> i think Google likes to do everything themselves rather than being reliant on third-party data sources
922: [12:48:07] <irogue23> which doesn't really work too well in countries they don't even have a physical presence :P
923: [12:48:16] * antmas has joined #silverstripe
924: [12: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
925: [12:48:53] <irogue23> yeah
926: [12:49:05] <irogue23> bing is certainly improving, but it's still got quite a way to catch up
927: [12:49:14] <Colin[pi]> you can change it, but siri for example searches the web in bing now, unless you ask "google <something>"
928: [12:49:20] * CodeTrap quit (Quit: CodeTrap)
929: [12:49:27] <irogue23> i have a Windows Phone, and often just hit search rather than remembering to open the Google app
930: [12:49:46] <irogue23> and am often pleasantly surprised when it gives the correct results :P
931: [12:50:21] * Alexwijn is sleeping on his keyboard
932: [12:50:25] <unsignedint> irogue23: how is the windows phone btw? I have only used android
933: [12:50:42] <irogue23> unsignedint: i like it. it performs massively quicker on low-end hardware
934: [12:50:46] * Alexwijn quit ()
935: [12:50:56] * zfmf has left #silverstripe
936: [12:51:10] <Colin[pi]> unsignedint: the coloured tile thing in Win8 comes from the phone originally
937: [12: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
938: [12:51:15] <antmas> yeah, they have Win phones at work
939: [12:51:17] <Colin[pi]> so it's kinda like the start menu in Win8
940: [12:51:21] <unsignedint> nice
941: [12:51:30] <irogue23> cos not Java, ultimately
942: [12:51:33] <antmas> $250 phones, run as fast as my GS3
943: [12:51:36] <antmas> crazy
944: [12:51:42] <irogue23> yep
945: [12:51:43] <Colin[pi]> irogue23: so so true
946: [12: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
947: [12:52:14] <irogue23> yeah
948: [12:52:18] <Colin[pi]> at least with iOS it's bloody fast
949: [12:52:18] <irogue23> i've never been able to handle it
950: [12:52:28] <antmas> I'm considering switching once the MS takeover of Nokia produce something nicer than the 1020
951: [12:52:30] <irogue23> cos i don't buy high priced phones :P
952: [12:52:35] <unsignedint> Colin[pi]: thats not a fair comparison, an iOS phone costs $1200
953: [12:52:44] <irogue23> unsignedint: so do high end androids
954: [12:52:46] <unsignedint> compare it to a GS4 or something
955: [12:52:47] <unsignedint> yeah
956: [12:53:06] <antmas> I've never seen a $1200 top shelf android phone
957: [12:53:12] <antmas> maybe for like 2 days post launch
958: [12:53:23] <unsignedint> yeah I bought my gs4 for $1150
959: [12:53:28] <antmas> jesus
960: [12:53:30] <unsignedint> when it was launched
961: [12:53:32] <guzzlefry> simon_w: Is there an alternative to PasswordEncryptor::register()? Since it seems to be removed as of SS3.1.
962: [12:53:36] <antmas> day 1?
963: [12:53:39] <unsignedint> yep
964: [12: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
965: [12:53:46] <Colin[pi]> I know there are a lot of factors at play
966: [12:53:47] <simon_w> guzzlefry, config api
967: [12:53:49] <antmas> if you'd waited a week, it would be $900
968: [12:53:52] <antmas> :P
969: [12:53:57] <unsignedint> at least you can do what you want on Android, as a programmer thats the most important thing
970: [12:54:10] <unsignedint> and also you dont need itunes or any of that crap
971: [12:54:28] <unsignedint> oh and your phone will show as a mass storage device, very handy
972: [12:54:39] <unsignedint> oh and bluetooth works
973: [12:54:50] <antmas> that reminds me, I should really get an SD card
974: [12:54:51] <irogue23> < unsignedint> and also you dont need itunes or any of that crap
975: [12:54:54] <Colin[pi]> unsignedint: I hardly ever use itunes
976: [12:54:55] <antmas> only 16gb :(
977: [12:54:56] <irogue23> as of iOS6, no itunes required
978: [12:55:17] <unsignedint> about bloody time then. what about for updates or transferring music to your phone?
979: [12:55:28] <Colin[pi]> and quite frankly.. I like that apple is kinda restrictive on the OS
980: [12:55:52] <Colin[pi]> because I don't get the same BS I have on android, malware, intrustive ad stuff, task killers etc.
981: [12:56:20] <unsignedint> task killers are really only for low-end phones
982: [12:56:24] <unsignedint> but fair enough
983: [12:56:30] <antmas> Colin[pi]: agreed
984: [12:56:32] <Colin[pi]> well I have an aging tablet which needs it ;)
985: [12:56:55] <Colin[pi]> but it started to have icons appearing that I didn't authorise
986: [12:56:59] <Colin[pi]> i'm like wtf
987: [12:57:05] <Colin[pi]> some malware crept in with an app
988: [12: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
989: [12:57:28] <Colin[pi]> yeah but i have never had that happen on iOS.. never
990: [12:57:37] <antmas> Colin[pi]: neither
991: [12:57:44] <antmas> on OSX sure
992: [12: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
993: [12:58:12] <Colin[pi]> anyway I don't want to get into a fanboi argument :)
994: [12:58:17] <unsignedint> haha fair enough
995: [12:58:18] <Colin[pi]> if you like what you use, then that's fine :D
996: [12:58:26] <antmas> unsignedint: yeah I'm waiting for my warranty to run out then its on to 4.4 ;)
997: [12:58:46] <unsignedint> nice :)
998: [13:01:00] <antmas> HATE having to wait for carriers to test that crap
999: [13:01:44] <unsignedint> carriers should stop implementing their own stuff and just trust google
1000: [13:02:02] <antmas> speaking of sd cards, do you really need class 10 for phones?
1001: [13:02:23] <unsignedint> I wouldnt think so if youre just using them for music etc
1002: [13:02:38] <Colin[pi]> class 10 is just for HD video and stuff, right?
1003: [13:03:00] <guzzlefry> simon_w: encryptors.yml I'm guessing? Should I just copy that over to /mysite/_config/ and add onto it?
1004: [13:03:15] <simon_w> You just add to the array
1005: [13:03:28] <antmas> Colin[pi]: yeah probably
1006: [13:03:40] <antmas> pretty much never watch videos on my phone besides youube
1007: [13:03:42] <guzzlefry> okay, I'll keep digging.
1008: [13:03:44] <antmas> youtube*
1009: [13:03:49] <antmas> just music really
1010: [13:06:05] <Colin[pi]> remember when internet video looked like crap and tv was amazing?
1011: [13:06:10] <Colin[pi]> now it's the opposite
1012: [13:06:15] <Colin[pi]> for our free to air anywya
1013: [13:06:18] <Colin[pi]> *anyway
1014: [13:08:27] <EasyCo> Jesus, TSLA is taking a pounding
1015: [13:09:12] <unsignedint> Colin[pi]: the dialup days right? I used to spend 2 weeks downloading a movie
1016: [13:09:16] <Colin[pi]> lol
1017: [13:09:49] <unsignedint> and it would be a shitty cam divx encode
1018: [13:09:54] * chillu quit (Quit: chillu)
1019: [13:10:43] <antmas> yeah it took me 24 days to download LoTR
1020: [13:10:45] <antmas> lol
1021: [13:11:01] <guzzlefry> fsck
1022: [13:11:03] <AlphaCactus> 24 days... netflix can send it in like 2
1023: [13:11:08] <guzzlefry> Don't know why this is so confusing to me. :P
1024: [13:11:21] <antmas> AlphaCactus: yeah, netflix is amazing
1025: [13:11:22] <antmas> love it
1026: [13:11:50] <unsignedint> lucky bastards who get netflix
1027: [13:11:58] <AlphaCactus> Netflix makes ripping movies easy and/or unnecessary.
1028: [13:11:59] <unsignedint> I used to have movieshack
1029: [13:12:11] <unsignedint> could get around ~10 movies a month
1030: [13:12:25] <unsignedint> postage delays were a pain though
1031: [13:12:59] * guci0 quit (Ping timeout: 250 seconds)
1032: [13:17:32] <EasyCo> Is there a $ModuleDir type varaible?
1033: [13:18:03] <guzzlefry> Config::inst()->update("PasswordEncryptor", "mysql", array("mysql", "PasswordEncryptor_MySQLPassword")); What am I doing wrong?
1034: [13:20:06] <antmas> unsignedint: you in NZ?
1035: [13:20:35] <antmas> you can get netflix anywhere...
1036: [13:29:15] <guzzlefry> how in the hell do I add onto an array in the Config system?
1037: [13:29:19] <EasyCo> So if you have an images folder in your module and you want to reference that image from your module template, is there a base path like $ThemeDir built in or do you need to register a variable with the base path yourself?
1038: [13:30:37] <unsignedint> antmas: sure am
1039: [13:31:09] <AlphaCactus> EasyCo: I think you need your own var
1040: [13:31:26] <unsignedint> antmas: you can get it in NZ but you have to proxy through a US ip address
1041: [13:31:46] <unsignedint> id rather just pirate until the assholes at the movie companies stop having retarded licensing restrictions
1042: [13:35:59] <guzzlefry> oh, I think I did it: Config::inst()->update("PasswordEncryptor", "encryptors", array("mysql" => array("PasswordEncryptor_MySQLPassword" => "mysql")));
1043: [13:38:43] <irogue23> unsignedint: in the case of Netflix, it's SKY stopping them from starting up here
1044: [13:39:02] <irogue23> they've basically bought up exclusive rights to ALL OF THE THINGS
1045: [13:39:08] <irogue23> and are extremely douchey about it
1046: [13:39:09] <unsignedint> corporate bastards always trying to protect their monopolies and bottom line
1047: [13:40:34] <Pyromanik> fucking console gamers.
1048: [13:40:39] <AlphaCactus> whats SKY
1049: [13:40:42] <Pyromanik> 'Wow the new battlefield is pretty great"
1050: [13:41:01] <guzzlefry> ss23: I DID ITS
1051: [13:41:03] <Pyromanik> AlphaCactus: think like "cable" but by satellite and actually a providers name (because it's a monopoly)
1052: [13:41:04] * guzzlefry goes crazy.
1053: [13:41:32] <AlphaCactus> oh that sky. how does sky block netflix?
1054: [13:41:35] <Pyromanik> tldr, SKY is subscription TV.
1055: [13:41:50] <unsignedint> AlphaCactus: the company owns the rights to all the shows so other companies cant broadcast them
1056: [13:42:01] <Pyromanik> AlphaCactus: probably something to do with business politics.
1057: [13:42:28] <Pyromanik> unsignedint: wait, I thought you were in the US?
1058: [13:42:36] <unsignedint> Pyromanik: lol no, im in NZ. Napier
1059: [13:42:40] <Pyromanik> rofl
1060: [13:42:52] * Pyromanik wonders why he though unsignedint was from the USA.
1061: [13:42:56] * Pyromanik shrugs
1062: [13:43:07] <unsignedint> is it coz of my murrican accent?
1063: [13:43:12] <AlphaCactus> less crack 4 u
1064: [13:43:52] <AlphaCactus> auy! dun merk fuhn uv us ammericuns
1065: [13:44:53] <irogue23> fuuuuu
1066: [13:45:00] <guzzlefry> guys
1067: [13:45:05] * unsignedint hands AlphaCactus a gun and expects him to say 'FUCK YEAH 'MURRICA *bang* *bang*'
1068: [13:45:05] <guzzlefry> stop watching South Park
1069: [13:45:07] <irogue23> i thought i was being so smart this morning, buying lunch at the same time i bought breakfast
1070: [13:45:12] <ss23> guzzlefry: l33t, nice
1071: [13:45:30] <irogue23> but now i'm gonna go back to the shops anyway to get a drink
1072: [13:45:33] <ss23> guzzlefry: Just FYI, using the mysql passowrd encryptor is bad, like, "holy shit why bother, just store it in plaintext" bad.
1073: [13:45:55] <AlphaCactus> Hey thar boy. Gimme dat gun! Yeeehaw
1074: [13:45:59] <guzzlefry> ss23: This is for http auth crap, don't care.
1075: [13:46:07] <guzzlefry> Client was using plaintext before. :P
1076: [13:46:12] * unsignedint stores passwords in plaintext
1077: [13:46:19] <guzzlefry> YOU WHAT
1078: [13:46:22] <Pyromanik> irogue23: yeah don't be smart. It is excuse to get up and walk.
1079: [13:46:24] <unsignedint> sue me, when an asshole asks what their password is its easy to tell them
1080: [13:46:48] <unsignedint> also theres nothing really important stored anyway
1081: [13:46:48] <ss23> guzzlefry: Don't care, ur lame
1082: [13:46:57] <guzzlefry> ss23: haters gonna hate
1083: [13:46:59] <ss23> guzzlefry: If you want, I'll write a blog post on how to do it properly when/if I do it
1084: [13:47:02] <ss23> lol
1085: [13:47:12] <Pyromanik> unsignedint: rofl
1086: [13:47:13] <guzzlefry> ss23: You should.
1087: [13:47:13] <AlphaCactus> passwords are sooo last century
1088: [13:47:17] <guzzlefry> also
1089: [13:47:24] <guzzlefry> ss23: Lecture unsignedint before me. :P
1090: [13:47:34] <Pyromanik> when some arsehole asks me what their password is I go "no fucking idea, that's 1/4 hr charge, thanks for your call."
1091: [13:47:54] <ss23> Whats this, you have a bug on your site?
1092: [13:48:00] <ss23> rm -rf /tmp/silverstripe*
1093: [13:48:01] <ss23> fixed.
1094: [13:48:03] <AlphaCactus> "Go click the i'm a dumbass and forgot my password link under the login form"
1095: [13:48:05] <guzzlefry> I have a little book full of passwords.
1096: [13:48:17] <Pyromanik> I just remember all my passwords.
1097: [13:48:32] <guzzlefry> Mine are like 15 characters long with no pattern. :P
1098: [13:48:35] <Pyromanik> I turn that "make my derp browser remember my derp password because I'm derp"
1099: [13:48:38] <Pyromanik> off
1100: [13:48:40] <Pyromanik> so then I remember.
1101: [13:48:45] <ss23> Pyromanik: That sounds like a good sign you're a) using a predictable scheme for your passwords, or b) reusing passwords
1102: [13:48:48] <Pyromanik> guzzlefry: oh, for that we have google docs :P
1103: [13:48:52] <ss23> Either way, it's a hell of a lot worse than writing them down.
1104: [13:49:08] <Pyromanik> nah
1105: [13:49:11] <ss23> nah?
1106: [13:49:15] <Pyromanik> because I remember them.
1107: [13:49:19] <ss23> no
1108: [13:49:20] <AlphaCactus> derp chrome basically stores them in plain text. you can go look at stoed password in chrome without any authentication
1109: [13:49:21] <Pyromanik> yes
1110: [13:49:29] <Pyromanik> the fuck is the point in a password you can't remember?
1111: [13:49:40] <AlphaCactus> security from yourself
1112: [13:49:45] <Pyromanik> AlphaCactus: every browser does. How else can it put it in the form?
1113: [13:49:47] <guzzlefry> If it's hard to remember then it's sometimes hard to guess. :P
1114: [13:50:04] <ss23> Pyromanik: Do you have a new randomly generated password for every site you use?
1115: [13:50:14] <ss23> It is worse to reuse passwords than it is to write them down.
1116: [13:50:19] <ss23> That is the reason "I just remember my passwords" is bad.
1117: [13:50:25] <AlphaCactus> Pyromanik: indeed. but you can do it without hacking the page or going to a page. you can seee them all.
1118: [13:50:26] <Pyromanik> ss23: ZyldujEkKad0
1119: [13:50:42] <Pyromanik> old server password. I still remember it because I typed it every day for 2 years.
1120: [13:50:51] <ss23> Pyromanik: And? That doesn't answer my question.
1121: [13:50:51] <guzzlefry> ss23: I have a few characters variation between my passwords that I don't care too much about. >_>
1122: [13:50:58] <Pyromanik> ss23: yes.
1123: [13:51:07] <ss23> Pyromanik: I presume oyu have maybe 30+ accounts easily? (I have 200+ stored in my manager)
1124: [13:51:15] <ss23> If you can remmeber that many generated passwords for every account you've signed up for
1125: [13:51:21] <ss23> You should go talk to a university
1126: [13:51:27] <ss23> Cause that is soem ungodly memory skills.
1127: [13:51:44] <Pyromanik> ss23: I fucking hate needlessly signing up for shit, so it doesn't happen often.
1128: [13:51:50] <Pyromanik> I also have a tier system for passwords.
1129: [13:51:53] <ss23> lol
1130: [13:51:55] <ss23> I fucking knew it
1131: [13:51:58] <ss23> You reuse the shit out of your passwords.
1132: [13:52:07] * Ryan-Toast quit (Quit: Ryan-Toast)
1133: [13:52:07] <Pyromanik> shit I don't really care about get pattern generator passwords.
1134: [13:52:17] <irogue23> so
1135: [13:52:20] <irogue23> how about dat adobe
1136: [13:52:20] <guzzlefry> hax
1137: [13:52:24] <irogue23> not hashing their passwords
1138: [13:52:30] <Pyromanik> irogue23: meh?
1139: [13:52:31] <guzzlefry> I thought they did?
1140: [13:52:32] <Pyromanik> it's adobe.
1141: [13:52:35] <ss23> irogue23: looooool
1142: [13:52:37] <ss23> CBC CBC
1143: [13:52:37] <ss23> idek
1144: [13:52:45] <Pyromanik> someone thought they were good engineers and was surprised when they found out they're not?
1145: [13:52:45] <ss23> like
1146: [13:52:46] * spronk2 has joined #silverstripe
1147: [13:52:48] <Pyromanik> LOL
1148: [13:52:53] <irogue23> guzzlefry: nope, they were encrypted, all with the same key
1149: [13:52:59] <Pyromanik> lol
1150: [13:53:04] <ss23> Someone had to sit there and think "We shouldn't store our passwords in plaintext"
1151: [13:53:10] <ss23> Then, they had to think "LETS USE 3DES"
1152: [13:53:11] <ss23> like
1153: [13:53:12] <irogue23> and since the hackers also got a dump of all their code etc., highly likely they have the key
1154: [13:53:12] <ss23> how the fuck.
1155: [13:53:57] <guzzlefry> wait
1156: [13:54:10] <guzzlefry> ss23: You're the security guy, not the doc maintainer!
1157: [13:54:15] <Pyromanik> they totally should have used a revolving hex hydra morphing algorithm.
1158: [13:54:25] <Pyromanik> WOW, science! thanks Swordfish!
1159: [13:54:33] <Pyromanik> you put it together like a cube!
1160: [13:54:40] <irogue23> relevant xkcd: http://xkcd.com/1286/
1161: [13:54:51] <ss23> Ah, this building
1162: [13:54:57] <ss23> It's like a constant game of "walking or earthquake"
1163: [13:55:09] <simon_w> Gah dangit, I didn't use a generator for my adobe account
1164: [13:55:11] <simon_w> Stupid old logins
1165: [13:55:12] <ss23> lol
1166: [13:55:18] <ss23> simon_w: want me to try find out your password? :D
1167: [13:55:36] <irogue23> yeah, the data dumps are on the torrents
1168: [13:55:53] <ss23> I have the logins at home if anyone wants me to check for them
1169: [13:56:23] <ss23> I was going to write a web form thing that let you put in your email and it tells you some stats (e.g. your password if it knows it, commonness of passowrd, guessed length, password hints, etc)
1170: [13:56:45] <irogue23> Adobe also decribed the customer credit card data and other PII (Personally Identifiable Information) that was stolen in the same attack as "encrypted."
1171: [13:56:48] <irogue23> And, as fellow Naked Security writer Mark Stockley asked, "Was that data encrypted with similar care and expertise, do you think?
1172: [13:57:16] <guzzlefry> I thought they had to get audited for that PCI-DSS compliance thing?
1173: [13:57:21] <guzzlefry> to store card info
1174: [13:57:34] <ss23> PCI complaiance means literally nothing in terms of real world
1175: [13:57:35] <ss23> Like
1176: [13:57:37] <ss23> Literally
1177: [13:57:38] <guzzlefry> oh
1178: [13:57:42] <guzzlefry> hm
1179: [13:57:49] <guzzlefry> ss23: Wouldn't they have the keys to decrypt anyway?
1180: [13:57:50] <Pyromanik> http://xkcd.com/792/
1181: [13:57:57] <ss23> guzzlefry: Who is "they", Adobe?
1182: [13:58:10] <guzzlefry> the people that managed to get that level of access into their Adobe's system :P
1183: [13:58:11] <guzzlefry> haxors
1184: [13:58:14] <ss23> Yeah, guzzlefry
1185: [13:58:15] <irogue23> PCI is self-audited. you basically sign a piece of paper saying "i swear i'm doing everything right!"
1186: [13:58:15] <ss23> Well
1187: [13:58:17] <Pyromanik> my email address is probably in that list
1188: [13:58:17] <ss23> Probably
1189: [13:58:26] <ss23> :(
1190: [13:58:30] <Pyromanik> but it's only going to be my address for 3 more weeks
1191: [13:58:31] <ss23> I don't have the files with me at work to check
1192: [13:58:46] * Pyromanik shrugs
1193: [13:58:49] <Pyromanik> meh
1194: [13:58:57] <Pyromanik> not my credit card.
1195: [13:59:06] <Pyromanik> nor my password
1196: [14:01:23] <Colin[pi]> nor my axe
1197: [14:01:46] <irogue23> nor my penis
1198: [14:02:48] <unsignedint> nor my rubber chicken
1199: [14:02:57] <unsignedint> nor my squeaky horn
1200: [14:03:20] <unsignedint> lord of the burger rings what?
1201: [14:04:27] <ss23> I have a weird bug... a live site isn't displaying the documents attached to a page
1202: [14:04:30] <ss23> $val .= SSViewer::execute_template('Documents', $scope->getItem(), array());
1203: [14:04:37] <ss23> oh
1204: [14:04:46] <ss23> I thought that said "exclude template", not "execute template"
1205: [14:04:52] * Ryan-Toast has joined #silverstripe
1206: [14:04:55] <ss23> Either way, that template doesn't seem to be being included on some pages, which cnofuses me.
1207: [14:06:46] <ss23> or something
1208: [14:06:47] <ss23> wtf
1209: [14:08:34] <ss23> blargh
1210: [14:16:42] <ss23> guis
1211: [14:16:44] <ss23> :(
1212: [14:16:48] <ss23> $this->record...
1213: [14:16:50] <ss23> is an array
1214: [14:16:51] <ss23> not a class
1215: [14:16:51] <ss23> ;_;
1216: [14:16:54] <ss23> how 2 get the object
1217: [14:17:31] <guzzlefry> ss23: $this being the controller?
1218: [14:17:36] <ss23> yeah
1219: [14:17:41] <guzzlefry> $this->data();
1220: [14:17:43] <ss23> ty
1221: [14:17:47] <guzzlefry> I think. :P
1222: [14:17:54] <ss23> yeah
1223: [14:17:54] <ss23> :D
1224: [14:18:01] <guzzlefry> yay
1225: [14:20:51] <ss23> edit on live like a boss.
1226: [14:21:20] <antmas> unsignedint: re-netflix
1227: [14:21:35] <unsignedint> hmm?
1228: [14:21:39] <antmas> yeah you just need a vpn, it works very well
1229: [14:22:03] <unsignedint> good to know
1230: [14:22:18] <unsignedint> im still going to pirate out of principle, I shouldnt have to use a VPN
1231: [14:22:40] <antmas> I have it setup so I generate a false gmail account every week and sign up to unblockus, takes the dns addresses and email myself with them
1232: [14:22:46] <unsignedint> region-specific licensing restrictions are retarded and im not going to pay money to support them
1233: [14:22:48] <antmas> :) saving $5 a month lol
1234: [14:22:59] <unsignedint> haha nice :)
1235: [14:23:15] * nyeholt has joined #silverstripe
1236: [14:28:03] * travis-ci has joined #silverstripe
1237: [14:28:04] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1506 (3.1 - 252b6e5 : Damian Mooyman): The build passed.
1238: [14:28:04] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/9d550f893847...252b6e53ac8e
1239: [14:28:04] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13611801
1240: [14:28:04] * travis-ci has left #silverstripe
1241: [14:30:36] <antmas> trouble is it SUCKS on xbox
1242: [14:30:45] <antmas> awesome on pc/ipad
1243: [14:32:13] <antmas> xero just reached 5 billion
1244: [14:32:15] <antmas> :O
1245: [14:32:24] * Motoservo has joined #silverstripe
1246: [14:33:07] <unsignedint> wow
1247: [14:33:21] <unsignedint> I like Xero only because it has an API
1248: [14:33:30] <antmas> 1 billion in less than 2 days
1249: [14:33:33] <antmas> insane
1250: [14:33:45] <unsignedint> venture capital raising round?
1251: [14:33:56] <zippy__> nope share price just going up
1252: [14:34:28] <zippy__> amazing how it's gone from $17~ a share to $37 now -> https://www.nzx.com/markets/NZSX/securities/XRO
1253: [14:34:54] <antmas> they're targeting $47.5 or so?
1254: [14:34:56] <zippy__> crazy how it's now valued at more than all but 1 other nz company.... mental, for software
1255: [14:35:14] <zippy__> antmas: some stock market people think it will hit that much...
1256: [14:35:16] <antmas> how bloody risky is that now
1257: [14:35:49] <unsignedint> when will the business types learn...
1258: [14:36:00] * unsignedint waits for a rcession-style bubble burst
1259: [14:36:04] <unsignedint> recession*
1260: [14:36:22] <antmas> I would have sold all mine probably around the $30 mark
1261: [14:36:51] <unsignedint> in other news, 1 BTC is $NZ 319
1262: [14:36:54] <unsignedint> I sold mine at $160
1263: [14:36:57] <unsignedint> I am gutted
1264: [14:37:01] <zippy__> lol doh
1265: [14:37:05] <antmas> bitcoin?
1266: [14:37:08] <unsignedint> yeah
1267: [14:37:14] <antmas> I have 1.5 now :)
1268: [14:37:21] <unsignedint> bitnz.com is where im trading
1269: [14:37:27] <unsignedint> im waiting for it to go back to !$110
1270: [14:37:32] <unsignedint> I may be waiting for a while
1271: [14:37:34] <Pyromanik> guys guys guys guys guys (no catcher, don't get excited)
1272: [14:37:38] * travis-ci has joined #silverstripe
1273: [14:37:38] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#646 (3.1 - f9c3f4d : Damian Mooyman): The build was fixed.
1274: [14:37:38] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/77ef09e857b8...f9c3f4d1ccc5
1275: [14:37:38] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/13611811
1276: [14:37:38] * travis-ci has left #silverstripe
1277: [14:37:45] <Pyromanik> http://sspaste.com/paste/show/527aecd626631
1278: [14:38:07] <unsignedint> whats that?
1279: [14:38:15] <Pyromanik> A slugger!
1280: [14:38:23] <antmas> THLUG LI4E
1281: [14:38:26] <Pyromanik> eg, what SiteTree SHOULD have!
1282: [14:38:28] <unsignedint> how is URLSlug used?
1283: [14:38:31] <unsignedint> oh right
1284: [14:38:41] <Pyromanik> instead of ingraining it
1285: [14:38:49] * DigNZ1 quit (Quit: DigNZ1)
1286: [14:38:49] <unsignedint> yeah I literally just overrode getURLSegment() to return a slug of the title
1287: [14:38:56] <unsignedint> if theres a clash, who cares
1288: [14:38:59] <Pyromanik> yeah but
1289: [14:39:01] <Pyromanik> yeh
1290: [14:39:01] <Pyromanik> lol
1291: [14:39:04] <Pyromanik> this cares :>
1292: [14:39:16] <Pyromanik> and it's an extension - slug ALL the things!
1293: [14:39:17] <unsignedint> fair enough :) in my case it wasnt an issue since there wont be a clash
1294: [14:39:21] <unsignedint> nice
1295: [14:39:38] <Pyromanik> also optionally supports nesting (cf parentid)
1296: [14:39:48] <Pyromanik> vs test all of the things for a clash
1297: [14:39:59] <irogue23> http://www.youtube.com/watch?v=TCF2TPQOA7I
1298: [14:40:02] <irogue23> fucking cool cover
1299: [14:40:13] <Pyromanik> also last param is "hide segment from user, or let them be able to fuck shit up?"
1300: [14:40:24] <antmas> -_-
1301: [14:40:29] <antmas> anything to do with that song
1302: [14:40:38] <unsignedint> definitely allow them to fuck shit up, all the more power to the user!
1303: [14:40:39] <Pyromanik> antmas: what is song?
1304: [14:40:46] <Pyromanik> unsignedint: haha, agreed.
1305: [14:40:47] <antmas> Lorde
1306: [14:40:48] <unsignedint> and then charge them when you fix it
1307: [14:40:53] <Pyromanik> except in my very first usecase, I don't care, fuck you user!
1308: [14:41:01] <Pyromanik> antmas: royals?
1309: [14:41:05] <Pyromanik> dat lorde.
1310: [14:41:06] <antmas> Pyromanik: yeh
1311: [14:41:09] <irogue23> but... funk!
1312: [14:41:10] <antmas> NO
1313: [14:41:13] <Pyromanik> found out yesterday she's from NZ, and she's only 16.
1314: [14:41:17] <antmas> funk yes, lord no
1315: [14:41:19] <antmas> lorde*
1316: [14:41:21] <irogue23> Pyromanik: 17 now!
1317: [14:41:26] <Pyromanik> ooooh
1318: [14:41:29] * Pyromanik cares less
1319: [14:41:37] <antmas> o.O
1320: [14:41:38] <irogue23> birthday yesterday :P
1321: [14:41:48] <unsignedint> well at least shes legal
1322: [14:41:57] <Pyromanik> irogue23: do you like my slugger?
1323: [14:41:59] <antmas> give it time, she'll be twerking before you know it
1324: [14:42:03] <ss23> Whats this? Lorde?
1325: [14:42:04] <ss23> I think you mean
1326: [14:42:08] <ss23> http://www.youtube.com/watch?v=-6Xl9tBWt54
1327: [14:42:09] <Pyromanik> do you at least like my sluggy freelance reference?
1328: [14:42:10] <ss23> Lordi.
1329: [14:42:18] <antmas> ss23: WINWINWINWINWINWIN
1330: [14:42:18] <Pyromanik> Lawdie
1331: [14:42:28] * ss23 headbangs
1332: [14:42:35] * Pyromanik hears TATU, lolwut
1333: [14:43:59] <antmas> slug
1334: [14:44:07] <antmas> needs moar Atmosphere
1335: [14:44:13] * antmas listens to atmosphere
1336: [14:44:42] <ss23> NOW CHOICE TO JOIN US OR GO STRAIGHT TO DRUPAL
1337: [14:45:10] * DigNZ has joined #silverstripe
1338: [14:45:14] <ss23> choose*
1339: [14:45:39] <unsignedint> I would choose Drupal but I hear its worse than Joomla
1340: [14:45:40] <antmas> http://www.youtube.com/watch?v=2Da5fqQ34mc
1341: [14:45:50] <unsignedint> and Joomla is an utter piece of crap
1342: [14:46:02] <antmas> so is Derple
1343: [14:46:42] <ss23> Oh, antmas is posting rap
1344: [14:46:45] * unsignedint dreams of the SS cms ui on top of a modern base like laravel 4
1345: [14:47:28] <antmas> ss23: :D
1346: [14:48:11] <irogue23> unsignedint: OH GOD
1347: [14:48:14] * irogue23 jizzes
1348: [14:48:14] <ss23> http://www.youtube.com/watch?v=bWXazVhlyxQ rap?
1349: [14:48:46] * antmas feels like I'm 16 again
1350: [14:49:05] <ss23> antmas: What, you don't feel like you want to be an anarchist anymore? Grew out of it?
1351: [14:49:10] <antmas> also, unsignedint said the jword
1352: [14:49:12] <antmas> :O
1353: [14:49:17] <ss23> lol
1354: [14:49:25] <antmas> ss23: always!
1355: [14:49:30] <unsignedint> whats the link to the swear word stats again?
1356: [14:49:50] <ss23> logs.simon.geek.nz/stats?
1357: [14:50:05] <antmas> borked!
1358: [14:50:15] <unsignedint> The requested URL /stats was not found on this server.
1359: [14:50:21] <ss23> http://logs.simon.geek.nz/stats.php
1360: [14:50:22] <ss23> :D
1361: [14:50:27] <ss23> oop
1362: [14:50:28] <unsignedint> ss23: go update the docs :P
1363: [14:50:29] <ss23> it's not cached
1364: [14:50:31] <ss23> this could take some time
1365: [14:50:32] <ss23> unsignedint: STOP
1366: [14:50:34] <ss23> ;_;
1367: [14:51:18] <antmas> we don't talk about the docs in here
1368: [14:51:19] <ss23> guis
1369: [14:51:22] <ss23> I hope you didn't all click that stats link
1370: [14:51:22] <antmas> shunned
1371: [14:51:26] <ss23> cause his server is going to die
1372: [14:51:27] <unsignedint> how many people opened the page lol
1373: [14:51:29] <antmas> ss23: I did
1374: [14:51:30] <ss23> STAMPEEEEEEEDE
1375: [14:51:31] <ss23> lol
1376: [14:51:33] <unsignedint> I did too
1377: [14:51:34] <irogue23> i did
1378: [14:51:36] <antmas> horaay!
1379: [14:51:44] <ss23> fffffuck
1380: [14:51:52] <simon_w> 14:51:46 up 178 days, 2:27, 2 users, load average: 3.70, 1.18, 0.41
1381: [14:51:58] <simon_w> Eh :p
1382: [14:52:07] <antmas> lol
1383: [14:52:13] <unsignedint> maybe it will motivate him to put the code on github so we can improve it
1384: [14:52:25] <irogue23> simon_w is just outsourcing his load-testing
1385: [14:52:52] <antmas> it broked good!
1386: [14:53:04] <simon_w> Pfft, it ain't going on github
1387: [14:53:17] <Pyromanik> antmas: ss23 http://www.youtube.com/watch?v=OO_XG1m4bpc
1388: [14:53:20] <irogue23> git is against simon_w's religion
1389: [14:53:29] <unsignedint> simon_w: what if github had svn?
1390: [14:53:33] <antmas> Pyromanik: no headphones today :9
1391: [14:53:36] <antmas> :(
1392: [14:53:38] <simon_w> unsignedint, it does
1393: [14:53:48] <ss23> lol
1394: [14:53:52] <ss23> "what if github had svn"
1395: [14:53:53] * Motoservo quit (Quit: Motoservo)
1396: [14:53:56] <unsignedint> even though it has svn you still dont want to use it?
1397: [14:54:05] <simon_w> Why should I?
1398: [14:54:10] <Pyromanik> antmas: put it on anyway.
1399: [14:54:14] <unsignedint> makes the code more accessible?
1400: [14:54:18] <antmas> no speakers :(
1401: [14:54:29] <simon_w> No it doesn't
1402: [14:54:29] <irogue23> nah bro, cvs is where it's at unsignedint
1403: [14:54:34] <Pyromanik> antmas: :<
1404: [14:54:40] <ss23> irogue23: dude no way
1405: [14:54:42] <Pyromanik> antmas: on the phone!
1406: [14:54:44] <ss23> microsoft source safe.
1407: [14:54:49] <simon_w> http://logs.simon.geek.nz/source/
1408: [14:54:49] * irogue23 throws up everywhere
1409: [14:54:54] <unsignedint> oh yeah I will use cvs in all my future projects
1410: [14:55:09] <antmas> I put Cannible Corpse as my voice mail on my company phone a month or so agi
1411: [14:55:15] <simon_w> For the five of you waiting, the stats have loaded
1412: [14:55:19] <antmas> ago*
1413: [14:55:32] <ss23> yay
1414: [14:55:32] <ss23> :D
1415: [14:55:35] <unsignedint> oh shit I closed the tab, time to reopen
1416: [14:55:42] <irogue23> hahaha
1417: [14:55:45] <simon_w> Oh noes, it's cached now
1418: [14:55:55] <unsignedint> indeed
1419: [14:55:56] <simon_w> Need to switch it to a cron or something
1420: [14:56:06] <antmas> lol at subsites
1421: [14:56:09] <unsignedint> well Pyromanik is still top of the list
1422: [14:56:14] <ss23> lol simon_w, what... you put "blink" and "chrome" on here!
1423: [14:56:35] <simon_w> yes, chrome was in the first batch
1424: [14:56:35] <irogue23> just for you ss23
1425: [14:56:42] <simon_w> blink may have been too
1426: [14:56:43] <Pyromanik> antmas: rofl, did people stop ringing you?
1427: [14:56:48] <ss23> yay
1428: [14:56:49] <ss23> I am composer
1429: [14:56:50] <ss23> :D
1430: [14:56:56] <antmas> Pyromanik: yeah, it was great
1431: [14:57:23] <ss23> I AM THE CUNT, MASTER
1432: [14:57:49] <unsignedint> put a comma after CUNT
1433: [14:58:28] <simon_w> hang on...
1434: [14:58:38] * Motoservo has joined #silverstripe
1435: [14:58:41] <ss23> unsignedint: That changes the meaning!
1436: [14:58:55] <unsignedint> I know :P
1437: [14:59:13] <unsignedint> fuck im getting too distracted in here, better go do some work
1438: [14:59:30] <simon_w> http://logs.simon.geek.nz/index.php?date=2013-11-07#log_1109713
1439: [14:59:32] <antmas> my boss and 2ic are away today :)
1440: [14:59:32] <simon_w> :D
1441: [14:59:41] <ss23> simon_w: SON
1442: [14:59:44] <ss23> lol
1443: [14:59:48] <ss23> dammit
1444: [14:59:50] <ss23> cheater.
1445: [14:59:54] <simon_w> So much easier now that it's database driven
1446: [15:00:13] <simon_w> Can't screw up my editing by saying something while I have the file open now!
1447: [15:00:20] <antmas> lol, best page ever. irogue23 puking and ss23 screaming about cunts
1448: [15:01:14] * antmas wonders whether to raid the caffeteria for biscuits
1449: [15:01:32] <simon_w> Stop wondering and just fuckin' do it
1450: [15:01:41] <irogue23> AMEN BROTHER SIMON
1451: [15:02:22] <antmas> ;__;
1452: [15:02:29] <antmas> they're only digestibles
1453: [15:02:31] <antmas> YUCK
1454: [15:02:41] <antmas> fuck that jazz
1455: [15:03:01] <simon_w> oh, fuck of zendesk
1456: [15:03:45] <simon_w> fuck off too
1457: [15:04:05] <zippy__> wooo I finally made it on the fucking stats list, yea bitch
1458: [15:04:08] <irogue23> hahaha zendesk
1459: [15:04:08] <irogue23> so bad
1460: [15:04:54] <antmas> zippy__: so many people at kmart -_-
1461: [15:05:03] <zippy__> I bet!
1462: [15:05:16] * antmas has never been to kmart
1463: [15:05:20] <antmas> what do they sell there?
1464: [15:05:31] <ss23> you know what the most depressing part of zendesk is?
1465: [15:05:35] <ss23> THERE'S NOTHING BETTER ;_;
1466: [15:05:35] <simon_w> zippy__, but you're only on the crap bitching ones
1467: [15:06:04] <simon_w> ss23, I know! And it'll take long to write a better one :(
1468: [15:06:10] <antmas> I thought it was just a slightly more expensive warehouse
1469: [15:06:11] <ss23> mmm :(
1470: [15:06:12] <antmas> ...
1471: [15:06:25] <ss23> I don't care about the zendesk backend, functionally it seems fine. It's just the retarded frontend I hate
1472: [15:06:59] <Ryan-Toast> Hey guys, can anyone tell me how I can make a GridField item use a popup window intend of opening a new page?
1473: [15:07:24] <simon_w> Ryan-Toast, don't think you can. Moved away from popups for a reason.
1474: [15:07:34] <Ryan-Toast> Ah, kay. Cheers :)
1475: [15:07:50] <irogue23> wow. so, my damn near new office chair broke
1476: [15:08:06] <irogue23> so i pulled it apart to see what was up
1477: [15:08:12] <irogue23> holy crap these things are badly made
1478: [15:08:24] <Ryan-Toast> And yet they still cost $500+
1479: [15:08:36] <irogue23> well, to be fair this is a $100 warehouse stationery one
1480: [15:08:51] <simon_w> Whereas these life chairs we "borrowed" from SilverStripe are still going fine
1481: [15:09:15] <irogue23> but still, the seat back sits on top of the pole bit on the back
1482: [15:09:30] <Ryan-Toast> I brought this one a few months ago, it's so damn comfy: http://www.harveynorman.co.nz/furniture/desks-and-suites/san-marino-pu-recliner-chair.html
1483: [15:09:34] <irogue23> pole has pins poking out the side which go into holes in the plastic framing inside the chair
1484: [15:09:41] <irogue23> the plastic has just fallen apart
1485: [15:09:50] <irogue23> which means the seat back moves around in all directions instead of just back and forward
1486: [15:10:18] <irogue23> there's no holes for the pins to go in, the seat back is literally just sitting on top of the pole
1487: [15:10:19] <antmas> Ryan-Toast: too racey
1488: [15:10:34] <Ryan-Toast> antmas: Gotta go fast
1489: [15:10:37] <antmas> also, $900?
1490: [15:11:11] <Ryan-Toast> I got it for $half price, since one of my fellow charity workers is a lawyer for Harvey norman.
1491: [15:11:16] <simon_w> My home chair is great. No idea where it's from though
1492: [15:11:44] <Ryan-Toast> There are heaps of chairs I want from overseas, but the shipping is way too much.
1493: [15:12:03] <zippy__> Life chairs are nie
1494: [15:12:05] <zippy__> *nice
1495: [15:12:26] <simon_w> Well, these ones are way past their prime, so not really :p
1496: [15:12:40] <zippy__> spend 2g on a bed, may as well spend that much in a chair you sit in for just as long
1497: [15:13:04] <antmas> zippy__: agreed
1498: [15:13:18] <antmas> kinda how I feel about buying my new car
1499: [15:13:22] * UncleCheese has joined #silverstripe
1500: [15:13:40] <irogue23> right, fixed my chair
1501: [15:13:49] <irogue23> (completely removed the back)
1502: [15:14:06] <zippy__> so it's a bit like a swiss ball now?
1503: [15:14:20] <irogue23> kinda like a stool
1504: [15:14:32] <irogue23> altho now that you mention it, there's a swiss ball in the house
1505: [15:14:47] * antmas will buy whatever chair doesn'
1506: [15:14:52] <antmas> t absorb farts
1507: [15:15:07] <irogue23> my flatmate has cerebral palsy so he bought it with the intention of using it, but he never does
1508: [15:15:11] <irogue23> antmas: AMEN
1509: [15:15:46] <irogue23> was "fixing" my chair, kept leaning on the padding and releasing the stored stank
1510: [15:16:19] <antmas> irogue23: blegghgeehgheheghegh
1511: [15:16:20] <antmas> GROSS
1512: [15:16:42] <antmas> my old one would simply puff with what appeared to be smoke
1513: [15:16:46] <antmas> then I realised
1514: [15:16:50] <antmas> it's mostly SKIN!
1515: [15:16:51] <antmas> :O
1516: [15:18:39] <Ryan-Toast> If I have a has_many relationship in my SiteConfig, how would I pull a list of those into a page? Would I use the get() function?
1517: [15:20:00] * nickmolhoek quit (Quit: nickmolhoek)
1518: [15:20:46] <Ryan-Toast> Anyone?
1519: [15:26:35] <Pyromanik> fuckn
1520: [15:26:41] <Pyromanik> slag with a bright yellow scooter
1521: [15:26:49] <Pyromanik> keeps parking it in the push bike rack in the carpark
1522: [15:27:06] <Pyromanik> basically blocking 2-3 spaces to put a bicycle
1523: [15:27:27] <Pyromanik> just watching now as she comes out, pushes all the bikes over to get her fucking scooter out, then just rides off.
1524: [15:27:46] <Pyromanik> shit 'bout to go down.
1525: [15:28:05] <Ryan-Toast> Let the air out of her tyres.
1526: [15:28:14] <Ryan-Toast> Or set her house on fire.
1527: [15:28:18] <Pyromanik> Ryan-Toast: nah, we're probably going to ... yes.
1528: [15:28:32] <Pyromanik> also, $SiteConfig.RelationName
1529: [15:28:39] <Ryan-Toast> <3
1530: [15:28:47] <Pyromanik> or $this->SiteConfig->RelationName()
1531: [15:28:55] <spronk> :|
1532: [15:29:00] <antmas> can of V in the gas tank
1533: [15:29:04] <Pyromanik> or SiteConfig::current_siteconfig()->RelationName()
1534: [15:29:05] <spronk> paint her scooter black
1535: [15:29:11] <spronk> light it on fire
1536: [15:29:39] <Pyromanik> antmas: fantastic. Passing that on to the lads.
1537: [15:29:41] <spronk> replace it with a piece of cardboard
1538: [15:29:50] <Pyromanik> rofl spronk
1539: [15:30:55] <Ryan-Toast> Pyromanik: Tried this: http://pastebin.com/Mr2e9nF9 but the drop down is empty.
1540: [15:32:29] <Colin[pi]> *twitch twitch* http://i.imgur.com/J6G8O07.png
1541: [15:32:45] <antmas> Colin[pi]: KILL IT WITH FIRE
1542: [15:32:47] <Colin[pi]> lazy css like this annoys me
1543: [15:34:57] <Pyromanik> http://www.youtube.com/watch?v=7bN2r3PzuGg
1544: [15:35:36] <antmas> put spiders in her helmet
1545: [15:35:42] <Pyromanik> Ryan-Toast: it might be lowercase ($this->siteconfig)
1546: [15:35:54] <Colin[pi]> that poor fucking scooter
1547: [15:35:55] <Pyromanik> and will only work on page objects
1548: [15:36:04] <ss23> How to get all members that are in groups foo, bar, baz, and not in groups kitten, dog, banana?
1549: [15:36:17] <Pyromanik> ->filter()->exclude()
1550: [15:37:01] <Ryan-Toast> Pyromanik: No dice.
1551: [15:37:57] <Pyromanik> http://iforce.co.nz/i/0ke3dvj0.11i.png
1552: [15:38:10] <ss23> Pyromanik: how 2 filter by groups though?
1553: [15:38:41] <Pyromanik> Ryan-Toast: oh, SiteConfig is on ContentController, not page.
1554: [15:38:49] <Pyromanik> or... hmm
1555: [15:38:58] <Pyromanik> Ryan-Toast: $this->SiteConfig() ?
1556: [15:39:09] <Pyromanik> yeh
1557: [15:39:20] <Pyromanik> $this->getSiteConfig()->RelationName()
1558: [15:39:33] <Pyromanik> http://api.silverstripe.org/3.1/class-SiteTree.html#_getSiteConfig
1559: [15:39:46] <Pyromanik> knew it was there somewhere.
1560: [15:40:30] <Pyromanik> ss23: really?
1561: [15:40:32] <Ryan-Toast> Pyromanik: Tried: $sliders = $this->getSiteConfig()->Slider
1562: [15:40:39] <Ryan-Toast> but it's still empty.
1563: [15:40:43] <Ryan-Toast> :(
1564: [15:40:43] <ss23> Pyromanik: i am a first time silverstripe user please help.
1565: [15:41:02] <Pyromanik> array('blah'=>array(1,4,5,ID,ID,ID))
1566: [15:41:14] <Pyromanik> Ryan-Toast: becuase it's a relation -.-
1567: [15:41:18] <Pyromanik> Slider()
1568: [15:41:30] <Ryan-Toast> Slider() would be a method though, right?
1569: [15:41:34] <Pyromanik> yes.
1570: [15:41:47] <Pyromanik> Slider would be a db property
1571: [15:41:50] <Ryan-Toast> So make a method that gets the sliders in siteConfig?
1572: [15:41:56] <Pyromanik> Slider() would be for has|many*
1573: [15:42:03] <Pyromanik> no
1574: [15:42:24] <Pyromanik> $has_many = array('Slider' => 'SliderObject');
1575: [15:42:36] <Pyromanik> blah blah getsitetree ->Slider()
1576: [15:42:39] <Ryan-Toast> I have that in my siteConfig.
1577: [15:42:57] <Pyromanik> should call it slides. or something a little more logical.
1578: [15:43:04] <Pyromanik> but it's irrelevant what you call it.
1579: [15:43:12] <Pyromanik> RelationName => ObjectType
1580: [15:43:15] <Ryan-Toast> there are slides in slider
1581: [15:43:22] <Pyromanik> you ->RelationName() to get relations on DataObjects.
1582: [15:43:22] <Ryan-Toast> which is why it's called slider.
1583: [15:43:33] <Pyromanik> SiteTree is a DataObject, so is SiteConfig.
1584: [15:43:39] <Pyromanik> nothing special about it.
1585: [15:43:48] <Pyromanik> so
1586: [15:43:49] <Pyromanik> you
1587: [15:43:51] <Pyromanik> what
1588: [15:44:09] <Pyromanik> you want all your sliders or all your slides?
1589: [15:44:21] <Ryan-Toast> A list of my sliders :P
1590: [15:44:24] <Pyromanik> yeah
1591: [15:44:32] <Pyromanik> $this->SiteConfig->Sliders()
1592: [15:45:07] <Pyromanik> ah, you want it in a dropdown.
1593: [15:45:10] <Pyromanik> use ->map
1594: [15:45:14] <Ryan-Toast> Yeah, that's what I had before,; but the drop down was empty.
1595: [15:45:21] <Pyromanik> $this->getSiteConfig()->Sliders()->map()
1596: [15:45:35] <Pyromanik> yeah you need to give it an array or a map of key => value
1597: [15:45:54] <Pyromanik> a relationlist is a datalist that is a list which is just more like an unkeyed array.
1598: [15:46:20] <Pyromanik> dropdownfield takes a source array of value => title
1599: [15:46:33] <Pyromanik> as such, you need to map it
1600: [15:46:35] <Ryan-Toast> Ah, kay. Still empty even with ->map()
1601: [15:46:48] <Pyromanik> suggest you var_dump it and find out what's going on.
1602: [15:47:04] <simon_w> Turns out our servers don't support blowfish for unix passwords
1603: [15:47:05] <simon_w> Oops
1604: [15:47:38] <Pyromanik> ss23: http://doc.silverstripe.org/framework/en/topics/datamodel#filter
1605: [15:48:03] <simon_w> Guess who just locked themselves out of a server that no one else has access to?
1606: [15:48:26] <antmas> simon_w: ss23 ?
1607: [15:49:38] <Ryan-Toast> Pyromanik: Here's the var dump: http://pastebin.com/DkHGhUrv
1608: [15:50:28] * antmas wishes he could be at Sema
1609: [15:50:33] <Pyromanik> Ryan-Toast: do map()->toArray() to make it easier to read.
1610: [15:50:35] <Pyromanik> dump that
1611: [15:50:36] <Pyromanik> check it
1612: [15:50:43] <Pyromanik> make sure it's not size: 0
1613: [15:51:06] <Ryan-Toast> It's empty.
1614: [15:51:17] <Pyromanik> Ryan-Toast: do you have a Title for your sliders?
1615: [15:51:17] <Ryan-Toast> rabble rabble
1616: [15:51:43] <Ryan-Toast> Yes
1617: [15:52:00] <Pyromanik> do your sliders has_one SiteConfig?
1618: [15:52:05] <Ryan-Toast> Yes.
1619: [15:52:17] <Ryan-Toast> Want me to paste bin the classes?
1620: [15:52:23] <Pyromanik> k
1621: [15:53:02] <Ryan-Toast> Pyromanik: http://pastebin.com/7VLnvnBH
1622: [15:54:20] <Ryan-Toast> Pyromanik: SiteConfig Extension: http://pastebin.com/qCsiPVTS
1623: [15:55:10] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
1624: [15:55:14] <ss23> ty Pyromanik
1625: [15:55:24] <ss23> wait
1626: [15:55:26] <ss23> Pyromanik: this doesn't tell me
1627: [15:55:31] <Pyromanik> yes it does
1628: [15:55:32] <Pyromanik> fuck
1629: [15:55:35] <ss23> where? o.o
1630: [15:55:36] <Pyromanik> read down about 4 lines.
1631: [15:55:40] <Pyromanik> geez
1632: [15:56:00] <ss23> ...
1633: [15:56:08] <ss23> how do I do the join though, Pyromanik?
1634: [15:56:13] <Pyromanik> what join?
1635: [15:56:18] <ss23> ... >.>
1636: [15:56:21] <ss23> I need to join for this
1637: [15:56:24] <Pyromanik> do you?
1638: [15:56:27] <Pyromanik> trust the ORM.
1639: [15:56:32] <ss23> Well how do I tell the ORM to join
1640: [15:56:37] <Pyromanik> you don't!
1641: [15:56:43] <ss23> How do I tell the ORM to filter then?
1642: [15:56:47] <ss23> The docs don't show me that I can see
1643: [15:57:10] <antmas> fix it fix it fix it fix it fix it fix it
1644: [15:57:17] <irogue23> https://dl.dropboxusercontent.com/u/4618071/fibre.jpg
1645: [15:57:30] <Pyromanik> Member::get()->filter('Groups.ID', $arrayOfIDs)->exclude('Groups.ID', $arrayOfExclusionIDs);
1646: [15:57:47] <irogue23> UFF: http://i.imgur.com/bazqF.gif
1647: [15:57:58] <ss23> irogue23: holy shit rofl
1648: [15:58:00] <Pyromanik> ss23: try it and find out.
1649: [15:58:13] <ss23> Pyromanik: hmmmmm
1650: [15:58:18] <irogue23> ss23: they're demanding we pay to get the tree at the red section cut down cos it's in the way
1651: [15:58:21] <ss23> Pyromanik: I see, I will try that, thank you
1652: [15:58:23] <antmas> irogue23: bahahaha
1653: [15:58:31] <irogue23> the one on our neighbour's property
1654: [15:58:35] <spronk> man
1655: [15:58:41] <spronk> this is why chorus are failing hard.
1656: [15:58:42] <irogue23> while there's a fucking UFF pole directly across the street
1657: [15:58:47] <irogue23> spronk: this is UFF not Chorus
1658: [15:58:56] <antmas> nice deck
1659: [15:59:14] <spronk> oic
1660: [15:59:20] <Pyromanik> ss23: it may not work, but I'd hope that it does.
1661: [15:59:28] <Pyromanik> pretty sure it does.
1662: [15:59:35] <irogue23> spronk: but yes, seems all the UFB companies are sucking anus except for NorthPower
1663: [15:59:47] <Pyromanik> enable networks?
1664: [16:00:31] <guzzlefry> hm
1665: [16:00:54] <Pyromanik> dunno Ryan-Toast, should work.
1666: [16:01:09] <Ryan-Toast> Should the SiteConfig parent ID be 0?
1667: [16:01:15] <guzzlefry> Is Email required for a Member?
1668: [16:01:22] <guzzlefry> Possible to bypass?
1669: [16:01:25] <Ryan-Toast> SiteConfigID**
1670: [16:01:29] <Pyromanik> Ryan-Toast: no.
1671: [16:01:38] <Ryan-Toast> Perahaps that's the issue
1672: [16:01:47] <Pyromanik> that means that your siteconfig has no sliders, so the code is 100% correct.
1673: [16:02:22] <Ryan-Toast> It's strange that they shpow up in the cmd and can be edited then.
1674: [16:02:30] <Ryan-Toast> show** cms**
1675: [16:04:21] <irogue23> antmas: thanks. i put some deck sealant on it, now everybody wants to get on my deck.
1676: [16:04:47] <antmas> irogue23: so it's a shiny deck?
1677: [16:06:13] * mobiusnz`home has joined #silverstripe
1678: [16:06:24] <Pyromanik> Ryan-Toast: because your gridfield wrong probably
1679: [16:06:44] <Pyromanik> Ryan-Toast: indeed, completely wrong.
1680: [16:06:49] <Pyromanik> 1) uses new
1681: [16:06:58] <Pyromanik> 2) uses DataList('Slider')
1682: [16:07:04] <Pyromanik> 3) gets ALL sliders.
1683: [16:07:19] <Pyromanik> it goes like this:
1684: [16:08:20] <Pyromanik> GridField::create('Sliders', null, $this->Sliders(), GridFieldConfig_RelationEditor::create())
1685: [16:08:48] <Pyromanik> I never understand why people insist on building thier own configs that 9 times out of 10 are pretty much exactly a predefined one :<
1686: [16:09:48] <Pyromanik> but if you love it, that's cool. Just a saying. So many examples I see floating around build up configs from scratch.
1687: [16:10:07] <Pyromanik> when you could easily use an existing one then remove a component to get the same result in 1 line of code instead of 20.
1688: [16:10:10] <Ryan-Toast> I just have no idea what I'm doing,so tinkering.
1689: [16:10:23] <Pyromanik> Ryan-Toast: Docs! :D
1690: [16:10:42] <Pyromanik> http://docs.silverstripe.org/framework/en/reference/grid-field
1691: [16:10:45] <Pyromanik> :)
1692: [16:11:26] <Pyromanik> Ryan-Toast: for a beginner the docs are great.
1693: [16:12:08] <Pyromanik> many examples you find elsewhere are often filled with their own idiosyncratic ways of doing things based on the knowledge the author has only often only just learnt themselves.
1694: [16:12:23] <simon_w> yaaay, I can do sudo stuff agains
1695: [16:12:26] <Pyromanik> so, not always the best.
1696: [16:12:49] <simon_w> Also, why doesn't Debian support $2a$?
1697: [16:12:57] <madmatt> </3 macport
1698: [16:13:20] <madmatt> 4hrs now of compiling/rebuilding
1699: [16:13:20] <unsignedint> hey where abouts does SS store its temp files? the ones that get flushed etc when doing /dev/build?
1700: [16:13:30] <simon_w> madmatt, doing it wrong!
1701: [16:13:45] <madmatt> unsignedint: /tmp, or /path/to/webroot/silverstripe-cache/ if it exists
1702: [16:13:45] <simon_w> unsignedint, /tmp or silverstripe-cache if you've got one of those
1703: [16:13:55] <unsignedint> thanks
1704: [16:13:58] <madmatt> heh
1705: [16:14:13] <unsignedint> on windows, is it the default system temp folder as well?
1706: [16:14:32] <simon_w> yes
1707: [16:14:35] <madmatt> Yeah, from memory C:\windows\TEMP for Win7
1708: [16:14:55] <Ryan-Toast> Pyromanik: Thanks for your patience :) I will try to figure this shit out.
1709: [16:15:43] <ss23> madmatt: Get a Windows PC!
1710: [16:18:01] <antmas> macbook air's keyboard is backlit right?
1711: [16:18:08] <simon_w> Now that I can use sudo again, ansible can now propagate a password change. Yay!
1712: [16:18:16] <simon_w> (thanks adobe)
1713: [16:18:18] <Pyromanik> Ryan-Toast: good luck:)
1714: [16:18:27] <ss23> #thanksbadbios
1715: [16:19:19] <Pyromanik> rofl badbios
1716: [16:19:22] <Pyromanik> so 1337
1717: [16:19:34] <Pyromanik> keylock from bios leve.
1718: [16:19:40] <Pyromanik> hoorah
1719: [16:19:40] <spronk> o_O
1720: [16:19:49] <Pyromanik> naw, but that would fuck some shit up
1721: [16:20:19] <antmas> such a dumb name -_-
1722: [16:20:57] <Pyromanik> badbios?
1723: [16:21:00] <antmas> yeh
1724: [16:21:02] <Pyromanik> not really
1725: [16:21:10] <Pyromanik> it's bad, and it's in your bios!
1726: [16:21:36] <antmas> it's implying that the bios was always bad
1727: [16:21:46] <antmas> I dunno
1728: [16:23:06] <antmas> #stevethemalware
1729: [16:23:08] <antmas> way better
1730: [16:24:42] <simon_w> What kind of malware name is Steve, anyway?
1731: [16:24:51] <antmas> an awesome one
1732: [16:25:20] <Pyromanik> #patrickthebadnamer
1733: [16:25:38] <antmas> So Troublesome, Everybody Vagina Evil
1734: [16:25:59] <ss23> Pyromanik: No
1735: [16:26:01] <ss23> Your code didn't work
1736: [16:26:07] <ss23> Pyromanik: As I thought it wouldn't, hence why I asked
1737: [16:26:18] <ss23> simon_w: $members = Member::get()->filter(array('Group.ID' => array(91, 93, 94, 95, 96, 97, 98)))->first();
1738: [16:26:21] <ss23> how2?
1739: [16:26:43] <simon_w> groups
1740: [16:27:05] <ss23> Groups.ID?
1741: [16:27:53] <simon_w> yes
1742: [16:27:57] <guzzlefry> ss23: What are you trying to accomplish?
1743: [16:28:24] <ss23> ty
1744: [16:28:32] <ss23> guzzlefry: get users in one set of groups not in other
1745: [16:28:42] <ss23> or by defeault, is filter an OR or an AND?
1746: [16:28:50] <ss23> e.g. is that "has to be in all these groups" or "In all of these"
1747: [16:28:52] <ss23> It uses IN() right?
1748: [16:29:31] <guzzlefry> tias?
1749: [16:29:38] <guzzlefry> You need a debugger!
1750: [16:29:59] <simon_w> ss23, that's an IN(), yes
1751: [16:30:29] <ss23> My debugger was like "this doesn't work, SQL error"
1752: [16:30:31] <ss23> so I came on IRC :P
1753: [16:30:40] <guzzlefry> 0.o
1754: [16:31:06] <guzzlefry> Member::get()->filter(array('Group.ID' => array(91, 93, 94, 95, 96, 97, 98)))->sql();
1755: [16:31:07] <madmatt> It's an OR basically
1756: [16:31:12] <ss23> simon_w: No change
1757: [16:31:19] <ss23> guzzlefry: Yes...
1758: [16:31:24] <ss23> guzzlefry: and the SQL had no join, so I asked how to do it :P
1759: [16:31:30] <guzzlefry> oh
1760: [16:31:32] <ss23> $members = Member::get()->filter(array('Groups.ID' => array(91, 93, 94, 95, 96, 97, 98)))->first();
1761: [16:31:35] <ss23> SQL ERROR
1762: [16:31:38] <ss23> SQL ERROR HELP
1763: [16:31:39] <simon_w> ss23, 3.0 then?
1764: [16:31:42] <ss23> hmm
1765: [16:31:43] <ss23> Not sure
1766: [16:31:44] * ss23 has a look
1767: [16:31:44] <simon_w> Groups.ID:ExactMatch
1768: [16:32:07] <ss23> I would tell you, but framework is commited to core, not composer, so hard to know.
1769: [16:32:37] <ss23> simon_w: Well, no error, but doesn't work (gives no rows)
1770: [16:32:43] * antmas quit (Quit: Page closed)
1771: [16:32:53] <ss23> simon_w: ("Group"."ID" = 'Array')
1772: [16:33:07] <ss23> God the ORM was shit in 3.0
1773: [16:33:10] <ss23> Maybe I should just raw SQL it
1774: [16:33:13] <ss23> It's for a once off task
1775: [16:33:13] <ss23> :/
1776: [16:33:14] * Ryan-Toast quit (Read error: Connection reset by peer)
1777: [16:33:32] <simon_w> Oh right, 3.0 is silly
1778: [16:33:33] <simon_w> :ExactMatchMulti
1779: [16:33:43] <guzzlefry> 0.o
1780: [16:33:47] <guzzlefry> I don't remember that one.
1781: [16:33:54] <simon_w> That's because it's silly
1782: [16:33:56] <ss23> ty simon_w
1783: [16:34:01] <ss23> Well, it casts wrong, but it works I think
1784: [16:34:05] * Ryan-Toast has joined #silverstripe
1785: [16:34:05] <ss23> Lets hope it's not slow because of the casting
1786: [16:34:21] <ss23> yay, A+ simon_w :D
1787: [16:34:24] <guzzlefry> oh
1788: [16:34:30] <guzzlefry> I need to bug simon about a bug. :P
1789: [16:34:34] <guzzlefry> after I verify :P
1790: [16:34:44] <simon_w> guzzlefry, FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
1791: [16:35:00] * guzzlefry skips away.
1792: [16:41:27] <guzzlefry> okay
1793: [16:41:30] <guzzlefry> I'm doing something stupid.
1794: [16:41:38] <guzzlefry> Member::get()->Count();
1795: [16:41:40] <guzzlefry> returns null...
1796: [16:42:03] <guzzlefry> maybe I'm calling it too early?
1797: [16:42:51] <guzzlefry> k, I was
1798: [16:48:27] <ss23> simon_w: :(
1799: [16:48:27] <ss23> $members = Member::get()->filter(array('Groups.ID:ExactMatchMulti' => array(91, 93, 94, 95, 96, 97, 98)))->exclude(array('Groups.ID:ExactMatchMulti' => array(103, 90, 89, 88, 87)))->Count();
1800: [16:48:32] <ss23> why this no work
1801: [16:48:49] <simon_w> because 3.0's exclude is borked
1802: [16:48:56] <simon_w> you'll need to use subtract()
1803: [16:50:07] <ss23> Hmm
1804: [16:50:11] <ss23> literal replacement?
1805: [16:50:29] <guzzlefry> Can you do Groups.ID:ExactMatchMulti:Not?
1806: [16:50:52] <ss23> hmm
1807: [16:50:56] <ss23> subtract takes a datalist as an argument
1808: [16:51:06] <ss23> I don't think that will work
1809: [16:51:11] <ss23> oh yeah it will
1810: [16:51:13] <ss23> but holy shit expensive
1811: [16:51:39] <simon_w> ss23, just use where() then
1812: [16:51:54] <simon_w> guzzlefry, support for those arguments is also 3.1 only
1813: [16:51:59] <guzzlefry> ah
1814: [16:52:01] <guzzlefry> Also
1815: [16:52:09] <guzzlefry> ss23: I thought you said this was a one-time thing?
1816: [16:52:13] <ss23> it is
1817: [16:52:22] <ss23> I could've done it with raw SQL in 10 mins
1818: [16:52:22] <guzzlefry> So why does it matter if expensive? :P
1819: [16:52:23] <ss23> ;/
1820: [16:52:29] <ss23> I WANT MY CODE TO BE NICE
1821: [16:52:34] <guzzlefry> oh >_>
1822: [16:52:46] <ss23> simon_w: If I do where, do I need to join manually or what (or are there docs etc?)
1823: [16:53:14] <simon_w> not if you've already done the filter
1824: [16:54:10] * mobiusnz`home quit (Quit: Leaving.)
1825: [16:55:01] <ss23> oic
1826: [16:55:11] <ss23> so you filter first, that does the join, then ->where adds a new clasuse
1827: [16:56:04] <ss23> :D
1828: [16:56:05] * ss23 spins simon_w
1829: [16:56:05] <ss23> ty
1830: [16:58:10] <guzzlefry> simon_w: So, I have a $products->Count(); returning 34. When I call $products->Last(); I get null back.
1831: [16:58:22] <guzzlefry> Is there anything stupid I'm doing with this, or is it actually a bug?
1832: [17:00:35] <Ryan-Toast> Pyromanik: I found the issue. The siteconfig was being set as null.
1833: [17:00:52] <Ryan-Toast> Also, the docs grid fields look so much nicer :P
1834: [17:01:02] <Ryan-Toast> Thanks for the help, man.
1835: [17:02:00] <spronk> hey Pyromanik your job's on seek
1836: [17:07:21] <guzzlefry> of course I can't reproduce it with something simpler...
1837: [17:09:37] <madmatt> guzzlefry: What about ->First()?
1838: [17:10:48] <guzzlefry> hmm yep
1839: [17:11:52] <guzzlefry> Trying to remember how I got the SQL last time...
1840: [17:12:05] <madmatt> $products->dataQuery()->sql()
1841: [17:12:08] <madmatt> from memory
1842: [17:12:19] <ss23> Can just do ->sql directly on a datalist
1843: [17:12:30] <madmatt> noice
1844: [17:12:42] <guzzlefry> ss23: This is after calling Last()
1845: [17:12:56] <guzzlefry> hm
1846: [17:13:02] <madmatt> what's not nice is macports *still* compiling packages
1847: [17:13:10] <madmatt> like, 5+hrs now, wth
1848: [17:13:34] <ss23> lol
1849: [17:15:28] * Ryan-Toast quit (Quit: Ryan-Toast)
1850: [17:15:37] <guzzlefry> Why does DataList::last() have a loop that returns during the first iteration? 0.o
1851: [17:16:37] <guzzlefry> okay so
1852: [17:16:45] <guzzlefry> recall that I said the DataList had 34 items?
1853: [17:16:54] <guzzlefry> LIMIT 1 OFFSET 34
1854: [17:17:19] <guzzlefry> ss23: fix it!
1855: [17:17:25] <ss23> NU UH
1856: [17:17:28] <guzzlefry> :(
1857: [17:17:31] <ss23> guzzlefry: you fix it
1858: [17:17:35] <ss23> :P
1859: [17:17:40] <guzzlefry> I are not smart enuff
1860: [17:18:17] <guzzlefry> welp
1861: [17:18:25] <guzzlefry> Guess I should start with figure out why it has the offset of 34.
1862: [17:21:42] <guzzlefry> I take it the SS devs don't really hang out around here?
1863: [17:22:01] * sam_ has joined #silverstripe
1864: [17:22:38] <sam_> Hi...
1865: [17:23:04] <sam_> I am getting warning [Notice] Undefined index:
1866: [17:23:06] <ss23> hi sam_
1867: [17:23:13] <ss23> guzzlefry: well, assuming ss devs means core devs, a decent amount of them do
1868: [17:23:17] <ss23> simon_w, ingo
1869: [17:23:18] <ss23> uh
1870: [17:23:21] <ss23> sminee sometimes
1871: [17:23:25] <ss23> whoever else
1872: [17:24:27] <sam_> http://www.sspaste.com/paste/show/527b14090375b
1873: [17:26:20] <guzzlefry> ss23: I'm guessing I have to throw together a reproduction of this bug for them to give a damn about the fix?
1874: [17:26:48] <guzzlefry> Or does it just need to pass tests?
1875: [17:27:13] <ss23> guzzlefry: It would be a *lot* apperciated to add a test where it fails
1876: [17:27:21] <ss23> guzzlefry: Otherwise you have a large chance of it not being merged, or being reverted later, etc
1877: [17:27:29] <guzzlefry> ah, gotcha
1878: [17:29:48] <guzzlefry> weird
1879: [17:31:02] * sam_ quit (Quit: Page closed)
1880: [17:33:43] <Azure> I have a feeling that I might've asked this back in 2010, but I might as well ask now.
1881: [17:33:44] <Azure> I wish to have the current page's type as a class in my main layout. I know I can use $ClassName to get it, however it is formatted in in CamelCase. I would like to have it "like-this".
1882: [17:33:44] <Azure> I would guess that I will have to write my own function in my site's base Page pagetype to format it the way that I want.
1883: [17:34:09] <guzzlefry> Probably.
1884: [17:34:26] <guzzlefry> hm
1885: [17:36:49] <guzzlefry> Azure: looking at how the form field names get change from MyField to My Field might be a good start.
1886: [17:41:44] <ss23> mmm, tfw you go to fix a bug, but someoen else already fixed it...
1887: [17:45:36] <guzzlefry> tfw?
1888: [17:45:42] <guzzlefry> too many initialism!
1889: [17:48:12] * DigNZ quit (Quit: DigNZ)
1890: [17:48:57] * cloph has joined #silverstripe
1891: [17:49:15] * cloph_away quit (Ping timeout: 246 seconds)
1892: [17:49:52] * UncleCheese quit (Quit: UncleCheese)
1893: [17:51:17] <guzzlefry> ugh
1894: [17:51:21] <guzzlefry> I don't understand bug.
1895: [17:54:04] <guzzlefry> simon_w: Is there a way to isolate the ORM?
1896: [17:58:46] * nicolaas quit (Remote host closed the connection)
1897: [18:00:52] * anujit has joined #silverstripe
1898: [18:01:13] <anujit> hi anybody can help me how to show image from ss page?
1899: [18:01:28] <anujit> in DB there is a field "HomeImage"
1900: [18:01:44] <anujit> I need to loop <% Control ???? >
1901: [18:03:03] <Colin[pi]> anujit: $HomeImage should work in the template, or $HomeImage.URL for example
1902: [18:03:20] <Colin[pi]> or one of the cropping functions
1903: [18:17:25] <anujit> http://www.sspaste.com/paste/show/527b206a852ea
1904: [18:20:10] <anujit> not working
1905: [18:28:33] <Colin[pi]> anujit: HomePicture should be Image not File
1906: [18:31:06] <anujit> but it is working in another code
1907: [18:31:17] <anujit> similar thing
1908: [18:32:16] <anujit> http://www.sspaste.com/paste/show/527b206a852ea
1909: [18:47:15] <EasyCo> Is it the weekend yet?
1910: [18:47:20] <guzzlefry> What format should the CSV import dates be in?
1911: [18:47:30] <guzzlefry> EasyCo: It's only wednesday here.
1912: [18:47:39] <guzzlefry> well, Thursday technically, since it's 1 in the morning
1913: [18:47:51] <EasyCo> Eeesh
1914: [18:47:58] <EasyCo> I'd be in bed by then :)
1915: [18:48:03] <EasyCo> 9pm and I'm out
1916: [18:48:28] <EasyCo> guzzlefry: Do you work best at night?
1917: [18:49:05] <guzzlefry> usually
1918: [18:50:16] * Colin[pi] quit (Ping timeout: 264 seconds)
1919: [18:53:31] * violetina has joined #silverstripe
1920: [18:57:07] * spronk2 quit (Quit: spronk2)
1921: [18:58:45] <guzzlefry> to answer my question, yyyy-mm-dd works, didn't test any others.
1922: [19:21:50] * Nightjar has joined #silverstripe
1923: [19:30:06] <Nightjar> http://imgur.com/gallery/ObdxBKU
1924: [19:30:27] <Nightjar> best comment: My 'unfortunate' cousin would love this.
1925: [19:35:12] * EasyCo quit (Quit: We can't stop here, this is bat country)
1926: [19:41:41] * anujit quit (Ping timeout: 250 seconds)
1927: [19:47:03] * Shashitechno has joined #silverstripe
1928: [19:47:31] <Shashitechno> Hello everyone,
1929: [19:47:46] <Shashitechno> I am looking for sendgrid integration with silverstripe
1930: [19:48:05] <Shashitechno> anyone redirect me to proper documentation please ?
1931: [19:48:57] <Zauberfisch23> Shashitechno: send grid for sending emails only or recieving aswell?
1932: [19:49:20] <Shashitechno> Zauberfisch23: for both
1933: [19:49:40] <Shashitechno> Zauberfisch23: We need to manage bulk emails
1934: [19:50:07] <Zauberfisch23> well, I guess recieving is rather easy, they will just POST json to you (I think), so just create a controller that accpets the data)
1935: [19:51:09] <Zauberfisch23> how do you make sendgrid send the emails? smtP?
1936: [19:51:13] <Zauberfisch23> *smtp
1937: [19:52:41] <Shashitechno> Yup will prefer using smtp
1938: [19:52:42] <Zauberfisch23> well, anyway you do it, you need to create a Mailer class for it
1939: [19:52:46] <Zauberfisch23> and then set it
1940: [19:53:00] <Zauberfisch23> Email::set_mailer(new MyMailerClass());
1941: [19:53:35] <Zauberfisch23> then $email->send() will call ->send() (and a couple of other things probably) on your Mailer
1942: [19:53:52] <Shashitechno> Yup, Looks fine.
1943: [19:54:00] <Zauberfisch23> here is the default Mailer, it sends emails via mail()
1944: [19:54:02] <Zauberfisch23> https://github.com/silverstripe/silverstripe-framework/blob/3.1/email/Mailer.php
1945: [19:54:05] <Shashitechno> So I will need to set the mailer class to sendgrid one
1946: [19:54:28] <Zauberfisch23> so just subclass this, and overwrite the methods that would send the email via mail() and send it via smtp instead
1947: [19:54:56] <Shashitechno> okay !
1948: [19:55:32] <Zauberfisch23> actually, checkout this repo
1949: [19:55:40] <Zauberfisch23> https://github.com/xeraa/silverstripe-smtp
1950: [19:55:45] <Zauberfisch23> its for version 2.3
1951: [19:55:59] <Shashitechno> Ahh
1952: [19:56:05] <Zauberfisch23> but I guess you can take some ideas from it
1953: [19:56:13] <Zauberfisch23> or maybe even better, update the module to 3.1
1954: [19:56:37] <Shashitechno> cool, thanks Zauberfisch23
1955: [19:56:42] <Shashitechno> Let me try :)
1956: [19:57:14] <Zauberfisch23> Shashitechno: if you do come up with a solution that works well and is useable for other stmp then sendgrid, I'd love to see the code go open source
1957: [19:57:27] <Zauberfisch23> a SMTP mailer is certainly a missing feature for silverstripe
1958: [19:58:20] <Zauberfisch23> Shashitechno: btw, also check out http://mandrill.com/ its an alternative to sendgrid, but I think they have cheaper pricing
1959: [19:58:35] <Zauberfisch23> its from the mailchimp guys
1960: [19:58:41] <Shashitechno> Zauberfisch23: Ohh'
1961: [20:47:50] * willr has joined #silverstripe
1962: [21:03:58] * zfmf has joined #silverstripe
1963: [21:06:38] <Nightjar> http://i.imgur.com/rBUNwcw.gif
1964: [21:07:57] <irogue23> mandrill sounds like something i'd be into
1965: [21:09:45] <Nightjar> irogue23 http://i.imgur.com/z3Bt5Wb.jpg
1966: [21:12:34] * oddnoc has joined #silverstripe
1967: [21:12:47] <Nightjar> <3
1968: [21:13:25] <ss23> gaay~
1969: [21:13:51] <Nightjar> nou
1970: [21:24:26] <oddnoc> your tilde is gay?
1971: [21:25:03] * chillu has joined #silverstripe
1972: [21:25:38] <ss23> Yeah, the ~ was a mistake
1973: [21:25:39] <ss23> :,
1974: [21:25:52] <oddnoc> lol
1975: [21:28:27] <irogue23> Nightjar: i have "hah, gaaaaay" (chang) as a G key on my keyboard
1976: [21:28:37] <irogue23> set up to always play out the speakers, even if i'm using headphones
1977: [21:28:53] <irogue23> so when lanning etc. i can just hit G10
1978: [21:28:54] <irogue23> it's so good
1979: [21:38:17] * spronk2 has joined #silverstripe
1980: [21:45:40] * svandragt has joined #silverstripe
1981: [21:53:59] * ARNHOE has joined #silverstripe
1982: [21:54:11] * lerni has joined #silverstripe
1983: [22:01:23] * Pathum has joined #silverstripe
1984: [22:04:33] <Nightjar> hahahahha irogue23, brilliant
1985: [22:04:57] * simon_w|air has joined #silverstripe
1986: [22:05:00] <Nightjar> I love how straight white folks are the ones who get most upset about shit like that.
1987: [22:05:13] <spronk2> ???
1988: [22:05:23] <Nightjar> the word "gay" etc.
1989: [22:05:35] * kinglozzer has joined #silverstripe
1990: [22:05:45] <ss23> Nightjar: Just noobs
1991: [22:05:52] <Nightjar> so I made a smoothie
1992: [22:06:03] <ss23> Shit is so smooth?
1993: [22:06:12] <Nightjar> I went to make one at about 9:30
1994: [22:06:13] <simon_w|air> Did it bring all the boys to your yard?
1995: [22:06:22] <Nightjar> simon_w: that's milkshakes!
1996: [22:06:32] <Nightjar> ss23: shit so smooth.
1997: [22:06:35] <simon_w|air> Obviously your smoothies aren't good enough then!
1998: [22:07:01] <ss23> simon_w|air: do you know how long it'll take noobies to crack wep and/or packet capture etc?
1999: [22:07:08] <Nightjar> got me some kiwifruits, banana, orange and mango, peaches, yogurt (natural unsweetened greek style!0
2000: [22:07:10] <Nightjar> so good
2001: [22:07:18] <simon_w|air> ss23, here, run this program
2002: [22:07:21] <simon_w|air> done!
2003: [22:07:24] <Nightjar> ss23: about 20 seconds?
2004: [22:07:26] <ss23> simon_w|air: Yes, how long will that take them?
2005: [22:07:27] <ss23> well
2006: [22:07:29] <ss23> I don't think 20 seconds...
2007: [22:07:30] <ss23> like
2008: [22:07:34] <Nightjar> 5 mins, mebbe
2009: [22:07:42] <ss23> last year, some people took 30+ mins to extract text from a packet capture
2010: [22:07:43] <ss23> so like...
2011: [22:08:05] <Nightjar> so like
2012: [22:08:09] <simon_w|air> isn't that like -A?
2013: [22:08:14] <Nightjar> they cracked the WSA too didn't they?
2014: [22:08:38] <ss23> WPA, I presume, and anyone can if they have the right stuff
2015: [22:08:44] <ss23> simon_w|air: wireshark, but *shrug*
2016: [22:08:52] * travis-ci has joined #silverstripe
2017: [22:08:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1508 (3.1 - 62bb6f1 : Will Rossiter): The build passed.
2018: [22:08:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/252b6e53ac8e...62bb6f1be428
2019: [22:08:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/13622490
2020: [22:08:53] * travis-ci has left #silverstripe
2021: [22:08:55] <ss23> simon_w|air: Anywa,y point is, how long it would take someone who knows how to do it is *not* a good estimate
2022: [22:09:28] <simon_w|air> Nor's getting an estimate from someone who has never done something like that before
2023: [22:10:01] <Nightjar> yeh, starts with a W, has an A in it. That one ss23.
2024: [22:10:08] <ss23> lol
2025: [22:10:11] <ss23> simon_w|air: okay, sorry, thought you might know
2026: [22:22:54] * oddnoc quit (Quit: bye!)
2027: [22:25:59] * pippy quit (Ping timeout: 246 seconds)
2028: [22:28:08] * pippy has joined #silverstripe
2029: [22:46:05] * willr quit (Quit: willr)
2030: [23:18:40] <spronk2> o_O
2031: [23:21:30] <irogue23> < Nightjar> I love how straight white folks are the ones who get most upset about shit like that.
2032: [23:21:53] <irogue23> i also derogitorily call people fags, so meh :P
2033: [23:24:18] * jcwacky quit (Quit: jcwacky)
2034: [23:32:57] * guci0 has joined #silverstripe
2035: [23:33:03] <guci0> Hello World!
2036: [23:33:16] <ss23> Hallo guci0!
2037: [23:33:41] <guci0> ;)
2038: [23:52:21] * NobrainerWeb has joined #silverstripe
2039: [23:54:01] * micmania1 has joined #silverstripe
2040: [23:54:16] <NobrainerWeb> Hi
2041: [23:54:41] <micmania1> Anybody know where the regex is in 2.4 which cleans filenames of obscure chars?
2042: [23:57:46] <kinglozzer> micmania1: Is this what you're looking for? http://api.silverstripe.org/2.4/source-class-Upload.html#124-127
2043: [23:58:04] <NobrainerWeb> my <script> tag and content is removed from a textareaField - with datatype HTMLText, if i use Varchar the code is just output as text. What do i need to do to add a simple scipttag in a textareafield and output it correctly as script to template?
2044: [23:59:46] <NobrainerWeb> Nvm it started working, must have forgot dev/build, flush or something
2045: [23:59:49] <micmania1> kinglozzer: cheers

These logs were automatically created by ss-log on irc.freenode.net. This site is powered by code available under a BSD license.