#silverstripe IRC Log

IRC log for 29 September 2014

All timestamps are in UTC.

1: [00:00:03] <simon_w> http://www.toyworld.co.nz
2: [00:00:06] <Colin[pi]> lol
3: [00:01:11] <adrexia> Unclecheese - you should only ever order vegetarian or chicken from dominoes
4: [00:01:24] <adrexia> everything else is... icky
5: [00:01:41] <simon_w> Colin[pi], but Dominoes in AU doesn't have Mr Wedge!
6: [00:01:52] <Colin[pi]> dafuq is mr wedge?
7: [00:01:59] <antmas> I'd take chicken off that list
8: [00:02:03] <simon_w> A pizza. With wedges on it.
9: [00:02:08] <Colin[pi]> wat
10: [00:02:17] <simon_w> You're missing out!
11: [00:02:31] <antmas> I wouldn't call that missing out
12: [00:02:32] <antmas> ;)
13: [00:02:45] <antmas> all you need is some carboard, and some wedges
14: [00:02:48] <antmas> boom
15: [00:02:51] <antmas> dominoes pizza
16: [00:03:03] <adrexia> mr wedge is good. I take the meat off and add spicy chicken
17: [00:03:07] * veb quit (Ping timeout: 245 seconds)
18: [00:03:21] <adrexia> but yeah - the base matters too
19: [00:03:23] <antmas> adrexia: so you take the meat off and add meat?
20: [00:03:25] <antmas> :P
21: [00:03:30] <adrexia> yeah
22: [00:03:38] <adrexia> I take the ... pork based meat off
23: [00:03:44] <antmas> all the meats
24: [00:03:45] <simon_w> Yay, toy shopping time!
25: [00:03:47] * simon_w quit (Quit: Ping timeout: your mum)
26: [00:03:47] <adrexia> do they call it ham or bacon, I forget
27: [00:03:53] <adrexia> its more like luncheon
28: [00:03:54] <antmas> facon
29: [00:04:15] <adrexia> either way, its gross
30: [00:04:57] <antmas> luncheon
31: [00:05:06] <antmas> my son calls that 'meat circles'
32: [00:05:23] <ss23> hhahaha
33: [00:05:34] <Colin[pi]> lol
34: [00:06:25] <UncleCheese> do you guys say "luncheon meat" here?
35: [00:06:47] <spronk> meat circles
36: [00:06:48] <ss23> Normally just "luncheon"
37: [00:06:48] <spronk> lul
38: [00:06:54] <spronk> luncheon meat isn't uncommon though UncleCheese
39: [00:07:04] <UncleCheese> oh wow
40: [00:07:07] <UncleCheese> just luncheon
41: [00:07:09] <UncleCheese> that's really bizarre
42: [00:07:20] <UncleCheese> so the term "cold cuts" isn't used here?
43: [00:07:31] <spronk> it is sometimes
44: [00:07:43] <UncleCheese> whew
45: [00:07:50] <UncleCheese> subway was quite a different experience
46: [00:08:02] <UncleCheese> she didn't know what provalone cheese was
47: [00:08:37] <UncleCheese> and instead of instead of green peppers, they had something called "capsicum".. and instead of black olives, they had feijoas
48: [00:08:58] <Colin[pi]> mm peppers are capsicum in this part of the world
49: [00:09:17] <spronk> wait
50: [00:09:18] <spronk> what
51: [00:09:20] <antmas> fejoas?
52: [00:09:21] <spronk> black olives?
53: [00:09:22] <antmas> dafuq?
54: [00:09:27] <spronk> subway nz has black olives..
55: [00:09:34] <spronk> certainly doesn't seem to have feijoas..
56: [00:09:39] <antmas> black olives are gross
57: [00:09:42] <spronk> SIF
58: [00:09:43] <spronk> THEY ARE AWESOEM
59: [00:09:47] <antmas> :(
60: [00:09:48] <antmas> NO
61: [00:09:51] <antmas> green olives ftw
62: [00:10:30] * zippy has joined #silverstripe
63: [00:10:38] <Colin[pi]> do you know once I tried a black olive at a deli (tasting), and I could taste it any time I salivated... for a WEEK
64: [00:10:40] * zippy quit (Client Quit)
65: [00:10:46] <spronk> :|
66: [00:10:50] <Colin[pi]> seriously
67: [00:10:54] <spronk> green olives are a bit... tangy... for me
68: [00:11:14] <UncleCheese> luncheon + feijoas = sandwich bliss
69: [00:11:28] <ss23> ewww
70: [00:11:28] <UncleCheese> i was so disappointed to find out there's only one kind of olive
71: [00:11:32] <UncleCheese> it's like tea
72: [00:11:50] <UncleCheese> just one plant, and the flavour changes based on how they fuck with it post-production
73: [00:11:57] <antmas> UncleCheese: dafuq is up with that?
74: [00:12:02] <antmas> feijoas and meat?
75: [00:12:17] <Colin[pi]> feijoa + sandwich? really
76: [00:12:21] <Colin[pi]> seems weird to me
77: [00:12:27] <UncleCheese> feijoa chutney maybe
78: [00:12:30] <UncleCheese> on a toasty
79: [00:12:34] <UncleCheese> yeah, it could work
80: [00:12:35] <antmas> at a stretch maybe
81: [00:12:53] <UncleCheese> cuban sandwiches are known for combining fruit and meat
82: [00:13:11] <antmas> cuban sandwiches sound awful :P
83: [00:13:15] <UncleCheese> yum
84: [00:13:20] <Colin[pi]> UncleCheese: do you have turkey, cranberry and avocado sandwiches in the US?
85: [00:13:24] <UncleCheese> YES
86: [00:13:26] <UncleCheese> and you don't here
87: [00:13:29] <Colin[pi]> they are awesome
88: [00:13:29] <UncleCheese> and it sucks my ass!
89: [00:13:32] <Colin[pi]> no we have them
90: [00:13:33] <antmas> lol
91: [00:13:35] <Colin[pi]> in AU anyway
92: [00:13:43] <UncleCheese> turkey is like unheard of here
93: [00:13:48] <UncleCheese> thanksgiving was so sad
94: [00:13:48] <Colin[pi]> first time I made one for my gf, she was like "what the fuck..."
95: [00:13:54] <Colin[pi]> but they taste amazing
96: [00:14:00] <antmas> UncleCheese: it's mostly like an xmas meat here
97: [00:14:20] <antmas> I need to eat now
98: [00:14:26] <antmas> all this sandwich talk...
99: [00:14:41] <UncleCheese> time for a butter chicken an quinoa wrap
100: [00:14:49] <Colin[pi]> antmas: yeah I started salivating... I CAN TASTE OLIVE
101: [00:14:55] <antmas> lol
102: [00:14:58] <UncleCheese> i went to a subway once in ohio
103: [00:15:00] <antmas> cannot untaste
104: [00:15:03] <UncleCheese> and asked for black olives
105: [00:15:18] <UncleCheese> and she put the tiniest about of black olives on
106: [00:15:21] <UncleCheese> and i was like, more please
107: [00:15:27] <UncleCheese> and she said, $0.50 extra
108: [00:15:31] <UncleCheese> and i'm like... what?
109: [00:15:42] <spronk> heh
110: [00:15:42] <spronk> yeah
111: [00:15:50] <UncleCheese> "six-inch subs get six black olives.. footlongs get 13"
112: [00:15:58] <Colin[pi]> UncleCheese: how petty
113: [00:16:01] <UncleCheese> she literally counted out the indivitual olives
114: [00:16:04] * vebbb is now known as veb
115: [00:16:05] * veb quit (Changing host)
116: [00:16:06] * veb has joined #silverstripe
117: [00:16:07] <spronk> there are multiple types of tea..
118: [00:16:09] <UncleCheese> and mind you, they're not whole olives.. they're SLICES of olives
119: [00:16:24] <Colin[pi]> UncleCheese: it's like when i get a sub here, I ask for an insane amount of jalapenos, but they never charge more for it
120: [00:16:26] <UncleCheese> the unit cost on each one has to be in the milllionths of a cent
121: [00:16:46] <spronk> iirc there are like 3 different variants of the tea plant used for different teas
122: [00:16:51] <UncleCheese> or when they don't include tomato sauce, but when yo uask fro it, they throw 75 packets in
123: [00:16:58] <UncleCheese> it's like.. what's the point of that?
124: [00:18:00] * UncleCheese quit (Read error: Connection reset by peer)
125: [00:18:59] <ss23> 13:16:24 < Colin[pi]> UncleCheese: it's like when i get a sub here, I ask for an insane amount of jalapenos, but they never charge more for it
126: [00:19:05] <ss23> They don't charge for any extra vegetables
127: [00:19:08] <ss23> Only da MEAT
128: [00:19:11] <Colin[pi]> mm
129: [00:19:21] <ss23> wait
130: [00:19:26] <ss23> wtf they charged UC for more olives?
131: [00:19:27] <ss23> dats fucked up
132: [00:19:31] <ss23> Maybe they changed policy
133: [00:19:33] <ss23> idk
134: [00:19:34] <Colin[pi]> yeah that's what he's saying
135: [00:19:38] <Colin[pi]> normally they dont
136: [00:20:36] <ss23> weird
137: [00:20:39] <ss23> Maybet hey hate him cause he's black
138: [00:21:09] <irogue_> [13:14:58] <UncleCheese> i went to a subway once in ohio
139: [00:21:11] <irogue_> probably a US thing
140: [00:21:32] <ss23> ohhhhhhhhhh
141: [00:21:41] <Colin[pi]> lol
142: [00:21:41] <ss23> I don't like olives :(
143: [00:21:50] <irogue_> neither
144: [00:22:01] * irogue_ looks down at his sub with "everything except beetroot and olives"
145: [00:22:03] <Colin[pi]> green olives + beer = win
146: [00:24:19] * Kingy is now known as Kingy[a]
147: [00:26:19] <Colin[pi]> sweet, I found a 1GB HDD in my cupboard
148: [00:26:25] <Colin[pi]> *1TB
149: [00:27:05] <irogue_> was gonna say, 1GB HDD wouldn't be much use
150: [00:27:20] <Colin[pi]> 20 years ago mebbe lol
151: [00:27:42] <Colin[pi]> maybe i can stick this in my htpc
152: [00:33:40] <Stomach> is it a sweet 5400 with mega super noise
153: [00:33:45] <Stomach> those suck in htpcs
154: [00:33:55] <Colin[pi]> WD green
155: [00:34:09] <ss23> I realise WD Greens have high failure rates
156: [00:34:13] <ss23> So I make sure to RAID5 them :)
157: [00:34:32] <Colin[pi]> ss23: well, I've had zero WDs fail and five seagates fail in as many years
158: [00:35:11] <Colin[pi]> will never buy another seagate now, they've made THE LIST... along with PowerColor
159: [00:36:06] <ss23> haha
160: [00:36:16] <ss23> I run WD's exclusvely too in my NAS
161: [00:36:21] <ss23> Reds though at the moment
162: [00:36:41] <irogue_> Colin[pi]: yep, doing NAS tech support for 3 years made me quite aware of Seagate's issues
163: [00:37:07] <Colin[pi]> irogue_: of course one died in the PC I made for a mate... protip: never make PCs for mates
164: [00:37:12] <Colin[pi]> everything is your fault
165: [00:37:31] <irogue_> http://www.geekzone.co.nz/theEd/8385
166: [00:37:55] <ss23> RAID is my backup soultion <3
167: [00:40:34] <irogue_> the big issue with Seagate Desktop drives (formerly Barracudas) is that, although they're not marked as such, they're Low Power drives equivalent to WD Greens
168: [00:40:57] <ss23> Ohhhhhhhhhhhhhhhhhhhhh
169: [00:40:59] <ss23> Baracuda.
170: [00:42:17] * UncleCheese has joined #silverstripe
171: [00:43:22] <irogue_> I should blog more
172: [00:43:42] <irogue_> I'm constantly linking people to that post, which saves me having to explain things over and over :P
173: [00:43:46] <Ryan-Toast> How do I use the createInput method to make a custom FormField?
174: [00:45:32] * bubaphex has joined #silverstripe
175: [00:46:03] <Stomach> Ryan-Toast - that looks like its only available on multifield? its just an alias for FormField::createTag()
176: [00:46:21] <Ryan-Toast> Stomach: ah, coolio
177: [00:46:38] * veb has joined #silverstripe
178: [00:54:46] * veb quit (Read error: Connection reset by peer)
179: [00:57:21] * veb has joined #silverstripe
180: [01:01:30] * Kingy[a] is now known as Kingy
181: [01:03:37] <Kingy> Colin[pi]: you speak truth. I made a PC for dads mate. Lightning blew it up and he asked me to fix it
182: [01:03:46] <Colin[pi]> Kingy: -_-
183: [01:05:19] <Stomach> does anyone know how the vakata menus work in the CMS - the one you right click and go "add-page"
184: [01:05:32] <Stomach> I have a problem where its not inheriting the locale that you're currently in
185: [01:05:40] <Stomach> but I have NFI where the hell its getting its data from
186: [01:05:57] <adrexia> javascript injection?
187: [01:06:47] <Stomach> I've found where it builds the list from, but can't work out where that actually is in code, I wanna add the current locale to its extra params
188: [01:08:12] <Stomach> ah its in CMS_TreeView.ss
189: [01:10:49] <adrexia> I wonder if there's not something better than vakata by now
190: [01:11:23] * bubaphex quit (Ping timeout: 240 seconds)
191: [01:11:35] <PapaBearNZ> irogue: that article helped a lot when I was choosing drives for my nas.
192: [01:13:07] <Kingy> ffs
193: [01:13:26] <adrexia> ?
194: [01:13:36] <Kingy> ss23: test site is out of space
195: [01:13:43] * Kingy can't deploy
196: [01:14:01] <adrexia> Oh, I've had that before :D
197: [01:14:09] <ss23> Kingy: TICKET
198: [01:14:17] <Kingy> sigh, thought we were mates
199: [01:14:28] <veb> you have no mates
200: [01:14:31] <veb> cynical ass
201: [01:14:33] <adrexia> mates supply candy
202: [01:15:06] <Kingy> hey veb
203: [01:15:43] * veb hi
204: [01:16:37] <ss23> Kingy: We are, I'm just sleepy as shit
205: [01:16:48] <Kingy> I knew I shoulda gone to igor
206: [01:17:22] <irogue_> Kingy: don't worry, us internal people have to do tickets too
207: [01:17:34] <Kingy> this is the first ticket i've ever done :P
208: [01:18:16] <adrexia> trick is to make the ticket and then bother Stephen
209: [01:18:20] <adrexia> :P
210: [01:18:22] <Kingy> haha
211: [01:19:51] <Kingy> there ss23, happy now
212: [01:24:30] <antmas> Kingy: make sure you put as minimal information in the ticket as possible
213: [01:24:34] <antmas> :D
214: [01:25:11] <Kingy> well I don't really know how much simpler "test site is out of space" you can get
215: [01:25:17] <Kingy> but I attached a nice screenshot
216: [01:25:47] <antmas> there are no clouds int he sky here
217: [01:25:52] <antmas> in the*
218: [01:25:53] <antmas> so nice
219: [01:25:57] <Kingy> not many here
220: [01:26:00] <Kingy> but it's windy as sshit
221: [01:26:29] <antmas> very light breeze here
222: [01:29:18] * gordon has joined #silverstripe
223: [01:29:42] * gordon is now known as Guest93415
224: [01:30:16] * Guest93415 is now known as elgrodo
225: [01:31:37] <Colin[pi]> thanks MS for that absolutely riveting update notification: http://imgur.com/YRYOvZx
226: [01:32:43] <ss23> Kingy: /dev/sda1 24G 9.5G 14G 42% /
227: [01:32:48] <Kingy> haha, oh yeah fixed some bugs
228: [01:32:48] <ss23> DON'T KNOW WHAT UR TALKING ABOUT L0L
229: [01:32:57] <Kingy> wtf
230: [01:33:10] <ss23> /dev/mapper/vg1-root 7.8G 7.4G 636K 100% /
231: [01:33:11] <ss23> found it
232: [01:33:15] <Kingy> lol
233: [01:33:35] <Kingy> may as well just delete some backups
234: [01:34:49] <Kingy> Colin[pi]: I might start using that now. "So what'd you do in this sprint" ... "oh you know, fixed some bugs"
235: [01:34:55] <Colin[pi]> lol
236: [01:37:12] <Ryan-Toast> adrexia: progress so far: http://www.gfycat.com/ExaltedAncientAntarcticgiantpetrel
237: [01:38:08] <adrexia> oh interesting. You're using the cms to do it. :)
238: [01:38:21] <adrexia> I suppose that gives you a decent preview
239: [01:38:57] <Ryan-Toast> yarp
240: [01:45:34] <Stomach> what do you guys use to prevent spam
241: [01:45:45] <Stomach> getting shitloads of text based spam at the moment :( fucking android games
242: [01:46:07] * Olliepop has joined #silverstripe
243: [01:46:13] <Ryan-Toast> obfusicate your email, and put a really basic captcha on your contact foorm.
244: [01:47:06] <Stomach> yeah, captchas aren't any good for this client :\
245: [01:47:16] <Stomach> they dont want them to ruin the asthetic of the site
246: [01:47:17] <Stomach> lololol
247: [01:47:21] <Stomach> I agree with them though
248: [01:47:22] <Colin[pi]> oh for fucks sake
249: [01:47:35] <Stomach> I hate captchas
250: [01:47:41] <micmania1> Stomach: you tried areyouhuman?
251: [01:47:42] <Colin[pi]> captchas suck but they are a necessity these days
252: [01:47:51] <micmania1> Its a captcha, but not in the typical sense.
253: [01:48:06] <Stomach> the silverstripe-mathspam protection seems to have been broken by bots as well, one site getting looots of crap through
254: [01:48:27] <Stomach> micmania1 - nope, havent
255: [01:49:25] <micmania1> Stomach: http://areyouahuman.com/gallery.html
256: [01:50:25] <antmas> lol Mr Potato Head
257: [01:51:43] <Stomach> micmania1 - can you use that or do you have to pay for it
258: [01:53:25] <micmania1> It was free when I used it, but that was quite a while ago.
259: [01:54:21] * simon_w has joined #silverstripe
260: [01:54:49] <Stomach> yeah I found the WP plugin for it
261: [01:55:10] <Stomach> bloody spammers
262: [01:55:11] * Olliepop_ has joined #silverstripe
263: [01:56:50] <Ryan-Toast> Stomach: 3+7=? cut down about 90% of my spam http://webdough.co.nz/~boilerpl/contact/
264: [01:57:16] * bubaphex has joined #silverstripe
265: [01:57:17] <Stomach> yeah we are still getting like 100 a day after a mathspam protection
266: [01:57:37] <Ryan-Toast> Don’t make it required
267: [01:58:40] <Ryan-Toast> and don’t have front end validation for it.
268: [01:58:40] * Olliepop quit (Ping timeout: 246 seconds)
269: [02:01:02] <spronk> aww
270: [02:01:27] <spronk> why do page includes happen after Requirements::customScript :(
271: [02:04:39] <Kingy> thanks ss23
272: [02:04:53] <irogue_> I use honeypot fields, and make them as non-obvious as possible (unlike InvisibleSpamProtection module)
273: [02:05:05] <ss23> o/
274: [02:05:18] <irogue_> on an unrelated note
275: [02:05:21] <irogue_> fuck Versioned
276: [02:05:58] <ss23> trudat
277: [02:06:32] <spronk> hmm
278: [02:06:41] <irogue_> and more specifically, fuck the "remove orphaned" functionality
279: [02:07:03] <spronk> is there a way to get a requirements::customScript to execute after all <% includes ? or am i going to have to stick the js include into requirements:: in php ?
280: [02:08:26] <Olliepop_> What's the best way to call ->publish() after a DataObject is saved?
281: [02:11:20] <ss23> Um
282: [02:11:22] <ss23> Literally just call it?
283: [02:11:30] <ss23> Like, just call it, then it'll be called
284: [02:11:53] <micmania1> $page->write(); $page->writeToStage(‘Stage’, ‘Live’); (I think)
285: [02:12:45] <irogue_> [15:11:30] <ss23> Like, just call it, then it'll be called
286: [02:12:48] <micmania1> Instead of writeToStage use publish(‘Stage’, ‘Live’); - I was close :p
287: [02:12:52] * irogue_ laughts uncontrollably
288: [02:13:08] * veb has joined #silverstripe
289: [02:13:09] <ss23> irogue_: ;_;
290: [02:13:12] <ss23> Isn't that right though?
291: [02:13:25] <irogue_> it is!
292: [02:13:26] <Stomach> irogue_ - yeah we have a honeypot on most forms called "Information" and its non-obvious (using https://github.com/camspiers/silverstripe-honeypot)
293: [02:13:28] <irogue_> 100% correct
294: [02:13:43] <micmania1> ->write() writes to ‘Stage’ and publish(‘Stage’, ‘Live’); copies from ‘Stage’ to ‘Live’
295: [02:14:45] <spronk> bahhhhhhhh
296: [02:14:51] <spronk> promises are a mindfuck
297: [02:15:53] <Stomach> better than silently failing callback callback callback
298: [02:16:47] <spronk> oh
299: [02:16:49] <spronk> maybe
300: [02:16:50] <spronk> but see
301: [02:16:54] <spronk> my promises are silently failing
302: [02:16:59] <irogue_> has anyone got a working example of adding iframe to the allowed list for tinymce in ss 3.1?
303: [02:17:04] <spronk> because... somewhwere down the line there's some exception that's thrown and not being caught
304: [02:20:13] <Colin[pi]> irogue_: it's already there, isn't it?
305: [02:20:22] <Colin[pi]> extended_valid_elements in admin config
306: [02:22:00] <Stomach> spronk - that sounds like lots of fun :P calling a promise that doesn't exist?
307: [02:22:56] <Stomach> and irogue_ - its already there like Colin[pi] says
308: [02:23:08] <irogue_> it's definitely stripping it for me
309: [02:23:54] <spronk> Stomach, ugh its a nightmare
310: [02:24:09] <Stomach> irogue_ - what version?
311: [02:24:18] <irogue_> ah
312: [02:24:21] <irogue_> motherfucker
313: [02:24:28] <irogue_> cwp-core overrides
314: [02:24:53] <Stomach> spronk - can you kill the chain at your last call and see if its third party code?
315: [02:26:32] <Stomach> aka throw an error in your last promise and make sure your promise chain is complete?
316: [02:40:20] <UncleCheese> spronk totally agree
317: [02:44:32] <spronk> its somewhere in a library
318: [02:44:35] <spronk> gonna bluebird that shit
319: [02:44:40] <spronk> ... after i test my new burgerfuel creation
320: [02:44:48] <spronk> flamethrower minus jalep sauce + pineapple
321: [02:44:52] * zippy has joined #silverstripe
322: [02:44:57] <zippy> afternoon
323: [02:45:14] <Stomach> hey zippy
324: [02:45:21] <zippy> whats cracking
325: [02:45:46] <spronk> oowph
326: [02:45:50] <spronk> delicious
327: [02:46:58] <zippy> with swipestripe, is it possible for a product to ask for more details on the checkout page?
328: [02:47:15] <spronk> as in
329: [02:47:28] <zippy> if they select product A then the info isn't needed, but for product B then we need to add a field for the user to enter some more info
330: [02:47:28] <spronk> a particular prod that needs extra info from user?
331: [02:47:33] <zippy> yes
332: [02:47:35] <spronk> not a variation?
333: [02:47:38] <zippy> no
334: [02:48:42] <spronk> hmm
335: [02:48:52] <spronk> unsure
336: [02:49:02] <spronk> maybe one of the extensions does something similar..
337: [02:50:42] <zippy> I wonder if I can add an attribute they can type anything into
338: [02:51:14] <zippy> nop
339: [02:51:56] <spronk> you might have to subclass / extend orderform
340: [02:52:03] <zippy> yea, seems so
341: [02:52:07] <zippy> nuts
342: [02:53:04] <spronk> dno if that'lll fux with the js
343: [02:53:07] <micmania1> zippy: https://github.com/swipestripe/silverstripe-swipestripe/blob/2.1/code/form/OrderForm.php#L166
344: [02:53:28] <zippy> deceeeennt
345: [02:53:29] <zippy> thanks
346: [02:53:49] <spronk> also
347: [02:53:49] <spronk> https://github.com/swipestripe/silverstripe-swipestripe/blob/2.1/code/form/OrderForm.php#L192
348: [02:54:30] <Stomach> also
349: [02:54:31] <Stomach> https://github.com/swipestripe/silverstripe-swipestripe/blob/2.1/code/form/OrderForm.php#L380
350: [02:54:47] <Stomach> random swipestripe links go?
351: [02:55:02] <zippy> :)
352: [02:55:13] <zippy> thanks
353: [02:55:48] * spronk recommends packaging this into a module
354: [02:56:13] <spronk> also you'll need to do something to handle storage of the additional data
355: [02:56:22] <Stomach> does anyone have a weight based shipping module for swipestripe?
356: [03:04:56] <zippy> should the CMS work fine with IE8?
357: [03:04:59] <zippy> stupid govt departments....
358: [03:05:15] <spronk> i thought it was meant to
359: [03:05:22] <spronk> but maybe that was the thing they dropped a while ago?
360: [03:05:55] <micmania1> zippy: should still work in IE8+
361: [03:06:16] * elgrodo quit (Read error: No route to host)
362: [03:32:30] * cloph_away has joined #silverstripe
363: [03:33:00] * cloph quit (Ping timeout: 260 seconds)
364: [04:03:35] * hamishgray has joined #silverstripe
365: [04:04:44] * Phlunk3 quit (Remote host closed the connection)
366: [04:11:21] * bubaphex quit (Ping timeout: 260 seconds)
367: [04:14:08] * nickmolhoek quit (Quit: nickmolhoek)
368: [04:14:59] * Shrike_Finland has joined #silverstripe
369: [04:17:26] * Kingy is now known as Kingy[a]
370: [04:21:41] * PapaBearNZ has left #silverstripe
371: [04:24:56] * tractorcow has joined #silverstripe
372: [04:25:25] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
373: [04:27:34] * dmooyman has joined #silverstripe
374: [04:29:10] * tractorcow quit (Ping timeout: 246 seconds)
375: [04:29:37] * dmooyman has left #silverstripe
376: [04:29:44] * veb has joined #silverstripe
377: [04:29:53] * Ryan-Toast quit (Quit: Ryan-Toast)
378: [04:30:53] * micmania1 quit (Quit: micmania1)
379: [04:31:27] * tractorcow has joined #silverstripe
380: [04:31:42] <tractorcow> Good afternoon all
381: [04:31:43] <spronk> wow
382: [04:31:45] <spronk> this place died after 4:05
383: [04:31:48] <spronk> hi tractorcow
384: [04:31:59] <tractorcow> :)
385: [04:33:16] * simon_w quit (Ping timeout: 250 seconds)
386: [04:33:28] * Stomach quit (Ping timeout: 244 seconds)
387: [04:42:32] <irogue_> oshit
388: [04:42:34] <irogue_> tractorcow is here
389: [04:42:37] <irogue_> HI DAMO
390: [04:42:53] <tractorcow> heeey
391: [04:43:08] <tractorcow> it’s an irogueunderscore
392: [04:43:38] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
393: [04:45:13] <irogue_> thats me
394: [04:47:26] <Colin[pi]> OMG tractorcow
395: [04:47:30] * Colin[pi] waves
396: [04:47:33] <tractorcow> Hey :)
397: [04:47:36] <tractorcow> Yeah it’s been a while
398: [04:48:06] <tractorcow> I’ve decided to get back to my roots and get better involved with you open source people
399: [04:48:29] <Colin[pi]> d'aww
400: [04:48:47] <tractorcow> I didn’t have enough distractions. Kept getting work done.
401: [04:48:49] <tractorcow> No fun at all
402: [04:48:54] <Colin[pi]> just bring air freshener with you, and a cob web brush, it's all good
403: [04:51:33] <Colin[pi]> so what's new tractorcow?
404: [04:51:52] <tractorcow> Working on deploynaut these days,
405: [04:52:06] <tractorcow> and trying to tidy up 3.2 now that the new ORM has been merged
406: [04:52:53] <Colin[pi]> ooh, new ORM.. that was your baby right?
407: [04:53:00] <tractorcow> yep
408: [04:53:09] <irogue_> baby baby baby OH
409: [04:53:11] <tractorcow> oh yeah, I was nominated for an award if you hadn’t heard :)
410: [04:53:14] * simon_w has joined #silverstripe
411: [04:53:40] <Colin[pi]> really? which one?
412: [04:53:50] <tractorcow> http://www.nzosa.org.nz/peoples-choice
413: [04:54:15] <Colin[pi]> lol @ photo
414: [04:54:50] <simon_w> Should all go vote for FYI
415: [04:55:18] <tractorcow> Hey Simon :)
416: [04:55:20] <Colin[pi]> tractorcow: that's awesome man, best of luck!
417: [04:55:29] <tractorcow> …. I didn’t realise there was a photo there
418: [04:55:39] <Colin[pi]> haha
419: [04:55:43] <tractorcow> is there a way to never have been born?
420: [04:56:08] <Colin[pi]> I've seen much worse photos lol
421: [04:56:39] <irogue_> there's no hamish behind you!
422: [04:57:39] <Colin[pi]> irogue_: who do you think is taking the photo?
423: [04:57:44] <Colin[pi]> ;)
424: [04:57:51] <irogue_> totally janine
425: [05:03:30] <simon_w> Time to make a seating plan. Yaaaaay
426: [05:04:02] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
427: [05:09:04] * Olliepop_ quit (Ping timeout: 246 seconds)
428: [05:12:57] * Shrike_Finland quit (Quit: Leaving.)
429: [05:17:16] * SightUnseen has joined #silverstripe
430: [05:17:21] * SightUnseen has left #silverstripe
431: [05:24:05] * Shrike_Finland has joined #silverstripe
432: [05:28:28] * simon_w quit (Quit: Ping timeout: your mum)
433: [05:31:40] <tractorcow> g'night
434: [05:31:45] * tractorcow quit (Quit: tractorcow)
435: [05:40:30] * veb has joined #silverstripe
436: [05:41:59] * simon_w has joined #silverstripe
437: [05:48:09] * guci0 has joined #silverstripe
438: [05:48:15] <guci0> Hello World!
439: [05:56:29] <spronk> Statements: 100% (84 / 84) Branches: 100% (32 / 32) Functions: 100% (33 / 33) Lines: 100% (84 / 84) Ignored: none
440: [05:56:30] <spronk> woohooooo
441: [06:09:19] * Liquide quit ()
442: [06:15:26] <spronk> ugh
443: [06:15:27] <spronk> fucking javascript
444: [06:15:44] <spronk> Y U NO var obj { SomeObject.SOME_CONSTANT_AS_A_KEY
445: [06:19:37] * r_hector has joined #silverstripe
446: [06:29:28] * wmk has joined #silverstripe
447: [06:34:23] * Shrike_Finland quit (Quit: Leaving.)
448: [06:42:36] * hamishgray quit (Quit: hamishgray)
449: [06:47:09] * Shrike_Finland has joined #silverstripe
450: [06:50:21] * Adesso has joined #silverstripe
451: [06:57:07] * markcl has joined #silverstripe
452: [06:57:13] * Robke has joined #silverstripe
453: [06:57:20] <markcl> Hi everyone!
454: [06:57:23] <Robke> hello friends :)
455: [06:57:29] <Adesso> Moin
456: [06:57:45] <markcl> Is there a way to make Silverstripe's CMS be in dev mode while the rest of the site is on live mode?
457: [06:58:07] <markcl> I am having a problem with the combined js files in the CMS making the CMS not load if it is set to live mode
458: [06:58:35] <Adesso> DOn't you have a test server ?
459: [06:58:53] <Adesso> or a Development Server
460: [06:59:08] <Adesso> then you can set the whole thing to dev .. and debug
461: [07:01:12] * Adesso does not know of any way to set up a partial dev/live SS server, as it runs from one config file... Anybody ?
462: [07:03:59] <markcl> We do have a test/dev server
463: [07:04:04] <markcl> But fixing it would take too long
464: [07:04:38] <markcl> As far as I know, we didn't add any external js files that are used in the cms
465: [07:05:02] <markcl> so it's odd that the CMS errors out and thinks something in leftandmain.js is undefined and so stops loading
466: [07:05:10] <wmk> moin moin
467: [07:05:19] <markcl> I think it's in the order Silverstripe combines the js files
468: [07:05:40] <wmk> markcl, try to append ?isDev=1 to your url
469: [07:06:01] <markcl> whoa! nice idea wmk. thanks
470: [07:06:13] <markcl> i wonder if there's a way to do this permanently though
471: [07:06:20] <markcl> as the CMS is used most by the client
472: [07:06:32] <markcl> who has workers who probably doesnt understand isDev=1
473: [07:07:15] <wmk> or check in your _config.php if you're inside /admin/ and do Director::set_environment_type('dev')
474: [07:07:45] * Adesso is taking notes...
475: [07:07:47] <wmk> or even better set it via config api
476: [07:07:53] <markcl> I'm getting these errors to be specific:
477: [07:07:53] <markcl> Uncaught TypeError: Cannot read property 'defaults' of undefined leftandmain.js?m=1409802393:3
478: [07:07:53] <markcl> Uncaught TypeError: undefined is not a function cmsmain.js?m=1409802394:6
479: [07:07:53] <markcl> Uncaught TypeError: Cannot read property 'regional' of undefined
480: [07:07:59] <wmk> cause Director::set_env... is deprecated in 3.2
481: [07:08:21] <Robke> willr: and wmk i added custom options in some fields in UserDefinedForm. is there any way to call this field by custom setting in template without all form fields? :) because now all you can to write is $Form ($UserDefinedForm) and it parses all form not the fields which would you like to see :)
482: [07:08:35] <wmk> markcl, setting cms to dev isn't that good, as it doesn't cache and slows down a lot
483: [07:08:54] <markcl> wmk: but the client cant use it in live mode
484: [07:08:57] <markcl> due to the javascript errors
485: [07:09:03] <wmk> markcl, fix them ;)
486: [07:09:16] * ARNHOE has joined #silverstripe
487: [07:09:17] <simon_w> markcl, sounds like the web server can't write to assets/
488: [07:09:17] <wmk> Robke, do you need the other fields in the form?
489: [07:09:34] <wmk> simon_w, sounds true...
490: [07:09:36] <Robke> yes :) all i want to do is to set on fields Float left and float right :)
491: [07:09:44] <Robke> it cant be done by css class :)
492: [07:09:54] <wmk> markcl, look if it loads the combined js files
493: [07:09:55] <Robke> need to be done via checkbox :)
494: [07:10:31] <wmk> the form fields?
495: [07:10:38] <Robke> yes :) :)
496: [07:10:54] <wmk> do you need the checkbox values later after submitting the form?
497: [07:11:34] <Robke> well what i need to do is this: by default all form fields goes one after another... but i need that if user check Right or Left the field which was selected to left will be displayed in left in the template :)
498: [07:11:55] <Robke> i think no :)
499: [07:12:06] <markcl> thanks simon_w
500: [07:12:10] <markcl> it just magically worked
501: [07:12:15] <Adesso> I have a Form that my Front-end-Developer created with tons of HTML, wrapping the form fields. I am attempting to create this in the controller, is LiteralFields the only way to achieve this ?
502: [07:12:37] <wmk> if the checkboxes are only for layouting the current form and are not needed afterwards: go and add a <div id="myFancyCheckboxStuff">&nbps;</div> somwhere and create the checkboxes via javacript
503: [07:13:00] <Robke> hm...
504: [07:13:14] <wmk> Adesso, depends. you can try to overwrite the form templates...
505: [07:13:32] * Adesso is wondering if it is not simpler to just leave it as stright HTML in the Template
506: [07:13:43] <wmk> depends
507: [07:14:13] <Adesso> or let me as k this ... what advantages do I have if I create it in the Controller ?
508: [07:14:14] <wmk> you'll miss the whole form magic, validation etc...
509: [07:14:31] <Adesso> Validation..
510: [07:14:38] <Adesso> that is a strong point
511: [07:14:43] * Bollig|DesignCty has joined #silverstripe
512: [07:14:58] <Adesso> my Form is posting to a external URL... so that would be the only part..
513: [07:15:19] <Adesso> plus if I use HTML5 ... I can have most of the validation without SS
514: [07:15:47] <wmk> if it posts to an external url... put it into a template and include the template where you need it
515: [07:16:33] <Adesso> ok... next time I'll do SS Forms then
516: [07:16:46] <Adesso> thx wmk
517: [07:17:40] <wmk> np.
518: [07:17:54] <wmk> btw Adesso: we bought Blunzn this weekend. Will give a good lunch today
519: [07:21:11] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
520: [07:24:18] * Stomach has joined #silverstripe
521: [07:34:48] * caamic30 has joined #silverstripe
522: [07:36:27] * Adesso is considering bringing some with to Linz (My Dad is a Butcher)
523: [07:37:48] <caamic30> have you guys used the foundationform addons? how come it does not have client side validation?
524: [07:39:21] * UncleCheese has joined #silverstripe
525: [07:39:48] * ocmnt has joined #silverstripe
526: [07:39:49] * Adesso is curious at trying Blunzngröstl
527: [07:40:04] <ocmnt> howdy
528: [07:42:24] <wmk> Adesso, really? cool...
529: [07:43:15] <wmk> caamic30, well, silverstripe doesn't have a standard client side validation tool you're supposed to use. though you have to implement it yourself anyway
530: [07:45:04] * stnvh has joined #silverstripe
531: [07:52:07] * simon_w quit (Quit: Ping timeout: your mum)
532: [07:53:45] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
533: [07:56:10] <wmk> anyone did a paginated list load other pages via ajax?
534: [07:59:23] <ocmnt> wmk, not really but shouldn't be that hard I think
535: [08:01:17] * kinglozzer has joined #silverstripe
536: [08:02:59] * willr_ has joined #silverstripe
537: [08:03:51] * markcl quit (Quit: Leaving.)
538: [08:07:54] * Shrike_Finland quit (Quit: Leaving.)
539: [08:09:54] * Shrike_Finland has joined #silverstripe
540: [08:11:03] * spronk2 has joined #silverstripe
541: [08:11:59] * Shrike_Finland1 has joined #silverstripe
542: [08:14:29] * Shrike_Finland quit (Ping timeout: 260 seconds)
543: [08:18:36] * simon_w has joined #silverstripe
544: [08:27:19] * Shrike_Finland1 quit (Quit: Leaving.)
545: [08:37:11] * cloph_away quit (Remote host closed the connection)
546: [08:37:12] * Shrike_Finland has joined #silverstripe
547: [08:51:06] * adrexia_ has joined #silverstripe
548: [08:51:37] * spronk2 quit (Quit: spronk2)
549: [08:52:29] * Otterpocket has joined #silverstripe
550: [08:53:47] * cloph_away has joined #silverstripe
551: [08:57:04] * Stomach quit (Quit: zzz)
552: [08:57:06] * spronk2 has joined #silverstripe
553: [08:59:54] * cloph_away quit (Ping timeout: 272 seconds)
554: [09:04:14] * Shrike_Finland quit (Quit: Leaving.)
555: [09:08:53] * cloph_away has joined #silverstripe
556: [09:14:24] * cloph_away quit (Ping timeout: 246 seconds)
557: [09:16:28] * r_hector quit (Quit: Leaving.)
558: [09:16:59] * cloph_away has joined #silverstripe
559: [09:20:49] * cloph_away quit (Remote host closed the connection)
560: [09:26:04] * willr_ quit (Quit: willr_)
561: [09:26:35] * simon_w quit (Quit: Ping timeout: your mum)
562: [09:27:43] * simon_w has joined #silverstripe
563: [09:30:51] * cloph_away has joined #silverstripe
564: [09:34:26] * simon_w quit (Quit: Ping timeout: your mum)
565: [09:35:07] <Adesso> Is there a way to call a Page with limited Framework, like a kind of Raw. (For use in server-side form posts)
566: [09:36:26] * Adesso remembers Jommla having this feature, farmat=raw for loading just the content, not Template of a Page (noCSS and noJS)
567: [09:36:30] <Adesso> Joomla
568: [09:36:53] <ocmnt> like some kind of json string?
569: [09:37:11] <Adesso> That could also work..
570: [09:37:32] <Adesso> I just want to create a Controller that can do a server-side Post .. with response to the front-end
571: [09:37:45] <Adesso> and increase the security..
572: [09:38:27] <ocmnt> just content or all fields?
573: [09:38:56] <Adesso> Let me explain a bit more..
574: [09:40:31] <Adesso> SomePage extends Page and has a Form, that POST to inself, with a special view that only returns a sucess..
575: [09:40:58] <Adesso> This allows you to create a Form on any kind of SomePage...
576: [09:41:13] <Adesso> that alwyas posts the data to itself....
577: [09:41:36] <Adesso> and in the Controller.... on this view..... it then POSTS the data to another server
578: [09:41:55] <Adesso> and on response ... just gives the sucess back
579: [09:42:11] <Adesso> Slap some JQuery on that ... and it even looks sexy
580: [09:42:19] * Bollig|DesignCty has joined #silverstripe
581: [09:42:48] <ocmnt> I still don't get what your question is concerning the 'call page in a raw manner'
582: [09:42:49] <wmk> Adesso, you can do return $this->renderWith(array('template1' ...)
583: [09:42:51] <ocmnt> but perhaps that is just me
584: [09:43:16] <Adesso> wmk.... that is a good start
585: [09:43:19] <wmk> Adesso, you try to send the form via ajax?
586: [09:43:33] * Adesso knows that the format=raw is confusing
587: [09:43:58] <wmk> use jpeg instead
588: [09:44:00] <Adesso> yes... but to increase security
589: [09:44:03] * wmk 's just kidding
590: [09:44:08] <Adesso> ;P
591: [09:44:36] <Adesso> I dont want the cleint to send the POST to the external server... I want the current server to send it for him
592: [09:44:47] <wmk> phew
593: [09:44:52] <Adesso> thus the post to yourself....
594: [09:45:03] <wmk> you send the post via ajax to the current sever?
595: [09:45:06] <Adesso> but without loading the whole damn Page again
596: [09:45:32] * cupcake_ has joined #silverstripe
597: [09:45:40] <cupcake_> morning guys
598: [09:45:49] <ocmnt> hi
599: [09:45:53] * Adesso thinks this
600: [09:46:04] <cupcake_> does anyone know how to redraw the admin edit form in ss 3
601: [09:46:09] <wmk> look at Director::isAjax() to determine if it's an ajax call, then do your stuff and return just the string or the result of a template with $this->renderWith()
602: [09:46:22] * simon_w has joined #silverstripe
603: [09:46:27] <Adesso> in Your Controller just catch a the POST and then do the stuff... respond end exit()
604: [09:46:30] <wmk> or $this->customize(array('someVar' => 'someVal')->renderWith()
605: [09:46:32] * simon_w quit (Read error: Connection reset by peer)
606: [09:46:58] * simon_w has joined #silverstripe
607: [09:47:11] <Adesso> Thnkas wmk... I think that is gonna do the trick
608: [09:47:25] <wmk> jup
609: [09:47:48] <Adesso> 7me appologized for messing with ocmnt head...
610: [09:47:53] * Adesso appologized for messing with ocmnt head...
611: [09:47:56] <ocmnt> Adesso, it's okay
612: [09:47:59] <ocmnt> my head is messed up already
613: [09:48:03] <ocmnt> you just shaking around chaos
614: [09:48:04] <Adesso> ;)
615: [09:48:35] <ocmnt> oh Zauberfisch & wmk, I can't make it this weekend to Linz sadly :(
616: [09:48:52] <ocmnt> forgot about some things to do on saturday
617: [09:49:12] <cupcake_> does anyone know how to redraw the admin edit form in ss 3 ?
618: [09:49:32] <wmk> ocmnt, :(
619: [09:49:58] <wmk> cupcake_, redraw in meaning of "reload page" ??
620: [09:50:08] <ocmnt> I am sorry wmk, next time I will be there!
621: [09:50:12] <cupcake_> let me explain my situation
622: [09:50:14] <wmk> i hope so.
623: [09:50:19] <wmk> have to run, ttyl
624: [09:50:24] <kinglozzer> Yay ocmnt, I'm not the only person not attending :D
625: [09:50:36] <wmk> kinglozzer, you, too, my son?
626: [09:50:47] <ocmnt> kinglozzer, should we plan a stay-at-home-party instead? :D
627: [09:51:08] <wmk> you should plan a hackaton conference via skype ;)
628: [09:51:08] <Adesso> ha ha
629: [09:51:28] <kinglozzer> wmk: Yeah :/ when there's one in London I'll attend ;)
630: [09:51:58] <cupcake_> i have an ajax returning the ItemEditForm of an item in a GridField component, and on returning i am removing the current form and adding the new one on the screen.. but the screen needs to be realigned since the ItemEditForm by default has an element style which is set at run time so i guess there must be a function which i can call to realign everything?
631: [09:54:27] <cupcake_> like a redraw or somethign?
632: [09:55:45] <kinglozzer> cupcake_: I'm confuse. Is this in the CMS or the front-end?
633: [09:56:16] * wmk quit (Ping timeout: 272 seconds)
634: [09:56:46] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
635: [10:01:55] <cupcake_> CMS
636: [10:01:57] <cupcake_> backend
637: [10:06:27] <kinglozzer> cupcake_: So you have your own JavaScript set up to remove the form and replace it? Or are you relying on the core JS?
638: [10:10:15] * mrj212 has joined #silverstripe
639: [10:10:34] <mrj212> hello
640: [10:11:36] <mrj212> I'm using silverstripe 2.4 for an old project and was trying to use Requirements::javascript to include only a single javascript file in the site <head>. Is it possible?
641: [10:12:00] * cloph_away is now known as cloph
642: [10:12:17] <mrj212> I managed to load them all in the head using Requirements::set_write_js_to_body(false); but I just need one of them to be in the head while the other ones are fine at the bottom
643: [10:12:28] * mento has joined #silverstripe
644: [10:13:16] <cupcake_> kinglozzer: yes i have my own javascript
645: [10:13:16] * simon_w quit (Read error: Connection reset by peer)
646: [10:13:17] * ThePeach has joined #silverstripe
647: [10:13:40] * simon_w has joined #silverstripe
648: [10:13:41] <cupcake_> kinglozzer: i just need to refresh or redraw the screen somehow
649: [10:15:18] <mento> how can i get CMS input from the main page to my translated page in 2.4.x? e.g. main page (EN) has some address lines and i want to load the address info on the german and french translation template
650: [10:16:37] <mento> so i have a contact page (EN) and i create 2 translations, (DE/FR) where i want to display some CMS input from the EN version on the frontend of the site
651: [10:19:51] <mrj212> (about the javascript in the head) I managed to do it using insertHeadTags
652: [10:23:40] * merrick_sd has joined #silverstripe
653: [10:25:42] * stephendeere has joined #silverstripe
654: [10:26:25] <stephendeere> how can i limit the admin area to a single or range of ipaddress
655: [10:26:52] * merrick_sd quit (Client Quit)
656: [10:27:25] * stephendeere is now known as merrick_sd
657: [10:27:39] * mrj212 has left #silverstripe
658: [10:36:55] <ocmnt> stephendeere, you mean access to site.com/admin ?
659: [10:37:09] <ocmnt> merrick_sd, that is now :P
660: [10:40:31] * mento quit (Quit: Page closed)
661: [10:42:02] * Shrike_Finland has joined #silverstripe
662: [10:46:40] * Shrike_Finland quit (Client Quit)
663: [10:54:45] * caamic30 quit (Quit: caamic30)
664: [10:55:25] * wmk has joined #silverstripe
665: [10:59:41] <wmk> anyone here got transifex running for his module?
666: [11:00:51] * simon_w quit (Read error: Connection reset by peer)
667: [11:01:17] * simon_w has joined #silverstripe
668: [11:14:46] * adrexia_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
669: [11:16:07] * simon_w quit (Read error: Connection reset by peer)
670: [11:16:12] * simon__w has joined #silverstripe
671: [11:20:44] * simon__w quit (Ping timeout: 258 seconds)
672: [11:38:34] * StefanLehmann quit (Read error: Connection reset by peer)
673: [11:38:34] * StefanLehmann has joined #silverstripe
674: [11:40:15] <cupcake_> so any help please?
675: [11:42:15] <wmk> ?
676: [11:42:39] <ocmnt> cupcake_, not really clear what you are trying to achieve, but have a look at entwine
677: [11:43:09] <ocmnt> http://doc.silverstripe.org/framework/en/3.1/topics/javascript
678: [11:44:23] * Colin[pi] quit ()
679: [11:49:24] <cupcake_> ocmnt: thanks i will have a look... all i need to do is realign the form in the admin
680: [11:54:24] * wmk quit (Ping timeout: 250 seconds)
681: [12:01:41] * ss31noob has joined #silverstripe
682: [12:06:58] * Robke quit (Ping timeout: 246 seconds)
683: [12:18:00] * UndefinedOffset has joined #silverstripe
684: [12:21:04] * g4b0_ has joined #silverstripe
685: [12:21:19] <g4b0_> hi all
686: [12:24:16] <g4b0_> is there a trivial way to have a list of all classes extended by a DataExtension, or I have to check class by class through hasExtension?
687: [12:35:47] * Error404NotFound has joined #silverstripe
688: [12:40:47] <stnvh> g4b0_: you can call ClassInfo::subclassesFor('DataExtension')
689: [12:49:29] <g4b0_> stnvh: nope, I would like to have a list of classes decorated by a specific DataExtension
690: [12:49:41] <g4b0_> maybe I've to use Config() ?
691: [12:49:57] * Adesso quit (Read error: Connection reset by peer)
692: [12:50:15] * Adesso has joined #silverstripe
693: [12:50:41] <g4b0_> gabriele.brosuloyufuf6CR
694: [12:50:55] <g4b0_> oops
695: [12:51:25] <g4b0_> sorry for my last password published to the word :D
696: [13:14:30] * spronk2 quit (Quit: spronk2)
697: [13:18:07] * caamic30 has joined #silverstripe
698: [13:50:02] * ARNHOE_ has joined #silverstripe
699: [13:51:33] <UndefinedOffset> anyone noticing cacheblocks are abnormally sticky after an upgrade to 3.1.6?
700: [13:52:12] <kinglozzer> UndefinedOffset: Haven't noticed, though I don't have many sites with partial caching in active development atm
701: [13:52:17] <kinglozzer> How do you mean sticky?
702: [13:52:26] <kinglozzer> +abnormally
703: [13:53:37] * ARNHOE quit (Ping timeout: 245 seconds)
704: [13:54:45] <UndefinedOffset> seems like its not noticing that some of the cache values change, for example I'm caching like so http://www.sspaste.com/paste/show/54295f9347111 but page 2 doesn't seem to actually change the content of the cache
705: [13:55:17] <UndefinedOffset> its showing the same content till you delete the temp file for the cache block (flush=1 or flush=all won't clear it anymore) then its correct
706: [13:55:36] * jrthomer quit (Ping timeout: 258 seconds)
707: [13:56:17] <kinglozzer> UndefinedOffset: Yeah I just checked and it's not clearing the cache on a flush. That's kinda my fault I think
708: [13:56:33] <UndefinedOffset> ah :)
709: [13:56:34] <kinglozzer> The fact that it /ever/ cleared on flush is the result of a bug :|
710: [13:56:39] <kinglozzer> https://github.com/silverstripe/silverstripe-framework/commit/d012b79
711: [13:57:06] <kinglozzer> I assumed there was some other code responsible for flushing template cache blocks
712: [13:57:24] <kinglozzer> Should probably be some unit test coverage too...
713: [13:58:13] <UndefinedOffset> I would have thought so as well seems like an odd spot for the core to be leaning on to clear the partial caches
714: [13:58:39] <kinglozzer> Yeah it was unintentional, there's still a ticket to add clearing caches on flush: https://github.com/silverstripe/silverstripe-framework/issues/1383
715: [14:00:14] <UndefinedOffset> old one lol
716: [14:00:23] * muskie9 has joined #silverstripe
717: [14:07:31] * veb quit (Quit: thanks)
718: [14:10:35] * Adesso knows the Questions keeps getting more and more complex... so here is another :)
719: [14:11:01] * jrthomer has joined #silverstripe
720: [14:12:20] <Adesso> When posting to a Controller function/method one gets the post data with SS_HTTPRequest and $request, how do I now loop through my POST varts to build a object for serverside Posting
721: [14:12:23] <Adesso> ?
722: [14:12:50] <Adesso> I see the vars arriving in a Nice bloated Object ... under postVars:protected
723: [14:13:05] <kinglozzer> Adesso: $request->postVars()
724: [14:13:18] <Adesso> now that was easy
725: [14:13:29] * Adesso shakes the room... Wake up Adesso, why are you sleeping ?
726: [14:13:33] <kinglozzer> API docs are your friend ;) http://api.silverstripe.org/3.1/class-SS_HTTPRequest.html
727: [14:17:04] * Adesso warns for the sneaky little sssss in postVar-s
728: [14:17:12] <Adesso> ;P
729: [14:18:47] * UndefinedOffset quit (Read error: Connection reset by peer)
730: [14:21:12] <ss31noob> hi guys.. i wanted to run a customized class (CustomModelAsController) that inherits the ModelAsController and copy the same routes.yml of the cms to the module which contain the CustomModelAsController.. but im having this kind of error
731: [14:21:24] <ss31noob> Fatal error: Based on their before & after rules two fragments both need to be before/after each other in /mnt/hgfs/www/work_ss3.1/framework/core/manifest/ConfigManifest.php on line 373
732: [14:21:30] <ss31noob> any idea why?
733: [14:21:33] * UndefinedOffset has joined #silverstripe
734: [14:22:44] <ss31noob> actually, i updated my routes.yml to this.. http://www.sspaste.com/paste/show/5429662f39334
735: [14:23:02] <ss31noob> and thats when im getting that error
736: [14:24:27] * Jay__ has joined #silverstripe
737: [14:25:09] <Jay__> Returning a Data object into a list. $list = Object::get();
738: [14:25:28] <Jay__> I want to use a distinct call? so I only get one of each type in the database? Is this possible using Silverstripe ORM?
739: [14:27:34] <kinglozzer> Jay__: All queries are SELECT DISTINCT (?showqueries=1)
740: [14:27:39] <kinglozzer> Do you want to group results?
741: [14:28:11] <Jay__> I have a table of data. some are duplicates. But when I get them all I only want to show one of each.
742: [14:28:25] <Jay__> so the template ignores duplicate rows and shows 1 of each
743: [14:28:40] <kinglozzer> ss31noob: Try removing your before and after fragments, just have a block with the same name "modelascontrollerroutes". I think it should then merge it and use your rules.
744: [14:29:56] * toddvalentine has joined #silverstripe
745: [14:30:50] <kinglozzer> Jay__: I'd pick a field to group by and use GroupedList: http://doc.silverstripe.org/framework/en/howto/grouping-dataobjectsets. It might be possible at an SQL level, but GroupedList will be easier
746: [14:32:25] <Jay__> Ideally I want to do it at controller level, and just ignore duplicates.
747: [14:34:47] <kinglozzer> Jay__: Have you tried $list = MyObject::get()->distinct(true); ?
748: [14:34:57] <kinglozzer> http://api.silverstripe.org/3.1/class-DataList.html#_distinct
749: [14:36:29] <Jay__> Object->__call(): the method 'distinct' does not exist on 'DataList'
750: [14:37:22] * auto9 has joined #silverstripe
751: [14:37:23] <ss31noob> kinglozzer, i tried your suggestion but after that.. i cant access dev/build or admin.. :|
752: [14:38:15] <kinglozzer> Jay__: Which version of SilverStripe are you using?
753: [14:39:48] <Jay__> kingzoezzer: Latest version
754: [14:40:09] <kinglozzer> ss31noob: Well that's... weird. I've done something similar before with merging my own config with SilverStripe's default: https://gist.github.com/kinglozzer/5122492b3d1483946015
755: [14:40:24] <Jay__> 3.1.6 version
756: [14:40:38] <kinglozzer> ss31noob: Check the name is identical to CMS's route. If it works, you could always just add the dev/build and admin routes again yourself ;)
757: [14:41:05] <kinglozzer> Jay__: You're right, that function doesn't exist. Yet it's still in the docs :S
758: [14:41:24] <Jay__> Ahh, Is there a new equivalent? That seems to be what I want.
759: [14:42:09] <kinglozzer> Oh, damnit. The function has been added but not included in a released version yet.
760: [14:42:35] <kinglozzer> Erm... not sure. Let me check
761: [14:42:45] <Jay__> kinglozzer: thanks
762: [14:43:14] <ss31noob> kinglozzer, what do you mean by this "If it works, you could always just add the dev/build and admin routes again yourself ;)"
763: [14:43:34] <ss31noob> add the route for dev/build and admin?
764: [14:45:18] * Adesso quit (Quit: EOD)
765: [14:45:46] <kinglozzer> Jay__: Now I'm confused.. ->setDistinct is always "true" by default when using DataList (Object::get())
766: [14:45:50] <kinglozzer> So it should already be distinct
767: [14:45:52] <kinglozzer> ss31noob: Yeah
768: [14:46:59] <Jay__> Strange, i've got multiple rows in my table. which are all the same ProductID and MemberID, creation dates are the same. But I need to only return one row where the productID and memberID are the same.
769: [14:48:01] <kinglozzer> Jay__: The IDs will be different, so DISTINCT won't work IIRC
770: [14:48:11] <kinglozzer> You'll need to group the results by ProductID or MemberID
771: [14:48:20] <Jay__> Yeah, The IDs are different and the creation times too
772: [14:50:28] * joelpittet has joined #silverstripe
773: [14:52:30] * simon_w has joined #silverstripe
774: [14:55:34] * ARNHOE_ quit (Remote host closed the connection)
775: [14:56:09] * ARNHOE has joined #silverstripe
776: [14:56:53] * simon_w quit (Ping timeout: 240 seconds)
777: [14:59:49] * Liquide has joined #silverstripe
778: [15:05:07] * Jay__ quit (Ping timeout: 246 seconds)
779: [15:17:22] * ss31noob quit (Ping timeout: 246 seconds)
780: [15:19:47] * spronk quit (Ping timeout: 245 seconds)
781: [15:21:03] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
782: [15:23:47] * muskie9 has joined #silverstripe
783: [15:27:51] * ARNHOE quit ()
784: [15:29:37] * guci0 quit (Ping timeout: 246 seconds)
785: [15:35:12] * g4b0_ quit (Quit: Sto andando via)
786: [15:35:35] <kinglozzer> UndefinedOffset: That flush bug has been fixed by https://github.com/silverstripe/silverstripe-framework/pull/3393
787: [15:36:35] * Shrike_Finland has joined #silverstripe
788: [15:37:52] <kinglozzer> Also worth noting (for everyone) that ?flush alone will no longer flush as you expect - you need to include the '=1': ?flush=1
789: [15:38:50] <UndefinedOffset> ah cool so this is going to be part of 3.1.7? or is it 3.2?
790: [15:39:23] <kinglozzer> 3.1.7 (and 3.2 as well, of course)
791: [15:39:28] <UndefinedOffset> nice ;)
792: [15:40:13] * Error404NotFound quit (Disconnected by services)
793: [15:40:13] * Err404NotFound has joined #silverstripe
794: [15:40:53] * caamic30 quit (Quit: caamic30)
795: [15:41:49] * auto9 quit (Ping timeout: 272 seconds)
796: [15:42:12] * caamic30 has joined #silverstripe
797: [15:42:30] * caamic30 quit (Client Quit)
798: [15:54:19] * auto9 has joined #silverstripe
799: [16:10:19] * kinglozzer quit ()
800: [16:13:43] * auto9 quit (Ping timeout: 272 seconds)
801: [16:13:48] * auto9_ has joined #silverstripe
802: [16:21:45] * auto9_ quit (Ping timeout: 246 seconds)
803: [16:24:39] * stnvh quit ()
804: [16:25:29] * auto9 has joined #silverstripe
805: [16:30:18] * ocmnt has joined #silverstripe
806: [16:31:51] * auto9 quit (Ping timeout: 272 seconds)
807: [16:32:38] * Otterpocket quit (Quit: WeeChat 0.4.1)
808: [16:36:59] * auto9 has joined #silverstripe
809: [16:42:44] * wmk has joined #silverstripe
810: [16:44:04] <ocmnt> what is the 3.* equivalent of DataObjectSet?
811: [16:44:31] <wmk> DataList
812: [16:45:34] * cupcake_ quit (Ping timeout: 246 seconds)
813: [16:46:05] <ocmnt> how to use it without a class?
814: [16:46:16] <ocmnt> in 2.4 you could do $dos = DataObjectSet(); and push things to it
815: [16:46:27] <ocmnt> DataList asks for a dataClass
816: [16:46:34] * auto9_ has joined #silverstripe
817: [16:46:37] <wmk> ah.
818: [16:46:40] <wmk> then ArrayList
819: [16:46:49] <wmk> and push DOs to it
820: [16:47:08] <ocmnt> ah, that does the trick indeed
821: [16:47:09] <ocmnt> thnx :D
822: [16:47:20] <ocmnt> I was trying between ArrayData and DataList
823: [16:47:23] <ocmnt> forgot about the ArrayList :d
824: [16:47:26] * joelpittet quit (Remote host closed the connection)
825: [16:49:09] * auto9 quit (Ping timeout: 260 seconds)
826: [16:49:19] <wmk> ;)
827: [16:49:40] * wmk has the pleasure to make a site go live
828: [16:49:51] <ocmnt> party time!
829: [16:50:03] <wmk> first copy the stuff
830: [16:50:25] * auto9 has joined #silverstripe
831: [16:51:02] * auto9_ quit (Ping timeout: 245 seconds)
832: [16:56:27] <toddvalentine> I have an action on a Controller that returns a template via ajax. I am using return $this->customise(array_data)->renderWith(template). I need to set a Access-Control-Allow-Origin header on the response. Is this possible using the customise and renderWith methods?
833: [16:57:14] <Zauberfisch> no
834: [16:57:33] <Zauberfisch> unless you can set Access-Control-Allow-Origin as a html <meta> tag, then yes
835: [16:57:48] <Zauberfisch> but I have only ever used Access-Control-Allow-Origin as http header, which means no
836: [16:58:52] <toddvalentine> @Zauberfisch. Thanks
837: [17:04:55] <Zauberfisch> toddvalentine: http://paste2.org/HeGc2JgP
838: [17:05:29] <toddvalentine> Thanks Zauberfisch!
839: [17:05:32] <Zauberfisch> this is what a typical action looks like that also handles ajax calls. and I added the access control header to the response
840: [17:06:17] <wmk> hey Zauberfisch
841: [17:07:31] <Zauberfisch> hey
842: [17:08:47] * Shrike_Finland quit (Quit: Leaving.)
843: [17:10:55] <wmk> give your customer a working cms and some good templates and they'll create a stunning website
844: [17:12:04] * auto9_ has joined #silverstripe
845: [17:12:51] * StefanLehmann quit (Ping timeout: 246 seconds)
846: [17:13:15] * auto9 quit (Ping timeout: 272 seconds)
847: [17:15:47] * ThePeach quit (Quit: leaving)
848: [17:17:21] * spronk has joined #silverstripe
849: [17:21:36] * auto9_ quit (Read error: Connection reset by peer)
850: [17:22:21] * jrthomer_ has joined #silverstripe
851: [17:22:36] * jrthomer quit (Ping timeout: 258 seconds)
852: [17:22:43] <ocmnt> can anyone help out on this?
853: [17:22:44] * auto9_ has joined #silverstripe
854: [17:22:44] <ocmnt> http://sspaste.com/paste/show/542990634f89f
855: [17:22:52] <ocmnt> 'icoonImgWidgetID' => 'Int',
856: [17:23:15] <ocmnt> the content of an assets dir gets mapped to dropped down
857: [17:23:19] <ocmnt> dropdown*
858: [17:23:24] <ocmnt> but doesnt store the ID
859: [17:25:17] <wmk> hmm...
860: [17:25:40] <wmk> filter(array('ParentID' => $iconDir->ID) ???
861: [17:25:57] <wmk> afaik it works better with an array. had probs with two values in past
862: [17:26:36] * muskie9 is now known as _muskie9_
863: [17:26:50] <ocmnt> so, passing the DoList wont help me here?
864: [17:27:40] <wmk> of course it does.
865: [17:27:48] <wmk> but i'd change the filter statement to use an array
866: [17:27:55] <ocmnt> how? :o
867: [17:28:03] <ocmnt> oh
868: [17:28:06] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
869: [17:28:10] <wmk> line 6
870: [17:28:21] <wmk> (and no, i don't mean that guitar amps!)
871: [17:28:22] <ocmnt> like filter( array(¨foo¨=> ¨bar¨) )
872: [17:28:28] <ocmnt> haha
873: [17:28:29] <wmk> yup
874: [17:28:45] <ocmnt> but, that doesnt change the output now, does it?
875: [17:28:57] <wmk> dunno.
876: [17:29:24] <ocmnt> letś see what debug says about that
877: [17:29:51] <ocmnt> the same datalist gets returned
878: [17:29:56] <ocmnt> the mapping in the dropdown seems allright aswell
879: [17:29:57] <wmk> i had e.g. ProduktTyp::get()->map('ID', 'Title')
880: [17:30:43] * Shrike_Finland has joined #silverstripe
881: [17:31:19] * muskie9 has joined #silverstripe
882: [17:32:29] * ocmnt smashed his own head with a trout
883: [17:32:42] <ocmnt> DropdownField::create('icoonImgWidget' ..
884: [17:32:57] <ocmnt> forgot the ID part in there
885: [17:33:20] <wmk> hehe, be careful in autumn.
886: [17:33:31] <wmk> not that you do some smashing pumpkins
887: [17:33:51] * spronk quit (Ping timeout: 246 seconds)
888: [17:34:14] <ocmnt> nah I won´t do that, don´t really like it when billy gets all corgan
889: [17:38:12] <wmk> get's all corgan?
890: [17:39:41] <ocmnt> billy corgan is his name
891: [17:39:50] <ocmnt> bad joke, it´s my specialty
892: [17:44:36] <wmk> i know his name, was just wondering if there is a pun i didn't get
893: [17:59:19] * auto9_ quit (Read error: Connection reset by peer)
894: [18:00:26] * auto9 has joined #silverstripe
895: [18:00:52] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
896: [18:06:45] * SightUnseen has joined #silverstripe
897: [18:07:24] * fdrechsler has joined #silverstripe
898: [18:07:31] * fdrechsler quit (Remote host closed the connection)
899: [18:08:39] * muskie9 has joined #silverstripe
900: [18:10:37] * SightUnseen has left #silverstripe
901: [18:16:06] * Err404NotFound quit (Quit: User guilty of hitting the Big Red X...)
902: [18:39:15] * PapaBearNZ has joined #silverstripe
903: [18:39:41] * antmas quit (Quit: Page closed)
904: [18:54:41] * terryapodaca has joined #silverstripe
905: [18:55:20] * Stomach has joined #silverstripe
906: [19:04:24] * Kingy[a] is now known as Kingy
907: [19:10:03] * merrick_sd quit (Quit: merrick_sd)
908: [19:24:56] <wmk> ain't there a standard robots.txt for silverstripe?
909: [19:26:34] <Stomach> wmk - nope
910: [19:26:46] <Stomach> well, not that I know of
911: [19:31:18] * spronk has joined #silverstripe
912: [19:32:15] * Ryan-Toast has joined #silverstripe
913: [19:32:58] * Olliepop has joined #silverstripe
914: [19:36:45] <wmk> found a simple one in the forums.
915: [19:41:30] * Shrike_Finland quit (Quit: Leaving.)
916: [19:44:41] * Shrike_Finland has joined #silverstripe
917: [19:47:45] * hamishgray has joined #silverstripe
918: [19:57:25] * bubaphex has joined #silverstripe
919: [19:59:58] <PapaBearNZ> Morning all.
920: [20:01:27] <ss23> moin
921: [20:02:29] * Ryan-Toast quit (Quit: Ryan-Toast)
922: [20:04:54] <Kingy> howdy
923: [20:05:00] * ss23 grumbles
924: [20:05:12] <Kingy> early morning?
925: [20:05:26] <ss23> I could've been in at work at like 7am today, which would've been sweet, cause I went to bed early (like 6pm last night early)
926: [20:05:38] <ss23> But I was like "Oh I'll just relax at home this morning and come in at like 9am"
927: [20:05:50] <ss23> then, my flatmate is like "LOL PLUMBER IS COMING IN 5 MINS"
928: [20:05:54] <Kingy> haha
929: [20:05:56] <ss23> so now I can't have a shower or do anything till he's done
930: [20:05:57] <ss23> rage
931: [20:06:10] <Kingy> i'm of the opinion start early finish early
932: [20:06:12] <Stomach> awwww poor ss23
933: [20:06:15] <Kingy> hate working late
934: [20:06:21] <ss23> He was like "Oh you were asleep last night so I couldn't tell you" "You came in and we had a conversation last night" "um yeah I forgot to tell you last night I mean"
935: [20:07:34] <Kingy> ss23: gutted
936: [20:08:17] <Kingy> My phone keeps lighting up randomly
937: [20:08:21] * Kingy is being watched
938: [20:10:43] * UndefinedOffset quit (Quit: Leaving.)
939: [20:15:25] * irogue_ has joined #silverstripe
940: [20:16:26] * micmania1 has joined #silverstripe
941: [20:19:01] * UncleCheese has joined #silverstripe
942: [20:27:10] * StefanLehmann has joined #silverstripe
943: [20:30:31] <irogue_> mornin' folks
944: [20:32:29] <Kingy> howdy irogue_
945: [20:33:01] <Stomach> how do
946: [20:35:04] <adrexia> morning
947: [20:35:12] <hamishgray> gidday
948: [20:35:28] <Kingy> anyone else?
949: [20:35:40] <adrexia> are we doing a sound off?
950: [20:35:46] <Kingy> ^
951: [20:36:01] <ss23> moin
952: [20:36:20] <adrexia> whoa. in before 10
953: [20:36:26] <adrexia> how are you feeling?
954: [20:36:28] <ss23> I'm not in
955: [20:36:32] <ss23> 09:05:00 * ss23 grumbles
956: [20:36:33] <ss23> 09:05:12 < Kingy> early morning?
957: [20:36:33] <ss23> 09:05:26 < ss23> I could've been in at work at like 7am today, which would've been sweet, cause I went to bed early (like 6pm last night early)
958: [20:36:35] <adrexia> in/alive
959: [20:36:36] <ss23> 09:05:37 < ss23> But I was like "Oh I'll just relax at home this morning and come in at like 9am"
960: [20:36:39] <ss23> 09:05:50 < ss23> then, my flatmate is like "LOL PLUMBER IS COMING IN 5 MINS"
961: [20:36:58] <adrexia> ahh
962: [20:37:12] <Kingy> yeah adrexia I was thinking the same thing
963: [20:37:30] <ss23> If I had've known the plumber was coming I would've been in at like 7am :(
964: [20:37:53] <adrexia> aww
965: [20:38:02] <adrexia> on the brightside, you get to relax before work
966: [20:38:30] <Kingy> or just not shower
967: [20:43:56] <ss23> "relax"
968: [20:44:10] <ss23> It's not relaxing if I'm like "Man I am so late and have shit to do"
969: [20:44:11] <ss23> :(
970: [20:45:49] * Ryan-Toast has joined #silverstripe
971: [20:46:19] <irogue_> 09:05:26 < ss23> I could've been in at work at like 7am today
972: [20:46:21] <irogue_> WAT
973: [20:46:23] <irogue_> does not compute
974: [20:47:02] <adrexia> don't worry about things you can't change
975: [20:47:04] <adrexia> :P
976: [20:48:28] <ss23> I was thinking about getting up and having a shower, chillin on the internet for an hour, then getting mcdonalds for breakfast
977: [20:48:32] <ss23> :(
978: [20:48:34] <ss23> It was g oing to be PERFECT
979: [20:49:00] <adrexia> go to bed early tonight, and do that tomorrow
980: [20:49:05] <ss23> sif
981: [20:49:10] <adrexia> hahah
982: [20:49:12] <ss23> I can't sleep when not tired
983: [20:49:26] <adrexia> yeah, sorry, I thought you had gained the 'get up early' super power
984: [20:49:42] <adrexia> I sometimes wish I had that power
985: [20:49:47] * wmk quit (Ping timeout: 245 seconds)
986: [20:49:48] <irogue_> me too
987: [20:49:48] <ss23> More like I just had the "Went to bed at 5:30am the night before" debuff
988: [20:50:21] <adrexia> but then I rmemebered it means going nto bed before middnight, and that's not something i can commit to
989: [20:51:10] <adrexia> 5:30am isn't the night before
990: [20:51:12] <Ryan-Toast> adrexia: My boss gets up at like 5:30am every morning, and works out. I think he’s a wizard.
991: [20:51:15] <Stomach> I go to bed at like 10pm, lie around for a few hours, then get up tired as fuck
992: [20:51:27] <adrexia> people like that creep me out
993: [20:51:37] * adrexia is jealous
994: [20:51:52] <Ryan-Toast> Stomach: I go to bed at 11, and read for an hour, then read on my side which makes me sleepy.
995: [20:52:09] <adrexia> Stomach that's pretty much the same as me. except now its like 11
996: [20:52:13] <adrexia> or 11:30
997: [20:52:31] <adrexia> since I can't physically fall asleep before 12 anyway
998: [20:53:24] <Ryan-Toast> adrexia: what time did you go to sleep last night?
999: [20:53:51] <Stomach> Ryan-Toast - yeah but then I leave the light on and wake up at like 3am and then am fucked as shit
1000: [20:53:57] <adrexia> just past 1
1001: [20:54:04] <adrexia> maybe 1.30am
1002: [20:54:11] <Ryan-Toast> adrexia: You win this round.
1003: [20:54:11] <adrexia> daylight savings...
1004: [20:54:21] <Ryan-Toast> Was going to play the daylight saving one hour ahead card.
1005: [20:54:25] <adrexia> its not winning
1006: [20:54:41] <Ryan-Toast> Stomach: Turn it off before you drift off :P
1007: [20:55:05] <adrexia> yeah, unfortunately I'm not immune to that. Though, I sort of also am, of the grounds of always being tired anyway
1008: [20:55:05] <Stomach> but then I have to get up and turn the light off, then i am awake again
1009: [20:56:33] <Ryan-Toast> adrexia: My gf has an issue with sleep, so we had to learn all this bs about training yourself. Like not eating anything substantial after 8. Don’t do anything in the room you sleep in except sleep/sexy stuff. Make sure you have had plenty of water throughout the day, light reading before bed etc.
1010: [20:56:50] <Ryan-Toast> Stomach: Lamp beside your bed man, you don’t have one?
1011: [20:57:15] <adrexia> I also sort of want to live my life, and that sounds really boring
1012: [20:57:18] <adrexia> ;)
1013: [20:57:20] <Stomach> hahaha
1014: [20:57:39] <Stomach> yeah we moved flats last weekend and now have a lounge, so should get out of the room more which will be excellent
1015: [20:58:14] <adrexia> I like having a lounge I use
1016: [20:58:30] <adrexia> it's nice to have different rooms
1017: [20:58:58] <Ryan-Toast> adrexia: Apparently I taught myself a form of meditation that lets me just sleep right away, you could try that.
1018: [20:59:17] <adrexia> hmm
1019: [20:59:30] <Ryan-Toast> Tried to teach the mrs, but she just gets mad with it.
1020: [20:59:45] <adrexia> I partly solved it by getting jobs that didn't require me to be in at 8am
1021: [20:59:50] <adrexia> ;)
1022: [21:00:03] <Ryan-Toast> adrexia: My old job had glide time…sigh, I miss that
1023: [21:00:17] <adrexia> between 9 and 10 is respectable, and I can do that
1024: [21:00:32] <Ryan-Toast> Old job you could literally go in at 4pm if you wanted.
1025: [21:00:34] <adrexia> I keep thinking I'd like a job that started at midday... but
1026: [21:00:40] <adrexia> then I'd nerver see the sun
1027: [21:00:51] <Ryan-Toast> Sun’s overrated
1028: [21:00:52] <adrexia> wow. that's cool
1029: [21:00:56] <adrexia> hmm
1030: [21:00:59] <adrexia> I don't know
1031: [21:01:06] <Ryan-Toast> “Oh it’s such a nice day” So? Who gives a fuck
1032: [21:01:36] <adrexia> it waas nice to sit in the sun for a bit after work yesterday
1033: [21:01:55] <adrexia> sun is so rare in wellington
1034: [21:01:58] <Ryan-Toast> Not warm enough to care yet.
1035: [21:02:21] <adrexia> by the time it is, it'll be too hot
1036: [21:02:21] <Ryan-Toast> When it is it’s bike ride to Piha time
1037: [21:02:27] <irogue_> I think I just got a slight sunburn doing stand-up on the balcony :P
1038: [21:02:40] <adrexia> :P
1039: [21:03:02] * Erwin-C64 has joined #silverstripe
1040: [21:04:50] <Stomach> yeah getting to work at 8am sucks
1041: [21:05:37] <Kingy> bunch of amatuers
1042: [21:05:51] * Kingy is out the door at 5:35am
1043: [21:06:34] <Erwin-C64> Hello, I just installed Silverstripe. I want to include a simple contact form on my website, what is the easiest way to do that?
1044: [21:09:35] <Kingy> Erwin-C64: There are probably a hundred addons
1045: [21:09:45] <Kingy> https://www.google.co.nz/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=silverstripe%20contact%20form
1046: [21:11:50] <irogue_> wellington folk: who's gonna be around for labour weekend? am coming down on the friday, deciding whether to stay all weekend
1047: [21:11:58] <Ryan-Toast> Kingy: whyyy?
1048: [21:12:05] <ss23> irogue_: When is that?
1049: [21:12:06] <Kingy> train
1050: [21:12:21] <Ryan-Toast> Kingy: fuck that.
1051: [21:12:34] <Kingy> ss23: like the 20 something of this month
1052: [21:12:34] <irogue_> ss23: the friday is the 24th (office party)
1053: [21:12:47] <Kingy> Ryan-Toast: yes
1054: [21:12:57] <Ryan-Toast> Kingy: How long does the train take?
1055: [21:12:58] <ss23> Is the monday off then?
1056: [21:13:06] <irogue_> ss23: yup
1057: [21:13:13] <Kingy> Ryan-Toast: I arrive in Wellington at about 7:35
1058: [21:13:14] <ss23> cool
1059: [21:13:20] <ss23> Presume I'll be here for that, irogue_
1060: [21:13:20] <Ryan-Toast> Kingy: Where do you live?
1061: [21:13:22] <Kingy> at work by 7:50
1062: [21:13:27] <ss23> But I'm lazy and don't like going outside, so....
1063: [21:13:27] <Kingy> Masterton
1064: [21:13:35] <Ryan-Toast> Kingy: Move to Welly?
1065: [21:13:46] <irogue_> ss23: haha. fuck outside. I just want to drink :P
1066: [21:13:58] <ss23> yeah, same deal, I'd rather sit inside not drinking :D
1067: [21:14:02] <Kingy> Ryan-Toast: We did live there for a while but only teaching job for gf was in Masterton
1068: [21:14:13] <Kingy> ss23: if irogue_ is involved you probably don't need to go out in the daylight
1069: [21:14:18] <ss23> lol
1070: [21:15:11] <Ryan-Toast> Kingy: Time to get a new gf
1071: [21:15:15] <Erwin-C64> thanks, so the only option is modifying the code of silverstripe? That's an issue because the installtion gets updated automatically on my hosting
1072: [21:15:44] * antmas has joined #silverstripe
1073: [21:15:49] <Erwin-C64> or is there an other way of inserting php code in a page in Silverstripe?
1074: [21:16:02] <antmas> morning all
1075: [21:16:03] <Kingy> Erwin-C64: an addon doesn't directly affect the core silverstripe code, it's just that.. an add on
1076: [21:16:19] * Ryan-Toast has left #silverstripe
1077: [21:16:49] <irogue_> Erwin-C64: http://addons.silverstripe.org/add-ons/silverstripe/userforms
1078: [21:16:50] <Erwin-C64> http://doc.silverstripe.org/framework/en/howto/simple-contact-form
1079: [21:17:01] <adrexia> that's a custom form
1080: [21:17:32] <adrexia> whats your hosting? are you allowed to alter the code on the server?
1081: [21:18:10] <adrexia> I mean, out of the box, silverstripe doesn't do much. its a platform to build on.
1082: [21:18:34] <adrexia> so everything basically means adding code - either custom or modules
1083: [21:18:49] * Ryan-Toast has joined #silverstripe
1084: [21:21:28] <irogue_> and any form of auto-updating should only be affecting the cms/ and framework/ folders, not your mysite (where you put custom code) or any module folders
1085: [21:23:51] <Erwin-C64> irogue_: thanks :) but do you know if "Composer" is included in Silverstripe? It seems that's something I need for installing this
1086: [21:24:41] <irogue_> Erwin-C64: composer is a command-line dependency system. if you're using shared hosting (and not developing locally) you likely don't have access to it
1087: [21:25:02] <irogue_> in which case you can just download the package and install it manually
1088: [21:25:30] <Erwin-C64> ok, thanks. Yes I have share hosting, will just upload it. Let's try
1089: [21:25:35] <irogue_> https://github.com/silverstripe/silverstripe-userforms/archive/2.0.5.zip
1090: [21:26:30] <irogue_> unzip that, rename the folder to userforms, then upload it to the webroot (where the cms, framework and mysite folders are)
1091: [21:26:47] <irogue_> then go to http://site_name/dev/build and it should be installed :)
1092: [21:27:39] <adrexia> might want to append ?flush=all to that too
1093: [21:28:07] <antmas> people still mention ?flush=all
1094: [21:28:14] <antmas> does =all actually do anything?
1095: [21:28:22] <adrexia> yes
1096: [21:28:33] <adrexia> you mean as opposed to flush=1?
1097: [21:28:39] <antmas> yeah
1098: [21:28:44] <adrexia> it flushes the whole manifest
1099: [21:28:55] <antmas> ah ok
1100: [21:28:56] <hamishgray> I always think 1=current page, all=whole site, is that right?
1101: [21:29:03] <adrexia> flush=1 *should* work, but often you still get errors
1102: [21:29:20] <antmas> that's what I thought, I just remember people saying that =all doesn't actually do anything
1103: [21:29:23] <PapaBearNZ> irogue: unless one of your new developers, in order to fix an issue, hacks directly on core *grrr* He was "advised assertively" that hacking directly on core is only done at an extremely last resort and then only if the developer in question signs, in triplicate, in blood, that he personally will be responsible for every security patch and version update from then on until the end of time, individually.
1104: [21:29:56] <PapaBearNZ> antmas: I had that same understanding. I thought it was the presence or absence of the flush var that was importantn - not the content of the flush var.
1105: [21:29:58] <antmas> PapaBearNZ: who?
1106: [21:30:10] <antmas> PapaBearNZ: yeah same here
1107: [21:30:20] <irogue_> PapaBearNZ: bahaha
1108: [21:30:21] <PapaBearNZ> antmas: one of the remote developers on the current project - no one to do with silverstripe.
1109: [21:30:38] <antmas> PapaBearNZ: ah right, makes sense :P
1110: [21:30:55] <irogue_> PapaBearNZ: hope you're not using composer!
1111: [21:30:59] <Stomach> we have a Silverstripe 3.1.999 for a project at the moment >_< damn core changed
1112: [21:31:19] <PapaBearNZ> irogue: you know this project - it's not composer *sigh*
1113: [21:32:07] <irogue_> PapaBearNZ: I was living under hope that it might have changed :P
1114: [21:32:07] <PapaBearNZ> Although we've had to fork the postgres module to fix some issues while we wait for the pull requests to be approved.
1115: [21:32:26] <PapaBearNZ> irogue: you and me both dude - but I lost that battle :(
1116: [21:33:25] <PapaBearNZ> irogue: we never got our CI environment either that we were promised from day one of the first iteration :(
1117: [21:33:38] <ss23> QUIT
1118: [21:33:54] <ss23> ASDFASDFASDFASDFASDF
1119: [21:33:56] * antmas quits ss23
1120: [21:33:58] <ss23> THE PLUMBER IS DRILLING
1121: [21:34:07] <ss23> IF MY PEICE OF SHIT FLATMATE HAD ORGANISED THIS RIGHT I WOULDN"T EVEN BE HERE
1122: [21:34:15] <ss23> AND HE WOULD BE THE FUCKING ONE MISSING WORK INSTEAD OF ME
1123: [21:34:23] <ss23> I don't know how the fucking fuck he thinks this is even close to okay
1124: [21:34:28] <PapaBearNZ> ss23: bugger :(
1125: [21:34:37] <Kingy> ss23: Can't work from home?
1126: [21:34:41] <ss23> I'm trying
1127: [21:34:43] <PapaBearNZ> ss23: Don't hold back dude. Tell us how you really feel ;)
1128: [21:34:46] <ss23> IT'S HARD WITH A DRILL GOING ON BEISDE ME
1129: [21:34:56] <antmas> why is he drilling?
1130: [21:34:59] <ss23> and I'm hungry because I didn't have dinner last night, or breakfast this morning
1131: [21:35:03] <ss23> idk
1132: [21:35:08] <ss23> something to do with the toilet
1133: [21:35:10] <ss23> all I know is my flatmate is a cunt
1134: [21:35:15] <antmas> lol
1135: [21:35:50] <PapaBearNZ> ss23: sounds like a good excuse to head out to the dairy for a pie and a coke.
1136: [21:35:50] <Kingy> and leave a plumber home alone?
1137: [21:35:50] <antmas> he'll sniff your undies
1138: [21:35:51] <antmas> :O
1139: [21:35:52] <Kingy> we all know they then go and have a good time with ss23's underwear
1140: [21:35:59] <PapaBearNZ> Kingy: what could be the harm? *innocent look*
1141: [21:36:09] <antmas> o.O
1142: [21:39:02] <ss23> My point is that he just left
1143: [21:39:08] <ss23> He was like "Oh my flatmates home, I'm going to work"
1144: [21:39:19] <ss23> The only reason I'm home is because he didn't tell me this was going to happen
1145: [21:39:31] <ss23> so he gets to go to work and be fine and have no problems, I get to be late.
1146: [21:39:35] <ss23> Which means I have to stay late
1147: [21:39:38] <Kingy> ss23: next time run out the door and say i'm leaving now
1148: [21:39:40] <ss23> And it fucks up all my shit :/
1149: [21:39:51] <ss23> Kingy: And do what?!
1150: [21:39:52] <ss23> I haven't had a shower
1151: [21:39:53] <ss23> >.<
1152: [21:39:58] <Kingy> eh overrated
1153: [21:40:10] <ss23> There's not even a sane way to express to him what a cunt he is
1154: [21:40:19] <ss23> If I'm like "LOOK It'S REALLY ANNOYING YOU DID THIS" he's like "lol soz"
1155: [21:40:27] <ss23> and I'm hardly going to be like "fuck you I'm leaving the flat"
1156: [21:40:45] <Kingy> mebbe you should?
1157: [21:40:49] <ss23> so he gets to just fucking sit there being like "DURP I'M A RETARD AND IT DOESN'T MATTER", and I have to suffer the consequences of him being asdfasdf
1158: [21:40:56] <ss23> I'm too lazy to elave
1159: [21:41:04] <ss23> And it's not reasonable to leave because of one fuck up
1160: [21:41:36] * Colin[pi] has joined #silverstripe
1161: [21:41:52] <hamishgray> I think you need a snickers mate…you’re mean when you’re hungry
1162: [21:42:05] <ss23> I'm hungry as shit
1163: [21:42:07] <Stomach> hahahaha
1164: [21:42:07] <ss23> You don't even know
1165: [21:42:18] <antmas> just got an email saying there is security presence downstairs for the rest of the week
1166: [21:42:20] <ss23> All I ate for all of yesterday was a single burger
1167: [21:42:22] <antmas> I wonder why
1168: [21:42:32] <ss23> Now I'm being held up here
1169: [21:42:39] <ss23> And I fucking *know* he's not going to be done for another hour
1170: [21:42:44] <antmas> ss23: get takeaways delivered
1171: [21:42:48] <ss23> antmas: It's 11am!
1172: [21:42:58] <antmas> idk
1173: [21:43:00] <ss23> I don't know when the fucking plumber will leave, once he's gone I'm just going to shower and leave
1174: [21:43:08] <ss23> I DON'T WANT SOLUITONS I WANT TO VENT
1175: [21:43:10] <ss23> THERE ARE NO SOLUTIONS
1176: [21:43:12] <hamishgray> I’m sure hell pizza does something passable for breakfast… there’s one with bananas on it
1177: [21:43:19] <ss23> MY PROBLEMS ARE FUCKING UNSOLVABLE
1178: [21:43:23] <antmas> lol
1179: [21:43:30] <adrexia> you are such a teenage girl
1180: [21:43:46] <antmas> you're not doing sharepoint
1181: [21:43:46] <Colin[pi]> he has the hair of one
1182: [21:43:47] <ss23> adrexia: DAMN RIGHT I AM, LIKE WE JUST MENTION I'M HUNGRY AS SHIT
1183: [21:43:52] <antmas> you're problems mean NOTHING
1184: [21:43:52] <ss23> I seriously just want ot crawl back in bed and cry
1185: [21:43:54] <adrexia> heheh
1186: [21:43:58] <ss23> It's fucked up my day so bad
1187: [21:44:05] <adrexia> do it
1188: [21:44:07] <ss23> BUT I CAN'T DO THAT CAUSE I'M ALREADY A WEEK OWING IN SICK LEAVE
1189: [21:44:14] <ss23> BECAUSE I JUST HAD THE FLU FOR AN ENTIRE WEEK
1190: [21:44:28] <adrexia> ss23, I think you accidently hit caps lock
1191: [21:44:30] <adrexia> :P
1192: [21:44:33] <ss23> WRONG
1193: [21:44:35] <ss23> I'M HOLDING SHIFT
1194: [21:44:36] <ss23> FOR EMPAHSIS
1195: [21:44:42] <Kingy> lolol
1196: [21:44:52] <adrexia> wow. shift. taht's dedication
1197: [21:44:57] <antmas> lol
1198: [21:45:07] <Kingy> this is gold
1199: [21:47:03] <Erwin-C64> irogue_: hey, awesome. Got forms working on my site. Thanks a lot for the quick help
1200: [21:48:47] * muskie9 is now known as _muskie9_
1201: [21:49:12] <Kingy> man it sucks sharing a name with a form of jiu jitsu
1202: [21:49:48] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1203: [21:50:30] <antmas> Kingy: ?
1204: [21:50:43] <Kingy> i want to get gracie.nz
1205: [21:50:50] <Kingy> but of course gracie.co.nz has dibs
1206: [21:51:25] <Kingy> which isn't work now
1207: [21:51:34] <Kingy> but it was dedicated to gracie jiu jitsu
1208: [21:52:00] <antmas> bell.nz is free :) I should get that
1209: [21:52:06] * muskie9 has joined #silverstripe
1210: [21:52:32] <Kingy> eh i got .kiwi
1211: [21:52:32] <Kingy> lol
1212: [21:52:44] <terryapodaca> I've got a weird issue...I have a DataObject for HomePageBanners, use a simple GridField on the HomePage.php to manage those images/banners. I have no code in there to set security or permissions.
1213: [21:52:56] <antmas> who do people register domains with here?
1214: [21:53:13] <terryapodaca> but, if you log in as a simple Content Author, they can't see the actual images in the GridField even though they exist.
1215: [21:53:20] <Kingy> I use domains4less for nz domains
1216: [21:53:30] <terryapodaca> Full Admin can see all the images
1217: [21:53:45] <antmas> what does it mean when it says 'domain is conflicted'?
1218: [21:54:18] <Kingy> antmas: someone owns bell.co.nz or another form of blah.nz
1219: [21:54:27] <Kingy> .net.nz etc
1220: [21:54:35] <Kingy> which basically means they get first dibs
1221: [21:54:37] <adrexia> yeah if you have the .co.nz domain, you get first dibs on .nz
1222: [21:54:46] <antmas> Kingy: ah yeah I just noticed, damn :(
1223: [21:54:49] <Kingy> but I see bell has .co.nz and .net.nz
1224: [21:54:55] <Kingy> which means those two get to fight it out
1225: [21:55:39] * simon_w has joined #silverstripe
1226: [21:56:13] <Stomach> welcome simon_w
1227: [21:56:15] <antmas> motherfucker
1228: [21:56:18] <Stomach> hows the last week of freedom going
1229: [21:56:21] <antmas> someone took patrickbell.nz
1230: [21:56:24] <simon_w> Not yet antmas ;)
1231: [21:56:27] <antmas> WHO IS THIS PERSON
1232: [21:56:31] <Kingy> lolol
1233: [21:56:55] <Kingy> patrickbell.nz Will be Available
1234: [21:57:13] <ss23> Just get PatrikBell instead
1235: [21:57:21] <antmas> offty
1236: [21:57:22] <simon_w> antmas, pre-register with another registrant?
1237: [21:57:24] <antmas> pfft*
1238: [21:57:29] <ss23> offty to you too
1239: [21:57:30] <Kingy> it is available?
1240: [21:57:32] <antmas> yeah I should
1241: [21:57:40] <antmas> not at the moment
1242: [21:57:46] <simon_w> Before 1 :p
1243: [21:57:48] <Kingy> antmas: 1pm today you can apply
1244: [21:57:50] <antmas> .nz looks weird though
1245: [21:57:55] <antmas> Kingy: :O
1246: [21:58:07] <Kingy> You can try and register the shorter version of the name on a ‘first-come, first-served’ basis from 1pm, 30 September 2014.
1247: [21:58:07] <terryapodaca> Content Author: http://imgur.com/w2cOxlr
1248: [21:58:31] <terryapodaca> Admin: http://imgur.com/P9pYMeN
1249: [21:58:35] <UncleCheese> anyone ever sent an email from within the cms?
1250: [21:58:47] <UncleCheese> it sends ok on the frontend, but within the cms, template can't be found, massive error
1251: [21:58:53] <Stomach> UncleCheese - yup
1252: [21:58:57] <UncleCheese> do i need to maybe put the template in an /admin/ folder?
1253: [21:58:59] <Stomach> was talking about this yesterday
1254: [21:59:03] <UncleCheese> oh nice
1255: [21:59:07] <simon_w> UncleCheese, no theme loaded, so template can't be in the theme
1256: [21:59:09] <Stomach> put the template anywhere apart from theme/
1257: [21:59:11] <UncleCheese> !!!!!!!!!!!!!!!!
1258: [21:59:14] <UncleCheese> of course
1259: [21:59:15] <UncleCheese> thank you
1260: [21:59:39] <antmas> see, UncleCheese ? IRC is awesome :D
1261: [21:59:46] <UncleCheese> i retract everything i ever said
1262: [21:59:47] <adrexia> yeah I've been tripped up by that before.
1263: [22:00:06] <adrexia> wait, you just retracted your retraction form yesterday
1264: [22:00:08] <adrexia> :P
1265: [22:00:27] <Stomach> hes all retract tract retract tract
1266: [22:00:35] <UncleCheese> i did
1267: [22:00:39] <UncleCheese> it's a meta-retraction
1268: [22:00:42] <antmas> it never feels complete unless all of the usual kids on though
1269: [22:00:46] <antmas> no zippy__ etc
1270: [22:01:58] <Ryan-Toast> when you subclass a form, how can you call methods from the owner?
1271: [22:02:06] <UncleCheese> owner?
1272: [22:02:20] <Ryan-Toast> i.e the title of the page the form is on
1273: [22:02:21] <Colin[pi]> you mean extend a form?
1274: [22:02:35] <Ryan-Toast> yeah, sorry. Extend a form
1275: [22:02:47] <simon_w> Ryan-Toast, $this->controller?
1276: [22:03:26] <Ryan-Toast> simon_w: when I say method, I mean like a has_one image. i.e Image()
1277: [22:03:35] <Ryan-Toast> words are ahard.
1278: [22:03:43] <simon_w> Ryan-Toast, yes, so you want $this->controller
1279: [22:03:51] <simon_w> It's the Form's controller object
1280: [22:04:30] <Ryan-Toast> simon_w: Tried that, get a call to a non-object
1281: [22:04:37] <Stomach> $this->getController() ?
1282: [22:04:44] <UncleCheese> at what point are you invoking the method?
1283: [22:04:56] <UncleCheese> $this->controller should work
1284: [22:05:03] <Ryan-Toast> In the __contruct
1285: [22:05:08] <Ryan-Toast> __construct
1286: [22:05:15] <UncleCheese> you have to call it after the parent::__construct, then
1287: [22:05:25] <UncleCheese> because the parent constructor assigns $this->constructor
1288: [22:05:29] <UncleCheese> *controller
1289: [22:05:58] <UncleCheese> either that, or just access the variable directly from the __construct function
1290: [22:06:02] <Colin[pi]> ah yep, I've fallen into that trap before
1291: [22:06:30] <UncleCheese> function __construct($controller, $name, $fields...) { $controller->doStuff() }
1292: [22:07:05] <Colin[pi]> ^
1293: [22:09:14] <UncleCheese> themes are so stupid
1294: [22:09:35] <Ryan-Toast> Unclecheese, cheers man. That works
1295: [22:09:37] <UncleCheese> i hate when i get into a project and it has a themes folder.. i'm all like.. what the eff
1296: [22:09:47] <Colin[pi]> UncleCheese: y?
1297: [22:10:06] <UncleCheese> you don't find it tedious having you templates separate from your code?
1298: [22:10:15] <UncleCheese> and when you try to access a template in the cms, it blows up?
1299: [22:10:19] <Colin[pi]> UncleCheese: no, well, not really
1300: [22:10:25] <UncleCheese> annoying cost for no benefit that i can see
1301: [22:10:36] <Colin[pi]> eh, I've kinda got used to the SS way
1302: [22:10:51] <Colin[pi]> I have my theme, I have my "off the shelf" modules with their own templates..
1303: [22:11:00] <Ryan-Toast> My themes folders are always empty.
1304: [22:11:02] <Colin[pi]> and if I want to override I stick the template in my theme
1305: [22:11:03] <UncleCheese> just kind of an arbitrary line in my opinion
1306: [22:11:23] <UncleCheese> the fact that templates have their own folder in a project is separation enough
1307: [22:11:48] <UncleCheese> and let's be honest, how many sites change their theme on a whim? "time for the christmas theme!"
1308: [22:12:18] <antmas> exactly
1309: [22:12:23] <antmas> or
1310: [22:12:23] <adrexia> subsites
1311: [22:12:25] <antmas> *shudders*
1312: [22:12:29] <antmas> mobile themes
1313: [22:12:31] <adrexia> just saying
1314: [22:12:40] <Colin[pi]> UncleCheese: yeah that's trye
1315: [22:12:42] <Colin[pi]> *true
1316: [22:12:55] <Colin[pi]> I dont think I've ever actually built a site and re-themed it so far
1317: [22:13:00] <adrexia> I actually do like the seperation of cms templates from frontend templates
1318: [22:13:10] <Ryan-Toast> antmas: “mobile themes” http://i.imgur.com/kmln2n8.jpg
1319: [22:13:14] <adrexia> it makes it clear to me what effects what
1320: [22:13:23] <Colin[pi]> antmas: I had to talk a client out of building a separate mobile theme recently...
1321: [22:13:35] <UncleCheese> man, i love that episode
1322: [22:13:39] <UncleCheese> soooooooo awkward
1323: [22:13:47] <antmas> Colin[pi]: me too
1324: [22:13:48] <Ryan-Toast> Colin[pi]: Oh god.
1325: [22:13:56] <Colin[pi]> antmas Ryan-Toast: I'm like... uh no, you don't need to do that anymore
1326: [22:14:05] * adrexia nods
1327: [22:14:11] <antmas> my old internship place still does it
1328: [22:14:33] <antmas> that and refuse to move sites out of Magenta, Jword into SS
1329: [22:14:39] <antmas> fucking HATED working there
1330: [22:14:43] <adrexia> I think as few years ago we could have ditched the themes folder. but thanks to cwp, people seem to want to use subsites.
1331: [22:15:02] <adrexia> and subsites, means multiple themes
1332: [22:15:19] <Colin[pi]> antmas: Jword.. the worst swear word
1333: [22:15:36] <adrexia> actually, there is also a case for multiple themes based on locale
1334: [22:15:38] <UncleCheese> adrexia do you reckon that's just a business problem, though?
1335: [22:15:38] <Ryan-Toast> subsites http://i.imgur.com/3sNPQvV.gif
1336: [22:15:51] <antmas> lol
1337: [22:15:53] <adrexia> yep - I reckon its a money problem
1338: [22:16:00] <antmas> Colin[pi]: indeed
1339: [22:16:00] <UncleCheese> i.e. CWP gives you only one hostname
1340: [22:16:03] <antmas> let us not speak of it
1341: [22:16:10] <UncleCheese> so people hack their way around that constraint
1342: [22:16:11] <Colin[pi]> am I correct in assuming that the themes folder is a legacy from when SS thought there'd be a huge library/market of third party drap-n-drop themes?
1343: [22:16:30] <Ryan-Toast> Colin[pi]: there would be if you could edit the database froima theme.
1344: [22:16:37] <adrexia> nah - they've been propmised the ability to run multiple sites on one instance
1345: [22:16:41] <Colin[pi]> edit the db..... from a theme?
1346: [22:16:45] <adrexia> so they expect it
1347: [22:16:46] <UncleCheese> question.................. how much extra time have we put into wrestling with Subsites compared to how much it would cost to give them multiple hosts per instance?
1348: [22:16:50] <Ryan-Toast> Colin[pi]: Yup
1349: [22:16:58] <Colin[pi]> Ryan-Toast: dont think I follow
1350: [22:17:00] <antmas> UncleCheese: my thoughts exactly
1351: [22:17:01] <Ryan-Toast> Colin[pi]: Extending shit like you can in modules
1352: [22:17:21] <Colin[pi]> ah k
1353: [22:17:25] <Ryan-Toast> Colin[pi]: I want a theme to be all this: https://github.com/Rhym/ss_boilerplate/tree/master/boilerplate
1354: [22:17:30] <antmas> :O
1355: [22:17:36] * bubaphex quit (Ping timeout: 272 seconds)
1356: [22:17:38] <antmas> going in a helicopter tomorrow :D
1357: [22:17:46] <Ryan-Toast> so you can drag/drop it in the theme folder and everything works.
1358: [22:18:13] <Ryan-Toast> maybe have it extend to a different sitetree so when you swap themes you don’t have heaps of useless db fields.
1359: [22:18:29] <Ryan-Toast> that way you could have them zipped up, and could have a backend search for new themes.
1360: [22:18:30] <adrexia> I think its important to keep the "frontend" code seperate to the admin
1361: [22:18:37] <adrexia> the themes folder does that
1362: [22:18:42] <adrexia> but there are other solutions
1363: [22:18:54] * toddvalentine quit ()
1364: [22:18:56] <Ryan-Toast> I’m talking from a pure market penetration perspective
1365: [22:19:02] <adrexia> whyat I don't wanht to see is everythign in mysite with no clear seperation between the two
1366: [22:19:18] <adrexia> because that makes rollign out a new design much harder
1367: [22:19:26] <Ryan-Toast> You can see that with the templates folder though?
1368: [22:19:30] * Shrike_Finland quit (Quit: Leaving.)
1369: [22:19:36] <UncleCheese> i thnk the case for single-use modules in your project is often overlooked
1370: [22:19:39] <adrexia> no - templates in mysite are for the cms admin
1371: [22:20:00] <Ryan-Toast> I use mysite for all my frontend templates :P
1372: [22:20:03] <Colin[pi]> huh?
1373: [22:20:04] <adrexia> hmmm
1374: [22:20:04] <UncleCheese> people tend to create these massive mysite folders, and a lot of times it makes sense to have multiple "mysite" modules
1375: [22:20:28] <Colin[pi]> I have no templates in mysite lol
1376: [22:20:34] <Ryan-Toast> UncleCheese: I seperate my code folder into litle modul;es
1377: [22:20:48] <Ryan-Toast> probs not the right way to do things, but it’s how I like to do it
1378: [22:20:49] <Colin[pi]> I have all in themes, drag-n-drop modules, and a module folder I create for the project
1379: [22:21:02] <adrexia> I guess if you never see a case for custom admin templates that wouldn't be an issue - but things always have a way of doing what you are least prepared for
1380: [22:21:16] <Colin[pi]> ...which is basically mysite I suppose but I use mysite for the "base" stuff I extend from
1381: [22:22:15] <adrexia> the worst case I saw was js in the mysite folder that was tied to frontend functionality rather than backend
1382: [22:22:21] <adrexia> ...and then subsites
1383: [22:22:23] <adrexia> booyah
1384: [22:22:43] <adrexia> messy
1385: [22:22:48] <UncleCheese> wait, you put js in the themes folder?!
1386: [22:22:50] <Colin[pi]> has anyone ever said anything positive about subsites?
1387: [22:23:01] <adrexia> yes - when its part of the "theme"
1388: [22:23:06] <UncleCheese> oh wow
1389: [22:23:10] <UncleCheese> i always think of js as code
1390: [22:23:12] <Ryan-Toast> adrexia: if you use your mysite to house everything, it would make snese to have the js in there though, wouldn’t it? Like if you donr’t use the themes for anything.
1391: [22:23:15] <adrexia> I'd go so far as saying "you should"
1392: [22:23:19] <adrexia> ummm - its all code
1393: [22:23:31] <UncleCheese> Colin[pi] I believe Vladimir Putin said something about it being less bad than homosexuals
1394: [22:23:32] * muskie9 is now known as _muskie9_
1395: [22:23:38] <Colin[pi]> lol
1396: [22:23:49] <Ryan-Toast> Colin[pi]: Subsite’s is great, we all use it for a reason as it fixes a problem that we have. It’s just annoying. Really fucking annoying.
1397: [22:24:02] <Ryan-Toast> subsite is is...
1398: [22:24:02] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1399: [22:24:10] <adrexia> how do you tell which js is used on the frontend and what is used in the cms?
1400: [22:24:21] <Colin[pi]> UncleCheese: ok UC, this has been a point of contention in the past.... should config/controller pull in CSS/JS or template files?
1401: [22:24:23] <adrexia> (and telling the difference *is* important)
1402: [22:25:03] <UncleCheese> adrexia i've never found it to be a point of confusion.. but I guess you could plunk it into two separate subfolders?
1403: [22:25:05] <Ryan-Toast> adrexia: The sites I have to build never really need js for the backend
1404: [22:25:18] <UncleCheese> and things that augment the admin should be modules anyway
1405: [22:25:36] <adrexia> Unclecheese - multiple developers across years, then you get a redesign
1406: [22:25:58] <adrexia> holy crap I have been angryu at developers who have not seperated concerns well enough
1407: [22:26:01] <UncleCheese> Colin[pi] SS wants us to use <% require %> but I think it's far too immature at this point, and I think making the call from the controller is much more standard practise
1408: [22:26:01] <simon_w> adrexia, nuke it all from orbit?
1409: [22:26:17] <adrexia> that's what I have wnated to do, simon_w, yes
1410: [22:26:21] <adrexia> but...bugjet
1411: [22:26:26] <adrexia> *budget
1412: [22:26:28] <Ryan-Toast> The reason I do it like that is because I use Requirements::combined_files right, so if I have that pointed to the current theme, ad the js sisn’t there it’s going to fuck out.
1413: [22:26:33] <Colin[pi]> UncleCheese: ok that's what I do but OH BOY did I get reamed by some in here the last time I talked about that :o
1414: [22:26:36] <antmas> bugjet :)
1415: [22:26:39] <UncleCheese> Ryan-Toast or constants
1416: [22:26:44] <Ryan-Toast> UncleCheese: yes, that too
1417: [22:26:47] <ss23> LOL FRONTEND
1418: [22:26:53] <Colin[pi]> haha ss23
1419: [22:26:55] <UncleCheese> that's a big deal, because you have to hardcode module paths
1420: [22:26:58] <UncleCheese> and that's shit
1421: [22:27:21] <adrexia> Ryan-Toast - nope - it silently dies
1422: [22:27:26] <Stomach> I hate requirements
1423: [22:27:28] <adrexia> to the point where we use it as a feature
1424: [22:27:29] <Stomach> so much
1425: [22:27:32] <simon_w> Would be nice if ajshort didn't massively cripple themedCSS
1426: [22:27:44] <adrexia> require *this* oh the theme doesn't have that, I won't include it them
1427: [22:27:45] <UncleCheese> ajshort
1428: [22:27:45] <Ryan-Toast> adrexia: and then I have code I don’t need in the page
1429: [22:27:51] <UncleCheese> what good has he ever done
1430: [22:27:57] <Colin[pi]> yeah fuck that guy
1431: [22:27:58] <Colin[pi]> ;)
1432: [22:28:01] <UncleCheese> totally
1433: [22:28:07] <adrexia> it's needed
1434: [22:28:15] <adrexia> just not by your current theme
1435: [22:29:07] <antmas> can't stop yawning
1436: [22:29:10] <antmas> so annoying
1437: [22:29:12] <ss23> me either
1438: [22:29:13] <Colin[pi]> antmas: hate that
1439: [22:29:13] <ss23> I'm overtired
1440: [22:29:22] <ss23> I mean over.. untired
1441: [22:29:23] <ss23> you know.
1442: [22:29:32] <ss23> all I wanna do is sleep now :(
1443: [22:30:27] <antmas> I swear I yawned like 8-9 times during the senior manager meeting this morning
1444: [22:30:33] <antmas> so embarrasing :(
1445: [22:30:42] <ss23> It's embarrasing to yawn? o.o
1446: [22:30:43] <Ryan-Toast> antmas: pushups when you get out of bed, then an apple.
1447: [22:30:56] <antmas> ss23: when you do it all the time it is
1448: [22:30:59] <Ryan-Toast> Get that apple swole on.
1449: [22:31:03] <ss23> eh
1450: [22:31:13] <antmas> Ryan-Toast: apple swole?
1451: [22:31:19] <antmas> sounds dirty
1452: [22:31:24] <Ryan-Toast> antmas: they’ll be mirin your granny smith.
1453: [22:31:34] <antmas> wat
1454: [22:31:35] <antmas> o.O
1455: [22:31:41] <antmas> idgi
1456: [22:31:48] <Ryan-Toast> http://www.urbandictionary.com/define.php?term=mirin
1457: [22:32:30] <antmas> still don't get it
1458: [22:32:34] * antmas yawns
1459: [22:32:43] <Ryan-Toast> antmas: Don’t worry.
1460: [22:32:58] <Ryan-Toast> Been hanging around people from the gym too much lately.
1461: [22:33:01] <antmas> I hear drinkning super cold water stops yawns
1462: [22:33:12] <antmas> Ryan-Toast: I need to go back to the gym :(
1463: [22:33:14] <Ryan-Toast> I hear getting enough sleep does something similar.
1464: [22:33:16] <antmas> but... time
1465: [22:33:25] <antmas> Ryan-Toast: I get loads of sleep
1466: [22:34:45] <antmas> also a bike, so I can bike to work
1467: [22:35:06] <ss23> Wouldn't life be nice if you didn't have to sleep
1468: [22:35:35] <antmas> I love sleep
1469: [22:35:37] * Erwin-C64 has left #silverstripe
1470: [22:36:08] <ss23> Same, it's the waking up that's a bitch
1471: [22:36:22] <terryapodaca> I've got a weird issue...I have a DataObject for HomePageBanners, use a simple GridField on the HomePage.php to manage those images/banners. I have no code in there to set security or permissions.
1472: [22:36:28] <terryapodaca> but, if you log in as a simple Content Author, they can't see the actual images in the GridField even though they exist.
1473: [22:36:35] <terryapodaca> Full Admin can see all the images
1474: [22:36:43] <terryapodaca> Content Author: http://imgur.com/w2cOxlr
1475: [22:36:49] <terryapodaca> Admin: http://imgur.com/P9pYMeN
1476: [22:37:03] <Stomach> yeah, the objects dont have canEdit permissions by default
1477: [22:37:18] <antmas> this ^
1478: [22:37:24] <Stomach> you need to add "public function canEdit($member = null) { return true; }" or similar
1479: [22:37:31] <Stomach> on the object you want to be editable
1480: [22:37:32] <UncleCheese> not return true; ideal,y
1481: [22:37:46] <UncleCheese> i usually use something like Permission::check("CMS_ACCESS_CMSMain"); as a starting point
1482: [22:38:01] <Stomach> yeah therefore "or similar" :P
1483: [22:38:25] <terryapodaca> is this something new in 3?
1484: [22:38:30] <UncleCheese> no, actually
1485: [22:38:31] <UncleCheese> 2.4
1486: [22:39:47] * bubaphex has joined #silverstripe
1487: [22:40:10] <terryapodaca> so by default, Admin has permission to edit custom DOs, but any new "Group" doesn't?
1488: [22:40:22] <Stomach> yarp
1489: [22:40:36] <ss23> Admin has permissions to do ANYTHING
1490: [22:40:36] <Ryan-Toast> Can you have subfolders in the Layout folder of a theme?
1491: [22:40:53] <Kingy> Ryan-Toast: don't think so
1492: [22:40:57] <Ryan-Toast> Rats
1493: [22:41:15] <Ryan-Toast> adrexia: do you know if you can?
1494: [22:41:21] <simon_w> ss23, not if you change Permission.admin_implies_all
1495: [22:41:26] <ss23> lol
1496: [22:41:42] <Stomach> https://github.com/silverstripe/silverstripe-framework/blob/3.1/model/DataObject.php#L2605
1497: [22:41:43] <adrexia> Ryan-Toast - pretty sure you can't
1498: [22:42:04] <adrexia> not without having a custom method that calls it from there
1499: [22:42:23] <Ryan-Toast> adrexia: Hmm, I’m thinking fof moving all my templates to the themes, but I don’t want to have 20+ files sitting in the LAyout folder all unorganised.
1500: [22:42:35] <terryapodaca> that's just weird...since you can create new Groups and then check off their permissions, like Pages, Files...but the DO related to the page isn't editable
1501: [22:42:40] <adrexia> 20+page types?
1502: [22:42:48] <Ryan-Toast> adrexia: Modules
1503: [22:43:17] <UncleCheese> terryapodaca this is an issue that is very much identified as in need of refactoring
1504: [22:43:20] <adrexia> terryapodaca - that tripped me up originally.
1505: [22:43:29] <adrexia> sort of used to it now though
1506: [22:43:36] <UncleCheese> ideally, we need to do more of an AOP approach
1507: [22:43:48] <adrexia> just copy paste the canview canedit etc everytime
1508: [22:44:01] <UncleCheese> where dataobjects can be injected with a permission service
1509: [22:44:12] <UncleCheese> dataobjects are way too monolithic right now and do way too many things
1510: [22:44:22] <Stomach> yeah I just copy paste it everywhere in dataobjects then lock it down through model admin access - bit shit but what is one to do :D
1511: [22:44:35] <UncleCheese> there was a good discussion about it on the google group
1512: [22:44:40] <terryapodaca> ok...
1513: [22:44:52] <UncleCheese> a lot of times you can just create a BaseDataObject class that provides default permissions
1514: [22:45:08] * ocmnt quit (Ping timeout: 272 seconds)
1515: [22:45:10] <UncleCheese> but the idea of providing global default perms in the config hasbn't garnerned much support
1516: [22:45:34] <adrexia> It makes sense to me that dataobjects should inherit the permissions of the object you are viewing them through - so if you can edit a page, you can edit that dataobject, if you have access to a modeladmin ,you can edit the dataobjects there. but that's sort of tricky to do in a general way
1517: [22:45:46] <terryapodaca> is there an example of editing this DOs permission programatically?
1518: [22:46:15] <UncleCheese> adrexia you've never enountered a scenario where a user can access a model admin but can't make changes?
1519: [22:46:28] <UncleCheese> i think that's pretty common
1520: [22:46:35] <Stomach> terryapodaca - you can interface using PermissionProvider
1521: [22:46:36] <adrexia> you mean can't view?
1522: [22:46:41] <UncleCheese> ah, can't view
1523: [22:46:43] <UncleCheese> yeah, that's a bit shit
1524: [22:46:47] <Stomach> then use the permission you create as the permission check
1525: [22:46:48] <UncleCheese> but certainly editing
1526: [22:46:48] <adrexia> whats the point?
1527: [22:47:00] <UncleCheese> yeah, totally
1528: [22:47:07] <adrexia> yeah - but why would you give them "can edit" on the modeladmin and not on the model?
1529: [22:47:08] <UncleCheese> when it happens it's such a mindfuck
1530: [22:47:09] <adrexia> that's dumb
1531: [22:47:18] <Stomach> UncleCheese, adrexia - we have some where certain editors can sort the listings, but not edit them
1532: [22:47:23] <UncleCheese> i think canEdit shoudl supercede canView
1533: [22:47:27] <Stomach> so they need access to the model admin so we can provide sort functionality
1534: [22:47:35] <Stomach> but they cant edit them
1535: [22:47:39] <adrexia> yeah, if you canedit, canview is explicit
1536: [22:47:40] <Stomach> tis dumb.
1537: [22:47:44] <adrexia> implicit
1538: [22:47:45] <UncleCheese> yeah, editing should be protected, but viewing is a lame restriction
1539: [22:47:55] <UncleCheese> why give them access to a MA panel that is useless
1540: [22:48:21] <adrexia> yep - I would think taht was aUI bug
1541: [22:48:24] <UncleCheese> although
1542: [22:48:24] <Stomach> multiple editors editing single objects
1543: [22:48:30] <adrexia> if its intentional - you hate people
1544: [22:48:35] <Stomach> so other editors cant view other editors stuff
1545: [22:48:43] <Stomach> we have that situation on a site too
1546: [22:48:44] <UncleCheese> i can imagine a scenario where canview is some kind of expression that whitelists certain records
1547: [22:48:48] <UncleCheese> but again, that shouild be opt-in
1548: [22:49:14] <adrexia> meh, bigger fish
1549: [22:49:19] <Stomach> :D
1550: [22:49:37] <adrexia> I can live with explicitly defining permissions
1551: [22:49:49] <adrexia> I don't know if I can live with advanced workflow
1552: [22:49:55] <adrexia> :P
1553: [22:50:43] <adrexia> ...or subsites, or translatable if my clients are using them
1554: [22:51:03] <adrexia> ...and form validation needs a kick
1555: [22:51:42] <Ryan-Toast> adrexia: which part about form validation?
1556: [22:52:34] <adrexia> actually its the whole form system
1557: [22:52:42] * ben_w has joined #silverstripe
1558: [22:52:50] <adrexia> I shouldn't have put the emphasis on validation
1559: [22:53:22] <Ryan-Toast> adrexia: Making a form that doesn’t have the fields on top of each other becomes a little personal nightmare of mine
1560: [22:54:10] <adrexia> yeah, there's something... messy about forms
1561: [22:54:30] <Ryan-Toast> adrexia: I just said fuck it, and made the dirteiest thing possible
1562: [22:54:43] <Colin[pi]> in SS I still have the most frustration with: forms, validation, and controller stuff
1563: [22:54:48] <Ryan-Toast> LOOK AT IT, LOOK AT IT WITH YOUR FACE! https://github.com/Rhym/ss_boilerplate/blob/master/boilerplate/code/Modules/ContactForm/code/ContactPage.php#L183
1564: [22:54:54] * antmas_ has joined #silverstripe
1565: [22:56:32] <adrexia> I'm not sure what my ideal form system would look like, so I have no real solutions
1566: [22:56:46] <Colin[pi]> Ryan-Toast: cool class, it's that Session::set/clear stuff that rubs me the wrong way in SS
1567: [22:56:55] * antmas quit (Ping timeout: 246 seconds)
1568: [22:56:57] * willr_ has joined #silverstripe
1569: [22:58:23] <Stomach> oh god form errors
1570: [22:58:24] <Ryan-Toast> adrexia: I think I may just create some composite field extensions to deal with layout a little better.
1571: [22:58:34] <simon_w> adrexia, just copy Symfony. Seems to be what's happeneing everywhere else :p
1572: [22:58:43] <adrexia> I edit form templates now.
1573: [22:58:49] <Stomach> are you in $Error on the form, or the field? Are you actually hiding in $Message? did you even validate? are you going to clear the error for me? >_<
1574: [22:58:55] <adrexia> and provide custom tmeplates where possible
1575: [22:59:07] <adrexia> but it all feels a little...like playing with fire
1576: [22:59:09] <Ryan-Toast> Colin[pi]: Cheers, contact form handles pretty much everything I need it to now. Just need to add a “send to admin” checkbox.
1577: [22:59:23] <adrexia> except less fun
1578: [22:59:24] <Stomach> adrexia - yeah all of my forms are actual code now too
1579: [22:59:42] <Ryan-Toast> Stomach: Same, makes life much easier
1580: [22:59:44] <Stomach> but then you have to add a field in 2 places :\
1581: [23:00:07] <Ryan-Toast> Stomach: which is why I dor the FieldList like that :P
1582: [23:00:48] <Stomach> yeah but what about multi step forms, or forms which arent just 2 column, or putting 3 fields on a row except when in sm/xs etc
1583: [23:00:51] <Stomach> so much fun times
1584: [23:01:24] <Ryan-Toast> Stomach: Small sites making the form is usually 20% of the time.
1585: [23:01:31] <adrexia> I think the php is trying to do too much of the frontend
1586: [23:01:43] <Ryan-Toast> adrexia: I agree
1587: [23:01:51] <Stomach> me too
1588: [23:02:00] <Stomach> JUST LIKE REQUIREMENTS
1589: [23:02:02] <Stomach> ...
1590: [23:02:05] <simon_w> PocketRent is almost entirely forms. The form framework hasn't changed since 2.4. It's so horrible.
1591: [23:02:24] <ss23> Send a pull request!
1592: [23:02:25] <ss23> :d
1593: [23:02:25] <Ryan-Toast> adrexia: you could use a method to generate the forms on the frontend based on the name.
1594: [23:02:40] <Ryan-Toast> fields**
1595: [23:03:00] <Colin[pi]> I always feel like I'm doing front-end forms/controller stuff 'wrong' in SS
1596: [23:03:09] <Colin[pi]> it's where I need to improve the most
1597: [23:03:11] <Ryan-Toast> Colin[pi]: I know that feel.
1598: [23:03:16] <adrexia> I don't think theree is a right way
1599: [23:03:17] <antmas_> yup same here
1600: [23:03:22] <Colin[pi]> Ryan-Toast: a lot of bad smells when I work on that stuff
1601: [23:03:23] * antmas_ is now known as antmas
1602: [23:03:41] <Colin[pi]> like "this smells like it's so shitty, prolly is... it's working though"
1603: [23:03:45] <adrexia> I think I just want datrabase fields exposed to the frontend without tmeplates
1604: [23:03:46] <Ryan-Toast> Colin[pi]: :P
1605: [23:03:53] <Stomach> whats even more fun is trying to make it all analyticable - pushing back on errors to "controller/?error=code" feels wrong
1606: [23:04:09] <adrexia> sort of like how javascript frameworks do ti
1607: [23:04:12] <adrexia> *it
1608: [23:04:19] <Ryan-Toast> Stomach: could create a error DO :P
1609: [23:04:54] <Stomach> its way easier to deal with analytics packages by making all URLs unique then fucking around with server side/client side pushes
1610: [23:05:07] <Ryan-Toast> Stomach: no doubt
1611: [23:07:36] <Ryan-Toast> I’ve done a lot of reading onform UX recently, and some of it is pretty interesting. the way people percieve actions and whatnot
1612: [23:08:16] * adrexia nods
1613: [23:08:55] <adrexia> forms are arguably one of the most important parts of UX
1614: [23:09:09] * Stomach quit (Quit: bye)
1615: [23:09:09] <ss23> Everything is arguable one of the most important aprts of UX
1616: [23:09:16] <adrexia> they require a higher degree of understand form users
1617: [23:09:21] <adrexia> *understanding
1618: [23:09:25] <adrexia> *from
1619: [23:10:10] <adrexia> ss23, users are the most important part of UX
1620: [23:10:12] <adrexia> :P
1621: [23:10:19] <ss23> #fucktheuser
1622: [23:10:23] <adrexia> lols
1623: [23:10:38] <Ryan-Toast> they are important, and they are drunk
1624: [23:10:40] <Colin[pi]> ss23's philosophy: "users will like what I tell them to like"
1625: [23:10:42] <Colin[pi]> ;)
1626: [23:10:42] * adrexia joins channel
1627: [23:10:56] <ss23> Colin[pi]: Worked for Apple
1628: [23:11:06] <ss23> Users think they know what they want. They have no *idea* what they want
1629: [23:11:15] <Ryan-Toast> https://www.youtube.com/watch?v=r2CbbBLVaPk&t=8
1630: [23:11:21] <Colin[pi]> ss23: for the most part, I agree yes lol
1631: [23:11:21] <adrexia> they mostly know what they don't want
1632: [23:12:39] <simon_w> And developers seldom know what the users actually want
1633: [23:12:45] <Ryan-Toast> Shit like using (optional) instead of Required ***** is proven to reduce bounce rate.
1634: [23:12:52] <Ryan-Toast> heaps of cool little things
1635: [23:13:53] * Stomach has joined #silverstripe
1636: [23:13:56] <adrexia> erg. worst bit is when all fields are required, and you have a wall of *
1637: [23:15:20] <Stomach> OSX bash update - http://support.apple.com/kb/DL1769
1638: [23:15:24] <Ryan-Toast> adrexia: worst is when you have to repeat your information over and over.
1639: [23:15:49] <adrexia> or when the form is 100 questions long
1640: [23:15:51] <Ryan-Toast> nononon, the worst is when there’s validation errors and the form isn’t sticky, so you have to re-enter everything again.
1641: [23:16:01] <adrexia> and you can't tab through it
1642: [23:16:12] <Ryan-Toast> WHY DO PEOPLE DO THESE THINGS?!
1643: [23:16:39] <adrexia> because they have to work against their frameworks?
1644: [23:16:54] <adrexia> and it gets pushed into the 'too hard' basket
1645: [23:17:20] <Colin[pi]> Ryan-Toast: oh man forms like that fill me with RAEG
1646: [23:17:30] <Ryan-Toast> Colin[pi]: I normally leave.
1647: [23:17:34] <Ryan-Toast> or don’t buy from them.
1648: [23:17:53] <Colin[pi]> yep "oh I'm sorry, you couldn't be bothered to make a proper form? bye!"
1649: [23:19:28] <adrexia> heh. I do the same with websites using outdated design paradigms
1650: [23:19:46] <ss23> mobi2go fucked up the tab ordering of the burgerfuel online order form
1651: [23:19:49] <ss23> Fucking bane of my existence
1652: [23:19:50] <ss23> :(
1653: [23:20:38] <Kingy> ss23: today is not a good day
1654: [23:25:32] <adrexia> on the brightside it looks like lunch time
1655: [23:25:38] <ss23> DOES IT
1656: [23:25:40] <ss23> MUST BE LUCKY FOR SOME
1657: [23:25:46] <ss23> I wonder if the plumber has left and just not told me
1658: [23:25:50] <ss23> I havn't heard him drilling in a while
1659: [23:27:14] <Kingy> lol
1660: [23:27:50] * willr_ quit (Quit: willr_)
1661: [23:29:19] * willr_ has joined #silverstripe
1662: [23:29:19] * willr_ quit (Changing host)
1663: [23:29:19] * willr_ has joined #silverstripe
1664: [23:30:37] <adrexia> ss23, for someone who gets to stay home, you sure complain a lot
1665: [23:30:48] <ss23> "gets"
1666: [23:30:48] <ss23> GETS
1667: [23:30:53] * ss23 glares
1668: [23:30:55] <ss23> I WAS FORFCED
1669: [23:30:59] <ss23> I HAD MY RIGHTS TAKEN AWAY FROM ME
1670: [23:31:02] <ss23> I AM OPRESSED
1671: [23:31:22] <adrexia> yes. tots
1672: [23:31:49] <adrexia> #firstworldproblems
1673: [23:32:09] <Stomach> just get your choice undies out, put them on the couch and go to work
1674: [23:33:21] <ss23> My choice undies are in teh wash
1675: [23:33:24] <ss23> ALSO DUE TO MY FLATMATE
1676: [23:33:54] <adrexia> umm
1677: [23:34:01] <adrexia> your flatmate worse your undies?
1678: [23:34:04] <adrexia> that's pretty close
1679: [23:34:12] <adrexia> *wore
1680: [23:34:27] <ss23> ...
1681: [23:34:28] <ss23> Really?
1682: [23:34:42] <Stomach> sounds like you need to kill your flatmate
1683: [23:34:42] <ss23> You thoughts weren't "he was using the washing machine", but "he's using your underwear"?
1684: [23:35:08] <antmas> he washes your undies?
1685: [23:35:11] <adrexia> <ss23> My choice undies are in teh wash
1686: [23:35:11] <adrexia> <ss23> ALSO DUE TO MY FLATMATE
1687: [23:35:13] <ss23> NO
1688: [23:35:16] <adrexia> umm ^
1689: [23:35:19] <ss23> ...
1690: [23:35:34] <ss23> Yeah, they're in the wash, as in, not wearable, beacuse he was using the laundry devices
1691: [23:35:52] <adrexia> you never said 'still in my dirty laundry'
1692: [23:35:54] * willr_ quit (Quit: willr_)
1693: [23:35:54] <adrexia> :P
1694: [23:35:58] <antmas> oh not wet then
1695: [23:36:02] <antmas> turn then inside out :D
1696: [23:36:06] <ss23> lol
1697: [23:37:08] <Stomach> dont put them in the microwave
1698: [23:37:11] <Stomach> thats a bad idea
1699: [23:37:17] <antmas> 'sunny side up'
1700: [23:37:34] <ss23> anyway blbl
1701: [23:37:36] <antmas> #undiegate
1702: [23:37:38] <Stomach> https://github.com/sunnysideup
1703: [23:37:55] <antmas> rofl
1704: [23:46:16] * simon_w quit (Ping timeout: 272 seconds)
1705: [23:54:05] * ben_w quit (Remote host closed the connection)
1706: [23:54:45] * ben_w has joined #silverstripe
1707: [23:58:23] * ben_w quit (Read error: No route to host)
1708: [23:58:57] * ben_w has joined #silverstripe

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