#silverstripe IRC Log

IRC log for 29 April 2015

All timestamps are in UTC.

1: [00:00:35] * wracu quit (Ping timeout: 244 seconds)
2: [00:06:23] <simon_w|air> wracu_, you don't want the pages map. Just the string 'SiteTree'
3: [00:08:03] * micmania1 quit (Quit: micmania1)
4: [00:09:49] <wracu_> dirp
5: [00:11:02] <wracu_> <3 thanks!
6: [00:14:26] * camfindlay has joined #silverstripe
7: [00:14:36] <spronk2> lol antmas
8: [00:14:39] <spronk2> ENTERPIES
9: [00:24:59] * wracu has joined #silverstripe
10: [00:25:27] * willr quit (Quit: willr)
11: [00:26:37] * ccburns has joined #silverstripe
12: [00:27:19] * wracu_ quit (Ping timeout: 265 seconds)
13: [00:37:23] <ccburns> Morning/afternoon - I’m trying to get the CSV export to match the columns that are displayed in my CustomSideReport - any thoughts? The CSV export is only displaying the first three columns from the columns() method - any thoughts of how I can make the CSV display all 5 columns… http://www.sspaste.com/paste/show/5540274cbc6ee
14: [00:37:32] <antmas> spronk2: 320kph flyby :O https://www.youtube.com/watch?v=pGXCIw96-N0&feature=player_detailpage
15: [00:37:58] <spronk2> woahh
16: [00:38:02] <spronk2> awesome
17: [00:39:11] <ccburns> CoachBusinessName and Credits are extensions of the Member object…
18: [00:39:11] <spronk2> sounds kinda cool too
19: [00:45:22] <Colin[pi]> spronk2: sounds much better than new F1
20: [00:48:50] * micmania1 has joined #silverstripe
21: [00:48:58] <spronk2> lolya
22: [00:52:24] <simon_w|air> Yay, get to review the 20k line diff again :(
23: [00:52:56] <Colin[pi]> simon_w|air: sounds fun
24: [00:53:09] <simon_w|air> Took 3 hours last time
25: [00:55:17] <Colin[pi]> simon_w|air: this is a diff of what exactly?
26: [00:55:35] * helenclarko quit (Quit: Page closed)
27: [00:55:54] <simon_w|air> Colin[pi], refactoring our Xero integration to be less shit
28: [00:55:59] <Colin[pi]> oh lol
29: [00:56:01] <simon_w|air> Is still shit, but can actually be tested now
30: [00:57:40] * ccburns has left #silverstripe
31: [00:58:44] * willr has joined #silverstripe
32: [01:00:11] <Colin[pi]> if I delete a top-level folder in AssetAdmin, will that delete all the stuff within? or is it just orphaned?
33: [01:01:42] <simon_w|air> Colin[pi], it's recursive
34: [01:01:49] <Colin[pi]> simon_w|air: cool, thxz
35: [01:01:53] <Colin[pi]> just wanted to make sure
36: [01:05:32] <simon_w|air> Colin[pi], just do it live and find out? :p
37: [01:05:38] <Colin[pi]> .dev site ;P
38: [01:05:55] <simon_w|air> Google owns it now! :p
39: [01:06:17] * Phlunk3 has joined #silverstripe
40: [01:06:23] <Colin[pi]> ah shit so they do
41: [01:07:11] <Colin[pi]> oh well, my local dns will still work ;P
42: [01:19:46] * Tanger has joined #silverstripe
43: [01:37:01] * willr quit (Quit: willr)
44: [01:43:14] * phillprice has joined #silverstripe
45: [01:47:33] * phillprice quit (Ping timeout: 248 seconds)
46: [02:00:19] * willr has joined #silverstripe
47: [02:02:34] * antmas quit (Quit: Page closed)
48: [02:03:52] * micmania1 quit (Quit: micmania1)
49: [02:05:26] * micmania1 has joined #silverstripe
50: [02:06:24] * baz has joined #silverstripe
51: [02:06:48] * baz is now known as Guest32311
52: [02:07:14] <Guest32311> Hi friendly folk. I just did a sudo composer update and am now getting an error "Fatal error: Interface 'Flushable' not found in /var/www/html/framework/i18n/i18n.php on line 64" after upgrading to 3.1.12 from 3.1.6. Any ideas why?
53: [02:09:27] <Stomach> Guest32311 - have you tried flushing
54: [02:10:47] * micmania1 quit (Quit: micmania1)
55: [02:11:46] <Guest32311> yes ran a sake dev/build "flush=1"
56: [02:13:08] <Stomach> Guest32311 - you need to do it on the front end
57: [02:13:16] <Stomach> the manifests for cli and web are different
58: [02:14:02] <Guest32311> when I tried to run it via the web I got the Fatal error message again
59: [02:14:29] * camfindlay quit (Quit: camfindlay)
60: [02:15:09] * camfindlay has joined #silverstripe
61: [02:16:16] * antmas has joined #silverstripe
62: [02:17:06] * novaweb has joined #silverstripe
63: [02:20:08] <Stomach> Guest32311 - can you put it into "dev" mode and run it
64: [02:20:22] * Sticks has joined #silverstripe
65: [02:21:14] <novaweb> How to override tinymce so class img-responsive is applied to any image added through tinymce
66: [02:23:06] <Guest32311> trying to dev mode it now.
67: [02:26:19] <MichalKleiner> novaweb not specifically answering the question but for this I'm extending TextParser and manipulate the html content there.. using simple_html_dom library to parse and shuffle the content, add classes, add support markup etc.
68: [02:27:07] <MichalKleiner> class YourContentParser extends TextParser with a method parse() working with $this->content and in template you go $Content.Parse(YourContentParser)
69: [02:27:22] <novaweb> Thanks Michal, On a tight deadline, was hoping it was something I could configure from _config.php
70: [02:27:28] <novaweb> Will bookmark for future ref though!
71: [02:28:14] <MichalKleiner> yeah, this is like for extracting h2s and making them jumplinks above the content etc.. I don't know much about configuring tinymce..
72: [02:28:20] <MichalKleiner> ;-)
73: [02:28:49] <novaweb> this may be my answer: http://www.tinymce.com/wiki.php/Configuration:image_class_list
74: [02:29:58] <spronk2> https://www.youtube.com/watch?v=k2W8aGgmn1A
75: [02:29:58] <spronk2> fuck this is superb
76: [02:30:30] <MichalKleiner> novaweb: I'll bookmark that ;-)
77: [02:30:49] <antmas> anyone know how to clear out tmp caches folders in ruby?
78: [02:30:50] <antmas> :D
79: [02:30:52] <antmas> #longshot
80: [02:32:41] * willr_ has joined #silverstripe
81: [02:32:47] <MichalKleiner> sudo rm -rf /
82: [02:32:52] <MichalKleiner> antmas
83: [02:32:55] <antmas> :P
84: [02:33:21] <MichalKleiner> that will bring new problems so you won't care about ruby caches anymore :-D
85: [02:33:31] * willr quit (Ping timeout: 244 seconds)
86: [02:33:31] * willr_ is now known as willr
87: [02:33:45] <antmas> I thought using capistrano would clear it out...
88: [02:33:46] <antmas> maybe not
89: [02:34:16] <MichalKleiner> can't you just locate the folder and flush it?
90: [02:34:38] <antmas> I can browse to it yeah, just not sure if I should delete everything in there :P
91: [02:43:59] * camfindlay quit (Quit: camfindlay)
92: [02:44:00] <Guest32311> Changed composer.json to use "silverstripe/framework" : "~3.1.6" ran /admin/dev/flush=all?isDev=1 and still get Fatal error: Interface 'Flushable' not found in /var/www/html/framework/i18n/i18n.php on line 64
93: [02:44:39] * antmas quit (Quit: Page closed)
94: [02:44:54] <Ryan-Toast> Guest32311: run dev build?flush in the root of your domain
95: [02:44:57] <Ryan-Toast> not the admin
96: [02:45:10] <Ryan-Toast> dev/build?flush
97: [02:46:59] <Guest32311> sorry yes that was a typo /dev/flush=all?isDev=1
98: [02:47:35] <Ryan-Toast> are you doing dev/build?
99: [02:56:45] * UncleCheese has joined #silverstripe
100: [02:57:00] <Guest32311> Yes /dev/build?isDev=1&flush=all
101: [02:58:47] <UncleCheese> flush=all should almost never be ysed
102: [02:58:50] <UncleCheese> used *
103: [03:01:49] <Guest32311> Hi UncleCheese, the error I was trying to figure out was Fatal error: Interface 'Flushable' not found in /var/www/html/framework/i18n/i18n.php on line 64" after upgrading to 3.1.12 from 3.1.6.
104: [03:02:06] <UncleCheese> yeah, flushable is a new thing
105: [03:03:20] * camfindlay has joined #silverstripe
106: [03:03:36] <Guest32311> Strange, I did a walk up in versions, one at a time from 3.16 to 3.1.12 and this time it worked fine.
107: [03:03:40] <Guest32311> Strange, I did a walk up in versions, one at a time from 3.16 to 3.1.12 and this time it worked fine.
108: [03:08:08] * veb has joined #silverstripe
109: [03:09:52] * Guest32311 quit (Ping timeout: 246 seconds)
110: [03:09:58] <spronk2> who's done one time passwords before via TOTP or HOTP?
111: [03:10:55] * AndrewL quit (Ping timeout: 246 seconds)
112: [03:13:44] * micmania1 has joined #silverstripe
113: [03:15:54] * spekulatius quit (Quit: Leaving)
114: [03:27:53] * veb quit (Quit: veb-irc: &)
115: [03:32:05] * phillprice has joined #silverstripe
116: [03:33:20] * camfindlay quit (Quit: camfindlay)
117: [03:33:39] * willr quit (Quit: willr)
118: [03:34:02] * veb has joined #silverstripe
119: [03:36:16] * phillprice quit (Ping timeout: 240 seconds)
120: [03:39:29] <simon_w|air> spronk2, I've got a module for it
121: [03:39:29] <simon_w|air> http://addons.silverstripe.org/add-ons/91carriage/2fa
122: [03:39:29] <simon_w|air> Uses TOTP
123: [03:40:00] <spronk2> simon_w|air oya... have you done this via SMS?
124: [03:41:21] <spronk2> more to the point i'm trying to figure out whether it makes sense to store the seed data if you're just SMSing the tokens
125: [03:42:26] * veb quit (Quit: veb-irc: &)
126: [03:43:08] <simon_w|air> spronk2, haven't done it via SMS. Would probably not do TOTP, but HOTP storing the counter and a time limit
127: [03:44:14] <spronk2> hmm
128: [03:51:07] * veb has joined #silverstripe
129: [03:52:58] * spekulatius has joined #silverstripe
130: [03:54:09] * wracu quit (Ping timeout: 276 seconds)
131: [03:54:20] <spronk2> why?
132: [03:54:20] <spronk2> i guess because a third party would have a harder time figuring out a counter than a time step
133: [03:54:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
134: [03:55:41] <simon_w|air> Also, you'll need a larger window if you're doing time based, so checking will be more computational intensive
135: [03:55:58] <spronk2> hmm
136: [03:55:59] <spronk2> true
137: [03:56:18] * babak has joined #silverstripe
138: [03:59:11] * novaweb quit (Quit: novaweb)
139: [04:02:56] * camfindlay has joined #silverstripe
140: [04:11:38] <MichalKleiner> anyone used https://gathercontent.com/ with SilverStripe before?
141: [04:17:33] <spronk2> guys
142: [04:17:33] <spronk2> are ss travis-ci builds broken on github atm?
143: [04:19:56] * wracu has joined #silverstripe
144: [04:20:07] <Ryan-Toast> spronk2: *shrug*
145: [04:21:11] <Colin[pi]> Ryan-Toast: !!
146: [04:21:15] <Colin[pi]> quick qn dude
147: [04:21:36] <Colin[pi]> see this image? (ignore lame subject type) http://i.imgur.com/f9rpWcX.jpg
148: [04:21:56] <Colin[pi]> got any suggestions on how to render a cover image (jpg) like this?
149: [04:22:03] <Colin[pi]> css? or some sort of server side thing?
150: [04:22:18] <Colin[pi]> (could probably lose the reflection)
151: [04:22:58] <Colin[pi]> I found this which is pretty sweet: http://codepen.io/jasondavis/pen/szbDf
152: [04:23:21] <Ryan-Toast> Colin[pi]: amazon does it, just copy their code.
153: [04:23:27] <Colin[pi]> with css?
154: [04:23:32] <Ryan-Toast> Yarp
155: [04:24:07] <Colin[pi]> hmm I'm just seeing regular thumbs here
156: [04:24:13] <Colin[pi]> but I could use thi codepen as a start
157: [04:24:15] <Colin[pi]> *this
158: [04:24:25] <Ryan-Toast> Colin[pi]: hmm, not quite as I remenber it, but hover over the “flip to back” http://www.amazon.com/Across-Nightingale-Floor-Tales-Otori/dp/1573223328
159: [04:24:40] <Colin[pi]> ah sweet, ta
160: [04:26:50] * UncleCheese has joined #silverstripe
161: [04:43:53] * Cheddam quit (Ping timeout: 250 seconds)
162: [04:44:24] * willr has joined #silverstripe
163: [04:53:37] * Phlunk3 quit (Quit: Leaving)
164: [05:05:01] * Hailwood quit (Quit: Leaving)
165: [05:18:23] * micmania1 quit (Quit: micmania1)
166: [05:20:05] * veb quit (Quit: veb-irc: &)
167: [05:20:59] * phillprice has joined #silverstripe
168: [05:21:55] * willr quit (Quit: willr)
169: [05:22:52] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
170: [05:25:22] * phillprice quit (Ping timeout: 256 seconds)
171: [05:28:13] * Hailwood has joined #silverstripe
172: [05:31:04] * willr has joined #silverstripe
173: [05:32:08] * Ryan-Toast quit (Quit: Ryan-Toast)
174: [05:34:52] * micmania1 has joined #silverstripe
175: [05:42:11] * Stomach quit (Quit: zzz)
176: [05:43:56] * willr quit (Quit: willr)
177: [05:49:03] * Arcax has joined #silverstripe
178: [05:49:23] <Arcax> Hi, good morning
179: [05:49:52] * willr has joined #silverstripe
180: [05:52:41] * veb has joined #silverstripe
181: [05:52:41] * veb quit (Client Quit)
182: [05:56:58] * camfindlay quit (Quit: camfindlay)
183: [05:57:54] * novaweb has joined #silverstripe
184: [05:59:10] * benjhocking has joined #silverstripe
185: [06:01:11] * willr quit (Quit: willr)
186: [06:02:33] * micmania1 quit (Quit: micmania1)
187: [06:06:56] * Mike123 has joined #silverstripe
188: [06:08:24] * Ryan-Toast has joined #silverstripe
189: [06:11:48] * benjhocking quit (Quit: Leaving.)
190: [06:13:06] * Colin[pi] quit (Ping timeout: 244 seconds)
191: [06:22:14] * Colin[pi] has joined #silverstripe
192: [06:27:48] * Ryan-Toast quit (Quit: Ryan-Toast)
193: [06:28:39] * benjhocking has joined #silverstripe
194: [06:30:01] * Eliseth has joined #silverstripe
195: [06:31:15] * Colin[pi] quit (Ping timeout: 256 seconds)
196: [06:35:40] * wmk has joined #silverstripe
197: [06:35:56] * willr has joined #silverstripe
198: [06:35:56] * willr quit (Client Quit)
199: [06:36:11] <wmk> *sigh* ss-helper, my friend, where are you?
200: [06:36:30] <Eliseth> morning
201: [06:36:39] <wmk> Eliseth, o/
202: [06:40:36] * micmania1 has joined #silverstripe
203: [06:41:42] * Shrike_Finland has joined #silverstripe
204: [06:45:33] * Shrike_Finland quit (Client Quit)
205: [06:48:20] <Arcax> Someone knows how to pass a variable to a handle form?
206: [06:54:44] <Mike123> hey guys, how do i make ajax call to controllers method ? i mean what is the best practce specify URL
207: [06:56:15] * novaweb quit (Quit: novaweb)
208: [06:57:21] <wmk> Ajax is just a http call ;)
209: [06:57:41] <wmk> so you need the action in the controller, this action returns something
210: [06:58:16] <wmk> in the action method you can decide to return the whole page or just a bit of html to replace with ajax using Director::is_ajax()
211: [06:59:00] <Arcax> I found I found something ... http://ajax-silverstripe.mmkdigital.com/#/7 (maybe help you)
212: [06:59:09] * Err404NotFound quit (Read error: Connection reset by peer)
213: [06:59:21] <wmk> Mike123, for forms i normally use something like https://gist.github.com/wernerkrauss/6473603
214: [06:59:25] <wmk> on the jquery side
215: [06:59:34] * Err404NotFound has joined #silverstripe
216: [07:00:02] <wmk> Arcax, that looks useful
217: [07:00:17] * willr has joined #silverstripe
218: [07:00:35] <Arcax> thanks wmk
219: [07:00:43] <Mike123> ok, thanks :)
220: [07:00:44] * benjhocking quit (Quit: Leaving.)
221: [07:02:18] * novaweb has joined #silverstripe
222: [07:02:53] * micmania1 quit (Quit: micmania1)
223: [07:04:43] * willr quit (Ping timeout: 250 seconds)
224: [07:04:54] * Cheddam has joined #silverstripe
225: [07:06:10] * Stomach has joined #silverstripe
226: [07:06:50] <Arcax> wmk, yesterday said me that i will need use $Top.commentOwnCommentForm(ID), but i need pass this variable to the handle (to do something with this variable), i try put any like that but not work FormAction::create('handleCommentOwnCommentForm($neededVariable)','Rating the comment');Could you give me any clue?
227: [07:08:12] <wmk> Arcax, Mike123... you're both working on comment stuff?
228: [07:09:14] <Mike123> well that is strange :) i'm working too on comments and rating
229: [07:09:28] <wmk> Arcax, well, method commentOwnCommentform($id) takes the param, creates the form and passes a hidden field with the current CommentID to the fieldlist
230: [07:09:47] * phillprice has joined #silverstripe
231: [07:10:10] <wmk> Mike123, Arcax and you want me to comment on your comment work?
232: [07:10:30] * Stomach quit (Client Quit)
233: [07:10:40] * mahfuz quit (Ping timeout: 246 seconds)
234: [07:10:50] * micmania1 has joined #silverstripe
235: [07:10:51] * wmk puts 5 euros in the bad-pun-piggybank
236: [07:12:19] <Arcax> Sorry, i do not know what is "bad-pun-piggybank"
237: [07:12:53] <wmk> nevermind
238: [07:14:08] <Arcax> What do you try to say? (Sorry for my english i use google traslate)
239: [07:14:10] * phillprice quit (Ping timeout: 256 seconds)
240: [07:14:50] * r_hector has joined #silverstripe
241: [07:15:14] * micmania1 quit (Ping timeout: 245 seconds)
242: [07:20:03] <wmk> Arcax, tried to say this pun with commenting on your comment stuff was reaĺly bad
243: [07:22:00] <Arcax> wmk, why? If good because i can sort the comment by usability comment
244: [07:22:15] <Arcax> (Is, not if)*
245: [07:24:53] <Arcax> wmk, I don't want commenting the comment, only i want rate the comment. So i can show the comment sorting by usability.
246: [07:28:37] * Sticks quit (Quit: Leaving)
247: [07:35:15] * Stomach has joined #silverstripe
248: [07:35:29] * swaiba has joined #silverstripe
249: [07:36:23] * swaiba quit (Remote host closed the connection)
250: [07:56:43] * Stomach quit (Quit: zzz)
251: [07:56:48] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
252: [07:58:30] * Stomach has joined #silverstripe
253: [08:00:56] <Eliseth> Question
254: [08:01:25] <Eliseth> I have a custom change/reset password thingy for my customers: http://sspaste.com/paste/show/55408fa70e628
255: [08:01:35] * kinglozzer has joined #silverstripe
256: [08:01:42] <Eliseth> Now I need to enforce complexity to it, so I found this: http://api.silverstripe.org/3.1/class-PasswordValidator.html
257: [08:01:57] <Eliseth> How do I implement the validator to my changepasswordform?
258: [08:02:16] <wmk> pass the validator to the form?
259: [08:03:04] <Eliseth> I have no idea what that means...
260: [08:05:29] <wmk> ah, that's no FormValidator...
261: [08:05:41] <wmk> just a plain Object
262: [08:06:17] <wmk> Docs say: Member::set_password_validator($pwdValidator);
263: [08:06:22] <wmk> in your _config.php
264: [08:08:00] * aditya has joined #silverstripe
265: [08:08:45] <aditya> hello can someone help me i installed silverstripe 3.1.12 when i try to access admin page it shows 404 not found
266: [08:12:48] <wmk> aditya, which webserver? apache?
267: [08:13:15] <wmk> try /index.php/admin/ if mod_rewrite isn't enabled
268: [08:15:32] <kinglozzer> Oh, Travis... y u kill MySQL? :(
269: [08:16:56] <aditya> yea using apache
270: [08:17:47] <wmk> aditya, can you see some default pages in frontend
271: [08:19:04] <aditya> yes sir i can access amin area with /index.php/admin but why can't i can load admin pags simply localhost/silverstripe/admin
272: [08:19:55] <aditya> how can i enable mod rewrite in ubuntu 14.10
273: [08:21:31] * jack has joined #silverstripe
274: [08:21:54] * jack is now known as Guest2418
275: [08:22:14] <Guest2418> hello how can i add login page in my site and how to make simple registration page
276: [08:24:58] <wmk> aditya, just google it ;) i found e.g. http://www.dev-metal.com/enable-mod_rewrite-ubuntu-14-04-lts/
277: [08:29:37] * aditya quit (Quit: Page closed)
278: [08:29:54] * aditya has joined #silverstripe
279: [08:30:06] <aditya> sir i have done all that but same problem
280: [08:32:55] * Guest2418 quit (Ping timeout: 246 seconds)
281: [08:33:12] <wmk> restarted apache?
282: [08:34:02] * GioVdK has joined #silverstripe
283: [08:34:24] <wmk> aditya, can you paste the output of phpinfo() e.g. on http://sspaste.org and send us the link?
284: [08:35:40] * mobiusnz quit (Quit: Leaving.)
285: [08:37:45] * mobiusnz has joined #silverstripe
286: [08:40:11] <aditya> sir my problem is resolved
287: [08:40:16] <aditya> thank you
288: [08:40:38] * Werner_2_ has joined #silverstripe
289: [08:43:58] * wmk quit (Ping timeout: 244 seconds)
290: [08:48:05] * mobiusnz quit (Quit: Leaving.)
291: [08:51:07] * aditya quit (Ping timeout: 246 seconds)
292: [08:52:01] * Colin[pi] has joined #silverstripe
293: [08:58:41] * phillprice has joined #silverstripe
294: [09:03:00] * Werner_2_ quit (Read error: Connection reset by peer)
295: [09:03:05] * phillprice quit (Ping timeout: 244 seconds)
296: [09:03:15] * mobiusnz has joined #silverstripe
297: [09:03:18] * Werner_2_ has joined #silverstripe
298: [09:06:58] <Eliseth> Hmm, where's wmk go... :(
299: [09:09:03] * Werner_2__ has joined #silverstripe
300: [09:09:14] * micmania1 has joined #silverstripe
301: [09:09:32] * Werner_2__ is now known as wmk
302: [09:09:50] <Eliseth> \o/
303: [09:13:18] * Werner_2_ quit (Ping timeout: 276 seconds)
304: [09:19:40] * Tanger quit (Quit: sleep())
305: [09:24:10] * UncleCheese has joined #silverstripe
306: [09:24:30] <wmk> hi UncleCheese
307: [09:24:33] <UncleCheese> hi
308: [09:24:37] <wmk> any plans to write an ajax tutorial?
309: [09:24:46] <wmk> ehem, lesson
310: [09:24:55] <UncleCheese> this week
311: [09:25:04] <UncleCheese> it's lesson 17
312: [09:25:07] <wmk> cool.
313: [09:29:51] * phillprice has joined #silverstripe
314: [09:32:31] * Stomach quit (Quit: zzz)
315: [09:44:44] * spronk2 quit (Quit: I may need a longer sleep timer...)
316: [09:44:55] * spronk2 has joined #silverstripe
317: [09:47:32] * huberd has joined #silverstripe
318: [09:49:04] <mobiusnz> huh
319: [09:49:40] <mobiusnz> I'm trying to implement a gridfield sortable row, using the module created by undefinedoffset, and I'm getting a php error 'undefined offset'
320: [09:55:14] * novaweb quit (Quit: novaweb)
321: [09:57:44] * spronk2 quit (Quit: I may need a longer sleep timer...)
322: [10:00:04] * huberd quit (Ping timeout: 246 seconds)
323: [10:11:24] * Eliseth quit (Ping timeout: 264 seconds)
324: [10:17:38] <wmk> mobiusnz, ;)
325: [10:23:05] <mobiusnz> heh, turned out to just need another template flush haha
326: [10:34:36] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
327: [10:38:21] * spronk2 has joined #silverstripe
328: [10:43:11] * Azure quit (Read error: Connection reset by peer)
329: [10:44:53] * micmania1 quit (Quit: micmania1)
330: [10:46:08] * micmania1 has joined #silverstripe
331: [10:47:11] * micmania1 quit (Client Quit)
332: [10:51:00] * Azure has joined #silverstripe
333: [10:54:52] * benjhocking has joined #silverstripe
334: [11:36:14] * spronk2 quit (Quit: I may need a longer sleep timer...)
335: [11:41:27] * UncleCheese has joined #silverstripe
336: [11:45:03] * aditya has joined #silverstripe
337: [11:45:25] <aditya> hello everyone i have installed comments module but its not working in cms
338: [11:52:47] <wmk> aditya, did you run /dev/build ? have you flushed?
339: [11:55:58] <aditya> yes sir i did all
340: [12:01:04] <wmk> i'm not the comments expert, but i think you'll need to add something to your templates, maybe add an extension to page ...
341: [12:02:10] <wmk> aditya, "not working" is not enough information for us to help us. how did you install? composer? has dev/build added new tables to db?
342: [12:02:17] <wmk> what does error.log say?
343: [12:03:45] <aditya> sir i manually installed and then dev/build database but comments tab is not showing in cms interface
344: [12:05:29] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
345: [12:06:02] <wmk> aditya, have you seen the docs? https://github.com/silverstripe/silverstripe-comments/blob/master/docs/en/Installing.md#enabling-commenting
346: [12:09:09] * huberd has joined #silverstripe
347: [12:10:10] <huberd> hey guys, I'm using the newsletter module, works fine, but at the unsubscribe page $Menu isn't working !?
348: [12:14:15] * UndefinedOffset has joined #silverstripe
349: [12:20:06] <Mike123> aditya: have you enables comments in your admin ?
350: [12:20:41] <aditya> how?
351: [12:21:09] * spronk2 has joined #silverstripe
352: [12:22:26] <aditya> even userforms module isn't working
353: [12:22:27] <Mike123> ok so...first add this to you mysite/_condig.php file : Config::inst()->update('here goes object on which you want comments to be enabled', 'extensions', array('CommentsExtension'));
354: [12:22:57] <Mike123> if it is a page from site tree, then add SiteTree
355: [12:23:21] <Mike123> is it page or what ?
356: [12:23:28] <Mike123> what do you want to comment ?
357: [12:23:28] <aditya> mike even userforms module working how come its possible
358: [12:23:50] <aditya> sorry not working userforms
359: [12:24:36] <aditya> when i previously installed ss 3.1 all was working good but after reinstallation something goes wrong maybe
360: [12:28:49] * aditya quit (Ping timeout: 246 seconds)
361: [12:33:44] * Eliseth has joined #silverstripe
362: [12:34:05] <Eliseth> ChangePasswordForm.php line 132: array('password' => nl2br("\n".$isValid->starredList()))
363: [12:34:23] <Eliseth> Form.ss line 5: <p id="{$FormName}_error" class="message $MessageType">$Message</p>
364: [12:35:15] <Eliseth> Renders invalid HTML at frontend because it is outputting &lt;br /&gt; in the code instead of <br />
365: [12:36:32] <Eliseth> Any thoughts on how to fix?
366: [12:36:41] <wmk> $Message.RAW Eliseth
367: [12:37:00] <Eliseth> Nope
368: [12:37:22] <wmk> the right template?
369: [12:38:15] <Eliseth> yup
370: [12:39:29] <Eliseth> I suspect the nl2br isn't formatting the string in the expected XML format so the template isn't parsing it correctly or something
371: [12:45:47] <Eliseth> Odd though, it's all core files. Output should be fine I'd think
372: [12:54:32] <wmk> argh, change locally, build on prod, that won't work
373: [12:54:53] <wmk> no, template doesn't parse anything
374: [12:55:14] <wmk> it just does a str_replace $Message -> value of $Message
375: [12:56:41] <wmk> hmm... $Message.XML ???
376: [12:59:29] <wmk> Eliseth, ^^
377: [12:59:38] <Eliseth> Tried, nope
378: [13:00:40] <Eliseth> That only makes it worse actually. generating &amp;lt;br /&amp;gt;
379: [13:01:49] <Eliseth> and $Message.HTML generates the same
380: [13:02:18] <wmk> you can check with xdebug in Form.php method sessionMessage what string is given.
381: [13:02:24] <wmk> should be normal html
382: [13:02:58] <wmk> $Message.Debug in template should give you some info
383: [13:03:32] <wmk> hah, sessionMessage escapes HTML!!!
384: [13:03:38] <wmk> Eliseth, i guess you found a bug
385: [13:04:19] <Eliseth> yay me... ffs
386: [13:04:55] <Eliseth> So how do I fix this then?
387: [13:05:55] <wmk> the call to SessionMessage , third param false.
388: [13:05:56] <wmk> http://api.silverstripe.org/3.1/class-Form.html#_sessionMessage
389: [13:07:00] <Eliseth> Right, so not a bug, but a feature :)
390: [13:07:09] <wmk> normally: feature
391: [13:07:11] <wmk> in this case: bug
392: [13:07:32] <wmk> though...
393: [13:07:42] * Colin[pi] quit (Ping timeout: 272 seconds)
394: [13:07:47] <wmk> you'd have to escape the string before you run nl2br
395: [13:09:12] <Eliseth> Keep in mind this is all in the core files.. I'm not running nl2br, ChangePasswordForm.php in Framework/security is
396: [13:09:22] * masnun has joined #silverstripe
397: [13:09:38] <Eliseth> I'm gonna use my own php now so I can pass the 3rd variable
398: [13:09:42] * masnun has left #silverstripe
399: [13:12:15] <Eliseth> aaaand it's working
400: [13:12:46] <wmk> *tusch*
401: [13:13:32] <Eliseth> so, bug or not?
402: [13:14:13] * cloph is now known as cloph_away
403: [13:16:06] * swaiba has joined #silverstripe
404: [13:16:55] <wmk> well, for core file it'd be
405: [13:16:57] <wmk> kinglozzer, ??
406: [13:22:04] <kinglozzer> Sup?
407: [13:22:09] * GioVdK quit (Ping timeout: 250 seconds)
408: [13:23:13] <phillprice> sounds like a bug to me
409: [13:23:41] <kinglozzer> Oh, just read. Yeah sounds like a bug to me too, patch it!
410: [13:25:42] * r_hector quit (Quit: Leaving.)
411: [13:45:55] * ss31noob has joined #silverstripe
412: [13:47:28] <ss31noob> hi. has someone use this addon already? just need some help.. https://github.com/silverstripe-labs/silverstripe-tagfield
413: [13:47:29] <ss31noob> ?
414: [13:49:32] <swaiba> ss31noob - I tried it the other day, didn't work as I expected out of the box
415: [13:49:36] <swaiba> what's your question
416: [13:53:36] * spronk2 quit (Quit: I may need a longer sleep timer...)
417: [13:56:13] <ss31noob> i cant make it work as well.. so just wanted to seek some help
418: [14:01:29] <ss31noob> swaiba, did you managed to make it work?
419: [14:06:02] <swaiba> not totally, I moved to something else
420: [14:06:15] <swaiba> it was the auto suggest bit that wan't coming up ss31noob
421: [14:10:17] <elgabbu> question ... if I use hte GridFieldSortableRows component on a gridfield
422: [14:10:57] <elgabbu> and the gridfield has multiple pages ... how can i send a row that is currently on the first page to another page?
423: [14:26:16] * PigeonFriend has joined #silverstripe
424: [14:40:34] * Mike123 quit (Quit: Page closed)
425: [14:45:40] * huberd quit (Ping timeout: 246 seconds)
426: [14:46:29] * DimiStripe has joined #silverstripe
427: [14:46:42] <wmk> ss31noob, i got it working in a 3.1 install, pretty basic
428: [14:46:54] <wmk> $tagField = new TagField('Tags', null, null, 'Page');
429: [14:46:54] <wmk> $tagField->setSeparator(',');
430: [14:47:26] <wmk> Page many_many Tags
431: [14:47:45] <wmk> Tag belongs_many_many Page
432: [14:48:55] * phillprice quit (Quit: Leaving...)
433: [14:49:46] <wmk> but i think it was a bit hard to setup the first time, read the docs twice
434: [14:51:09] <ss31noob> wmk, will try it now :)
435: [14:51:29] <wmk> Tag DO has just Title => Varchar
436: [14:52:22] <ss31noob> it should also have belongs_many_many right?
437: [14:52:32] <wmk> yup
438: [14:52:38] <wmk> wrote above
439: [14:53:52] <wmk> cu l8r
440: [14:54:02] * wmk quit (Quit: nice to meet you ;))
441: [15:07:01] * ss31noob quit (Ping timeout: 246 seconds)
442: [15:15:25] * swaiba quit (Remote host closed the connection)
443: [15:18:28] * muskie9 has joined #silverstripe
444: [15:23:31] * Shrike_Finland has joined #silverstripe
445: [15:37:28] * davelyon has joined #silverstripe
446: [15:38:13] * Shrike_Finland quit (Quit: Leaving.)
447: [15:38:30] <muskie9> anyone else get super vague error messages like this: http://puu.sh/hvbBs/b348eadf85.png
448: [15:38:50] <muskie9> I know it's something I did, but doesn't help in tracking down what exactly
449: [15:40:47] <kinglozzer> muskie9: My guess: you've started a new block in config.yml with --- but there's nothing in it
450: [15:40:59] <kinglozzer> This is why everyone hates yaml :P
451: [15:41:42] <muskie9> https://gist.github.com/muskie9/a31ec223dcc11d874b5c
452: [15:41:47] <davelyon> not sure how many of you are using the FunctionalTest class with silverstripe's functional testing, but once a form is submitted or a page gotten, is there a way to see what url the client reached?
453: [15:41:56] <muskie9> have the name set, but nothing else...
454: [15:42:44] <muskie9> is it better to leave the name out if there are no additional settings in the yml?
455: [15:43:49] * Eliseth quit (Ping timeout: 248 seconds)
456: [15:44:47] <kinglozzer> muskie9: If you're not setting anything else, what's the point? :P
457: [15:45:14] <kinglozzer> IIRC that's a header block, so it expects a content block to follow
458: [15:45:57] <muskie9> gotcha, thanks for the clarification kinglozzer, yml still gets me more times than not ;)
459: [16:00:40] * masnun_ has joined #silverstripe
460: [16:18:10] * cloph_away is now known as cloph
461: [16:25:28] * kinglozzer quit ()
462: [16:25:49] * davelyon has left #silverstripe
463: [16:27:24] * Hailwood quit (Quit: Leaving)
464: [16:30:52] * joelpittet has joined #silverstripe
465: [17:19:59] * muskie9 is now known as muskie9_afk
466: [17:26:08] * muskie9_afk is now known as muskie9
467: [17:32:52] * muskie9 quit (Ping timeout: 250 seconds)
468: [17:41:51] * gelignite has joined #silverstripe
469: [17:49:33] * nontgor quit (Read error: Connection reset by peer)
470: [17:57:06] * muskie9 has joined #silverstripe
471: [18:25:56] * vanny has joined #silverstripe
472: [18:26:18] <vanny> Hi All
473: [18:26:43] <vanny> is there a function to call $OtherID to the SS page
474: [18:35:04] * sekjal has joined #silverstripe
475: [18:37:12] <sekjal> I'm having some trouble with GridFieldAddNewMultiClass, namely that it won't let me create new records of a subclass
476: [18:37:49] <sekjal> call to dataFieldByName() on a non-object
477: [18:45:14] * masnun_ is now known as masnun|away
478: [18:46:17] * wmk has joined #silverstripe
479: [18:49:46] * DimiStripe quit (Quit: DimiStripe)
480: [18:55:28] <sekjal> okay, figured out my problem: have to actually return something from getCMSFields(). :/
481: [18:55:43] <vanny> good work.
482: [18:57:10] * masnun|away is now known as masnun_
483: [19:01:00] * sekjal_ has joined #silverstripe
484: [19:04:16] * sekjal quit (Ping timeout: 272 seconds)
485: [19:06:06] * sekjal_ quit (Ping timeout: 276 seconds)
486: [19:10:19] * Stomach has joined #silverstripe
487: [19:14:32] * Werner_2_ has joined #silverstripe
488: [19:17:34] * wmk quit (Ping timeout: 272 seconds)
489: [19:18:10] * Error404NotFound has joined #silverstripe
490: [19:20:30] * Err404NotFound quit (Ping timeout: 244 seconds)
491: [19:26:53] * Err404NotFound has joined #silverstripe
492: [19:26:53] * Error404NotFound quit (Disconnected by services)
493: [19:30:25] * Error404NotFound has joined #silverstripe
494: [19:32:19] * Err404NotFound quit (Ping timeout: 245 seconds)
495: [19:36:47] * Error404NotFound quit (Disconnected by services)
496: [19:36:47] * Err404NotFound has joined #silverstripe
497: [19:38:18] * Stomach quit (Quit: zzz)
498: [19:38:30] * Error404NotFound has joined #silverstripe
499: [19:41:49] * Err404NotFound quit (Ping timeout: 264 seconds)
500: [19:44:25] * Error404NotFound quit (Ping timeout: 265 seconds)
501: [19:48:37] * mobiusnz quit (Quit: Leaving.)
502: [19:50:08] * masnun_ quit (Quit: Signing out.)
503: [19:57:02] * Werner_2_ is now known as wmk
504: [19:57:04] <wmk> hey SphereSilver
505: [20:03:32] * mmkjay has joined #silverstripe
506: [20:04:11] <mmkjay> I need some help with Forms: I'm rendering a page using URL Handlers and want to put a Filter Form on the page. so that when the filter is submitted it runs the same page but with Filter Varaiables. Any help? I can't seem to get it tow ork like a traditional form.
507: [20:04:23] <mmkjay> as it tries to render the Controller as the URL. not the URL Handler URL.
508: [20:12:12] <wmk> mmkjay, paste some code please, e.g. on sspaste.org
509: [20:15:02] * Stomach has joined #silverstripe
510: [20:15:12] <wmk> mmkjay, what url is without form, what url should be with form?
511: [20:15:12] <mmkjay> http://pastebin.com/8iaMchBm
512: [20:15:19] <wmk> is the form get or post?
513: [20:15:35] <mmkjay> the url structure i'm using is section/category/
514: [20:15:42] <mmkjay> which uses url handlers to get the products.
515: [20:15:44] <wmk> Stomach, \0/
516: [20:15:59] <mmkjay> But then when I submit a form it goes to /category_controller
517: [20:16:19] <mmkjay> I need the form to resubmit into the url handler controller function so that I can do filteratoin before rendering
518: [20:16:51] <wmk> mmkjay, you didn't paste the form ;)
519: [20:17:03] <mmkjay> http://pastebin.com/mTfS2ZMK
520: [20:17:06] <mmkjay> thats the entire file.
521: [20:17:21] <mmkjay> Form is near the bottom in function filterForm()
522: [20:17:48] <wmk> here in austrain outback internet is slow today
523: [20:18:03] <mmkjay> However I try and submit the form it just tried to render the controller as a page. without hte url handler etc
524: [20:18:11] <mmkjay> that controller handles many functions depending on the URL.
525: [20:18:32] <wmk> yup
526: [20:18:45] <wmk> so - the form should send the data as POST or as GET (modify the URL) ?
527: [20:19:46] <mmkjay> POST
528: [20:20:00] <mmkjay> Ideally I want the url to stay as /model/category
529: [20:20:10] <wmk> and go to doFilterForm action
530: [20:20:28] <mmkjay> and by default it returns all of the products. if there are filters it will do the same function but with filters on the dataobject get.
531: [20:22:34] <wmk> afaik the current action is $this->request->param('Action');
532: [20:23:24] <mmkjay> currently when i submit the form the url goes to /controller_name_controller/doFilterForm
533: [20:23:58] <Stomach> hey wmk
534: [20:24:49] <wmk> mmkjay, http://api.silverstripe.org/3.1/class-Form.html#_setFormAction
535: [20:25:21] <wmk> mmkjay, and use ajax to update the list ;)
536: [20:25:51] <mmkjay> Yeah, I want to use Ajax in the long run.
537: [20:26:13] <mmkjay> How do I know what to set my formaction as? As the URL can be different evverytime.... there are hundreds of categories.
538: [20:26:49] <wmk> get the current url ...
539: [20:29:04] <mmkjay> Ok I'm new to silverstripe. Is there an easy way to do that?
540: [20:29:28] <wmk> mmkjay, $this->request->getURL() in controller
541: [20:29:39] <mmkjay> Thanks! I'll try that :)
542: [20:30:12] <wmk> http://api.silverstripe.org/3.1/class-SS_HTTPRequest.html#_getURL
543: [20:30:32] <wmk> the api docs of the SS_HTTPRequest object might be interesting ;)
544: [20:30:46] <mmkjay> THanks :) WIll give it a read.
545: [20:39:10] * mmkjay quit (Ping timeout: 246 seconds)
546: [20:45:27] * travis-ci has joined #silverstripe
547: [20:45:28] <travis-ci> chillu/silverstripe-cms#67 (pulls/3131-contentcontroller-datarecord - 6e81950 : Ingo Schommer): The build has errored.
548: [20:45:28] <travis-ci> Change view : https://github.com/chillu/silverstripe-cms/compare/48b754938cc3...6e81950fd883
549: [20:45:28] <travis-ci> Build details : http://travis-ci.org/chillu/silverstripe-cms/builds/60596090
550: [20:45:28] * travis-ci has left #silverstripe
551: [20:45:51] * Cheddam has joined #silverstripe
552: [20:53:28] * UndefinedOffset quit (Quit: Leaving.)
553: [20:53:43] * UndefinedOffset has joined #silverstripe
554: [20:54:52] * Cheddam quit (Quit: My Mac has gone to sleep. ZZZzzz…)
555: [20:55:01] * wracu quit (Ping timeout: 264 seconds)
556: [20:57:13] * Ryan-Toast has joined #silverstripe
557: [20:58:37] * UndefinedOffset quit (Ping timeout: 264 seconds)
558: [20:59:05] <vanny> Is there a way to get $OtherID on the Template View
559: [20:59:59] <Ryan-Toast> vanny: $OtherId?
560: [21:00:20] <wmk> you mean $this->request->param('OtherID') ?
561: [21:00:47] <vanny> using Action Handle /$ID/$OtherID... But straight to the SS page, not the controller
562: [21:01:21] <wmk> Page_Controller?
563: [21:01:37] <wmk> vanny, so you want to create a link to something?
564: [21:01:53] <wmk> what do you want to acchive?
565: [21:03:01] <vanny> im pushing to a link categoryID/productID id's so I want both to load for different functions
566: [21:04:43] <wmk> ok. $OtherID should be available in request->param()
567: [21:04:45] * Cheddam has joined #silverstripe
568: [21:04:57] <vanny> basically, if it has $otherID it will load a prefilled form from the table. If otherID != "" then it loads a blank form
569: [21:05:23] <wmk> where is the method to generate this form? in your controller?
570: [21:08:06] <vanny> its on the layout
571: [21:09:14] <vanny> $Top.Link\product_add\/$Client.ID\/$ID
572: [21:11:40] * novaweb has joined #silverstripe
573: [21:16:30] <novaweb> Ok, are ya’ll ready to laugh? Good. I want to create a really basic module… basically just to extend page class to include a requirements::javascript file. I don’t want users to have to manually include the
574: [21:16:51] <novaweb> javascript file in their page.php controller init function
575: [21:17:11] <novaweb> Install Module and BANG it works on all pages.
576: [21:18:12] <novaweb> Traditionally examples I have seen require you to manually include requirements in Page but bugger that
577: [21:18:21] <novaweb> WHAT DO!?
578: [21:18:24] <wmk> vanny, that's what Link() methods are good for normally
579: [21:18:33] <wmk> depends on where you can generate it.
580: [21:19:04] <wmk> maybe in controller? $Top.Link is controller's Link() method
581: [21:19:41] <vanny> my question is I can read it once in the main function but not in other functions on that page, is that correct?
582: [21:20:36] <wmk> so in controller function MakeProductLink($clientID, $ID) {return Director::join_links($this->Link(), '/path', $clientID', '$ID'); }
583: [21:20:53] <wmk> and in template $MakeProductLink($ClientID, $ID)
584: [21:21:08] <novaweb> I guess my question is more around what to extend. Controller? This isn’t a dataobject so extending DataExtension would be wrong.
585: [21:21:30] <wmk> see http://api.silverstripe.org/3.1/class-Controller.html#_join_links
586: [21:22:09] <wmk> novaweb, why not include javascript in templates?
587: [21:22:28] <wmk> i hate when modules want to require some script in php code...
588: [21:22:48] <novaweb> I want this to be an open source module that automatically adds a piece of javascript to all pages
589: [21:22:56] <wmk> in templates i can easily overwrite it (e.g. if i put those two lines of code in my own js file)
590: [21:23:16] <novaweb> I don’t want to take that approach
591: [21:23:45] <wmk> well, the good thing on two ways of handle something is that you can do it your way ;)
592: [21:23:51] <novaweb> I’m targetting open source users who have little to no dev resource, so has to be hand off technically. just install and go
593: [21:24:10] <novaweb> Where’s Mark when you need him!
594: [21:24:25] <novaweb> *hans off
595: [21:24:27] <novaweb> shit!
596: [21:24:29] <novaweb> *hands off
597: [21:25:07] <Ryan-Toast> novaweb: https://github.com/Rhym/silverstripe-boilerplate/blob/master/code/extensions/PageControllerExtension.php
598: [21:25:15] <wmk> Mark is superseded by Euro, novaweb
599: [21:25:29] <Ryan-Toast> novaweb: https://github.com/Rhym/silverstripe-boilerplate/blob/master/_config/config.yml#L14
600: [21:25:47] * ghostcheese has joined #silverstripe
601: [21:25:59] <novaweb> Thank you Ryan-Toast! Boom!
602: [21:26:06] <Ryan-Toast> novaweb: np :)
603: [21:26:09] <novaweb> wmk check that out so you see what I was meaning
604: [21:26:46] <wmk> novaweb, of course... combine files makes most sense in controller
605: [21:26:48] * sekjal has joined #silverstripe
606: [21:27:01] * micmania1 has joined #silverstripe
607: [21:27:03] * sekjal quit (Client Quit)
608: [21:29:34] <Ryan-Toast> wmk: doesn’t have to be combine_files, its just the best way to include js in all pages.
609: [21:29:39] <Ryan-Toast> in a module at least.
610: [21:29:55] * ghostcheese quit (Ping timeout: 246 seconds)
611: [21:30:11] <wmk> Ryan-Toast, yup.
612: [21:30:17] <Ryan-Toast> I want someone to start calling themselves AunyCheese.
613: [21:30:29] <Ryan-Toast> AuntyCheese**
614: [21:30:31] <wmk> but normal modules should include in template IMHO
615: [21:30:47] <wmk> kroatian word for cheese is "Sir"
616: [21:30:47] <Ryan-Toast> wmk: I would agree if there was a hook of some kind… but there isn't.
617: [21:31:15] <Stomach> combine files bad
618: [21:31:17] <Stomach> BAAAAD
619: [21:31:27] <wmk> Stomach, go and grunt
620: [21:31:37] <Stomach> gulp at the moment
621: [21:31:52] <Stomach> with browserify and less
622: [21:31:55] <wmk> gulp sounds like too much CO2 in drinks
623: [21:31:59] <Stomach> postcss and webpack next week hopefully
624: [21:32:04] <Ryan-Toast> Stomach: Only my bower_components get combined_files
625: [21:32:24] <Ryan-Toast> Stomach: the rest are: https://github.com/Rhym/silverstripe-boilerplate-installer/blob/master/Gruntfile.js#L94
626: [21:32:26] <wmk> well, combined files or grunt/gulp ...
627: [21:32:39] <Stomach> why not include the bower components in that?
628: [21:32:48] <Stomach> then you dont have to put them on the server
629: [21:32:59] <Ryan-Toast> Stomach: because I don’t know.
630: [21:33:01] <wmk> depends. combine_files works out of the box, grunt is a bit more advanced
631: [21:33:11] <Stomach> Ryan-Toast :P
632: [21:33:27] <Ryan-Toast> Stomach: Then I would ahave to have a build and a production task.
633: [21:33:29] <Ryan-Toast> And cbf
634: [21:34:07] <Stomach> our watch task runs dev mode
635: [21:34:12] <Stomach> and build always builds production
636: [21:34:15] <Ryan-Toast> Stomach: Oh, how?
637: [21:35:05] <Ryan-Toast> *waiting intensifies*
638: [21:35:36] <Stomach> Ryan-Toast http://pastie.org/10121096
639: [21:36:08] <Ryan-Toast> Stomach: where do you set your dev node?
640: [21:36:17] <Stomach> process.env.NODE_ENV = 'development';
641: [21:36:24] * Ryan-Toast not familiar with gulp
642: [21:36:38] <Stomach> and see the build:prod task
643: [21:36:44] <Stomach> all that does it runs our copy tasks
644: [21:36:55] <Ryan-Toast> Interesting
645: [21:36:56] <Stomach> which clean up and minify all the sources too, and remove all the source maps etc
646: [21:37:21] <Stomach> like : http://pastie.org/10121101
647: [21:37:26] <Ryan-Toast> I need to start building svg tasks, but my desgners are lazy and won’t make eme svgs :(
648: [21:38:42] <Stomach> lol
649: [21:38:57] <Ryan-Toast> Maybe when I’m in europe :P
650: [21:40:52] <Stomach> how the fuck do I require the "3" branch in composer
651: [21:40:56] <Stomach> from my own repo
652: [21:41:09] * Ryan-Toast quit (Quit: Ryan-Toast)
653: [21:42:02] <Stomach> ah got it
654: [21:42:04] <Stomach> "3.x-dev"
655: [21:42:52] * Ryan-Toast has joined #silverstripe
656: [21:44:03] <Ryan-Toast> Stupid mac pos
657: [21:47:01] * travis-ci has joined #silverstripe
658: [21:47:02] <travis-ci> silverstripe/silverstripe-cms#1186 (3.1 - bb17724 : Ingo Schommer): The build passed.
659: [21:47:02] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-cms/compare/221281dade4a...bb177249baba
660: [21:47:02] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/60366541
661: [21:47:02] * travis-ci has left #silverstripe
662: [21:48:51] <Ryan-Toast> So who’s giving a talk at the AKL meetup?
663: [21:50:27] <Stomach> no body!
664: [21:50:55] <Stomach> silverstripers by the looks of it
665: [21:50:56] <Ryan-Toast> YAY
666: [21:51:26] <Ryan-Toast> Is Swipestripe still being maintained?
667: [21:52:22] <Ryan-Toast> Looks like it’s dead...
668: [22:01:42] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
669: [22:01:55] <Stomach> Ryan-Toast - it is kind of
670: [22:02:04] <Stomach> we have a fork of it but its really LG specific now
671: [22:02:11] <Ryan-Toast> Stomach: The payment-module has security issue too, right?
672: [22:02:16] <Stomach> Ryan-Toast nope
673: [22:02:19] <Ryan-Toast> Stomach: No?
674: [22:02:22] <Ryan-Toast> Cool.
675: [22:02:37] <Stomach> we use omnipay now anyhow :P
676: [22:02:41] <Ryan-Toast> Stomach: I’LL MAKE MY OWN E-COMMERCE SOLUTION. WITH BLACKJACK, AND HOOKERS!
677: [22:02:56] <Ryan-Toast> Stomach: https://github.com/burnbright/silverstripe-omnipay ?
678: [22:03:05] <Stomach> Ryan-Toast yah
679: [22:03:19] <Ryan-Toast> Stomach: Oh I have that starred already… haha, didn’t realise.
680: [22:03:37] <wmk> so - what shop stuff to use now?
681: [22:03:39] <Stomach> I have too many stars now :(
682: [22:03:50] <Stomach> wmk - swipestripe still works
683: [22:03:51] <Ryan-Toast> Stomach: Time to do some unstarring.
684: [22:03:58] <Stomach> just needs a bit of work in some areas
685: [22:04:20] <Ryan-Toast> Didn’t SS buy out Swipestripe?
686: [22:04:24] <Stomach> no
687: [22:04:27] <Stomach> they employed Frank
688: [22:04:28] <Stomach> :P
689: [22:04:33] <Ryan-Toast> Ah, right.
690: [22:04:58] <wmk> Stomach, what about https://github.com/burnbright/silverstripe-shop
691: [22:04:59] <wmk> ?
692: [22:06:27] <Stomach> yeah that seems to work also :P
693: [22:07:01] * Ryan-Toast hates e-commerce
694: [22:07:11] <Stomach> yeah me too, its a difficult problem
695: [22:07:26] <Ryan-Toast> just the maintenence is a nightmare.
696: [22:07:34] <Ryan-Toast> OH WE NEED THIS FEATURE NOW, BTW
697: [22:16:48] <Stomach> yeah
698: [22:17:22] <Stomach> oh we want to have weight based shipping but only to new zealand if they haven't bought more than 3 items or $100 worth of stuff and its not the night of a full solar eclipse
699: [22:17:34] <Stomach> account manager: "sure, that'll be an hours work!"
700: [22:17:42] <Ryan-Toast> Ugh, god.
701: [22:17:54] <Ryan-Toast> Every time.
702: [22:20:22] <xyphoid> we did an ecommerce site a while back for company A, which sent orders to company B for fulfilment. did a test order for a pair of socks with sku 1234. received a case of 36 pairs of socks. turned out company B could not do fulfilment of anything smaller than a case.
703: [22:20:35] <Stomach> hahaha
704: [22:20:44] <xyphoid> (they still don't sell socks on their site now)
705: [22:20:48] <Ryan-Toast> lol
706: [22:21:54] * wmk quit (Ping timeout: 245 seconds)
707: [22:22:16] <Ryan-Toast> I swear the easiest way to become a millionaire is to make shitty online booking systems, and lock restaurants into 5 year contracts...
708: [22:22:45] <Ryan-Toast> “You have to use iFrames, because this is 2015 and technology hasn’t surpassed those yet"
709: [22:23:12] <Ryan-Toast> An API? What does that mean?
710: [22:28:05] * muskie9 is now known as muskie9_afk
711: [22:36:10] <adrexia> Ryan-Toast, to be fair, it really hasn't gotten that much better.
712: [22:36:21] <adrexia> at least not where js is concerned
713: [22:36:24] <Ryan-Toast> adrexia: In what way?
714: [22:37:10] <adrexia> it's still super hard to isolate javascript and reliably determine that your application specific js won't be messed up by something the surrounding website does
715: [22:37:24] <adrexia> iframe's are stuill the best way to create a sandbox
716: [22:37:25] <adrexia> :-/
717: [22:37:43] <Ryan-Toast> adrexia: I just want to have a naked form like how MailChimp offers.
718: [22:37:45] <Ryan-Toast> at least.
719: [22:37:49] <adrexia> yeah
720: [22:37:57] * antmas has joined #silverstripe
721: [22:38:03] <adrexia> as a developer, I'd like to be trusted
722: [22:38:08] <antmas> moin moin o/
723: [22:38:09] <Ryan-Toast> exactly.
724: [22:38:12] <Ryan-Toast> Morning
725: [22:38:50] <adrexia> but if I were making those systems, and knowing how cheap and amatuar a lot of those websites are... I'd also be super protective
726: [22:39:07] <Ryan-Toast> adrexia: Oh yeah, mos defs
727: [22:39:15] <Ryan-Toast> but you need to have options for your power users too.
728: [22:39:21] * veb has joined #silverstripe
729: [22:39:23] <adrexia> agree
730: [22:39:32] <adrexia> or at least - it's really nice if you do
731: [22:43:16] * micmania1 quit (Quit: micmania1)
732: [22:49:00] * babak quit (Quit: Connection closed for inactivity)
733: [22:49:15] * micmania1 has joined #silverstripe
734: [23:04:12] * mahfuz has joined #silverstripe
735: [23:13:13] * spronk2 has joined #silverstripe
736: [23:15:16] * mahfuz quit (Ping timeout: 246 seconds)
737: [23:21:28] * veb quit (Quit: veb-irc: quit)
738: [23:26:09] * Colin[pi] has joined #silverstripe
739: [23:26:23] <Colin[pi]> morning all o/
740: [23:26:50] <antmas> Colin[pi]: spronk2 o/
741: [23:28:33] <Colin[pi]> antmas spronk2 o/ o/
742: [23:31:01] * Sticks has joined #silverstripe
743: [23:35:09] <Stomach> \o/
744: [23:35:09] * joelpittet quit (Remote host closed the connection)
745: [23:36:00] <antmas> Stomach: o-
746: [23:38:05] * Azure quit (Excess Flood)
747: [23:38:18] <Colin[pi]> Stomach: o/
748: [23:38:26] <Stomach> how are we all today
749: [23:38:58] * Azure has joined #silverstripe
750: [23:38:59] <MichalKleiner> \~O~/
751: [23:39:07] <MichalKleiner> waving hands :-D
752: [23:39:20] <Ryan-Toast> Mother. Fucking. Jazz. Hands, yo.
753: [23:39:23] <MichalKleiner> good so far, I decided to quit alcohol for May
754: [23:39:36] <MichalKleiner> not sure how I'll do it but we'll see :-D
755: [23:42:47] <Colin[pi]> Ryan-Toast: http://i.imgur.com/1vj1DPV.gif
756: [23:43:09] <antmas> MichalKleiner: I'm doing the same!
757: [23:43:10] <antmas> :)
758: [23:43:15] <antmas> IT WILL BE A TEST
759: [23:43:28] <simon_w|air> Not drinking is insanely easy!
760: [23:44:12] <Ryan-Toast> Colin[pi]: http://www.reddit.com/r/reallifedoodles/top/?sort=top&t=all
761: [23:44:27] <antmas> Colin[pi]: ROFL
762: [23:44:31] <antmas> awesome
763: [23:44:44] <Colin[pi]> Ryan-Toast: lol subbed
764: [23:44:50] <Ryan-Toast> simon_w: http://i.imgur.com/lG0a0.gif
765: [23:45:32] <simon_w|air> Ryan-Toast, you heard me!
766: [23:45:44] <antmas> simon_w|air: does larksie drink?
767: [23:45:52] <simon_w|air> antmas, a little
768: [23:45:59] <antmas> makes total sense
769: [23:45:59] <antmas> :)
770: [23:46:08] <Ryan-Toast> simon_w|air: MArried life maybe, but single life is hard not to drink.
771: [23:46:16] * Stomach quit (Remote host closed the connection)
772: [23:46:17] <simon_w|air> Ryan-Toast, nope
773: [23:46:35] * Stomach has joined #silverstripe
774: [23:46:39] <antmas> Ryan-Toast: I'd reverse that statement
775: [23:46:44] <Ryan-Toast> simon_w|air: It’s of my opinion to disagree with that.
776: [23:50:50] <Ryan-Toast> Mainly because I’ve been going out and meeting new people at bars on the weekend.
777: [23:51:17] <spronk2> \o antmas Colin[pi]
778: [23:51:28] * micmania1 quit (Quit: micmania1)
779: [23:52:28] <Colin[pi]> Ryan-Toast: yeah but simon_w|air doesn't go to THOSE types of bars
780: [23:53:24] <Ryan-Toast> Colin[pi]: Who says he doesn’t? #secretlifeofsimon
781: [23:53:32] * micmania1 has joined #silverstripe
782: [23:53:38] <Colin[pi]> :D
783: [23:59:40] <novaweb> Cause for concern? [Composer\Repository\RepositorySecurityException]
784: [23:59:40] <novaweb> The contents of http://packagist.org/p/silverstripe/framework$c51c600bd98e90a17e04c83a5fc9bd1b8f32dbd0836852b6da413df2eddc6138.json do
785: [23:59:41] <novaweb> not match its signature. This should indicate a man-in-the-middle attack. Try running composer again and report this if you think it
786: [23:59:42] <novaweb> is a mistake.

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