#silverstripe IRC Log

IRC log for 4 April 2013

All timestamps are in UTC.

1: [00:11:00] * howardgrigg has joined #silverstripe
2: [00:19:00] * bunyip-oz has joined #silverstripe
3: [00:20:00] * bunyip-oz quit (Client Quit)
4: [00:24:00] <joshkosmala> Is anyone here using SS3 Newsletter?
5: [00:27:00] * DigNZ has joined #silverstripe
6: [00:37:00] * Bollig|DesignCty has joined #silverstripe
7: [00:45:00] * k1ll3r-gyn has joined #silverstripe
8: [00:50:00] * EasyCo has joined #silverstripe
9: [00:52:00] <EasyCo> Where does SS do addFieldToTab() for each item in the $managed_models from ModelAdmin?
10: [00:55:00] * joshkosmala quit (Quit: joshkosmala)
11: [01:00:00] <Jakx> Pyromanik, do you have a trick for pushing new array values to the Session::set('YourSesisonTitle'); array? e.g I'm hoping to have an array of messages I can loop through and create a dialog for the user
12: [01:02:00] * Dynamic_Nic quit (Remote host closed the connection)
13: [01:03:00] * Dynamic_Nic has joined #silverstripe
14: [01:05:00] * liam__ has joined #silverstripe
15: [01:10:00] * LoveDuckie quit (Ping timeout: 252 seconds)
16: [01:13:00] <Jakx> oh, there's an add_to_array method
17: [01:15:00] <Jakx> Pyromanik, ty
18: [01:15:00] <Pyromanik> Jakx, yeh there... oh you found it
19: [01:16:00] <Pyromanik> I think that has it in it
20: [01:16:00] <Pyromanik> I don't think that's it
21: [01:16:00] <Pyromanik> Jakx, there's a method for specifically adding an array to the session
22: [01:16:00] <Pyromanik> look at RequiredFields
23: [01:17:00] <Pyromanik> can't remember from top of my head, sorry
24: [01:17:00] <Pyromanik> maybe Session::set does it automatically.
25: [01:18:00] <Jakx> Pyromanik, yeah - for some reason I'm thinking Session::set() overwrites what's already there
26: [01:18:00] <Pyromanik> well yeah
27: [01:19:00] <Jakx> Pyromanik, I will look in RequiredFields
28: [01:19:00] <Pyromanik> you'll need to know the key to get it back out again
29: [01:19:00] <Pyromanik> it's a KV store
30: [01:20:00] <Pyromanik> EasyCo, it doesn't.
31: [01:21:00] <Pyromanik> Jakx, yeah, that's actually what Form uses (it's not in RequiredFields after all)
32: [01:21:00] <Pyromanik> the model handles it's own cms form.
33: [01:21:00] <EasyCo> Pyromanik: Gotcha, I'm just kind of deconstructing everything to get a better grasp of how SS works.
34: [01:21:00] <Pyromanik> modeladmin doesn't have fields to have tabs in.
35: [01:21:00] <Jakx> Session::add_to_array() seems to be working fine
36: [01:21:00] <Pyromanik> it's purely an interface for listing objects.
37: [01:22:00] <Pyromanik> EasyCo, things are reasonably well designed.
38: [01:22:00] <Pyromanik> as it should be.
39: [01:22:00] <Pyromanik> a model is responsible for it's own data.
40: [01:23:00] <EasyCo> IMHO
41: [01:23:00] <EasyCo> I'm not sure what I think about the backend using jLayout though
42: [01:23:00] <EasyCo> Pyromanik: So far it's better structured then pretty much all other php cms/frameworks I've played with
43: [01:23:00] <Pyromanik> yeah well, that's why we use it!
44: [01:24:00] <Pyromanik> I keep getting people trying to tell me that ModX is the best thing around, and I usually respond by just laughing in their face.
45: [01:24:00] <Pyromanik> wouldn't know.
46: [01:24:00] <Pyromanik> does it? hmm.
47: [01:25:00] <Pyromanik> that is, unless you like the idea of storing PHP in the database then EVAL'n everything.
48: [01:25:00] <EasyCo> I've never heard of ModX until jut now
49: [01:25:00] <Pyromanik> the only downside is that SS is a bit resource intense
50: [01:25:00] <Pyromanik> intensive
51: [01:25:00] <Pyromanik> EasyCo, forget you ever did then.
52: [01:25:00] <EasyCo> Haha, how so?
53: [01:25:00] <EasyCo> ModX that is.
54: [01:25:00] <EasyCo> What's do bad about it?
55: [01:26:00] <Pyromanik> there's f-all of a framework there.
56: [01:26:00] <Pyromanik> basically, if you ever hear about it again, do what I do.
57: [01:26:00] <Pyromanik> from what I've seen
58: [01:26:00] <EasyCo> Ouch
59: [01:26:00] <Pyromanik> yeah.
60: [01:26:00] <Pyromanik> they overhauled it to be 'mvc'
61: [01:26:00] <Pyromanik> but it is still mostly the same shit.
62: [01:27:00] <EasyCo> Is it built on a 3rd party php framework or have they built their own like SS?
63: [01:27:00] <Pyromanik> Laugh in whoever suggested it's face.
64: [01:27:00] <Pyromanik> loud and obnoxiously.
65: [01:32:00] <Pyromanik> it originally forked out of etomite.
66: [01:33:00] <Pyromanik> The system is just stupid though, don't care to dig into it to see how they've 'updated' it.
67: [01:33:00] * Jedateach has joined #silverstripe
68: [01:34:00] * k1ll3r-gyn quit (Ping timeout: 260 seconds)
69: [01:34:00] <Pyromanik> any system with a newsletter module that relies on javascript to send out doesn't deserve any focus.
70: [01:34:00] * Jedateach quit (Client Quit)
71: [01:35:00] <Jedateach> has silverstripe dawn been retired, or are the links just broken?
72: [01:35:00] * Jedateach has joined #silverstripe
73: [01:40:00] <simon_w> It's gone
74: [01:40:00] <Jedateach> simon_w: ie not running any more?
75: [01:41:00] <Jedateach> ie, whats the best alternative?
76: [01:41:00] <simon_w> That's one way of putting it
77: [01:41:00] <Jakx> it didn't last long
78: [01:41:00] <Jedateach> ah k, what's the next best thing?
79: [01:41:00] <ss23> It was just monotiring? Doesn't Rimu have something like that?
80: [01:42:00] <ss23> If it's anything like zonomi, it'll be kick-ass awesome
81: [01:42:00] <willr_> Yep. Usually the case.
82: [01:42:00] <ss23> I blame willr_ for it
83: [01:42:00] * willr_ has joined #silverstripe
84: [01:42:00] <ss23> http://pingability.com/
85: [01:42:00] <ss23> Pingability maybe
86: [01:43:00] <Jakx> lol
87: [01:43:00] <willr_> harden up.
88: [01:43:00] <willr_> People seem so afraid of blame.
89: [01:43:00] <ss23> :D
90: [01:43:00] <ss23> lol
91: [01:45:00] <willr_> So what broke now ss23?
92: [01:47:00] <ss23> willr_: Dawn
93: [01:48:00] <willr_> Ah, been shut down yet? I only did the shiny javascript animated stuff
94: [01:48:00] <ss23> simon_w broke the news
95: [01:48:00] <willr_> Bit of a shame the backend was such a fuckup it couldn't even run without dedicated hardware
96: [01:48:00] <ss23> Yeah, something like that
97: [01:49:00] <willr_> In theory it was a great service / add on to plug into sites. Just far too expensive to make it work
98: [01:49:00] <willr_> Thought the news was broken years ago :P
99: [01:50:00] <simon_w> Yeah, so did I
100: [01:50:00] <simon_w> Maybe it wasn't public?
101: [01:51:00] <willr_> #fail
102: [01:51:00] <willr_> Well the backend infrastructure was so poor they didn't actually want people on it for a while.
103: [01:52:00] <simon_w> And then keeping it working
104: [01:52:00] <simon_w> And then uninstalling it
105: [01:52:00] <simon_w> We had lots of fun getting it working
106: [01:52:00] <willr_> Rentboxappthing must be feature complete soon.. :P
107: [01:52:00] <willr_> simon_w you're the product expert now, take it under your wing
108: [01:53:00] <simon_w> Ahahahahaha :p
109: [01:53:00] <simon_w> https://pocketrent.com/blog/property-health-graphs-and-reports/
110: [01:53:00] <simon_w> Ooh, we have pretty graphs now!
111: [01:54:00] <ss23> My mother is playing Portal 2. She just walked under a lser in the game, totally ducked IRL as she did it
112: [01:56:00] <willr_> <insert joke here>
113: [01:56:00] <willr_> ss23 portal 2? how old is your mum?
114: [01:56:00] <simon_w> willr_, you missed the easier option. ss23 is still living with his mum.
115: [01:57:00] <Jakx> I used to lol at people who lived with their olds, then I found out that Jon Gooch still lives with his.
116: [01:57:00] <willr_> I can't say much. I'm still living at home but that's because I'm waiting for my house to be built :P
117: [01:58:00] <Jakx> so if anything, it's resourceful lol
118: [01:59:00] <ss23> When I was 17 I left and moved to a different country to live by myself
119: [01:59:00] <ss23> How long did it take YOU to move out, simon_w?
120: [01:59:00] <ss23> simon_w: Sure, just like I wasn't
121: [02:02:00] <simon_w> Until I found a flat
122: [02:04:00] * howardgrigg quit (Remote host closed the connection)
123: [02:04:00] * joelpittet has joined #silverstripe
124: [02:06:00] * Jeremy_ is now known as clodeindustrie
125: [02:06:00] * Jakx quit (Quit: ~ Trillian Astra - www.trillian.im ~)
126: [02:06:00] * Jeremy_ has joined #silverstripe
127: [02:07:00] <clodeindustrie> hi there
128: [02:07:00] <clodeindustrie> can anyone tell me what class is implicitly accessed when using properties or methods in a template?
129: [02:09:00] <simon_w> The one that's currently in scope
130: [02:10:00] <clodeindustrie> thanks
131: [02:10:00] <clodeindustrie> hum I may confused then I will have to read the doc
132: [02:11:00] <willr_> http://doc.silverstripe.org/framework/en/reference/templates discusses scope
133: [02:11:00] * willr_ has left #silverstripe
134: [02:11:00] * willr_ has joined #silverstripe
135: [02:11:00] <clodeindustrie> thanks
136: [02:16:00] * travis-ci has left #silverstripe
137: [02:16:00] * travis-ci has joined #silverstripe
138: [02:16:00] <travis-ci> [travis-ci] simonwelsh/silverstripe-framework#12 (master - ef3d974 : Ingo Schommer): The build passed.
139: [02:16:00] <travis-ci> [travis-ci] Change view : https://github.com/simonwelsh/silverstripe-framework/compare/0fd6d14f94d1...ef3d974821e8
140: [02:16:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/simonwelsh/silverstripe-framework/builds/6036546
141: [02:19:00] <clodeindustrie> what class does Children belong to? when you use it in a loop in a template for example
142: [02:20:00] <simon_w> It's part of the Hierarchy extension, usually applied to SiteTree or File
143: [02:21:00] <willr_> clodeindustrie you have access to any extensions on the currently scoped object
144: [02:21:00] <clodeindustrie> ok so I should have access to the hierarchy extension methods from the template then?
145: [02:21:00] * SticksM has joined #silverstripe
146: [02:21:00] <clodeindustrie> ok so from the template I should be able to access the children of the parent of the current page
147: [02:22:00] <willr_> sure. <% loop Parent.Children %> might work or you can do <% with Parent %><% loop Children %>
148: [02:23:00] <clodeindustrie> thanks
149: [02:23:00] <clodeindustrie> damn it and that was that easy
150: [02:27:00] * liam__ quit (Quit: liam__)
151: [02:34:00] <clodeindustrie> is Parent an alias for something else? I can't find it in the api
152: [02:36:00] * Colin[pi] has joined #silverstripe
153: [02:39:00] * liam__ has joined #silverstripe
154: [02:40:00] * liam__ quit (Client Quit)
155: [02:41:00] <simon_w> clodeindustrie, both getParent and the has_one named Parent added by Hierarchy
156: [02:41:00] * Colin[pi] quit (Ping timeout: 256 seconds)
157: [02:42:00] <clodeindustrie> cool thanks
158: [02:50:00] * Jedateach has left #silverstripe
159: [02:55:00] <clodeindustrie> hey can I use Debug::show($myVariable) in a template?
160: [02:58:00] <simon_w> No, but you can use $myWavriable.Debug
161: [02:59:00] <clodeindustrie> ah awesome
162: [02:59:00] <ss23> "Oh you're a construction worker? I have this great idea for a building."
163: [03:14:00] * howardgrigg has joined #silverstripe
164: [03:18:00] <Pyromanik> ss23, lol
165: [03:19:00] * howardgrigg quit (Ping timeout: 264 seconds)
166: [03:25:00] * cloph_away has joined #silverstripe
167: [03:27:00] * cloph quit (Ping timeout: 258 seconds)
168: [03:28:00] * Colin[pi] has joined #silverstripe
169: [03:35:00] * nickmolhoek quit (Quit: nickmolhoek)
170: [03:45:00] * DigNZ quit (Quit: DigNZ)
171: [03:49:00] * Colin[pi] quit ()
172: [03:53:00] * nik has joined #silverstripe
173: [03:54:00] * nik has left #silverstripe
174: [03:54:00] <priithansen> Latest master in dev mode doesn't like "$allowed_actions must be marked as private" but lots of extensions still have it public. Can I disable these notices for time being?
175: [03:56:00] <simon_w> Better idea: don't use code that doesn't support the version you're running
176: [04:00:00] <priithansen> master seems to work much smoother for me then 3.1 dev. Would setting allowed_actions and the like to private brake them on 3.1 ?
177: [04:00:00] <priithansen> break*
178: [04:01:00] <priithansen> If not I could fix and make pull requests to modules
179: [04:02:00] <simon_w> But worse
180: [04:02:00] <simon_w> Kinda like 2.3's i18n
181: [04:02:00] <simon_w> Yup, it'd break them
182: [04:02:00] <simon_w> 3.2 is going to be a BC nightmare
183: [04:03:00] <priithansen> :)
184: [04:03:00] <lewellyn> er. simon_w even.
185: [04:03:00] <lewellyn> ss23: why not bump it to 4.0 so people expect it more ;)
186: [04:03:00] <priithansen> BC before christ?
187: [04:03:00] <ss23> Backwards compatibility!
188: [04:04:00] <simon_w> yup
189: [04:04:00] <simon_w> That's possible
190: [04:04:00] <simon_w> Though I think the private thing's actually a 3.1 change
191: [04:04:00] <simon_w> http://doc.silverstripe.org/framework/en/3.1/changelogs/3.1.0#static-properties-are-immutable-and-private-you-must-use-config-api
192: [04:06:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
193: [04:09:00] <priithansen> thanks for the link Deprecation::notification_version('3.1.0-dev'); will ~fix the problem for now
194: [04:11:00] * Pyromanik quit (Quit: Leaving)
195: [04:19:00] <simon_w> willr_, you should be pedantic on sapphire/#1360 too!
196: [04:21:00] <simon_w> Home time!
197: [04:25:00] <EasyCo> In my $summary_fields I use the dot notation to access a a related fields: "UnitType.Title' and all works fine. But The generated gridfield from ModelAdmin show the field at UnitType.Title. How do I modify the title text?
198: [04:35:00] <willr_> simon_w when I get home!
199: [04:36:00] <willr_> it is a non trivial sort of patch
200: [05:04:00] * Shrike_Finland has joined #silverstripe
201: [05:14:00] * howardgrigg has joined #silverstripe
202: [05:19:00] * howardgrigg quit (Ping timeout: 245 seconds)
203: [05:29:00] * DrCuriosity quit (Ping timeout: 256 seconds)
204: [05:31:00] * ec8or has joined #silverstripe
205: [05:38:00] * ec8or_ quit (Ping timeout: 276 seconds)
206: [06:05:00] * howardgrigg has joined #silverstripe
207: [06:09:00] * howardgrigg quit (Ping timeout: 260 seconds)
208: [06:10:00] * joelpittet is now known as joelpittet|zzz
209: [06:28:00] * willr__ has joined #silverstripe
210: [06:28:00] * willr__ has joined #silverstripe
211: [06:28:00] * willr__ quit (Changing host)
212: [06:29:00] * howardgrigg has joined #silverstripe
213: [06:29:00] * willr__ forgot to sign out at work
214: [06:33:00] * SticksM quit (Read error: Connection reset by peer)
215: [06:36:00] * LoveDuckie has joined #silverstripe
216: [06:41:00] <ss23> willr__: Noob!
217: [06:42:00] <willr__> Must have been in too much of a rush to get out of there.
218: [06:43:00] <g4b0> hi all
219: [06:43:00] * g4b0 has joined #silverstripe
220: [06:46:00] <ss23> heya, g4b0
221: [06:55:00] * EasyCo quit (Quit: EasyCo)
222: [06:56:00] * ARNHOE has joined #silverstripe
223: [06:59:00] * Motoservo_ quit (Quit: Shhh. I'm trying to get some sleep here.)
224: [07:00:00] * Motoservo has joined #silverstripe
225: [07:07:00] * priithansen quit (Quit: priithansen)
226: [07:07:00] <ARNHOE> Hi willr, I got a question for UserForms. When adding a field, the field names such as (Checkbox field, Text field etc) aren't translated to another language, while they are defined in the nl.yml
227: [07:21:00] * guci0 has joined #silverstripe
228: [07:21:00] <guci0> Hello!
229: [07:23:00] <ss23> heya, guci0
230: [07:27:00] * mirrors has joined #silverstripe
231: [07:29:00] <mirrors> Hey willr__ I am having trouble with the userforms module now that UserDefinedForm_EmailRecipient::$db is private
232: [07:29:00] <mirrors> PHP Fatal error: Access level to UserDefinedForm_EmailRecipient::$db must be public (as in class DataObject)
233: [07:34:00] * Liquide quit ()
234: [07:39:00] * howardgrigg quit (Remote host closed the connection)
235: [07:49:00] <ARNHOE> mirrors: if you update to the latest version from github, this will be fixed
236: [07:50:00] <ARNHOE> https://github.com/silverstripe/silverstripe-userforms the master branch for 3.1
237: [08:00:00] <mirrors> ARNHOE: the latest version here still uses private
238: [08:01:00] <mirrors> should i use the 0.5 branch
239: [08:01:00] <ARNHOE> If you are using 3.1, you should be the master branch and branch 1.0 for 3.0
240: [08:01:00] <simon_w|air> mirrors, if you're running 3.1, you should update to a later build (of framework/cms)
241: [08:04:00] * kinglozzer has joined #silverstripe
242: [08:05:00] * chillu has joined #silverstripe
243: [08:10:00] * ocm has joined #silverstripe
244: [08:10:00] <ocm> howdy!
245: [08:13:00] <ss23> Heya, ocm!
246: [08:13:00] <ocm> it should be sunny and springlike
247: [08:13:00] <ocm> why is it so damn snowy outside?
248: [08:14:00] <ocm> i was talking about spring, not summer :D
249: [08:14:00] <ss23> :O
250: [08:14:00] <ss23> Cold > summer
251: [08:15:00] <simon_w|air> Blankets
252: [08:15:00] <simon_w|air> It's like some people have never been students...
253: [08:15:00] <simon_w|air> It means you can stay inside on the internet all day!
254: [08:15:00] <ocm> I have seen enough, its freakin cold
255: [08:15:00] <ocm> well, I just dont want more snow
256: [08:15:00] <simon_w|air> Silly people
257: [08:15:00] <simon_w|air> What's with people and wanting the sun?
258: [08:15:00] <ocm> oh I do that anyways, but it would be more comfortable without hte cold
259: [08:15:00] <ocm> and the heatingbill is coming sky high
260: [08:16:00] <ocm> blankets? I cant type with blankets
261: [08:16:00] <ocm> oh I have been a student
262: [08:16:00] * chillu quit (Read error: Connection reset by peer)
263: [08:16:00] <ocm> but then I used to drink a hell lot of more coffee to feel numb :P
264: [08:16:00] * chillu has joined #silverstripe
265: [08:17:00] <ocm> you are in NZ
266: [08:17:00] <ocm> but simon_w, you dont even now what cold is.. nor snow
267: [08:18:00] <ss23> But still, I've lived in AU for long enough to know that anything is more bearable than that stupid heat
268: [08:18:00] <ss23> It's true, NZ cold is just "cold"
269: [08:19:00] <simon_w|air> Stupid black ice on the steps
270: [08:19:00] <ocm> black ice?
271: [08:19:00] <simon_w|air> You say you know about snow and you don't know black ice...
272: [08:19:00] <ocm> asphalt?
273: [08:19:00] <simon_w|air> Ice you can't see
274: [08:19:00] <ss23> fuck the sun
275: [08:19:00] <simon_w|air> I've had to walk to uni in the snow
276: [08:20:00] * Zauberfisch has joined #silverstripe
277: [08:21:00] <ocm> so I know about cold and ice and stuff
278: [08:21:00] <ocm> lol, I have been camping in -32 celcius
279: [08:22:00] <ocm> onre, why not?
280: [08:22:00] <onre> last year's winter we had -30 for weeks. going camping was about the last thing that i thought of :p
281: [08:22:00] <simon_w|air> ss23, yeah, I've been in Auckland too :p
282: [08:22:00] <ocm> haha
283: [08:22:00] <ss23> Yeah well I once went out and it was so hot that I felt sick and had to go back inside.
284: [08:22:00] <onre> why would you do that?
285: [08:23:00] <ss23> It got to ~43 in Sydney while I was there, I died :<
286: [08:23:00] <ocm> I rather have it below 25
287: [08:23:00] <ocm> 43? thats hot!
288: [08:23:00] * mirrors quit (Quit: Page closed)
289: [08:23:00] <simon_w|air> It got to 29 in Wellington on Christmas
290: [08:23:00] <ss23> I had my AC on 24/7 for a week and IT DID NOTHING
291: [08:23:00] <simon_w|air> And I had to go walking uphill :(
292: [08:23:00] <ss23> Damn right 43 is hot
293: [08:23:00] <simon_w|air> And like 95% humid
294: [08:24:00] <ss23> ;_;
295: [08:24:00] <ss23> Had to move my bed to the other side of the room, 2m away from that window in the morning was so hot...
296: [08:24:00] <ss23> I would wake up at ~7:30am, my entire room too hot to sleep any more. Had a window facing the morning sun
297: [08:24:00] <ss23> I <3 NZ
298: [08:29:00] <ss23> oh
299: [08:29:00] <ss23> damn.
300: [08:29:00] <simon_w|air> yeah
301: [08:29:00] <simon_w|air> ice, not ice cream
302: [08:29:00] <ss23> simon_w|air: That sounds like a mixed blessing. On one hand, ice cream... on the other...
303: [08:29:00] <simon_w|air> We used to have an ice machine in the office. Made it like 10 degrees warmer and all the percents more humid than outside
304: [08:30:00] <simon_w|air> The pathetic red bull fridge does a better job
305: [08:30:00] <simon_w|air> But it's gone!
306: [08:30:00] <simon_w|air> Which means winter's going to be rather cold
307: [08:30:00] <simon_w|air> And it would barely cool down our drinks
308: [08:30:00] <ss23> In that case, SCREW IT. Down with the ice machine!
309: [08:30:00] <ss23> mm
310: [08:31:00] * willr__ quit (Quit: willr__)
311: [08:34:00] * mrzero_ has joined #silverstripe
312: [08:34:00] * mrzero_ quit (Changing host)
313: [08:34:00] * mrzero_ is now known as mrzero
314: [08:34:00] * mrzero_ has joined #silverstripe
315: [08:34:00] * mrzero quit (Remote host closed the connection)
316: [08:36:00] * waveydave has joined #silverstripe
317: [08:50:00] * howardgrigg has joined #silverstripe
318: [08:54:00] * howardgrigg has joined #silverstripe
319: [08:54:00] * popeshoe has joined #silverstripe
320: [08:54:00] * howardgrigg quit (Read error: No route to host)
321: [09:08:00] * howardgrigg quit (Remote host closed the connection)
322: [09:10:00] * zfmf has joined #silverstripe
323: [09:13:00] <elgrodo> borderline 40C in Bangkok at the moment. Perfect cricket weather :)
324: [09:13:00] <elgrodo> (for nutters)
325: [09:16:00] * travis-ci has joined #silverstripe
326: [09:16:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6044593
327: [09:16:00] * travis-ci has left #silverstripe
328: [09:16:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b8727140822a...04bb85a78da8
329: [09:16:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#316 (3.0 - 04bb85a : Ingo Schommer): The build passed.
330: [09:17:00] * ajshort has joined #silverstripe
331: [09:23:00] * david_bru has joined #silverstripe
332: [09:25:00] * NoBone has joined #silverstripe
333: [09:26:00] <NoBone> Anybody know why this changed? It breaks my foundation 4 theme
334: [09:26:00] <NoBone> Hi everybody, i got a strange question. There is a change in Requirements.php in the beta2 $p1 = stripos($content, '<script', $p2);
335: [09:26:00] * travis-ci has joined #silverstripe
336: [09:26:00] <travis-ci> [travis-ci] silverstripe/sapphire#1880 (3.0 - ed19bbc : Ingo Schommer): The build passed.
337: [09:26:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a99c829ed1db...ed19bbc3ba29
338: [09:26:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6044625
339: [09:26:00] * travis-ci has left #silverstripe
340: [09:26:00] <NoBone> This used to be $p1 = strripos($content, '<script', $p2);
341: [09:26:00] * RVXD has joined #silverstripe
342: [09:27:00] <simon_w|air> Should've changed well before b2
343: [09:28:00] <simon_w|air> Yeah, I fixed it just after 3.0 was branched out from master
344: [09:28:00] * travis-ci has joined #silverstripe
345: [09:28:00] <travis-ci> [travis-ci] silverstripe/sapphire#1881 (3.0 - 9a52dae : Ingo Schommer): The build passed.
346: [09:28:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ed19bbc3ba29...9a52dae207b3
347: [09:28:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6044998
348: [09:28:00] * travis-ci has left #silverstripe
349: [09:28:00] <NoBone> oke i'm sorry i just realised the change between 3.0 en b2
350: [09:28:00] <simon_w|air> And because it should be placing the required javascript directly before the first script tag in the body, not directly before the last
351: [09:30:00] <NoBone> Oke thanks for the quick reply. I'm going to change the foundation theme and contact the maker
352: [09:31:00] <simon_w|air> Themes really shouldn't be directly including script tags, so that's a good thing
353: [09:34:00] <ajshort> simon_w|air: i do love my javascript templates though
354: [09:35:00] * k1ll3r-gyn has joined #silverstripe
355: [09:36:00] * k1ll3r-gyn quit (Client Quit)
356: [09:38:00] * SightUnseen has joined #silverstripe
357: [09:39:00] * SightUnseen has left #silverstripe
358: [09:39:00] <NoBone> Yeah that's what i'm trying right now but there is no way to put it in front of my combined script
359: [09:40:00] <NoBone> Except for putting it in the header right?
360: [09:41:00] <simon_w|air> <% require javascript(path/to/file.js) %>
361: [09:42:00] <NoBone> yeah but i need it themed.. :) document.write('<script src=' +('__proto__' in {} ? '{$ThemeDir}/javascripts/vendor/zepto' : '{$ThemeDir}/javascripts/vendor/jquery') +'.js><\\/script>');
362: [09:42:00] * simon_w|air sleeps
363: [09:42:00] <kinglozzer> How do I sort by enum field? I've tried $default_sort = "EnumField IN ('Val1', 'Val2', 'Val3'), EnumField" - works in SQL but not in SS
364: [09:45:00] * chillu quit (Read error: Connection reset by peer)
365: [09:45:00] * chillu has joined #silverstripe
366: [10:02:00] * Shrike_Finland quit (Quit: Leaving.)
367: [10:03:00] <svandragt> anyone familiar with composer here?
368: [10:04:00] <svandragt> one I'm making :)
369: [10:04:00] <svandragt> composer require svandragt/silvestripe-linkfield
370: [10:04:00] <svandragt> }
371: [10:04:00] <svandragt> "type": "vcs",
372: [10:04:00] <svandragt> "url": "git@github.com:svandragt/silverstripe-linkfield.git"
373: [10:04:00] <svandragt> {
374: [10:04:00] <svandragt> I added "repositories": [
375: [10:04:00] <ajshort> it is on packagist? if not, how are you finding it?
376: [10:04:00] <svandragt> Problem - The requested package [...] could not be found in any version, there may be a typo in the package name. how do i resolve this?
377: [10:04:00] <svandragt> ie specify a version
378: [10:04:00] <ajshort> what package and version?
379: [10:05:00] <ajshort> it's something completely different...
380: [10:05:00] <ajshort> svandragt: check your package name in the package's composer.json
381: [10:05:00] <ajshort> heh
382: [10:05:00] <svandragt> then it asks for a version, I type *
383: [10:06:00] * Zauberfisch quit (Ping timeout: 240 seconds)
384: [10:06:00] <svandragt> ajshort: yes i see now thanks time for coffee
385: [10:07:00] <svandragt> learning too many things too quickly :)
386: [10:08:00] * kinglozzer quit (Remote host closed the connection)
387: [10:12:00] <svandragt> I fixed that but the error remains
388: [10:19:00] * howardgrigg has joined #silverstripe
389: [10:23:00] * howardgrigg quit (Remote host closed the connection)
390: [10:37:00] * samthejarvis has joined #silverstripe
391: [10:42:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
392: [10:49:00] * lx-berlin has joined #silverstripe
393: [10:50:00] * priithansen has joined #silverstripe
394: [10:59:00] <samthejarvis> "I can't handle sub-URLs of a Form object."
395: [11:00:00] <samthejarvis> on uploading an image, i get this
396: [11:00:00] <samthejarvis> i have a subclassed controller, with a form that edits a given dataobject
397: [11:02:00] <samthejarvis> /EventAdd_Controller/SubmissionForm/field/Image/upload - 404 - "I can't handle sub-URLs of a Form object."
398: [11:04:00] <samthejarvis> can anyone offer any pointers here?
399: [11:06:00] <samthejarvis> i know i need to move my SubmissionForm into the Event dataobject
400: [11:11:00] * cloph_away is now known as cloph
401: [11:12:00] <ajshort> no you don't
402: [11:12:00] <ajshort> forms don't belong in the model layer
403: [11:15:00] * ARNHOE quit (Remote host closed the connection)
404: [11:18:00] <ajshort> want to put your controller code somewhere? and your url rule?
405: [11:18:00] <samthejarvis> well, super
406: [11:20:00] * Zauberfisch has joined #silverstripe
407: [11:22:00] <samthejarvis> i think I'm onto something here
408: [11:31:00] <samthejarvis> sorry, and thanks ajshort, http://paste2.org/U4GVWK3M, url rules: http://paste2.org/3BV6VxOW
409: [11:32:00] <samthejarvis> two part form for public submissions of events
410: [11:33:00] <ajshort> use the multiform module
411: [11:33:00] <ajshort> err yeah
412: [11:33:00] <samthejarvis> last time I looked it needed refactoring for 3.0?
413: [11:33:00] <ajshort> nah, works
414: [11:34:00] <ajshort> instead you should return the forms from separate methods which are URL accessible - e.g. Step1Form, Step2Form
415: [11:34:00] <samthejarvis> hm, sweet
416: [11:34:00] <ajshort> but more generally, you shouldn't do that kind of form switching - as the step parameter is not included in upload requests for example, as you found out
417: [11:34:00] <samthejarvis> yeah
418: [11:34:00] <samthejarvis> ah good point
419: [11:34:00] <samthejarvis> didn't see that's where it broke
420: [11:35:00] <samthejarvis> awesome, yeah that makes sense
421: [11:35:00] <samthejarvis> thank ye
422: [11:35:00] <ajshort> but the multiform module is a lot nicer
423: [11:35:00] <ajshort> and have a CurrentForm method or something for the template
424: [11:43:00] <Zauberfisch> hey ss23, I just closed about ~700 tickets on trac, whats your count? :P
425: [11:47:00] * kinglozzer has joined #silverstripe
426: [11:48:00] <kinglozzer> Is there any way to use PartialMatchFilters, for example, on an ArrayList? Need to be able to filter external API data in ModelAdmin
427: [11:51:00] * Triskel has joined #silverstripe
428: [11:56:00] * kinglozzer quit (Remote host closed the connection)
429: [11:59:00] * Triskel has left #silverstripe
430: [12:05:00] * UndefinedOffset has joined #silverstripe
431: [12:32:00] <lx-berlin> Zauberfisch: wouldnt it make sense in the ss phpstorm plugin to have autocompletion on <% loop UpcomingE... if there was a <% if UpcomingEvents %> some lines above it ? But i dont know if this would be possible
432: [12:33:00] <lx-berlin> i think that is what i usually do. starting with <% if bla %> ... <% loop bla %> ....
433: [12:36:00] * Error404NotFound quit (Ping timeout: 264 seconds)
434: [12:38:00] <g4b0> is it possible to add labels to issues on github?
435: [12:47:00] <UndefinedOffset> I believe you have to be a contributor or the owner of the repo to add labels
436: [12:48:00] * Error404NotFound has joined #silverstripe
437: [12:49:00] <samthejarvis> MultiForm module and the UploadField
438: [12:50:00] <samthejarvis> can anyone offer any pointers on how you could store the uploaded file ID in the multiform session?
439: [12:51:00] <samthejarvis> (thank you ajshort, the multiform module was a life saver)
440: [12:55:00] <Zauberfisch> sort of at least
441: [12:55:00] <Zauberfisch> lx-berlin as a matter of fact I already suggested to him to him
442: [12:56:00] <Zauberfisch> here is the ticket
443: [12:56:00] <Zauberfisch> https://github.com/raket/idea-silverstripe/issues/16
444: [12:57:00] <Zauberfisch> UndefinedOffset g4b0 yeah, assignment, closing and labels only work if you have write access
445: [13:08:00] <lx-berlin> Zauberfisch: yes, that is similar
446: [13:08:00] * ARNHOE has joined #silverstripe
447: [13:10:00] * osterlaus has joined #silverstripe
448: [13:12:00] * dd has joined #silverstripe
449: [13:13:00] <dd> i have DataObject A ($has_one DataObject B) and DataObject B ($has_many DataObject A)
450: [13:13:00] <dd> hello
451: [13:14:00] <dd> how can i take DataObject B and say "only give me the ones that are in a relationship with DataObject A"?
452: [13:20:00] <ajshort> dd: $a->B()
453: [13:24:00] <g4b0> Thanks Zauberfisch and UndefinedOffset
454: [13:27:00] <dd> ajshort: to clarify, i want to do something like $DataObjectB:get()->filter('only ones that have a relation with DataObject A')
455: [13:28:00] <samthejarvis> filter(array('RelationID' => $this->ID)) ?
456: [13:28:00] <ajshort> otherwise DataObjectB::get()->filter('NameOfARelationshipID', $aID)
457: [13:28:00] <ajshort> If you have an instance of A, use $instanceOfA->NameOfBRelationship()
458: [13:42:00] <dd> i don't have an instance of $A, ended up going with filterByCallback() and checking the relationships Count
459: [13:43:00] <ajshort> don't do that
460: [13:43:00] <ajshort> err yeah
461: [13:43:00] <ajshort> it's horribly inefficient
462: [13:44:00] <samthejarvis> whoa, i had no idea that syntax existed there
463: [13:44:00] <ajshort> dd: ->filter('RelationAID:Not', 0)
464: [13:45:00] <dd> ajshort: RelationA is a $has_many though, are you able to use ID?
465: [13:45:00] * priithansen quit (Quit: priithansen)
466: [13:46:00] <ajshort> A::get()->relation('RelationB') rather
467: [13:46:00] <ajshort> B::get()->relation('RelationA')?
468: [13:46:00] <ajshort> wait
469: [13:47:00] <ajshort> try it
470: [13:47:00] <dd> i want it to return $B dataobjects though
471: [13:48:00] <ajshort> actually wait again, it's a has_one so that won't work
472: [13:50:00] <svandragt> How to I change a field's position in a fieldlist? There is no positionAfter() function
473: [13:51:00] <ajshort> dd: did you try B::get()->filter('RelationA.ID:not', 0)?
474: [13:52:00] <samthejarvis> svandragt: could you paste your code?
475: [13:53:00] <svandragt> samthejarvis: public function getCMSFields() { $fields = parent::getCMSFields(); return $fields; } am happy with the default representation but not that the $has_one relation is added to the end of the EditForm.
476: [13:53:00] <dd> ajshort: says "Filter class "NotFilter" does not exist"
477: [13:53:00] <ajshort> ah
478: [13:53:00] <ajshort> RelationA.ID:ExactMatchFilter:not
479: [13:53:00] <ajshort> RelationA.ID:ExactMatch:not
480: [13:54:00] <svandragt> so thought I could reposition the relation before / after another existing field
481: [13:55:00] <dd> ajshort: still says Filter class "notFilter" does not exist
482: [13:57:00] <dd> $projects = Project::get()->filter('Files.ID:ExactMatch:Not', 0);
483: [13:57:00] <ajshort> dd: can you paste the call you're using?
484: [13:59:00] <ajshort> dd: what SS version are you on? i think it changed a bit between 3.0 and 3.1
485: [14:00:00] <dd> ajshort: 3.0.5
486: [14:00:00] <ajshort> dd: try Files.ID:Negation
487: [14:01:00] <dd> ajshort: that's it! thank you
488: [14:03:00] * samthejarvis quit (Ping timeout: 245 seconds)
489: [14:04:00] <ajshort> dd: filterAny(), but that might be 3.1 only
490: [14:04:00] <dd> ajshort: another filter question for you, is there a way to make filter() use OR instead of AND?
491: [14:07:00] <dd> ajshort: yeah, looks like it. i'm missing out haha
492: [14:13:00] * Dynamic_Nic has joined #silverstripe
493: [14:13:00] * dd quit (Quit: Page closed)
494: [14:13:00] * Dynamic_Nic quit (Remote host closed the connection)
495: [14:14:00] <g4b0> Is it possible for a non-admin to create users?
496: [14:16:00] <g4b0> in my testing I can add a user through csv, but the green button does not appaer...
497: [14:18:00] * samthejarvis has joined #silverstripe
498: [14:23:00] <samthejarvis> zauberfisch, on the uploadfield, what are your thoughts on adding in hidden inputs for each uploaded file, which contain the IDs of the uploaded file, can imagine this would help with the front-end implementation
499: [14:24:00] * Dynamic_Nic quit (Remote host closed the connection)
500: [14:24:00] <samthejarvis> or are there foreseeable security issues there?
501: [14:24:00] * Colin[pi] has joined #silverstripe
502: [14:38:00] * Nivery has joined #silverstripe
503: [14:49:00] <g4b0> chillu: bug or feature? https://github.com/silverstripe/sapphire/issues/1714
504: [14:51:00] <chillu> g4b0: That's not really well described. Can you expand please.
505: [14:52:00] <g4b0> here or on github?
506: [14:53:00] <g4b0> both :)
507: [14:53:00] <g4b0> green "Add Member" button is missing if the user is not ADMIN and he's part of a group that has "Access to 'Security' section" permission
508: [14:55:00] * NoBone quit (Ping timeout: 245 seconds)
509: [14:55:00] * samthejarvis quit (Ping timeout: 245 seconds)
510: [14:57:00] * ajshort_ is now known as ajshort
511: [14:57:00] * ajshort_ has joined #silverstripe
512: [14:57:00] * ajshort quit (Ping timeout: 264 seconds)
513: [14:57:00] * ajshort is now known as Guest64819
514: [15:08:00] * Guest64819 quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
515: [15:13:00] <Colin[pi]> has anyone tried embedding google charts into the cms?
516: [15:24:00] * ARNHOE quit (Remote host closed the connection)
517: [15:29:00] * hubertusanton quit (Quit: hubertusanton)
518: [15:30:00] * catcher has joined #silverstripe
519: [15:31:00] <catcher> UndefinedOffset, Do you know of a good way to get newly-added objects to appear at the top of the Sortable list rather than the bottom?
520: [15:32:00] * kinglozzer has joined #silverstripe
521: [15:32:00] * Colin[pi] quit (Ping timeout: 248 seconds)
522: [15:39:00] <UndefinedOffset> hmm, not really it would require shifting all of the data set down one :S
523: [15:39:00] <UndefinedOffset> which would be long for large data sets
524: [15:43:00] <catcher> UndefinedOffset, true. But doesn't that same thing happen when you drag an item up?
525: [15:44:00] <UndefinedOffset> hmm... that true, it sorts the current page
526: [15:45:00] <UndefinedOffset> technically if you disable the fixSortColumn method it would be at the top, only because the sort index is 0
527: [15:46:00] <catcher> Ah, interesting - I haven't looked, does the first item end up being 0 or 1 after the Sortable module has done its thing?
528: [15:48:00] <catcher> I suppose I could write my own fixSortColumn.
529: [15:53:00] <UndefinedOffset> well since its a int column in the db the default would be 0, i have a method that ensures there are no 0's which pushes them to the end
530: [15:58:00] <catcher> UndefinedOffset, wouldn't I end up with multiple items with sort val = 0 if I just disabled fixSortColumn?
531: [16:00:00] <UndefinedOffset> ya exactly which is why i put it at the end, which would be faster than moving the entire data set down one to make room for the new record at the begining
532: [16:02:00] * g4b0 quit (Quit: Sto andando via)
533: [16:03:00] <kinglozzer> when it hits the default $.ajaxComplete() handler.
534: [16:03:00] <kinglozzer> chillu: https://github.com/silverstripe/sapphire/issues/1570#issuecomment-15887906 I've added a second argument to httpError(), switched the ..SegmentField.js to use $.ajax() but it's still showing 'Method not allowed' as the message. If I write my own complete: function(xmlhttp, status) callback, I can get the correct message by using xmlhttp.responseText, but it shows the 'Method not allowed' response as well,
535: [16:04:00] <catcher> UndefinedOffset, makes sense. Ideally, I'd like to call saveGridRowSort from fixSortColumn with a value of '1' for the new object. Doable?
536: [16:07:00] * osterlaus quit (Quit: Leaving.)
537: [16:10:00] <UndefinedOffset> hmm, well it would require emulating the request of sorts. But technically speaking wouldn't that be the same as having 0 for the new objects i.e disabling fixSortColumn?
538: [16:12:00] <catcher> UndefinedOffset, well, the goal would be to re-order the whole list each time, reusing your existing code. Disabling fixSortColumn would pile up records with 0s, wouldn't it?
539: [16:15:00] <UndefinedOffset> true, till you change the sort of the first page. If the goal is to re-order the whole list you should be able to just iterate through the list doing +1 on the sort column. Which if you did an extension of GridFieldSortableRows you could just replace the fixSortColumn method and have the new method do that if there are any sort column values of 0
540: [16:19:00] * ocm quit (Quit: HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it)
541: [16:20:00] <catcher> UndefinedOffset, sounds good, probably easier than trying to reuse the code.
542: [16:20:00] <UndefinedOffset> mm, extending and overriding the fixSortOrder method will probably be best
543: [16:21:00] <catcher> UndefinedOffset, how about a "sort to top" button that emulates drag & drop to position 1?
544: [16:22:00] <UndefinedOffset> ya that would work or a config method that flips the sort mode for fixSortColumn
545: [16:25:00] <catcher> UndefinedOffset, thanks for the info
546: [16:30:00] * lx-berlin has left #silverstripe
547: [16:35:00] * samthejarvis has joined #silverstripe
548: [16:39:00] * samthejarvis quit (Ping timeout: 245 seconds)
549: [16:46:00] * Colin[pi] has joined #silverstripe
550: [16:49:00] * elgrodo quit (Remote host closed the connection)
551: [16:52:00] * priithansen has joined #silverstripe
552: [16:53:00] * Nivery has left #silverstripe
553: [17:00:00] * RVXD quit (Remote host closed the connection)
554: [17:04:00] * Colin[pi] quit (Ping timeout: 276 seconds)
555: [17:04:00] * waveydave has left #silverstripe
556: [17:09:00] * david_bru quit (Ping timeout: 264 seconds)
557: [17:12:00] * Error404NotFound quit (Read error: Connection reset by peer)
558: [17:27:00] * Error404NotFound has joined #silverstripe
559: [17:30:00] * kinglozzer quit (Remote host closed the connection)
560: [17:36:00] * Zauberfisch quit (Remote host closed the connection)
561: [17:41:00] <simon_w|air> and not at all with comments
562: [17:41:00] <simon_w|air> Yay, github emails don't distinguish between issues and pull requests in the subject line
563: [17:41:00] * Kapdap quit (Ping timeout: 245 seconds)
564: [17:41:00] * Kapdap has joined #silverstripe
565: [18:18:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
566: [18:50:00] * Zauberfisch^idle quit (Ping timeout: 246 seconds)
567: [18:51:00] * Zauberfisch^idle has joined #silverstripe
568: [18:51:00] * oddnoc has joined #silverstripe
569: [18:54:00] * jkaunisv has joined #silverstripe
570: [19:14:00] * simon_w is getting pretty close to turning off notifications for sapphire and silverstripe-cms now
571: [19:21:00] * jcwacky has joined #silverstripe
572: [19:22:00] <jcwacky> Zauberfisch: Any chance you could update http://ss3.zauberfisch.at/master/ when you get a chance? It's broken due to the 'private' requirements of 3.1. Cheers! :)
573: [19:27:00] * DigNZ has joined #silverstripe
574: [19:27:00] * DigNZ has joined #silverstripe
575: [19:27:00] * DigNZ quit (Remote host closed the connection)
576: [19:38:00] * joelpittet|zzz is now known as joelpittet
577: [19:42:00] * Pyromanik has joined #silverstripe
578: [19:45:00] * Colin[pi] has joined #silverstripe
579: [19:49:00] * nickmolhoek has joined #silverstripe
580: [19:49:00] * nickmolhoek quit (Remote host closed the connection)
581: [19:50:00] * nickmolhoek has joined #silverstripe
582: [20:02:00] * catcher quit (Quit: Leaving)
583: [20:17:00] * SightUnseen has joined #silverstripe
584: [20:17:00] * SightUnseen has left #silverstripe
585: [20:23:00] * Colin[pi] quit ()
586: [20:28:00] * UndefinedOffset quit (Quit: Leaving.)
587: [20:44:00] <Pyromanik> how rigid a structure is an SS form's ID?
588: [20:45:00] <Pyromanik> Form_SignupForm_Name, etc
589: [20:45:00] <Pyromanik> ie Form_SignupForm
590: [20:46:00] <Pyromanik> and the fields of said form having their outer div ID as the field name?
591: [20:46:00] <Pyromanik> I want to put 2 forms of the same type (different factory data) on the same page.
592: [20:46:00] <Pyromanik> at the moment that means I get double ID attributes, etc.
593: [20:47:00] * UncleCheese has joined #silverstripe
594: [20:48:00] <UncleCheese> how does composer know what is dev, alpha, beta, or stable?
595: [20:48:00] <Pyromanik> Defined by package info
596: [20:48:00] <UncleCheese> oooh.. where?
597: [20:48:00] <Pyromanik> in the package info.
598: [20:48:00] <UncleCheese> in the composer.json?
599: [20:49:00] <Pyromanik> https://packagist.org/packages/silverstripe/framework
600: [20:51:00] <UncleCheese> so non of those say "stable" though
601: [20:51:00] <Pyromanik> why would they?
602: [20:51:00] <UncleCheese> because i can require "silverstripe/framework": "3.*@stable"
603: [20:51:00] <UncleCheese> ugh
604: [20:52:00] <Pyromanik> or beta, etc.
605: [20:52:00] <UncleCheese> ok, maybe i should say what i'm trying to do
606: [20:52:00] <Pyromanik> anything not marked dev is stable.
607: [20:52:00] <Pyromanik> unstable is denoted by 'dev'
608: [20:52:00] <UncleCheese> not if I have a minimum-stability of dev
609: [20:52:00] <Pyromanik> that's just silly
610: [20:53:00] <UncleCheese> so i changed my minimum-stability setting to dev, and now stuff installs
611: [20:53:00] <UncleCheese> i get this message a lot: The package is not available in a stable-enough version according to your minimum-stability setting
612: [20:53:00] <Pyromanik> you might want to consider making releases then.
613: [20:53:00] <simon_w> Tag things
614: [20:53:00] <UncleCheese> basically any module is dev
615: [20:53:00] <UncleCheese> well, all mine anyway
616: [20:53:00] <Pyromanik> ^
617: [20:53:00] <oddnoc> +1
618: [20:54:00] <Pyromanik> packagist does nothing except refer to branches/tags in repos elsewhere.
619: [20:54:00] <UncleCheese> tag things on packagist?
620: [20:54:00] <Pyromanik> in your git repo -.-
621: [20:54:00] <oddnoc> Module maintainers really need to tag their repos
622: [20:55:00] <Pyromanik> not if you plan on releasing the site.
623: [20:55:00] <UncleCheese> so it's not a good idea to put "minimum-stability": "dev" in my composer.json
624: [20:57:00] <Kolin> UncleCheese: i managed to install dashboard fine via composer
625: [20:57:00] <UncleCheese> you kind of have to use "dev-master" for everything
626: [20:57:00] <Pyromanik> UncleCheese, that's not packagists' fault.
627: [20:57:00] <UncleCheese> it just seems like so few modules actually have releases
628: [20:58:00] <UncleCheese> right
629: [20:58:00] <Pyromanik> it just submits do different places (fields are the same)
630: [20:58:00] <Pyromanik> simon_w, the form is generated from the same factory method, so it comes out the same :<
631: [20:58:00] <simon_w> UncleCheese, welcome to how people use git
632: [20:58:00] <simon_w> Pyromanik, form id is <ClassNameOfForm>_<MethodThatMakesIt>. You should only get duplicates in the wrapping divs, though that's still rather annoying
633: [20:59:00] <simon_w> Pyromanik, so FormActions are different, but the first two arguments to new Form are the same?
634: [20:59:00] <Pyromanik> well, some fields.
635: [21:00:00] <simon_w> Pyromanik, perhaps you should call either ->setName or ->setHTMLID too
636: [21:00:00] <Pyromanik> simon_w, pretty much the whole form is the same, but $form->setFormAction is called before returning.
637: [21:01:00] <Pyromanik> so thanks, that pretty much answers my question :)
638: [21:01:00] <Pyromanik> simon_w, that's what I was wondering, but didn't know if the structure Class_Method was relied upon in some way or another
639: [21:03:00] <simon_w> And, if you want the divs to have different IDs too, a FormField_holder.ss like http://www.sspaste.com/paste/show/515dea88ae869 (though probably based on your version's. Not sure if it's changed in master) in your theme shouldn't break things too badly ;)
640: [21:04:00] * azureKnight has joined #silverstripe
641: [21:05:00] <azureKnight> Finally… No more web irc. :)
642: [21:06:00] <UncleCheese> seems to want 3.1
643: [21:06:00] <UncleCheese> have any of you installed silverstripe/blog with composer?
644: [21:07:00] <UncleCheese> i tried, but that wants a version of silverstripe/widgets that wants 3.1
645: [21:07:00] <simon_w> So get an older version
646: [21:10:00] <UncleCheese> just once i'd like to use Composer for a 30 second stretch without seeing blood red errors
647: [21:12:00] <simon_w> Turn off colour emulation :p
648: [21:13:00] <UncleCheese> there's definitely a feedback loop in the blog package.. you have to use a really old version that doesn't require widgets
649: [21:13:00] <UncleCheese> I like that solution..
650: [21:13:00] <simon_w> My guess is that blog requires widgets, not some specific version, so just require a 3.0 compat version of widgets first
651: [21:13:00] <UncleCheese> I'm the kind of guy who fixes weird noises coming out of my car by turning up the radio
652: [21:14:00] <UncleCheese> because when blog doesn't want 3.1, widgets does
653: [21:15:00] <azureKnight> Lol...
654: [21:16:00] <azureKnight> I like the noise solution, UncleCheese
655: [21:16:00] <UncleCheese> i don't see 0.5
656: [21:16:00] <simon_w> 0.6 requires a 3.0 compat version of widgets
657: [21:16:00] <simon_w> Um, you sure you're getting the right version of blog then?
658: [21:17:00] <UncleCheese> 0.6
659: [21:17:00] <simon_w> 0.6.x-dev
660: [21:17:00] <UncleCheese> i see 0.6.1
661: [21:19:00] <ss23> Zauberfisch^idle: CHEATER! Mine were closed *manually*!
662: [21:19:00] <jkaunisv> welp, I'm going nuts. Anyone know how to make translatable urls work like this? http://www.balbuss.com/translatable-and-the-url/
663: [21:19:00] <jkaunisv> (I'm on 3.0.5)
664: [21:20:00] <jkaunisv> tldr: handle locales like http://domain.com/en/page/here instead of http://domain.com/page/here-en_US
665: [21:24:00] <jkaunisv> any idea on what section/topic?
666: [21:24:00] <jkaunisv> Pyromanik: I'm trying to find whatever I can in the docs, haven't found anything helpful
667: [21:24:00] <Pyromanik> jkaunisv, did you read the docs? I think there's a section in there just for that.
668: [21:26:00] * zfmf has left #silverstripe
669: [21:30:00] * Liquide has joined #silverstripe
670: [21:36:00] <Pyromanik> jkaunisv, hmm, can't see it actually
671: [21:37:00] <ss23> http://www.postgresql.org/about/news/1456/ postgres rules!
672: [21:37:00] <Pyromanik> maybe it was balbus I saw it on.
673: [21:38:00] <jkaunisv> Pyromanik: darn, thanks for looking. I'm combing through the balbus comments now to see if there are any other tips
674: [21:39:00] <jkaunisv> I know it's a tut, I followed it but it's not working
675: [21:39:00] <Pyromanik> jkaunisv, the balbus is a tutorial
676: [21:39:00] <Zauberfisch^idle> ss23 :D
677: [21:39:00] <Pyromanik> can you not get it working from that?
678: [21:39:00] <Pyromanik> ss23, I don't understand.
679: [21:39:00] <jkaunisv> I've found most content on balbus is incomplete or out of date
680: [21:39:00] <Pyromanik> is that a sly dig at oracle and their policy to ignore sec bugs?
681: [21:39:00] <Pyromanik> postgresql rules because it fixes bugs?
682: [21:41:00] * nickmolhoek1 has joined #silverstripe
683: [21:41:00] * nickmolhoek1 quit (Remote host closed the connection)
684: [21:42:00] <jkaunisv> So I've noticed. I'll keep debugging..
685: [21:42:00] <Pyromanik> translatable itself is a bit of a nastyness.
686: [21:42:00] * nickmolhoek1 has joined #silverstripe
687: [21:43:00] * nickmolhoek quit (Ping timeout: 256 seconds)
688: [21:43:00] <Pyromanik> jkaunisv, I think the easiest way would probably be to use subdomains instead (en.yoursite.com) and set up detection clauses in your config or elsewhere
689: [21:44:00] <jkaunisv> That's my fallback plan
690: [21:50:00] <ss23> Pyromanik: No, that was just a way to talk about a postgres bug, thats all
691: [21:58:00] * jkaunisv quit (Ping timeout: 245 seconds)
692: [22:14:00] <simon_w> Ahh, checking that my postgres update worked with ss.org.nz/3
693: [22:28:00] <Zauberfisch^idle> lol?
694: [22:29:00] <simon_w> That's a quote from Sam on a picture of Sam
695: [22:30:00] <Zauberfisch^idle> like http://w3cmemes.tumblr.com/
696: [22:30:00] <Zauberfisch^idle> we need a ss meme blog!
697: [22:34:00] <azureKnight> bleeding edge!?
698: [22:34:00] <simon_w> And power it with ModX!
699: [22:34:00] <simon_w> So make one?
700: [22:35:00] <Zauberfisch^idle> no time :/
701: [22:37:00] * DigNZ quit (Quit: DigNZ)
702: [22:40:00] * travis-ci has joined #silverstripe
703: [22:40:00] * travis-ci has left #silverstripe
704: [22:40:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6064860
705: [22:40:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/compare/6eda25a09077^...02c3717b01a7
706: [22:40:00] <travis-ci> [travis-ci] chillu/sapphire#121 (pulls/treedropdown-focus - 02c3717 : Ingo Schommer): The build passed.
707: [22:41:00] <azureKnight> Me either...
708: [22:41:00] <Pyromanik> simon_w, ahh ambiguity.
709: [22:41:00] <Pyromanik> <simon_w> That's a quote from Sam on a picture of Sam
710: [22:41:00] <Pyromanik> eh?
711: [22:41:00] <Pyromanik> <Zauberfisch^idle> like http://w3cmemes.tumblr.com/
712: [22:41:00] <simon_w> http://ss.org.nz/3
713: [22:41:00] <Pyromanik> I don't get most of this :<
714: [22:42:00] <Pyromanik> I thought you were saying he'd made a statement about that picture :P
715: [22:42:00] <Pyromanik> also modx, eval all the things!
716: [22:43:00] <Pyromanik> w00t, pizza and beer for lunch, bosses shout for breaking our monthly live record.
717: [22:44:00] * DigNZ quit (Remote host closed the connection)
718: [22:44:00] * DigNZ has joined #silverstripe
719: [22:45:00] * DigNZ has joined #silverstripe
720: [22:46:00] <Zauberfisch^idle> Pyromanik its really w3c specific, there are also a couple I don't get
721: [22:49:00] <Pyromanik> pretty much all of them are over my head.
722: [22:50:00] <Pyromanik> MPAA.
723: [22:50:00] <Pyromanik> Most of it seems to be about DRM
724: [22:50:00] * SightUnseen1 has joined #silverstripe
725: [22:50:00] <Pyromanik> which is bad :<
726: [22:50:00] <Pyromanik> I didn't know anyone apart from the MPAA advocated for that :<
727: [22:50:00] <Pyromanik> (and game publishers)
728: [22:50:00] <simon_w> RIAA
729: [22:51:00] <Pyromanik> RIAA just nab you after the fact.
730: [22:51:00] <Pyromanik> though I suppose if you use itunes...
731: [22:52:00] * SightUnseen1 has left #silverstripe
732: [22:53:00] <simon_w> Hmm, that moment when Controller::init() is taking 0.25 seconds
733: [22:55:00] <simon_w> Specifically, this line: https://github.com/silverstripe/sapphire/blob/2.4/core/control/Controller.php#L85
734: [22:57:00] * Zauberfisch has joined #silverstripe
735: [23:00:00] * travis-ci has left #silverstripe
736: [23:00:00] * travis-ci has joined #silverstripe
737: [23:00:00] <travis-ci> [travis-ci] silverstripe/sapphire#1884 (3.1 - 65cb182 : Sean Harvey): The build passed.
738: [23:00:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ceb7e3c8a83e...65cb182c98ce
739: [23:00:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6065473
740: [23:01:00] * UncleCheese quit (Quit: UncleCheese)
741: [23:02:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/sapphire/builds/6065448
742: [23:02:00] * travis-ci has joined #silverstripe
743: [23:02:00] <travis-ci> [travis-ci] chillu/sapphire#122 (pulls/member-group-nested-editing - cfafa19 : Ingo Schommer): The build passed.
744: [23:02:00] <travis-ci> [travis-ci] Change view : https://github.com/chillu/sapphire/commit/cfafa19cc33e
745: [23:02:00] * travis-ci has left #silverstripe
746: [23:09:00] <simon_w> Not usually
747: [23:09:00] <Pyromanik> slow db simon_w ?
748: [23:09:00] <simon_w> Maybe I should turn the slow query log on
749: [23:12:00] * guci0 quit (Ping timeout: 245 seconds)
750: [23:12:00] * terryapodaca has joined #silverstripe
751: [23:12:00] <terryapodaca> DateField::set_default_config('showcalendar', true);
752: [23:13:00] <terryapodaca> can I still do that in my getCMSFirlds before creating my FieldList()?
753: [23:13:00] <simon_w> Maybe!
754: [23:15:00] <terryapodaca> or is it better to do this for individual instances:
755: [23:15:00] <terryapodaca> DateField::create('StartDate', 'StartDate')->setConfig('showcalendar', true)
756: [23:16:00] <simon_w> Well, that's a lot less likely to do unexpected things
757: [23:35:00] * azureKnight quit (Quit: azureKnight)

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