#silverstripe IRC Log

IRC log for 10 March 2014

All timestamps are in UTC.

1: [00:00:04] <irogue_> they were a little bit light on the jalapenos tho
2: [00:00:08] * SightUnseen has joined #silverstripe
3: [00:00:09] <ss23> simon_w: Just let me know which day. As long as it's not Tuesday or Friday this week, should be okay ^.^
4: [00:00:11] <kim__> like height width url and others
5: [00:00:17] * SightUnseen has left #silverstripe
6: [00:00:21] <antmas> ZOMG Cosmos episode 1 is out
7: [00:00:25] <ss23> I had a burger the other day. 50% of it was mustard, other 50% was avacado
8: [00:00:28] <ss23> It was disgusting
9: [00:00:37] <antmas> that's it
10: [00:00:42] <antmas> I'm writing a letter
11: [00:00:43] <ss23> Just because it was like the mustard for the entire burger in one clump on one side, and same with avacado on the other
12: [00:00:46] <antmas> to Burger Fuel
13: [00:00:57] * howardgrigg quit (Ping timeout: 253 seconds)
14: [00:00:58] <ss23> lol
15: [00:01:03] <ss23> antmas: "OPEN A STORE PLS!"?
16: [00:01:42] <antmas> hell yes
17: [00:01:49] <antmas> enough with the McD's and Subways
18: [00:01:56] <simon_w> kim__, well, you're still going to need to have the HTML fields in the same place. Though you could use http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit and then a check in onBeforeWrite() on your class that creates+writes+sets the relation ID if it hasn't been set
19: [00:02:00] <antmas> we have like 14355 stores and NO BF
20: [00:02:03] * McLovin123 quit (Ping timeout: 252 seconds)
21: [00:02:18] <simon_w> antmas, you know where you should tell them to open a store? Canberra.
22: [00:03:10] <antmas> simon_w: I'll write for us both
23: [00:03:16] <antmas> with pictures and everything
24: [00:04:18] <kim__> I will take a look at that. Do you think it would be better to add the fields directly in my class rather than the dataobject?
25: [00:04:39] <simon_w> kim__, if you're not going to be sharing the same video between multiple pages, yes
26: [00:05:23] <antmas> simon_w: can't believe they don't have one in Canberaa
27: [00:05:26] <antmas> Canberra
28: [00:05:36] <antmas> are they even in AUS though?
29: [00:05:43] <simon_w> antmas, I know! They've known I'll be moving there for some time now!
30: [00:05:47] <simon_w> Yeah, there's one in Sydney
31: [00:06:50] <kim__> I will make that change then. I appreciate your help thanks
32: [00:08:08] <antmas> goddamn BF put 3 stores in ChCH
33: [00:08:17] <antmas> Y U NO NELSON?!
34: [00:08:20] <simon_w> 3? That didn't take long
35: [00:08:25] <kim__> Out of curiosity, if I were to be sharing the video what would be best then?
36: [00:08:39] <Ryan-Toast> antmas: because Nelson.
37: [00:08:43] <simon_w> kim__, http://addons.silverstripe.org/add-ons/simonwelsh/gridfieldrelationhandler
38: [00:08:55] <spronk> wait
39: [00:08:57] <spronk> wtf 3 stores
40: [00:09:00] <spronk> there's only one store in chch
41: [00:09:12] <antmas> they have 3 up and coming
42: [00:09:17] <antmas> 2 are being built right now
43: [00:09:19] <kim__> ok thanks
44: [00:09:22] <Ryan-Toast> you know BF is all franchise, right? Anyone can buy one.
45: [00:09:23] * ocm quit (Ping timeout: 244 seconds)
46: [00:09:25] <spronk> ]really?
47: [00:09:27] <spronk> antmas: whered you see this?
48: [00:09:51] <spronk> oh wow
49: [00:09:52] <antmas> spronk: http://www.burgerfuel.com/nz/franchise-nz/territories
50: [00:09:59] <antmas> 3 sold
51: [00:10:04] <spronk> oh wow
52: [00:10:09] <spronk> that was under neg until very recently
53: [00:10:13] <spronk> also
54: [00:10:13] <spronk> http://www.burgerfuel.com/franchise-form/
55: [00:10:14] <zippy____> antmas: http://www.burgerfuel.com/franchise/files/Application%202012.pdf there you go -
56: [00:10:14] <spronk> this is new
57: [00:10:21] <ss23> lol
58: [00:10:27] <antmas> DONE
59: [00:10:30] <ss23> antmas does a franchise of burger fuel from his kitchen
60: [00:10:33] <spronk> some deal with subway o-O
61: [00:10:49] * antmas goes to create a bot to fill out 100s of forms
62: [00:11:04] <Ryan-Toast> I had burger fuel last night. Can't get enough.
63: [00:11:32] <ss23> I'm sick of Burger Fuel, I eat it too much
64: [00:11:43] <antmas> SHUT UP
65: [00:11:45] <antmas> ALL OF YOU!
66: [00:11:49] <antmas> ;____;
67: [00:11:51] <simon_w> http://www.burgerfuel.com/nz/au/franchise/australia-franchise-enquiries/australian-territories
68: [00:11:52] <Ryan-Toast> Can't get sick of a greedy bastard
69: [00:11:57] <simon_w> Why no Canberra? :(
70: [00:12:09] <zippy____> http://www.burgerfuel.com/nz/franchise-nz/faq-nz - so $50k in fees + approx 250-450k to setup a shop and then 7% royalty + 4% advertisign monthly
71: [00:12:31] * antmas looks up Greedy Bastar
72: [00:12:35] * antmas cries
73: [00:12:37] <Ryan-Toast> ss23: Next time you go, ask for a greedy bastard.
74: [00:12:50] <irogue_> 02:08 < spronk> http://www.burgerfuel.com/franchise-form/
75: [00:12:52] <irogue_> thats for USA
76: [00:13:02] <irogue_> the founder of subway bought the burgerfuel franchise rights for the U.S.
77: [00:13:12] <spronk> wow
78: [00:13:28] <antmas> lame
79: [00:15:05] <irogue_> On 14 Jan 2014, Burger Fuel Worldwide announced a $5.9m injection from new US investor - Milford, Connecticut-based Franchise Brands (backed by Subway founders Fred DeLuca and Peter Buck) to fund global expansion. The purchase is for 10% of the company with the option to raise this to 50% over 8 years. They plan to assist with BurgerFuel expansion particularly into the US market. Burger Fuel Worldwide shares immediately leapt 80% as a result to an all-time
80: [00:16:00] <spronk> solid
81: [00:16:25] <antmas> nice move
82: [00:16:30] <antmas> not lame*
83: [00:16:48] <antmas> BUT COME TO NELSON PLX
84: [00:18:12] <simon_w> Pfft, no one wants to go to Nelson
85: [00:18:37] <antmas> hippies and bogans do
86: [00:18:44] <Stomach> nelson is awesome for hippies and bogans
87: [00:20:01] * antmas looks out window and sees 3 different Cefiros and a VW wagon roll by
88: [00:21:41] * simon_w looks out the window and sees a trolley bus
89: [00:21:47] <Ryan-Toast> antmas: that reminds me, I drove a 3L v6 gti as well :P
90: [00:22:02] <Ryan-Toast> BE JEALOUS.
91: [00:22:03] <antmas> Ryan-Toast: meh, not a gti fan :P
92: [00:22:07] <antmas> but nice anyway
93: [00:22:10] <Ryan-Toast> antmas: ever driven one?
94: [00:22:18] <simon_w> Only 3L? TINY!
95: [00:22:23] <antmas> Ryan-Toast: yeah a 94 2.5 litre
96: [00:22:30] * simon_w hasn't driven anything smaller than 18L
97: [00:23:03] <Ryan-Toast> Ah, not a GTi sorry. VW Golf R
98: [00:23:18] <Ryan-Toast> simon_w lol
99: [00:23:23] <antmas> Golf R's a nice
100: [00:23:27] <antmas> are*
101: [00:23:46] <Ryan-Toast> antmas: Yeah, I ran out of gas on the motorway ><
102: [00:24:05] <Ryan-Toast> sports mode = no gas mode
103: [00:24:46] <antmas> best hatch I ever drove was a Seat Leon Cupra 280
104: [00:24:55] <antmas> thing was scary being FWD
105: [00:25:28] <Ryan-Toast> antmas: they're nice. My favourite was a weird ford focus thing, I can't remember what it was but it was AWD and awesaome.
106: [00:25:56] <spronk> ... the AZBO?
107: [00:26:01] <antmas> maybe?
108: [00:26:13] <spronk> Ford Focus SP?
109: [00:26:15] <spronk> aka XR5
110: [00:26:21] <antmas> I did drive a Ford Focus XR5 (turbo one)
111: [00:26:25] <antmas> this ^^^^
112: [00:26:28] <antmas> that was fun as
113: [00:26:30] <antmas> :D
114: [00:26:36] <spronk> mm
115: [00:26:41] <spronk> xr5s are quite cool
116: [00:26:52] <spronk> worst thing about NZ:
117: [00:26:55] <spronk> too many fucking automatics.
118: [00:27:03] <Ryan-Toast> spronk: yes.
119: [00:27:16] <simon_w> Less fucking cars, more driving cars?
120: [00:27:37] <antmas> I don't mind autos if the clutch is done right
121: [00:27:51] <spronk> eh
122: [00:27:54] <spronk> clutch? autos?
123: [00:27:55] <spronk> what
124: [00:28:04] <antmas> auto clutch
125: [00:28:05] <Ryan-Toast> I just don't like having a "sports" car that you don't control.
126: [00:28:29] <spronk> ugh
127: [00:28:32] <spronk> autos are spawn of satan
128: [00:28:41] <spronk> even tiptronics are borderline blasphemy
129: [00:29:15] <antmas> Paddle Shifters are the spawn of satan, not so much autos IMO
130: [00:29:26] <spronk> but
131: [00:29:42] <spronk> working the gearbox is a fundamental truth of driving nirvana
132: [00:29:49] <antmas> yeah true
133: [00:29:56] <Ryan-Toast> spronk: It's why I have bikes.
134: [00:30:05] <Ryan-Toast> engine gearbox, you.
135: [00:30:14] <Ryan-Toast> and some wheels
136: [00:30:39] <antmas> Ryan-Toast: even most bikes now are all going fly-by-wire as well now though :/
137: [00:30:44] <spronk> you forgot something in this equation, Ryan-Toast
138: [00:30:46] <antmas> which is very odd to ride with
139: [00:31:02] <spronk> engine, gearbox, you, some wheels, death.
140: [00:31:06] <Ryan-Toast> :P
141: [00:31:11] <spronk> :D
142: [00:31:17] <Ryan-Toast> death rides bitch-seat
143: [00:31:46] <simon_w> You should totally get a sidecar and have someone riding around in it dressed like death
144: [00:31:52] <Ryan-Toast> I want one
145: [00:32:01] <Ryan-Toast> Sidecars are bosss.
146: [00:32:12] <antmas> simon_w: that's probably the best thing you've ever said in my time being on IRC
147: [00:33:09] <spronk> :D
148: [00:33:16] * spronk agrees
149: [00:34:07] <antmas> Ryan-Toast: or, you know, take people for naps http://upload.wikimedia.org/wikipedia/commons/d/d1/Motorcycle_ambulance_Popular_Mechanics_v._30_-_1918_page_165_b.jpg
150: [00:34:16] <simon_w> Now I want to see pictures of that
151: [00:34:20] <simon_w> Anyway, lunch
152: [00:34:28] <antmas> simon_w: I've already tried looking :D
153: [00:35:00] <Ryan-Toast> npm install -g grunt-cli
154: [00:35:03] <Ryan-Toast> ...
155: [00:35:05] * howardgrigg has joined #silverstripe
156: [00:35:05] <Ryan-Toast> derp.
157: [00:37:00] <zippy____> with ss 2.4….. in the template you can do <% if foo %>
158: [00:37:03] <zippy____> but… what about not?
159: [00:37:08] <zippy____> <% if not foo
160: [00:37:13] <Ryan-Toast> use else
161: [00:37:33] <antmas> mmmmm microsoft screen wetwipes
162: [00:37:34] <antmas> :D
163: [00:37:35] <zippy____> what so, <% if foo %><% else %> here? <% end_if %>
164: [00:37:38] <Ryan-Toast> <% if foo %><% else %> do stuff<% end_if %>
165: [00:37:43] <zippy____> rangi
166: [00:37:49] <Ryan-Toast> yup
167: [00:37:54] <Ryan-Toast> but it works.
168: [00:38:31] <Ryan-Toast> zippy____: Let the hack flow through you.
169: [00:38:45] <zippy____> I am already using ss2.4 - I feel dirty enough
170: [00:38:53] <Ryan-Toast> :P
171: [00:43:15] * SightUnseen has joined #silverstripe
172: [00:53:21] * SightUnseen has left #silverstripe
173: [00:55:00] * UncleCheese has joined #silverstripe
174: [01:18:45] <antmas> wholey shit
175: [01:18:50] <antmas> Panasonic Toughpads
176: [01:18:59] <antmas> such expensive
177: [01:20:52] * antmas quit (Quit: Page closed)
178: [01:21:18] * antmas has joined #silverstripe
179: [01:23:06] <spronk> many wow
180: [01:25:47] <antmas> no Surface 2 Pros left in the country :(
181: [01:26:06] <simon_w> So supply's finally matched demand? :p
182: [01:26:35] <antmas> they're so good, and an awesome price
183: [01:31:30] * nbezzala quit (Remote host closed the connection)
184: [01:33:01] <pippy> hello
185: [01:33:44] <pippy> antmas: i want a surface 2 but i don't like microsoft
186: [01:33:48] <pippy> 1st world problems
187: [01:35:47] <antmas> heh
188: [01:36:07] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
189: [01:36:10] <antmas> we're getting one for our dev team
190: [01:36:13] <antmas> should be fun
191: [01:36:18] <simon_w> Sigh, meant doesn't have an apostrophe in it.
192: [01:36:35] <antmas> really, simon_w ?
193: [01:36:42] <antmas> :P
194: [01:36:44] <antmas> REALLY
195: [01:36:48] <antmas> it should though
196: [01:36:54] <simon_w> No, it shouldn't
197: [01:37:09] <antmas> it should, look at it
198: [01:37:11] <simon_w> mea not? What's that even supposed to mean?
199: [01:37:15] <antmas> it looks wrong without one
200: [01:37:23] <antmas> I know, but it looks off
201: [01:37:25] <simon_w> Looks right to me
202: [01:37:47] <pippy> the manager of the IT department got one for as a bribe, he hates it because the wifi is flaky and keeps dropping out, and using word on it is hard
203: [01:37:51] <simon_w> Just like how tent doesn't have an apostrophe in it
204: [01:38:00] <antmas> I used to think it was short hand for 'meaning to' and therefor, should have an apostrophe
205: [01:38:34] * Bollig|DesignCty has joined #silverstripe
206: [01:38:39] <antmas> but whatever
207: [01:41:28] <simon_w> "I'd like to treat developers coming to our sites as smart people who are willing to learn something new"
208: [01:41:29] <simon_w> How to refute that without coming across as some old gezzer
209: [01:41:39] <simon_w> Seriously, that doesn't reflect on developers at all
210: [01:42:38] <antmas> simon_w: I'm assuming you're referring to 'willing to learn something new?'?
211: [01:42:46] <antmas> bah, stupid autofix
212: [01:42:51] <ss23> What is this even in regards to, simon_w? o.o
213: [01:42:55] <simon_w> Also, smart
214: [01:43:03] <simon_w> ss23, trying to enforce composer for add ons
215: [01:43:13] <ss23> oic
216: [01:43:18] <ss23> simon_w: link?
217: [01:43:26] <simon_w> http://ss.org.nz/ss-dev
218: [01:43:30] <simon_w> Should still be the top one
219: [01:43:31] <ss23> chur
220: [01:44:06] <simon_w> The main problem with debating with Cam is he's a much better orator than I am
221: [01:45:17] <antmas> not all developers are 'smart people'
222: [01:45:25] <antmas> and most of them refuse to learn new things :P
223: [01:45:40] <simon_w> Oh, I can probably go with something along those lines
224: [01:46:13] <antmas> I wouldn't call Java developers 'smart people'
225: [01:46:14] <antmas> :D
226: [01:47:14] <ss23> I think, from what I've read so far, I'm inclined to agree with you, simon_w
227: [01:47:17] <ss23> So I might say something
228: [01:47:43] <zippy____> ss23 why do they have google groups and the main forum site… whats the point of both?
229: [01:48:13] <simon_w> zippy____, ss-dev is a lot lower volume and isn't for helping people
230: [01:48:15] <ss23> The forum is for Q&A isn't it?
231: [01:48:17] <ss23> mm
232: [01:48:42] <simon_w> A mailing list is a lot better for discussion than a forum.
233: [01:48:47] <ss23> mm
234: [01:48:48] <ss23> :D
235: [01:48:49] <antmas> simon_w: I agree too
236: [01:48:55] <simon_w> If only Google realised that and didn't try turning groups into a forum
237: [01:49:05] <antmas> I might chime in, but I'm not sure what else to add to that specific argument :O
238: [01:49:07] <zippy____> ahhh, so really it's an email list, not a forum :)
239: [01:49:45] <simon_w> I didn't try refuting that line of his, since I'm trying to make him see that my objection's to the CLI not composer (yet)
240: [01:49:58] * willr quit (Quit: willr)
241: [01:50:28] <antmas> I object to all things CLI when it comes to anything but experienced dev
242: [01:50:39] <simon_w> Exactly
243: [01:51:06] <simon_w> Hence requiring a CLI being a major UX fail
244: [01:51:16] <antmas> Is there any GUI for it?
245: [01:51:23] <simon_w> Nope
246: [01:51:25] <antmas> or has anyone tried to make one?
247: [01:51:40] <simon_w> I'm somewhat tempted to make one, but there doesn't seem to be decent backend documentation
248: [01:52:44] <simon_w> I wouldn't want to write one that just calls out to the composer phar, but actually implements the protocols and stuff
249: [01:53:16] <howardgrigg> http://youtu.be/hkDD03yeLnU?t=8s
250: [01:54:21] <antmas> howardgrigg: awesome
251: [01:54:34] <simon_w> Oh no, they let out the secret of how they make all their displays!
252: [01:55:00] <wracu> UncleCheese: thanks for the tip before. My filtered list is working well.
253: [01:55:09] <UncleCheese> great!
254: [01:55:12] <wracu> thought, wondering about ajax now :p
255: [01:55:34] <simon_w> ss23, I replied!
256: [01:55:41] <ss23> I saw it pop up
257: [01:55:44] <ss23> :D
258: [01:55:47] <ss23> I'm still not done reading yet
259: [01:55:51] <antmas> I love the guys attempt at arguing on the bottom comment for that vid
260: [01:56:13] <UncleCheese> simon_w: look at git, though.. it's a CLI tool with heaps of GUIs proclaiming to make it easier, and they're all horrific
261: [01:56:29] <UncleCheese> I reckon a Composer GUI would face the same pitfalls
262: [01:56:33] <simon_w> UncleCheese, so's the CLI
263: [01:56:49] <UncleCheese> but what does adding another layer of abstraction do for you?
264: [01:56:55] <UncleCheese> if it sucks, it sucks
265: [01:57:02] <UncleCheese> but a GUI is just trying to polish a turd
266: [01:57:12] <ss23> Computers are alomst lal abastraction from the CPU up
267: [01:57:17] <simon_w> Like I said, it wouldn't call out to the phar
268: [01:57:41] <UncleCheese> do git GUIs just call the git binary?
269: [01:57:44] <simon_w> And it lets people that don't know how to (and really shouldn't) use a CLI use it
270: [01:58:11] <simon_w> The ones I looked at when I first started with git did
271: [01:58:39] <antmas> most tutorials plebs follow usually say things like 'do a run of<insertcommandhere>', which isn't teaching them anything
272: [01:59:17] <UncleCheese> well composer is open-source.. i wonder if there's a public api that would allow you to execute specific functions directly without the CLI layer
273: [01:59:20] <antmas> you don't want the inexperienced simply running 'try it and see', that doesn't work
274: [02:01:00] <ss23> 14:59:17 < UncleCheese> well composer is open-source.. i wonder if there's a public api that would allow you to execute specific functions directly without the CLI layer
275: [02:01:04] <ss23> It's just a PHP script?
276: [02:01:10] <UncleCheese> it's a phar archive
277: [02:01:17] <UncleCheese> but i'm sure there's a way to get into all the components
278: [02:01:18] <ss23> same thing :P
279: [02:01:26] <simon_w> UncleCheese, there is, but I've yet to find any documentation for it
280: [02:01:34] <UncleCheese> yeah, it's just like billions of php classes bundled together
281: [02:01:45] <simon_w> Also, https://github.com/composer/composer
282: [02:03:58] <antmas> when did SS start using composer? or has it always?
283: [02:04:05] <simon_w> 3.0.3
284: [02:05:01] <UncleCheese> simon_w what do you think about Ruby's dependency management?
285: [02:05:31] * Ar10 has joined #silverstripe
286: [02:05:37] <UncleCheese> in my limited experience with Rails, it just kind of works.. much less fussy than composer
287: [02:05:42] <Ar10> Greeting everyone
288: [02:05:51] <simon_w> It's also horrible and seems to break even more than composer
289: [02:05:57] <UncleCheese> hahaha
290: [02:06:17] <UncleCheese> what about nom?
291: [02:06:19] <UncleCheese> npm?
292: [02:06:20] <simon_w> So many gems with hard-coded dependancy versions
293: [02:06:23] <simon_w> Haven't used it
294: [02:07:23] <Ar10> Gents !! I have a silverstripe site which is thrashing 5gb of memory
295: [02:07:27] <simon_w> Only remotely decent one I've used is deb
296: [02:07:56] * azureknight has joined #silverstripe
297: [02:08:10] <simon_w> Ar10, what are you doing with it?
298: [02:08:15] <simon_w> Also, got an opcode cache installed?
299: [02:08:20] <zippy____> Ar10: ep! You trying to load all objects eh!
300: [02:08:39] <Ar10> I am fairly new to silverstripe
301: [02:09:08] <Ar10> its a sports website i recently overtook to support
302: [02:10:04] <pippy> Ar10: is it the apache process using the memory? are you on linux/windows?
303: [02:10:24] <Ar10> its apache process I afraid
304: [02:10:27] <zippy____> Ar10: If you restart apache, does it use 5gb right away or after a few days
305: [02:10:33] <UncleCheese> is it mitchsportsplace?
306: [02:10:46] <Ar10> it builsa up 5 gig after few days
307: [02:10:55] <UncleCheese> sounds like mitch to me
308: [02:11:04] <azureknight> Lol.
309: [02:11:07] * Jakx has joined #silverstripe
310: [02:11:23] <Ar10> mitch ?
311: [02:11:36] <azureknight> I still haven't solved my object writing the holder page stage to live on save yet.
312: [02:11:37] <zippy____> Ar10: Set your MaxRequestsPerChild to 100 or 200~
313: [02:11:37] <UncleCheese> ah, never mind then
314: [02:11:53] <zippy____> Ar10: Then tidy up the leaks as best you can
315: [02:12:04] <UncleCheese> there was this sports site site that was going around like a hot potato for a while.. the guy was a total ass
316: [02:12:31] <antmas> UncleCheese: white site was it?
317: [02:12:36] <UncleCheese> mitchsportsplace
318: [02:12:37] <UncleCheese> i think
319: [02:12:49] <UncleCheese> sportschatplace.com
320: [02:13:04] <Ar10> oh haha no i am not mitch. @Zippy- Thanks mate i will do Maxrequest
321: [02:13:11] <UncleCheese> the site is so awful..
322: [02:13:18] <UncleCheese> but he makes a fuckton of cash
323: [02:13:21] <Ar10> my site is perthdemons.com.au/
324: [02:13:26] <azureknight> Ewww...
325: [02:13:26] <UncleCheese> ah, good on you
326: [02:13:28] <zippy____> Ar10: And then look into your objects - looking at caching the menu etc...
327: [02:13:50] <azureknight> I recently have done a website for a group, their old site was one of the worst things I've ever seen...
328: [02:14:28] <azureknight> Inconsistent width of the sidebar area, the colors completely contrasting and the content constantly in different spots.
329: [02:15:55] <antmas> fucking autoplay videos need to dieinafire
330: [02:16:18] * joelpittet has joined #silverstripe
331: [02:16:21] * azureknight strikes a match.
332: [02:16:26] <ss23> antmas: ++
333: [02:16:34] <ss23> Swear, like every fucking page I went to on twitch.tv played some fucking video
334: [02:16:45] <ss23> Then I've got ~20 spam messages since then being like "HEY WANNA GET VIEWS? SIGN UP WITH ME!"
335: [02:16:48] <ss23> ASdf
336: [02:16:48] <ss23> rage
337: [02:16:58] <azureknight> Is it me, or are ads on website like much more in your face and obnoxious than ever?
338: [02:17:23] <antmas> azureknight: I dunno, I adblock all the things
339: [02:17:28] <simon_w> Not on the ones that I've told adblock to let through
340: [02:17:42] <azureknight> I had uninstalled it for a little, and then I was overwhelmed, and adblock came right back.
341: [02:18:37] <antmas> no adblock? BOOM SEARCH CONDUIT
342: [02:19:22] * joelpittet quit (Read error: Connection reset by peer)
343: [02:19:24] <howardgrigg> UncleCheese: trying to use displaylogic but having issues - neither of my DisplayLogicWrappers are displaying. Any obvious issues here? https://gist.github.com/howardgrigg/9458426
344: [02:19:55] * joelpittet has joined #silverstripe
345: [02:20:19] <azureknight> My object has_one of the relation item, but the item has_many of my object. Can I use onAfterWrite on my object to make the has_one holder go to stage live?
346: [02:21:13] <UncleCheese> howardgrigg: hmm… have you had luck using displaylogicwrapper like that before?
347: [02:21:17] <UncleCheese> it's not the intended use case
348: [02:21:51] <UncleCheese> it's more for wrapping a single field that doesn't have a conventional template, e.g. literal, grid
349: [02:22:04] <azureknight> Simplistic terms. Article has_one Topic, Topic has_many Articles. But when I add an Article, the full generated URL doesn't work until I've published the Topic Page. Can I make it so when I save an Article, the Topic Page automatically publishes?
350: [02:22:09] <UncleCheese> but your slides wrapper should work
351: [02:22:38] <simon_w> azureknight, yes
352: [02:23:30] <UncleCheese> azureknight: just use the onAfterWrite() hook
353: [02:23:39] <azureknight> Would I use onAfterWrite() {$this->Topic->doPublish('Stage', 'Live');} or am I missing some key factor?
354: [02:23:49] <UncleCheese> no
355: [02:23:58] <UncleCheese> you can't access it that way because the orm caches relations
356: [02:24:01] <simon_w> $this->Topic()->publish('Stage', 'Live)
357: [02:24:02] <UncleCheese> run a proper query
358: [02:24:02] <azureknight> Ahhh.
359: [02:24:37] <simon_w> azureknight, making sure $this->TopicID != 0 first
360: [02:25:01] <azureknight> UncleCheese proper query?
361: [02:25:19] <UncleCheese> Topic::get()->byID($this->TopicID)
362: [02:25:25] <azureknight> Ahhh.
363: [02:25:26] <azureknight> Brilliant.
364: [02:25:31] <UncleCheese> ^^ simon_w
365: [02:25:33] <simon_w> azureknight, so long as you're not doing things with $this->Topic() before the write, you can ignore UncleCheese
366: [02:25:41] <azureknight> Hahaha.
367: [02:26:13] <azureknight> I'm using $Page = $this->Topic()
368: [02:26:16] <azureknight> to make my Link function work.
369: [02:26:26] <howardgrigg> UncleCheese: yea you're right I wrapped the three fields in a field list and now it works :)
370: [02:26:27] <azureknight> So, I believe that means I need to follow UncleCheese ?
371: [02:26:44] <UncleCheese> on twitter?
372: [02:26:45] <UncleCheese> yes, you do
373: [02:26:51] <UncleCheese> i post pictures of cats daily
374: [02:26:56] <simon_w> Only if Link() gets called in the request before the write() that writes the TopicID
375: [02:27:03] <azureknight> I am following you already... I'm going to pay way more attention.
376: [02:27:07] <azureknight> I do love cats.
377: [02:28:18] <azureknight> So, I believe I shall try that and get back to you guys on my success.
378: [02:28:45] <azureknight> Oh, anybody running 3.1.3?
379: [02:29:39] <Stomach> yep
380: [02:30:00] <azureknight> Have you used the greaterthanorequal statements yet?
381: [02:30:07] <Stomach> nope
382: [02:30:13] <azureknight> Ahh... I want to test them on the front-end.
383: [02:31:02] <UncleCheese> they finally added that?
384: [02:31:03] <UncleCheese> ha
385: [02:31:13] <UncleCheese> i always used exclude/less than
386: [02:31:19] <UncleCheese> as a work around
387: [02:31:25] <kim__> Hi I tried using GridFieldHasOneRelationHandler but am finding that the selected dataobject record is not saving. There are not any errors but just not retaining the selection
388: [02:31:38] <azureknight> People that I've worked with always demand the ability to post stuff and let it be triggered on a date.
389: [02:32:07] <azureknight> So I simply was writing codes that if $pubDate <= SS_Datetime::Now() return true.
390: [02:33:54] <azureknight> Ok, so $artTopic = Topic::get()->byID($this->TopicID); if($artTopic != 0) {$artTopic->publish('Stage', 'Live');
391: [02:34:01] <azureknight> All in onAfterWrite, yeah?
392: [02:36:15] <azureknight> Hmm. That got me a warning.
393: [02:36:54] <guttmann> you're checking the wrong thing for 0
394: [02:37:01] <azureknight> Oh.
395: [02:37:04] <guttmann> you want to make sure $this->TopicID is not 0
396: [02:37:09] <guttmann> (I believe)
397: [02:37:12] <azureknight> You are correct.
398: [02:37:46] <azureknight> Oh. I see, my variable is grabbing the topic based on the idea. I need to tell my if to grab the $artTopic ID to compare for the 0
399: [02:38:14] <azureknight> id*
400: [02:39:19] <Jakx> how do I loop through the GET variables from an SS_HTTPRequest?
401: [02:39:59] <simon_w> Jakx, ->getVars()
402: [02:40:00] <Jakx> e.g $request->getVars()
403: [02:40:10] <Jakx> simon_w, oh haha. :S ty.
404: [02:47:55] * SightUnseen has joined #silverstripe
405: [02:48:12] * SightUnseen has left #silverstripe
406: [02:48:55] <azureknight> Hmm, I'm getting that I can't use publish on a non-function.
407: [02:49:02] <azureknight> er non-object.
408: [02:49:19] <Jakx> holy shit I finally understand how $.entwine is used in SS... achievement unlocked.
409: [02:49:30] <azureknight> Jakx LEVEL UP.
410: [02:49:54] <Jakx> ^
411: [02:50:32] <guttmann> azureknight: what does your code look like now?
412: [02:51:29] <azureknight> $artTopic = Topic::get()->byID($this->TopicID); $artTopic->publish('Stage', 'Live');
413: [02:52:08] <guttmann> is that wrapped in: if ($this->TopicID != 0) { <your code here> } ?
414: [02:52:26] <azureknight> Oh, Let me try that.
415: [02:56:32] <azureknight> Hmm. I'm getting an error saving my other pages, right now.
416: [02:56:34] <azureknight> Weird.
417: [02:56:52] <azureknight> Something unrelated though it seems. I need to check into it first.
418: [02:58:22] <simon_w> kim__, are you clicking the Save Relation button before saving the page?
419: [03:00:25] <simon_w> "GET /BetaBlockModules/ProfileFeedModule/ProfileFeedModule.php?path_prefix=http://www.google.com/humans.txt? HTTP/1.0"
420: [03:00:26] <simon_w> New WP attack vector?
421: [03:00:38] * kim__ quit (Ping timeout: 245 seconds)
422: [03:01:01] <azureknight> guttmann the object saves accordingly, but it seems that function isn't following through.
423: [03:01:15] <azureknight> The object links, but when going there it's my 404 page.
424: [03:02:18] * antmas likes saying 'polymorphism'
425: [03:02:59] <azureknight> If I go back to the Topic page and save it, then the links all work.
426: [03:04:11] <guttmann> are you sure the Topic is related to an Article?
427: [03:04:48] <ss23> guttmann: Are you using SilverStripe for something at natlib? :O
428: [03:04:54] <guttmann> perhaps :P
429: [03:05:03] <guttmann> not natlib though
430: [03:05:08] <azureknight> Yeah, positive. Topic.php has_many Articles => Article
431: [03:05:13] <ss23> guttmann: cool cool... :D
432: [03:05:19] <guttmann> I'm working on beta.govt.nz
433: [03:05:22] <azureknight> and Article.php has_one Topic => Topic
434: [03:06:11] <azureknight> But...
435: [03:06:26] <guttmann> azureknight: that definitely sounds like you have it setup right in the code, does the specific Article you're saving have a Topic related?
436: [03:06:55] <azureknight> I'm working with someone else. He's using the gridField relation editor to link the article to the Topic.
437: [03:07:42] <azureknight> Here, I'll make this easier, and thanks for all the help.
438: [03:07:47] <azureknight> I'll do a paste it really fast.
439: [03:08:49] <azureknight> Topic.php http://www.sspaste.com/paste/show/531d2936de109
440: [03:09:08] <azureknight> Article.php http://www.sspaste.com/paste/show/531d29567a396
441: [03:10:21] <simon_w> ss23, WHY HASN'T http://www.elections.org.nz/events/2014-general-election BEEN UPDATED?
442: [03:10:54] <ss23> IDK
443: [03:10:55] * Jakx has left #silverstripe
444: [03:10:56] <ss23> ;_;
445: [03:10:58] <ss23> Why are you asking me?!
446: [03:11:02] <ss23> Do we run this site? :O
447: [03:11:09] <simon_w> Ahahaha, SilverStripe got ditched for Drupal
448: [03:11:13] <simon_w> Used to
449: [03:11:17] <ss23> ah :D
450: [03:13:09] <antmas> dafuq made that elections site?
451: [03:13:18] <antmas> :O
452: [03:13:25] <antmas> oh wait, govt
453: [03:13:27] <antmas> :D
454: [03:13:37] <Ryan-Toast> that website: http://i.imgur.com/b4zIP.gif
455: [03:13:59] <ss23> lol
456: [03:14:52] <antmas> is that from cockey's vs zombies?
457: [03:16:30] <antmas> probably not enough time before sep 20 to rebuild :P
458: [03:19:01] <azureknight> simon_w could you maybe look over those pastes? Setting the Topic stage to live still seems to not be making the link function properly until manually hitting publish.
459: [03:19:19] <ss23> simon_w: Replying now
460: [03:20:25] * zippy____ quit (Ping timeout: 240 seconds)
461: [03:25:17] <ss23> simon_w: sent, thoughts?
462: [03:25:57] <Ryan-Toast> antmas: Misfits
463: [03:26:53] * wracu quit (Ping timeout: 245 seconds)
464: [03:27:16] <azureknight> Maybe using the relation editor is the problem...
465: [03:27:26] <antmas> Ryan-Toast: ah yeah I clicked after I asked
466: [03:27:35] <antmas> cockey's lol
467: [03:27:40] <antmas> Cocknies*
468: [03:27:45] <pippy> did elections.org.nz used to be ran on silverstripe?
469: [03:28:00] <pippy> weird, why'd they move away when SS has the CWP?
470: [03:28:15] <antmas> pippy: because govt
471: [03:28:24] <antmas> also, CWP is kinda redundant
472: [03:28:30] * ss23 looks at antmas
473: [03:28:31] <ss23> Go on.
474: [03:28:43] <antmas> ss23: ?
475: [03:28:48] <ss23> 16:28:24 < antmas> also, CWP is kinda redundant
476: [03:28:49] <ss23> Please
477: [03:28:51] * ss23 sits down
478: [03:28:53] <ss23> Elaborate for me
479: [03:28:56] * ss23 stares at antmas intently
480: [03:29:08] <antmas> unless I'm missing something, it's a series of common modules
481: [03:29:17] <antmas> essentiall
482: [03:29:23] <antmas> esentially*
483: [03:29:31] <antmas> ugh, can't type
484: [03:30:00] <pippy> a govt department has to write a business case to not use CWP
485: [03:30:13] <antmas> pippy: no
486: [03:30:19] <irogue_> i just finished a game
487: [03:30:23] <irogue_> that doesnt happen often
488: [03:30:25] <guttmann> antmas: it's also version control, hosting, and deployment tools
489: [03:30:34] <pippy> ?
490: [03:30:48] <antmas> guttmann: which you don't need CWP for
491: [03:31:02] <irogue_> yes, but it's pre-done
492: [03:31:08] <irogue_> every govt dept not re-inventing wheel
493: [03:31:12] <irogue_> (and doing it badly)
494: [03:31:32] * antmas isn't arguing against it
495: [03:31:42] <antmas> against CWP*
496: [03:32:23] <antmas> I just don't like the idea of putting up hard fences to keep a car on a road, instead of painted lines
497: [03:32:29] <irogue_> also, Elections NZ isn't a government department, as that'd be a conflict
498: [03:32:40] <antmas> irogue_: :P
499: [03:33:07] <irogue_> re: 05:28 < pippy> a govt department has to write a business case to not use CWP
500: [03:33:27] <pippy> irogue_: i heard that from a systems archatect
501: [03:33:35] <pippy> is that not the case?
502: [03:33:40] <antmas> pippy: I highly doubt it
503: [03:33:55] <irogue_> well, they basically do, but that's not cos CWP has it locked down
504: [03:34:06] <irogue_> CWP just has a pre-written business case they can fill in the blanks, essentially
505: [03:34:14] <antmas> ^ this
506: [03:34:31] <irogue_> so it's a fuckload more work for a dept to use something else cos they have to write their own business case
507: [03:34:40] <irogue_> so yes, kinda right pippy
508: [03:34:45] <antmas> pippy: I thought you were meaning they must 'opt-out' with CWP, rather than just telling their boss they don't want/need it
509: [03:35:07] <simon_w> Also, isn't it possible to use the CWP infrastructure but without SS?
510: [03:35:12] <pippy> antmas: kinda what i though actually
511: [03:35:17] <pippy> *thought
512: [03:35:23] <pippy> turns out you have to opt-in: http://ict.govt.nz/programmes/rethink-online/implementing-rethink-online/common-web-services/platform/financial-case/
513: [03:35:28] <antmas> pippy: ah, then no :)
514: [03:35:43] <guttmann> simon_w: technically yes
515: [03:35:52] <antmas> l8r all!
516: [03:36:05] * antmas quit (Quit: Page closed)
517: [03:36:05] <pippy> bye
518: [03:36:37] <azureknight> Ah... I didn't get to say goodbye...
519: [03:37:39] <irogue_> simon_w: i believe you have to pay DIA to audit any non-SS code you'd want to run on it
520: [03:39:04] <ss23> If you want it audited, yeah
521: [03:39:12] <ss23> But no one has used that so far afaik
522: [03:39:54] <ss23> 16:35:06 <@simon_w> Also, isn't it possible to use the CWP infrastructure but without SS?
523: [03:40:00] <ss23> not that I'm aware of, but no one has tried afaik
524: [03:40:08] <ss23> FWIW, CWP isn't required
525: [03:40:12] <ss23> So no gov department *has* to do it iirc
526: [03:40:16] <azureknight> UncleCheese I'm still getting a 404, though the page is being published now due to the function.
527: [03:40:29] <ss23> But they do have to go through the same tender process of "Should we use it? Will this one be cheaper?" etc
528: [03:40:52] <irogue_> ah, tender processes
529: [03:42:17] <irogue_> where somehow a $2.3 million dollar tender using SharePoint wins the tender to make the new Hamilton City Council website
530: [03:43:16] * guttmann quit ()
531: [03:43:25] <ss23> lol
532: [03:43:31] <irogue_> and $135,000 a year for hosting
533: [03:43:48] <ss23> Well they're not tied to same gov issues, so they can do a tender then be like "Fuck it, this one gave us hookers so we'll do that" right?
534: [03:43:48] <irogue_> thats a lot of VPSes
535: [03:43:53] <ss23> hahaha
536: [03:43:55] * joelpittet quit ()
537: [03:44:08] <ss23> irogue_: In their defence, I'm not even sure I would host sharepoint if I only got 135k out of it
538: [03:44:47] <irogue_> yeah most of that will be sharepoint licensing fees
539: [03:47:40] * nbezzala has joined #silverstripe
540: [03:50:35] * UncleCheese quit (Quit: UncleCheese)
541: [03:56:25] <ss23> Sometimes I use a browser that isn't Chrome and realise how fucking shit Chrome is at font rendering :(
542: [04:18:17] * SightUnseen has joined #silverstripe
543: [04:22:11] * UncleCheese has joined #silverstripe
544: [04:25:55] <azureknight> When making a dataobject have it's own page, you use function Link on the object, and use the controller of the other page to write the $request, right?
545: [04:26:35] * SightUnseen has left #silverstripe
546: [04:42:36] * UncleCheese quit (Quit: UncleCheese)
547: [04:46:58] * cloph quit (Ping timeout: 264 seconds)
548: [04:51:18] * cloph_away has joined #silverstripe
549: [04:58:22] * DesignerX has joined #silverstripe
550: [04:59:48] * an_Eskimo quit (Ping timeout: 245 seconds)
551: [05:31:39] * SightUnseen has joined #silverstripe
552: [05:33:12] * SightUnseen has left #silverstripe
553: [05:42:44] <DesignerX> Hi everyone, anyone has an example of how to get GridField many_many and GridFieldOrderableRows working ? I know I need to use "$many_many_extraFields" 7 add "SortID" field to save the sorting of the many_many relation . Any tips, sample code or links to existing modules that does this would be nice :)
554: [05:48:46] <Zauberfisch> DesignerX: http://paste2.org/pBIK68s7
555: [05:49:16] <Zauberfisch> minor fix: http://paste2.org/peMY3KJ7
556: [05:50:37] <DesignerX> Zauberfisch: ty :) will try it now
557: [05:53:35] * Shrike_Finland has joined #silverstripe
558: [05:54:49] <Zauberfisch> DesignerX: in frontend you need to sort it by that then
559: [05:55:21] <Zauberfisch> DesignerX: updated the paste: http://paste2.org/UjbN6wXV
560: [05:55:36] <Zauberfisch> again: http://paste2.org/CPepUAVv
561: [05:55:47] <Zauberfisch> now it should be correct
562: [05:56:07] <Zauberfisch> oh noe
563: [05:56:10] <Zauberfisch> z
564: [05:56:12] <Zauberfisch> one more time: http://paste2.org/6gjHVWKU
565: [05:56:43] <azureknight> Sup Zauberfisch ?
566: [05:56:46] <Zauberfisch> replace everything with the latest version I pasted
567: [05:56:58] <Zauberfisch> azureknight: stand by
568: [05:57:06] <Zauberfisch> already working on your solution
569: [05:57:19] <azureknight> I wasn't going to ask you for help... But I might cry out of joy.
570: [05:57:23] <DesignerX> Zauberfisch: kk, so now line 19 uses the list dirctly from DB & not the re-sorted one
571: [05:57:42] <Zauberfisch> exactly, gridfield does the sorting anyway
572: [05:58:15] <Zauberfisch> but both probably works, wasn't sure
573: [05:58:26] <Zauberfisch> better save then give you something that does not work
574: [06:00:28] * Shrike_Finland quit (Quit: Leaving.)
575: [06:05:17] <azureknight> Zauberfisch I found it.
576: [06:05:34] <azureknight> My buddy had forgotten to complete his onbeforewrite.
577: [06:06:28] <DesignerX> Zauberfisch: works l:) ty
578: [06:07:31] * SightUnseen has joined #silverstripe
579: [06:11:14] * SightUnseen has left #silverstripe
580: [06:16:07] <ss23> spronk: I see you got added into a fuck-ton of twitter messages you probably didn't want! :D
581: [06:22:07] <azureknight> Twitter is how people like me spam smart people like you guys (at least who don't know about the irc)
582: [06:23:03] <ss23> XD
583: [06:31:32] <Zauberfisch> azureknight: https://gist.github.com/Zauberfisch/9460395
584: [06:31:39] <Zauberfisch> got a little sitetracked
585: [06:31:56] <Zauberfisch> but that's pretty much how I do it in my current project
586: [06:32:20] <azureknight> Ah, thanks. I'll look it over.
587: [06:34:43] <Zauberfisch> DesignerX: republished that paste as a gist: https://gist.github.com/Zauberfisch/9460436
588: [06:38:22] <Zauberfisch> azureknight: should be a pretty solid solution. with filtering of the URLSemgent for special chars, renaming if the URLSemgnet already exists and so on
589: [06:38:38] <azureknight> Yeah, that's definitely going to be helpful. Thanks a bunch!
590: [06:56:21] * Shrike_Finland has joined #silverstripe
591: [07:04:15] * darksnatch quit (Remote host closed the connection)
592: [07:04:18] <ss23> simon_w: A+ at issues closed
593: [07:04:19] <ss23> :D
594: [07:04:43] <simon_w|air> ss23, I may have specifically targeted Ingo a little too...
595: [07:06:05] <ss23> hahaha
596: [07:07:15] <ss23> simon_w|air: did you see my ss-dev post btw?
597: [07:07:21] <ss23> simon_w|air: I presume you hate the Github intergration idea :P
598: [07:07:33] <simon_w|air> Yup
599: [07:07:54] <ss23> I more put it in there as a jab of "If we're going to tie ourselves to software and services, lets go the whole way!"
600: [07:08:00] <simon_w|air> And GitHub integration doesn't make sense for the forum side of things, which is what the SSO was going to cover too
601: [07:08:01] <ss23> Personally I would prefer Github intergration than having to manage naother account
602: [07:08:09] <ss23> yeah
603: [07:08:12] <ss23> ik
604: [07:08:18] <ss23> I doubt it'll be well accepted
605: [07:08:18] <ss23> :D
606: [07:08:21] <Zauberfisch> whats the current status on coding guidlines
607: [07:08:29] <ss23> Zauberfisch: In core, there are public docs on it
608: [07:08:32] <Zauberfisch> are we now following PSR?
609: [07:08:38] <ss23> lol I hope not
610: [07:08:42] <ss23> Zauberfisch: http://doc.silverstripe.org/framework/en/trunk/misc/coding-conventions
611: [07:08:46] <Zauberfisch> well, docs don't mention PSR
612: [07:08:53] <Zauberfisch> but I was sure some people talked about it
613: [07:09:15] <ss23> it was probably talked about a lot (as was PSR style autoloading
614: [07:09:15] <ss23> )
615: [07:09:18] <ss23> also, I think the ss.org/ss.com box is broken again
616: [07:09:32] <ss23> I have no idea whats causing it, but I'm willing to blame Rackspace until I find time to investigate it
617: [07:09:35] <ss23> FUCK RACKSPAC
618: [07:09:55] * azureknight gets the pitchforks.
619: [07:10:03] <simon_w|air> Zauberfisch, PSR go DIAF
620: [07:10:04] <ss23> :D
621: [07:10:06] <simon_w|air> *can go
622: [07:10:27] <ss23> lol
623: [07:10:29] <Zauberfisch> I see
624: [07:10:31] <simon_w|air> Especially the autoloading style
625: [07:12:41] <simon_w|air> Seriously, matching case insensitive identifiers to a case sensitive filesystem is just stupid
626: [07:12:54] <simon_w|air> *directly matching
627: [07:15:06] <azureknight> ss23 I almost feel like we need to chant "Kill the beast"
628: [07:16:51] <simon_w|air> ss23, also, you forgot to mention that we should switch to using Symfony
629: [07:16:53] <ss23> XD
630: [07:16:58] <ss23> hahaha simon_w|air
631: [07:17:16] <Zauberfisch> ss23: do any of you guys at SS use intellij/phpstorm?
632: [07:17:16] <simon_w|air> That way you actually need composer to be able to do anything and the problem's solved!
633: [07:17:25] <ss23> Zauberfisch: I think I've seen some people using phpstorm
634: [07:17:29] <ss23> Not sure about intellij
635: [07:17:35] <ss23> Think we have a lot of Sublime
636: [07:17:37] <ss23> Me and another guy use vim
637: [07:17:41] <ss23> Not sure about anyone else
638: [07:18:04] <Zauberfisch> could you perhaps get one of the guys to export his intellij coding style settings?
639: [07:18:23] <simon_w|air> Like the ss devs follow the coding standards :p
640: [07:18:28] <Zauberfisch> :D
641: [07:18:44] <ss23> lol
642: [07:18:51] <ss23> Yeah, I'm not sure that will work, Zauberfisch :P
643: [07:18:52] <simon_w|air> Especially that Hamish guy. His coding style is *weird*
644: [07:19:00] <ss23> His code is too
645: [07:19:20] <Zauberfisch> ss23: :/
646: [07:19:40] <ss23> Zauberfisch: We don't have internal SS coding standards, so everyone just does whatever they feel like
647: [07:19:54] <ss23> I can ask though
648: [07:20:04] <simon_w|air> 50 minutes until dinner's ready :(
649: [07:20:12] <Zauberfisch> ss23: then you should fix that first
650: [07:20:20] <ss23> Zauberfisch: It's on the todo list!
651: [07:20:23] <Zauberfisch> :D
652: [07:20:26] <ss23> Zauberfisch: But believe me, it's so not fucking high on there.
653: [07:20:37] <Zauberfisch> move it then
654: [07:20:55] <simon_w|air> Getting people to put the toilet paper on the holder the right way around though
655: [07:20:58] <simon_w|air> That's really high
656: [07:21:09] <ss23> haha
657: [07:21:14] <azureknight> My buddy is currently using phpstorm.
658: [07:21:24] <azureknight> I am still using Sublime with addons.
659: [07:21:25] <ss23> Zauberfisch: No, it stays low until I fix the other shit
660: [07:21:25] <ss23> :P
661: [07:21:36] <ss23> Every single week I think "maybe next week I can work on X"
662: [07:21:41] <ss23> I need to work out something better
663: [07:21:58] <simon_w|air> ss23, is "Getting people to care about XSS and SQLi" at least somewhat high on there?
664: [07:22:03] <ss23> Hell yeahs.
665: [07:22:08] <ss23> Though it's not at the top
666: [07:22:09] <ss23> :P
667: [07:23:11] <simon_w|air> Poor James. Is going to have to train the new person to care
668: [07:23:49] <spronk> wow
669: [07:23:52] <spronk> no coding standards?
670: [07:23:55] <spronk> how unprofessional
671: [07:24:52] <ss23> lol
672: [07:24:53] <ss23> ikr!
673: [07:25:07] <ss23> It's okay, we provide a service where we'll review your code, and if *you* don't do coding standards, we'l lget ya
674: [07:25:11] <ss23> :D
675: [07:25:18] * DesignerX quit (Ping timeout: 240 seconds)
676: [07:25:36] * DesignerX has joined #silverstripe
677: [07:26:44] <spronk> :|
678: [07:27:03] <Zauberfisch> ss23: the irony, you run a open source project and enforce confing standards, do reviews for others, and the only place where you don't use standards is internaly :D
679: [07:27:29] <ss23> Zauberfisch: It's just a product of self-lead teams
680: [07:27:42] <ss23> Certain teams were like "HELL YEAHS STANDARDS" and did them religiously, others were like "meh" so more muddled
681: [07:27:48] <ss23> And then when you mix teams working on codebases
682: [07:28:19] <ss23> I much prefer having self-led teams and messy code when you mix, than "YOU MUST DO 100% OF THINGS LIKE THIS ALL THE TIME" tbh
683: [07:28:27] <ss23> But I believe someone is pushing hard for standards now
684: [07:28:41] <ss23> And if I get my way, everything will be on CI with standards compliants *enforced*
685: [07:28:47] <ss23> :P
686: [07:28:48] <ss23> Anyway, going to walk home now ^.^
687: [07:29:40] <Zauberfisch> bye o/
688: [07:29:58] <simon_w|air> He'll be back in 5 minutes or so
689: [07:30:17] <simon_w|air> Also, flushing and dev/build are so much faster with HHVM
690: [07:36:12] <azureknight> later ss23
691: [07:37:05] * violetina has joined #silverstripe
692: [07:42:14] * NewLinuxUser has joined #silverstripe
693: [07:42:46] * DesignerX quit (Ping timeout: 264 seconds)
694: [07:51:13] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
695: [07:55:35] <ss23> lol
696: [07:55:36] <ss23> I'm back
697: [07:55:40] <ss23> It's far away, simon_w|air! :(
698: [07:56:00] <simon_w|air> ss23, It took me 5 minutes to walk from my office to the Basin
699: [07:56:03] <simon_w|air> What took you so long?
700: [07:56:08] <ss23> lol
701: [07:56:19] <ss23> well considering THAT'S NOT THE SAME DISTANCE AS ME
702: [07:56:31] <ss23> ~5 mins for walking around checking doors, setting alarm, etc
703: [07:56:38] <ss23> ~13 mins walking
704: [08:11:43] <simon_w|air> ss23, using HHVM in production yet?
705: [08:13:58] * deschebbs has joined #silverstripe
706: [08:18:23] <ss23> simon_w|air: Nup :P
707: [08:18:27] <ss23> simon_w|air: It's also on my todo list
708: [08:18:30] <ss23> Under coding conventions though
709: [08:18:35] <simon_w|air> ss23, disappoint
710: [08:18:45] <simon_w|air> So much faster! Especially at running Hamish's code!
711: [08:21:57] <ss23> XD
712: [08:22:08] <ss23> Performance isn't an issue like 99% sites :P
713: [08:22:21] <Zauberfisch> D
714: [08:22:23] <Zauberfisch> :D
715: [08:25:15] <simon_w|air> Well yeah, because 99% of sites aren't running SilverStripe :p
716: [08:29:37] <Zauberfisch> well, I manage about 90% ss sites, and performance is not that big of a deal here. yes, it could be better
717: [08:30:07] <Zauberfisch> but compared to the wordpress, joomla crap the ss sites are amazingly fast
718: [08:30:21] <Zauberfisch> ah, there is also a drupal one
719: [08:30:24] <Zauberfisch> also slow
720: [08:30:32] <wmk> static publisher ;)
721: [08:30:44] * NewLinuxUser quit (Read error: Connection reset by peer)
722: [08:31:54] * NewLinuxUser has joined #silverstripe
723: [08:38:32] * ocm has joined #silverstripe
724: [08:38:34] <ocm> howdy!
725: [08:41:12] <ss23> Yeah, I think in general, it just doesn't matter for 99% of people if it takes 300ms to load or 100ms
726: [08:41:25] <ss23> Though I woudl roll it out if it was a 100% easy conversion a la maria DB
727: [08:42:05] * McLovin123 has joined #silverstripe
728: [08:48:29] * iamss has joined #silverstripe
729: [08:48:43] <iamss> Hello SilverStripe!
730: [08:49:09] <iamss> I have question. I have a DataObject link to a ModelAdmin
731: [08:49:45] <iamss> my goal is to create a custom action to my gridfield of the ModelAdmin
732: [08:50:13] <iamss> how can I start with that?
733: [08:54:08] <Zauberfisch> iamss: define custom action
734: [08:55:02] <iamss> Zauberfisch: yes but the gridfield is automatically created by the ModelAdmin
735: [08:55:23] <iamss> Zauberfisch: should I remove the default and create a new one
736: [08:55:38] <Zauberfisch> iamss: that was not a question. I want you to tell me what you mean by "custom action"
737: [08:57:06] <iamss> Zauberfisch: custom action is to create a new button for each rows in gridfield
738: [08:57:13] <Zauberfisch> iamss: ok
739: [08:57:21] <Zauberfisch> then first you need to create a gridfield component
740: [08:57:33] <Zauberfisch> then add that component to the gridfield like so: http://paste2.org/f1dx1FUm
741: [08:59:32] <iamss> Zauberfisch: Ah, I see. And this is how to create a custom gridfield row action http://doc.silverstripe.org/framework/en/howto/gridfield-rowaction
742: [08:59:48] <Zauberfisch> yes
743: [09:00:29] <iamss> Zauberfisch: great! Many Thanks!
744: [09:02:47] <Zauberfisch> iamss: peferable read the trunk docs
745: [09:02:51] <Zauberfisch> they are more update on that topic
746: [09:02:52] <Zauberfisch> http://doc.silverstripe.org/framework/en/trunk/howto/gridfield-rowaction
747: [09:03:08] * Ar10 quit (Ping timeout: 245 seconds)
748: [09:03:41] <iamss> Zauberfisch: Thanks! SS Support is the best!
749: [09:03:55] <Zauberfisch> np
750: [09:04:27] <Zauberfisch> however, a disclaimer, this is a community dirven support channel. there are very few actually ss employees here
751: [09:05:46] <ocm> what do you mean Zauberfisch.. you DONT get paid for your services here? :P
752: [09:06:13] <Zauberfisch> I wish
753: [09:06:44] <Zauberfisch> my only reward is that I can be an arse and people still have to thank and like me
754: [09:07:43] <ocm> like some kind of president?
755: [09:09:42] <Zauberfisch> I supose so
756: [09:12:38] <simon_w|air> Except I'll kick him if he's too much of an arse ;)
757: [09:13:03] <ocm> haha, simon_w|air, because you are the bigger arse? ;p
758: [09:13:12] <simon_w|air> Because I have the power! :D
759: [09:13:20] <ocm> like some kind of illuminati, pulling strings and stuff
760: [09:13:22] <Zauberfisch> haha
761: [09:14:27] <Zauberfisch> if simon_w sets the standard for politeness then I'm save
762: [09:18:12] * ARNHOE has joined #silverstripe
763: [09:18:33] <irogue_> well we still let Pyro in, so you don't have to worry about minimum politeness requirements :P
764: [09:18:45] * Colin[pi] has joined #silverstripe
765: [09:19:46] * McLovin123 quit (Changing host)
766: [09:19:46] * McLovin123 has joined #silverstripe
767: [09:22:04] <simon_w|air> irogue_, you've used SS+Nginx, right?
768: [09:24:41] <irogue_> yup
769: [09:25:00] <simon_w|air> Can you check over https://gist.github.com/simonwelsh/f5876705d150c55351fd before I go and submit it?
770: [09:25:24] <simon_w|air> Tried to follow good practices and it does all the things that the .htaccess files do
771: [09:25:55] * nbezzala quit (Remote host closed the connection)
772: [09:26:00] <irogue_> line 5, remove 'alias'
773: [09:27:31] * willmorgan has joined #silverstripe
774: [09:28:22] <azureknight> Mk. Night all.
775: [09:28:46] <Zauberfisch> gn
776: [09:28:46] <simon_w|air> azureknight, but the night is young!
777: [09:28:59] <azureknight> Is it where you are simon_w|air ?
778: [09:29:05] <azureknight> The night here is like an old dude.
779: [09:29:08] <simon_w|air> It's 2230
780: [09:29:19] <azureknight> 5:30 here.
781: [09:30:53] * willmorgan quit (Client Quit)
782: [09:30:54] <simon_w|air> irogue_, all good other than that?
783: [09:30:55] <ocm> 1030 here (am) :P
784: [09:31:12] * willmorgan has joined #silverstripe
785: [09:31:18] <irogue_> simon_w|air: should work other than that
786: [09:31:25] * willmorgan has left #silverstripe
787: [09:31:35] <simon_w|air> Time to give SilverStripe a proper example nginx config then! :)
788: [09:31:52] <irogue_> i do it a little differently, force everything into main.php at the fastcgi level
789: [09:32:26] <irogue_> basically how the currently config at http://doc.silverstripe.org/framework/en/installation/nginx does it
790: [09:32:29] <irogue_> but either works
791: [09:33:12] <irogue_> your one prob better as example tho
792: [09:33:18] <irogue_> allows people running non-SS stuff in subfolders
793: [09:33:20] * willmorgan has joined #silverstripe
794: [09:33:31] * micmania1 has joined #silverstripe
795: [09:33:36] <irogue_> which mine blocks, to be more secure as i know there won't be any non-SS PHP in my site
796: [09:33:41] <simon_w|air> And causes 404s if someone sticks .php on a URL, but screw trying to fix that
797: [09:34:38] * willmorgan quit (Client Quit)
798: [09:34:53] * willmorgan has joined #silverstripe
799: [09:35:22] <simon_w|air> Hmm, sending a pull request for docs changes is rather hard
800: [09:36:03] <irogue_> simon_w|air: move the try_files outside of the location block, should fix that 404 issue
801: [09:36:27] * azureknight quit (Quit: Textual IRC Client: www.textualapp.com)
802: [09:36:34] <irogue_> or just copy it into the .php location block if you don't want /assets/ 404s etc being sent to SS
803: [09:36:54] * Sj0hn has joined #silverstripe
804: [09:37:11] <simon_w|air> irogue_, still 404s because of the php rule
805: [09:38:08] <simon_w|air> I guess this is where you'll need an if instead of a try_file
806: [09:38:37] <irogue_> yeah
807: [09:38:41] <irogue_> ifs are bad tho
808: [09:38:57] <irogue_> but probably necessary if you really want to fix that there
809: [09:38:58] * kinglozzer has joined #silverstripe
810: [09:39:15] <simon_w|air> I might just leave out the php block at the end
811: [09:40:07] <irogue_> can you set error_page in the php block to point to SS 404 url?
812: [09:40:09] <simon_w|air> Hmm, probably shouldn't. Would lead to code disclosure
813: [09:40:59] <simon_w|air> Doesn't look like it. HHVM's still generating the 404
814: [09:42:09] <irogue_> damn
815: [09:42:32] <irogue_> meh
816: [09:42:42] <irogue_> no real big issue as-is
817: [09:42:48] <irogue_> i'd push that, it's far better than current
818: [09:43:02] <irogue_> and if i figure it out i'll fix it :P
819: [09:44:52] * evelin has joined #silverstripe
820: [09:45:04] <evelin> good morning
821: [09:45:51] <evelin> can someone help me with the gridfield-betterbuttons module? I get an error
822: [09:46:29] <irogue_> unfortunately i haven't used it
823: [09:46:35] * irogue_ grumbles about still being on ss2.4
824: [09:47:58] <Zauberfisch> evelin: elaborate
825: [09:48:05] <Zauberfisch> poor irogue_
826: [09:48:53] <simon_w|air> I guess I should merge that commit upwards too
827: [09:50:04] <evelin> the delete button gives an error, this is in my apache error logs: PHP Fatal error: collateDataFields() I noticed that a field called 'action_doSaveAndQuit' appears twice in your form: '(unknown form)'. One is a 'UncleCheese\\BetterButtons\\Buttons\\Button_SaveAndClose' and the other is a 'UncleCheese\\BetterButtons\\Buttons\\Button_SaveAndClose' in /home/sites/development/000_SILVERS
828: [09:50:04] <evelin> TRIPE/www/framework/forms/CompositeField.php on line 167, referer: http://www.mynkhorses.com/admin/carousel/Carousel/EditForm/field/Carousel/item/1/edit
829: [09:50:49] <Zauberfisch> odd
830: [09:51:10] <Zauberfisch> that error only appears on delete?
831: [09:51:38] <Zauberfisch> what version of SS and betterbuttons are you using?
832: [09:53:34] <evelin> yes, the delete confirmation button, others work well
833: [09:53:58] * iamss quit (Ping timeout: 245 seconds)
834: [09:54:04] <evelin> ss 3.1.2 betterbuttons: the latest master
835: [09:55:51] * kk has joined #silverstripe
836: [09:57:23] <Zauberfisch> evelin: works for me
837: [09:57:36] <Zauberfisch> just to be save, can you do a flush and try again?
838: [09:57:48] <Zauberfisch> /admin?flush=all
839: [09:59:30] <simon_w|air> irogue_, merged up to master, pushed and updated the nginx wiki too
840: [09:59:39] <irogue_> sweeet
841: [09:59:56] <Zauberfisch> just updated my project, I am now on latest master for both, silverstripe as well as betterbuttons
842: [10:00:08] <Zauberfisch> works in modeladmin and gridfields on pages
843: [10:00:10] <simon_w|air> Zauberfisch, are you sure? I just pushed to master :p
844: [10:00:29] <Zauberfisch> 7cbd7edfb7e1ce5ffd4168fa044e5bc90a104d3b
845: [10:00:47] <simon_w|air> 7cbd7ed..d431e98 master -> master
846: [10:00:52] <simon_w|air> Nope! Not latest!
847: [10:00:56] <Zauberfisch> D:
848: [10:01:10] <evelin> still the same problem after flush
849: [10:01:21] <howardgrigg> things move fast here Zauberfisch
850: [10:01:27] <howardgrigg> :p
851: [10:01:31] <Zauberfisch> ^^
852: [10:02:13] <simon_w|air> evelin, does Carousel have a custom getCMSFields?
853: [10:02:19] <Zauberfisch> evelin: could you share your relevant code please?
854: [10:04:23] <simon_w|air> "Showing 54 changed files with 1,041 additions and 674 deletions"
855: [10:04:24] <simon_w|air> Man, when was the last time someone merged 3.1 into master...
856: [10:04:37] <evelin> no custom cms field
857: [10:05:13] <evelin> but it's not only this carousel, also in other gridfields
858: [10:05:16] <simon_w|air> 20 days ago
859: [10:05:25] <simon_w|air> Anyway, time for me to sleeps
860: [10:05:36] <evelin> which code do you want? what is relevant?
861: [10:06:21] <Zauberfisch> evelin: the class of the carousel
862: [10:06:28] <Zauberfisch> also the class the gridfield is on
863: [10:07:18] <evelin> how can i send?
864: [10:07:34] <evelin> or share?
865: [10:08:00] <Zauberfisch> there are many sites that let you paste code eg: paste2.org
866: [10:08:09] <Zauberfisch> but be aware your code will be public
867: [10:08:32] <Zauberfisch> so be careful not to share any personal or security relevant data
868: [10:10:52] * travis-ci has joined #silverstripe
869: [10:10:52] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2100 (3.1 - 0e0597f : Simon Welsh): The build passed.
870: [10:10:52] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/cad863204ce6...0e0597f8cd5b
871: [10:10:52] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20443172
872: [10:10:52] * travis-ci has left #silverstripe
873: [10:11:42] <evelin> http://paste2.org/G6YGDLF8
874: [10:11:42] <evelin> http://paste2.org/zhMHcfeM
875: [10:11:42] <evelin> http://paste2.org/yKWZAkGG
876: [10:13:32] * travis-ci has joined #silverstripe
877: [10:13:32] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2100 (master - d431e98 : Simon Welsh): The build was broken.
878: [10:13:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7cbd7edfb7e1...d431e98ecff7
879: [10:13:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20443179
880: [10:13:32] * travis-ci has left #silverstripe
881: [10:15:24] <Zauberfisch> evelin: to me the code looks all good
882: [10:15:25] <Zauberfisch> hmmm
883: [10:18:29] <evelin> yes, i think so. But the error is also in other gridfields
884: [10:26:45] <Zauberfisch> evelin: delete the module and download it again
885: [10:26:56] <Zauberfisch> (I am running out of ideas here)
886: [10:27:23] <Zauberfisch> download it from here:
887: [10:27:24] <Zauberfisch> https://github.com/unclecheese/silverstripe-gridfield-betterbuttons
888: [10:27:32] <Zauberfisch> or use composer
889: [10:28:28] <Zauberfisch> have you overwritten any templates from the module?
890: [10:29:16] <evelin> no, didn't change anything in the module
891: [10:29:25] <evelin> yes, i'm gonna do. At least now I know the error is only on my installation, so I have to search local.
892: [10:29:51] <Zauberfisch> (you can overwrite a template in your mysite/templates or themes/themeName/templates folder)
893: [10:29:52] <ocm> is there something similair like this in SS already? https://gist.github.com/oceanmountain/9462648
894: [10:30:52] <evelin> yes, i'm gonna check
895: [10:32:56] <Zauberfisch> ocm: I don't see what like 14 to 27 are fore
896: [10:33:05] <Zauberfisch> ocm: you could do that in a 1 liner
897: [10:33:43] <Zauberfisch> function uploadedFileList($fileIDs) { return File::get()->byIDs($fileIDs); }
898: [10:34:12] * iamss has joined #silverstripe
899: [10:34:22] <Zauberfisch> and since its a 1 liner I am not sure if your question is warranted
900: [10:34:44] <iamss> I need help with the GridField on my ModelAdmin
901: [10:35:06] <iamss> I created a custom rowaction https://dl.dropboxusercontent.com/u/38600598/Photos/Gridfield%20Custom%20Rows.png
902: [10:35:37] <iamss> when they click that button it opens the edit form with a new button https://dl.dropboxusercontent.com/u/38600598/Photos/Gridfield%20Custom%20Edit%20Form.png
903: [10:36:02] <iamss> Please help how can I achieve that?
904: [10:37:23] <Zauberfisch> so if you press the custom action button there
905: [10:37:29] <Zauberfisch> you get to the page of the 2nd screenshot=?
906: [10:37:33] <ocm> it is warranted, exactly the answer on my question :) Thnx Zauberfisch
907: [10:37:51] <iamss> Zauberfisch: yes exactly
908: [10:38:02] <Zauberfisch> ocm: now I am confused
909: [10:38:11] <ocm> confused how?
910: [10:43:54] <iamss> ...
911: [10:49:58] * SMaction quit (Ping timeout: 264 seconds)
912: [10:50:35] * SMaction has joined #silverstripe
913: [10:51:22] * ocm has joined #silverstripe
914: [10:51:28] <ocm> back again
915: [11:00:47] <iamss> I'll change my question. How to add a javascript to my ModelAdmin
916: [11:00:50] <iamss> ??
917: [11:03:17] <kinglozzer> iamss: Requirements::javascript()
918: [11:03:27] <kinglozzer> Create an init() method on your ModelAdmin class
919: [11:03:36] <kinglozzer> call parent::init(), then use Requirements::javascript()
920: [11:03:45] <iamss> kinglozzer: great! thanks
921: [11:12:18] * iamss quit (Ping timeout: 245 seconds)
922: [11:12:33] <Zauberfisch> ocm: was occipied elsewhere
923: [11:12:38] <Zauberfisch> so, is your question answered?
924: [11:13:45] <evelin> Zauberfish: it's fixed :)
925: [11:13:50] <Zauberfisch> yay
926: [11:13:55] * r3v3rb has joined #silverstripe
927: [11:14:14] <r3v3rb> arghhh, good morning
928: [11:14:21] <Zauberfisch> good morning
929: [11:14:30] <r3v3rb> morning Zauberfisch
930: [11:14:40] <r3v3rb> how can I add a class to a fieldlist?
931: [11:14:50] <r3v3rb> I think I am going mad here
932: [11:15:05] <evelin> there was another module (content-blocks) with also a betterbuttons.yml , i removed that and no error anymore
933: [11:15:08] <r3v3rb> addExtraClass doesn't exist and neither does setAttribute
934: [11:15:25] <micmania1> r3v3rb: Overwrite Form.ss
935: [11:15:33] <ocm> Zauberfisch, question is answered :)
936: [11:15:40] <r3v3rb> micmania1: ugh, really... is that the only way
937: [11:15:50] <ocm> as you pointed out, the function I had was totally useless, because your way is easier ;)
938: [11:15:55] <ocm> and does exactly the same
939: [11:16:01] <micmania1> r3v3rb: yes, unless you use a CompositeField
940: [11:16:06] <r3v3rb> poo
941: [11:16:11] <micmania1> in which case it wouldn't be a fieldset
942: [11:16:32] <r3v3rb> ok, I'll attack the actual action rather than the fieldlist holding it
943: [11:16:36] <r3v3rb> ;)
944: [11:18:06] <Zauberfisch> r3v3rb: you need to target it via CSS?
945: [11:18:13] <Zauberfisch> you could use the direct child selector
946: [11:18:28] <Zauberfisch> eg form > fielset {} to only effect the direct child
947: [11:18:42] <r3v3rb> its more so I can deal with it via jquery when a chosen field changes
948: [11:18:54] <Zauberfisch> > also works in jquery
949: [11:19:08] <r3v3rb> I was hoping there would be a simple way just to tag on a class - i'll go the long way round instead
950: [11:20:15] <Zauberfisch> no idea
951: [11:20:20] <Zauberfisch> never had to do that to a fieldlist
952: [11:20:30] * Shrike_Finland quit (Quit: Leaving.)
953: [11:20:47] * robert___ has joined #silverstripe
954: [11:20:47] * robert___ quit (Changing host)
955: [11:20:47] * robert___ has joined #silverstripe
956: [11:21:03] * Colin[pi] quit (Ping timeout: 244 seconds)
957: [11:22:12] <Zauberfisch> evelin: glad that you got it sorted. could you post a link to that other module that you used?
958: [11:23:09] * robert_ quit (Ping timeout: 252 seconds)
959: [11:23:48] <Zauberfisch> and perhaps open a issue for that module to let the developer know that it conficts with the better button module
960: [11:33:22] <Zauberfisch> simon_w|air: wake up!
961: [11:33:26] <Zauberfisch> simon_w: wake up!
962: [11:33:31] <Zauberfisch> you broke it
963: [11:33:40] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/blob/master/forms/Form.php#L1108
964: [11:33:42] <wmk> hmm, anyone knows where to tell intellij the compass extensions are located for autocompletition?
965: [11:33:44] <Zauberfisch> there is a } missing
966: [11:35:09] <Zauberfisch> no idea, but if you find out. let me know
967: [11:35:44] <wmk> i will Zauberfisch
968: [11:38:50] <wmk> seems to be a bit buggy atm
969: [11:43:38] * NewLinuxUser quit (Ping timeout: 240 seconds)
970: [12:06:32] * howardgrigg quit (Remote host closed the connection)
971: [12:07:00] * howardgrigg has joined #silverstripe
972: [12:11:13] * howardgrigg quit (Ping timeout: 240 seconds)
973: [12:27:43] * Shrike_Finland has joined #silverstripe
974: [12:37:22] * howardgrigg has joined #silverstripe
975: [12:41:12] * Error404NotFound has joined #silverstripe
976: [12:41:29] * howardgrigg quit (Ping timeout: 241 seconds)
977: [12:51:03] * kk quit (Ping timeout: 245 seconds)
978: [13:00:18] * Shrike_Finland quit (Quit: Leaving.)
979: [13:00:24] * UndefinedOffset has joined #silverstripe
980: [13:01:57] * desperate has joined #silverstripe
981: [13:02:01] <desperate> hello everyone
982: [13:02:38] <desperate> im in the process of desinigng my data model
983: [13:02:44] <desperate> *designing
984: [13:03:39] <desperate> I am building a gallery... a gallery has many images and also has many categories
985: [13:04:16] <desperate> so gallery a may belong to category 1,2 and 3
986: [13:04:25] <desperate> I'm thinking about how this will work in the CMS
987: [13:04:48] <desperate> how will the user select which categories a gallery belongs too
988: [13:05:14] <desperate> ie. is anyt of these functionality provided by SS
989: [13:05:27] <desperate> my thought are that I would provide a list of tick boxes
990: [13:05:44] <desperate> which when tick associate a gallery with one or more categoreis
991: [13:17:28] * howardgrigg has joined #silverstripe
992: [13:21:38] * howardgrigg quit (Ping timeout: 240 seconds)
993: [13:22:39] <micmania1> desperate: You can use a ListboxField
994: [13:28:30] * evelin quit ()
995: [13:34:46] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
996: [13:36:08] * Error404NotFound has joined #silverstripe
997: [13:37:18] * desperate quit (Ping timeout: 245 seconds)
998: [13:44:05] * dangerdan has joined #silverstripe
999: [13:44:36] <dangerdan> anyone here use gitlab ci to run their tests in silverstripe?
1000: [13:45:44] <dangerdan> not sure what to set $_FILE_TO_URL_MAPPING when running my tests in it..
1001: [13:47:28] * r3v3rb has left #silverstripe
1002: [13:48:35] * howardgrigg has joined #silverstripe
1003: [13:48:56] * catcher has joined #silverstripe
1004: [13:49:13] * Error404NotFound quit (Ping timeout: 240 seconds)
1005: [13:50:42] * HeartlandTechie has joined #silverstripe
1006: [13:53:12] * howardgrigg quit (Ping timeout: 265 seconds)
1007: [14:11:54] <micmania1> dangerdan: $_FILE_TO_URL_MAPPING[dirname(__FILE__) . '/public_html'] = 'http://localhost/';
1008: [14:11:59] <micmania1> would that not work?
1009: [14:12:13] <dangerdan> just done that now actually, tho im not sure if its right or not
1010: [14:12:18] <dangerdan> will soon find out
1011: [14:17:15] * deschebbs quit (Ping timeout: 244 seconds)
1012: [14:27:52] <kinglozzer> Anyone have any simple deployment tools they can recommend? Looking at Capistrano atm
1013: [14:34:01] * Shrike_Finland has joined #silverstripe
1014: [14:36:10] * Shrike_Finland quit (Client Quit)
1015: [14:41:59] * desperate has joined #silverstripe
1016: [14:42:06] <desperate> thanks Michael
1017: [14:42:31] <desperate> what is allowed_children used for, is it simply to control the site tree structure in cms
1018: [14:43:33] * dangerdan quit (Ping timeout: 245 seconds)
1019: [14:47:48] * willm has joined #silverstripe
1020: [14:49:34] * willmorgan quit (Remote host closed the connection)
1021: [14:49:38] * howardgrigg has joined #silverstripe
1022: [14:49:52] * willm quit (Client Quit)
1023: [14:50:10] * willmorgan has joined #silverstripe
1024: [14:50:53] <micmania1> desperate: yes
1025: [14:54:06] * howardgrigg quit (Ping timeout: 265 seconds)
1026: [15:10:38] * Shrike_Finland has joined #silverstripe
1027: [15:15:10] * derek-b has joined #silverstripe
1028: [15:24:08] <desperate> if i create a has_one relationship I can see that an extra field is created in my table which is a foreign key reference
1029: [15:24:26] <desperate> how is the reference stored if the relationship is has_many
1030: [15:26:10] <kinglozzer> desperate: if Author has_many Books, the reference is stored in the 'Book' table - AuthorID
1031: [15:27:32] * steveheyes has joined #silverstripe
1032: [15:27:39] * willmorgan quit (Quit: l8rz)
1033: [15:27:40] <steveheyes> Hi, how's everyone doing?
1034: [15:31:05] <steveheyes> i'm looking at extending Member. I only want a certain type of member (could be a group) to have some fields. What's the best way of doing this? Using a data extension ?
1035: [15:34:37] * g4b0_ has joined #silverstripe
1036: [15:34:55] <g4b0_> hi all
1037: [15:35:05] * Pyromanik has joined #silverstripe
1038: [15:35:21] <Pyromanik> how is everyone today?
1039: [15:36:22] <g4b0_> I have a copule of DataObjects that provide a custom Link()
1040: [15:37:46] <micmania1> steveheyes: Yes, use a DataExtension then just add the fields if they're in a certain group. That's what i'd do
1041: [15:38:21] <steveheyes> right, any idea how i only add fields to a member in a group!?
1042: [15:38:49] <micmania1> in your DataExtension create an updateCMSFields method (see DataExtension api docs)
1043: [15:39:09] <g4b0_> I would like to be able to link them through the "Inset Link" in TinyMCE
1044: [15:39:11] <kinglozzer> if ($this->inGroup('SomeGroupCode')) { $fields->addField..... }
1045: [15:39:13] <micmania1> then just do a check inside. if($this->owner->inGroup("group-code")) { // add fields }
1046: [15:39:19] <g4b0_> do you think it's possible?
1047: [15:39:23] <kinglozzer> ->owner ^^
1048: [15:40:02] <kinglozzer> g4b0_: Yep
1049: [15:40:25] <g4b0_> kinglozzer: link please :)
1050: [15:40:27] <kinglozzer> Add an extension to HtmlEditorField_Toolbar, use updateLinkForm
1051: [15:40:31] <kinglozzer> Don't have one :P
1052: [15:40:37] <g4b0_> :)
1053: [15:41:03] * desperate quit (Ping timeout: 245 seconds)
1054: [15:41:50] <kinglozzer> g4b0_: https://github.com/silverstripe/silverstripe-framework/blob/3.1/forms/HtmlEditorField.php#L242-L311
1055: [15:41:57] <kinglozzer> That's the form you'll need to update
1056: [15:43:24] <g4b0_> ok, thanks
1057: [15:44:23] <g4b0_> no javascript is needed?
1058: [15:47:11] <kinglozzer> g4b0_: I'm not sure, you probably will need some
1059: [15:47:28] <g4b0_> wow :)
1060: [15:47:33] <kinglozzer> It'll be a lot of work, I'd just use the standard link form and tell the client to paste a link instead :P
1061: [15:50:47] * howardgrigg has joined #silverstripe
1062: [15:55:29] * howardgrigg quit (Ping timeout: 265 seconds)
1063: [16:05:03] * Sj0hn quit ()
1064: [16:20:29] * ARNHOE quit ()
1065: [16:20:29] * OxFF1 has joined #silverstripe
1066: [16:24:22] * steveheyes quit (Quit: steveheyes)
1067: [16:25:00] * headtrip has joined #silverstripe
1068: [16:30:10] * samthejarvis has joined #silverstripe
1069: [16:30:24] <samthejarvis> hi, anyone know how to alter the order in which extensions are applied?
1070: [16:32:21] <samthejarvis> hmm, wonder if you can extend extensions
1071: [16:36:31] <samthejarvis> aha, using config.yml
1072: [16:36:36] <samthejarvis> after property
1073: [16:42:18] * g4b0_ quit (Ping timeout: 240 seconds)
1074: [16:42:19] <samthejarvis> http://puu.sh/7qfiW.png
1075: [16:42:50] <samthejarvis> ^for anyone wondering how to apply extensions at specific points
1076: [16:47:18] * samthejarvis quit (Ping timeout: 245 seconds)
1077: [16:51:20] * opalfroot has joined #silverstripe
1078: [16:51:45] * howardgrigg has joined #silverstripe
1079: [16:51:46] <opalfroot> anyone know how to tell silverstripe to stop appending m=651561 to the end of includes?
1080: [16:53:49] <UndefinedOffset> try passing false into http://api.silverstripe.org/3.1/class-Requirements.html#_set_suffix_requirements
1081: [16:55:05] * g4b0_ has joined #silverstripe
1082: [16:55:25] * ocm quit (Read error: Connection reset by peer)
1083: [16:56:00] * howardgrigg quit (Ping timeout: 252 seconds)
1084: [16:56:03] * Shrike_Finland quit (Quit: Leaving.)
1085: [16:59:06] * OxFF1 has left #silverstripe
1086: [17:00:43] * steveheyes has joined #silverstripe
1087: [17:00:47] <opalfroot> UndefinedOffset cheers - that worked!
1088: [17:00:49] <steveheyes> hi everyone :)
1089: [17:01:13] <steveheyes> I was wondering if anyone knows how I can a user group who _just_ sees their profile in the admin (admin/myprofile)
1090: [17:01:56] <steveheyes> in CMSProfileController it only checks for "CMS_ACCESS_LeftAndMain" and "CMS_ACCESS_CMSMain" - i'd like to add my own
1091: [17:03:32] * opalfroot quit (Quit: Page closed)
1092: [17:06:53] <steveheyes> is there anything like DataExtension for controllers? so I can edit the right method of CMSProfileController?
1093: [17:08:31] <micmania1> steveheyes: use Extension
1094: [17:08:55] <micmania1> then you can create a canView method which will do the check
1095: [17:09:12] <micmania1> You'll also need to overwrite the canEdit method too
1096: [17:11:00] <steveheyes> i see that's really helpful.
1097: [17:11:05] <steveheyes> i'll have a look into that
1098: [17:12:38] * desperate has joined #silverstripe
1099: [17:12:48] <desperate> I have an articles holder which extends a page
1100: [17:13:02] <desperate> the articles holder has_many articles
1101: [17:13:20] <desperate> if i want to dispaly the articles on the articles holder page is there a quick and easy way to do it
1102: [17:13:36] <desperate> or should I write my own controller function to get the list of articles
1103: [17:13:57] <desperate> the articles are dataobjects
1104: [17:15:16] <kinglozzer> desperate: If the articles holder has a relation to the articles, you can use that - <% loop Articles %> assuming the relation is named 'Articles'
1105: [17:16:53] <steveheyes> micmania1: is this right for adding the extension? : CMSProfileController::add_extension('MyProfileExtension');
1106: [17:18:47] * kinglozzer quit ()
1107: [17:21:14] * huntfox has joined #silverstripe
1108: [17:23:42] <steveheyes> no wait, is it - Object::add_extension('CMSProfileController', 'MyProfileExtension');
1109: [17:23:55] <steveheyes> will that add MyProfileExtension to CMSProfleController?
1110: [17:26:20] * ocm has joined #silverstripe
1111: [17:34:13] <steveheyes> my extension doesn't seem to overriding, can anyone give me a hand at all?
1112: [17:35:50] <desperate> @kinglozzer... so I just loops the name of the relatino and that's all?>
1113: [17:35:55] <desperate> if so that's pretty smart
1114: [17:38:14] * nbezzala has joined #silverstripe
1115: [17:41:18] * Shrike_Finland has joined #silverstripe
1116: [17:42:22] * k_fish has joined #silverstripe
1117: [17:43:47] <steveheyes> can anyone help me with some permission stuff please?
1118: [17:52:17] <catcher> steveheyes, which version of SS?
1119: [17:52:32] <steveheyes> catcher, 3.1 :)
1120: [17:52:49] * howardgrigg has joined #silverstripe
1121: [17:53:45] <catcher> steveheyes, it's best to add extensions in config.yml, there's an example here: http://doc.silverstripe.org/framework/en/reference/dataextension
1122: [17:55:24] <steveheyes> i've tried that, i added an extension to CMSProfleController and it doesn't see running my code
1123: [17:57:04] * howardgrigg quit (Ping timeout: 252 seconds)
1124: [17:57:44] * deschebbs has joined #silverstripe
1125: [17:58:09] <steveheyes> catcher: here is a snippet of code - http://pastebin.com/y02upgks
1126: [17:58:47] <catcher> mm, you can't override existing methods in extensions
1127: [17:59:46] <steveheyes> oh, i thought you could. dang
1128: [17:59:58] <steveheyes> do you know how can i do it then?
1129: [18:02:29] * nbezzala quit (Ping timeout: 240 seconds)
1130: [18:04:36] * nbezzala has joined #silverstripe
1131: [18:05:00] <catcher> steveheyes, if you need to replace a method that's defined on a core class, I believe you'll need to useCustomClass.
1132: [18:06:00] * g4b0_ quit (Quit: Sto andando via)
1133: [18:07:09] * deschebbs quit (Ping timeout: 244 seconds)
1134: [18:09:27] <Zauberfisch> nauty simon_w going to bed after malicious merge
1135: [18:11:14] <steveheyes> catcher: not seen useCustomClass before i'll have a look
1136: [18:12:58] * bubaphex has joined #silverstripe
1137: [18:13:38] * huntfox quit (Quit: Page closed)
1138: [18:13:47] <simon_w|air> Zauberfisch, also, naughty person that put custom code in their Members->getCMSFields change
1139: [18:19:48] * desperate quit (Ping timeout: 245 seconds)
1140: [18:27:27] * wazza_ has joined #silverstripe
1141: [18:27:35] * Shrike_Finland quit (Quit: Leaving.)
1142: [18:30:12] * simon_w|air quit (Quit: This computer has gone to sleep)
1143: [18:34:30] * gelignite has joined #silverstripe
1144: [18:36:03] * HeartlandTechie quit (Ping timeout: 245 seconds)
1145: [18:36:16] * Shrike_Finland has joined #silverstripe
1146: [18:38:22] <wazza_> hello, can anyone help with a GridField question? By default clicking the contents of each row in a gridfield list takes the user through to the edit form for the corresponding row. Can this behaviour be turned off or changed for specific columns? For example I've added a new column containing a link to open third-party content in a new window: that works fine, it's just the gridfield still loads the item edit form whereas I'd li
1147: [18:39:23] <wazza_> hope that makes sense?! Any help would be greatly appreciated :-)
1148: [18:40:39] * travis-ci has joined #silverstripe
1149: [18:40:39] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2103 (master - 8ed4abd : Simon Welsh): The build was canceled.
1150: [18:40:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d431e98ecff7...8ed4abd32347
1151: [18:40:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20473552
1152: [18:40:39] * travis-ci has left #silverstripe
1153: [18:42:58] * bubaphex quit (Ping timeout: 240 seconds)
1154: [18:47:51] * travis-ci has joined #silverstripe
1155: [18:47:51] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2104 (master - 1866100 : Simon Welsh): The build was fixed.
1156: [18:47:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/8ed4abd32347...18661005eedd
1157: [18:47:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20473591
1158: [18:47:51] * travis-ci has left #silverstripe
1159: [18:53:46] * howardgrigg has joined #silverstripe
1160: [18:53:56] * steveheyes quit (Quit: steveheyes)
1161: [18:58:08] * howardgrigg quit (Ping timeout: 252 seconds)
1162: [19:01:51] * guttmann has joined #silverstripe
1163: [19:06:35] * joelpittet has joined #silverstripe
1164: [19:13:25] <Stomach> good morning
1165: [19:13:27] * deschebbs has joined #silverstripe
1166: [19:23:44] * robert___ is now known as robert_
1167: [19:25:07] <McLovin123> any idea how I can get content from a different locale when using SiteTree::get() ? pretty sure behind the scenes SiteTree is limiting results to only my current locale :'(
1168: [19:26:13] <simon_w> McLovin123, Translatable::get_by_locale('SiteTree', 'mi_MI')
1169: [19:26:28] * headtrip quit (Ping timeout: 245 seconds)
1170: [19:36:10] <McLovin123> simon_w awesome, ty
1171: [19:36:33] * bubaphex has joined #silverstripe
1172: [19:38:19] * deschebbs quit (Ping timeout: 265 seconds)
1173: [19:41:53] * wazza_ quit (Ping timeout: 245 seconds)
1174: [19:45:24] <Ryan-Toast> Morning
1175: [19:45:30] * zippy____ has joined #silverstripe
1176: [19:46:10] <Ryan-Toast> If I want to save a custom CSS box in the admin area, would I save that as HTMLText?
1177: [19:46:51] <simon_w> No, a text
1178: [19:47:04] <Ryan-Toast> simon_w: chur
1179: [19:47:21] * travis-ci has joined #silverstripe
1180: [19:47:21] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2105 (3.1 - 60bcce9 : Will Rossiter): The build passed.
1181: [19:47:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0e0597f8cd5b...60bcce992139
1182: [19:47:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/20479077
1183: [19:47:21] * travis-ci has left #silverstripe
1184: [19:51:33] * Shrike_Finland quit (Quit: Leaving.)
1185: [19:52:18] <guttmann> if I define a bunch of Pages in a fixture (on a functional test) is there an easy way to publish all of them before running tests?
1186: [19:54:44] * howardgrigg has joined #silverstripe
1187: [19:58:15] * balmoral has joined #silverstripe
1188: [19:58:58] * howardgrigg quit (Ping timeout: 240 seconds)
1189: [19:58:58] * zippy____ quit (Ping timeout: 240 seconds)
1190: [19:59:43] * zippy____ has joined #silverstripe
1191: [19:59:49] <zippy____> woah, 16ms pings to that elections website….
1192: [20:00:06] <zippy____> wonder where that is hosted, I normally get 24~ to nz sites
1193: [20:00:21] <zippy____> wow, da fuck
1194: [20:00:26] <zippy____> getting 8.5ms pings to another site
1195: [20:00:32] <zippy____> who fixed my interwebs
1196: [20:03:27] <zippy____> hosted with catalyst.net.nz it seems
1197: [20:04:02] * FrozenFire quit (Quit: There's no place like ~)
1198: [20:04:26] * UncleCheese_ has joined #silverstripe
1199: [20:06:31] * qlex has joined #silverstripe
1200: [20:06:41] * qlex says hi
1201: [20:06:50] <qlex> has anyone seen designerX recently here ?
1202: [20:07:35] <qlex> Zauberfisch: its been a while since i followed SS, but the active issue re your fix to userforms is to overwhleming to understand now
1203: [20:08:24] * UndefinedOffset quit (Quit: Leaving.)
1204: [20:09:39] * antmas has joined #silverstripe
1205: [20:09:49] <antmas> howdy
1206: [20:11:26] <Ryan-Toast> Word up.
1207: [20:11:32] <antmas> this here https://github.com/adrexia/silverstripe-batch-actions-plus/blob/master/code/CMSBatchAction_MoveTo.php
1208: [20:11:50] <antmas> once a page is moved, the user needs to publish it again
1209: [20:12:03] <zippy____> qlex: http://logs.simon.geek.nz/search.php?q=designerX&s=Time
1210: [20:12:17] <antmas> how could force it to publish it after the move is complete?
1211: [20:12:19] <zippy____> so… yesterday
1212: [20:14:53] <antmas> ^ or would it be a bit sketchy running a $page->write(); and a $page->publish('Stage', 'Live'); during this MoveTo?
1213: [20:18:55] <Ryan-Toast> antmas: that snippet reminds me that I need to add localisation to BP, sigh.
1214: [20:26:53] * balmoral quit (Remote host closed the connection)
1215: [20:26:58] * azureknight has joined #silverstripe
1216: [20:28:02] * deschebbs has joined #silverstripe
1217: [20:28:10] <azureknight> Has anybody added a view counter to objects?
1218: [20:28:30] <UncleCheese_> what constitutes a view?
1219: [20:28:45] <azureknight> The article (in my case) being initialized by a person visiting the site.
1220: [20:29:05] <UncleCheese_> just $article->Views++; $article->write();
1221: [20:29:48] <azureknight> If the Article is a dataobject being rendered as a page, would that still work?
1222: [20:30:05] <azureknight> I was under the impression that the View++ had to be written in a Page_Controller
1223: [20:31:32] <azureknight> Article extends DataObject and has_one Topic. Topic_Controller is where I'm generating the render_with() for the Article.
1224: [20:31:37] <UncleCheese_> ok
1225: [20:31:49] <UncleCheese_> so before you return the article to the template,just augment its views
1226: [20:31:59] * azureknight listens intently.
1227: [20:32:30] <azureknight> So, in my view($request) would I add View++ in there?
1228: [20:32:51] <azureknight> View++ meaning count++
1229: [20:33:33] <UncleCheese_> http://sspaste.com/paste/show/531e1e16c76f8
1230: [20:33:45] * deschebbs quit (Read error: Operation timed out)
1231: [20:33:48] <azureknight> Ahhhh.
1232: [20:34:28] <antmas> Ryan-Toast: :)
1233: [20:34:35] <antmas> Ryan-Toast: any thoughts on my question?
1234: [20:34:44] <azureknight> So this way I have View being a record in my Object rather than being a related object.
1235: [20:34:45] <azureknight> I like it.
1236: [20:35:01] <Ryan-Toast> antmas: About the page writing?
1237: [20:35:08] <antmas> Ryan-Toast: yeh
1238: [20:35:16] <Ryan-Toast> antmas: No idea, sorry.
1239: [20:35:23] <antmas> :P np
1240: [20:35:27] * joelpittet quit ()
1241: [20:35:29] <azureknight> Thanks UncleCheese_
1242: [20:35:42] <UncleCheese_> np
1243: [20:35:51] <Ryan-Toast> antmas: I'd just add a custom checkbox that selects/deselects all pages in site tree so you can mass publish them.
1244: [20:36:25] <antmas> Ryan-Toast: I would too, but too many pages and some can't be published as per embargo etc
1245: [20:36:53] <Ryan-Toast> ah, right.
1246: [20:37:05] <Ryan-Toast> Sorry man, you'll need to get the attention of a power user.
1247: [20:37:24] * qlex quit (Read error: Connection reset by peer)
1248: [20:37:34] <antmas> mostly asking as I don't know if it's an 'ok' idea and whether I need to put it in the controller for the MoveTo action :P
1249: [20:38:08] <Ryan-Toast> antmas: I honestly don't see why not, but again I don't know.
1250: [20:41:22] * darianno has joined #silverstripe
1251: [20:43:42] <antmas> Ryan-Toast: wait, looks like the controller is already calling $page->write(); anyway, so it's saving the page anyway, just publishing
1252: [20:47:46] * derek-b quit (Remote host closed the connection)
1253: [20:48:39] * MusicMann has joined #silverstripe
1254: [20:49:35] <MusicMann> Hello all! Anyone have a moment to lend a hand with a javascript bug?
1255: [20:49:42] <antmas> awesome, it works :D
1256: [20:49:47] <Ryan-Toast> antmas: yay
1257: [20:50:11] <simon_w> MusicMann, if you don't tell us what your bug is, no one will know :)
1258: [20:51:13] <Ryan-Toast> I need to stop drinking so much tea, I need to piss like 6 times a day.
1259: [20:51:15] <MusicMann> True :) I'm trying to publish a page I have in SS v3.1.3 (locally) and neither the publish nor save draft button is working.
1260: [20:51:30] <Ryan-Toast> MusicMann: Fresh install?
1261: [20:51:42] <simon_w> MusicMann, is a request going to the server?
1262: [20:52:00] <MusicMann> Ryan-Toast: No, it's not a fresh install
1263: [20:52:02] * darianno quit (Quit: Page closed)
1264: [20:52:08] <antmas> Ryan-Toast: what kind of tea?
1265: [20:52:12] <antmas> gumboot?
1266: [20:52:19] <Ryan-Toast> antmas: English Breackfast.
1267: [20:52:24] <antmas> mmmm
1268: [20:52:25] <Ryan-Toast> breakfast**
1269: [20:52:36] <antmas> I want to get some kind of tea that makes me sleepy
1270: [20:53:02] <Ryan-Toast> I think the problem is my mug is aborut a litre, haha.
1271: [20:53:13] <antmas> jesus lol
1272: [20:53:29] <MusicMann> simon_w: No, I'm using XAMPP on mac. Let me see which file I believe is in question.
1273: [20:54:54] <Ryan-Toast> antmas: http://i.imgur.com/gNfJO35.jpeg
1274: [20:55:37] <MusicMann> simon_w: TinyMCE - /framework/thirdparty/tinymce/tiny_mce_gzip.php
1275: [20:55:42] <antmas> Ryan-Toast: haha
1276: [20:55:43] * howardgrigg has joined #silverstripe
1277: [20:55:44] <antmas> nice
1278: [20:56:55] <MusicMann> "tinyMCE is not defined." It runs on the production and staging server but not locally.
1279: [21:00:14] * howardgrigg quit (Ping timeout: 244 seconds)
1280: [21:06:12] <antmas> Chamomile tea
1281: [21:06:21] <antmas> anyone have it?
1282: [21:12:56] <antmas> zippy____: it can't decide whether to actually rain or not :/
1283: [21:14:00] <zippy____> na, it's ment to get a bit warmer as well
1284: [21:19:08] <antmas> could do with a warmth boost
1285: [21:28:03] <antmas> can anyone tell me why the pulish() would not be called here? http://www.sspaste.com/paste/show/531e2ac5d149d
1286: [21:29:42] * k_fish_ has joined #silverstripe
1287: [21:29:45] <zippy____> whats the error?
1288: [21:30:43] <antmas> zippy____: after the move is completed, the user stil has to manually publish the page
1289: [21:30:49] * k_fish quit (Ping timeout: 240 seconds)
1290: [21:31:02] <antmas> so, I'd rather it just publish once it's moved - but it doesn't happe
1291: [21:31:05] <antmas> happen*
1292: [21:37:45] <antmas> wait
1293: [21:37:49] <antmas> my bad, it is working :P
1294: [21:38:00] <antmas> need a le flush
1295: [21:41:15] * UncleCheese_ quit (Quit: UncleCheese_)
1296: [21:45:38] <zippy____> ah the ol "hahah I am not goign to work until you flush" routine
1297: [21:46:22] <zippy____> I wonder why it needs a flush, like, why does ss need to cache so much that needs such a forced flush
1298: [21:50:12] * antmas_ has joined #silverstripe
1299: [21:50:38] * antmas quit (Ping timeout: 245 seconds)
1300: [21:55:49] * antmas_ is now known as antmas
1301: [21:56:44] * howardgrigg has joined #silverstripe
1302: [21:59:10] * bobkosse has joined #silverstripe
1303: [22:01:03] * howardgrigg quit (Read error: Connection reset by peer)
1304: [22:01:15] * UncleCheese has joined #silverstripe
1305: [22:01:16] * howardgrigg has joined #silverstripe
1306: [22:02:01] <antmas> simon_w: ss23 sorta seems like that composer discussion went a bit full circle in the end
1307: [22:05:20] <ss23> Probably
1308: [22:05:24] <ss23> Because no one made a fucking decision
1309: [22:05:27] <ss23> "We should make a decision"
1310: [22:05:31] <ss23> months later, no one made a discussion
1311: [22:05:59] <simon_w> Also, because they're ignoring the main source of my complaint
1312: [22:06:06] <simon_w> The CLI's the problem, not composer
1313: [22:07:39] <simon_w> Maybe I should say that if we go for this option, we should drop the ErrorChainController or whatever it is and just only allow flush from the CLI
1314: [22:13:35] <ss23> lol
1315: [22:16:19] <simon_w> "I mean, being able to do ?flush on live is only a stop-gap measure and you?ll have to learn how to properly deploy things, including clearing the caches, at some point."
1316: [22:17:30] <antmas> exactly
1317: [22:18:11] <simon_w> Oh Hamish, you made that far too easy for me
1318: [22:23:03] <antmas> fffff Silenone is such an anus
1319: [22:23:09] <ss23> lol
1320: [22:23:11] <ss23> trudat
1321: [22:25:20] * gelignite quit (Quit: http://bit.ly/nkczDT)
1322: [22:25:31] * catcher quit (Quit: Leaving)
1323: [22:26:56] <antmas> man
1324: [22:27:03] <antmas> IRD's secure mail is such a mess
1325: [22:28:32] <ss23> But it's secure
1326: [22:29:57] <antmas> ss23: -_-
1327: [22:30:17] * bobkosse quit (Quit: leaving)
1328: [22:32:50] * desperate has joined #silverstripe
1329: [22:32:51] <ss23> :D
1330: [22:33:11] * Colin[pi] has joined #silverstripe
1331: [22:33:36] <antmas> zomg
1332: [22:33:37] <antmas> ...
1333: [22:33:39] <antmas> Colin[pi]:
1334: [22:33:51] <ss23> lol @ stopgap, simon_w
1335: [22:34:11] <antmas> Colin[pi]: http://img2.wikia.nocookie.net/__cb20120108193305/adventuretimewithfinnandjake/images/f/f7/Jake_sparkly_eyes.gif
1336: [22:34:59] <simon_w> ss23, Hamish set that up so nicely for me :)
1337: [22:36:03] <desperate> hi guys... looking at the silverstripe tutorial with the example of an article_holder and an articles page
1338: [22:36:28] <desperate> why would you not make a data object for the articles
1339: [22:36:42] <unsignedint> desperate: because SiteTree manages the hierarchy for you
1340: [22:36:46] <unsignedint> you could make a DataObject
1341: [22:36:48] <Ryan-Toast> So they can be in the sitetree
1342: [22:36:48] <desperate> the articles page has_many "articles" which are data objects
1343: [22:37:34] <desperate> it seems more logical for me to hav e an articles page with extends page... then has_many articles of type dataobjecty
1344: [22:37:35] <Colin[pi]> antmas: he looks like he has a limp yellow sausage draped over his actual nose
1345: [22:37:35] <unsignedint> desperate: if you do that, you'd have to add a tab to your ArticleHolder getCMSFields() and put a GridField in it to manage your articles. And they wont show up in the page list.
1346: [22:37:38] <Colin[pi]> and HAI
1347: [22:37:41] <simon_w> desperate, versioning, you don't need to be introduced to relationships
1348: [22:37:44] <desperate> is that flawed logic?
1349: [22:37:46] <simon_w> URLs get handled for you
1350: [22:38:13] <unsignedint> desperate: not at all, it just means you lose some of the features of SiteTree. But if you dont need them, by all means
1351: [22:38:14] <ss23> tbh, if relationships were versioned, it would solve a lot of "issues" users have (though fuck building the DB+UI for it)
1352: [22:38:17] <antmas> Colin[pi]: don't tell me you don't know Adventure Time?
1353: [22:38:22] <desperate> so when do you use dataobjects?
1354: [22:38:29] <simon_w> ss23, and create a lot more :p
1355: [22:38:58] <Colin[pi]> antmas: know of it, never watched an episode
1356: [22:38:58] <ss23> simon_w: Oh for sure
1357: [22:38:59] <Ryan-Toast> desperate: tags for articles
1358: [22:38:59] <ss23> :P
1359: [22:39:00] <unsignedint> desperate: when you have something you dont want to squish into SiteTree. Like maybe you have a GalleryPage page and then have GalleryImage dataobjects that are managed via a GridField
1360: [22:39:04] <howardgrigg> desperate: normally you use dataobjects for things which will not have their own URL
1361: [22:39:05] <ss23> I prefer this way, but it would solve problems too!
1362: [22:39:31] <unsignedint> nice explanation howardgrigg
1363: [22:40:12] <antmas> would it not be just whenever you want to use a GridField? :P
1364: [22:40:23] <unsignedint> antmas: haha yeah and that
1365: [22:40:47] <desperate> hmm ok so it seems I have added an unecessary step in my data model
1366: [22:41:03] <howardgrigg> well technically a page is just an extended dataobject anyway
1367: [22:41:27] <Colin[pi]> it's a dataobject with versioning
1368: [22:41:33] <Colin[pi]> and a URL
1369: [22:41:34] <antmas> ^^
1370: [22:42:50] <howardgrigg> desperate: you don't need to define a has_many in Article page holder because the relationship is formed in the sitetree using ParentID
1371: [22:43:04] <simon_w> And a hierarchy
1372: [22:43:27] <Colin[pi]> ah this too
1373: [22:43:54] <desperate> ok thaat makes sense
1374: [22:44:36] <unsignedint> sometimes a page is considered too "heavy" because you dont always need a URL, versioning and a hierarchy. In that case, you can use a raw dataobject
1375: [22:46:31] <Colin[pi]> then sometimes it's handy to reference dataobjects within their own page, in which case it helps to define a URLSegment for the dataobject
1376: [22:48:18] * UncleCheese quit (Quit: UncleCheese)
1377: [22:49:10] * PapaBearNZ has joined #silverstripe
1378: [22:50:06] <desperate> and so if I extend ap age for my articles page... where is the data stored? in "SiteTree"?
1379: [22:50:20] * k_fish has joined #silverstripe
1380: [22:51:28] <howardgrigg> it adds a table that links to the sitetree table
1381: [22:53:35] * k_fish_ quit (Ping timeout: 265 seconds)
1382: [22:54:34] * violetina quit (Remote host closed the connection)
1383: [22:54:53] <PapaBearNZ> Is there a standard method to display an error message to the user after performing an action in the CMS in SS 3.1? Something more friendly than the black box in the top right corner. Normally I would return an error message back to the calling form from the front end but the CMS actions are all AJAX and my brain is not cooperating on how to do this cleanly.
1384: [22:56:07] <Colin[pi]> desperate: it creates a new table just for fields defined in your extended page, otherwise things like Title, URLSegment etc. are stored in SiteTree
1385: [22:56:18] <antmas> yuss, Steam Home Streaming Invite
1386: [22:56:54] <pippy> weird, file uploads have failed after upgrading to SS 3.1.3
1387: [22:56:55] <pippy> PHP Fatal error: Call to a member function getFilename() on a non-object in /var/www/httpdocs/framework/forms/UploadField.php on line 1279, referer: http://www.op.ac.nz/admin/assets/add/?ID=14926
1388: [22:57:10] <pippy> it seems i did something wrong with the nginx confi?
1389: [22:57:12] <pippy> config?
1390: [22:58:59] <Colin[pi]> can someone write a virus to destroy email? bane of my existence
1391: [22:59:26] <ss23> lol
1392: [23:01:56] <pippy> ah, i've figured it out. it looks like in SS 3.1.3 the url ends with the file extention, casuing nginx to go searching inside the static files
1393: [23:03:25] <Colin[pi]> didn't the assets always end with the file extension?
1394: [23:07:20] * b00mtastik has joined #silverstripe
1395: [23:07:45] <b00mtastik> Hey guys, how's it going?
1396: [23:08:45] <antmas> b00mtastik: working with a clunky document managment system
1397: [23:08:48] <antmas> SO GREAT
1398: [23:08:51] <antmas> :P
1399: [23:09:25] <Colin[pi]> what's that antmas?
1400: [23:09:29] <Colin[pi]> i.e. what system
1401: [23:10:47] <antmas> Colin[pi]: SilentOne
1402: [23:10:56] <Colin[pi]> SilentButDeadly?
1403: [23:11:54] <antmas> oh yeah
1404: [23:13:40] <Colin[pi]> reminds me of when I was talking to my mate on the phone the other day, sounded like a door going 'crrrreeeeaaaaaakkkk' in the background - wasn't a door :(
1405: [23:14:00] <desperate> so if my articles page extends a page I don't have to create a bodytext in the $db array as this will already have been inhereted from the Page type is that right?
1406: [23:14:38] <zippy____> desperate: right - Content is the field name
1407: [23:14:49] <antmas> http://www.stuff.co.nz/motoring/news/9679512/A-33-500-Aston-Martin-for-the-kids
1408: [23:15:33] <Colin[pi]> desperate: yep... SS uses a, I think it's class inheritance table pattern?
1409: [23:15:41] <desperate> and likewise I don't need to create a title field... because again Page already has this
1410: [23:15:44] <desperate> I see the advantages
1411: [23:15:58] <Colin[pi]> yeah each subclass has it's own table
1412: [23:16:07] <Colin[pi]> fields particular to each subclass in each table
1413: [23:16:11] <zippy____> Colin[pi]: only if the new subclass has any different fields :)
1414: [23:16:20] <Colin[pi]> correct
1415: [23:16:33] <Colin[pi]> you'll see the table appear on dev/build if you've added at least one field
1416: [23:16:38] <Colin[pi]> actually, tables
1417: [23:16:42] <Colin[pi]> (for versioning)
1418: [23:16:54] <zippy____> poo! I just thought i would use composer to setup this new site, boom Project directory ./ is not empty.
1419: [23:17:03] <zippy____> as it has a .git folder in it already lol
1420: [23:17:40] <antmas> zippy____: </3 that
1421: [23:17:47] <simon_w> SVN doesn't do that!
1422: [23:17:59] <Colin[pi]> who uses SVN these days?
1423: [23:18:01] <Colin[pi]> ;)
1424: [23:18:03] <simon_w> Me!
1425: [23:18:32] <simon_w> So I keep hitting that problem with composer (cause there's a .svn folder), and raging
1426: [23:20:57] <Colin[pi]> simon_w: do you want to work for me answering emails??
1427: [23:21:08] <Colin[pi]> I'll give you a sexy little dress to wear
1428: [23:21:20] <simon_w> Colin[pi], can you pay me at least $75k per annum for it?
1429: [23:21:38] <Colin[pi]> I can pay you $75, and all the lolly cake you can eat
1430: [23:21:51] <zippy____> ok, so moved it out, installed and moved it back - all fine. now next issue....
1431: [23:22:28] <zippy____> if I pull in someones module like "undefinedoffset/sortablegridfield": "dev-master" -- why dev-master? what happens if ss 3.2 comes out does that mean I could pull in that newer sortablegridfield which will blow up?
1432: [23:22:44] <zippy____> Can I tie to to - only versions that will work with ss3.1.3
1433: [23:22:55] <simon_w> Colin[pi], $75 per annum? Screw that :p
1434: [23:23:02] <Colin[pi]> BUT FREE CAKE
1435: [23:23:15] <simon_w> zippy____, that requires people to actually tag their modules
1436: [23:23:39] <zippy____> so really I should commot this whole vendor into git then
1437: [23:23:54] <zippy____> because in two months time if I go to install it, I could end up with incompatable modules
1438: [23:24:30] <simon_w> zippy____, if you commit your composer.lock, then you can just use composer install to get the same versions
1439: [23:24:50] <zippy____> how will it get the same versions when the module versions are dev-master
1440: [23:25:05] <simon_w> zippy____, hence the composer.lock. It includes commit hashes
1441: [23:25:08] <zippy____> oh, it's locked to the commit
1442: [23:25:13] <zippy____> gotcha (y)
1443: [23:25:17] <zippy____> just had a look at the file
1444: [23:26:53] * UncleCheese_ has joined #silverstripe
1445: [23:26:59] <antmas> iOS 7.1 is out
1446: [23:27:01] <antmas> ?
1447: [23:27:26] <lewellyn> yes
1448: [23:27:36] <ss23> antmas: fuck, I updated to the wrong 7.1 :( https://pbs.twimg.com/media/BiZh-PZCUAE7UN1.jpg:large
1449: [23:27:44] <lewellyn> among other things, yet another change to multitasking and a keyboard skin
1450: [23:28:01] <lewellyn> ss23: is that actually running system 7 on an iphone?
1451: [23:28:12] <simon_w> lewellyn, no
1452: [23:28:19] * FrozenFire has joined #silverstripe
1453: [23:28:34] <lewellyn> k. i didn't think it could be unless the emulator was inherently broken.
1454: [23:28:43] <zippy____> ss23: aahh haha
1455: [23:28:54] <antmas> ss23: XD
1456: [23:29:17] <desperate> has anyone experienced this... I'm saving my articles (extended page), when I clcik to save I get "internal server error". When I log out and back in I save that my article was saved
1457: [23:29:41] <simon_w> desperate, sounds like a broken onAfterWrite()
1458: [23:29:46] <zippy____> desperate: check the network tab, and have a look at the response - must be somthing going on...
1459: [23:30:06] <zippy____> desperate: you've dev/build and flushed ?
1460: [23:30:38] <desperate> yes i flushed
1461: [23:30:41] <howardgrigg> does anyone else have freaking annoying issues of the admin forgetting their login?
1462: [23:30:45] <desperate> and did a dev build
1463: [23:30:59] <zippy____> desperate: then check the log to see whats going on
1464: [23:31:28] <simon_w> howardgrigg, as in, the tick box doesn't appear to be working?
1465: [23:32:04] <howardgrigg> as in I'm in the CMS and then go to a different page and need to login again
1466: [23:32:22] <simon_w> Nope
1467: [23:32:25] <antmas> howardgrigg: sometimes
1468: [23:33:46] <howardgrigg> hmm
1469: [23:38:03] <Colin[pi]> simon_w: 7.1 is out btw
1470: [23:38:07] <simon_w> I know
1471: [23:38:12] <Colin[pi]> I figured :)
1472: [23:38:35] <simon_w> There's someone that looks like ss23 at the bus stop across the road!
1473: [23:38:46] <ss23> :O
1474: [23:38:48] <ss23> Not me!
1475: [23:38:51] <Colin[pi]> :o he's repoducing by osmosis
1476: [23:39:09] <Colin[pi]> wait that's the wrong term lol
1477: [23:39:43] <Colin[pi]> mitosis
1478: [23:39:46] <Colin[pi]> ;D
1479: [23:39:48] <ss23> lol
1480: [23:39:52] <antmas> meosis?
1481: [23:40:10] <ss23> meowsys?
1482: [23:40:12] * ss23 meow
1483: [23:40:26] <Ryan-Toast> 5 meowmeowbeenz
1484: [23:40:30] * antmas doesn't remember anything from 5th form biology other than stuff to do with fungi
1485: [23:40:33] <desperate> it seems the error is related to my has_one images
1486: [23:40:34] <simon_w> https://files.app.net/2j2c49ivU.jpg
1487: [23:40:40] <simon_w> Hmm, the tree got in the way a bit
1488: [23:40:46] <desperate> in my articles: private static $has_one = array( 'TextPageAThumb' => 'Image', 'TextPageAImage' => 'Image' );
1489: [23:40:57] <ss23> lol
1490: [23:40:58] <ss23> >shorts
1491: [23:40:59] <antmas> ss23: lol nice shorts
1492: [23:40:59] * k_fish quit (Quit: Leaving)
1493: [23:41:00] <ss23> Obviously not me!
1494: [23:41:25] <simon_w> Just picture that person in a dress
1495: [23:41:29] <simon_w> Could totally be ss23!
1496: [23:41:48] <Colin[pi]> isn't that a woman?
1497: [23:41:50] <howardgrigg> desperate: hope those two images aren't just different sizes of the same image?..
1498: [23:41:55] <simon_w> Yup
1499: [23:41:58] <Colin[pi]> lel
1500: [23:42:00] <ss23> :(
1501: [23:42:00] <ss23> guis
1502: [23:42:01] <ss23> pls
1503: [23:42:13] <lewellyn> simon_w: geeeez you have a lot of icons in your menubar
1504: [23:42:14] <pippy> hm I thought i knew what it was, but now i'm more confused than before
1505: [23:42:22] <antmas> looks like they're about to light a doobie
1506: [23:42:23] <desperate> no they are two different images
1507: [23:42:40] <zippy____> desperate: what is the error you are getting? (whats it say, in the log / response)
1508: [23:43:23] <simon_w> lewellyn, Skype, Toggle, Wedge, Last.fm, Growl, Swing, 1Password, Alfred, WhatPulse, TweetBot, Messages, Time Machine, bluetooth, wifi, volume, batter, date/time, spotlight, notification centre.
1509: [23:43:27] <simon_w> Not that many :p
1510: [23:43:51] <desperate> I can't get into the logs, i am working off a remote dev server... the old error file was 65mb so I deleted it thinking that SS would just recreate a new one if one wasn't present.... snother hasn' been created
1511: [23:48:21] <desperate> even if I just declare that it has one image: "internal server error" private static $has_one = array( 'TextPageAThumb' => 'Image' );
1512: [23:48:50] <howardgrigg> are you doing a dev/build after each change?
1513: [23:51:23] <desperate> yes i was... i fixed it by dropping the table in phpmyadmin and doing a dev/build
1514: [23:51:29] <desperate> so maybe the flush wasn't wroknig
1515: [23:51:42] <desperate> i often have to do the flush seveal times
1516: [23:53:10] <howardgrigg> hmm odd - I never need to muck around with phpmyadmin unless I've manually stuffed it up lol
1517: [23:56:04] * guttmann quit ()
1518: [23:57:44] <desperate> in my articles holder page can I get a list of articles....
1519: [23:58:04] <desperate> if the articles were a dataobject I would loop the relation name
1520: [23:58:37] <desperate> but in this case the only relation between my article_holder and articles is the allowed_children
1521: [23:59:51] <desperate> ahh children?
1522: [23:59:56] <howardgrigg> <% loop Children %>

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