#silverstripe IRC Log

IRC log for 27 October 2016

All timestamps are in UTC.

1: [00:14:40] * Stomach quit (Ping timeout: 244 seconds)
2: [00:14:54] * Stomach has joined #silverstripe
3: [00:26:26] * spronk has joined #silverstripe
4: [00:31:43] * Stomach quit (Quit: zzz)
5: [00:35:55] * Stomach has joined #silverstripe
6: [00:47:06] * Azure has joined #silverstripe
7: [01:14:04] * DanaeNZ quit (Remote host closed the connection)
8: [01:14:40] * DanaeNZ has joined #silverstripe
9: [01:17:10] * DanaeNZ quit (Remote host closed the connection)
10: [01:17:26] * DanaeNZ has joined #silverstripe
11: [01:21:15] * Stomach quit (Quit: zzz)
12: [01:35:53] * Stomach has joined #silverstripe
13: [01:39:25] * Phlunk3 has joined #silverstripe
14: [02:12:35] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15: [03:02:01] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
16: [03:05:58] * helenclarko quit (Read error: Connection reset by peer)
17: [03:35:58] * adrexia has joined #silverstripe
18: [03:59:44] * pandaux has joined #silverstripe
19: [04:03:07] * Hailwood quit (Quit: Konversation terminated!)
20: [04:06:46] * pandaux quit (Ping timeout: 260 seconds)
21: [04:12:14] * Stomach quit (Ping timeout: 250 seconds)
22: [04:14:47] * spronk quit (Quit: bleep bleep bloop bloop)
23: [04:36:00] * DanaeNZ quit (Quit: TIME TO FEED)
24: [04:52:48] * micmania1 quit (Quit: micmania1)
25: [05:07:14] * Shrike_Finland has joined #silverstripe
26: [05:24:19] * pweh has joined #silverstripe
27: [05:45:02] * Azure has joined #silverstripe
28: [06:07:41] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
29: [06:27:23] <Firesphere> Hello world
30: [06:27:57] * wmk has joined #silverstripe
31: [06:27:58] * wmk_ has joined #silverstripe
32: [06:43:32] <Firesphere> Hey wmk
33: [06:45:16] <ss-helper> AW: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/w5YUuo29BgAJ
34: [06:45:28] <wmk_> ho
35: [06:45:32] <Firesphere> Hey you lads, just a heads up: https://www.silverstripe.org/blog/announcing-speakers-for-stripecon-asia-pacific-2016/
36: [06:46:28] * wmk quit (Disconnected by services)
37: [06:46:31] * wmk_ is now known as wmk
38: [06:46:48] * wmk_ has joined #silverstripe
39: [06:47:19] * wmk_ quit (Client Quit)
40: [06:47:34] <wmk> Firesphere, so you're giving a talk?
41: [06:48:51] <wmk> good topic. I hope there will be a video of it
42: [06:50:53] * darianno has joined #silverstripe
43: [07:04:42] <Firesphere> wmk: Yep, will be streamed and recorded afaik
44: [07:06:42] <wmk> cool. streamed is nice. Let's see if I'm awake then ;)
45: [07:12:53] <Firesphere> Let me check with Vinh about the recording :)
46: [07:15:17] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/3o6rsca-BgAJ
47: [07:29:52] * pweh quit (Ping timeout: 260 seconds)
48: [07:34:43] * pweh has joined #silverstripe
49: [07:38:55] * lerni has joined #silverstripe
50: [07:48:44] * swaiba has joined #silverstripe
51: [07:53:50] * micmania1 has joined #silverstripe
52: [07:55:53] * ss32noob has joined #silverstripe
53: [07:57:24] <Firesphere> Also, yes, I am speaking at StripeCon APAC. And also freakishly happy the name is catching on and there are now 2 conferences using the StripeCon name!
54: [08:01:11] * kinglozzer has joined #silverstripe
55: [08:04:29] * sminnee_ has joined #silverstripe
56: [08:05:44] * Stomach has joined #silverstripe
57: [08:13:57] <wmk> Firesphere, that's totally cool. Yes. And good advertisement for SilverStripe
58: [08:14:23] <wmk> i hope the EU videos will be online soon.
59: [08:15:16] <slievr> APAC?
60: [08:15:39] <swaiba> Firesphere better hope https://stripe.com/ doesn't make a challenge for the name...
61: [08:16:00] <swaiba> slievr APAC = asia pacific something something
62: [08:16:50] * Stomach quit (Quit: zzz)
63: [08:17:48] <Quatrepee> Acrobatic COmpany
64: [08:18:04] <wmk> oh, chineese national circus?
65: [08:19:46] * sminnee_ quit (Quit: sminnee_)
66: [08:22:27] <slievr> I do love my something somethings
67: [08:23:51] * sminnee_ has joined #silverstripe
68: [08:42:51] * cupcake has joined #silverstripe
69: [08:45:14] * agent44 has joined #silverstripe
70: [08:48:32] * Shrike_Finland quit (Ping timeout: 250 seconds)
71: [08:48:56] * Shrike_Finland has joined #silverstripe
72: [08:55:10] <swaiba> lol slievr, then if you are int eh asia pacific region this is undoubtedly for you :)
73: [08:56:15] <slievr> 'fraid not, I'm stuck in Scotland
74: [08:56:53] * sminnee_ quit (Quit: sminnee_)
75: [08:57:01] <wmk> slievr, have you been in Ljubljana?
76: [09:07:39] <Firesphere> APAC === "Asia and Pacific"
77: [09:09:04] <Firesphere> swaiba: Would be kinda hard, as we coined the term already :)
78: [09:09:17] <Firesphere> If they do, it would need to be about SilverStripe :P
79: [09:09:27] <swaiba> lol no something something after all :(
80: [09:10:56] <Firesphere> afaik, it's "Asia, PAcific Conference"
81: [09:11:51] <slievr> I have not, was it good?
82: [09:12:59] <Firesphere> This should answer your question: https://www.silverstripe.org/blog/first-videos-for-stripecon-eu-2016-are-out/
83: [09:19:17] <Zauberfisch> anyone here has moderator rights on the dev mailing list?
84: [09:19:52] <Zauberfisch> I've sent an email but the topic has not been created yet. Did my email not come through or am I in some moderation queue now?
85: [09:30:21] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/6kC_v6fGBgAJ
86: [09:30:22] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/pr8mSR_GBgAJ
87: [09:31:53] <slievr> was last years design also a dragon, or was that just for this year?
88: [09:32:14] <wmk> well, last years it was the official silverstripe t-shirt
89: [09:32:37] <wmk> this year innovatif did an own design. As LJ also has a famous dragon they also choose it
90: [09:32:56] <slievr> The dragon isn't official, how sad.
91: [09:33:18] <wmk> well, that was an origami dragon
92: [09:33:33] <wmk> but it's official StripeConEU 2016 dragon ;)
93: [09:36:18] * Samsam has joined #silverstripe
94: [09:36:51] <slievr> looked fun, will need to keep an eye out for next one, this one sneaked up on me; I only knew about it 3 days before
95: [09:44:19] <wmk> :(
96: [09:44:31] <wmk> slievr, you might join the meetup group to get informed in time
97: [09:46:01] <slievr> There's a meetup group? I am not well informed it seems.
98: [09:47:25] <wmk> https://www.meetup.com/de-DE/stripecon/ slievr
99: [09:52:01] * Firesphere quit (Quit: Bye now)
100: [09:54:41] <slievr> wooo I'm in, thanks wmk
101: [09:56:32] <wmk> slievr, cool
102: [10:03:14] <wmk> any git experts around?
103: [10:03:31] <cloph> lots of ducks here.
104: [10:04:17] <Samsam> I think Zauberfisch knows a bit or two on Git
105: [10:04:25] <wmk> i guess so.
106: [10:04:51] <wmk> I wonder if i can fork framework, patch for php7 AND use the same tags as the original.
107: [10:05:36] <cloph> you can override the tags in your fork, but I wouldn't recommend doing that.
108: [10:06:11] <cloph> I mean if you need pathes, then it is not the same tag/version, and managing the two then will be harder than necessary, just use "wmk-originaltagname" instead or something similar..
109: [10:08:21] * Shrike_Finland quit (Quit: Leaving.)
110: [10:09:09] * Shrike_Finland has joined #silverstripe
111: [10:12:50] <kinglozzer> wmk: I think composer can do that - post-install patches
112: [10:13:36] <kinglozzer> You just need a .patch file to apply
113: [10:13:39] <kinglozzer> https://github.com/jpstacey/composer-patcher
114: [10:14:03] <kinglozzer> Oops, this one instead https://github.com/netresearch/composer-patches-plugin
115: [10:14:45] <kinglozzer> Nice, it can even do version constraints for different patches for different versions: https://github.com/netresearch/composer-patches-plugin#provide-patches-by-package-and-versions-or-version-constraints
116: [10:15:23] <Zauberfisch> wmk: what is the reason for replacing a tag?
117: [10:15:44] <Zauberfisch> wmk: not sure what your usecase is, but it you want it to "fake" a version. there is a composer feature for this I think
118: [10:16:54] <kinglozzer> Yep, "silverstripe/framework": "dev-my-patch as 3.4.0" ^^
119: [10:17:02] <Zauberfisch> ah, yes. that exactly
120: [10:18:16] <wmk> Zauberfisch, i want to make a ss3-php7 repo
121: [10:21:32] <wmk> kinglozzer, a patch file would be even more awesome
122: [10:21:54] <wmk> good idea. Instead of forking the repo and keep it up to date i can try that approach
123: [10:22:26] <kinglozzer> wmk: https://patch-diff.githubusercontent.com/raw/silverstripe/silverstripe-framework/pull/4551.patch :D
124: [10:23:06] <wmk> sounds good. Had some manual stuff for 3.1, but then blog rss broke for some reason
125: [10:23:12] <kinglozzer> Actually, that's probably not the best one to use
126: [10:23:22] <wmk> ?
127: [10:23:23] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/pull/4551
128: [10:23:30] <kinglozzer> It introduced namespacing I think
129: [10:25:08] <wmk> ok. of course i can run the 327 script manually and provide it
130: [10:25:33] <kinglozzer> That sounds like a better approach wmk
131: [10:29:32] * micmania1 quit (Quit: micmania1)
132: [10:30:23] * Shrike_Finland quit (Quit: Leaving.)
133: [10:30:23] <ss-helper> Re: [silverstripe-dev] Member Profile extendable area - https://groups.google.com/d/msg/silverstripe-dev/mD1GzF5aZH0/_DqYBZPJBgAJ
134: [10:30:40] * Shrike_Finland has joined #silverstripe
135: [10:46:05] * Azure has joined #silverstripe
136: [11:20:49] * jonners99 has joined #silverstripe
137: [11:25:56] <Samsam> has anyone had any issues with including jquery in the CMS area?
138: [11:26:12] <Samsam> seems to freeze the cms
139: [11:26:56] <kinglozzer> Samsam: It's already included
140: [11:26:57] <kinglozzer> ?
141: [11:27:10] <Samsam> really?
142: [11:27:17] <kinglozzer> Yep
143: [11:27:36] <kinglozzer> "It's an older code sir, but it checks out"
144: [11:27:40] <kinglozzer> Not sure which version :P
145: [11:27:42] <kinglozzer> 1.7.something
146: [11:28:10] <Samsam> lol
147: [11:28:31] <Samsam> I'm reading the html document, no mention of a jquery source file
148: [11:28:43] <Samsam> although I do see jquery elements like datepicker
149: [11:29:42] <kinglozzer> Samsam: Check the network requests
150: [11:29:54] <Samsam> ah yes good one
151: [11:29:57] <kinglozzer> 1.7.2, that's it
152: [11:30:56] <Samsam> a lib.js is included, which seems to contain jquery code
153: [11:31:00] <Samsam> where did you find it?
154: [11:31:18] <kinglozzer> Samsam: It's in framework/thirdparty/jquery
155: [11:31:29] <kinglozzer> Lots of JS files are bundled into lib.js in "live" mode
156: [11:31:35] <kinglozzer> I think dev mode keeps them as separate files
157: [11:31:45] <Samsam> nice find
158: [11:32:06] <kinglozzer> Anyway, got the afternoon off work :D cya all
159: [11:32:12] <slievr> o/
160: [11:32:18] <Samsam> cheers
161: [11:32:49] * kinglozzer quit ()
162: [12:15:05] * jonners99 quit (Remote host closed the connection)
163: [12:15:31] * jonners99 has joined #silverstripe
164: [12:17:36] * jonners99 quit (Remote host closed the connection)
165: [12:17:42] * jonners99 has joined #silverstripe
166: [12:17:57] * jonners99 quit (Client Quit)
167: [12:20:51] * UndefinedOffset has joined #silverstripe
168: [12:43:24] * Shrike_Finland quit (Quit: Leaving.)
169: [13:01:48] * sminnee_ has joined #silverstripe
170: [13:02:52] <wmk> Too bad i didn't know this two weeks ago, would have been a great lightning talk. http://www.silverstrip.es/blog/more-speed-with-php7-on-silverstripe-3/
171: [13:05:57] <Samsam> did you know someone was making this module?
172: [13:06:24] * sminnee_ quit (Ping timeout: 260 seconds)
173: [13:07:28] <wmk> Samsam, ?
174: [13:07:50] <Samsam> you said you were going to write a mod that makes SS compatible with php7 right?
175: [13:08:00] <Samsam> but I believe someone else was writing a similar mod
176: [13:08:14] <wmk> well, there was a migration script for this
177: [13:08:30] <wmk> you have to run on your installation
178: [13:09:23] <wmk> I mentioned all the sources i had for this, just put together puzzle pieces.
179: [13:29:04] * lerni quit ()
180: [13:31:47] <slievr> I'd love to know when the puzzle is complete =D
181: [13:37:30] * pweh is now known as zombweh
182: [13:38:00] * zombweh quit (Read error: Connection reset by peer)
183: [13:45:08] <wmk> slievr, with SS4 of course
184: [13:45:11] <wmk> *duck*
185: [13:45:16] <wmk> and out. cu
186: [13:50:10] * wmk quit (Ping timeout: 276 seconds)
187: [13:52:08] * agent44 quit (Ping timeout: 260 seconds)
188: [13:58:36] * Shrike_Finland has joined #silverstripe
189: [14:01:16] * Shrike_Finland quit (Client Quit)
190: [14:02:26] * agent44 has joined #silverstripe
191: [14:15:46] <DimiStripe> Hi guys
192: [14:16:19] <DimiStripe> What is the module which makes DataGrid editable as in excel ? (so you can edit fields without going into DO)
193: [14:18:18] <Samsam> The feature is called "inline editing"
194: [14:18:23] <Samsam> this is the mod: https://github.com/silverstripe-australia/silverstripe-gridfieldextensions
195: [14:18:42] <Samsam> this is how you implement it: https://github.com/silverstripe-australia/silverstripe-gridfieldextensions/blob/master/docs/en/index.md#inline-editing
196: [14:35:38] <DimiStripe> Samsam: thanks !
197: [14:58:39] <Samsam> is anyone using a HTMLEditor other than TinyMCE?
198: [15:14:41] * ss32noob quit (Ping timeout: 260 seconds)
199: [15:45:25] <swaiba> don't think so Samsam it's either that - or something simpler like markdown or textile
200: [15:49:01] * swaiba quit (Remote host closed the connection)
201: [16:02:17] * UndefinedOffset quit (Quit: Leaving.)
202: [16:03:54] * sminnee_ has joined #silverstripe
203: [16:08:37] * sminnee_ quit (Ping timeout: 265 seconds)
204: [16:15:54] * UndefinedOffset has joined #silverstripe
205: [17:02:36] * Samsam quit (Ping timeout: 260 seconds)
206: [17:07:37] * agent44 quit (Quit: zzz)
207: [17:28:27] * DimiStripe quit (Remote host closed the connection)
208: [17:28:27] * DimiStripe has joined #silverstripe
209: [17:30:51] * helenclarko has joined #silverstripe
210: [17:31:01] <helenclarko> Good Morning!
211: [17:43:15] * Stomach has joined #silverstripe
212: [17:47:10] * gelignite has joined #silverstripe
213: [17:56:06] * Stomach quit (Read error: Connection reset by peer)
214: [17:57:01] * Stomach has joined #silverstripe
215: [17:58:44] * terryapodaca has left #silverstripe
216: [18:06:01] * sminnee_ has joined #silverstripe
217: [18:10:39] * sminnee_ quit (Ping timeout: 256 seconds)
218: [18:24:08] * cloph is now known as cloph_away
219: [18:41:12] * sminnee_ has joined #silverstripe
220: [18:46:46] * Nightjar has joined #silverstripe
221: [18:47:41] * Nightjar quit (Client Quit)
222: [18:48:32] * Nightjar has joined #silverstripe
223: [18:48:49] <Nightjar> :D Just seen the folks from Malta made it to the conf :)
224: [18:48:52] <Nightjar> winning
225: [18:48:56] <Nightjar> cupcake, it was you?
226: [18:53:05] <helenclarko> Ok, I have an issue. Why can I not use <% if URLSegment = home/SearchForm %>
227: [18:53:46] <Nightjar> because 2 things are missing
228: [18:53:53] <Nightjar> 2 things, 3 characters.
229: [18:53:54] <Nightjar> :>
230: [18:54:00] <Nightjar> $"
231: [18:54:02] <Nightjar> and "
232: [18:54:50] <helenclarko> <% if $URLSegment = "home/SearchForm" %>
233: [18:54:54] <helenclarko> Still no go
234: [18:55:23] * sminnee_ quit (Quit: sminnee_)
235: [18:55:32] <Nightjar> oh
236: [18:55:39] <Nightjar> because URLSegment is never a doublebanger
237: [18:56:00] <helenclarko> Yeah, it still thinks its on Home
238: [18:56:08] <helenclarko> Not Searchform
239: [18:56:08] <Nightjar> it's one thing, and one thing only; "home"
240: [18:56:25] <helenclarko> That makes things difficult
241: [18:56:32] <Nightjar> you could do something like URLSegment == home && Action == SearchForm
242: [18:56:43] <Nightjar> but remember forms render themselves anyway
243: [18:57:12] <Nightjar> so whatever you're trying to do... it sounds overly complex :<
244: [18:57:14] * sminnee_ has joined #silverstripe
245: [18:57:41] * sminnee_ quit (Client Quit)
246: [18:57:56] * sminnee_ has joined #silverstripe
247: [18:58:21] <Nightjar> ie. classic X => Y problem, can you give more details as to the reasoning? Perhaps we can figure out a better way to achieve the same end goal
248: [18:58:27] * sminnee_ quit (Client Quit)
249: [18:58:30] <Nightjar> :)
250: [18:58:44] * sminnee_ has joined #silverstripe
251: [18:59:15] * sminnee_ quit (Client Quit)
252: [18:59:31] * sminnee_ has joined #silverstripe
253: [18:59:43] <helenclarko> Yeah its complex. Just playing around with a template.
254: [19:00:00] <helenclarko> I didnt really want to make changes to every .ss file
255: [19:00:03] * sminnee_ quit (Client Quit)
256: [19:00:07] <Nightjar> every?
257: [19:00:08] <Nightjar> "<
258: [19:00:09] <helenclarko> But I think I might
259: [19:00:11] <Nightjar> wowws
260: [19:00:19] * sminnee_ has joined #silverstripe
261: [19:00:41] <helenclarko> Nah, what I was doing was going to avoid making changes to multiple template files
262: [19:00:51] * sminnee_ quit (Client Quit)
263: [19:01:05] <helenclarko> Lets just say I was taking the lazy way out
264: [19:01:08] * sminnee_ has joined #silverstripe
265: [19:01:39] * sminnee_ quit (Client Quit)
266: [19:04:23] <Nightjar> oic
267: [19:04:44] <Nightjar> yeh, remember the config setting enable_nested_urls
268: [19:15:23] * Stomach quit (Quit: zzz)
269: [19:35:53] * samsam has joined #silverstripe
270: [19:45:27] * cloph_away is now known as cloph
271: [19:57:58] * DanaeNZ has joined #silverstripe
272: [20:05:50] <samsam> how do you change permissions (canCreate) on ErrorPage?
273: [20:09:17] <DanaeNZ> samsam: Create a DataExtension for the ErrorPage?
274: [20:10:02] <DanaeNZ> I found a great google map field a while ago and I don't think I can find it again
275: [20:10:04] <samsam> aah yes, cheers
276: [20:10:26] <DanaeNZ> I thought it was this one but it doesn't have a DBField for the map: https://github.com/BetterBrief/silverstripe-googlemapfield
277: [20:16:48] * Stomach has joined #silverstripe
278: [20:17:22] <Nightjar> lol DanaeNZ - you're not referring to mine are you? lol
279: [20:18:00] <Nightjar> If so... :< wow. And I don't think it'll work any more because Google did that whole update and change very-thing thing that they do.
280: [20:18:23] <DanaeNZ> Hmm dunno. Maybe it was
281: [20:18:33] <Nightjar> Not even sure if I've uploaded it tbh, lol
282: [20:18:39] <DanaeNZ> Well, the BetterBrief one has the API key available
283: [20:18:40] <Nightjar> probably
284: [20:18:43] * Nightjar shrugs
285: [20:19:02] <Nightjar> Mine was "Paste URL here" and automagic happens onSave
286: [20:19:14] <Nightjar> onBeforeWrite*
287: [20:19:36] <Nightjar> just a simple 'embed' thing, as opposed to an API leverage setup.
288: [20:21:23] * Stomach quit (Read error: Connection reset by peer)
289: [20:23:05] * Stomach has joined #silverstripe
290: [20:23:48] * UndefinedOffset quit (Quit: Leaving.)
291: [20:25:27] * Firesphere has joined #silverstripe
292: [20:29:28] <DanaeNZ> Nah that wasn't the one I was using
293: [20:29:36] <DanaeNZ> I think it was this BetterBrief one actually
294: [20:29:45] <DanaeNZ> I think they just made some updates that changed it a bit
295: [20:30:01] <DanaeNZ> It only has one zoom level for each map though
296: [20:30:13] <DanaeNZ> Looks easy enough to add more options though
297: [20:30:34] <DanaeNZ> Wait I take that back, it has Zoom
298: [20:30:43] <ss-helper> RFC: Use GraphQL/Apollo for structured data access in the CMS - https://groups.google.com/d/msg/silverstripe-dev/ZLDDMkc_C_o/WraAuYPqBgAJ
299: [20:31:54] * sminnee_ has joined #silverstripe
300: [20:44:40] <Nightjar> DanaeNZ, BetterBrief hasn't been around for a couple of years now :/ Doesn't mean it's not worked on though
301: [20:45:44] <ss-helper> Re: How do I semver a module and yet support multiple SilverStripe major releases? - https://groups.google.com/d/msg/silverstripe-dev/XGiUMpD8wz4/dxzRgmjrBgAJ
302: [20:45:44] <ss-helper> Re: How do I semver a module and yet support multiple SilverStripe major releases? - https://groups.google.com/d/msg/silverstripe-dev/XGiUMpD8wz4/kf59AjvrBgAJ
303: [20:45:44] <ss-helper> How do I semver a module and yet support multiple SilverStripe major releases? - https://groups.google.com/d/msg/silverstripe-dev/XGiUMpD8wz4/wP7e3c_qBgAJ
304: [20:46:21] <Nightjar> Semver is the version of the _module_, not the framework.
305: [20:46:24] <Nightjar> gosh.
306: [20:47:01] <Nightjar> Although I do see the confusion - historically many modules have matched version numbers to indicate compatibility
307: [20:48:05] <Nightjar> Zauberfisch, is that what it basically boils down to?
308: [20:50:21] <Nightjar> hmm.
309: [20:56:12] * Stomach_ has joined #silverstripe
310: [20:57:15] * Stomach quit (Ping timeout: 256 seconds)
311: [20:57:32] * micmania1 has joined #silverstripe
312: [20:58:24] <Nightjar> I see. Personally I'd see an older version as LTS, and have no updates that major going it's way.
313: [20:58:36] <Nightjar> its*
314: [21:01:38] <Nightjar> an API change is not something I'd consider a major refactor to be.
315: [21:01:57] <Nightjar> because we're concerned with the interface, not the internals.
316: [21:02:51] * Hailwood has joined #silverstripe
317: [21:04:02] <Nightjar> Zauberfisch, I'm not sure of your usecase, but I certainly cannot particularly think of one where I'd need to bump a major version on what essentially is 'security supported', even if the occasional new feature slips in.
318: [21:12:03] * micmania1 quit (Quit: micmania1)
319: [21:16:09] * micmania1 has joined #silverstripe
320: [21:19:50] * samsam quit (Ping timeout: 260 seconds)
321: [21:30:56] * micmania1 quit (Quit: micmania1)
322: [21:32:00] * micmania1 has joined #silverstripe
323: [21:44:48] * cheddam has joined #silverstripe
324: [21:46:16] <Hailwood> Hmm, so strange thing. I have a shortcode registered, and if I use it just in the content it works fine, if I use it in a link it sometimes works fine (so that's where the link url is http://[myShortCode])
325: [21:46:58] <Hailwood> but if myShortCode when parsed contains an = sign then it fails if it's in the link (I'm talking something like http://example.com?something=another)
326: [21:47:30] <Hailwood> [Warning] ShortcodeParser::replaceAttributeTagsWithContent(): unterminated entity reference something=another
327: [21:47:35] <Hailwood> any ideas on how to fix it?
328: [21:47:42] <Hailwood> It's only started with a recent upgrade
329: [21:53:50] <DanaeNZ> Hailwood: urlencode that =
330: [21:54:14] <DanaeNZ> that is, if it gets to your shortcode before the replaceAttr function
331: [21:55:46] <Hailwood> DanaeNZ: I tried that, which stops it bawlking, but then it ends up with the link being http://example.com?something%3Danother so the page at example.com can't read the something getvar
332: [21:57:48] <Hailwood> Hmm, looks like it's not actually the =, I liked, my link is example.com?this=that&something=another so it's complaining about the & (but the error makes it sound like the something is the issue)
333: [21:58:18] <Hailwood> Of course the same thing arises if I encode the &... it can't be read on the receiving server
334: [21:59:16] <Hailwood> Right... so I need my link to read example.com?this=that&amp;something=another wtf ss
335: [22:01:32] <Hailwood> I think what might actually be broken is HTMLText as we were returning an instance of HTMLText do deal with the encoding. but now that makes no difference.
336: [22:07:18] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
337: [22:13:10] * Azure has joined #silverstripe
338: [22:17:14] * micmania1 quit (Quit: micmania1)
339: [22:23:11] * sminnee_ quit (Quit: sminnee_)
340: [22:33:24] * sminnee_ has joined #silverstripe
341: [22:34:20] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
342: [22:50:10] * Azure has joined #silverstripe
343: [23:00:02] * ss-helper quit (Remote host closed the connection)
344: [23:00:14] * ss-helper has joined #silverstripe
345: [23:01:31] * pweh has joined #silverstripe
346: [23:02:17] * pweh is now known as zombleh
347: [23:04:00] <Nightjar> Hailwood, no wrong
348: [23:04:10] <Nightjar> &amp; is correct.
349: [23:04:17] <Nightjar> this is as it is supposed to be.
350: [23:04:41] <Nightjar> Same as any other entity in HTML.
351: [23:05:01] <Nightjar> It's complaining because it's reading & and being all "ooh, an entity!" and then none follow.
352: [23:05:07] <Nightjar> Invalid XML, error, die.
353: [23:05:11] <Nightjar> ;)
354: [23:05:53] <Nightjar> Links have _always_ had to properly escape ampersands in href attributes, since the dawn of the age of the HTML
355: [23:06:02] <Nightjar> :)
356: [23:06:53] <Nightjar> You were returning an object from a shortcode - I don't know if that's a supported thing.
357: [23:08:04] <Nightjar> Shortcodes aren't the same thing as template variables - not sure on how they're handled and in what order tbh. But I suspect that confusion perhaps might be where your issue lied. changing the return value to $datHTMLtext->getValue() might have better results.
358: [23:08:16] <Nightjar> as it would encode the ampersand for you :>
359: [23:08:34] <Nightjar> (which is different from urlencode DanaeNZ) :>
360: [23:08:38] <Nightjar> lunch time!
361: [23:08:46] <Nightjar> curry, THREE DAYS ON THE TROT
362: [23:08:52] <Nightjar> (pun intended)
363: [23:16:42] * micmania1 has joined #silverstripe
364: [23:20:11] * Quatrepee quit (Quit: leaving)
365: [23:30:01] * sminnee_ quit (Quit: sminnee_)
366: [23:32:12] <Hailwood> Thanks Nightjar, Yeah returnung the object used to work as I believe it used to use ->forTemplate() which would be escaped whereas now it actually uses getValue which I believe is the raw html.
367: [23:36:27] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
368: [23:54:07] * DanaeNZ quit (Remote host closed the connection)
369: [23:54:48] * DanaeNZ has joined #silverstripe
370: [23:55:02] * Stomach_ quit (Quit: zzz)
371: [23:59:04] * DanaeNZ quit (Ping timeout: 252 seconds)

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