#silverstripe IRC Log

IRC log for 30 March 2013

All timestamps are in UTC.

1: [00:03:00] <Zauberfisch> MarcusDalgren and after that? do you have like a road map, or do you fix what ever comes to mind next?
2: [00:03:00] <MarcusDalgren> no I have abit of a roadmap
3: [00:03:00] <MarcusDalgren> but I think we should create some kind of shared document
4: [00:04:00] <MarcusDalgren> cuz I tend to jump around and I might forget stuff
5: [00:04:00] <MarcusDalgren> and I want to know what features other people think are important
6: [00:04:00] <Zauberfisch> I usually have my issues list == todo list
7: [00:04:00] <Zauberfisch> well, you could also just write an issue for each thing you want to do
8: [00:06:00] <MarcusDalgren> yeah I have some issues on there but not the ones I see as further off
9: [00:06:00] <Zauberfisch> you could label them
10: [00:07:00] <Zauberfisch> create a label that says will be implemented later
11: [00:07:00] <MarcusDalgren> but the basic plan is to first nail the grammar properly and after that start working on more autocomplete stuff and autocomplete/resolutions for the framework
12: [00:07:00] <MarcusDalgren> for example if you do $dataObject.-> it should autosuggest properties from the db array and functions from the relations lists
13: [00:08:00] <Zauberfisch> (for example, $db can be defined in PHP and in config.yml)
14: [00:08:00] <MarcusDalgren> it would be so cool
15: [00:08:00] <MarcusDalgren> definately!
16: [00:08:00] <Zauberfisch> wow, from the relation list, thats gonna be a lot of work, you have big plans
17: [00:08:00] <MarcusDalgren> oh yeah the yml
18: [00:09:00] <Zauberfisch> what would be a cool feature would be "zen coding" like support for blocks
19: [00:09:00] <MarcusDalgren> hope there's a yml parser built in
20: [00:09:00] <MarcusDalgren> I bet that's going to be a headache
21: [00:09:00] <Zauberfisch> so its not only that you need to check the class it self and its parent classes, you also need to load all the config files
22: [00:09:00] <Zauberfisch> and if you are fancy, also all the extensions
23: [00:10:00] <MarcusDalgren> do you have any ideas for the syntax?
24: [00:10:00] <Zauberfisch> in intellij, if you type for example "span.foo" and press tab, it auto completes to <span class="foo"></span>
25: [00:11:00] <Zauberfisch> a possible syntax would be to say "if" completes to <% if CURSOR_HERE %><% end_if %>
26: [00:11:00] <Zauberfisch> "if$Foo" => <% if $Foo %>CURSOR_HERE<% end_if %>
27: [00:11:00] <Zauberfisch> and you could also support fancy things like so:
28: [00:12:00] <Zauberfisch> "if$Foo$Bar" => <% if $Foo && $Bar %>CURSOR_HERE<% end_if %>
29: [00:12:00] <Zauberfisch> "if$Foo|$Bar" => <% if $Foo || $Bar %>CURSOR_HERE<% end_if %>
30: [00:13:00] <MarcusDalgren> that would be really cool
31: [00:13:00] <Zauberfisch> "if$Foo=yay" => <% if $Foo == 'yay' %>CURSOR_HERE<% end_if %>
32: [00:13:00] <Zauberfisch> "loop$Foo" => <% loop $Foo %>CURSOR_HERE<% end_loop %>
33: [00:14:00] <MarcusDalgren> Im working on a typed handler right now
34: [00:14:00] <MarcusDalgren> I meant current line
35: [00:14:00] <MarcusDalgren> I'm going to see if theres a way to just grab the current string
36: [00:14:00] <Zauberfisch> "ifloop$Foo" => <% if $Foo %><% loop $Foo %>CURSOR_HERE<% end_loop %><% end_if %>
37: [00:15:00] <Zauberfisch> maybe you could look at how zen coding does it
38: [00:15:00] <Zauberfisch> it must be possible, zen coding does it
39: [00:16:00] <MarcusDalgren> I can get some of it but no implementations
40: [00:16:00] <MarcusDalgren> the problem is that all the code isn't open source
41: [00:16:00] <MarcusDalgren> so I can't read the code for PHPStorm for example
42: [00:19:00] <Zauberfisch> I do see a lot of zen classes there
43: [00:19:00] <Zauberfisch> have you checked that part?
44: [00:19:00] <Zauberfisch> https://github.com/JetBrains/intellij-community/tree/master/xml/impl/src/com/intellij/codeInsight/template/emmet
45: [00:19:00] <Zauberfisch> https://github.com/JetBrains/intellij-community/
46: [00:20:00] * Zauberfisch has joined #silverstripe
47: [00:20:00] * Zauberfisch quit (Read error: Connection reset by peer)
48: [00:23:00] <Zauberfisch_idle> dafuq just happend with my irc client
49: [00:23:00] <MarcusDalgren> Oooh that looks really cool
50: [00:23:00] * Zauberfisch_ quit (Read error: Connection reset by peer)
51: [00:23:00] * Zauberfisch_ has joined #silverstripe
52: [00:24:00] <Zauberfisch_idle> I know nothing of intellij plugin dev, but at first glance that looked like some stuff you could use
53: [00:26:00] * Zauberfisch quit (Ping timeout: 252 seconds)
54: [00:31:00] <Zauberfisch_idle> and thanks again for the awesome work MarcusDalgren!
55: [00:31:00] * terryapodaca has joined #silverstripe
56: [00:31:00] <Zauberfisch_idle> well, its bed time for me, have a good night
57: [00:32:00] <MarcusDalgren> I opened a ticket for it with a link to the repo and I mentioned you in the ticket
58: [00:33:00] <Zauberfisch_idle> MarcusDalgren already did
59: [00:33:00] <terryapodaca> how do i use the datalessfield or the CompositeField?
60: [00:33:00] <MarcusDalgren> you can add the syntax suggestions in the issue
61: [00:34:00] <terryapodaca> are they the same as the older LiteralFIeld?
62: [00:34:00] <Zauberfisch_idle> terryapodaca compositeField is just a collection of subfields
63: [00:34:00] <Zauberfisch_idle> it just a wrapper div if you want to call it like that
64: [00:34:00] <Zauberfisch_idle> you can do:
65: [00:34:00] <Zauberfisch_idle> CompositeField::create(array(
66: [00:34:00] <MarcusDalgren> :D
67: [00:35:00] <terryapodaca> so i want to use the DatalessField
68: [00:35:00] <Zauberfisch_idle> TextField::create(...),
69: [00:35:00] <Zauberfisch_idle> TextField::create(...),
70: [00:35:00] <terryapodaca> to do soemthing like this: new LiteralField('Required', '<p class="rq">All fields are required:</p>'),
71: [00:35:00] <Zauberfisch_idle> ));
72: [00:36:00] <terryapodaca> never mind!
73: [00:36:00] <terryapodaca> for some reason i thought it wasn't
74: [00:36:00] <terryapodaca> LiteralField is still there!
75: [00:36:00] <terryapodaca> ah crap
76: [00:39:00] * howardgrigg quit (Remote host closed the connection)
77: [00:39:00] <MarcusDalgren> you gots to have some fun when reporting
78: [00:39:00] <Zauberfisch_idle> MarcusDalgren haha, I like your milestone
79: [00:42:00] <Zauberfisch_idle> opened a ticket for it with a link to the repo and I mentioned you in the ticket
80: [00:42:00] <Zauberfisch_idle> fail
81: [00:42:00] <Zauberfisch_idle> bloody copy paste in this editor
82: [00:43:00] <Zauberfisch_idle> s/editor/irc client
83: [00:43:00] <Zauberfisch_idle> anyway, issue #7
84: [00:43:00] <Zauberfisch_idle> that should be on the milestone as well
85: [00:43:00] <Zauberfisch_idle> I think you should do all easy tasks first
86: [00:44:00] * LoveDuckie quit (Ping timeout: 264 seconds)
87: [00:46:00] <Zauberfisch_idle> I think zen coding should be done before #7 because its a lot easier
88: [00:48:00] <Zauberfisch_idle> #12 would also be cool, and shouldn't be to complex compared to #1 and #7
89: [00:48:00] * terryapodaca has left #silverstripe
90: [00:49:00] <Zauberfisch_idle> now I really go to bed
91: [00:49:00] <ss23> :P
92: [00:49:00] <ss23> nn Zauberfisch_idle!
93: [00:49:00] <ss23> Hmm, I know I've been up too long when Zauberfisch_idle goes to bed before me
94: [00:49:00] <Zauberfisch_idle> good night gents
95: [00:49:00] <Zauberfisch_idle> so
96: [00:50:00] <Zauberfisch_idle> but you are not allowed to go to bed, you have to clean up the bug tracker
97: [00:50:00] <Zauberfisch_idle> btw, migration to github is going to happen this weekend probably
98: [00:50:00] <Zauberfisch_idle> haha
99: [00:50:00] <Zauberfisch_idle> yeah
100: [00:51:00] <ss23> That is unfortunate! I think it needs more time spent closing old issues *shrug*
101: [00:51:00] <Zauberfisch_idle> trac with the old ones
102: [00:51:00] <Zauberfisch_idle> trac and github will run paralell for a while
103: [00:51:00] <Zauberfisch_idle> the old issues will still be on trac
104: [00:51:00] <ss23> Hmm
105: [00:51:00] <Zauberfisch_idle> github with new issues
106: [00:54:00] <ss23> ^.^
107: [00:54:00] <ss23> nn
108: [00:54:00] <Zauberfisch_idle> now, really bed time, god damn it
109: [01:18:00] * MarcusDalgren quit (Quit: Page closed)
110: [01:19:00] * DigNZ has joined #silverstripe
111: [01:42:00] * terryapodaca has joined #silverstripe
112: [01:43:00] <terryapodaca> how do I get email content into the ContactEmail template?
113: [01:43:00] <terryapodaca> ss3
114: [01:48:00] * DigNZ quit (Quit: DigNZ)
115: [01:50:00] <terryapodaca> is it <% loop Fields %>?
116: [01:50:00] <terryapodaca> or is that just for the userforms module
117: [01:58:00] * ajshort has joined #silverstripe
118: [02:04:00] <terryapodaca> the method 'fortemplate' does not exist on 'ArrayData'
119: [02:15:00] * DigNZ quit (Client Quit)
120: [02:15:00] * DigNZ has joined #silverstripe
121: [02:21:00] * Zauberfisch-idle has joined #silverstripe
122: [02:24:00] * Zauberfisch_idle quit (Ping timeout: 246 seconds)
123: [02:27:00] * howardgrigg has joined #silverstripe
124: [02:49:00] <FrozenFire> array of**
125: [02:49:00] <FrozenFire> It's a bit more crotchety than regular template rendering.
126: [02:49:00] <FrozenFire> terryapodaca, Email templates do tend to be a bit... odd
127: [02:49:00] <FrozenFire> You set the template, then call populateTemplate with an key-value pairs of data you want to have available
128: [02:50:00] <terryapodaca> i kept getting that error
129: [02:50:00] <FrozenFire> It's no different in SS3
130: [02:50:00] <terryapodaca> in 2.4 it was as simple as that..
131: [02:50:00] <terryapodaca> yeah
132: [02:50:00] * eikonos1 has joined #silverstripe
133: [02:51:00] <terryapodaca> 'fortemplate' does not exist on 'ArrayData'
134: [02:51:00] <FrozenFire> 3.1 has some new deprecation on one method that some code used, but you're unlikely to hit it
135: [02:51:00] <FrozenFire> That's because it does not.
136: [02:51:00] * ooystein_ has joined #silverstripe
137: [02:51:00] <FrozenFire> You should have an ArrayList for an array
138: [02:51:00] <FrozenFire> Most all email-related code is precisely the same
139: [02:52:00] <terryapodaca> what is $data that comes from the form?
140: [02:52:00] <FrozenFire> Where you before would've used a DataObjectSet, you now use a DataList or ArrayList
141: [02:53:00] <terryapodaca> ContactForm
142: [02:53:00] <FrozenFire> You should just be able to populate an email with that array
143: [02:53:00] <FrozenFire> E.g. $email->populateTemplate($data);
144: [02:53:00] <FrozenFire> It will contain the data from your form submission
145: [02:53:00] <FrozenFire> Oh, that.
146: [02:53:00] <FrozenFire> With the same names as the fields.
147: [02:53:00] <FrozenFire> Which form?
148: [02:54:00] * Ian_Harris has joined #silverstripe
149: [02:54:00] <FrozenFire> Not sure what ContactForm is
150: [02:54:00] <FrozenFire> So if you have new TextareaField("Message"), then $data will have "Message" => <that content>
151: [02:55:00] * ooystein quit (*.net *.split)
152: [02:55:00] <terryapodaca> i don't like that it's an array
153: [02:55:00] * popeshoe quit (*.net *.split)
154: [02:55:00] * eikonos quit (*.net *.split)
155: [02:55:00] <FrozenFire> It breaks things
156: [02:55:00] <FrozenFire> I tend not to use PhoneNumberField
157: [02:55:00] <FrozenFire> That complicates things
158: [02:55:00] <FrozenFire> Ah, right
159: [02:55:00] <terryapodaca> i was useing PhoneNumberField()
160: [02:55:00] <terryapodaca> I think I figured it out
161: [02:56:00] <FrozenFire> Indeed
162: [02:56:00] <FrozenFire> I recommend not using it.
163: [02:56:00] <terryapodaca> i could have been home 2 hrs ago!
164: [02:56:00] <FrozenFire> Phone numbers are incredibly hard to validate, so there's no sense in using a field that validates them
165: [02:56:00] <terryapodaca> i think that's what was causing all my issues
166: [02:59:00] <terryapodaca> time for a beer ot two!!
167: [02:59:00] <terryapodaca> thanks for the help
168: [03:00:00] * terryapodaca quit (Quit: Leaving.)
169: [03:03:00] * DigNZ has joined #silverstripe
170: [03:03:00] * DigNZ quit (Client Quit)
171: [03:08:00] * chrisrio has joined #silverstripe
172: [03:12:00] * SightUnseen quit (Client Quit)
173: [03:12:00] * SightUnseen has joined #silverstripe
174: [03:34:00] * howardgrigg quit (Remote host closed the connection)
175: [03:42:00] * DrCuriosity has joined #silverstripe
176: [03:45:00] * chrisrio quit (Ping timeout: 245 seconds)
177: [03:45:00] * ajshort quit (Ping timeout: 240 seconds)
178: [03:49:00] * shango has joined #silverstripe
179: [04:25:00] * shango quit (Quit: Textual IRC Client: www.textualapp.com)
180: [04:26:00] * CodeTrap quit (Ping timeout: 240 seconds)
181: [04:27:00] * joelpittet is now known as joelpittet|afk
182: [04:27:00] * CodeTrap has joined #silverstripe
183: [04:38:00] * cloph_away1 has joined #silverstripe
184: [04:40:00] * cloph_away quit (Ping timeout: 264 seconds)
185: [05:10:00] * bobdobbs quit (Remote host closed the connection)
186: [05:40:00] * joelpittet|afk is now known as joelpittet
187: [06:37:00] * SightUnseen has joined #silverstripe
188: [06:37:00] * SightUnseen has left #silverstripe
189: [06:55:00] * aaaaaaaa has joined #silverstripe
190: [07:27:00] * lx-berlin has joined #silverstripe
191: [07:30:00] * aaaaaaaa quit (Quit: Page closed)
192: [07:33:00] * LoveDuckie has joined #silverstripe
193: [07:33:00] * lx-berlin has left #silverstripe
194: [07:45:00] * rekt has joined #silverstripe
195: [08:15:00] * Zauberfisch has joined #silverstripe
196: [08:15:00] <Zauberfisch> good morning everyone
197: [08:23:00] * howardgrigg has joined #silverstripe
198: [08:28:00] * ajshort has joined #silverstripe
199: [09:10:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
200: [09:29:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3ff103a04c00...41039cc8d386
201: [09:29:00] * travis-ci has left #silverstripe
202: [09:29:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5917884
203: [09:29:00] <travis-ci> [travis-ci] silverstripe/sapphire#1835 (3.0 - 41039cc : Ingo Schommer): The build passed.
204: [09:29:00] * travis-ci has joined #silverstripe
205: [09:39:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/b90eafaf14bb...94ea56b604d6
206: [09:39:00] * travis-ci has joined #silverstripe
207: [09:39:00] <travis-ci> [travis-ci] silverstripe/sapphire#1836 (3.1 - 94ea56b : Ingo Schommer): The build passed.
208: [09:39:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5917948
209: [09:39:00] * travis-ci has left #silverstripe
210: [10:05:00] * priithansen has joined #silverstripe
211: [10:33:00] * ajshort has joined #silverstripe
212: [11:02:00] * howardgrigg quit (Remote host closed the connection)
213: [11:21:00] * DimiStripe quit (Quit: Page closed)
214: [11:24:00] * travis-ci has left #silverstripe
215: [11:24:00] * travis-ci has joined #silverstripe
216: [11:24:00] <travis-ci> [travis-ci] silverstripe/sapphire#1837 (3.1 - cc5cfed : Andrew Short): The build passed.
217: [11:24:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/94ea56b604d6...cc5cfed1e50c
218: [11:24:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/5918877
219: [11:25:00] <ss23> moin Zauberfisch
220: [12:06:00] <C10ne> Hm, do you have a situation that dev/build displays a blank page? It happens on 2 hosting accounts I have, everything works, but there's no output...
221: [12:08:00] <ss23> Only thing I can think of is a fatal error causing that *shrug*
222: [12:09:00] * ARNHOE has joined #silverstripe
223: [12:12:00] <Zauberfisch> C10ne error reporting off?
224: [12:13:00] * priithansen quit (Quit: priithansen)
225: [12:14:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
226: [12:22:00] * pex__ has joined #silverstripe
227: [12:22:00] <C10ne> It's on
228: [12:23:00] <C10ne> Zauberfisch: also environment is set to dev, not a big problem, since everything works, but would be nice to know that it worked. :)
229: [12:25:00] <pex__> hi everybody, Happy Easter:)
230: [12:25:00] <C10ne> ss23: There's no error, it works, just doesn't display any output.
231: [12:30:00] <C10ne> Well, two server there are.
232: [12:30:00] <Zauberfisch> C10ne maybe the server has some weird output buffer
233: [12:31:00] <Zauberfisch> that error causes the buffer never to be flushed
234: [12:31:00] <Zauberfisch> lets just assume that the devbuild starts the output buffer, then it builds DB, but later down an error occurs
235: [12:33:00] <Zauberfisch> C10ne are your assets writeable? for me thats the most common error I can have when running a dev build
236: [12:37:00] <C10ne> Zauberfisch: 755 for assets, don't bother, there's no error, I just asked if someone had a similar problem
237: [12:37:00] * DimiStripe has joined #silverstripe
238: [12:39:00] * pex__ has left #silverstripe
239: [12:40:00] <DimiStripe> HI Guys, I need adding a custom message for emails from CMS in ecommerce (sunnyside) module on SS3 for each order step. What would the proper way ? Should I modify classes with my HTMLField ? (which one then) ?
240: [12:40:00] <DimiStripe> any ideas please
241: [12:47:00] * ARNHOE quit (Ping timeout: 240 seconds)
242: [12:50:00] * gelignite has joined #silverstripe
243: [13:02:00] * Liquide has joined #silverstripe
244: [13:29:00] * DimiStripe quit (Quit: Page closed)
245: [13:37:00] * rekt quit (Quit: Nettalk6 - www.ntalk.de)
246: [14:18:00] * zfmf has joined #silverstripe
247: [14:40:00] * zfmf has left #silverstripe
248: [15:24:00] <elgrodo> Oh so SS3 has the 600px wide issue with image uploads as well.... grrrrrrrrrrrrrrrrrr :)
249: [16:09:00] * priithansen has joined #silverstripe
250: [16:18:00] * ARNHOE has joined #silverstripe
251: [17:09:00] * ARNHOE quit (Remote host closed the connection)
252: [17:34:00] * eikonos quit (Changing host)
253: [17:34:00] * eikonos1 is now known as eikonos
254: [17:34:00] * eikonos has joined #silverstripe
255: [18:28:00] * mrzero_ is now known as mrzero
256: [18:28:00] * mrzero_ quit (Changing host)
257: [18:28:00] * mrzero_ has joined #silverstripe
258: [18:28:00] * mrzero quit (Quit: 42)
259: [18:28:00] * mrzero_ has joined #silverstripe
260: [19:25:00] * SightUnseen has joined #silverstripe
261: [19:29:00] * SightUnseen has left #silverstripe
262: [19:52:00] * zfmf has joined #silverstripe
263: [19:59:00] <zfmf> he guys, on a project with 2.4 api gives a bad formatted json is there a way to hide the round brackets at beginning and at the end
264: [21:08:00] * priithansen quit (Quit: priithansen)
265: [22:15:00] * SightUnseen has joined #silverstripe
266: [22:21:00] * SightUnseen has left #silverstripe
267: [22:23:00] * SightUnseen has joined #silverstripe
268: [22:25:00] * elgrodo quit (Ping timeout: 258 seconds)
269: [22:27:00] * SightUnseen quit (Ping timeout: 245 seconds)
270: [22:29:00] * SightUnseen has joined #silverstripe
271: [22:29:00] * elgrodo has joined #silverstripe
272: [22:30:00] * SightUnseen has left #silverstripe
273: [22:55:00] * zfmf has left #silverstripe
274: [23:02:00] * rekt has joined #silverstripe

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