#silverstripe IRC Log

IRC log for 29 September 2016

All timestamps are in UTC.

1: [00:23:11] * micmania1 quit (Quit: micmania1)
2: [00:51:00] * spronk quit (Quit: I may need a longer sleep timer...)
3: [00:55:26] * micmania1 has joined #silverstripe
4: [01:06:07] * ahr3n has joined #silverstripe
5: [03:48:23] * micmania1 quit (Quit: micmania1)
6: [03:48:39] * ajmitch_ quit (Ping timeout: 250 seconds)
7: [03:50:07] * Tron_ has joined #silverstripe
8: [03:50:23] * ajmitch has joined #silverstripe
9: [04:04:12] * Tron_ quit (Ping timeout: 240 seconds)
10: [04:36:25] * micmania1 has joined #silverstripe
11: [04:37:00] * micmania1 quit (Client Quit)
12: [05:14:39] * UncleCheese has joined #silverstripe
13: [05:15:08] <ss-helper> Silverstripe 3.4 define and public static - http://stackoverflow.com/questions/39761880/silverstripe-3-4-define-and-public-static
14: [05:45:33] * wmk has joined #silverstripe
15: [05:46:01] * ahr3n quit (Ping timeout: 240 seconds)
16: [06:04:46] * spronka has joined #silverstripe
17: [06:06:42] * spronka quit (Client Quit)
18: [06:10:04] * pweh has joined #silverstripe
19: [06:13:44] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
20: [06:50:05] * UncleCheese has joined #silverstripe
21: [06:51:23] * UncleCheese quit (Client Quit)
22: [06:54:52] * darianno has joined #silverstripe
23: [07:00:10] <ss-helper> Extend templates with dataextensions/modules content - SilverStripe 3.4 - http://stackoverflow.com/questions/39763325/extend-templates-with-dataextensions-modules-content-silverstripe-3-4
24: [07:04:05] * Stomach quit (Quit: zzz)
25: [07:21:34] * pweh quit (Ping timeout: 244 seconds)
26: [07:23:19] * pweh has joined #silverstripe
27: [07:28:04] * ahr3n has joined #silverstripe
28: [07:40:52] * spronk has joined #silverstripe
29: [07:44:31] * Stomach has joined #silverstripe
30: [07:50:46] * spronka has joined #silverstripe
31: [08:02:49] * spronka quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
32: [08:05:02] * swaiba has joined #silverstripe
33: [08:06:39] * kinglozzer has joined #silverstripe
34: [08:06:49] * spronka has joined #silverstripe
35: [08:18:50] * janneklouman-- has joined #silverstripe
36: [08:20:35] * spronk quit (Quit: I may need a longer sleep timer...)
37: [08:37:42] * ahr3n quit (Ping timeout: 264 seconds)
38: [08:54:23] * Stomach quit (Quit: zzz)
39: [08:57:00] <swaiba> hi
40: [08:57:16] <swaiba> anyone know how to make a HTMLText readonly, but still be a tiny MCE?
41: [08:57:32] <swaiba> I've got some HTML that if I include it, it breaks the HTML of the admin
42: [08:57:57] <swaiba> but the tinymce puts that into an iframe and handles it... just would be nice to make it so they cannot save
43: [09:05:07] * agent44 has joined #silverstripe
44: [09:09:51] * darianno quit (Ping timeout: 276 seconds)
45: [09:12:53] * darianno has joined #silverstripe
46: [09:15:17] <ss-helper> Translate Silverstripe login form and other built in pages - http://stackoverflow.com/questions/39766155/translate-silverstripe-login-form-and-other-built-in-pages
47: [09:45:42] * neilf__ has joined #silverstripe
48: [10:49:17] <wmk> swaiba, LiteralField?
49: [10:50:59] <swaiba> wmk that needs me to make a controller to server the content or extra JS...
50: [10:51:25] <swaiba> I'm really after the minimum to have it shown which is currently HTMLField... it's just annyoing the user may try and save
51: [10:52:36] <kinglozzer> swaiba: I'm confused, you want an HtmlEditorField that they can't edit?
52: [10:52:50] <kinglozzer> Why does it need to be an HtmlEditorField if they can't edit it?
53: [10:53:12] <swaiba> I want "with little effort" something somehting HTML that is the tags are foobbar it sdoesn't affect the general page
54: [10:53:28] <swaiba> I can put it in an iframe but that is more code than I want for this
55: [10:53:29] <wmk> depends on the html... but if you escape it, a readonly textarea should be enough
56: [10:53:39] <swaiba> no wmk it isn't
57: [10:53:44] <swaiba> these are complex html
58: [10:53:56] <wmk> isn't tiny just another textarea?
59: [10:54:01] <wmk> with js magic...
60: [10:54:03] <swaiba> and if I make it read only (with raw oputpt) the admin looks foobar
61: [10:54:16] <swaiba> yeah again adding more code than I want
62: [10:54:34] <swaiba> if there isn't a swtich for tinymce I can flip on, I'm happy for now to leave it looking editable
63: [10:54:57] <swaiba> i know wierd question, the right way is just a little too much risk
64: [10:55:12] <swaiba> it's a live site I'm eidting the minimum code, I'm doing it right for next release
65: [10:55:20] <wmk> swaiba, did you try ->performReadonlyTransformation() ??
66: [10:55:23] <swaiba> yes wmk
67: [10:55:28] <swaiba> first thing
68: [10:55:28] <wmk> there is a HTMLEditorField_Readonly class around
69: [10:55:31] <wmk> ok
70: [10:55:42] <swaiba> and I see the HTML code... which isn't useful
71: [10:55:58] <wmk> but interesting
72: [10:57:16] <swaiba> it's an email log and some of the emails have tons of styling and html content... little/no control over that
73: [10:57:34] <wmk> oops
74: [10:57:41] <swaiba> but thanks wmk kinglozzer for your suggestions
75: [10:57:44] <wmk> sounds scary
76: [10:58:08] <swaiba> not a bad as running into a clown in the dead of the night in the woods...
77: [10:58:17] <kinglozzer> swaiba: TinyMCE3 has a readonly option... but I don't know how it works, or if it would be applied globally (because HtmlEditorConfig)
78: [10:58:26] <kinglozzer> http://archive.tinymce.com/wiki.php/Configuration3x:readonly
79: [10:58:29] <wmk> swaiba, http://archive.tinymce.com/tryit/3_x/read_only_mode.php
80: [10:58:31] <wmk> hehe....
81: [10:58:38] <kinglozzer> ;D
82: [10:58:40] <wmk> kinglozzer, you had the same idea
83: [10:58:56] <kinglozzer> Great minds think alike wmk ;)
84: [10:58:58] <wmk> well, you can set the config to HTMLEditor, can't you?
85: [10:59:16] <swaiba> yes, I'll give that a try, thanks again guys
86: [11:00:51] * jadedstudio has joined #silverstripe
87: [11:01:11] <wmk> though the readonly mode would be great in SilverStripe.. swaiba https://pbs.twimg.com/media/CsI1e0mWcAACEAq.png
88: [11:05:12] * jadedstudio quit (Ping timeout: 240 seconds)
89: [11:25:56] * Kapdap quit (Ping timeout: 244 seconds)
90: [11:27:34] * Kapdap has joined #silverstripe
91: [11:37:13] <wmk> kinglozzer, swaiba: just have a problem
92: [11:37:17] <wmk> Member has two extensions
93: [11:37:55] <wmk> and i want to give a securityAdmin the possibility to view all Members in backend
94: [11:38:07] <wmk> now one extension checks frontend stuff and returns canView() -> false
95: [11:38:30] <wmk> the other extension checks for admin permissions, canView() -> true
96: [11:38:48] <wmk> somehow Member::canView returns false after calling extend('canView'...)
97: [11:39:00] <wmk> now: is that a bug in Member or do we have some bug in our code?
98: [11:39:19] <swaiba> wmk I don't know, but I'd assume parent::canView should be called
99: [11:39:35] <swaiba> and the order of the calls would be to do with the module include order
100: [11:39:43] <swaiba> best I could say for now
101: [11:41:06] <wmk> see https://github.com/silverstripe/silverstripe-framework/blob/3.4/security/Member.php#L1543
102: [11:41:34] <wmk> it says "no permission" if one extension says no
103: [11:41:37] <kinglozzer> wmk: min($results) is false if one of them returns false
104: [11:41:42] <kinglozzer> Yep ^^
105: [11:41:47] <wmk> bug or feature?
106: [11:41:50] <kinglozzer> By design
107: [11:42:16] <wmk> kinglozzer, imho it's a bug
108: [11:42:27] <kinglozzer> If one returns null, and one true, then it will be granted
109: [11:42:39] <kinglozzer> But if any return false, then it will be denied
110: [11:43:04] <wmk> so in extension: null = "dunno", false = "never ever" and true = "yup, go on"
111: [11:43:16] <kinglozzer> Yep
112: [11:45:13] <kinglozzer> wmk: That should be how it works anyway, that code is slightly different to DataObject... so it might be that 'null' doesn't work as expected: https://github.com/silverstripe/silverstripe-framework/blob/3.4/model/DataObject.php#L2894-L2904
113: [11:46:52] <wmk> i thought can* should return boolean
114: [11:46:55] <wmk> true or false
115: [11:47:16] <kinglozzer> wmk: Yes, they should
116: [11:47:29] <kinglozzer> Extensions can return null, though
117: [11:48:41] <kinglozzer> wmk: Actually, looks like it has been cleaned up in master - https://github.com/silverstripe/silverstripe-framework/pull/5136
118: [11:49:10] * kinglozzer lunch
119: [12:05:00] * pweh quit (Read error: Connection reset by peer)
120: [12:06:55] * neilf__ quit (Quit: Connection closed for inactivity)
121: [12:19:58] * UndefinedOffset has joined #silverstripe
122: [13:01:52] * micmania1 has joined #silverstripe
123: [13:06:14] * darjusIT has joined #silverstripe
124: [13:07:03] * micmania1 quit (Ping timeout: 272 seconds)
125: [13:08:24] <darjusIT> Hi all, I want to ask, I have deleted module, dev/build but still one page throws ailed to open stream: No such file or directory in /home/loruscrm/beta.lorus.lt/framework/core/manifest/ConfigManifest.php on line 141
126: [13:08:24] <darjusIT> but I dont use that module anymore and devbuilded so what can be?
127: [13:10:11] * gamma quit (Remote host closed the connection)
128: [13:11:37] * gamma has joined #silverstripe
129: [13:28:40] <wmk> darjusIT, flush?
130: [13:28:47] <darjusIT> done
131: [13:28:52] <darjusIT> same thing
132: [13:28:54] <wmk> it's also... did you dev/build as webserver user?
133: [13:29:00] <wmk> you might delete the cache dir manually
134: [13:29:15] <darjusIT> adress with / on end throweserror but bithout works normally
135: [13:30:17] <darjusIT> dev/build all done :)
136: [13:36:12] <wmk> some manifest cache issue...
137: [13:36:51] <wmk> though /home should do the same like /home/ ...
138: [13:58:27] * wmk quit (Ping timeout: 276 seconds)
139: [14:01:13] * muskie9 has joined #silverstripe
140: [14:02:07] * micmania1 has joined #silverstripe
141: [14:06:54] * micmania1 quit (Ping timeout: 276 seconds)
142: [14:14:17] * spronka quit (Quit: My MacBook Air has gone to sleep. ZZZzzz…)
143: [14:36:27] * darianno quit (Quit: Textual IRC Client: www.textualapp.com)
144: [14:46:49] * slievr has joined #silverstripe
145: [15:36:35] * swaiba quit (Remote host closed the connection)
146: [16:04:07] * micmania1 has joined #silverstripe
147: [16:08:33] * micmania1 quit (Ping timeout: 244 seconds)
148: [16:11:59] * janneklouman-- quit (Ping timeout: 272 seconds)
149: [16:32:06] * kinglozzer quit ()
150: [16:44:09] * DimiStripe has joined #silverstripe
151: [17:03:25] * agent44 quit (Quit: zzz)
152: [17:23:44] * gelignite has joined #silverstripe
153: [17:32:19] * shellbac1pacific has joined #silverstripe
154: [17:35:33] * shellbackpacific quit (Ping timeout: 276 seconds)
155: [18:20:54] * shellbac1pacific quit (Ping timeout: 264 seconds)
156: [18:21:07] * muskie9 quit (Read error: No route to host)
157: [18:24:18] * muskie9 has joined #silverstripe
158: [18:24:44] * shellbackpacific has joined #silverstripe
159: [18:43:22] * Stomach has joined #silverstripe
160: [19:06:00] * micmania1 has joined #silverstripe
161: [19:10:25] * micmania1 quit (Ping timeout: 244 seconds)
162: [19:40:24] * saiyan quit (Ping timeout: 252 seconds)
163: [19:40:45] * saiyan has joined #silverstripe
164: [19:56:54] * zippy has joined #silverstripe
165: [19:58:10] <zippy> Should be an interesting game. Some oldies coming back! lol
166: [19:58:19] <zippy> Anyone use a job queue / worker process with Silverstripe
167: [20:09:10] * Stomach quit (Read error: Connection reset by peer)
168: [20:09:46] * Stomach has joined #silverstripe
169: [20:18:55] * UndefinedOffset quit (Quit: Leaving.)
170: [20:24:55] * Hailwood has joined #silverstripe
171: [20:25:56] <Hailwood> Hey folks, is there any way to blacklist a directory from the SS manifest?
172: [20:26:25] <Hailwood> We have a livezilla install at the same level as our mysite directory and because livezilla has a _config directory SS is trying to work with it
173: [20:29:09] <zippy> there is an ignore file you can add
174: [20:29:56] <Hailwood> _manifest_exclude right?
175: [20:29:59] <Hailwood> Just found it
176: [20:30:42] <zippy> something like that
177: [20:30:43] <zippy> it work?
178: [20:35:14] <Hailwood> Yep :)
179: [20:44:14] * ahr3n has joined #silverstripe
180: [20:57:16] * micmania1 has joined #silverstripe
181: [21:05:54] * ahr3n quit (Ping timeout: 264 seconds)
182: [21:09:24] * CaliforniaStripe has joined #silverstripe
183: [21:09:48] * CaliforniaStripe has left #silverstripe
184: [21:10:07] * BPower has joined #silverstripe
185: [21:10:16] * micmania1 quit (Quit: micmania1)
186: [21:11:18] * micmania1 has joined #silverstripe
187: [21:12:20] <BPower> GREETINGS WORLD! We, Marketo, are FINALLY hiring a developer in ANZ! We have an office in Sydney to work from, but this developer can be remote in New Zealand, Melbourne, or anywhere in Australia. :) https://www.linkedin.com/jobs2/cap/view/209983492
188: [21:12:28] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
189: [21:12:34] * ahr3n has joined #silverstripe
190: [21:12:45] <BPower> (Specifically a SilverStripe developer :) )
191: [21:15:19] <zippy> Experience: Entry level
192: [21:15:26] <zippy> Experience you’ll need for this position: 5+ years…
193: [21:15:29] <zippy> ok dokie :)
194: [21:16:17] <zippy> BPower: which you after :)
195: [21:16:19] <BPower> zippy: lol I JUST noticed that and sent a message to our recruiter to fix that. It also says Full-time, but it's a contract-to-hire position.
196: [21:16:28] <BPower> Mid-level
197: [21:17:36] <zippy> Git, SVN or other code management systems
198: [21:17:38] <zippy> what other ones you use?
199: [21:18:04] <zippy> looks interesting
200: [21:18:19] <xyphoid> file.php.old file.php.old2 is TRADITIONAL okay
201: [21:18:29] <BPower> zippy: We only use Git, but we assume that if you have significant experience with other VCS's, you'll be adept enough to learn Git.
202: [21:18:42] <BPower> xyphoid: lol
203: [21:18:46] <BPower> We're also looking for a Sr. Front-end/Javascript developer on-site in San Mateo, California -- this one is full-time (http://marketo.jobs/careers/oL1V3fwu/sr-front-end-developer )
204: [21:19:05] <zippy> after using git add --patch so much, I can't be without it
205: [21:19:44] <zippy> xyphoid: yeap, via the ftp client on the live server eh
206: [21:20:20] <xyphoid> ftp ... client? itym cpanel's file manager
207: [21:20:44] <zippy> I wasn't that barbaric
208: [21:20:53] <zippy> I would just accidentily drag a folder into the wrong folder
209: [21:20:59] <zippy> 'ops, where did that go'
210: [21:33:36] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
211: [21:35:37] * BPower quit (Ping timeout: 244 seconds)
212: [21:42:05] * Stomach quit (Quit: zzz)
213: [21:45:13] * Stomach has joined #silverstripe
214: [22:08:54] * BPower has joined #silverstripe
215: [22:10:47] * spronk has joined #silverstripe
216: [22:12:36] <zippy> whats a good menu manager for silverstripe sites these days..
217: [22:12:57] <BPower> woops! Looks like I got disconnected for a while there....
218: [22:13:11] <zippy> Need to handle nested menus is main requirement. ie Main -> Services -> xyz, abc
219: [22:14:08] <BPower> (apparently nothing happened while I was gone....)
220: [22:15:40] <BPower> zippy: I did that all the time when I was a junior.... ("oops, where did that go?!")
221: [22:16:09] * Stomach quit (Quit: zzz)
222: [22:16:10] <BPower> or you accidentally hit "sync" on the wrong folder....
223: [22:17:57] * Stomach has joined #silverstripe
224: [22:18:50] <zippy> Stomach: with your silverstripe-menumanager, what do you do for submenus?
225: [22:19:04] <Stomach> its not mine!
226: [22:19:11] <Stomach> (but we write an extension)
227: [22:19:31] <zippy> why did I think you worked at hayday..
228: [22:19:58] <zippy> Little Giant, sorr
229: [22:20:01] <zippy> *sorry :)
230: [22:20:45] <BPower> Hi Stomach :) I'm CaliforniaStripe from before ... aka Nathan.
231: [22:20:53] <Stomach> Hey buddy
232: [22:20:59] <zippy> you have gist of this extension?
233: [22:21:26] <Stomach> https://github.com/heyday/silverstripe-menumanager/issues/7
234: [22:21:45] <Stomach> zippy ^
235: [22:22:26] <BPower> so how 'bout that manager of mine? haha <-- my advance apologies
236: [22:23:03] <zippy> Thanks @Stomach , I was going to make one based around https://github.com/heyday/silverstripe-menumanager/pull/17 - which yours seems similar too. Thanks.
237: [22:24:01] <Stomach> yeah similiar @zippy
238: [22:29:47] <zippy> ta :)
239: [22:31:21] <BPower> ^ I actually know what that means!!! #merica
240: [22:42:01] * vitaly quit (Quit: Leaving...)
241: [22:49:22] * Stomach quit (Quit: zzz)
242: [22:49:48] * Stomach has joined #silverstripe
243: [23:00:02] * ss-helper quit (Remote host closed the connection)
244: [23:00:14] * ss-helper has joined #silverstripe
245: [23:18:26] * ahr3n quit (Ping timeout: 244 seconds)
246: [23:27:09] * darjusIT quit (Read error: Connection reset by peer)
247: [23:33:41] * ahr3n has joined #silverstripe
248: [23:40:23] * BPower quit (Ping timeout: 272 seconds)
249: [23:46:29] * BPower has joined #silverstripe
250: [23:49:53] * Hailwood quit (Ping timeout: 272 seconds)
251: [23:54:08] * micmania1 quit (Quit: micmania1)

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