#silverstripe IRC Log

IRC log for 29 March 2016

All timestamps are in UTC.

1: [00:16:22] * Hailwood has joined #silverstripe
2: [00:20:12] * BrewNaked quit (Remote host closed the connection)
3: [00:21:43] * willr_ has joined #silverstripe
4: [00:22:40] * willr quit (Ping timeout: 264 seconds)
5: [00:22:40] * willr_ is now known as willr
6: [00:27:00] * _dMc quit (Ping timeout: 250 seconds)
7: [00:29:55] * Stomach has joined #silverstripe
8: [00:31:20] * spronk has joined #silverstripe
9: [00:37:23] * DanaeNZ has joined #silverstripe
10: [00:46:07] * jules0x quit (Quit: Leaving)
11: [00:56:23] * jules0x has joined #silverstripe
12: [01:00:13] <jules0x> anyone have an example of custom anti-csrf implementation? I'm crafting my own forms...
13: [01:00:46] <DanaeNZ> jules0x: we were talking about that last week. In your templates, there is a variable $SecurityID available to you
14: [01:00:54] <jules0x> !
15: [01:01:10] <DanaeNZ> jules0x: You can then get the right SecurityID in your conroller, using the SecurityToken class I believe
16: [01:01:35] <jules0x> thanks, much obliged
17: [01:01:59] * micmania1 has left #silverstripe
18: [01:02:18] * micmania1 has joined #silverstripe
19: [01:15:05] <ss-helper> SilverStripe Translatable Module - http://stackoverflow.com/questions/36273749/silverstripe-translatable-module
20: [01:18:04] * ShannonPatterson has joined #silverstripe
21: [01:20:29] * Stomach quit (Quit: zzz)
22: [01:21:05] * xananax has joined #silverstripe
23: [01:21:48] <xananax> I'm trying to install silverstripe, but I get "I couldn't find a database server on 'localhost': SQLSTATE[HY000] [1045]". PHPMyAdmin works fine
24: [01:21:53] <xananax> My database is online
25: [01:21:57] <xananax> So I don't understand
26: [01:22:20] <xananax> Any idea what might be happening?
27: [01:26:48] <micmania1> xananax: have you tried http://stackoverflow.com/questions/25031874/unexpected-exception-sqlstatehy000-1045-access-denied-for-user-localh
28: [01:26:48] * Stomach has joined #silverstripe
29: [01:27:00] <muskie9> xananax do you need a different host name for your database? i.e. Rackspace Cloud doesn't allow localhost
30: [01:33:59] * DanaeNZ quit (Remote host closed the connection)
31: [01:35:17] * Azure|dc quit (Remote host closed the connection)
32: [01:38:34] * DanaeNZ has joined #silverstripe
33: [01:42:17] <spronk> computers are hard :(
34: [01:44:33] <DanaeNZ> Director::forceWWW(); is supposed to work right
35: [01:46:20] <DanaeNZ> oh it only works on Live env
36: [01:46:33] <muskie9> DanaeNZ that's weird, thought it worked for all envs
37: [01:46:45] <muskie9> unless that's a new behavior
38: [01:46:56] <DanaeNZ> if(!Director::isDev() && !Director::isTest() && strpos($_SERVER['HTTP_HOST'], 'www') !== 0)
39: [01:47:37] <micmania1> DanaeNZ: *cough* .htaccess *cough*
40: [01:47:45] <DanaeNZ> but I'm lazy?
41: [01:47:52] <xananax> micmania1, I actually think it's because I have PHP 7.0.4
42: [01:47:58] <xananax> It's not compatible with silverstripe
43: [01:48:02] <DanaeNZ> htaccess it is
44: [01:48:46] <micmania1> xananax: nope, you’ll have to downgrade PHP to it with the latest stable versions of SilverStripe
45: [01:48:48] <muskie9> touché DanaeNZ, I must be thinking of forceSSL
46: [01:48:54] <xananax> And downgrading is a huge PITA...argh
47: [01:49:45] <micmania1> xananax: try vagrant :)
48: [01:50:04] <xananax> I was trying docker, but it revealed way too complex
49: [01:50:12] <xananax> I mean, it's just a small idea I wanna test
50: [01:50:17] <xananax> Is vagrant simpler?
51: [01:50:48] <xananax> I don't want to spend too much time setting stuff up, I just want to get to hacking...If I can't use silverstripe, I'll just get back to node
52: [01:51:00] <xananax> Though I was really curious to see changes, the last SS I used was 2.x
53: [01:51:12] <xananax> And it seems a lot of progress has been made since
54: [01:51:55] <muskie9> xananax we've used server pilot's vagrant box as well as dashbrew (for a fork of it that fixes some permissions)
55: [01:52:24] <xananax> But do you reckon I could be up and running with a LAMP box in under an hour? My free time is sadly limited
56: [01:52:25] <muskie9> dashbrew is like mamp, but vagrant based... can quickly add sites with a simple config file and vagrant provision
57: [01:53:06] <xananax> I'll check that out
58: [01:53:13] <xananax> thanks!
59: [01:53:18] <muskie9> once you have the initial setup done (downloading the box and what not) setting up a new project takes < 5 mins in each
60: [01:53:42] <muskie9> here's the one we're using for dashbrew: https://github.com/jsirish/dashbrew
61: [01:53:48] <muskie9> it's a fork
62: [01:54:08] <xananax> Thanks a bunch
63: [01:54:25] <muskie9> there's one small change that needs to be made in the readme for it to work... lol
64: [01:55:25] <muskie9> this "$ git clone --recursive git://github.com/mdkholy/dashbrew.git" should be "$ git clone --recursive git://github.com/jsirish/dashbrew.git" iirc
65: [01:57:02] <xananax> Hehe, ok no prob
66: [02:09:03] * BrewNaked has joined #silverstripe
67: [02:11:07] * micmania1 quit (Quit: micmania1)
68: [02:13:58] * BrewNaked quit (Ping timeout: 268 seconds)
69: [02:22:26] * Stomach quit (Quit: zzz)
70: [02:32:42] <Hailwood> Hey folks, how's it going
71: [02:40:15] * Stomach has joined #silverstripe
72: [02:51:31] * ShannonPatterson quit (Ping timeout: 250 seconds)
73: [02:53:08] * micmania1 has joined #silverstripe
74: [02:58:57] * willr quit (Quit: willr)
75: [03:00:09] <ss-helper> Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/FepD-o8WAwAJ
76: [03:02:11] * willr has joined #silverstripe
77: [03:07:00] * willr quit (Ping timeout: 268 seconds)
78: [03:07:34] * Stomach quit (Quit: zzz)
79: [03:07:56] * Stomach has joined #silverstripe
80: [03:22:31] * xananax quit (Quit: Leaving)
81: [03:45:10] <ss-helper> Re: [silverstripe-dev] Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/CwEkt4QZAwAJ
82: [03:45:10] <ss-helper> Re: Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/MGFDnHgZAwAJ
83: [03:45:10] <ss-helper> Re: [silverstripe-dev] Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/5f42IxkZAwAJ
84: [03:58:04] * BrewNaked has joined #silverstripe
85: [04:02:25] * BrewNaked quit (Ping timeout: 252 seconds)
86: [04:02:36] * neilf__ has joined #silverstripe
87: [04:30:11] <ss-helper> Re: [silverstripe-dev] Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/etIReBEcAwAJ
88: [04:30:11] <ss-helper> Re: [silverstripe-dev] Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/MoiupdQbAwAJ
89: [04:38:51] * micmania1 quit (Quit: micmania1)
90: [04:49:48] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
91: [04:55:36] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
92: [05:18:26] * spronk quit (Quit: I may need a longer sleep timer...)
93: [05:31:31] * Stomach quit (Ping timeout: 252 seconds)
94: [05:46:49] * BrewNaked has joined #silverstripe
95: [05:51:19] * BrewNaked quit (Ping timeout: 252 seconds)
96: [05:54:02] * Stomach has joined #silverstripe
97: [06:02:04] * Stomach quit (Quit: zzz)
98: [06:02:25] * spronk has joined #silverstripe
99: [06:02:49] * Stomach has joined #silverstripe
100: [06:04:15] * Agilix_ has joined #silverstripe
101: [06:08:16] * Mike123 has joined #silverstripe
102: [06:08:55] <Mike123> Morning
103: [06:13:41] * Stomach quit (Quit: zzz)
104: [06:40:50] * spronk quit (Quit: I may need a longer sleep timer...)
105: [07:00:47] * willr has joined #silverstripe
106: [07:05:04] * arnhoe has joined #silverstripe
107: [07:06:38] * arnhoe quit (Remote host closed the connection)
108: [07:10:17] * arnhoe has joined #silverstripe
109: [07:15:23] * neilf__ quit (Quit: Connection closed for inactivity)
110: [07:17:09] * DanaeNZ quit (Quit: TIME TO FEED)
111: [07:20:57] * swaiba has joined #silverstripe
112: [07:26:44] * swaiba quit (Read error: Connection reset by peer)
113: [07:28:05] * swaiba has joined #silverstripe
114: [07:35:41] * BrewNaked has joined #silverstripe
115: [07:40:13] * BrewNaked quit (Ping timeout: 252 seconds)
116: [08:00:48] * slievr has joined #silverstripe
117: [08:38:29] * Hailwood_ has joined #silverstripe
118: [08:38:29] <ss-helper> Hailwood_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
119: [08:39:22] * Hailwood quit (Disconnected by services)
120: [08:39:32] * Hailwood_ has left #silverstripe
121: [08:39:44] * Hailwood has joined #silverstripe
122: [08:39:51] * hailwood_ghost has joined #silverstripe
123: [08:46:27] * jackoconnor has joined #silverstripe
124: [09:01:29] * willr quit (Quit: willr)
125: [09:04:24] * Mike123 quit (Ping timeout: 250 seconds)
126: [09:24:33] * BrewNaked has joined #silverstripe
127: [09:29:07] * BrewNaked quit (Ping timeout: 248 seconds)
128: [09:43:08] * agent44 has joined #silverstripe
129: [09:57:14] <elgabbu_> hi guys ... is there any way to force money fields to display the currency symbol always in front of the amount regardless of the local being used?
130: [10:07:28] * Mike123 has joined #silverstripe
131: [11:13:24] * BrewNaked has joined #silverstripe
132: [11:17:32] * BrewNaked quit (Ping timeout: 244 seconds)
133: [11:34:55] <Agilix_> Hey, I have a model called OurWork and one called Publications, Now these have relationship as indicated in the models. However, in the SS file when on a OurWork page I can not get the publications: http://pastie.org/10777757
134: [11:35:01] <Agilix_> Any ideas?
135: [11:49:02] * ShannonPatterson has joined #silverstripe
136: [11:51:04] * GioVdK has joined #silverstripe
137: [11:51:55] * Hailwood quit (Remote host closed the connection)
138: [11:53:49] <jackoconnor> Has your join table been created in the database properly?
139: [11:53:56] * ShannonPatterson quit (Read error: Connection reset by peer)
140: [11:56:26] <swaiba> Agilix_ I'm not sure as it seems some context is missing
141: [11:56:50] <swaiba> you seem to imply that OurWork and Publications are both a many many relationship and also parent / child classes
142: [11:58:02] <swaiba> I'm not sure is there is a Publications page? what that shows? the object snippets are both ages? etc...
143: [12:05:43] * SH__ has joined #silverstripe
144: [12:08:30] * SecretAgent0010 has joined #silverstripe
145: [12:08:30] <ss-helper> SecretAgent0010: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
146: [12:09:57] <SH__> Hey guys the ConfirmedPasswordField returns two fields. How can I set different attributes on these two fields? I want a unique "placeholder" attribute for both
147: [12:11:26] * SecretAgent0010 is now known as ShannonPatterson
148: [12:30:35] * UndefinedOffset has joined #silverstripe
149: [12:38:48] <Agilix_> Already got it swaiba I know there are some weird relations in it. Personally, I would have done it differently but legacy
150: [12:45:04] * muskie9 has joined #silverstripe
151: [12:50:45] <slievr> How would I go about changing the directory permissions for files saved through 'setFolderName'?
152: [12:51:48] <slievr> I should mention that the name is created using the objID
153: [12:52:33] <swaiba> slievr you cannot change file permissions through the "setFolderName" method
154: [12:52:51] * jackoconnor quit (Quit: jackoconnor)
155: [12:52:59] <swaiba> you would need to already set your asset folder to recurse the permissions
156: [12:59:34] * jackoconnor has joined #silverstripe
157: [12:59:55] <slievr> damn
158: [13:02:15] * BrewNaked has joined #silverstripe
159: [13:03:43] <slievr> thx, swaiba
160: [13:06:38] * BrewNaked quit (Ping timeout: 248 seconds)
161: [13:09:42] * jackoconnor quit (Quit: jackoconnor)
162: [13:12:58] * DimiStripe has joined #silverstripe
163: [13:30:26] * Eliseth has joined #silverstripe
164: [13:42:34] * jackoconnor has joined #silverstripe
165: [13:45:12] * SH__ quit (Ping timeout: 250 seconds)
166: [13:54:44] * Agilix_ quit (Ping timeout: 250 seconds)
167: [14:36:17] * BackEndCoder has joined #silverstripe
168: [14:39:53] <muskie9> anyone experience Session::set()/get() not persisting a session value you assign?
169: [14:46:42] * x4j5 has joined #silverstripe
170: [14:46:42] <ss-helper> x4j5: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
171: [14:48:04] <swaiba> muskie9 yeah, but normally doing the ::save() fixes that
172: [14:48:41] <muskie9> swaiba Session::save() ?
173: [14:48:50] <swaiba> yep muskie9
174: [14:49:01] <muskie9> I'll try that... docs need updating if that's the case: https://docs.silverstripe.org/en/3.3/developer_guides/cookies_and_sessions/sessions/
175: [14:50:10] <muskie9> that did it, thanks swaiba
176: [14:50:48] <swaiba> welcome, don't suppose you have access to change the docs then? :)
177: [14:50:55] <muskie9> I can do a PR
178: [14:51:03] <muskie9> just have to figure out wheres to put it on that page
179: [14:51:19] * BrewNaked has joined #silverstripe
180: [14:51:38] <swaiba> oh is it in a github repo now?
181: [14:51:43] <swaiba> muskie9
182: [14:51:44] <muskie9> I guess I'm not sure how far back that change needs to go... 3.0, 3.1, 3.2
183: [14:52:09] <muskie9> it's been in a repo for as long while... bottom of the page there's an "Edit this page" button that opens it up in github
184: [14:55:32] * x4j5 quit (Remote host closed the connection)
185: [14:56:16] * BrewNaked quit (Ping timeout: 264 seconds)
186: [15:09:20] * BrewNaked has joined #silverstripe
187: [15:09:24] <UndefinedOffset> muskie9 I don't think they'll accept a pull request that goes back before 3.2 unless its a security issue could try though
188: [15:10:24] <muskie9> turns out the docs are correct, I had a die in my code I missed and that was causing the issue
189: [15:10:38] <UndefinedOffset> ah :)
190: [15:10:51] <muskie9> hate those little dumb mistakes
191: [15:12:21] <swaiba> muskie9 they might be correct, but they are useful
192: [15:12:41] <swaiba> I've only known about that ::save() becuase many folk stop by here are ask the same thing
193: [15:12:59] <swaiba> so I'd say it is useful to include in the docs
194: [15:13:22] <muskie9> true
195: [15:23:34] * Mike123 quit (Ping timeout: 250 seconds)
196: [15:29:15] * arnhoe quit ()
197: [15:32:01] * Eliseth quit (Ping timeout: 250 seconds)
198: [15:32:17] * jackoconnor quit (Quit: jackoconnor)
199: [15:32:59] * jackoconnor has joined #silverstripe
200: [16:31:04] * swaiba quit (Remote host closed the connection)
201: [16:36:04] * slievr quit (Ping timeout: 268 seconds)
202: [16:36:26] * jackoconnor quit (Quit: jackoconnor)
203: [16:47:17] <ShannonPatterson> I don't know if this is the appropriate place to ask this question, but is silverstripe working with PHP 7?
204: [16:48:03] <muskie9> ShannonPatterson 4.0 I believe will have support for php 7, but the 3.x series will not afaik
205: [16:48:37] <ShannonPatterson> ok. Thanks muskie9.
206: [16:48:40] <muskie9> sure
207: [16:56:59] * x4j5 has joined #silverstripe
208: [17:02:58] * MichalKleiner has joined #silverstripe
209: [17:06:36] * TombL has joined #silverstripe
210: [17:07:15] * muskie9 quit (Ping timeout: 248 seconds)
211: [17:07:23] * TheVoid_ has joined #silverstripe
212: [17:07:30] * Zauberfisch quit (Ping timeout: 268 seconds)
213: [17:07:33] * MichalKl_ quit (Ping timeout: 268 seconds)
214: [17:07:35] * TombL_ quit (Ping timeout: 268 seconds)
215: [17:07:45] * spekulatius quit (Ping timeout: 268 seconds)
216: [17:07:46] * TheVoid quit (Ping timeout: 268 seconds)
217: [17:07:47] * spekulatius has joined #silverstripe
218: [17:16:38] * Zauberfisch has joined #silverstripe
219: [17:20:08] * agent44 quit (Quit: zzz)
220: [17:23:14] * willr has joined #silverstripe
221: [17:33:48] * willr quit (Quit: willr)
222: [17:35:52] * GioVdK quit (Ping timeout: 264 seconds)
223: [17:36:23] * tmkajk has joined #silverstripe
224: [17:36:24] <ss-helper> tmkajk: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
225: [17:38:25] <tmkajk> Good afternoon all, I was wondering if anyone has experienced disappearing DataObjects? What I mean is, randomly, upon save, I have a custom DO that, instead of saving, is deleted. Basic object, Title, Description field. No errors or notices thrown and no syntax errors.
226: [17:39:57] * gelignite has joined #silverstripe
227: [17:52:48] * willr has joined #silverstripe
228: [17:57:28] * willr quit (Ping timeout: 264 seconds)
229: [17:58:00] * willr has joined #silverstripe
230: [17:59:38] * micmania1 has joined #silverstripe
231: [18:02:09] * marvanni has joined #silverstripe
232: [18:02:21] * willr quit (Ping timeout: 246 seconds)
233: [18:14:30] * micmania1 quit (Ping timeout: 244 seconds)
234: [18:35:25] * muskie9 has joined #silverstripe
235: [18:36:50] * tmkajk quit (Ping timeout: 250 seconds)
236: [18:37:15] * micmania1 has joined #silverstripe
237: [18:59:18] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
238: [19:01:28] * Stomach has joined #silverstripe
239: [19:15:22] <ss-helper> How do I access web response in Silverstripe - http://stackoverflow.com/questions/36293123/how-do-i-access-web-response-in-silverstripe
240: [19:20:03] * x4j5 quit (Ping timeout: 276 seconds)
241: [19:28:16] * Phlunk3 has joined #silverstripe
242: [19:30:44] * muskie9 has joined #silverstripe
243: [19:40:01] * micmania1 quit (Quit: micmania1)
244: [19:42:10] * micmania1 has joined #silverstripe
245: [19:55:52] * adrexia has joined #silverstripe
246: [20:03:02] * micmania1 quit (Quit: micmania1)
247: [20:18:27] * Stomach quit (Quit: zzz)
248: [20:19:40] * Stomach has joined #silverstripe
249: [20:31:01] * micmania1 has joined #silverstripe
250: [20:32:51] * BrewNaked quit (Read error: Connection reset by peer)
251: [20:33:18] * BrewNaked has joined #silverstripe
252: [20:42:04] * spronk has joined #silverstripe
253: [20:45:04] * muskie9 quit (Ping timeout: 252 seconds)
254: [20:50:48] * willr has joined #silverstripe
255: [20:51:49] * UndefinedOffset quit (Quit: Leaving.)
256: [21:06:34] <marvanni> Should dataextensions added in config.yml be recognized in Tests?
257: [21:11:46] <micmania1> marvanni: yep
258: [21:11:59] <marvanni> hm…
259: [21:12:09] <marvanni> i need to add Object::add_extension('Image', 'ClassNameSetter'); to my testMethod()
260: [21:12:12] <micmania1> marvanni: try running your tests with flush=1
261: [21:12:39] <micmania1> If that fails, post your yaml somewhere and I can take a look
262: [21:13:20] <marvanni> im running it with vendor/bin/phpunit filethumbs/tests
263: [21:13:40] <marvanni> and tried php framework/cli-script.php dev/build "flush=all"
264: [21:15:17] * thesaysora has joined #silverstripe
265: [21:15:17] <ss-helper> thesaysora: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
266: [21:15:36] <ss-helper> Re: [silverstripe-dev] Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/vi8AQ6lSAwAJ
267: [21:15:46] <marvanni> hm.. it seems to work now…
268: [21:17:15] <thesaysora> So, in SS 3.3 there's a new siteconfig folder, but I was using a site-extension and now there are two settings tabs.
269: [21:17:17] <thesaysora> How do I fix this?
270: [21:18:11] <marvanni> depends of you extension..
271: [21:18:47] <thesaysora> Fairpoint. It was just meant to add some more fields, but when I upgraded to 3.3 now there's two.
272: [21:19:14] <marvanni> code?
273: [21:19:25] <thesaysora> The Docs still say to use the customSiteConfig extends DataExtension
274: [21:19:36] <marvanni> yes
275: [21:20:26] <marvanni> it seems to me that the addFieldsToTab in your extenion might have a typo or casing error?
276: [21:20:36] * DanaeNZ has joined #silverstripe
277: [21:20:36] <thesaysora> Yeah, I may have done that bad.
278: [21:20:42] <thesaysora> I'll setup an ss paste so you can take a look if you don't mind.
279: [21:20:46] <thesaysora> Thanks too, btw.
280: [21:21:51] <thesaysora> http://www.sspaste.com/paste/show/56faf1e822a87
281: [21:23:22] <marvanni> besides the repetion of $fields->addFieldToTab('Root.Main it seems fine
282: [21:23:43] <thesaysora> Yeah, I could have just done one and arrayed it, which probably would be better.
283: [21:23:52] <thesaysora> So, now I just need to figure out why the new siteconfig folder breaks it.
284: [21:23:54] <thesaysora> Hmm.
285: [21:24:12] <marvanni> do you have a custom template for siteconfig ?
286: [21:24:21] <marvanni> happened to me for the ModelAdmin
287: [21:24:52] <thesaysora> Hmm. I don't think I do.
288: [21:25:02] <thesaysora> I just wrote that file and edited my yml in the past.
289: [21:25:33] <thesaysora> I have UncleCheese's dashboard plugin, but I don't think that is causing any issues in that front.
290: [21:26:37] <thesaysora> I tried deleting the new siteconfig folder to test it, and it just removed the settings tab in it's entirety.
291: [21:29:22] <adrexia> Does removing your extension fix it then?
292: [21:30:37] <ss-helper> Re: [silverstripe-dev] Codes of Conduct - https://groups.google.com/d/msg/silverstripe-dev/d94YIBEf6dI/sWFXuitTAwAJ
293: [21:31:13] <thesaysora> That's a good idea. I'll try removing it and see.
294: [21:32:41] <thesaysora> :o
295: [21:32:42] <thesaysora> It doesn't.
296: [21:32:54] <thesaysora> Hmm. Maybe my CMS or Framework version isn't as high as it should be then.
297: [21:32:57] <micmania1> thesaysora: remember to flush=1?
298: [21:33:06] <thesaysora> micmania1, definitely.
299: [21:33:12] <thesaysora> Should I do 1 rather than all? :o
300: [21:33:29] <micmania1> they do the same thing
301: [21:33:41] <thesaysora> K. Did that and the two settings options are still there.
302: [21:33:51] <micmania1> maybe something else is adding it?
303: [21:34:03] <thesaysora> Yeah, micmania1 it may be the cms still having it in .
304: [21:34:07] <thesaysora> Let me check my composer.json and run an update.
305: [21:34:26] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
306: [21:34:34] <thesaysora> Both cms and framework are listed at 3.3.1
307: [21:34:39] <adrexia> yeah - sounds like a mismatched verison
308: [21:34:42] <adrexia> hmm
309: [21:34:58] <adrexia> try deleting them and running composer update again?
310: [21:35:03] <thesaysora> Aye aye.
311: [21:35:08] <adrexia> (cms and framework)
312: [21:35:09] <adrexia> :)
313: [21:35:54] * agent44 has joined #silverstripe
314: [21:36:03] <thesaysora> Right.
315: [21:36:06] * muskie9 has joined #silverstripe
316: [21:36:40] <adrexia> oh - and sometimes you need to run flush while on the cms view for it to recache the cms templates
317: [21:37:03] <thesaysora> Ok, thanks. I noticed that in the past too..
318: [21:37:06] <thesaysora> And that fixed it.
319: [21:37:16] <thesaysora> Looks like the last time I updated there must have been some error pulling the versions.
320: [21:37:18] <adrexia> awesome :)
321: [21:37:20] <thesaysora> Cause now it's just a singular settigns.
322: [21:37:29] <thesaysora> Imma toss my extension back in just to be sure that fixed it.
323: [21:37:47] <adrexia> yeah, sometimes composer seems to go 'I got that already' and not update properly.
324: [21:38:16] <thesaysora> Haha. Definitely what happened in my case.
325: [21:38:26] <thesaysora> Yeah, it's all good now.
326: [21:38:44] <thesaysora> Sweet. just need to update my local and then remove then server versions and re-run composer.
327: [21:38:47] <thesaysora> Thanks guys.
328: [21:43:17] * ShannonPatterson quit (Read error: Connection reset by peer)
329: [21:50:11] * Azure has joined #silverstripe
330: [21:58:24] * marvanni quit (Quit: marvanni)
331: [22:04:48] * munk0r quit (Quit: Textual IRC Client: www.textualapp.com)
332: [22:07:54] * Pyromanik has joined #silverstripe
333: [22:08:03] <Pyromanik> Hi guys, it's me!
334: [22:11:16] * cloph_away quit (Ping timeout: 264 seconds)
335: [22:13:09] * cloph_away has joined #silverstripe
336: [22:14:29] * charles-ritchie has joined #silverstripe
337: [22:17:20] <charles-ritchie> Hey guys, does anyone know if framework 3.3.x supports filtering by relation?
338: [22:18:17] <muskie9> charles-ritchie something like ->filterAny(array('RelationName.ID' => array(1,3,5,7))
339: [22:18:39] <charles-ritchie> yeah exactly
340: [22:18:39] <muskie9> I know there was some talk recently about it
341: [22:18:51] <muskie9> I think that's possible at this point
342: [22:20:21] <charles-ritchie> does it have to be ID, or can other fields be used also? I've been trying the following on T'axonomyTerm' 'filterAny(array('Parent.Name' => 'foo'))' and getting no luck
343: [22:22:03] <muskie9> you could always do ->filterByCallback(function($record){ return ($record->Parent()->Name == 'foo'); })... it'll end up returning the list as an ArrayList rather than a DataList, and not as elegant, but works
344: [22:22:04] <charles-ritchie> From a cursory glance at 'DataList' nothing jumps out as supporting this.
345: [22:22:36] <charles-ritchie> Hey, that's a not a bad idea. I am just trying to avoid hacking up straight SQL if at all possible.
346: [22:23:03] <charles-ritchie> Cheers muskie9 will give it a go
347: [22:23:27] <muskie9> here's the api of it
348: [22:23:27] <muskie9> http://api.silverstripe.org/3.3/source-class-DataList.html#454-475
349: [22:24:13] <muskie9> so the object gets added to the list if the closure (callback) returns true
350: [22:24:25] <charles-ritchie> cheers
351: [22:25:07] * thesaysora quit (Ping timeout: 244 seconds)
352: [22:25:42] <muskie9> https://docs.silverstripe.org/en/3.3/developer_guides/model/data_model_and_orm/#filterbycallback
353: [22:26:43] <micmania1> filterByCallback is going to be way slower - the filter() example above should work
354: [22:27:37] <charles-ritchie> works like a charm and not as slow as I would have though. cheers for that mate.
355: [22:29:49] <muskie9> it's always better to do ->filter()/filterAny()/exclude()... but some times it's needed
356: [22:30:19] * _n8 has joined #silverstripe
357: [22:30:46] <muskie9> if I need to filterByCallback I tend to apply all other available filtering I can before calling the filterByCallback()
358: [22:30:55] <muskie9> anyways, time to leave
359: [22:30:57] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
360: [22:32:24] <_n8> Anyway to adjust the way the $Image functions name files? I don't like the "/assets/Uploads/_resampled/FillWyI4NTAiLCI0MjAiXQ-Foobar"
361: [22:34:17] * pinc has joined #silverstripe
362: [22:36:17] <Pyromanik> _n8, because...?
363: [22:41:08] * _n8 quit (Quit: Page closed)
364: [22:41:26] * _n8 has joined #silverstripe
365: [22:41:57] <_n8> ugh.. crash... did you reply Pyromanik, I missed it if you did.
366: [22:42:23] <Pyromanik> _n8, because...?
367: [22:43:38] <Pyromanik> <_n8> Anyway to adjust the way the $Image functions name files? I don't like the "/assets/Uploads/_resampled/FillWyI4NTAiLCI0MjAiXQ-Foobar"
368: [22:43:38] <Pyromanik> * pinc (~pinc@103.245.175.17) has joined
369: [22:43:38] <Pyromanik> <Pyromanik> _n8, because...?
370: [22:43:38] <Pyromanik> * _n8 has quit (Quit: Page closed)
371: [22:43:38] <Pyromanik> * _n8 (7217f820@gateway/web/freenode/ip.114.23.248.32) has joined
372: [22:43:39] <Pyromanik> <_n8> ugh.. crash... did you reply Pyromanik, I missed it if you did.
373: [22:45:20] <_n8> Thanks... lol
374: [22:45:29] <_n8> I think I've found my solution...
375: [22:45:47] <_n8> Was created in Jun 2015, and lives in 3.3 now... :'(
376: [22:46:44] <_n8> FYI: https://github.com/silverstripe/silverstripe-framework/pull/4507
377: [22:51:43] <Pyromanik> _n8, no, I had a serious question.
378: [22:51:44] <Pyromanik> Why?
379: [23:00:01] * ss-helper quit (Remote host closed the connection)
380: [23:00:14] * ss-helper has joined #silverstripe
381: [23:02:43] * pinc_ has joined #silverstripe
382: [23:02:43] * pinc quit (Read error: Connection reset by peer)
383: [23:07:56] <Pyromanik> I don't understand the issue
384: [23:08:03] <Pyromanik> can you help me?
385: [23:09:02] * agent44 quit (Quit: zzz)
386: [23:15:13] <_n8> SEO and file names and stuff, I'd rather have a clean file name, and transfer the resampled info to a directory.
387: [23:20:20] * micmania1 quit (Quit: micmania1)
388: [23:20:22] <Pyromanik> _n8, so how will you version these files?
389: [23:23:33] <Pyromanik> I knew SEO would come up, which is the worlds worst reason to do anything, but I can agree with folder structure based information. But a 'clean' filename doesn't allow for varying versions of a file.
390: [23:24:02] <Pyromanik> A hash does. Granted I'm not sure if that sort of change has been merged into that hash business, but it should allow for it much easier.
391: [23:24:12] <Pyromanik> I suspect something like that will come this way in the future.
392: [23:25:22] <Pyromanik> If it's not already here
393: [23:27:02] <DanaeNZ> is silverstripe/googlesitemaps still relevant?
394: [23:27:12] <Pyromanik> probably.
395: [23:27:26] <DanaeNZ> swt
396: [23:27:29] <Pyromanik> it'd only be irrelevant if google stopped supporting it
397: [23:27:47] <Pyromanik> or perhaps if some major API change broke it, in which case it's still relevant but broken.
398: [23:30:03] <ss-helper> Silverstripe Page Type Missing - http://stackoverflow.com/questions/36296941/silverstripe-page-type-missing
399: [23:30:19] <DanaeNZ> I don't think the module works 100%
400: [23:30:49] <DanaeNZ> wait I take that back
401: [23:30:58] <DanaeNZ> gotta click the think
402: [23:30:59] <DanaeNZ> thing
403: [23:42:51] * munk0r has joined #silverstripe
404: [23:47:17] * Stomach quit (Quit: zzz)
405: [23:54:16] * pinc_ quit (Read error: Connection reset by peer)
406: [23:54:24] * pinc has joined #silverstripe
407: [23:55:15] * jules0x quit (Quit: Leaving)

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