#silverstripe IRC Log

IRC log for 1 October 2014

All timestamps are in UTC.

1: [00:01:49] * mirrors has joined #silverstripe
2: [00:03:55] * lerni has joined #silverstripe
3: [00:04:42] <mirrors> hey there everyone...i am currently having an issue with the secureassets module. Has anybody used it. I have set a folder so that only logged in users can view the files within the folder. This means that a .htaccess file is generated that folder. Therefor when I try to access that file I am first taken to the controller to check my permissions. This has worked great for me in the past, however now the image is being sent wit
4: [00:05:04] <mirrors> if I download the file and change the encoding using notepad++ I can then see the image
5: [00:05:30] <mirrors> does anyone know how I can set it so the correct encoding is set
6: [00:09:27] * lerni quit (Ping timeout: 245 seconds)
7: [00:20:15] <spronk> mirrors, your first bit was cut off
8: [00:20:21] <spronk> image is being sent with what?
9: [00:20:35] * camfindlay quit (Quit: camfindlay)
10: [00:21:53] <mirrors> however now the image is being sent with the wrong character encoding
11: [00:22:14] <spronk> wrong character encoding
12: [00:22:15] <spronk> hmm :S
13: [00:22:32] <spronk> what is it being sent with, and what it it supposed to be?
14: [00:22:38] * camfindlay has joined #silverstripe
15: [00:22:39] <mirrors> this is also only happening on my localhost...works well on my prod server
16: [00:23:00] <mirrors> i am sending an image
17: [00:23:49] <mirrors> the file is originally ANSI, when I download it it is utf8
18: [00:24:14] <spronk> hmm
19: [00:24:15] <mirrors> if I change the encoding to utf-8 with bom or even back to ANSI the image can be viewed
20: [00:24:20] <mirrors> without*
21: [00:24:21] <spronk> it should be using bin encoding
22: [00:24:23] <spronk> to send
23: [00:24:42] <mirrors> yes I set that in the header header('Content-Transfer-Encoding: binary');
24: [00:24:57] <mirrors> so i dont know why the encoding is being changed
25: [00:25:26] <spronk> mirrors, are you setting the header yourself? the module should set it
26: [00:25:52] <mirrors> sorry I shouldnt of said that...yes the module is setting the header
27: [00:26:05] <mirrors> i have not edited the module at all
28: [00:26:25] * camfindlay quit (Client Quit)
29: [00:26:32] <mirrors> sorry but i have a meeting...i will be back soon
30: [00:27:22] * camfindlay has joined #silverstripe
31: [00:29:21] * camfindlay quit (Client Quit)
32: [00:31:01] * camfindlay has joined #silverstripe
33: [00:32:02] * caamic30 has joined #silverstripe
34: [00:43:09] * camfindlay quit (Quit: camfindlay)
35: [00:43:27] * simon__w has joined #silverstripe
36: [00:43:31] * simon_w quit (Read error: Connection reset by peer)
37: [00:43:51] * camfindlay has joined #silverstripe
38: [00:45:49] <pippy> got gridster working as a formfield in the CMS
39: [00:46:03] <pippy> https://www.youtube.com/watch?v=q6EoRBvdVPQ
40: [00:46:18] * ezero quit (Ping timeout: 272 seconds)
41: [00:49:39] * ezero has joined #silverstripe
42: [00:53:45] * willr_ has joined #silverstripe
43: [00:53:45] * willr_ quit (Changing host)
44: [00:53:45] * willr_ has joined #silverstripe
45: [00:54:21] * willr_ quit (Client Quit)
46: [00:54:25] * Bollig|DesignCty has joined #silverstripe
47: [00:55:15] * Bollig|DesignCty quit (Client Quit)
48: [00:57:04] * micmania1 quit (Quit: micmania1)
49: [00:59:48] * Phlunk3 has joined #silverstripe
50: [01:02:59] * lerni has joined #silverstripe
51: [01:05:16] <Ryan-Toast> Interesting: https://developers.google.com/web/
52: [01:06:15] <Kingy> interesting
53: [01:06:32] <Ryan-Toast> A little gutted that it doesn’t follwo their material design spec
54: [01:07:52] <spronk> hweh
55: [01:07:53] <spronk> heh
56: [01:07:53] <spronk> yeah
57: [01:08:10] <Ryan-Toast> Material design spec makes me a little wet.
58: [01:08:24] * lerni quit (Ping timeout: 246 seconds)
59: [01:08:28] <spronk> lawl
60: [01:08:33] * Bollig|DesignCty has joined #silverstripe
61: [01:08:55] * spronk shell scripts 100 dev videos to download
62: [01:12:04] * camfindlay quit (Quit: camfindlay)
63: [01:19:22] * Tanger has joined #silverstripe
64: [01:20:36] * muskie9 has joined #silverstripe
65: [01:23:13] * hailwood has joined #silverstripe
66: [01:26:00] * camfindlay has joined #silverstripe
67: [01:26:09] <hailwood> Hey guys, is there an existing cms control where I can select a page? Something like the "parent page" selector. Basically in the site settings I want to add the ability to select five "Featured" pages (I don't want to add a "featured" checkbox on the pages themselves)
68: [01:26:28] * camfindlay quit (Client Quit)
69: [01:27:15] * camfindlay has joined #silverstripe
70: [01:28:18] <Colin[pi]> hailwood: TreeDropdownField ?
71: [01:28:48] <hailwood> Yeah, just found it in CMSPageAddController.php :)
72: [01:31:02] <simon__w> Woo, to the venue time!
73: [01:31:05] <simon__w> See you tomorrow willr
74: [01:31:11] * simon__w quit (Quit: Ping timeout: your mum)
75: [01:31:19] <willr> Party time!
76: [01:32:57] * Ryan-Toast quit (Quit: Ryan-Toast)
77: [01:33:55] * muskie9 is now known as _muskie9_
78: [01:33:55] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
79: [01:33:57] * Liquide quit (Ping timeout: 245 seconds)
80: [01:36:04] * muskie9 has joined #silverstripe
81: [01:39:21] * Liquide has joined #silverstripe
82: [01:40:09] * ocmnt has joined #silverstripe
83: [01:44:32] * ocmnt quit (Ping timeout: 260 seconds)
84: [01:46:14] * Ryan-Toast has joined #silverstripe
85: [01:48:13] * muskie9 is now known as _muskie9_
86: [01:48:15] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
87: [01:48:34] * abitran quit (Read error: Connection reset by peer)
88: [01:48:44] * caamic30 quit (Quit: caamic30)
89: [01:49:06] * abitran has joined #silverstripe
90: [01:54:21] * muskie9 has joined #silverstripe
91: [01:55:53] <Tanger> Man, I think I should integrate VI with the SS CMS somehow.
92: [01:56:00] * jedateach has joined #silverstripe
93: [01:56:08] <mirrors> spronk: Sorry about having to go...I am back...any ideas on what my issue could be.....i.e when the controller sends the file to the browser it changes the encoding on the file to utf 8
94: [01:56:59] <mirrors> or anyone else for that matter
95: [01:58:18] * micmania1 has joined #silverstripe
96: [02:00:27] <Tanger> What's the issue mirrors?
97: [02:00:32] * lerni has joined #silverstripe
98: [02:02:07] <irogue_> mirrors: if it's only happening on your local, my suspicion would be that some php config on your local machine is overriding the header
99: [02:02:20] <irogue_> no idea where to look though
100: [02:04:06] <Ryan-Toast> where is the <% loop %> function in framework?
101: [02:05:03] * muskie9 is now known as _muskie9_
102: [02:05:04] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
103: [02:05:06] <Stomach> SSTemplateParser I think
104: [02:05:09] <Colin[pi]> Ryan-Toast: SSTemplateParser
105: [02:05:16] <Ryan-Toast> chur
106: [02:06:02] * lerni quit (Ping timeout: 258 seconds)
107: [02:07:47] * muskie9 has joined #silverstripe
108: [02:09:30] * r_hector quit (Quit: Leaving.)
109: [02:11:22] * UncleCheese has joined #silverstripe
110: [02:11:42] <Ryan-Toast> How would you loop through a HasManyList in the cotroller, i.e if you wanted a literal field to display all their ID’s?
111: [02:12:42] <UncleCheese> foreach($this->HasManyRelation() as $foo)
112: [02:12:55] <mirrors> Tanger: I am using the secureassets module where a controller sends the file. However on my local the controller is sending the file with different encoding which means I cannot view the file...if i convert the encoding, the file can open correclty
113: [02:13:24] <Ryan-Toast> UncleCheese: Orly? I thought it just had the dataQuery inside
114: [02:13:30] <mirrors> irogue_: yeah i think that must be the issue.....was hoping someone could point me in the right direction
115: [02:13:43] <Stomach> Ryan-Toast - it executes when you need it, so a foreach does that
116: [02:13:51] <UncleCheese> Ryan-Toast as soon as you loop, it executse
117: [02:14:01] <UncleCheese> lazy loading ftw
118: [02:14:05] <Ryan-Toast> Holla holla get dolla, y'all
119: [02:14:12] <irogue_> *magic*
120: [02:14:21] <Stomach> *magic*
121: [02:14:24] <Ryan-Toast> irogue_: http://i.imgur.com/Dhlw3.gif
122: [02:14:24] <Tanger> mirrors: Check the headers and post being recieved using FireBug or the dev tools
123: [02:14:34] <UncleCheese> although i'm a big fan of $this->HasManyRelation()->each(function (item) {} );
124: [02:15:01] <Tanger> mirrors: Then compare it a successful file send
125: [02:15:09] <Tanger> See which headers or post vars are missing
126: [02:15:45] <Tanger> It could help you narrow it down, but it does sound like the wrong headers are being sent
127: [02:15:53] <Ryan-Toast> UncleCheese: any reason, or just preference?
128: [02:16:27] <UncleCheese> no great reason.. just because i like JS
129: [02:16:28] <UncleCheese> :)
130: [02:16:40] <UncleCheese> i guess you could make the argument that it's useful for scoping, though
131: [02:16:40] <Colin[pi]> dem closures
132: [02:17:34] <Colin[pi]> UncleCheese: that sort of syntax is very similar to smalltalk collections/enumerators that I did at uni, which was also awesome
133: [02:18:33] <UncleCheese> actually, another arguement might be that by handing off the looping to a user-defined function (each()), you're future proofing
134: [02:18:52] <UncleCheese> maybe somewhere down the track SS will optimise their loops with yield or something
135: [02:19:00] <UncleCheese> "generators" as their called
136: [02:19:04] <UncleCheese> they're
137: [02:19:28] <mirrors> Tanger: here are both the headers http://www.sspaste.com/paste/show/542b5f9bb19fd
138: [02:19:38] <mirrors> they are pretty much the same
139: [02:19:49] <Stomach> UncleCheese - hah! generators! php 5.3.3
140: [02:19:52] <Stomach> :(
141: [02:20:07] <Stomach> SS is 3 point releases behind PHP now :(
142: [02:20:17] <Stomach> minor not point
143: [02:20:18] <Stomach> >_<
144: [02:20:19] <UncleCheese> i know
145: [02:20:36] <UncleCheese> a deprecated version of php
146: [02:20:43] <UncleCheese> it's not even supported anymore
147: [02:20:54] <UncleCheese> i pushed a change up to ss.org recently and it blew up the site
148: [02:21:02] <UncleCheese> despite it working on staging
149: [02:21:05] <UncleCheese> what was my crime?
150: [02:21:16] <UncleCheese> $array = ['foo', 'bar'];
151: [02:21:20] <novaweb> Being too cheesy...
152: [02:21:21] <UncleCheese> Oh nooooooooo!!!!!!!!!!!!!!!
153: [02:21:23] <Stomach> yeah I've done that a couple of times
154: [02:21:47] <Stomach> pushing code to a large client who runs their own infrastructure and I had to go through all my code and convert all my arrays
155: [02:21:51] <Stomach> ballsssss
156: [02:21:56] <Stomach> and remove Cam's lovely cache manager
157: [02:23:15] <Colin[pi]> UncleCheese: any advantage to using the new format apart from it looks more like JS?
158: [02:23:29] <UncleCheese> no it's just way less verbose
159: [02:24:00] <irogue_> I was so happy when PHP finally introduced that syntax
160: [02:24:49] <UncleCheese> yeah, totally
161: [02:25:08] <Colin[pi]> about freakin time
162: [02:25:18] <Tanger> mirrors: Hmmm, So the file is in utf-8 only when it's served? try going into secureassets/code/SecureFileController.php and add an FB on line 54 that checks out the $request before it's returned
163: [02:27:01] <Tanger> And make sure your local .htaccess and apache2.conf doesn't have anything that may be messing with the encoding
164: [02:28:48] <mirrors> Tanger: The execution wont make it to line 54....will return the function on line 44
165: [02:29:34] * muskie9 is now known as _muskie9_
166: [02:29:36] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
167: [02:35:41] <Tanger> mirrors: Righto, go and FB out the HTTP::get_mime_type result on line 73 just to be sure it's outputting the right thing before sending the file.
168: [02:38:20] * muskie9 has joined #silverstripe
169: [02:38:21] * Bollig|DesignCty quit (Read error: Connection reset by peer)
170: [02:45:40] * camfindlay has left #silverstripe
171: [02:51:31] <Ryan-Toast> Is there a default method that shows/hides fields in the cms depending on something like an optionset? Or do I have to roll my own
172: [02:51:48] <Stomach> theres a module to do it
173: [02:52:21] <Ryan-Toast> Don’t like modules, I’lkl make my own :P
174: [02:53:45] <Stomach> actually that might be for the front end
175: [02:53:55] <Stomach> who knows
176: [02:53:59] <Stomach> entwine all the things
177: [02:55:34] <Ryan-Toast> yeah, just started my page builder module, so going to have different item types: http://i.imgur.com/ZpcOvoL.jpg
178: [02:57:14] <Stomach> so many different page builders out there now
179: [02:57:18] <Stomach> all of them different
180: [02:57:19] <Stomach> :D
181: [02:57:29] <Ryan-Toast> yeah, none of them I like
182: [02:58:21] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
183: [02:58:34] <Tanger> Hey guys, how deeply embedded is tinymce into SS?
184: [02:59:40] <Colin[pi]> Tanger: traditionally it's been more like how deeply is SS embedded into tinymce
185: [02:59:48] <Tanger> haha
186: [02:59:55] <Colin[pi]> there is talk (work?) on replacing it with CKeditor I think
187: [03:00:04] <Colin[pi]> or having an option for it at least
188: [03:00:08] <Ryan-Toast> I believe it’s pretty decoupled now.
189: [03:00:17] <Ryan-Toast> there’s already a good CKeditor module
190: [03:00:32] * lerni has joined #silverstripe
191: [03:00:38] <Ryan-Toast> https://github.com/chillu/silverstripe-ckeditor
192: [03:03:24] * micmania1 quit (Quit: micmania1)
193: [03:04:41] <mirrors> Tanger: they both return "image/jpeg"
194: [03:05:03] * muskie9 has joined #silverstripe
195: [03:05:13] * micmania1 has joined #silverstripe
196: [03:05:53] * lerni quit (Ping timeout: 240 seconds)
197: [03:06:46] <Tanger> mirrors: You're absolutely sure the file being sent isn't improperly encoded on the server before it gets sent?
198: [03:09:01] <Tanger> Because if it's fine, the .htaccess is the next best thing to check
199: [03:10:55] <Tanger> Check for AddCharset calls and anything that plays with the headers
200: [03:13:14] <Mish_> Gah why you know show my field! Anyone know why a simple contact form wouldn’t be displaying an OptionsetField on frontend…?
201: [03:15:47] <Mish_> ermahgerd…nevermind me, was calling the wrong form >.>
202: [03:16:23] <mirrors> Tanger: yes because if I remove the .htaccess (reverting back to direct access to the file) the image can be served...also I can simply navigate to where it "was uploaded" and check the encoding there
203: [03:17:25] * muskie9 is now known as _muskie9_
204: [03:17:37] <hailwood> Is there a quick way to add a class to an image in a template? such that $Image will print out the whole markup for the image, I want something like $Image.setClass('img-responsive')
205: [03:17:56] <Tanger> hailwood: ->addExtraClass()
206: [03:18:25] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
207: [03:18:45] <Tanger> mirrors: Ok, probs best to check the .htaccess for something that may be filtering filetypes and setting content-type or charsets
208: [03:21:18] * muskie9 has joined #silverstripe
209: [03:30:13] * cloph has joined #silverstripe
210: [03:30:28] * cloph_away quit (Ping timeout: 260 seconds)
211: [03:32:07] * muskie9 is now known as _muskie9_
212: [03:32:08] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
213: [03:38:30] <Ryan-Toast> How do I get the edit link for a dataobject in the controller?
214: [03:45:32] * novaweb quit ()
215: [03:47:08] * Bollig|DesignCty has joined #silverstripe
216: [03:48:31] <Tanger> Ryan-Toast: Ooh, I think I did this recently
217: [03:48:44] <Ryan-Toast> Tanger: *breathing intensifies*
218: [03:49:29] <Tanger> Ryan-Toast: Using a gridfield: Controller::curr()->redirect(Controller::curr()->join_links($grid->Link('item'), $do->ID . '/edit'));
219: [03:49:56] <Tanger> Minus the redirect part
220: [03:50:14] <Ryan-Toast> Tanger: What’s the $grid->Link('item') ?
221: [03:50:41] <Tanger> Gets the URL for the Gridfield and appends ('item') to the end of it
222: [03:51:04] <Ryan-Toast> So $grid is your “new gridfield” ?
223: [03:51:11] <Tanger> Yeah
224: [03:51:19] <Tanger> The gridfield that handles the data objects
225: [03:53:22] <Ryan-Toast> Tanger: Hmm, may be a little different since I’m in a DataExtension
226: [03:56:48] <Tanger> Are you working with a gridfield?
227: [03:57:17] * Shrike_Finland has joined #silverstripe
228: [03:58:41] <Ryan-Toast> Tanger: There is a griudfield on the page.
229: [03:58:45] <Ryan-Toast> gridfield**
230: [03:59:07] * jedateach quit (Quit: jedateach)
231: [04:00:30] * lerni has joined #silverstripe
232: [04:02:27] * Phlunk3 quit (Remote host closed the connection)
233: [04:02:58] <Tanger> Ryan-Toast: Well, if you can access the gridfield, especially seeing as it pulls it from the current Controller
234: [04:03:20] <Ryan-Toast> Tanger: Would I have to do owner then?
235: [04:03:33] * muskie9 has joined #silverstripe
236: [04:03:46] <Tanger> I don't think so, seeing as it's not a field.
237: [04:04:28] <Tanger> I think one option that may work to get the ball rolling would be to create an identical gridfield in the function that uses the same DataList or RelationList as the DataObjects you want to edit
238: [04:04:45] <Tanger> Then getting the edit link from that without actually using it for anything else'
239: [04:05:39] <Ryan-Toast> Tanger: This is what it looks like: http://www.sspaste.com/paste/show/542b788c5f8ae
240: [04:05:55] * micmania1 has left #silverstripe
241: [04:06:29] * lerni quit (Ping timeout: 260 seconds)
242: [04:07:24] * nickmolhoek quit (Quit: nickmolhoek)
243: [04:08:35] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
244: [04:08:37] <Tanger> Ryan-Toast: Inside the foreach loop, you should be able to use $gridField->Link and use the $key to get the Item's ID
245: [04:08:59] <Ryan-Toast> Tanger: I tried that, but it doesn’t like it.
246: [04:09:06] <Tanger> What's it say?
247: [04:09:29] <Ryan-Toast> Tanger: “ Call to a member function FormAction() on a non-object”
248: [04:11:35] <Tanger> Ryan-Toast: the gridfield exists as an object if you firebug it out?
249: [04:11:57] <Ryan-Toast> Tanger: The gridfield works on the actual page, which is why it’s weird.
250: [04:12:26] * willr quit (Quit: willr)
251: [04:13:33] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
252: [04:14:28] <Tanger> Ryan-Toast: Weird...
253: [04:14:38] <Ryan-Toast> Tanger: sounds like a Thursday problem to me
254: [04:14:46] <Tanger> :D
255: [04:14:47] <Ryan-Toast> Cheers for the help anyhow.
256: [04:14:52] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
257: [04:14:54] <Tanger> Due tomorrow, do tomorrow
258: [04:15:00] <Tanger> No worries, sorry it didn't pan out
259: [04:15:51] <Ryan-Toast> Tanger: Starting to look nice at least: http://i.imgur.com/vv24LBM.jpg
260: [04:16:19] <Tanger> Ryan-Toast Hells yeah man! Looks awesome
261: [04:16:40] <Ryan-Toast> Welp, traffic battling time.
262: [04:16:55] <irogue_> fuck traffic
263: [04:17:11] <Ryan-Toast> I just use the bus lanes anyway.
264: [04:17:19] <irogue_> <3 train
265: [04:17:24] <Ryan-Toast> <3 motorbike
266: [04:17:33] <irogue_> <3 chocolate
267: [04:17:58] <Ryan-Toast> <3 long walks on the beach and conversations about feelings.
268: [04:18:55] <irogue_> hmm, 50/50
269: [04:20:04] <Stomach> eww
270: [04:20:05] <Stomach> feelings
271: [04:20:08] <Stomach> beer and book time
272: [04:20:11] <Stomach> <3 wednesdays
273: [04:20:16] * Kingy is now known as Kingy[a]
274: [04:21:37] * Bollig|DesignCty has joined #silverstripe
275: [04:35:18] <Tanger> Ryan-Toast: Hey man, is that PageItems module on git?
276: [04:38:27] * adrexia_ has joined #silverstripe
277: [04:39:26] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
278: [04:43:26] * Ryan-Toast quit (Quit: Ryan-Toast)
279: [04:43:49] * Ryan-Toast has joined #silverstripe
280: [04:49:19] * CarlosGurerra has joined #silverstripe
281: [04:50:54] * CarlosGurerra has left #silverstripe
282: [04:55:29] <Shrike_Finland> Morning!
283: [04:56:15] <Shrike_Finland> Have anyone experienced chmod not working right on SS3.1.6 on Upload folder and files in it?
284: [04:58:25] <Colin[pi]> Shrike_Finland: dont think I've ever experienced chmod not working right
285: [04:58:31] <Colin[pi]> unless it was moi, user error
286: [05:00:31] * lerni has joined #silverstripe
287: [05:01:15] <Shrike_Finland> I have one installation of SS, where every file gets 666
288: [05:01:51] * SightUnseen has joined #silverstripe
289: [05:02:31] <spronk> Ryan-Toast, what is that...?
290: [05:03:22] <spronk> page builder..
291: [05:03:28] <spronk> integrate it with widgets
292: [05:03:29] <spronk> and winrar.
293: [05:03:52] * Ryan-Toast quit (Quit: Ryan-Toast)
294: [05:04:03] * FrozenFire quit (Quit: There's no place like ~)
295: [05:04:22] * veb has joined #silverstripe
296: [05:05:27] <Shrike_Finland> I ment 644 :)
297: [05:05:49] * FrozenFire has joined #silverstripe
298: [05:06:13] * lerni quit (Ping timeout: 260 seconds)
299: [05:06:47] * tractorcow quit (Quit: tractorcow)
300: [05:08:25] * veb quit (Client Quit)
301: [05:12:33] <Colin[pi]> for fucks sake microsoft
302: [05:12:41] <Colin[pi]> all I want to do is download a Win 8.1 iso
303: [05:12:43] <Colin[pi]> but no
304: [05:12:55] <Colin[pi]> you have to make it as convulted and difficult and retarded as possible
305: [05:13:18] <Bollig|DesignCty> get you ready for using windows 8.1 maybe?
306: [05:13:24] <Colin[pi]> lel
307: [05:13:45] <Colin[pi]> the install/download process is so dumb
308: [05:13:51] <Colin[pi]> I have a valid win 8 pro key
309: [05:14:03] <Colin[pi]> which allows me to install 8.1 as well
310: [05:14:12] <Colin[pi]> but the installer does not accept the 8 key
311: [05:14:27] <Colin[pi]> so I have to start the 8 install with my key... wait until it starts downloading version 8
312: [05:14:30] <Colin[pi]> then pause the download
313: [05:14:31] <Colin[pi]> close the app
314: [05:14:37] <Colin[pi]> start the 8.1 installer
315: [05:14:43] <Colin[pi]> it detects download is paused
316: [05:14:51] <Colin[pi]> and then allows me to start the 8.1 download
317: [05:14:58] <Colin[pi]> RE-TAR-DED
318: [05:16:28] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
319: [05:20:05] <spronk> lul
320: [05:20:47] * SightUnseen has left #silverstripe
321: [05:28:21] * Shrike_Finland quit (Quit: Leaving.)
322: [05:29:51] * Shrike_Finland has joined #silverstripe
323: [05:31:38] <Colin[pi]> man this new cpu cooler is insane
324: [05:31:55] <Colin[pi]> it's sitting at 10C less than the stock, on a 500MHz overclock
325: [05:34:59] * Frans_Amsterdam has joined #silverstripe
326: [05:35:03] <spronk> nice
327: [05:36:35] <Frans_Amsterdam> Hi There all, anyone familiar with SS hosting on VPS Digital Ocean? I cannot config the mod_rewrite the right way.
328: [05:37:18] <spronk> Frans_Amsterdam, i've done it beofre
329: [05:37:25] <spronk> vanilla install of mod_rewrite and vanilla SS works fine on a debian 7 vm
330: [05:40:43] * r_hector has joined #silverstripe
331: [05:44:45] <Frans_Amsterdam> <spronk> No hassle withe .htaccess or virtual hosts?
332: [05:44:53] <spronk> didn't have any
333: [05:44:57] <spronk> Frans_Amsterdam, what's your setup?
334: [05:45:57] <Frans_Amsterdam> <spronk> the index.php keeps appearing in the URL
335: [05:46:38] <Frans_Amsterdam> I'm on Ubuntu 14 LTS, Apache2, php 5 and Mysql
336: [05:48:42] <crapwagon> Frans_Amsterdam: did u enable mod rewrite
337: [05:48:55] <crapwagon> oh i see sorry
338: [05:48:57] * crapwagon gets his coat
339: [05:49:32] <Frans_Amsterdam> crapwagon Yes installed it and enabled it on php.ini
340: [05:49:38] * Tia_ has joined #silverstripe
341: [05:50:38] <crapwagon> Frans_Amsterdam: you need to make sure your apache directive is set up to allow overrides on FIleInfo
342: [05:51:15] <Tia_> hi.. may i ask u about form in silverstripe? Newbies in silverstripe..
343: [05:51:21] <Tia_> I need some help here
344: [05:51:32] <Frans_Amsterdam> crapwagon That's arranged in Virtualhost?
345: [05:51:45] <crapwagon> you may want something like Options FollowSymLinks and AllowOverride FileInfo
346: [05:51:49] <crapwagon> in apache yeah
347: [05:52:42] <Tia_> nyone? I need to create a form that contain a country and when a user choose his country, they form shud asked him to choose his region
348: [05:53:14] <Tia_> if im not mistaken, i need to use ajax.. but im not pretty sure bout it.
349: [05:53:28] <Tia_> try sereval code.. still not working
350: [05:53:53] <Frans_Amsterdam> crapwagon I see check setting again, thanks
351: [05:58:34] <crapwagon> Frans_Amsterdam: when you use any module in apache you have to make sure any directives the module uses have the right overrides enabled in apaches config, it's not particularly obvious at first
352: [05:58:47] <crapwagon> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html see if you look at any directive here it has a 'Override' field in the table
353: [05:58:59] <crapwagon> telling you what apache state it wants to manipulate
354: [06:00:31] * lerni has joined #silverstripe
355: [06:06:31] * lerni quit (Ping timeout: 272 seconds)
356: [06:10:01] * lerni has joined #silverstripe
357: [06:13:27] * wmk has joined #silverstripe
358: [06:13:35] <wmk> re
359: [06:14:17] * lerni quit (Ping timeout: 260 seconds)
360: [06:17:44] * Mish_ quit (Quit: Mish_)
361: [06:24:40] * Adesso has joined #silverstripe
362: [06:25:49] * lerni has joined #silverstripe
363: [06:37:55] <Frans_Amsterdam> crapwagon Thanks for the URL. I have to study. ;-)
364: [06:43:22] * Tia_ quit (Ping timeout: 246 seconds)
365: [06:49:02] <wmk> g'morning Adesso
366: [06:49:09] <wmk> Adesso, will you arrive on thursday?
367: [06:53:55] <Adesso> Moin
368: [06:54:06] <Adesso> yup ..
369: [06:54:57] <Adesso> but not 100% how late
370: [06:55:25] <Adesso> we will leave here @ 17:00 I think
371: [06:55:28] <ss23> did the eu meetup happen yet?
372: [06:55:36] <Adesso> going down this weekend
373: [06:55:49] <ss23> cooooool
374: [06:58:58] * Stomach quit (Quit: bye)
375: [06:59:58] * veb has joined #silverstripe
376: [06:59:59] <wmk> there are some really interesting talks.
377: [07:21:36] * Gadzina has joined #silverstripe
378: [07:22:54] * Frans_Amsterdam quit (Read error: Connection reset by peer)
379: [07:24:34] * willr has joined #silverstripe
380: [07:37:39] * stojg has joined #silverstripe
381: [07:38:35] <ss23> stojg: TESTS FAILED :D
382: [07:41:19] <stojg> awesome, can't be bothered to run tests locally at the moment because Im way to sober
383: [07:41:26] <ss23> XD
384: [07:41:41] <ss23> stojg: Also, I was slightly confused. How does the code you wrote allow you to select the actual environment?
385: [07:42:51] <stojg> When getting the deployment backend, all the "jobs" are calling $environment->Deploy() instead of DNGODDATA::Deploy()
386: [07:44:10] <willr> zomg it’s a stojg
387: [07:44:31] <ss23> stojg: I meant the UI for it
388: [07:44:53] <ss23> Like, creating a new AWS enviornment or w/e
389: [07:44:59] <stojg> Oh, it's ajshorts GridFieldAddNewMultiClass
390: [07:45:06] * stnvh has joined #silverstripe
391: [07:45:09] <willr> I really hope your class is actually called DNGODDATA.
392: [07:45:18] <Tanger> Lol
393: [07:45:21] <willr> Sounds important.
394: [07:45:29] <stojg> DNGodzillaData
395: [07:46:01] <stojg> That class is as nice as the old testament god.
396: [07:46:17] <willr> I for one bow to the DN GOD over lords.
397: [07:47:20] <ss23> stojg: ah kk, I havne't looked at it, but if it works o/
398: [07:48:19] <stojg> ss23: now it's my turn to get my code ripped to pieces :P
399: [07:48:25] <ss23> :P
400: [07:48:33] <ss23> Not if I merge it first...
401: [07:48:35] <ss23> :D
402: [07:51:50] * Shrike_Finland quit (Quit: Leaving.)
403: [07:53:40] <wmk> hey, afaik Zauberfisch or someone else posted a link to a tool where you can generate some "code on screen" images
404: [07:53:45] <wmk> anyone knows the url?
405: [07:53:53] * Colin[pi] quit (Ping timeout: 240 seconds)
406: [08:02:17] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
407: [08:02:42] * Bollig|DesignCty has joined #silverstripe
408: [08:03:22] <Tanger> "code on screen" images?
409: [08:03:38] <wmk> found it... instacod.es
410: [08:04:07] <ss23> oh yeah
411: [08:04:10] <ss23> that one is pretty
412: [08:04:10] <ss23> :D
413: [08:04:34] <wmk> #iceberg {display: block;} #titanic {float: none}
414: [08:05:31] * guci0 has joined #silverstripe
415: [08:05:43] <guci0> Yo Yo!
416: [08:05:52] <wmk> jojo?
417: [08:06:46] <guci0> This means "hello world" :)
418: [08:07:04] <wmk> that's so meta
419: [08:07:13] * Bollig|DesignCty quit (Ping timeout: 260 seconds)
420: [08:07:15] <ss23> even this acronym
421: [08:07:49] * ocmnt has joined #silverstripe
422: [08:08:28] <wmk> isn't firefox 32 a webgl-compatbile browser???
423: [08:09:05] * Shrike_Finland has joined #silverstripe
424: [08:09:18] * kinglozzer has joined #silverstripe
425: [08:12:14] <ocmnt> howdy
426: [08:12:26] <ss23> ;_;
427: [08:12:36] <ss23> I made a typo just before PR was merged
428: [08:12:37] <ss23> :(
429: [08:12:51] <stojg> ss23: http://33.media.tumblr.com/3f7bb4dc949c719f9ffc33fd5c5baee6/tumblr_nck9j4sOey1s373hwo1_400.gif
430: [08:12:59] <ss23> stojg: I'm crying IRL ;_;
431: [08:13:07] <ss23> (Okay not really)
432: [08:13:26] <stojg> I will await your new PR and a offical apology
433: [08:14:02] * willr quit (Ping timeout: 245 seconds)
434: [08:14:12] <wmk> hey ocmnt
435: [08:14:41] <ss23> :(
436: [08:17:48] <wmk> damnit, i only get a black picture while posting some code there :(
437: [08:19:06] <ss23> wmk: Hmm, me too
438: [08:19:08] <ss23> Broken!
439: [08:19:17] <wmk> shit.
440: [08:24:49] <wmk> ss23 do you know an alternative?
441: [08:25:09] <ss23> Nope
442: [08:25:15] <wmk> :(
443: [08:25:25] <ss23> How quick do you need it? I'm sure with 2 days space you could write one yourself
444: [08:25:28] <ss23> :D
445: [08:28:09] <ocmnt> anyone uses the mobile addon for ss?
446: [08:28:16] <ocmnt> it redirects ipad users aswell, don't need taht :o
447: [08:28:17] * spronk2 has joined #silverstripe
448: [08:30:50] <wmk> ocmnt, hm, no. isn't it outdated in favour of responsive design?
449: [08:31:30] <ss23> It's all about adaptive now
450: [08:31:44] <wmk> a new buzzword?
451: [08:32:06] <ss23> :D
452: [08:32:13] <ss23> It's not buzz if you buy into it
453: [08:32:40] <wmk> explain to me: wikipedia doesn't have much information ;)
454: [08:32:40] <ocmnt> I know responsive should be the way, but the website is mobile/notmobile already
455: [08:32:53] <ocmnt> just upgraded from 2.4 to 3.1, client wants to keep different designs
456: [08:32:54] <ss23> spronk2: whats adapctive vs responseive?
457: [08:33:04] <ss23> wmk: http://www.techrepublic.com/blog/web-designer/what-is-the-difference-between-responsive-vs-adaptive-web-design/
458: [08:33:16] <spronk2> ?
459: [08:33:19] * mirrors quit (Quit: Page closed)
460: [08:33:43] <spronk2> its all the fucking same
461: [08:33:56] <ss23> NU UH
462: [08:34:24] <wmk> oh, AWD was an ugly company in germany. couldn't you please use antother term for it?
463: [08:35:26] <wmk> so in theory it's responsive plus javascript ??
464: [08:35:42] <ss23> XD
465: [08:36:17] <kinglozzer> Morning guise
466: [08:36:25] <ss23> I duno
467: [08:36:25] <ss23> :P
468: [08:36:25] <ss23> I don't do frontend if I can help it
469: [08:36:25] <ss23> moin kinglozzer ^.^
470: [08:36:28] <kinglozzer> ocmnt: anyone uses the mobile addon for ss?
471: [08:36:43] <kinglozzer> I did, ended up not using composer because the browser detection was so shit
472: [08:36:58] <kinglozzer> :P
473: [08:37:00] <wmk> ss23, !!!
474: [08:37:08] <ss23> !!!!11
475: [08:38:09] <wmk> !!!!eleven!!!!!one!!1!
476: [08:38:10] <ocmnt> kinglozzer, not helping here :P
477: [08:38:15] <ocmnt> need to get tablets out of there
478: [08:38:20] <ocmnt> but nothing seems to do the trick :/
479: [08:38:45] <kinglozzer> ocmnt: Yeah we gave up because our mobile site was kinda 'adaptive' enough for it to work on tablets
480: [08:38:53] * kinglozzer doesn't miss that project
481: [08:39:07] <ocmnt> my preference is adaptive aswell
482: [08:39:11] <kinglozzer> ocmnt: Google it!
483: [08:39:14] <kinglozzer> :P
484: [08:39:17] <ocmnt> but clients gonne client (to give some famous quote)
485: [08:39:56] <kinglozzer> ocmnt: WAIT https://github.com/silverstripe/silverstripe-mobile/blob/master/code/MobileBrowserDetector.php#L125-L166
486: [08:40:14] <ocmnt> so what, should I just remove that part?
487: [08:40:21] <ocmnt> all it does is returning false right now
488: [08:40:24] <ocmnt> that did not solve it
489: [08:40:30] <kinglozzer> Oh er
490: [08:40:31] <ocmnt> surprisingly
491: [08:40:35] <kinglozzer> idk if it actually uses that function anywhere
492: [08:40:39] <kinglozzer> :P
493: [08:40:51] <kinglozzer> damn, the module is a bit of a mess
494: [08:41:01] <ocmnt> I don't think it does use that function
495: [08:42:04] <ocmnt> perhaps I just write my own mobiledetection
496: [08:42:40] * Frans_Amsterdam has joined #silverstripe
497: [08:43:10] <kinglozzer> ocmnt: We had to patch the class in our project because it wasn't detecting CrackBerry phones or Windows Phone 8
498: [08:43:23] <kinglozzer> Just looked at file history, we didn't bother with iPad, sorry :(
499: [08:44:25] <spronk2> lo kl
500: [08:46:05] <kinglozzer> lo spronk2
501: [08:46:38] <Frans_Amsterdam> Hi all again, I like this place. Off course I have a "like to know why". After installing SS on an VPS (Digital Ocean, Ubuntu 14 LTS, LAMP-stack) in ran into some troubles with Friendly URL's. Atleast I removed the index.php file. I like to know if it is good practice and why? Other installation did not require the removal of the index.php. Already thanks for reading.
502: [08:47:07] <kinglozzer> Frans_Amsterdam: We run DigitalOcean and I do the same thing
503: [08:47:15] <kinglozzer> It depends on Apache version IIRC
504: [08:47:35] <kinglozzer> I think newer Apache will prioritise index.php over rewrites or something stupid
505: [08:47:43] <ocmnt> kinglozzer, thnx for thinking along seems I have to write some own detection
506: [08:47:54] <ocmnt> (read, copy paste some code)
507: [08:48:14] <kinglozzer> ocmnt: Yeah, the other thing is the android detection is completely broken too for new Android phones :P
508: [08:48:28] <kinglozzer> (there's docs by Google on the correct way to detect somewhere)
509: [08:48:38] <wmk> kinglozzer, really? shouldn't .htaccess be prioritised?
510: [08:49:02] <Frans_Amsterdam> kinglozzer Aha, it means that it is common practice on Digatal Ocean. It cannot harm the installation?
511: [08:49:02] <kinglozzer> wmk: It should, simon_w explained it properly before but I can't remember :P
512: [08:49:22] <kinglozzer> Frans_Amsterdam: No, it won't do any harm. It's not being used for anything if you've got mod_rewrite enabled :)
513: [08:49:22] <wmk> weird.
514: [08:49:43] <Frans_Amsterdam> kinglozzer Thanks!
515: [08:53:43] <kinglozzer> Frans_Amsterdam, wmk: https://groups.google.com/d/msg/silverstripe-dev/-xH6yZfC5Tc/qR1Rnwl8Le4J
516: [09:02:04] * Shrike_Finland quit (Quit: Leaving.)
517: [09:09:37] * veb has joined #silverstripe
518: [09:11:01] * cupcake_ has joined #silverstripe
519: [09:11:16] <cupcake_> morning people
520: [09:11:52] <cupcake_> is there a way to reload admin editform from javascript without having the 'No dont delete this' button appearing twice?
521: [09:16:02] * Robke has joined #silverstripe
522: [09:16:48] <Robke> hello :) i have holder of articles and articles :) what i want to sort them by date in CMS. how could i do this? :)
523: [09:18:53] * stojg quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
524: [09:19:33] * Tanger quit (Quit: Tanger)
525: [09:20:19] * joelpittet has joined #silverstripe
526: [09:27:31] * NETim quit (Ping timeout: 246 seconds)
527: [09:35:51] * StefanLehmann quit (Read error: Connection reset by peer)
528: [09:37:18] * StefanLehmann has joined #silverstripe
529: [09:38:33] <wmk> Robke, define $default_sort property in your Articles class ?
530: [09:38:48] <wmk> though SiteTree has "Sort" as default_sort
531: [09:40:53] <Robke> it soesnt work but i solved problem via template :D
532: [09:41:02] <Robke> Children.solr(Date DESC)
533: [09:42:02] <wmk> of course. sorting it in backend is a bit trickier
534: [09:48:30] <Robke> yeah :)
535: [09:48:33] <Robke> still learning
536: [09:49:21] <ocmnt> mobile detection problem solved \o/
537: [09:49:43] <Adesso> I am re-visiting a small bug in my CMS again ...
538: [09:49:56] <Adesso> and was wondering how to debug a ajax problem...
539: [09:49:57] <ocmnt> http://mobiledetect.net does the trick for me
540: [09:50:12] <ocmnt> Adesso, debug console?
541: [09:50:16] <Adesso> in Chrome my Console shows no errors
542: [09:50:27] <ocmnt> the request neither?
543: [09:50:31] <Adesso> actually I don't really get any errors
544: [09:50:39] <Adesso> I just get a empty response
545: [09:50:53] <Adesso> on Refresh the CMS loads everything
546: [09:51:05] <Adesso> and the action is only not loaded on create
547: [09:51:05] <wmk> Adesso, xdebug...
548: [09:51:12] <Adesso> on Edit everything works ..
549: [09:51:25] * Adesso will give it a go again
550: [09:51:25] <ocmnt> is there an call at all?
551: [09:51:30] <ocmnt> or won't the call fire?
552: [09:51:53] <Adesso> Everything works... just not the response
553: [09:52:14] <Adesso> Creation is done.. DB updated .. just the CMS returns a blank Content Page
554: [09:52:24] <wmk> be sure to pass the xdebug param with the ajax call, i once had to modify it on the fly in firebug.
555: [09:52:35] <wmk> flush???
556: [09:53:03] <Adesso> This bug has been replicated ... so no, not a flush problem
557: [09:53:59] * Adesso looks at his felloww developers Netbeans...
558: [09:54:12] <Adesso> wmk, you said xdebug is easy on that ... right ?
559: [09:54:48] <Robke> ocmnt: why do you use deted mobile device?
560: [09:56:04] * Adesso takes the dive to install Netbeans :'( :'(
561: [09:56:18] <ocmnt> Robke, to show a mobile-website ;)
562: [09:57:41] * wmk quit (Ping timeout: 272 seconds)
563: [09:58:16] <Robke> like: mobile.whatever.com?
564: [09:59:27] <ocmnt> that, or just show different content
565: [10:00:09] * joelpittet quit (Remote host closed the connection)
566: [10:12:21] * Shrike_Finland has joined #silverstripe
567: [10:13:02] * spronk2 quit (Quit: spronk2)
568: [10:16:30] * superspring quit (Quit: No Ping reply in 180 seconds.)
569: [10:16:48] * superspring has joined #silverstripe
570: [10:25:45] * Shrike_Finland quit (Quit: Leaving.)
571: [10:30:04] * lerni quit (Remote host closed the connection)
572: [10:41:05] * spronk2 has joined #silverstripe
573: [10:42:34] * Shrike_Finland has joined #silverstripe
574: [10:44:02] * Otterpocket has joined #silverstripe
575: [10:47:42] * Shrike_Finland quit (Quit: Leaving.)
576: [10:58:49] * Adesso feels a bit stupid with xdebug and Netbeans running .... WTF
577: [10:59:08] <Adesso> It works, I just have no clue how to use it to find the bug
578: [10:59:29] <Adesso> :?
579: [11:00:49] * lerni has joined #silverstripe
580: [11:03:10] <Adesso> my blank page request comes every time I call "/admin/pages/edit/show/" and the new id....
581: [11:03:21] <ss23> check error logs?
582: [11:03:22] <Adesso> what file do I watch/debug ?
583: [11:03:23] <ss23> sounds like an error
584: [11:03:38] <ss23> If you're doing it with apache, check your apache error log, and set the site in dev mode
585: [11:03:42] <Adesso> apache error logs has nothing
586: [11:03:43] * lerni quit (Read error: Connection reset by peer)
587: [11:03:51] <Adesso> Site is in Dev mode
588: [11:03:56] * lerni has joined #silverstripe
589: [11:04:09] <Adesso> apache set too all errors warning and and
590: [11:04:47] <Adesso> as far as I can see it's not a error per say
591: [11:05:47] * spronk2 quit (Quit: spronk2)
592: [11:06:30] <Adesso> this is really messing with my mind
593: [11:07:45] <Adesso> Let me explain the actions
594: [11:08:12] * lerni quit (Ping timeout: 245 seconds)
595: [11:08:26] <spronk> look for syntax errors in your code bro
596: [11:08:53] <Adesso> I click on Add in the CMS > get the Page type screen (Select any option) > Create ---- Blank
597: [11:09:10] <Adesso> F5 -> and everything is ther e
598: [11:09:14] <Adesso> F5 -> and everything is there
599: [11:09:22] <ss23> hmm
600: [11:09:27] <ss23> WEird
601: [11:09:28] <ss23> I don't know
602: [11:10:13] <Adesso> Somewhere in the ajax call the response is empty.. but the action works.. the page get's created..
603: [11:10:49] * Adesso can only think of one thing that could maybe mess with the calling functions, the Slug
604: [11:11:05] <kinglozzer> Adesso: White screen? Check you don't have any whitespace before the opening <?php tag in any of your files
605: [11:11:53] * Adesso remebers seeing a script somewhere for this .. anybody ?
606: [11:12:18] <Adesso> it's not the Slug
607: [11:12:41] <Adesso> nix ..
608: [11:13:27] * Adesso decides to get this Schnitzel first
609: [11:13:35] <Otterpocket> Am I correct to assume that my DataObject properties are written using the add() method?
610: [11:13:43] <Adesso> Lunch ..
611: [11:14:46] <kinglozzer> Otterpocket: Which add() method?
612: [11:15:10] <Adesso> http://doc.silverstripe.org/framework/en/installation/common-problems
613: [11:15:14] <kinglozzer> (how are you calling it/what are you trying to do)
614: [11:15:35] <Otterpocket> kinglozzer: I am adding a has_many relationship
615: [11:15:55] <kinglozzer> Otterpocket: Yeah, in that case it will be written
616: [11:16:05] <kinglozzer> http://api.silverstripe.org/3.1/source-class-HasManyList.html#50-80
617: [11:16:26] <Otterpocket> kinglozzer: Ok, thanks, I wondered how it was being written without the write() method
618: [11:17:27] * xPJAX has joined #silverstripe
619: [11:17:51] * lerni_ has joined #silverstripe
620: [11:18:15] <xPJAX> anyone encountered "Uncaught TypeError: Cannot read property 'X-Pjax' of undefined" when tried to attach image from TinyMCE?
621: [11:19:55] <kinglozzer> xPJAX: Anything in error logs?
622: [11:20:35] <xPJAX> kinglozzer: where can I find one?
623: [11:20:49] <xPJAX> you mean apache error log?
624: [11:21:33] <kinglozzer> Yeah
625: [11:23:12] * [BNC]bull5hit has joined #silverstripe
626: [11:29:31] * ocmnt quit (Ping timeout: 272 seconds)
627: [11:32:49] * Robke quit (Ping timeout: 246 seconds)
628: [11:35:09] <xPJAX> kinglozzer: nope, nothing
629: [11:47:55] <kinglozzer> xPJAX: If you open your browser dev tools, then look at the raw response text when you attach an image, what does it look like?
630: [11:48:14] <kinglozzer> Also, make sure you're in dev mode, with display_errors on
631: [11:49:46] <kinglozzer> lol ss23, got a notification on my phone for your comment - instantly knew it was you from the snowmen :P
632: [11:49:49] <ss23> ^.^
633: [11:49:51] <ss23> I AM A SNOWMAN
634: [11:50:02] <ss23> Dedication to get github emails on your phone :P
635: [11:50:41] <kinglozzer> ss23: Gmail notifications ><
636: [11:50:49] <kinglozzer> MARK AS SPAM
637: [11:50:50] <kinglozzer> :D
638: [11:51:23] <ss23> Real men have a folder with 5k emails they've never seen o/
639: [11:52:22] <kinglozzer> I have a separate email account for shit I think will spam me, does that count? :P
640: [11:52:46] * adrexia_ quit (Quit: Textual IRC Client: www.textualapp.com)
641: [11:53:19] <ss23> Totally does
642: [11:54:09] <xPJAX> kinglozzer: "This request has no response data available"
643: [11:54:36] <kinglozzer> xPJAX: dev mode, display_errors on, error_reporting(E_ALL)
644: [11:54:40] <xPJAX> Content-Length:0
645: [11:54:54] <xPJAX> yup
646: [11:55:08] * Adesso found no blanks in his files... :(
647: [11:55:18] <kinglozzer> Response code? 200, 404 500?
648: [11:55:30] <xPJAX> 200
649: [11:55:37] <kinglozzer> What's the URL?
650: [11:56:18] <xPJAX> strangest part is that SECOND request is ok, first one is empty
651: [11:56:36] <xPJAX> but error in first request breaks entire JS
652: [11:56:51] * ocmnt has joined #silverstripe
653: [11:57:06] <xPJAX> when you hit URL of the request by hand (ie opening in new tab)
654: [11:57:10] <xPJAX> it works fine
655: [11:57:25] * Shrike_Finland has joined #silverstripe
656: [11:57:39] * Shrike_Finland1 has joined #silverstripe
657: [11:58:31] * Adesso looks at xPJAX... your problem is similar to mine --- I think
658: [11:59:27] <xPJAX> and this is second time it occurs - first time I "fixed" it by deleting all files and folders in assets (through CMS) and it magicaly started to work
659: [12:01:32] * Shrike_Finland quit (Ping timeout: 245 seconds)
660: [12:02:54] <xPJAX> sh*t
661: [12:03:12] <xPJAX> I might be on track with this...
662: [12:03:47] * Adesso is not getting anywhere whith his bug
663: [12:03:58] <Adesso> wiff :P
664: [12:05:14] <Adesso> then I guess I will hve to setup a new SS, and install the Controllers one by one .. to see where the bug is
665: [12:08:14] * Bollig|DesignCty has joined #silverstripe
666: [12:14:08] * Robke has joined #silverstripe
667: [12:14:13] * UndefinedOffset has joined #silverstripe
668: [12:14:14] <xPJAX> Adesso: what kind of bug you're expiriencing?
669: [12:14:36] <Adesso> I get a blank page response after creating a Page in the CMS
670: [12:14:43] <Adesso> no error's .. nuttin
671: [12:14:56] <Adesso> when I refresh.. the Page is however created
672: [12:15:17] <Adesso> is some weird sh*t
673: [12:15:44] <xPJAX> lol
674: [12:15:45] * Adesso is bustin his b**ls getting to the bottom of this
675: [12:15:59] <xPJAX> kinglozzer: just got 400 when trying to open page to edit
676: [12:16:05] <xPJAX> Ajax requests to this URL require an X-Pjax header.
677: [12:17:46] <xPJAX> it looks like X-Pjax is randomly stripped from request
678: [12:18:49] <xPJAX> opts = {pjax: xhr.getResponseHeader('X-Pjax') ? xhr.getResponseHeader('X-Pjax') : settings.headers['X-Pjax']};
679: [12:18:59] <xPJAX> that's the line that throws error
680: [12:27:32] * Adesso found the Controller !
681: [12:27:45] <Adesso> Can I have a Controller called ContentPage ?
682: [12:28:13] <Adesso> or rather .. is this legal ? class ContentPage extends Page {
683: [12:28:29] * Adesso thinks ContentPage is reserved
684: [12:29:16] * wmk has joined #silverstripe
685: [12:30:20] * Shrike_Finland1 quit (Quit: Leaving.)
686: [12:30:24] * Adesso removes his ContentPage again, and it works again
687: [12:30:38] <Adesso> this has to be it
688: [12:30:55] <wmk> hmmm... can you paste the code?
689: [12:31:06] <Adesso> sec
690: [12:31:55] <Adesso> :/
691: [12:33:31] <wmk> hm, no alcohol while on work
692: [12:34:35] <Adesso> Whenever I add this Controller, the bug starts .. http://pastebin.com/7bVbMHSX
693: [12:35:16] <Adesso> I really can't see the error
694: [12:35:43] * Erwin-C64 has joined #silverstripe
695: [12:37:28] <Adesso> If I just use ContentPage and Page .. it works ..
696: [12:37:46] <Adesso> the 2 Controllers in the mysite/code
697: [12:38:22] * Adesso is now even more dumbstruck
698: [12:39:04] * Adesso updates all his pastebin files
699: [12:39:12] <wmk> and what's the error?
700: [12:39:24] <Adesso> there is non
701: [12:39:33] <Adesso> just no response after page creation
702: [12:39:45] <Adesso> blank page with menu
703: [12:39:52] <Adesso> ajax is getting nuttin back
704: [12:40:38] <xPJAX> and if you remove all code, leaving just classes declarations?
705: [12:43:06] <wmk> the only thing that looks a bit mabe suspect: you have an underscore in Content_Extra.
706: [12:43:12] <wmk> dunno if it's allowed.
707: [12:43:21] <wmk> i don'T see any error right now.
708: [12:43:35] <wmk> get error logging working / look at apache error logs
709: [12:43:48] <wmk> a classical whitescreen of death :(
710: [12:44:15] <Adesso> ok .. lemme try getting rid of that
711: [12:44:26] <Adesso> btw. I updated all my Controllers on http://pastebin.com/u/Adesso
712: [12:45:44] <Adesso> nope... not the _
713: [12:46:12] <wmk> error log...
714: [12:46:36] <Adesso> still empty
715: [12:46:42] <Adesso> I have a tail running
716: [12:47:11] * Adesso still just sees the admin menu (/admin/pages/edit/show/16)
717: [12:47:19] <wmk> well, i'm busy right now, maybe i can help later on...
718: [12:47:26] <Adesso> When I refresh this Page .. everythin works
719: [12:47:29] <wmk> try calling this url manually in your browser
720: [12:47:31] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
721: [12:47:37] <Adesso> That works ..
722: [12:47:46] <Adesso> thanks anyway ;)
723: [12:48:04] * guci0 quit (Ping timeout: 246 seconds)
724: [12:48:10] * Adesso start a real Quest... with swords and dragons and stuff....
725: [12:48:51] <Adesso> what bothers me the most is this Controller http://pastebin.com/AWKdB0sv
726: [12:48:53] <xPJAX> Adesso: if you remove all code, leaving just classes declarations?
727: [12:49:06] <Adesso> This ContactForm is a bit Volitile
728: [12:49:27] <Adesso> mmm ... let me try this , but this should actually then work ..
729: [12:49:40] <Adesso> del del del
730: [12:51:52] <Adesso> uhmm ... this breaks rather ugly ..
731: [12:52:25] <Adesso> dev/build break... and plenty of apache errors
732: [12:52:38] <Adesso> starting with a nice fat SQL error
733: [12:52:55] <Adesso> rebuild fixed it ..
734: [12:53:26] <Adesso> =.0
735: [12:53:48] <Adesso> ok .. I have removed all code from all Controllers ...
736: [12:53:53] <Adesso> and it is still broken
737: [12:54:33] <Adesso> this now makes no sense
738: [12:54:59] <Adesso> I have 7 controller Files with no content but the declations ..
739: [12:55:06] <Adesso> and the same bug
740: [12:55:16] <Adesso> with no apache errors
741: [12:57:24] <Adesso> idea: Can extendet DataObject use the Page_Controller to extend it's Controller Part ?
742: [12:58:39] <Adesso> http://pastebin.com/8rGFRM5S #73
743: [12:58:54] <Adesso> maybe this is confusing SS
744: [13:02:40] * Adesso |~ break... I am dead in the water here.. not a clue
745: [13:05:23] * ocm has joined #silverstripe
746: [13:08:20] * ocmnt quit (Ping timeout: 272 seconds)
747: [13:08:20] * ocm is now known as ocmnt
748: [13:12:15] * Adesso start renaming all Controller
749: [13:14:36] * muskie9 has joined #silverstripe
750: [13:18:06] <Adesso> ok ... I might have found it .
751: [13:18:26] * r_hector quit (Quit: Leaving.)
752: [13:18:35] <Adesso> This seems to cause it >>class DistributorPage extends Page<<
753: [13:19:20] * Adesso tests it in the Project
754: [13:27:28] * LoveDuckie has joined #silverstripe
755: [13:28:24] * Adesso \o/
756: [13:28:37] <Adesso> 100% sure .. it's DistributorPage
757: [13:29:04] <Adesso> conclusion, you can't call a extended Page type DistributorPage
758: [13:29:14] <Adesso> for some unknown reason
759: [13:29:21] <Adesso> it breaks things
760: [13:30:41] <Adesso> 7me wonders why he has to get the weird errors.. :(
761: [13:30:47] * Adesso wonders why he has to get the weird errors.. :(
762: [13:33:13] * xPJAX quit (Ping timeout: 246 seconds)
763: [13:41:18] * Shrike_Finland has joined #silverstripe
764: [13:45:49] * Shrike_Finland quit (Client Quit)
765: [13:46:00] * catcher has joined #silverstripe
766: [13:50:19] * ss31noob has joined #silverstripe
767: [13:53:00] <Adesso> ok.. it seems to have nothing to do with DistributorPage as it is now called LandingPage, and still happens
768: [13:54:56] <wmk> Adesso, ????
769: [13:55:12] <Adesso> I am just trying anything
770: [13:55:17] <Adesso> and nothing is working
771: [13:55:34] <Adesso> I have removed all code from all Controllers
772: [13:55:40] <Adesso> and still I get this BUG
773: [13:58:12] <catcher> Adesso, what's the error in the web server error log?
774: [13:58:23] <Adesso> :'(
775: [13:58:33] <Adesso> as I have said before ... there is no error
776: [13:58:49] <wmk> there must be an error, i guess it's suppressed
777: [13:59:00] <catcher> just logged in. You need to enable error reporting
778: [13:59:14] <catcher> And dev mode, if you haven't
779: [13:59:50] <Adesso> php.ini > error_reporting = E_ALL
780: [14:00:53] <Adesso> mmmm seems someone removed my dev mode setting in _config ... >:(
781: [14:01:11] <wmk> ?isDev = 1
782: [14:01:37] <wmk> Adesso, if you have a _ss_environment : define dev/live there
783: [14:02:19] <wmk> (if not: put it on the growing list of things you should look into to become a better ss programmer)
784: [14:02:31] * wmk still has a so long list...
785: [14:06:27] <Adesso> Ich Ziehe den scheiß auf ne Laptop und nehme es nach hause heute ..
786: [14:06:37] <wmk> ;)
787: [14:06:41] <Adesso> oops
788: [14:06:43] <wmk> http://doc.silverstripe.org/framework/en/topics/debugging
789: [14:06:44] <Adesso> wrong window
790: [14:09:15] <wmk> you could also try to clean the ss cache manually. it should be save and regenerated on the next call. basically it's the same like ?flush=1 but sometimes...
791: [14:09:27] <wmk> mine is in /tmp/silverstripe-xxx/
792: [14:09:55] <Adesso> lemme ty that
793: [14:09:59] <Adesso> try
794: [14:10:14] <kinglozzer> Damnit. ->filter('Date:GreaterThanOrEqual', '2014-07-31 00:00:00'); returns no results. When I have that exact date in the database :(
795: [14:10:44] <wmk> and of course: we all don't know your server setup, so try to eliminate the white-scree-of-death
796: [14:10:49] <wmk> e.g. with help here: http://stackoverflow.com/questions/1475297/phps-white-screen-of-death
797: [14:13:28] <Adesso> I have done almost everything the mentioned ..
798: [14:13:41] <Adesso> just not the hardcore error reporting bit
799: [14:14:11] <Adesso> of writing my own handler ..
800: [14:14:33] <wmk> hmm...
801: [14:15:02] <catcher> kinglozzer, I use that same filter successfully, the only difference is I'm not passing the time.
802: [14:15:08] <wmk> but in dev mode it should output the error when you try to reload the page, e.g. /admin/pages/show/12
803: [14:15:25] <kinglozzer> catcher: I worked it out, I was derping with pagination ><
804: [14:15:37] <catcher> been there :)
805: [14:16:02] <Adesso> when I do a view source of the page
806: [14:16:17] <Adesso> I get a JSON string
807: [14:16:36] <Adesso> rather long one
808: [14:16:52] <wmk> sounds like ajax call
809: [14:17:00] <Adesso> yup..
810: [14:17:09] <Adesso> I know that ajax is not happy ..
811: [14:17:21] <wmk> i mean put that url in the browsers adress bar
812: [14:17:24] <Adesso> but f**k nows why
813: [14:17:28] <wmk> rebuild the whole backend with it.
814: [14:17:34] <wmk> and it shouldn't return an ajax call
815: [14:17:47] <Adesso> ?
816: [14:17:55] <wmk> but either a WPOD or the error msg
817: [14:18:00] <Adesso> I reinstalled silverstripe on another subdomain...
818: [14:18:15] <Adesso> and just coppied the Controllers over from my Project
819: [14:18:22] <Adesso> I even removed the code ..
820: [14:18:33] <Adesso> I now just have 7 empty Controllers
821: [14:18:51] <wmk> 7 dwarf controllers?
822: [14:18:57] <Adesso> he he
823: [14:19:04] <Adesso> they are a pain in the butt right now
824: [14:19:37] <wmk> you get the WPOD in the backend?
825: [14:19:39] <wmk> or frontend?
826: [14:19:41] <catcher> Adesso, do you have any custom routes?
827: [14:19:42] * Adesso is trying to read the JSON
828: [14:20:01] <Adesso> on the fresh installed SS... don't think so
829: [14:20:05] <Adesso> lemme check
830: [14:20:16] <wmk> WSOD = white screen of death
831: [14:20:43] <wmk> kinglozzer, what is "derp" meaning? my dictionary has no entry for htat
832: [14:20:56] <kinglozzer> wmk: herp derp
833: [14:21:03] <kinglozzer> Basically means being an idiot :P
834: [14:21:05] <Adesso> If there was nothing.. it would be even better ..
835: [14:21:12] <Adesso> but the damn menu is still there
836: [14:22:05] <wmk> ok
837: [14:23:23] * Adesso just can't figure it out... how can 7 empty Controllers do this ?
838: [14:23:51] <wmk> Adesso, frontend or backend?
839: [14:24:40] <Adesso> backend
840: [14:24:49] <wmk> then the controller should be ignored
841: [14:25:02] <Adesso> with empty controllers and no Pages.. there not much going on in the frontend
842: [14:25:04] <wmk> backend in cms (pages section i guess)
843: [14:25:14] <Adesso> yup
844: [14:25:30] <Adesso> I am now reverting to the default Page from a fresh install
845: [14:25:38] <wmk> so more the pages / dataobjects, anywhere is something that breaks it
846: [14:25:48] <wmk> maybe a method isn't returning something
847: [14:26:10] <Adesso> there are no methods right now
848: [14:26:20] <wmk> forget the controllers
849: [14:26:27] <Adesso> really.. there is 0 code between the class extentions
850: [14:26:30] <wmk> or do you also have empty dataobjects / page classes?
851: [14:26:37] <Adesso> nadda.. zip .. nothing
852: [14:27:09] <wmk> hmm, if it's a php error dev/build should also complain about it
853: [14:27:15] <Adesso> example : class Article extends DataObject {
854: [14:27:16] <Adesso> }
855: [14:28:01] * wmk thinks the solution must be very simple
856: [14:28:15] <Adesso> I have been at this all day long
857: [14:28:23] <wmk> puh
858: [14:30:07] <Adesso> I now even copied a fresh installed Page Controller in there
859: [14:30:13] * Adesso wipes the DB again
860: [14:30:42] <wmk> and dev/build ends with "Database build completed!" ???
861: [14:30:53] <Adesso> yup
862: [14:33:02] <Adesso> All 48 Bank Page s removed..
863: [14:33:13] <Adesso> DB new and cache hard-removed ..
864: [14:33:46] <Adesso> Bug wins
865: [14:33:52] * Adesso looses
866: [14:33:53] <wmk> php version? webserver?
867: [14:34:27] <Adesso> PHP 5.5.17 (cli) (built: Sep 18 2014 21:19:14)
868: [14:34:46] * lerni_ quit (Remote host closed the connection)
869: [14:34:48] <wmk> hmm, and it worked yesterday?
870: [14:34:50] <Adesso> Server version: Apache/2.2.15 (Unix)
871: [14:35:09] <Adesso> It's been like this for a while.. but I didN#t think much of it ..
872: [14:35:13] <Adesso> maybe a week
873: [14:35:22] <Adesso> and today.. on Live date..
874: [14:35:35] <Adesso> the boss goes... No way that is going live.. fix that bug
875: [14:35:43] <Adesso> but the bug is fixing me right now
876: [14:36:01] * jrthomer_ has joined #silverstripe
877: [14:36:02] * Adesso has 10 min before he goes home
878: [14:37:07] <Adesso> after this pub happens, it seems the ajax controller is dead.. even clicking on anything else ... does nothing .. I have to refresh
879: [14:37:18] <Adesso> pub... .... uhm bug
880: [14:37:27] <wmk> and after refresh - any error on screen?
881: [14:37:33] <Adesso> nope
882: [14:37:39] <wmk> it's normal that js in backend breaks on errors
883: [14:37:46] <wmk> well, annoying but kind of normal
884: [14:37:48] <Adesso> everything work.. just when you try to create a new page
885: [14:38:08] <wmk> and you cannot all the new created page later
886: [14:38:09] * jrthomer quit (Ping timeout: 258 seconds)
887: [14:38:46] <Adesso> The Content editors is ging to have a field day with this.. but right now .. I can't fix it ..
888: [14:38:50] <Adesso> I give up
889: [14:38:55] <wmk> you have to get error reporting working!
890: [14:39:11] <Adesso> I have apache loggin on .. EALL
891: [14:39:18] <Adesso> I had xdebug running
892: [14:39:22] <Adesso> with Netbeans
893: [14:39:26] <Adesso> nuttin
894: [14:39:30] <wmk> xdebug stepping through?
895: [14:39:34] <Adesso> I am not sure what eles to do
896: [14:39:39] <Adesso> yup
897: [14:39:43] <Adesso> till blank
898: [14:39:53] <Adesso> like the page loads fine
899: [14:40:00] <Adesso> just nothing to display
900: [14:41:04] <wmk> getCMSFields breaks somewhere...
901: [14:41:19] * g4b0_ has joined #silverstripe
902: [14:41:42] <Adesso> without me doing much
903: [14:41:51] <Adesso> I just give it blank Controllers
904: [14:41:52] <g4b0_> hi all
905: [14:42:10] <g4b0_> Does someone could help me with this?
906: [14:42:13] <Adesso> I still think it's a name thing
907: [14:42:15] <g4b0_> http://stackoverflow.com/questions/26143110/silverstripe-3-1-how-to-know-which-classes-are-decorated-by-a-dataextension
908: [14:43:02] <wmk> g4b0_, get config, grep for the extension name ;)
909: [14:43:05] <Adesso> anyway.. I am calling it a day ..
910: [14:43:14] <kinglozzer> g4b0_: The only way I can think of would be to loop through subclasses of DataObject and check if the extension is applied
911: [14:43:22] <kinglozzer> I don't think there's any "native" way of checking
912: [14:43:25] <wmk> Adesso, see pm, have to go now.
913: [14:43:31] <wmk> good luck anyway
914: [14:43:34] <Adesso> me to
915: [14:43:48] <wmk> will be online later
916: [14:44:05] * wmk quit (Quit: nice to meet you ;))
917: [14:44:09] <g4b0_> kinglozzer: what about using Config::inst() ?
918: [14:44:29] <g4b0_> but I don't know how...
919: [14:45:28] <Adesso> cheers all
920: [14:45:52] <kinglozzer> g4b0_: I don't think you can do it with Config. As far as I know, you can only get the config for one class at a time.
921: [14:46:40] * jrthomer has joined #silverstripe
922: [14:46:46] * Adesso quit (Quit: EOD)
923: [14:47:17] * jrthomer_ quit (Ping timeout: 245 seconds)
924: [14:48:43] <g4b0_> kinglozzer: I was wondering if it's possible to read it from the YAML configuration...
925: [14:49:59] <kinglozzer> g4b0_: It's possible of course
926: [14:50:20] <g4b0_> but I don't know how to do it :P
927: [14:50:23] <g4b0_> any hints?
928: [14:51:58] <kinglozzer> g4b0_: Well, I think all the YAML configuration is stored. ConfigManifest is the class that handles it IIRC
929: [14:52:38] <g4b0_> mmm, let's have a look
930: [14:52:40] <catcher> http://api.silverstripe.org/3.1/class-Object.html#_has_extension
931: [14:53:21] <catcher> It basically loops over the Config::inst extensions
932: [14:53:51] <catcher> g4b0_, ^
933: [14:54:21] <kinglozzer> catcher: That's for checking if a specific object has an extension. He wants to find all objects with a specific extension applied
934: [14:54:27] <kinglozzer> But yeah, I'd approach it that way ^^
935: [14:54:43] <kinglozzer> Loop over subclasses of DataObject, it's gonna be much easier than messing around with YAML config
936: [14:54:44] <catcher> yeah, I'd go singleton + has_extension
937: [14:54:58] <catcher> Oh, I see, yeah
938: [14:55:01] <kinglozzer> Plus extensions can be applied in PHP anyway, so parsing YAML config doesn't catch everything
939: [14:55:32] <g4b0_> the problem is that with has_extension I have to instantiate the object
940: [14:56:01] * catcher wonders if php's method_exists would be able to check the extension, probably not
941: [14:56:32] <catcher> though that wouldn't be much better, you'd still need to loop the classes
942: [14:56:39] <g4b0_> the second problem is: how can I loop over *each* subclass of DataObject?
943: [14:56:40] <kinglozzer> catcher: Don't think so, I think that's why Object::hasMethod exists
944: [14:56:49] <catcher> kinglozzer, ah, indeed
945: [14:57:28] <catcher> g4b0_, you may be best off maintaining your own record in SiteConfig
946: [14:57:37] <catcher> g4b0_, not elegant, but a lot more efficient.
947: [14:57:43] <kinglozzer> g4b0_: foreach(ClassInfo::subclassesFor('DataObject') as $class) { ...
948: [15:01:26] <g4b0_> kinglozzer: it works
949: [15:01:37] <g4b0_> thanks kinglozzer and catcher
950: [15:01:39] <kinglozzer> g4b0_: Of course it does ;)
951: [15:01:43] <g4b0_> :D
952: [15:01:45] <kinglozzer> g4b0_: Recommendation: cache it :P
953: [15:01:59] <g4b0_> YEP
954: [15:02:17] <g4b0_> it's quite a performance killer :)
955: [15:04:35] * scpi has joined #silverstripe
956: [15:09:33] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
957: [15:09:36] <catcher> foreach(everything::ever()){ kill_performance(30); }
958: [15:12:31] * cupcake_ quit (Quit: Page closed)
959: [15:16:49] * Robke quit (Ping timeout: 246 seconds)
960: [15:17:48] * cloph is now known as cloph_away
961: [15:28:30] * merrick_sd quit (Quit: merrick_sd)
962: [15:29:04] * ss31noob quit (Ping timeout: 246 seconds)
963: [15:35:36] * Shrike_Finland has joined #silverstripe
964: [15:36:40] * jrthomer_ has joined #silverstripe
965: [15:38:53] * jrthomer quit (Ping timeout: 240 seconds)
966: [15:45:39] * lerni has joined #silverstripe
967: [15:45:51] * jrthomer has joined #silverstripe
968: [15:45:57] * jrthomer_ quit (Ping timeout: 260 seconds)
969: [15:49:52] * lerni quit (Ping timeout: 245 seconds)
970: [15:55:05] * Shrike_Finland quit (Quit: Leaving.)
971: [15:59:43] * g4b0_ quit (Remote host closed the connection)
972: [16:08:29] * monki_ has joined #silverstripe
973: [16:08:51] <monki_> .
974: [16:09:39] * monki_ has left #silverstripe
975: [16:13:15] * Erwin-C64|2 has joined #silverstripe
976: [16:14:05] * Otterpocket quit (Quit: WeeChat 0.4.1)
977: [16:14:40] * kinglozz_ has joined #silverstripe
978: [16:14:46] * kinglozz_ quit (Client Quit)
979: [16:15:08] * Kapdap_ has joined #silverstripe
980: [16:17:33] * stnvh quit ()
981: [16:17:45] * Kapdap quit (Ping timeout: 244 seconds)
982: [16:17:48] * ss23 quit (Ping timeout: 244 seconds)
983: [16:17:50] * Erwin-C64 quit (Ping timeout: 244 seconds)
984: [16:17:53] * kinglozzer quit (Ping timeout: 244 seconds)
985: [16:17:57] * ss23 has joined #silverstripe
986: [16:25:51] * ocmnt has joined #silverstripe
987: [17:13:52] * Adesso has joined #silverstripe
988: [17:14:29] * joelpittet has joined #silverstripe
989: [17:30:33] * muskie9 is now known as _muskie9_
990: [17:30:33] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
991: [17:31:22] * Adesso promisses not to wine so much tonight ...
992: [17:32:31] <catcher> Adesso, less drinking?
993: [17:32:46] * Adesso is not drinking yet...
994: [17:33:05] <Adesso> but the botle of Tequila is looking at me with big eyes ....
995: [17:34:14] <catcher> must be the worm!
996: [17:34:43] <Adesso> no, that's Mezcal...
997: [17:36:30] * wmk has joined #silverstripe
998: [17:42:33] * muskie9 has joined #silverstripe
999: [17:42:38] * muskie9 is now known as _muskie9_
1000: [17:42:42] * _muskie9_ is now known as muskie9
1001: [17:51:53] <wmk> Adesso, how's it going?
1002: [17:52:19] <Adesso> almost done with the setup on another server
1003: [17:52:52] * azureRaven has joined #silverstripe
1004: [17:53:34] <azureRaven> Using the Restful Service, is there a way to throw an error if it can't reach the site?
1005: [17:54:24] <azureRaven> if $foo->request() = bad, return bad?
1006: [17:56:47] <Adesso> bingo...
1007: [17:57:04] <wmk> azureRaven, did you RTFM? http://doc.silverstripe.org/framework/en/reference/restfulservice#handling-errors
1008: [17:58:15] <azureRaven> wmk s you can write it as a separate function? :O
1009: [17:58:18] * Adesso has now reproduced the same BUG on 3 diffrent installs over 2 servers ..
1010: [17:58:42] <wmk> azureRaven, dunno, just searched what the docs tell me about restful service ;)
1011: [17:58:55] <azureRaven> wmk I saw that, wasn't sure how to use it. XD
1012: [17:59:01] <wmk> Adesso, well, a reproducable bug is a good bug
1013: [17:59:32] <azureRaven> wmk preach it.
1014: [18:06:51] * azureRaven quit (Ping timeout: 272 seconds)
1015: [18:13:46] * lerni_ has joined #silverstripe
1016: [18:47:30] * Shrike_Finland has joined #silverstripe
1017: [18:51:31] * muskie9 quit (Ping timeout: 258 seconds)
1018: [18:54:07] * antmas quit (Quit: Page closed)
1019: [18:54:46] * joelpittet quit ()
1020: [18:58:21] * muskie9 has joined #silverstripe
1021: [18:58:31] * cloph_away is now known as cloph
1022: [18:58:52] * Adesso has finally found the BUG
1023: [18:59:00] <Adesso> thx to wmk ;)
1024: [18:59:41] <Adesso> 7me takes a shot of Bourbon
1025: [18:59:46] * wmk found the song for the bug: https://www.youtube.com/watch?v=bE2r7r7VVic
1026: [19:00:10] <wmk> adesso, is that you in the white t-shirt running thoutg htat video?
1027: [19:00:32] * Adesso is blocked again ... GEma :(
1028: [19:00:59] <wmk> ach manno...
1029: [19:01:03] <wmk> come to austria!
1030: [19:01:45] * muskie9 is now known as _muskie9_
1031: [19:01:46] * irogue_ has joined #silverstripe
1032: [19:01:50] <Adesso> I am on my way ;)
1033: [19:02:02] <irogue_> good morning people!
1034: [19:02:26] <wmk> gmorning (ugt) irogue_
1035: [19:02:53] <irogue_> I'm the first person at the office - this is very strange for me!
1036: [19:04:35] * Adesso decides to call it a day.. and talk to his Tequila a bit ;)
1037: [19:08:44] * _muskie9_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1038: [19:10:03] * muskie9 has joined #silverstripe
1039: [19:11:58] * Stomach has joined #silverstripe
1040: [19:12:27] * Adesso quit (Quit: 1 Tequila...2 Tequila...3 Tequila... Floor ?)
1041: [19:19:31] <irogue_> mornin' Stomach
1042: [19:19:37] <Stomach> hey irogue_
1043: [19:19:38] <Stomach> how goes it
1044: [19:20:22] <irogue_> aiiight
1045: [19:21:08] * gelignite has joined #silverstripe
1046: [19:21:15] <wmk> hi Stomach
1047: [19:21:26] <Stomach> hey wmk - how are ya
1048: [19:21:42] <wmk> thanks. keen to drive to linz tomorrow
1049: [19:22:28] <wmk> wasn't there something on the catalogadmin module i should or could do?
1050: [19:22:52] <Stomach> oh is it the meetup this weekend?
1051: [19:23:25] <Stomach> I think we were talking about adding the sortable option in as part of configuration so we dont need to do getEditForm in our model admins?
1052: [19:23:42] <wmk> yup.
1053: [19:23:55] * Frans_Amsterdam has joined #silverstripe
1054: [19:24:18] <wmk> i searched a bit for it but there is no real "get sort field from DO" in silverstripe
1055: [19:24:46] <wmk> one can use $default_sort, but has to modify the string
1056: [19:25:29] <wmk> SiteTree e.g. has private static $default_sort = "\"Sort\"";
1057: [19:25:31] <wmk> :(
1058: [19:26:00] * Mish_ has joined #silverstripe
1059: [19:27:31] <Stomach> yeah we might have to make a choice about what sortorder we use perhaps by adding a "CatalogSortableExtension" or similar which defines a sort field
1060: [19:27:51] <Stomach> then check to see if that is part of the extensions on the object when we construct the gridfield in the admin
1061: [19:28:09] <wmk> yup. i guess a param would be best.
1062: [19:28:43] <wmk> you can also pass params to extensions directly, though it's not that sexy
1063: [19:29:15] <Stomach> yeah, its one of the fun things :P
1064: [19:29:41] <wmk> it works even in config.yml
1065: [19:29:45] <wmk> MyDO
1066: [19:29:48] <wmk> extensions:
1067: [19:30:07] <wmk> - 'CoolExtension("Param1","Param2)'
1068: [19:30:28] <wmk> but you don't know what it means
1069: [19:33:44] <Stomach> but I guess something like - 'SortableCatalogExtension("SortOrder") is pretty obvious
1070: [19:34:12] * Kingy[a] is now known as Kingy
1071: [19:34:16] <wmk> yup
1072: [19:34:57] * nickmolhoek has joined #silverstripe
1073: [19:36:17] * Frans_Amsterdam quit (Read error: Connection reset by peer)
1074: [19:37:50] * Frans_Amsterdam has joined #silverstripe
1075: [19:38:57] * Ryan-Toast has joined #silverstripe
1076: [19:39:44] * Frans_Amsterdam quit (Read error: Connection reset by peer)
1077: [19:40:10] * jedateach has joined #silverstripe
1078: [19:40:28] <Kingy> morningg
1079: [19:41:04] <Ryan-Toast> Merning
1080: [19:41:29] <Ryan-Toast> spronk: Making my own widgets, with blackjack; and hookers!
1081: [19:42:50] * lerni_ quit (Remote host closed the connection)
1082: [19:44:40] * zippy has joined #silverstripe
1083: [19:47:17] * lerni_ has joined #silverstripe
1084: [19:48:42] * antmas has joined #silverstripe
1085: [19:48:51] <antmas> gooooood morning all
1086: [19:48:58] <antmas> zippy: dat sunshine
1087: [19:49:02] <wmk> Stomach, let's see if i can make a PR for that tomorrow. maybe you're faster with the code cleanup ;)
1088: [19:49:13] <Kingy> antmas: fuuuuu dat cloud
1089: [19:49:15] <zippy> morrrning
1090: [19:49:26] <Stomach> haha wmk I doubt it - been absolutely swamped with actual work :(
1091: [19:49:28] <wmk> so dark in the northern hemisphere
1092: [19:49:45] <wmk> Stomach, ok
1093: [19:49:52] <antmas> Kingy: the cloud doth approacheth here too though
1094: [19:50:19] <Stomach> I need to set aside some time to do it next week then hope my bosses actually let me have some time to work on internal stuff :\
1095: [19:50:32] <zippy> yeap, meant to get some rain later today
1096: [19:51:25] <antmas> uuughghgh KRA time :/
1097: [19:51:53] <wmk> g'night then. i'm off for today
1098: [19:52:06] <antmas> later, wmk
1099: [19:52:08] <antmas> o/
1100: [19:52:15] <wmk> cu
1101: [19:52:28] * wmk quit (Quit: nice to meet you ;))
1102: [19:53:25] <pippy> Telltale signs of hayfever: LOW
1103: [19:53:28] <pippy> my ass :/
1104: [19:53:30] <Kingy> antmas: yeah the one day i come into Wellington and it's shit
1105: [19:53:39] <antmas> zippy: spent yesterday afternoon around the Waimea plains yesterday
1106: [19:53:42] <antmas> such a nice area
1107: [19:53:52] <antmas> -yesterday*
1108: [19:54:04] <Kingy> haha say yesterday again
1109: [19:54:25] <antmas> :{
1110: [19:55:12] <Kingy> gah got a presentation today
1111: [19:55:13] <Kingy> fun times
1112: [19:55:27] <antmas> Kingy: what are you presenting?
1113: [19:55:45] <Kingy> just talking about this jquery plugin
1114: [19:55:52] <antmas> lol
1115: [19:55:52] <Kingy> that was created to embed some shit on the site
1116: [19:55:59] <Kingy> ionno make it up as i go
1117: [19:55:59] <Kingy> lol
1118: [19:56:03] <antmas> 'this slider is really cool, and engages customers'
1119: [19:56:14] <zippy> antmas: :) what doing out there?
1120: [19:56:35] <zippy> Kingy: make sure to throw in some stats, improves engagement by 141.73%
1121: [19:56:36] <antmas> zippy: went out with the hydrology team to test water bores
1122: [19:56:55] <Kingy> well it's a plugin to embed an interactive tool
1123: [19:57:04] <Kingy> so bit more than just a slider :P
1124: [19:57:04] <zippy> antmas: where you chief data entry officer? typing the numbers into excel
1125: [19:57:30] <antmas> zippy: lol no I was 'get out of the light you big IT nonce'
1126: [19:57:32] <antmas> guy
1127: [19:58:18] <antmas> my poor IT skin got all burnt in the sun
1128: [19:59:20] <zippy> was a nice day, i did a site visit into stoke, I even biked was so nice out there
1129: [19:59:30] <zippy> the cycle trail is real good eh
1130: [19:59:59] <antmas> zippy: yeah I need to get a bike
1131: [20:00:17] <antmas> speaking of bikes
1132: [20:00:37] <antmas> 2 14 y/os broke into the bike shed at work and stole some bikes yesterday
1133: [20:00:42] <Kingy> i even went running yesterday
1134: [20:00:44] <antmas> little bastards
1135: [20:00:44] * shellbackpacific has joined #silverstripe
1136: [20:00:50] * veb has joined #silverstripe
1137: [20:00:58] <zippy> bastards
1138: [20:01:10] <zippy> antmas: school holidays... so they got nothing else to do
1139: [20:01:18] <zippy> Kingy: go far?
1140: [20:01:32] <Kingy> nah just a 5.3
1141: [20:01:39] * Liquide quit ()
1142: [20:01:43] <Kingy> did it in 30min though so im picking up the pace
1143: [20:01:59] <Kingy> 5min 35sec ks i think
1144: [20:02:31] * Olliepop has joined #silverstripe
1145: [20:02:44] <zippy> nice
1146: [20:02:46] <zippy> I use strava
1147: [20:03:57] <Kingy> ah yep
1148: [20:03:59] <Kingy> i just use mapmyru
1149: [20:04:03] <zippy> getting to 5m ks is always my taret when I get back into running
1150: [20:04:04] <Kingy> run
1151: [20:04:16] <Kingy> yeah im getting back into it
1152: [20:04:18] <Ryan-Toast> Hw can I get the edit url for a dataobject if I have the ID?
1153: [20:04:21] <Kingy> did a 10km last Saturday
1154: [20:04:36] <Kingy> might try for a half marathon in November or something
1155: [20:05:48] <zippy> cool
1156: [20:06:01] <antmas> I was managing 8kms in 7 mins about 2 years ago
1157: [20:06:06] <antmas> need to get back into that
1158: [20:06:07] <zippy> Ryan-Toast: browse to it in the CMS, then hard code that :)
1159: [20:06:12] <zippy> 8km in 7 mins?
1160: [20:06:19] <antmas> 8.5 mins my bad
1161: [20:06:19] <zippy> dude... thats faster then driving
1162: [20:06:25] <Kingy> wait wtf
1163: [20:06:25] <Ryan-Toast> zippy: Is that the only way? Seems a little hacky :P
1164: [20:06:33] <Kingy> 7min kms?
1165: [20:06:37] <Kingy> or just in 7min
1166: [20:06:48] <antmas> wait, totally messed that up
1167: [20:06:50] <antmas> :?
1168: [20:06:52] <Ryan-Toast> antmas: I was managing 8kms in 7 mins. No, no you werent :P
1169: [20:06:59] <zippy> Ryan-Toast: need simon_w :P
1170: [20:07:02] <antmas> I KNOW
1171: [20:07:22] <Ryan-Toast> At my peak I think I could do 4km in 11-12 minutes
1172: [20:07:39] <zippy> 3min kms is like running like a Kenyan
1173: [20:07:39] <antmas> 38 mins for 8km at peak
1174: [20:07:47] <antmas> but then again, I got waaaaay to thin doing that
1175: [20:07:49] <Kingy> jesus even that is ridic zippy
1176: [20:07:59] <Ryan-Toast> Mine was at Outward bound, where we pretty much excercised all day.
1177: [20:08:00] <Kingy> I watched the berlin marathon the other day
1178: [20:08:13] <Kingy> 2hr 2min 57sec for 42.19km
1179: [20:08:19] <Kingy> 2:55 ks
1180: [20:08:24] <Kingy> fuck. that
1181: [20:08:25] <antmas> jesus
1182: [20:08:30] <Ryan-Toast> That was my time for a half marathonm pretty much…that’s ridik
1183: [20:08:31] <zippy> Ryan-Toast: what was the name of that site with those real awesome designs - like had the cool effects for the header when you scoll down, and the cool effects for other pages and stuff
1184: [20:08:35] <zippy> was some chicks website I think
1185: [20:08:47] <Ryan-Toast> zippy: codrops?
1186: [20:08:51] <antmas> codrops
1187: [20:08:53] <Ryan-Toast> http://tympanus.net/codrops/
1188: [20:09:16] <antmas> Ryan-Toast: you did outward bound?
1189: [20:09:22] <zippy> mmm no I think it was something else
1190: [20:09:23] <Ryan-Toast> antmas: yeah, when I was 16.
1191: [20:09:31] <antmas> all my mates did that
1192: [20:09:38] <Ryan-Toast> Mum sent me there to “fix” my attitude.
1193: [20:09:42] <antmas> LOL
1194: [20:09:49] <antmas> same with my mates
1195: [20:09:51] <Ryan-Toast> Turns out she was the bitch, not me :P
1196: [20:09:54] * antmas was a good lad
1197: [20:09:55] <zippy> Ryan-Toast: It had cool header effects when you scoll down the page or something, different ways to have the headers
1198: [20:10:14] <Ryan-Toast> zippy: can you give me an example fo the header effect?
1199: [20:10:17] * stojg has joined #silverstripe
1200: [20:10:19] <zippy> um
1201: [20:10:30] <zippy> no because i can't remember haha
1202: [20:10:34] <Ryan-Toast> lol.
1203: [20:10:36] <irogue_> mornin' stojg
1204: [20:10:42] <Ryan-Toast> Tutorial site, or actual site?
1205: [20:10:45] <zippy> maybe it was a link off that codrops
1206: [20:10:47] <antmas> I think I'd rather mountain bike
1207: [20:10:49] <zippy> i think it was a tutorial site
1208: [20:10:52] <antmas> save dose knees
1209: [20:11:01] <zippy> it had a whole bunch of buttons, and you click on it and then it would go to a page with that effect
1210: [20:11:09] <zippy> and one of the pages had effects on buttons
1211: [20:11:20] <antmas> oh not codrops
1212: [20:11:24] <Ryan-Toast> zippy: sounds like codrops.
1213: [20:11:29] <zippy> Ryan-Toast: why you not bookmark it!!
1214: [20:11:40] <antmas> Ryan-Toast: no it was from some designer that you liked
1215: [20:11:40] <Ryan-Toast> I have it bookmarked :P
1216: [20:11:44] <Ryan-Toast> Oh..
1217: [20:11:47] <Ryan-Toast> Hmm.
1218: [20:11:47] <antmas> Ryan-Toast: you posted it on the FB page at some point
1219: [20:12:14] <antmas> zippy: join the fb page Ryan-Toast made :D
1220: [20:12:34] * jcwacky has joined #silverstripe
1221: [20:12:35] <Ryan-Toast> zippy: http://tympanus.net/Development/HoverEffectIdeas/ ?
1222: [20:12:47] <zippy> It was put in the chappen here, but all I get when I look is bloody gifs :P
1223: [20:12:50] <antmas> http://tympanus.net/codrops/2014/06/19/ideas-for-subtle-hover-effects/
1224: [20:13:10] * UndefinedOffset quit (Quit: Leaving.)
1225: [20:13:26] <Ryan-Toast> brb meeting.
1226: [20:13:35] <zippy> nop
1227: [20:13:42] <antmas> not that one either?
1228: [20:13:45] <zippy> nop
1229: [20:14:12] <jcwacky> How should this be written in SilverStripe 3?: return new UserDefinedForm_Controller(UserDefinedForm::get()->first());
1230: [20:14:27] <jcwacky> i.e. getting the controller of a page instance.
1231: [20:14:54] * micmania1 has joined #silverstripe
1232: [20:15:45] <zippy> jcwacky: why do you get the controller?
1233: [20:16:08] <jcwacky> I'm basically trying to display a specific UserDefinedForm on every page.
1234: [20:16:26] <jcwacky> I've taken on a site developed by another developer, and this is how they did it on 2.4.
1235: [20:16:36] <jcwacky> But it doesn't work on 3.1.
1236: [20:17:04] <zippy> http://tympanus.net/Development/HeaderEffects/
1237: [20:17:56] <antmas> zippy: I like that
1238: [20:18:15] <antmas> the fact that it completely dissappears after a certain point rather than being 'sticky'
1239: [20:18:43] <zippy> and, the buttons http://tympanus.net/Development/ProgressButtonStyles/
1240: [20:18:50] <zippy> Ryan-Toast: found dem :)
1241: [20:19:21] <zippy> a shame they don't have a page linking to all these things
1242: [20:19:59] <antmas> zippy: I should spend some more time on that site
1243: [20:20:04] <antmas> so many cool stuffs
1244: [20:20:26] * shellbackpacific has left #silverstripe
1245: [20:22:17] * camfindlay has joined #silverstripe
1246: [20:22:57] <antmas> morning camfindlay o/
1247: [20:23:13] <Stomach> hello camfindlay
1248: [20:23:24] <camfindlay> morning
1249: [20:25:01] <jcwacky> ah, return UserDefinedForm_Controller::create(UserDefinedForm::get()->first()); does it@
1250: [20:26:03] * jcwacky quit (Quit: jcwacky)
1251: [20:26:08] <zippy> camfindlay: morning
1252: [20:26:25] <camfindlay> yo zippy
1253: [20:28:00] <zippy> man... the xeor guys that maintain the xero php lib on github closed a PR to add composer support because "Sorry but I am not keen to add anything to the project that is not of utility to all - since not everyone will want / need composer support, I don't want to add it in, even if that is an inconvenience to those that are fans."
1254: [20:29:09] <Ryan-Toast> zippy: told you it was codrops :P
1255: [20:29:17] <Ryan-Toast> Dat Mary. She’s so good.
1256: [20:30:20] <Stomach> zippy - although I agree with them, it does suck when its of utility to a lot of people
1257: [20:30:52] <zippy> it's a single file..
1258: [20:31:40] <antmas> can you do a contains("blah") in css?
1259: [20:31:55] <Ryan-Toast> antmas: kind of
1260: [20:31:58] <antmas> like .myclass:contains("foo")?
1261: [20:32:04] * UncleCheese has joined #silverstripe
1262: [20:32:20] <antmas> trying to rip out some silly jquery and do it in css :P
1263: [20:32:33] <Ryan-Toast> antmas: what do you need to search?
1264: [20:32:52] * Blacklite has joined #silverstripe
1265: [20:33:12] <antmas> Ryan-Toast: I need to seach through a ul for li's that contain certain text
1266: [20:33:36] <Ryan-Toast> antmas: no
1267: [20:33:41] <antmas> lame
1268: [20:33:50] <Ryan-Toast> what’s the use case?
1269: [20:33:51] * willr has joined #silverstripe
1270: [20:34:09] <antmas> Ryan-Toast: I have a nav menu with department subsites as list items
1271: [20:34:26] <antmas> Ryan-Toast: each department needs to have a different bg colour etc
1272: [20:34:55] <Ryan-Toast> then give the li the class of the subsite title?
1273: [20:35:07] <antmas> Ryan-Toast: so a class for each li item?
1274: [20:35:10] <adrexia> you can target any attribute, but IU gues that doesn't help here
1275: [20:35:19] <Ryan-Toast> antmas: ye
1276: [20:35:38] <antmas> Ryan-Toast: is that 'best practice-ish'?
1277: [20:35:49] <adrexia> you could also use dataatrributes
1278: [20:35:53] <Ryan-Toast> antmas: If they all need to be different then yeah.
1279: [20:35:58] <antmas> ok
1280: [20:35:59] <adrexia> but classes have better browser support
1281: [20:36:27] <adrexia> usually you wouldn't style everything differewntly
1282: [20:36:44] <adrexia> you would give a class only to the things that needed to be different
1283: [20:36:55] <antmas> makes sense
1284: [20:36:56] <adrexia> so, like, a highlighted class
1285: [20:37:10] <antmas> my only issue is that this nav menu is dynamically populated
1286: [20:37:20] <adrexia> yeah, I was thinking that
1287: [20:37:27] <antmas> as in, when a new subsite is added, it adds to the menu as another li
1288: [20:37:28] <adrexia> what are you trying to do with it?
1289: [20:37:38] <Stomach> antmas - is it a SS site?
1290: [20:37:38] <adrexia> yep
1291: [20:37:42] <antmas> Stomach: nope
1292: [20:38:09] <antmas> I might have to just ditch the dynamic generation
1293: [20:38:16] <adrexia> <antmas> Ryan-Toast: each department needs to have a different bg colour etc
1294: [20:38:19] <adrexia> sorry missed that
1295: [20:38:19] <Stomach> can you add a "menucolor" attribute to the subsite, then just style: "background: MenuColor" it?
1296: [20:38:20] <antmas> as there will be a finite amount of subsites etc
1297: [20:38:28] <adrexia> are the colours random?
1298: [20:38:34] <antmas> adrexia: nope, set
1299: [20:38:45] <adrexia> can you rely on them being in a set order?
1300: [20:38:55] <antmas> adrexia: yup
1301: [20:38:59] <adrexia> http://www.w3schools.com/cssref/sel_nth-child.asp
1302: [20:39:05] <adrexia> usew nth child
1303: [20:39:07] <antmas> I can forget the dynamic generation
1304: [20:39:26] <antmas> adrexia: chur, I'll try that too
1305: [20:39:56] <adrexia> only problem is it won't work pre IE 9
1306: [20:40:02] <antmas> no worries
1307: [20:40:08] <adrexia> damn useful though :)
1308: [20:40:14] <antmas> it's internal intranet so IE10+
1309: [20:40:23] <Ryan-Toast> Stomach: you’d have to use js
1310: [20:40:57] <adrexia> +1
1311: [20:41:11] <Ryan-Toast> antmas: if you use nth-child then create a for loop in sass that does it for you.
1312: [20:41:17] <adrexia> then nth child will work quite fine, so long as noone goes and reorders thigns
1313: [20:41:29] <adrexia> Ryan-Toast, was thinking the same thing ;)
1314: [20:41:35] <Ryan-Toast> adrexia: That’s why I recommended classes.
1315: [20:41:42] <Ryan-Toast> adrexia: never trust the user :P
1316: [20:41:46] <adrexia> hahah
1317: [20:42:01] <adrexia> but its colors, so if they do that then... eh,
1318: [20:42:12] <adrexia> not perfect, but noone will cry
1319: [20:42:19] <Ryan-Toast> My edit link makes me feel dirty as fuck
1320: [20:42:45] <Ryan-Toast> adrexia: WHERE HAVE THE COLOURS GONE, OH YOU’VE BROKEN MY WORKFLOW. LITERALLY UNUSABLE
1321: [20:43:57] <Ryan-Toast> zippy: look at it… looook attt iittttttt: <a href="admin/pages/edit/EditForm/field/PageItemItems/item/'.$val->ID.'/edit">
1322: [20:44:06] * Ryan-Toast shudder
1323: [20:46:29] <micmania1> Ryan-Toast: why not use $field->Link() ?
1324: [20:46:53] <Ryan-Toast> micmania1: that will link to the front end, no?
1325: [20:47:17] <zippy> is it possible to resolve an edit like on a dataobject, because how will it know who it belongs to?
1326: [20:47:24] <zippy> *edit link
1327: [20:47:27] <micmania1> It will link to Form->Link() . ‘/field/‘ . $fieldName
1328: [20:47:36] <Ryan-Toast> zippy: literally my question :P
1329: [20:47:37] <micmania1> so… admin/pages/edit/EditForm/field/PageItemItems/
1330: [20:47:56] <Ryan-Toast> micmania1: do you want hugs? Because that’s how you get hugs.
1331: [20:48:02] <micmania1> And you’d resolve it on the FormField, not DataObject.
1332: [20:48:04] <zippy> Ryan-Toast: does it work?
1333: [20:48:09] <Ryan-Toast> zippy: one sec
1334: [20:48:19] <zippy> no-one gets hugs till it works
1335: [20:48:33] <micmania1> :(
1336: [20:49:37] <Ryan-Toast> where am I getting the Form from?
1337: [20:49:53] <Ryan-Toast> since $field is a FieldList
1338: [20:50:20] <micmania1> sspaste?
1339: [20:50:44] <Ryan-Toast> micmania1: http://www.sspaste.com/paste/show/542c641f127e2
1340: [20:51:35] <micmania1> $link = $gridField->Link()
1341: [20:51:53] <Ryan-Toast> Tried that before, it throws an error
1342: [20:52:05] <micmania1> really? What error?
1343: [20:52:10] <Ryan-Toast> Fatal error: Call to a member function FormAction() on a non-object in /home/_SILVERSTRIPE/ss_boilerplate/framework/forms/FormField.php on line 161
1344: [20:52:31] <micmania1> Ah! I know.
1345: [20:52:47] <micmania1> You need to get the GridFieldEditButton component and then use Link() on that.
1346: [20:53:06] <micmania1> or, you can look at how it works and steal it code.
1347: [20:54:14] <Ryan-Toast> micmania1: How would I get the GridFieldEditButton component?
1348: [20:54:26] <Ryan-Toast> tried: $config->getComponentByType('GridFieldEditButton')->Link() but no dice
1349: [20:54:45] <micmania1> http://api.silverstripe.org/3.1/class-GridFieldConfig.html#_getComponentByType
1350: [20:55:23] <micmania1> ah, crap. Link itsn’t a function. Its an action.
1351: [20:55:27] <Ryan-Toast> :P
1352: [20:55:39] <micmania1> http://api.silverstripe.org/3.1/source-class-GridFieldEditButton.html#86
1353: [20:55:40] <Ryan-Toast> The rabbit hole goes deeper
1354: [20:56:10] <micmania1> That’s how you generate the link!
1355: [20:58:00] <Ryan-Toast> micmania1: Whjat do I call the method on? I tried $config->getComponentByType('GridFieldEditButton')->getColumnContent($gridField, 7, 'edit');
1356: [20:58:34] <irogue_> Ryan-Toast: just do what it's doing
1357: [20:59:16] <irogue_> oh wait, now that I read more scrollback I see that apparently doesnt work
1358: [20:59:40] <micmania1> You should just be able to do it from updateCMSFields. The reason you’re getting the error is because Form hasn’t yet been assigned to the field (as you’re still building the form).
1359: [20:59:59] <irogue_> fairly certain i've always hardcoded this shit :P
1360: [21:00:32] <Stomach> yeah I have always hardcoded it too
1361: [21:00:44] <Stomach> but then you put a gridfield in a gridfield and its all like "fuck you man"
1362: [21:00:48] <micmania1> Hardcoding is for the lesser man.
1363: [21:01:59] <micmania1> Ryan-Toast: I’d do what you’re trying to do as its own FormField. Then render your stuff out using SSViewer and provide a Link function that you can use in the template. Then win.
1364: [21:02:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1365: [21:04:58] <Ryan-Toast> micmania1: It’s noit even going to a template.
1366: [21:05:02] <Ryan-Toast> micmania1: Just in the cms :P
1367: [21:06:48] <micmania1> yeah, but ->Link() won’t be ready until after the form is built so you can’t use it where you’re trying to. You could possibly even add it as a GridField component if its attached to GridField functionality. By time you render your template ->Link() will be usable and you’ll be able to call it in a template.
1368: [21:07:28] <Ryan-Toast> micmania1: Ah, right. I think I’ll put in the TODO-basket
1369: [21:07:43] <micmania1> GF can be a bastard to work with lol
1370: [21:08:08] <Ryan-Toast> It’s not ebven GF, it’s just getting an edit link to a data object :P
1371: [21:08:19] <Ryan-Toast> wouldn’t have thought it was so hard.
1372: [21:08:56] <micmania1> yeah, but technically the edit link doesn’t belong to the data object. You could edit the DO in more than once place for example.
1373: [21:09:21] * UncleCheese has joined #silverstripe
1374: [21:09:59] <Ryan-Toast> micmania1: Whic you would think there would be a method that you’d parse the ID through.
1375: [21:10:11] <Ryan-Toast> guess rit’s a bit of an edge case.
1376: [21:10:48] <adrexia> nope v- not an edge case at all. I've hit that one quite a few times
1377: [21:10:53] <adrexia> :(
1378: [21:11:07] <micmania1> There is with FormField, but that gets its link from Form which doesn’t get assigned until after the fields have been added.
1379: [21:11:28] <adrexia> yeah, timing matters
1380: [21:11:44] <micmania1> The error you’re getting is because its trying to call $form->Action() or w/e it was. $form doesn’t exist yet.
1381: [21:12:06] <micmania1> If you call it after the form (updateEditForm) it will work.
1382: [21:12:46] <Ryan-Toast> micmania1: so move the logic to the updateEditForm method?
1383: [21:13:12] <micmania1> You could try that.
1384: [21:16:21] * camfindlay quit (Quit: camfindlay)
1385: [21:16:35] <Shrike_Finland> Hi, is it possible to create dataextension form? Something like this: http://www.sspaste.com/paste/show/542c69e360ae2
1386: [21:19:18] * Shrike_Finland quit (Quit: Leaving.)
1387: [21:24:54] * camfindlay has joined #silverstripe
1388: [21:29:26] <Stomach> camfindlay - do you know who is in charge of the silverstripe-comments module? it would be nice if there was a tagged release for it
1389: [21:29:35] * catcher quit (Quit: Leaving)
1390: [21:30:07] <Stomach> oh its willr
1391: [21:30:09] <Stomach> see above
1392: [21:30:21] <Stomach> I hate relying on dev-master in projects
1393: [21:30:22] <willr> Stomach. Can do.
1394: [21:30:29] <Stomach> thanks :)
1395: [21:30:50] <UncleCheese> @willr walked by my bus this morning on thordon quay but didn't see me waving
1396: [21:31:06] <Stomach> should have yelled "silverstripe rules" loudly
1397: [21:31:29] <irogue_> "DON'T FORGET TO FLUSH=1"
1398: [21:31:30] <UncleCheese> i did
1399: [21:31:32] <willr> Newlands ay. UncleCheese. Should go drinking at the local
1400: [21:31:54] <UncleCheese> keen
1401: [21:32:43] <Ryan-Toast> Hmm, image is returning as Image_Cached that’s weird
1402: [21:33:11] <willr> @Stomach, pushed a 1.2.0 tag
1403: [21:33:33] <Blacklite> any reason JSONDataFormatter->convertDataObjectSet would return an empty items array?
1404: [21:33:36] <Stomach> WHO SAYS IRC ISN'T WORTH IT EH UncleCheese !
1405: [21:33:45] <Stomach> thanks willr, you rule
1406: [21:34:01] <willr> I haven’t had as much time to use comments as I want. Spilt it out of core to have high hopes
1407: [21:34:27] <UncleCheese> yeah, it leaves a lot to be desired.. thought about cleaining it up for .org
1408: [21:34:28] <Stomach> I'm about to put it onto a whole bunch of pages on a site
1409: [21:34:30] <Stomach> should be good
1410: [21:34:57] <UncleCheese> sure beats the old PageCommentsInterface blackbox
1411: [21:35:00] <Stomach> then im gonna integrate a live chat, then im gonna eat lunch, then im gonna come back and fix all the mistakes I made and cry over my keyboard
1412: [21:35:09] <UncleCheese> oooooh
1413: [21:35:12] <UncleCheese> nodeJS powered?
1414: [21:35:16] <Blacklite> http://pastie.org/private/rxtoo0jecatvr5qfgfrs7g
1415: [21:35:28] <Blacklite> outputs this: string(37) "{ "totalSize": null, "items": [ ] } "
1416: [21:36:06] <UncleCheese> that's because you're not passing it a dataobject set
1417: [21:36:15] <Blacklite> yeah, i am
1418: [21:36:18] <UncleCheese> the ::get() returns a DataQuery object, i think
1419: [21:36:20] <Blacklite> var_dump($ins);
1420: [21:36:27] <Blacklite> object(DataObjectSet)#39 (16) {
1421: [21:36:32] <UncleCheese> oh, 2.4
1422: [21:36:36] <Blacklite> yep
1423: [21:36:41] <UncleCheese> meh
1424: [21:37:17] <UncleCheese> what is the ->Count() on that $ins say?
1425: [21:37:29] <Blacklite> int(219)
1426: [21:37:38] <Blacklite> which is the number of objects in the database
1427: [21:38:01] <Blacklite> i've tried with a few different models
1428: [21:39:15] <UncleCheese> you sure each item's $canView is returning true?
1429: [21:39:48] <UncleCheese> var_dump(DataObject::get('Inspirations')->First()->canView());
1430: [21:40:09] <Blacklite> false
1431: [21:40:11] <Blacklite> interesting
1432: [21:40:12] <UncleCheese> hey now
1433: [21:40:26] * scpi quit (Quit: scpi)
1434: [21:40:30] <UncleCheese> did you forget to add your canview(), canedit(), candelete() to your dataobject?
1435: [21:40:46] <Blacklite> potentially
1436: [21:40:48] <UncleCheese> because if you don't have those defined, it's going to fall back on ADMIN
1437: [21:40:56] <Blacklite> that said, i didn't create these models
1438: [21:41:03] <UncleCheese> let's find out who did
1439: [21:41:10] <UncleCheese> so we can troll him
1440: [21:41:44] <Blacklite> lol
1441: [21:41:45] <Stomach> it was ss23
1442: [21:42:13] <Blacklite> public function canView() { return true; }
1443: [21:42:16] <Blacklite> can i just do that?
1444: [21:42:23] <Blacklite> (i just want to get it working again first)
1445: [21:42:31] <UncleCheese> yeah, tha'ts fine for canview
1446: [21:42:40] <UncleCheese> might add something a bit more restricive for canedit()
1447: [21:42:43] <Blacklite> yeah
1448: [21:42:46] <Ryan-Toast> can you set the renderWith from within a DO?
1449: [21:43:03] <Ryan-Toast> like how you would use index() in a page?
1450: [21:43:17] <UncleCheese> i think you're talking about forTemplate(), Ryan-Toast
1451: [21:43:22] <Blacklite> okay well
1452: [21:43:25] <Blacklite> string(37) "{ "totalSize": null, "items": [ ] } "
1453: [21:43:25] * lerni_ quit (Remote host closed the connection)
1454: [21:43:29] <UncleCheese> which defines how an object will behave when you call $MyObject
1455: [21:43:33] <Blacklite> but now this returns true: DataObject::get('Inspirations')->First()->canView();
1456: [21:43:39] <UncleCheese> yay!
1457: [21:44:08] <Ryan-Toast> UncleCheese: Nice, thanks :)
1458: [21:44:17] * lerni has joined #silverstripe
1459: [21:47:15] <Blacklite> still, json doesn't work :/
1460: [21:47:27] <Blacklite> o wait
1461: [21:47:37] <Blacklite> yeah it does, never mind me
1462: [21:47:57] * novaweb has joined #silverstripe
1463: [21:48:20] <zippy> lol
1464: [21:48:37] * lerni quit (Ping timeout: 245 seconds)
1465: [21:48:44] <zippy> I was thinking novaweb / novapay and the govt.nz domain
1466: [21:48:56] <zippy> anyway, I want to totally change the login page - is that just a matter of creating a new SecurityLogin page .ss?
1467: [21:49:29] <Ryan-Toast> UncleCheese: what would I call in the template to render the forTemplate?
1468: [21:49:38] <UncleCheese> renderwith
1469: [21:49:52] <UncleCheese> zippy it's not that easy
1470: [21:50:03] <Ryan-Toast> UncleCheese: I mean in the loop
1471: [21:50:07] * Colin[pi] has joined #silverstripe
1472: [21:50:09] <UncleCheese> you think it's going to be easy, but once you get into ForgotPassword and failed logins, etc, it gets sticky
1473: [21:50:11] <UncleCheese> i can walk you through it
1474: [21:50:18] <zippy> oh?
1475: [21:50:52] <Stomach> You can define Security.ss and Security_login.ss if you just want to have the default layouts for the other functions though
1476: [21:51:12] <UncleCheese> ^ that's true
1477: [21:51:21] <UncleCheese> i'll show you my approach, zippy .
1478: [21:51:25] <zippy> ok
1479: [21:55:23] <Stomach> there is also this: https://github.com/axyr/silverstripe-adminlogin
1480: [21:56:49] <UncleCheese> zippy https://gist.github.com/unclecheese/8d6b91070b9dac56ef66
1481: [21:57:44] <zippy> Thank you UncleCheese - I have to bail out the door but when I come back I will go over that
1482: [21:58:05] <Stomach> UC - that if else in Page.ss makes me want to cry
1483: [21:58:10] <UncleCheese> i know
1484: [21:58:15] <UncleCheese> i wrote it a while ago
1485: [21:58:29] <Stomach> I just did templates for Security_allthethings.ss
1486: [21:58:31] <UncleCheese> looking at it now, you can probably hijack the getViewer method
1487: [21:58:44] <UncleCheese> ah, but look at how lostpassword works
1488: [21:58:45] <Ryan-Toast> UncleCheese: have you tried doing a count of dataobjects and setting the defaurlt sortorderID to a plus one of that count before?
1489: [21:58:54] <UncleCheese> it forces a render with Page.ss, Stomach
1490: [21:59:21] <UncleCheese> yeah, i think you want to write a custom SQL query for that
1491: [21:59:45] <UncleCheese> unless you're just working on a single DO
1492: [22:00:04] <UncleCheese> in which case, $this->SortOrder = self::get()->max("SortOrder")+1;
1493: [22:00:34] * ocmnt quit (Ping timeout: 272 seconds)
1494: [22:00:37] <Ryan-Toast> by single DO do you mean only one type of DO?
1495: [22:02:18] <UncleCheese> umm
1496: [22:02:25] <UncleCheese> i i guess i don't know what you're doing
1497: [22:02:35] <Ryan-Toast> EVEN I DON’T KNOW
1498: [22:02:36] <UncleCheese> zippy ignore my gist.. Stomach is right
1499: [22:02:50] <UncleCheese> they've made changes to Security in 3.1 that make customisation easier
1500: [22:03:50] <Stomach> anyone know why the CMS doesn't work in firefox 31?
1501: [22:04:13] <zippy> UncleCheese: ok :)
1502: [22:05:20] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1503: [22:06:35] <Ryan-Toast> 2.4 gridfiuelds had a next/previous button?! awesome!
1504: [22:06:51] <Stomach> ComplexTableFields? :D
1505: [22:06:59] <Ryan-Toast> Shrug
1506: [22:07:04] <Ryan-Toast> looks like a gridfield
1507: [22:07:16] <Ryan-Toast> except the do comes up in a popup
1508: [22:07:26] <Kingy> presentation done. naileeedd itttttt
1509: [22:07:58] <Ryan-Toast> Kingy: http://i.imgur.com/VLm8H.gif
1510: [22:08:08] <Kingy> nicee
1511: [22:08:23] <Kingy> Have you seen the ad on tv with the guy who high fives the penguin out of the air
1512: [22:08:26] <Kingy> shits hilarious
1513: [22:08:38] <UncleCheese> Ryan-Toast 3.1 gridfields do, too
1514: [22:08:50] <Ryan-Toast> UncleCheese: in the do I mean
1515: [22:09:01] <UncleCheese> surely yo'ure not using betterbuttons
1516: [22:09:13] <Ryan-Toast> betterbuttons?
1517: [22:10:01] <Ryan-Toast> OH GD, WHY AREN’T THOSE CORE?
1518: [22:10:28] <adrexia> lol
1519: [22:10:42] <adrexia> because nobody has put there hand up to do it
1520: [22:10:53] <adrexia> and its a bit of a complex problem
1521: [22:10:55] <Ryan-Toast> Looks like you just did, adrexia :D
1522: [22:11:00] <adrexia> nope, not me
1523: [22:11:06] <adrexia> as much as I think it needs doing
1524: [22:11:17] <Kingy> adrexia: I saw that hand go up as well
1525: [22:11:17] <Ryan-Toast> All in favor of adrexia doing it, say aye.
1526: [22:11:22] <Ryan-Toast> aye
1527: [22:11:22] <Stomach> ayeeee
1528: [22:11:22] <UncleCheese> http://silverstripe.uservoice.com/forums/251266-new-features/suggestions/6196137-make-better-buttons-standard
1529: [22:11:26] <adrexia> ahh
1530: [22:11:29] <Kingy> Aye
1531: [22:11:40] <Stomach> HES NOT EVEN A CORE CONTRIBUTER
1532: [22:11:52] <adrexia> lol
1533: [22:12:03] <Ryan-Toast> WHO IS THAT GUY EVEN? NOT EVEN A CONTRIBUTOR
1534: [22:12:11] <adrexia> well, the thing is, from a UX point of view, better buttons isn't _actually_ optional
1535: [22:12:38] <UncleCheese> how so?
1536: [22:12:42] <Stomach> fuck users
1537: [22:12:42] <adrexia> it's something the user needs in order to not throw their toys
1538: [22:12:47] <Stomach> and their experience
1539: [22:13:05] <Ryan-Toast> prev/next new record is all I’d need for core imo
1540: [22:13:09] <adrexia> anyone who has had to do any level of data entry in to a gridfield knows that
1541: [22:13:15] <UncleCheese> yes
1542: [22:13:18] <adrexia> but, sadly, most dev's have not
1543: [22:13:21] <Ryan-Toast> going back to the previous page to create a new one is pretty annoying
1544: [22:13:32] <Stomach> adrexia - edit database directly FTMFW
1545: [22:13:40] <UncleCheese> Ryan-Toast you can configure the interface anyway you want... save and add, save and next, etc
1546: [22:13:41] <adrexia> ...sadly that's what happens
1547: [22:13:53] <adrexia> they friggin build a task to get around using the user interface
1548: [22:13:56] <adrexia> :(
1549: [22:13:57] <Ryan-Toast> UncleCheese: Stop, I’ll nee new pants.
1550: [22:14:17] * lerni has joined #silverstripe
1551: [22:14:31] <irogue_> my personal opinion is that things like BetterButtons shouldn't be part of core, but should be part of the default composer.json
1552: [22:14:31] <adrexia> core doesn't need better buttons wholesale. But it needs some of it
1553: [22:14:51] <Ryan-Toast> irogue_: that’s actually a pretty good idea.
1554: [22:14:53] <adrexia> irogue_, I'd settle for default
1555: [22:14:53] <irogue_> so that by default people get it, but the base cms and framework are as light as possible
1556: [22:15:05] <UncleCheese> irogue_ but then where do you draw the line?
1557: [22:15:10] <UncleCheese> there are a lot of great modules
1558: [22:15:12] <irogue_> same with things like sortablegridfield
1559: [22:15:19] <adrexia> the issue is when devs don't put it in
1560: [22:15:49] <adrexia> I draw it at - "this is integral to the userr experience"
1561: [22:16:03] * lerni_ has joined #silverstripe
1562: [22:16:04] <irogue_> UncleCheese: I think it has to be somehow decided (in a democraticish way) which modules are "essential" for the average site
1563: [22:16:04] <adrexia> and from taht standpoint, it *should* be in core
1564: [22:16:27] <UncleCheese> but the code is shit, so
1565: [22:16:38] <irogue_> there's parts of core that should be ripped out and made into default modules, too
1566: [22:16:40] <adrexia> but if there is huge disagreement on that, then I will settle for "in recipe by default"
1567: [22:16:50] <Stomach> Kingy - should I be able to get to this? http://nzx-agri-test.sites.silverstripe.com/article/winning-the-poo-war?p=296
1568: [22:17:00] <UncleCheese> i dunno.. drupal doesn't give you clean urls by default :)
1569: [22:17:02] <adrexia> maybe gridfield should be a module
1570: [22:17:06] <irogue_> recipe! yes
1571: [22:17:14] <irogue_> the cwp recipe is a great example of that
1572: [22:17:17] <Kingy> Stomach: don't see why not
1573: [22:17:23] <irogue_> everything that the CWP team consider "essential"
1574: [22:17:25] <Kingy> it's not locked down as far as i'm aware
1575: [22:17:42] <Stomach> it was the number one hit for "silverstripe poo" on google
1576: [22:17:43] <Kingy> PS: How did you get there?
1577: [22:17:44] <adrexia> ...and it doesn't include betterbuttons
1578: [22:17:48] <Kingy> AHAHAHAHA
1579: [22:17:52] <adrexia> because f$%^k the user
1580: [22:17:53] <adrexia> :P
1581: [22:17:57] <irogue_> :P
1582: [22:18:34] <camfindlay> I like the concept of having different starter recipes
1583: [22:18:40] <antmas> yey, got out of a meeting :D
1584: [22:18:45] <adrexia> me too
1585: [22:18:47] <camfindlay> I made one for blogging a while back
1586: [22:18:48] <Kingy> Stomach: that's hilarious
1587: [22:18:54] * lerni quit (Ping timeout: 258 seconds)
1588: [22:18:56] <Stomach> yeah but the problem is then "which contact page module do we use" etc :\
1589: [22:19:00] <irogue_> https://gitlab.cwp.govt.nz/cwp/cwp-recipe-basic/blob/master/composer.json in case anyone wonders what we're talking about by cwp recipe
1590: [22:19:22] <camfindlay> https://github.com/camfindlay/silverstripe-blogging-recipe
1591: [22:19:47] <adrexia> recipes are all good
1592: [22:19:49] <camfindlay> that is one I rolled, again it is going to depend on what a user thinks should be a good set of modules
1593: [22:19:57] <adrexia> but I think iot needs to be a default the installer pulls in
1594: [22:20:02] <adrexia> if not actually in core
1595: [22:20:07] <camfindlay> you could have some starters for ecommerce, news sites etc
1596: [22:20:25] <camfindlay> can always dump things out of the recipe in compser.json later
1597: [22:20:35] <adrexia> not that I ever use the installer - but a good chunk of people do
1598: [22:20:39] <antmas> so the idea of a 'recipe' is just to provide the building blocks of a type of site yes?
1599: [22:20:42] <irogue_> adrexia: perhaps on ssorg when you hit the download silverstripe button it gives a few options for recipe
1600: [22:20:48] <camfindlay> yip
1601: [22:20:51] <antmas> irogue_: that would be awesome
1602: [22:21:20] <antmas> do other CMS' do that?
1603: [22:21:23] <camfindlay> I also tried to keep my recipe in a separate module rather than being in the installer
1604: [22:21:25] <irogue_> core (just cms and framework), basic (betterbuttons, sortablegridfield etc), ecommerce, blog, etc etc
1605: [22:21:27] <adrexia> irogue_ like a yeoman type thing?
1606: [22:21:29] <Kingy> could be similar to bootstrap how you tick all the bits you want
1607: [22:21:36] <Stomach> what is silverstripe/registry ?
1608: [22:21:50] <UncleCheese> so would better buttons be in the make-it-not-suck recipe?
1609: [22:21:57] <adrexia> Stomach - it's this: http://www.msi.govt.nz/update-me/who-got-funded/Form
1610: [22:22:06] <camfindlay> this also assumes perhaps that we can get everyone to use composer :P
1611: [22:22:13] <Kingy> http://getbootstrap.com/customize/ for example
1612: [22:22:18] <irogue_> Stomach: https://github.com/silverstripe-labs/silverstripe-registry
1613: [22:22:25] <Stomach> oh I remember - the front end gridfield search thing
1614: [22:22:30] <Stomach> irogue_ - that page is useless to me
1615: [22:22:31] <adrexia> bascially, frontend gridfields
1616: [22:22:35] <irogue_> camfindlay: but they can also be builds (zip files) on ssorg
1617: [22:22:43] <Kingy> ^
1618: [22:22:48] <camfindlay> it’s like modeladmin for frontend that thing (silverstripe-registry)
1619: [22:22:52] <Ryan-Toast> Kingy: I find it’s better to download the whole thing, and comment out the scss includes that you don’t use.
1620: [22:22:53] <irogue_> Stomach: I know, but it's useful in addition to what adrexia had already linked ;)
1621: [22:23:00] <Stomach> :P
1622: [22:23:14] <Kingy> Ryan-Toast: yeah, im just saying ssorg could be something similar, tick the bits you want
1623: [22:23:18] <camfindlay> irogue_ would it custom build each time someone requested a download? could be high overhead on that
1624: [22:23:20] <Ryan-Toast> Kingy: Ah, right.
1625: [22:23:32] <Ryan-Toast> and they just gie you a composer file? that sounds pretty cool actually.
1626: [22:23:47] <Kingy> camfindlay: unless you have a build for every single possible option :P
1627: [22:23:54] <irogue_> camfindlay: if we're only talking about a few recipes, it could just be occasional builds
1628: [22:23:59] <Stomach> or you know, cache the outputs
1629: [22:24:01] <adrexia> http://yeoman.io/
1630: [22:24:09] <irogue_> if we're talking a full configurator like bootstrap, it'd need to do it on request
1631: [22:24:11] <Kingy> Ryan-Toast: yeah it's quite smart
1632: [22:24:19] <Kingy> No real reason why it can't be done easily enough
1633: [22:24:37] <Kingy> composer styles anyway. Getting .zip files built with different recipes could be slightly more annoying
1634: [22:24:47] <camfindlay> irogue_ yip I get ya so some standardised recipes and then ability to generate a composer.json perhaps for more custom stuff?
1635: [22:24:52] <irogue_> yeah
1636: [22:24:55] <irogue_> I think that's a fair option
1637: [22:24:56] <adrexia> yeah, out a ticke bnox on addons
1638: [22:25:07] <adrexia> then hit checkout -> download my package
1639: [22:25:16] <adrexia> boom, custom silverstripe ;)
1640: [22:25:23] <adrexia> *put a tick box
1641: [22:25:32] <antmas> ...ins't this kinda in line with CWP?
1642: [22:25:34] <adrexia> a shopping cart for silverstripe addons
1643: [22:25:36] <antmas> same principal?
1644: [22:25:48] <camfindlay> composer require addons/tickboxthing-shoppingcart dev-master
1645: [22:26:03] * r_hector has joined #silverstripe
1646: [22:26:08] <irogue_> antmas: CWP is four things. one of them is a basic recipe.
1647: [22:27:01] <antmas> irogue_: ah true
1648: [22:27:01] <camfindlay> would it be fair to have the standardised recipes on the ss.org downloads section and the custom composer generation as part of addons?
1649: [22:27:15] <antmas> camfindlay: I think so yes
1650: [22:27:19] <irogue_> yep
1651: [22:27:25] <irogue_> with a link off to addons on ssorg downloads section
1652: [22:27:32] <camfindlay> thinking about the different levels of users that might want to get amongst the recipes
1653: [22:27:39] <antmas> would that then mean a 'set' of addons that are recommended?
1654: [22:28:05] <irogue_> I do think this ties in a bit with what we discussed previously with regard to code quality
1655: [22:28:15] <irogue_> if they're being bundled on ssorg, we'd need to peer review them
1656: [22:28:21] <camfindlay> yip
1657: [22:28:43] <Kingy> yeah wasn't there talk about making some official vs good quality vs beware
1658: [22:28:54] <camfindlay> by “we” who do you mean irogue_?
1659: [22:28:54] <Kingy> depending on if they've been reviewed or what not
1660: [22:29:21] <Kingy> camfindlay: surely it'd have to be SS devs reviewing them
1661: [22:30:03] <camfindlay> I did a bunch of research at the start of the year on the addons stuff, I have a research doc I’ll look to see if I can make that open - basically I’m waiting on a few dependancies to fall into line before we can carry out the work, with new ss.org being one of those.
1662: [22:30:05] <Stomach> Kingy - or approved community members
1663: [22:30:25] <irogue_> camfindlay: I'd probably do it in two tiers. community members doing initial review, if we're happy with it it goes off to core devs for their once-over
1664: [22:30:27] <antmas> yeah I think they should all be there, just in categories of quality/reliability or something
1665: [22:30:33] <Kingy> Stomach: true
1666: [22:30:39] <camfindlay> I’ll do a community update about it once things are in place
1667: [22:30:54] <irogue_> so that core devs aren't reviewing things that are nowhere near good enough quality anyway
1668: [22:30:55] <adrexia> Err, I'm williung to vote up modules I use a lot. But that isn't a quality metric. there are modules I don't use that are good too.
1669: [22:31:12] <adrexia> it is, however, a "usefulness" metric
1670: [22:31:26] <irogue_> yeah, I really don't think upvoting is anywhere near good enough. People upvote because they find something useful, not because it's good quality
1671: [22:31:31] <camfindlay> adrexia, yip I considered all that stuff in my research :)
1672: [22:31:36] <UncleCheese> clearly the best metric is number of lines of code
1673: [22:31:39] <adrexia> I think it's important not to call it a quality metric - because that would be impossible to maintain
1674: [22:31:43] <Kingy> UncleCheese: lolol
1675: [22:31:46] <irogue_> yeah
1676: [22:31:52] <irogue_> it should just be a tag like "Peer reviewed"
1677: [22:32:00] <UncleCheese> ^^ yup
1678: [22:32:12] <adrexia> meh
1679: [22:32:13] <irogue_> just to signify that someone not involved in that module has looked at it and thought it wasn't shit
1680: [22:32:14] <antmas> perhaps a comment section for each addon
1681: [22:32:18] <adrexia> I don't want peer reviewed
1682: [22:32:22] <adrexia> I want 'useful'
1683: [22:32:29] * lerni_ quit (Ping timeout: 260 seconds)
1684: [22:32:30] <irogue_> adrexia: they're two different metrics
1685: [22:32:33] <Kingy> antmas: again that would just come down to people using it
1686: [22:32:36] <adrexia> yeah, they are
1687: [22:32:37] <UncleCheese> adrexia there's plenty of other ways to get that information
1688: [22:32:45] <antmas> Kingy: yeah true
1689: [22:32:47] <UncleCheese> but there are few ways to find out if hte code is any good if you're not a guru
1690: [22:32:56] <adrexia> but one of them gives the appearance of quality
1691: [22:32:58] <camfindlay> you should be able to get that info at a glance rather than having to trawl through the code
1692: [22:33:03] <adrexia> which is detrimental to the rest
1693: [22:33:13] <Kingy> possibly force them to certain requirements, provide tests etc to make them proper
1694: [22:33:14] <UncleCheese> peer reviewed doesn't say anything about whether you need this or not
1695: [22:33:21] <antmas> a demo of each addon would be a must IMO
1696: [22:33:22] <adrexia> UncleCheese, true
1697: [22:33:27] <UncleCheese> it just says that it's quality
1698: [22:33:39] <irogue_> I don't like the quality word with regard to peer reviewing
1699: [22:33:48] <adrexia> Kingy, tests are good, but depend on what the module is doing
1700: [22:33:48] <Kingy> 'valid'
1701: [22:33:50] <irogue_> I think it just says "this doesn't have obvious XSS etc bugs"
1702: [22:33:59] <camfindlay> antmas, how would you suggest we have demos of all 841 current modules :P
1703: [22:34:10] <Stomach> camfindlay - very slowly.
1704: [22:34:11] <adrexia> antmas - demo would be _awesome
1705: [22:34:19] <antmas> camfindlay: I doubt there would be 841 modules listed in this though right?
1706: [22:34:23] <UncleCheese> a lot of modules aren't demoable
1707: [22:34:27] <adrexia> ahh, security peer review
1708: [22:34:28] <adrexia> :D
1709: [22:34:38] <irogue_> adrexia: yeah, that's what I'm talking about
1710: [22:34:51] <UncleCheese> mandrill is a great module as i found out, but who really wants to set up a sandbox mandrill account to get an api key
1711: [22:34:52] <UncleCheese> ugh
1712: [22:34:52] <irogue_> that's what matters most IMO with regard to including modules in the default download
1713: [22:34:56] <camfindlay> UncleCheese, correct some are tools for devs or framework enhancements rather than something visible
1714: [22:35:15] <UncleCheese> i think an easier win than a full-on demo is just screenshots
1715: [22:35:20] <antmas> camfindlay: yeah this is true
1716: [22:35:25] <UncleCheese> if we promoted modules that took the time to give screenies
1717: [22:35:26] <camfindlay> better readme’s too
1718: [22:35:29] <UncleCheese> any dev can do that
1719: [22:35:29] <antmas> camfindlay: but why not have 2 areas of selection
1720: [22:35:32] <UncleCheese> and readmes
1721: [22:35:40] <irogue_> yeah, that's another good point
1722: [22:35:48] <Ryan-Toast> Hmm, been sitting here for 3 minuiytes thinking of what to name my method that either sets an internal, or external link.
1723: [22:35:54] <Ryan-Toast> naming sis hard
1724: [22:35:57] <antmas> maybe not demos, but GOOD readmes
1725: [22:36:11] <camfindlay> and some simple measures of usefulness/quality/something that helps you make a decision
1726: [22:36:19] <camfindlay> before you grab it into you composer.json
1727: [22:36:23] <UncleCheese> what we want is to be in the position where module developers are motiviated to make their thing better
1728: [22:36:29] <antmas> camfindlay: yeah it doesn't have to be a full metric
1729: [22:36:34] <UncleCheese> "hey, i noticed i didn't get a sitcker.. what can i do"
1730: [22:36:35] <camfindlay> which on local dev might be your “demo” of the module
1731: [22:36:50] <antmas> yeah a way to make them more visible
1732: [22:36:52] <irogue_> I think tags are better than metrics
1733: [22:36:59] <irogue_> allow filtering by those tags on addons
1734: [22:37:08] <irogue_> "Documented" "Peer reviewed" "Demo available" etc
1735: [22:37:14] <camfindlay> correct UncleCheese - measures must have purpose and drive improvements otherwise no point in measuring
1736: [22:37:14] <antmas> this&&&
1737: [22:37:19] <UncleCheese> so it can't be exclusive or elitist, but we need to have just the right carrots and sticks so that developers are encouraged to work within the system
1738: [22:37:43] <antmas> OMG a reward system
1739: [22:37:50] <adrexia> meh. I don't think it would motivate me. Could potentially have the opposite effect
1740: [22:37:51] <antmas> special medals in the forums :D
1741: [22:38:08] <UncleCheese> we need the same thing in the foru, but I digress
1742: [22:38:19] * antmas is just throwing random ideas out now
1743: [22:38:23] <irogue_> we have forums? :P
1744: [22:38:31] * irogue_ avoids forums and just helps people on SO
1745: [22:38:32] <UncleCheese> adrexia I'm curious, what is your motivation for making a great module?
1746: [22:38:44] <adrexia> myself :P
1747: [22:38:47] <UncleCheese> ok
1748: [22:38:55] <camfindlay> yeah… gaming it was mentioned by a number of people back when I researched this however I think keeping things siple is always faviourable
1749: [22:39:12] <adrexia> nah, not really. possibly, another me, is more accurate
1750: [22:39:15] <UncleCheese> so in that case it shoujldn't bother you if your thing doesn't get a sticker and no one downloads it
1751: [22:39:32] <antmas> UncleCheese: that should never matter
1752: [22:39:37] <UncleCheese> in my experience, people really do want their thing to get downloaded
1753: [22:39:38] <irogue_> hmmmm
1754: [22:39:50] <adrexia> it's more "is this useful to others?" If the answer is yes, I'll usually put it soemwhere public
1755: [22:39:57] <irogue_> I just got a calendar invitation to "King of Fighters '98 Championship"
1756: [22:40:17] <UncleCheese> but i guess what we're trying to sort out is the modules that some one just "stuck somwhere" because they realised it was reusable (still a good thinng)
1757: [22:40:22] <irogue_> this company is weird :P
1758: [22:40:24] <UncleCheese> and those who really took time to release something to make SS better
1759: [22:40:27] <adrexia> yeah, the best metric of wheether it has been useful is the number of downloads
1760: [22:40:36] <UncleCheese> two different visions, IMO
1761: [22:40:56] <antmas> lots of people download wordpress
1762: [22:40:58] <adrexia> not to me
1763: [22:40:59] <antmas> ;)
1764: [22:41:12] <adrexia> why would you make anythign that wasn't making things better?
1765: [22:41:33] <irogue_> adrexia: but something can be hugely useful *and* a giant security hole
1766: [22:41:34] <camfindlay> to let you guys know… I managed to boil my addons research down to a siple comparitave statement….”Addons.silverstripe.org will be for SilverStripe modules, what Tripadvisor is for travel destinations”
1767: [22:41:37] <adrexia> the other is just making it better for others as well as your own projects
1768: [22:41:46] <adrexia> irogue_, true
1769: [22:41:54] <adrexia> I sort of agree with downvoting :P
1770: [22:42:02] <adrexia> though its harsher
1771: [22:42:25] <adrexia> "hey this module has a giant security flaw"
1772: [22:42:26] <antmas> camfindlay: that works I guess
1773: [22:42:49] <adrexia> what is Tripadvisor?
1774: [22:42:52] <camfindlay> that a very high level look at it and you get the idea
1775: [22:42:53] <UncleCheese> lol!
1776: [22:43:05] <UncleCheese> ah, i love living outside the US
1777: [22:43:05] <irogue_> as long as it doesn't spam me as much as TA does
1778: [22:43:07] <camfindlay> go check it out adrexia
1779: [22:43:26] <UncleCheese> finding out all these things i use all the time aren't known in the rest of the world
1780: [22:43:44] <irogue_> "oh, I see you left a comment once. that means you want to hear from us three times a day, right?!?"
1781: [22:43:45] <adrexia> do not want
1782: [22:43:50] <adrexia> too cluttered
1783: [22:43:57] <camfindlay> they have overall useful ratings and also provide some breakdown of what things made a destination good
1784: [22:44:08] <adrexia> haha :)
1785: [22:44:09] <camfindlay> I’m not talking about the look as such and UI
1786: [22:44:09] <antmas> adrexia: lol, the idea, not the terribad website
1787: [22:44:10] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1788: [22:44:16] <camfindlay> we’d work out a better way to do that
1789: [22:44:19] <adrexia> yeah, I get what they are after. just image overload
1790: [22:44:35] <camfindlay> as I say, I’m looking at this purely conceptually
1791: [22:44:54] <UncleCheese> adrexia we have a huge problem right now with modules, as i see it.. there's no way to find good stuff short of doing some github sleuthing
1792: [22:45:06] <adrexia> ahh, right
1793: [22:45:07] <UncleCheese> so i'm keen to hear how you think we can classify modules so get more eyes on them, if at all
1794: [22:45:13] <irogue_> and that isn't helped by the search on addons being damn near useless :P
1795: [22:45:14] <adrexia> I've never had the problme I guess
1796: [22:45:24] <Kingy> UncleCheese: better filters
1797: [22:45:26] <UncleCheese> but imagine you're a new user
1798: [22:45:31] <Kingy> yeah or what irogue_ said
1799: [22:45:37] <adrexia> If I don't like a module, I go looking for a better one
1800: [22:45:54] <UncleCheese> there's a tremendous defecit right now in how we get those people to discover thirdparty stuff
1801: [22:45:56] <irogue_> http://addons.silverstripe.org/add-ons?search=datetime&type=&sort=
1802: [22:45:57] <Kingy> adrexia: is this after you've spent time installing it and finding it useless?
1803: [22:46:19] <Stomach> UncleCheese - I just search github, dont ever even bother with the ss addons site
1804: [22:46:19] <UncleCheese> simon released a 2FC module.. super awesome
1805: [22:46:28] <UncleCheese> nobody outside the dev mailing list knew about it
1806: [22:46:44] <irogue_> http://addons.silverstripe.org/add-ons?search=timefield&type=&sort=
1807: [22:46:46] <adrexia> sometiems. othertimes its... "wow, Silverstripe blog is old school" "Oh look, silverstripe blogger!"
1808: [22:47:00] <irogue_> why the fuck does betterbrief/silverstripe-betterdatetimefield appear in the 2nd search but not the 1st?!?!??!
1809: [22:47:07] * terryapodaca has left #silverstripe
1810: [22:47:29] <antmas> yeah people that _know_ ss would usually use github to get addons
1811: [22:47:32] <ss23> irogue_: Send a pull request? :D
1812: [22:47:36] <antmas> to ifind*
1813: [22:48:47] <adrexia> yep\
1814: [22:49:06] <adrexia> addons is a new thing though, and if it can be done right, it'll be very useful
1815: [22:49:33] <adrexia> and, well, I'm probably not going to use a module without a composer file anyway
1816: [22:50:00] <antmas> anyone know of a way to only load an iframe when an element is clicked?
1817: [22:50:16] <UncleCheese> we need to show new users that there is a healthy ecosystem of community sponsored modules, and sending them off to github is just embarassing, IMO
1818: [22:50:31] <adrexia> github is awesome
1819: [22:50:36] <antmas> github is awesome
1820: [22:50:43] <UncleCheese> i didn't say ti wasn't awesome
1821: [22:50:44] <adrexia> :D
1822: [22:50:45] <Ryan-Toast> github is awesome
1823: [22:50:53] <antmas> but... sending them there al the time is a bit weak
1824: [22:50:55] <adrexia> yeah, don't diss github man
1825: [22:50:56] * Olliepop_ has joined #silverstripe
1826: [22:51:03] <novaweb> guthib is orsum --
1827: [22:51:44] <adrexia> I think they do need to know about github. but the more we can help them before they end up at gitgub the better
1828: [22:51:55] <UncleCheese> of course github is awesome, but if we're going to use it as a de facto showcase of our modules, the we might as well replace the forum with google search
1829: [22:52:18] <adrexia> though I can't be the only one that uses addons, the npm site etc, as a way to find the github urls
1830: [22:52:23] <adrexia> :P
1831: [22:52:33] <irogue_> adrexia: yep, thats what I use it for too. it's great for that though.
1832: [22:53:06] <adrexia> I think pushing more new silverstripe users towards github will be good for us and them
1833: [22:53:09] <irogue_> I'm all for replacing the forum with SO, but I think everyone knows my dislike of forums :P
1834: [22:53:12] <adrexia> but has to be done the right way
1835: [22:53:25] <adrexia> irogue_, with you there
1836: [22:53:28] <Kingy> tut tut ss23 "Ah crap, looks like my rebase got messed up. I did move it, I must've messed up something"
1837: [22:54:04] <ss23> ;_;
1838: [22:54:07] <ss23> I messed it up!
1839: [22:54:28] <antmas> is this an 'ok' thing to do? http://stackoverflow.com/questions/6015809/only-load-div-iframe-onclick
1840: [22:54:44] <antmas> loading a src attibute only onclick?
1841: [22:54:54] <Kingy> antmas: jquery alll the things
1842: [22:55:21] <antmas> Kingy: same idea though, but I'm wondering if it's an ok thing to do
1843: [22:55:27] <antmas> as I'm forced to use iframes in this instance
1844: [22:55:43] <Kingy> hmm
1845: [22:55:56] <Stomach> antmas - yeah we do that
1846: [22:56:08] <antmas> Stomach: does it save on page load times quite a bit?
1847: [22:56:12] <antmas> I'd imagine it would
1848: [22:56:16] <Stomach> yeah heaps
1849: [22:56:17] <Stomach> http://www.bidvest.co.nz/foodservice/our-latest-brochures/
1850: [22:56:23] <antmas> as I have like 6 iframes on this page :|
1851: [22:56:35] <adrexia> antmas inline js is a bit old school
1852: [22:56:51] <antmas> adrexia: yeah but it's a bit more simple yeah?
1853: [22:57:06] <adrexia> hmmm. do you have control of the html?
1854: [22:57:13] <antmas> yup
1855: [22:57:35] <adrexia> then maybe only render the iframe on click?
1856: [22:58:01] <antmas> that's what that is doing though isn't it?
1857: [22:58:02] <adrexia> though rendering just the source is fine too
1858: [22:58:14] <adrexia> nah, I mean the whole element
1859: [22:58:19] <antmas> which woud save more time/resource at page load?
1860: [22:58:25] <adrexia> rather than having an empty iframe in the dom
1861: [22:58:31] <antmas> ah I see
1862: [22:58:32] <adrexia> not sure
1863: [22:58:38] <antmas> that is *cleaner* that way
1864: [22:58:47] <adrexia> I'm just wondering what an emoty iframe would do for accessibility
1865: [22:58:57] <antmas> sweet FA
1866: [22:59:02] <antmas> is what it does :P
1867: [22:59:06] * lerni has joined #silverstripe
1868: [22:59:07] <Kingy> lol
1869: [22:59:08] <adrexia> though i suppose so long as you had display:hidden on it it would be fine
1870: [22:59:14] <Kingy> I'd load the whole element personally
1871: [22:59:21] <Kingy> rather than just the source
1872: [22:59:23] <adrexia> I think I would too
1873: [22:59:24] <antmas> yeah I'll do that
1874: [22:59:33] <antmas> cheers adrexia :D and Stomach :D
1875: [23:01:25] * lerni quit (Read error: Connection reset by peer)
1876: [23:01:36] * lerni has joined #silverstripe
1877: [23:05:47] <ss23> 11:53:10 < irogue_> I'm all for replacing the forum with SO, but I think everyone knows my dislike of forums :P
1878: [23:05:50] <ss23> :P
1879: [23:05:52] <ss23> EVERYONE hates forums
1880: [23:07:04] <irogue_> good to know it's not just me then ^_^
1881: [23:07:18] <Stomach> I like forums, but not for finding stuff out
1882: [23:07:21] <Stomach> just for random shit talk
1883: [23:07:26] <Stomach> but we have IRC!
1884: [23:08:51] <Colin[pi]> you know that volcano in japan? forums caused that
1885: [23:09:38] <irogue_> when's the next web dev conf?
1886: [23:09:46] <camfindlay> why does a pirate, pirate? fo’ rums.
1887: [23:10:10] * Colin[pi] groans at camfindlay
1888: [23:10:14] <Colin[pi]> ;p
1889: [23:10:38] <irogue_> looks like it's webstocdk
1890: [23:10:54] <Colin[pi]> feb?
1891: [23:11:45] <irogue_> I have approximately none interest in webstock, most of it isn't relevant to me
1892: [23:12:01] <irogue_> I basically just want #phpnz15 to not be a fucking year away
1893: [23:12:18] <Kingy> +1
1894: [23:12:28] <Colin[pi]> irogue_: yeah but I went to WDCNZ expecting.. like.. basically papabear's presentation, and instead got 503 presentations about robots, node.js, and fucking haskell
1895: [23:12:52] <irogue_> Colin[pi]: yup. wdc was disappoint
1896: [23:12:56] <irogue_> should be called nodeconf
1897: [23:13:08] <Colin[pi]> I mean some were interesting, but not really related to my day-to-day
1898: [23:13:08] * Ryan-Toast quit (Quit: Ryan-Toast)
1899: [23:13:13] <camfindlay> +7 irogue_
1900: [23:13:13] <irogue_> yup
1901: [23:13:21] <irogue_> phpconf was best conf
1902: [23:13:27] <camfindlay> yip agree
1903: [23:13:34] <irogue_> Colin[pi]: come to phpconf next year
1904: [23:13:40] <Colin[pi]> date?
1905: [23:13:53] <camfindlay> actually I need to email the organiser and see how the aftermarth was - maybe when they’ll get the videos up
1906: [23:13:56] <irogue_> not announced yet, but probably similar time of year to when this one was
1907: [23:14:00] <Colin[pi]> mm k
1908: [23:14:26] <camfindlay> Colin[pi] just come over for a hackfest… we have burgerfuel
1909: [23:15:06] <Colin[pi]> camfindlay: I know! each SS office is located suspiciously close to a BF
1910: [23:15:17] <irogue_> ^_^
1911: [23:15:29] <ss23> GREEN MEANS MERGE?!
1912: [23:15:30] <ss23> :D
1913: [23:15:35] <irogue_> Colin[pi]: no accident, my friend
1914: [23:17:22] <Kingy> so I need to know about this hackfests early
1915: [23:17:29] <Kingy> I seem to come to all the conferences but miss all the rest lol
1916: [23:17:38] <adrexia> WDCNZ wasn't disappoint for me. ;)
1917: [23:17:40] <Kingy> also Colin[pi] phpconf is best
1918: [23:17:46] <irogue_> adrexia: you're not a PHP dev :P
1919: [23:17:47] <adrexia> it's the only6 mjavascript conference we have here ;)
1920: [23:17:57] <irogue_> Kingy: you in the meetup group?
1921: [23:18:08] <Kingy> ermm don't think so
1922: [23:18:11] <adrexia> irogue_ I try hard not to be
1923: [23:18:12] <irogue_> http://www.meetup.com/SilverStripe-Wellington-Meetup-Group/
1924: [23:18:23] <Colin[pi]> adrexia: do you like robots?
1925: [23:18:32] <adrexia> I like javascript
1926: [23:18:32] <Colin[pi]> or node.js ?
1927: [23:18:35] <Colin[pi]> ah bingo
1928: [23:18:36] <Colin[pi]> ;D
1929: [23:18:39] <adrexia> through javascript I can come to love robots
1930: [23:18:55] <irogue_> oh god
1931: [23:19:26] <irogue_> we shouldve done a rapidfire talk at phpconf on "programming robots using PHP and Haskell"
1932: [23:19:28] <adrexia> bascially, I think Wellington js had hijacked WDCNZ on the grounds that its the only conference we can make all about JS ;)
1933: [23:19:37] <irogue_> everyone there who went to WDCNZ wouldve lol'd
1934: [23:19:47] <antmas> you should make node.js robots and do talks and get paid to do nothing for no reason
1935: [23:19:49] <adrexia> but.. even then there was a bit too much 'not js'
1936: [23:19:51] <Colin[pi]> haha irogue_
1937: [23:19:53] <antmas> did I say that out loud?
1938: [23:20:37] <adrexia> javascript actually makes sense for robots, php does not
1939: [23:20:40] <Kingy> fucking haskell
1940: [23:20:50] <Kingy> did anyone go to her talk at phpconf?
1941: [23:20:52] <adrexia> haskell infiltrated wellignton js too
1942: [23:20:56] <Stomach> C makes sense for robots
1943: [23:21:05] <adrexia> it seems to find its way into everything
1944: [23:21:13] <adrexia> Stomach, I don't disagree
1945: [23:21:24] <Colin[pi]> Kingy: lol I think antmas put it best: "5 mins in... 'I've made a huge mistake...'"
1946: [23:21:33] <adrexia> js gets compiled down anyway
1947: [23:21:37] <irogue_> adrexia: kinda seems to me like now that there's a phpconf, if there was a jsconf, WDCNZ could just go away. webstock covers the "overall web stuff"
1948: [23:21:39] <Kingy> yeah, I avoided her talk at phpconf Colin[pi] for that very reason
1949: [23:21:43] <Colin[pi]> lol
1950: [23:22:01] <adrexia> webstock covers inspiration
1951: [23:22:04] <ss23> 12:21:33 < adrexia> js gets compiled down anyway
1952: [23:22:06] <adrexia> I love inspiration
1953: [23:22:07] * Ryan-Toast has joined #silverstripe
1954: [23:22:09] <ss23> you can compile PHP down
1955: [23:22:11] <adrexia> but its not a tech conference
1956: [23:22:12] <Kingy> but then again the one I went to was something like "10 project management mistakes to avoid"
1957: [23:22:25] <irogue_> oh god that was bad
1958: [23:22:32] <adrexia> ss23 - yes, but its
1959: [23:22:33] <adrexia> argh
1960: [23:22:37] <irogue_> THIS IS NOT A PROJECT MANAGEMENT CONF
1961: [23:22:44] <Colin[pi]> I guess confs are always a bit of a mixed bag
1962: [23:22:49] <adrexia> the reason js would be cool for robots is the events orientated stuff
1963: [23:22:56] <Kingy> irogue_: haha yeah
1964: [23:22:59] <adrexia> other than that, just write C
1965: [23:23:05] <Kingy> also the one about working remotely wasn't anything to do with php now that I think about it
1966: [23:24:29] <Colin[pi]> adrexia: haha "just write C"
1967: [23:24:46] <Colin[pi]> you make it sound so trivial ;)
1968: [23:24:57] <irogue_> * Any character not in the white-list of allowed characters throws a user error
1969: [23:24:58] <irogue_> * Reasoning is that with the JS validation, only an attacker would be submitting non-whitelisted characters
1970: [23:24:58] <irogue_> * so we might as well not do them a favor and clean up their submission for them
1971: [23:25:05] * irogue_ shakes head
1972: [23:25:15] <adrexia> its a book that's less than a centimetree thick
1973: [23:25:27] <adrexia> with practically everythign in it
1974: [23:25:40] <adrexia> ... and yet, you are right ;)
1975: [23:25:58] <irogue_> Colin[pi]: I don't write C, but I've looked into it and it doesn't seem too bad.
1976: [23:26:01] <irogue_> C++ on the other hand
1977: [23:26:02] <irogue_> fuck C++
1978: [23:26:14] <Colin[pi]> irogue_: maybe I'm thinking of that
1979: [23:26:18] <Colin[pi]> I haven't done either
1980: [23:26:28] <Stomach> C sucks
1981: [23:26:30] <Stomach> malloc
1982: [23:26:30] <adrexia> it's conceptually a bit different.
1983: [23:26:31] <Stomach> :(
1984: [23:26:37] <adrexia> but it's not so bad
1985: [23:26:52] <antmas> C# is awesome :P
1986: [23:26:56] <irogue_> yes
1987: [23:26:57] <irogue_> I like C#
1988: [23:27:07] <adrexia> C# is just java really :P
1989: [23:27:11] <irogue_> but less shit
1990: [23:27:12] <irogue_> :P
1991: [23:27:13] <antmas> o.O
1992: [23:27:14] <Kingy> yep I don't mind c#
1993: [23:27:14] <Colin[pi]> yeah from what I've seen of C# it looks ok
1994: [23:27:18] <Colin[pi]> oh no she dee-nt
1995: [23:27:24] <Colin[pi]> she dee-nt just call C# java
1996: [23:27:33] <Kingy> less shit is so correct
1997: [23:27:34] * muskie9 has joined #silverstripe
1998: [23:27:39] <irogue_> she's not wrong - C# was basically designed to be java but less shit
1999: [23:27:42] <adrexia> https://www.google.co.nz/search?q=C%23+is+just+java&oq=C%23+is+just+java&aqs=chrome..69i57j69i58j0.796j0j7&sourceid=chrome&es_sm=93&ie=UTF-8
2000: [23:27:46] <Colin[pi]> lol
2001: [23:27:46] <antmas> I know
2002: [23:27:53] <Colin[pi]> it basically is i know ;P
2003: [23:27:55] <adrexia> lol. language wars
2004: [23:27:55] <antmas> but that comparison is almost pointless
2005: [23:28:00] <antmas> :D
2006: [23:28:34] <irogue_> I want an excuse to write some Hack
2007: [23:28:49] <adrexia> honestly - does the lanaguge help you do what you want to do? Is there one that would do better? Use it
2008: [23:29:17] <Stomach> NO USE SILVERSTRIPE
2009: [23:29:32] <Colin[pi]> Stomach: or Silverlight as one of my clients calls it
2010: [23:29:34] <antmas> lots of people just call other languages shit because they spent 2 hours in it and could not compute
2011: [23:29:41] <adrexia> ONLY IF ITS WRITTEN IN GO
2012: [23:29:43] <irogue_> Stomach: not every project done by SS Ltd uses SilverStripe ;)
2013: [23:29:49] <Colin[pi]> antmas: so true
2014: [23:29:58] <adrexia> antmas - agree
2015: [23:29:59] <irogue_> sometimes SS just isn't the answer
2016: [23:30:11] <Stomach> like most of my life
2017: [23:30:21] <adrexia> *sometimes* / often
2018: [23:30:34] <adrexia> though its nice when it is
2019: [23:30:43] <irogue_> well, for most of what I do, it is
2020: [23:31:01] <UncleCheese> true.. I just downloaded the silverstripe/ebola-cure module and it hasn't done shit!
2021: [23:31:08] <irogue_> :P
2022: [23:31:20] <Colin[pi]> UncleCheese: did you flush=1?
2023: [23:31:21] <adrexia> hahaha
2024: [23:31:28] <UncleCheese> OH!
2025: [23:31:33] <antmas> zing
2026: [23:31:36] <antmas> cotd
2027: [23:32:09] <Kingy> great call
2028: [23:32:15] <Kingy> #silverstripe bestof
2029: [23:32:25] <Stomach> that should be the topic
2030: [23:32:33] <Ryan-Toast> Wouldn’t it be ?flush=2
2031: [23:32:36] <Stomach> /dev/build?flush=all please
2032: [23:32:51] <irogue_> I like using ?flush=toilet
2033: [23:33:01] <adrexia> "Silverstripe is not the solution to your ebola problem"
2034: [23:33:03] <Colin[pi]> yeah it doesn't even check the value, right?
2035: [23:33:12] <Colin[pi]> it just looks for flush = something not null/false
2036: [23:33:21] <irogue_> and not 'all'
2037: [23:33:24] <irogue_> since all is special case
2038: [23:33:26] <adrexia> it used to, not sure it does anymore
2039: [23:33:27] <Colin[pi]> mm
2040: [23:33:33] <adrexia> ?
2041: [23:33:33] <Stomach> it still does
2042: [23:33:39] <ss23> I touched silverstripe now I have ebola
2043: [23:33:40] <adrexia> ahh good
2044: [23:33:41] <Stomach> all still has special cases
2045: [23:34:08] <irogue_> lunchtiem!
2046: [23:34:17] <irogue_> PORK RIBLET DAY
2047: [23:34:25] <Stomach> urgh
2048: [23:34:26] <ss23> irogue_: burgerfuel?
2049: [23:34:28] <ss23> ^.^
2050: [23:34:33] <irogue_> neg, subway
2051: [23:34:55] <spronk> Ryan-Toast, actually, forget the blackjack
2052: [23:34:55] <irogue_> EAT FLESH
2053: [23:34:56] <Colin[pi]> lunch time already? 11:30?
2054: [23:35:03] <irogue_> Colin[pi]: 12:30 ;)
2055: [23:35:06] <Colin[pi]> oh
2056: [23:35:07] <spronk> A WIZARD IS NEVER LATE, OR EARLY
2057: [23:35:07] <Colin[pi]> ohh
2058: [23:35:13] * spronk arrives precisely when he means to, 12:34
2059: [23:35:30] <Kingy> fly you fool
2060: [23:35:33] <irogue_> Colin[pi]: daylight saving started on sunday ^_^
2061: [23:35:40] <Colin[pi]> gotcha
2062: [23:36:04] <Kingy> hells yeah
2063: [23:36:08] <Colin[pi]> also ss23, you cheeky bastard.. my htpc barely makes any noise :P
2064: [23:36:10] <Kingy> i get home in the daylight
2065: [23:36:20] <spronk> LoTR wisdom suggesting Gandalf was referring to using the eagles to transport the ring to Mordor, thereby avoiding the whole shebang. Fellowship fails to realise the suggestion, ends up having to wage many wars.
2066: [23:37:07] <Colin[pi]> spronk: yeah I had that thought also... "but.. he could... why didn't he..."
2067: [23:37:08] <ss23> Colin[pi]: :3
2068: [23:37:11] <Colin[pi]> "oh, plot"
2069: [23:37:16] <spronk> http://www.reddit.com/r/FanTheories/comments/130it2/lord_of_the_rings_a_theory_about_the_eagle_plot/
2070: [23:37:27] <spronk> this guy makes a good case for the canon
2071: [23:37:35] <ss23> Colin[pi]: If there's any, noise, it's too loud!
2072: [23:37:58] <Colin[pi]> ss23: well the old gpu was passive actually but I'm trying the 560 in there
2073: [23:38:06] <ss23> spronk: The Eagles wouldn't help for shiit
2074: [23:38:08] <Kingy> http://imgur.com/KtIMzH2
2075: [23:38:10] <Colin[pi]> the cpu is zalman and barely makes a sound
2076: [23:38:11] <Kingy> holy shit
2077: [23:38:27] <ss23> Only twice ever have the Eagles helped Men or Elves. Once in LOTR, and once against Morgoth himself
2078: [23:39:46] <spronk> they were such good movies
2079: [23:39:54] * spronk never really cared for the books
2080: [23:40:07] <Colin[pi]> *gasp*
2081: [23:40:18] <Kingy> I agree
2082: [23:40:18] <Colin[pi]> well tbh I've read the hobbit and part 1 of lotr :P
2083: [23:40:23] <Colin[pi]> but not 2 and 3
2084: [23:40:25] <Kingy> read the books in order for the old man to buy me a bb gun
2085: [23:40:32] <antmas> the hobbit book was the best
2086: [23:40:38] <Kingy> yeah hobbit was easy read
2087: [23:40:42] <Colin[pi]> mm
2088: [23:40:50] <Colin[pi]> when is part three out?
2089: [23:41:07] <Colin[pi]> ah xmas time again
2090: [23:41:17] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
2091: [23:41:19] <Kingy> the time it makes most money ofc
2092: [23:41:25] <Colin[pi]> mmhmm
2093: [23:41:31] <Colin[pi]> including mine
2094: [23:41:54] <ss23> The books are okay IMO. Good world, the writing is better than average but not amazing
2095: [23:42:11] <ss23> Definitly one of those "WOW SUCH A COOL UNIVERSE" set of books rather than a "This plot is the most engaging ever!" IMO
2096: [23:42:35] * zippy has joined #silverstripe
2097: [23:42:44] <Colin[pi]> I'l tell you one author that really surprised me after seeing the movies first.. Michael Crichton.. as in "this writing is really average"
2098: [23:42:54] <Colin[pi]> great imagination and ideas, but the writing... wow
2099: [23:43:19] <Colin[pi]> what was that one I read of his... "Next" - jesus that was shit
2100: [23:43:25] <spronk> jackson and cast/crew outdid themselves for the Lotr triolgy
2101: [23:43:34] <spronk> hobbit isn't even in the same playing field
2102: [23:43:49] <spronk> its disappointing
2103: [23:43:51] <Colin[pi]> well... hobbit is good but they've reallllly streeeeetched it outttt
2104: [23:43:59] <spronk> the second movie was a crock of shit
2105: [23:44:03] <spronk> the fuck was with that bee
2106: [23:44:04] <Colin[pi]> and added a ton of creative licence
2107: [23:44:32] <spronk> and you know which bee i'm talking about.
2108: [23:44:35] <Colin[pi]> spronk: that bit with the barrels and like 20 perfect arrow shots in a row had me lol'ing
2109: [23:44:42] <spronk> yeaaahhh
2110: [23:44:49] <antmas> I liked the 2nd one :D
2111: [23:45:01] * spronk much prefers the slightly more serious style of LoTR
2112: [23:45:30] <Colin[pi]> mm LOTR you felt the danger, the evil... hobbit is like "LOL middle earth"
2113: [23:45:32] <crapwagon> fuck all of them
2114: [23:45:55] <crapwagon> wish del toro had directed it
2115: [23:45:58] <crapwagon> hellboy 2 is proper
2116: [23:46:13] <spronk> and gandalf the white was a much more authoritive figure than grey
2117: [23:46:18] <crapwagon> pan's labyrinth is proper
2118: [23:46:30] <antmas> hellboy 2 was lame
2119: [23:46:32] <spronk> crapwagon, PACIFIC RIM AMIRITE?!
2120: [23:46:39] <adrexia> pan's labyrintjh is amazing
2121: [23:46:46] <spronk> USE A BOAT AS A BAT
2122: [23:46:51] <spronk> ... fuck that was cool
2123: [23:47:00] <antmas> I wish he'd got the go ahead to make At the Mountains of Madness'
2124: [23:47:17] * spronk is waiting for Interstellar, Prometheus 2, Pacific Rim 2
2125: [23:47:18] <crapwagon> i wont mention pacific rim even though i thought it was a stunning 3d experience, just felt like they were forced by the studio to make the writing cater to 14 year old boys because WHO ELSE WANTS TO SEE GIANT MECHS FIGHTING WITH TRANSDIMENSIONAL PSY DINOSAURS
2126: [23:47:33] <crapwagon> i however did enjoy it
2127: [23:47:37] * spronk must be a 14 year old boy at heart
2128: [23:47:54] <UncleCheese> anyone know anything about 2degrees telco?
2129: [23:48:03] <antmas> yeah Interstellar looks like the next 2001 imo
2130: [23:48:09] <antmas> UncleCheese: yup
2131: [23:48:32] <UncleCheese> any good?
2132: [23:48:50] <spronk> everything about interstellar looks good. that first long trailer was face melting
2133: [23:48:58] <antmas> UncleCheese: yeah, but it depends on a couple of things
2134: [23:49:03] <UncleCheese> they're the only telco around that gives you a phone
2135: [23:49:10] <antmas> UncleCheese: for one, they piggyback off of Vodafone's network
2136: [23:49:16] <UncleCheese> oh good
2137: [23:49:18] <UncleCheese> i'm on VF
2138: [23:49:18] <spronk> mcconahugeheyruey looks on his game, as he has been absolutely for the last few years
2139: [23:49:37] <spronk> UncleCheese, VF will be faster
2140: [23:49:41] <UncleCheese> boo
2141: [23:49:43] <spronk> 2d has better customer support
2142: [23:49:50] <antmas> spronk: dat True Detective
2143: [23:49:57] * antmas swoons
2144: [23:50:04] <spronk> coverage will be the same, in the cities 2D uses their own gear
2145: [23:50:10] <spronk> then roams to vodafone outside main centres
2146: [23:53:21] <UncleCheese> are there any other providers that give you a phone with a contract?
2147: [23:53:27] <spronk> eh?
2148: [23:53:29] <spronk> all of them
2149: [23:53:31] <spronk> 2d, voda, spark
2150: [23:53:34] <UncleCheese> no, they don't
2151: [23:53:41] <spronk> yes they do?
2152: [23:53:55] <UncleCheese> oh looky looky
2153: [23:54:07] <antmas> prepay ftw
2154: [23:55:10] <Colin[pi]> does vodafone suck balls in NZ like it does here?
2155: [23:55:21] <UncleCheese> yeah, don't have $2k to drop on phones right now though
2156: [23:55:24] <spronk> for $0, vodafone will give you an S5 on $129/m, an S4 4g on $69/month, an iphone 5s on $99
2157: [23:55:38] <UncleCheese> and our 4s's are starting to fall apart
2158: [23:55:57] <UncleCheese> but i need a separate plan for my spouse
2159: [23:56:02] <UncleCheese> so that's $200/mo?
2160: [23:56:09] <spronk> UncleCheese, consider 2degrees' share everything plan then
2161: [23:56:14] <UncleCheese> ooooh
2162: [23:56:19] <spronk> though
2163: [23:56:28] <spronk> i'm not sure if you'll get anything near a new phone for cheap like that
2164: [23:56:49] <antmas> yeah but plans mean you pay 12312312x as much for the phone
2165: [23:56:59] <antmas> wait, I'm thinking of HP
2166: [23:57:00] <antmas> nevermind
2167: [23:57:00] <spronk> $99/month share everything plan gets you a $750 phone discount
2168: [23:57:17] <spronk> im not entirely sure how their plan works though
2169: [23:57:33] <spronk> it says $99/month. Then it says add an extra person for $29 per month
2170: [23:57:39] <UncleCheese> so we could chuck our old phones on trade me
2171: [23:57:41] <spronk> then the calculator uses $49.50/person/month
2172: [23:57:48] <spronk> you'll get a few hundy for 4s
2173: [23:57:56] <antmas> bought my GS3 outright
2174: [23:58:04] <spronk> mm
2175: [23:58:14] <UncleCheese> ... adn we've got 2
2176: [23:58:15] <antmas> pay $20 per month for the equivalent of a $70 per month plan
2177: [23:58:27] <UncleCheese> so figure.. you get $400 for the phones, roll that into a new 5s
2178: [23:58:31] <spronk> yeah
2179: [23:58:34] <UncleCheese> and then get teh free 5s with the plan
2180: [23:58:40] <UncleCheese> i htink this might work
2181: [23:58:51] <UncleCheese> can't get a discount on a 6 though?
2182: [23:58:54] <spronk> yeah you can
2183: [23:59:03] <UncleCheese> ooooh
2184: [23:59:10] <spronk> i think the norm is about $149 handset price on a $99/month plan
2185: [23:59:10] <UncleCheese> where?
2186: [23:59:15] <spronk> all 3 telcos
2187: [23:59:19] <spronk> http://www.vodafone.co.nz/iphone6/
2188: [23:59:21] <UncleCheese> hmm
2189: [23:59:27] <spronk> http://iphone.2degreesmobile.co.nz/iphone6#page-top
2190: [23:59:36] <Ryan-Toast> I’m waiting for the second generation Z3
2191: [23:59:38] <spronk> http://www.spark.co.nz/discover/iphone6/
2192: [23:59:39] <spronk> :P
2193: [23:59:50] * spronk is currently attempting to use android via nexus 5
2194: [23:59:53] <antmas> $99p/m for a phone sounds crazy to me
2195: [23:59:57] <spronk> IKR

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