#silverstripe IRC Log

IRC log for 10 February 2014

All timestamps are in UTC.

1: [00:00:32] * UncleCheese quit (Quit: UncleCheese)
2: [00:02:05] <zippy__> guzzlefry: got tests for that?
3: [00:02:09] <zippy__> ;-)
4: [00:03:49] * UncleCheese_ has joined #silverstripe
5: [00:04:06] * Bollig|DesignCty has joined #silverstripe
6: [00:04:48] <guzzlefry> :P
7: [00:07:14] <Zauberfisch> guzzlefry: there is 1 space to many in SiteTree line 14
8: [00:07:41] * sam_____ has joined #silverstripe
9: [00:07:43] <Zauberfisch> you can modify your previous commit by using "git commit --amend"
10: [00:08:03] <Zauberfisch> then you need to overwrite the commit on github. you can use "git push -f" to force the push
11: [00:08:14] <Zauberfisch> (just to be picky)
12: [00:08:19] <Zauberfisch> other than that it looks good
13: [00:08:45] <Zauberfisch> also, I was not aware that there is a @method and @proerty for the magic stuff
14: [00:08:50] <Zauberfisch> thats good to know
15: [00:09:43] <guzzlefry> Zauberfisch: Is that why the build failed?
16: [00:09:51] <Zauberfisch> no
17: [00:10:03] <Zauberfisch> the build probably faild because someone broke something before you forked it
18: [00:10:11] <guzzlefry> heh
19: [00:11:03] <Zauberfisch> guzzlefry: is that @method standardizised?
20: [00:11:08] <guzzlefry> yessir
21: [00:11:25] <Zauberfisch> ah, found it
22: [00:11:45] <guzzlefry> I actually have a rather large set of changes fixing all of the doc tags.
23: [00:11:50] <guzzlefry> About halfway through. :P
24: [00:11:54] <Zauberfisch> nice
25: [00:12:11] <Zauberfisch> guzzlefry: it appears that only the behat tests failed
26: [00:12:23] <Zauberfisch> so just 1 out of 6 runs
27: [00:14:25] <guzzlefry> Zauberfisch: I originally did: git push origin document-magic, so should I be doing git push -f origin document-magic?
28: [00:14:33] <guzzlefry> Not sure if I need the branch in there...
29: [00:15:40] <Zauberfisch> depends if your local branch is setup to track the remote one
30: [00:15:49] <Zauberfisch> is your local branch also called document-magic?
31: [00:15:59] <guzzlefry> yep
32: [00:16:02] <guzzlefry> and it's set to that
33: [00:16:11] <Zauberfisch> ok, then "git push -f" is enough
34: [00:16:25] <Zauberfisch> if it is not, it will tell you that it is confused anyway
35: [00:16:32] <Zauberfisch> so no need to worry
36: [00:16:56] <guzzlefry> okay, looks like it goes through the pull request automatically?
37: [00:17:05] <Zauberfisch> yes
38: [00:17:36] <Zauberfisch> also, I am not sure if "integer" is valid
39: [00:17:41] <Zauberfisch> I have always used "int"
40: [00:19:31] <guzzlefry> It should take both.
41: [00:20:03] <guzzlefry> Zauberfisch: http://www.phpdoc.org/docs/latest/references/phpdoc/types.html
42: [00:20:50] <guzzlefry> oh boy, you can do types for arrays.
43: [00:21:59] * chillu_23 has joined #silverstripe
44: [00:22:20] <guzzlefry> @return int[] and such
45: [00:28:16] * Joel-TDC has joined #silverstripe
46: [00:30:57] <Joel-TDC> hey
47: [00:31:23] <antmas> Joel-TDC: TDC?
48: [00:31:36] <Joel-TDC> company :)
49: [00:31:47] <antmas> my company is ... TDC :O
50: [00:31:54] <ss23> "company"
51: [00:31:57] <antmas> lol
52: [00:32:08] <antmas> ykwim
53: [00:32:08] <Joel-TDC> i'm looking to call $Top.methodName() from within an include
54: [00:32:28] <Joel-TDC> i've tried passing in the include
55: [00:32:45] <Joel-TDC> i.e. <% include Template variable=$Top.MethodName %>
56: [00:33:20] <Joel-TDC> though as it's included in many places I was wondering if I can get to the page controller scope from the include rather than including in the aforementioned way each time
57: [00:33:40] <Guest78456> is there a way to have all non-exitent pages redirect to the homepage rather than an error page
58: [00:33:41] <Guest78456> ?
59: [00:33:51] <antmas> guzzlefry: correct? http://www.sspaste.com/paste/show/52f81b450b089
60: [00:34:23] <guzzlefry> antmas: I believe so, plus you need $allowed_actions.
61: [00:34:32] <antmas> guzzlefry: ah, yes true
62: [00:35:03] <guzzlefry> Let me know if that actually works.
63: [00:35:08] <guzzlefry> I *think* it should. >_>
64: [00:38:12] <antmas> guzzlefry: well, I'm not seeing any errors - but my template is still using the theme :<
65: [00:39:17] <guzzlefry> I don't get what you mean by that.
66: [00:40:13] <antmas> guzzlefry: the template I'm referring to ("MyTemplate"), I don't want any themeing. No CSS, nothing
67: [00:40:21] <guzzlefry> oh so..
68: [00:40:35] <guzzlefry> hrm
69: [00:40:48] <antmas> like
70: [00:40:54] <antmas> the template is literally just a div
71: [00:40:55] <guzzlefry> antmas: Try throwing that in templates/ instead of templates/includes/
72: [00:41:03] <antmas> ahk
73: [00:41:10] <guzzlefry> flush, retry
74: [00:43:09] <antmas> no dice
75: [00:43:10] * Jakx has joined #silverstripe
76: [00:43:54] <ss23> oh man, just had 3 sneezes in a row
77: [00:43:56] <ss23> SHIT IS CASH
78: [00:44:02] <Jakx> what's the best practice for deleting pages programatically in SS?
79: [00:44:30] <ss23> Jakx: foreach ($pages as $page) { $page->unpublish(); $page->delete(); } or something
80: [00:45:14] <Colin[pi]> just take a magnet to the hard drive
81: [00:45:18] <Colin[pi]> if it's SSD, fire
82: [00:45:35] <Jakx> lol
83: [00:45:41] <antmas> XD
84: [00:45:47] <Jakx> thx ss23
85: [00:45:51] <Colin[pi]> note: may result in deletion of other data
86: [00:46:10] <Joel-TDC> bingo! got it. thank you Antmas & Guzzlefry
87: [00:46:32] <antmas> Joel-TDC: what does TDC stand for? I must know!
88: [00:46:36] * travis-ci has joined #silverstripe
89: [00:46:36] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1904 (3.1 - c322cb2 : Sean Harvey): The build passed.
90: [00:46:36] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/51a936345a94...c322cb2d6551
91: [00:46:36] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/18551637
92: [00:46:36] * travis-ci has left #silverstripe
93: [00:46:47] <Joel-TDC> tickets dot com
94: [00:46:53] <antmas> ah
95: [00:46:55] <antmas> k
96: [00:47:03] <Joel-TDC> and in your case?
97: [00:47:24] <antmas> Tasman District Council :P
98: [00:47:40] <antmas> guzzlefry: halp!
99: [00:47:49] <guzzlefry> aaah
100: [00:48:25] <guzzlefry> antmas: See what happens if you access the controller action directly?
101: [00:48:48] <guzzlefry> http://localhost/MyBasicPage_Controller/DoTheThings
102: [00:49:45] * chillu_23 quit (Quit: chillu_23)
103: [00:50:09] <antmas> guzzlefry: erp, nothing happes :P
104: [00:50:38] <Jakx> ss23, [User Error] Page has a broken onBeforeDelete() function. Make sure that you call parent::onBeforeDelete().
105: [00:50:56] <Jakx> Nothing special about the page I'm deleting
106: [00:51:01] <antmas> guzzlefry: no error, just white page
107: [00:51:05] <guzzlefry> aw
108: [00:51:10] <guzzlefry> I was going to panic and ask Simon.
109: [00:51:19] <guzzlefry> He must have knew and left though. :P
110: [00:51:21] <Colin[pi]> KEEP CALM AND ASK SIMON_W
111: [00:51:24] <ss23> hmm
112: [00:51:25] <antmas> lol
113: [00:51:37] <ss23> Jakx: Are you 100% the page never has an overridden onBeforedelete?
114: [00:51:43] <ss23> Could be in one of the children of Page.php
115: [00:52:48] <Jakx> ss23, I'm not 100% sure but it's very unlikely. I do have the subsite module installed :S This page is just a "Page"
116: [00:52:54] <antmas> simon_w: any thoughts?
117: [00:53:00] * travis-ci has joined #silverstripe
118: [00:53:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#714 (3.1 - 74ed412 : Ingo Schommer): The build was broken.
119: [00:53:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/5e79e66ccc53...74ed4120a2c8
120: [00:53:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/18551700
121: [00:53:00] * travis-ci has left #silverstripe
122: [00:54:26] <guzzlefry> oh, he's here, just doesn't have voice or ops. :P
123: [00:54:28] <ss23> Jakx: I don't know sorry
124: [00:54:58] <simon_w> guzzlefry, I do to have ops
125: [00:55:11] <simon_w> antmas, what have you done wrong this time? :p
126: [00:55:12] <Jakx> ss23, all good thx. The stack trace ends at DataObject->delete();
127: [00:55:38] <guzzlefry> simon_w: currently? My client could be messing up. :P
128: [00:55:56] <simon_w> guzzlefry, yup. So does simon_w|air
129: [00:56:05] <guzzlefry> damnit pidgin...
130: [00:56:52] <antmas> simon_w: ;__;
131: [00:57:09] <antmas> simon_w: justr trying to render a page without using anything from theme
132: [00:57:33] <simon_w> antmas, and it's pulling in the CSS?
133: [00:57:43] <antmas> simon_w: yup, everything
134: [00:57:56] <antmas> I just want a div, nothing else
135: [00:58:03] <simon_w> antmas, Requirements::clear(); $output = $this->renderWith('blah'); Requirements::reset();
136: [00:58:16] <antmas> simon_w: thanks, lemme try
137: [00:58:27] <simon_w> Well, that'll drop the CSS/JS
138: [00:58:37] <simon_w> If it's making an entire page, move the template in templates/
139: [00:59:11] * Super-ru has joined #silverstripe
140: [00:59:13] <antmas> simon_w: is it building the entire page, I have the .ss file in /mysite/templates/Layout
141: [00:59:31] <simon_w> antmas, duh, you don't want it in Layout :p
142: [00:59:41] <antmas> ffffffffffff
143: [00:59:45] <antmas> really?
144: [01:00:03] <simon_w> antmas, yes, or it gets wrapped
145: [01:00:12] <antmas> goddamnit
146: [01:00:28] <Jakx> ss23, just as an fyi. It's the ->doUnpublish() method that prompts the error. delete() method envoked on at cms/SiteTree.php line 2331
147: [01:00:43] <antmas> well that's embarrising
148: [01:01:04] <simon_w> Jakx, you've got an onBeforeDelete() (probably in Page) that isn't calling parent::onBeforeDelete()
149: [01:01:06] <guzzlefry> antmas: I told you to do that :P
150: [01:01:44] * antmas looks at logs
151: [01:01:50] * antmas cringes
152: [01:02:01] <guzzlefry> it's okay, happens
153: [01:02:04] * SightUnseen has joined #silverstripe
154: [01:02:07] <Jakx> simon_w, hmmm yeah - this is was ss23 suggested too. Thx for the re-enforcement. I'll see if I can track it down.
155: [01:02:37] <ss23> Package could not be downloaded, sh: svn: not found
156: [01:02:40] <simon_w> Jakx, it won't show in the callstack, because onBeforeDelete() has already finished running
157: [01:02:42] <ss23> this is scary to see in a new project :(
158: [01:02:51] <simon_w> ss23, you're using my modules?
159: [01:03:00] <ss23> Maybe!
160: [01:03:03] <antmas> ooc, how does it get told eo be wrapped if it's in either /layout or /includes?
161: [01:03:05] * ss23 will check after composer is done
162: [01:03:08] <antmas> to*
163: [01:03:47] <guzzlefry> antmas: uses BasicPage.ss or whatever you had.
164: [01:03:47] <simon_w> Back to iOS stuff!
165: [01:03:53] <ss23> simon_w: *bzzz* nope, it's a designcity.com.au module
166: [01:03:56] <ss23> Oh
167: [01:04:04] <antmas> guzzlefry: ah
168: [01:04:05] <ss23> And also one running on our old SVN server (which is still up!)
169: [01:04:36] <guzzlefry> antmas: Or it moves up the class hierarchy to Page_Controller and checks for Page.ss if BasicPage.ss doesn't exist.
170: [01:05:17] <simon_w> Bollig|DesignCty, ss23's trying to use one of your modules!
171: [01:05:40] <Bollig|DesignCty> impossible!
172: [01:05:54] <Bollig|DesignCty> I don't think I have any in date modules :p
173: [01:06:01] <ss23> In date?
174: [01:06:06] <ss23> Oh, you are very very mistaken.
175: [01:06:07] <simon_w> I'm guessing it's a 2.3/4 site
176: [01:06:09] <Bollig|DesignCty> opposite of out of date
177: [01:06:10] <ss23> lol
178: [01:06:26] <Bollig|DesignCty> ss23: well, spill. What's the deal?
179: [01:06:44] <ss23> sec, will check :O
180: [01:07:23] <ss23> http://svn.designcity.com.au/sitemapmodule/
181: [01:07:25] <ss23> That one!
182: [01:07:31] <Bollig|DesignCty> yay! sitemap module!
183: [01:07:45] <Bollig|DesignCty> so when simon_w says you
184: [01:07:50] <Jakx> simon_w, how should I be deleting pages programmatically? $page->unPublish(); $page->delete(); only unpublished the page, but does not delete it.
185: [01:08:06] <Bollig|DesignCty> …you're 'trying' to use the module, something borked? should just drop it in
186: [01:08:11] <simon_w> Jakx, $page->deleteFromStage('Live');$page->deleteFromStage('Stage');
187: [01:08:22] <simon_w> Bollig|DesignCty, he didn't have SVN
188: [01:08:26] <ss23> Bollig|DesignCty: This is just an old site, it works fine. Yeah, what simon_w said
189: [01:08:48] <ss23> Fatal error: Call to a member function addslashes() on a non-object in /sites/rcgp/sapphire/core/Convert.php on line 119
190: [01:08:54] <ss23> WHAT THE FUCK IS THIS, SERIOSLY
191: [01:09:06] <ss23> Since when the fuck could you *not* have addslashes
192: [01:09:06] <Bollig|DesignCty> no svn? bah!
193: [01:09:18] <ss23> How does that even work?!
194: [01:09:23] <ss23> oh
195: [01:09:25] <ss23> On a non object
196: [01:09:26] <ss23> wtf
197: [01:09:28] <ss23> o.o
198: [01:09:30] <Bollig|DesignCty> lol
199: [01:09:40] <simon_w> ss23, No database connection!
200: [01:09:41] <Bollig|DesignCty> the old add ons directory probe has a zip download anyways...
201: [01:09:42] <ss23> Ah, I see bug
202: [01:09:42] <ss23> yeah
203: [01:09:45] <ss23> I GOT IT I GOT IT...
204: [01:09:45] <unsignedint> ss23: youre calling $something->addslashes() or something
205: [01:09:47] * ss23 grumbles
206: [01:09:58] <ss23> The joys of setting up a new VM
207: [01:09:59] <ss23> :/
208: [01:10:13] * sam_____ quit (Ping timeout: 245 seconds)
209: [01:10:15] <simon_w> GOSH ss23
210: [01:10:20] <simon_w> Don't you have a script for this?
211: [01:10:20] <ss23> Sorry :(
212: [01:10:23] * ss23 cries
213: [01:10:28] <ss23> simon_w: I almost never have to set up a new VM!
214: [01:10:35] <unsignedint> yeah ss23 wheres your Vagrantfile?
215: [01:10:43] <simon_w> ss23, I get to set up another HHVM one this week!
216: [01:10:51] <ss23> lol
217: [01:10:59] <ss23> Someone wants me to build a Vagrant for HHVM + SilverStripe
218: [01:11:03] <ss23> Probably not a bad idea
219: [01:11:04] <simon_w> dragoon.net.nz and moods.gen.nz run on HHVM now :)
220: [01:11:07] <ss23> I'll let you do it though, simon_w :)
221: [01:11:16] <simon_w> ss23, screw vagrant
222: [01:11:27] <ss23> come on, simon_w
223: [01:11:28] <ss23> Do it <3
224: [01:11:29] <ss23> :D
225: [01:12:02] <simon_w> ss23, why do something I'm not going to use?
226: [01:12:14] <ss23> simon_w: <3
227: [01:12:16] <ss23> simon_w: For love!
228: [01:12:22] <simon_w> Yeah, screw that
229: [01:12:29] <ss23> lol
230: [01:12:31] <ss23> So mean!
231: [01:12:34] <simon_w> I have other things that I'll much prefer I can do for gratis
232: [01:13:16] <Jakx> simon_w, sorry - I can't seem to find this either. How to Page::get() and return all instances of the pages including drafts?
233: [01:13:27] * SightUnseen has left #silverstripe
234: [01:13:36] <ss23> [User Error] Neither the mssql_connect() nor the sqlsrv_connect() functions are available. Please install the PHP native mssql module, or the Microsoft-provided sqlsrv module.
235: [01:13:37] <simon_w> Jakx, you can either get all from Stage or all from Live
236: [01:13:38] <unsignedint> simon_w: what about other people? being able to run 'vagrant init' in the root of a project and have a fully functional copy up and running with 0 effort in a win imo
237: [01:13:40] <ss23> My day keeps getting worse.
238: [01:13:47] <simon_w> Jakx, Versioned::get_by_stage() or some such
239: [01:13:55] <Jakx> simon_w, tyvm
240: [01:14:18] <simon_w> unsignedint, you can already got Apache+SS vagrant things
241: [01:14:32] <guzzlefry> ss23: err, I remember there being issues with mssql crap. :/
242: [01:14:53] <simon_w> unsignedint, if there's an nginix+ss one, then it's even easier to convert to nginx+hhvm+ss
243: [01:15:26] <unsignedint> I havn't actually looked, I was speaking more generally. Like for any project that other people use, not just a SS one
244: [01:15:34] * chillu_23 has joined #silverstripe
245: [01:15:53] * nickmolhoek has joined #silverstripe
246: [01:16:02] <ss23> guzzlefry: There are only issues with it!
247: [01:16:35] <simon_w> unsignedint, then they can build their own vagrant files
248: [01:16:54] <simon_w> I still don't get why I should do it, since I don't use vagrant nor plan on it
249: [01:24:51] * spronk quit (Read error: Connection reset by peer)
250: [01:25:10] <guzzlefry> unsignedint: puphpet.com?
251: [01:25:14] * spronk has joined #silverstripe
252: [01:27:25] <antmas> bah, booked in for surgery at the end of March :<
253: [01:30:10] * chillu_23 quit (Quit: chillu_23)
254: [01:34:17] <ss23> TEETH TEETH
255: [01:35:35] <guzzlefry> say what
256: [01:35:40] <antmas> the receptionist said I'd need to take at least a WEEK OFF
257: [01:35:43] <antmas> :O
258: [01:35:48] <guzzlefry> wisdom teeth?
259: [01:35:51] <Azure> ... oh boy.
260: [01:35:52] <antmas> guzzlefry: yeah
261: [01:35:57] <guzzlefry> gah
262: [01:36:00] <guzzlefry> I've been avoiding that. :P
263: [01:36:06] <antmas> 2.5 extractions :(
264: [01:36:08] <ss23> Did they tell you about the possible complications yet, antmas?
265: [01:36:13] <Azure> > For some reason going to a silverstripe site on my local machine (os x 10.9.1) under php 5.5 causes silverstripe to send an empty response, while using the system's default PHP install (5.4) works.
266: [01:36:18] <Azure> > Not sure why that's happening.
267: [01:36:18] <guzzlefry> ss23: Don't tell him!
268: [01:36:22] <Azure> > Maybe I'm missing a php module in 5.5 that os x has in 5.4?
269: [01:36:33] <guzzlefry> Azure: error logs?
270: [01:36:34] <ss23> Okay okay! It'll make him scares
271: [01:36:34] <Azure> I just looked at my error log and saw this: [Sun Feb 09 21:35:28 2014] [notice] child pid 9768 exit signal Segmentation fault (11)
272: [01:36:34] <antmas> ss23: like, strokeface?
273: [01:36:54] <ss23> Azure: Hmmmmmmmmmmmmmmmmmm
274: [01:37:06] <ss23> Azure: Those kinds of errors are very hard to debug. I do not know sorry
275: [01:37:15] <Azure> All that I can gather from that is that php 5.5 is probably compiled wrong.
276: [01:37:23] <Azure> lolhomebrew
277: [01:37:40] <ss23> Switch to Linux! :D
278: [01:37:51] <guzzlefry> Azure: puphpet.com!
279: [01:37:56] <ss23> fuck
280: [01:38:00] <ss23> I just made the most loud hiccup ever
281: [01:38:06] <antmas> ytf do I need to take a week off for? what do they plan to do to me?! :O
282: [01:38:19] <ss23> antmas: Your face is going to be the most sore it's ever been, and probably ever will be, in your life
283: [01:38:30] <ss23> antmas: For the first day, you won't even be able to stop yourself drooling like an idiot
284: [01:38:45] <antmas> ss23: lol, I know, but a WEEK seems like a long time
285: [01:38:47] <ss23> antmas: My suggestion would be take 3 days for sure, then see if you feel like going back after that, decide then
286: [01:39:11] <ss23> Well, 3 days is probably about how long it will take till you can go back to work if you're feeling good and the healing is going well, so that's only 2 more days of "eh maybe it won't be perfect"
287: [01:39:15] <ss23> So week is a nice round number!
288: [01:39:16] <Azure> hm...
289: [01:39:18] <antmas> I've booked it for a Friday, so I should be able to asses on Sunday evening maybe
290: [01:39:26] <Azure> I *did* install imagemagick on that version
291: [01:39:26] <ss23> ah yep
292: [01:39:32] <ss23> Presume you won't want to do that, antmas :D
293: [01:39:41] <ss23> Sunday you'll be like "LOL FUCK GOING TO WORK"
294: [01:39:44] <antmas> noted :D
295: [01:39:51] <antmas> more than likely yeah
296: [01:40:09] <antmas> they're taking out ACTUAL JAW BONE
297: [01:40:11] <antmas> ;_______________________________;
298: [01:40:24] * UncleCheese___ has joined #silverstripe
299: [01:41:04] <ss23> :3
300: [01:41:09] <ss23> :D
301: [01:42:02] <simon_w> antmas, I can do it for cheaper ;)
302: [01:42:02] <antmas> Ryan-Toast: new computers and such yet?
303: [01:42:09] <Ryan-Toast> Narp.
304: [01:42:20] <antmas> simon_w: you can have all of my nopes
305: [01:42:24] <Ryan-Toast> Trying to convince my boss to let me build one/
306: [01:42:35] <simon_w> antmas, eh, I've got enough of mine own already
307: [01:42:44] <simon_w> Ryan-Toast, mac mac mac mac mac ma
308: [01:42:45] <simon_w> c
309: [01:42:52] <ss23> PC PC PC PC PC PC PC PC PC PC
310: [01:42:58] <Ryan-Toast> they make me mad.
311: [01:42:59] <antmas> Ryan-Toast: it will save you a butload, but isn't warranty all kinds of hard to deal with with builds?
312: [01:43:06] <simon_w> ss23, chanting for a superset just seems silly
313: [01:43:11] <Ryan-Toast> Warrenties are for noobs.
314: [01:43:13] <ss23> lol simon_w
315: [01:43:14] <Ryan-Toast> wow.
316: [01:43:16] <ss23> You know what I mean.
317: [01:43:17] <Ryan-Toast> butchered that word
318: [01:43:39] <ss23> Thank you for using Amazon Web Services. We wanted to let you know that your 12 month introductory AWS Free Tier usage is set to expire on February 28, 2014
319: [01:43:42] <ss23> :(
320: [01:43:45] <ss23> Forgot about that
321: [01:43:46] <ss23> Hardly even used it!
322: [01:43:57] <simon_w> Give them moneys!
323: [01:44:10] <ss23> I wouldn't mind paying, as long as it's not too expensive
324: [01:44:15] <ss23> I only spin up the VM once every few months
325: [01:44:19] <ss23> I don't even need it tbh
326: [01:44:21] <antmas> Ryan-Toast: I guess they don't matter if insurance
327: [01:44:58] <Ryan-Toast> antmas: If you buy all your parts at somewhere like PBtech, and you get them to built it they offer a warranty.
328: [01:45:40] <simon_w> Ryan-Toast, gotta watch out for DSMOSX if you do that though
329: [01:45:47] <antmas> Ryan-Toast: true, but those guys think cable management means SHOVE EVERYTHING ONTO THE PSU AND HOLD ONTO YOUR BUTSS
330: [01:45:57] <Ryan-Toast> haha,. this is true.
331: [01:46:13] <Ryan-Toast> It just means when they send it to you, you take it apart and do it properly.
332: [01:46:23] <antmas> hehe yeah
333: [01:46:24] <Ryan-Toast> and that way you get a warranty too.
334: [01:46:41] * camfindlay has joined #silverstripe
335: [01:47:07] <antmas> anyone ever used LightCMS?
336: [01:47:55] <simon_w> ss23, I STILL DON'T HAVE A DRINK
337: [01:47:56] <antmas> wait
338: [01:48:01] <simon_w> THIS IS AN OUTRAGE
339: [01:48:16] <antmas> is it LightCMS or something else... that one that's 'for designers'
340: [01:49:39] <ss23> simon_w: I've had ~3 since this morning
341: [01:49:42] <ss23> Well, on my third
342: [01:49:43] <ss23> ^.^
343: [01:52:08] <simon_w> ss23, SO WHY HAVEN'T YOU BROUGHT ME ONE?
344: [01:52:15] <ss23> simon_w: TOO FAR AWAY
345: [01:52:18] <ss23> And you're going to get even MORE far
346: [01:52:19] <ss23> :O
347: [01:52:28] <ss23> sucks to be you! NO DRINKS 4 U
348: [01:52:31] <simon_w> That's on Friday
349: [01:52:51] <ss23> wow, sooner than I thought
350: [01:52:52] <ss23> :O
351: [01:53:00] <simon_w> Just for a week
352: [01:53:07] <ss23> oh
353: [01:53:09] <ss23> lol
354: [01:53:11] <ss23> I'm going away soon too
355: [01:53:15] <ss23> But I can't remember the dates
356: [01:53:19] <simon_w> But to Hamilton
357: [01:53:24] <ss23> ya, weddings
358: [01:53:25] <ss23> so annoying
359: [01:53:31] <simon_w> Hamilton
360: [01:53:32] <ss23> Depart: 7:05am, Wed 19 Feb
361: [01:53:35] <ss23> Okay, so still lots of time
362: [01:53:38] <ss23> I hope I don't forget...
363: [01:53:48] <simon_w> I'll be asleep!
364: [01:53:57] <antmas> someone come to Codemania with me
365: [01:53:57] <Colin[pi]> what can I write about for my next blog post?
366: [01:54:17] <simon_w> Colin[pi], roundabouts!
367: [01:54:20] <ss23> Colin[pi]: The issues surrounding running blogs and how hard it can be to think of a new post, and where you can draw inspiration from (e.g. IRC)
368: [01:54:26] <Colin[pi]> ss23: LOL
369: [01:54:37] <Colin[pi]> simon_w: how to create a roundabout using pure css?
370: [01:54:50] <simon_w> Colin[pi], or, why ss23 should hurry up and bring me a drink
371: [01:55:03] <antmas> Colin[pi]: you could
372: [01:55:06] <antmas> Colin[pi]: write about
373: [01:55:18] <antmas> Colin[pi]: how NO ONE IS ANSWERING ME ABOUT CODEMANIA
374: [01:55:22] <antmas> hmmmmmmmmmmmmmmmmmmmmm?
375: [01:55:22] <simon_w> Colin[pi], imagine how much money ACT would save on roads!
376: [01:55:52] <Colin[pi]> simon_w: I think they're already saving a bucket load by putting down the cheapest, nastiest '
377: [01:55:55] <Colin[pi]> 'ashphalt'
378: [01:55:57] <Colin[pi]> you've ever seen
379: [01:56:03] <ss23> simon_w: aint gunna happen MAN!
380: [01:56:09] <Colin[pi]> it's like.. worse than gravel roads, somehow
381: [01:56:24] <simon_w> antmas, because it's not webstock?
382: [01:56:37] <ss23> Fuck webstock
383: [01:56:41] <antmas> simon_w: hasn't that already been?
384: [01:56:45] <ss23> Wait, isn't that... this week? Next week?
385: [01:56:49] <simon_w> antmas, this week, I think
386: [01:57:04] <antmas> our web content guy wants to go really bad
387: [01:57:21] <ss23> Lots of people here go, but srsly, it's such a hipster / "LOOK AT OUR COOL SHIT I'M SO AWESOME" event in my eyes
388: [01:57:31] <antmas> I just told him, just grow a hipster beard, get a siphon coffee machine and talk about dumb frameworks
389: [01:57:38] <ss23> XD
390: [01:57:42] <ss23> A+
391: [01:57:59] <antmas> Codemania is for the troo neckbeards
392: [01:58:16] <simon_w> I got put off code mania by the first year's marketing
393: [01:58:17] <camfindlay> I'll be heading along... to scope out the hipster situation, but codemania sounds interesting :)
394: [01:58:28] <ss23> Kiwicon and NZNOG are for the true neckbeards
395: [01:58:35] <ss23> Anything else is for inferiour developer scum
396: [01:58:50] * simon_w isn't going to kiwicon this year
397: [01:58:53] <antmas> ss23: LOL
398: [01:59:11] <ss23> simon_w: Not going to come over for it?! HOW WILL THE VOLUNTEER DESK SURVIVE?! ;_;
399: [01:59:26] <ss23> I swear, if I have to wake up at 7am to make up for you not being there, simon_w... >.>
400: [01:59:31] <Colin[pi]> camfindlay: is that as an observer of hipsters, or a participant?
401: [01:59:32] <antmas> it's the only one (codemania) I can get to this year besides TechED and Share the Stupid Fucking Point
402: [01:59:43] <simon_w> ss23, I'm going to tell them you volunteered
403: [01:59:44] <ss23> lol
404: [01:59:48] <ss23> haha
405: [02:00:19] <antmas> :O
406: [02:00:19] <ss23> You may know Sharepoint from other high profile situations, such as Edward Snowden: an NSA story
407: [02:00:32] <antmas> ss23: ROFL
408: [02:00:39] <ss23> And Your Local IT Company - "Holy shit how the fuck do we configure this fucking peice of shit"
409: [02:02:19] <antmas> http://www.sharethepoint.com/pages/home.aspx I don't even think THEY know how to configure it
410: [02:03:35] <antmas> where is webstock hosted now?
411: [02:03:47] <antmas> as in building
412: [02:03:49] <antmas> ?
413: [02:04:06] <camfindlay> Colin[Pi] as an observer of the hipster in their natural habitat, by participant do you mean speaking at or just attending for free coffee? ;)
414: [02:04:16] <spronk> webstock is a circlejerk
415: [02:04:20] <Colin[pi]> no I mean as a hipster
416: [02:04:21] <Colin[pi]> lD
417: [02:04:22] <Colin[pi]> XD
418: [02:04:51] <ss23> spronk: yeah, that is impression I got
419: [02:05:03] <ss23> I'm probably bias though, so idk
420: [02:05:04] * antmas doesn't know what circlejerk is
421: [02:05:08] <ss23> hahaha
422: [02:05:19] <ss23> Speaking of....
423: [02:05:38] <ss23> During the talk at ISIG the guy who 'reported' that ?flush=1 'bug' did, he was showing quotes from IRC
424: [02:05:54] <ss23> One of them was me, saying something along the lines of "This is just a technical person circlejerk", and he was like "I DON'T EVEN KNOW WHAT A CIRCLEJERK IS"
425: [02:05:58] <ss23> So you are not alone, antmas
426: [02:06:06] <ss23> antmas: Come up to Wellington, and me and some friends might be able to show you what it is though! :D
427: [02:06:17] <antmas> ss23:
428: [02:06:19] <antmas> XD
429: [02:06:23] * antmas is nervous
430: [02:06:26] <ss23> lol
431: [02:06:31] <ss23> You should be, that was a joke
432: [02:06:43] <Colin[pi]> [13:05:33] <+ss23> One of them was me, saying something along the lines of "This is just a technical person circlejerk", and he was like "I DON'T EVEN KNOW WHAT A CIRCLEJERK IS"
433: [02:06:45] <Colin[pi]> omg
434: [02:06:49] <Colin[pi]> seriously?
435: [02:06:52] <ss23> ya, was lulz
436: [02:06:57] <antmas> hahaha
437: [02:07:01] <ss23> I felt special
438: [02:07:03] <Colin[pi]> wow rofl
439: [02:07:06] <Colin[pi]> that's um... wow
440: [02:07:15] <ss23> like "OH THIS IS THE SECOND TIME I'VE EVER BEEN TO AN ISIG AND I'VE BEEN QUOTED BY SOMEONE SAYING STUFF :D"
441: [02:07:33] <Colin[pi]> you're just a quotable guy
442: [02:07:41] <ss23> Oh baby, I know
443: [02:08:09] <Colin[pi]> I still loved that profound quote from you the other day: http://i.imgur.com/KwMmxB9.jpg
444: [02:08:14] <Colin[pi]> mindfuck
445: [02:08:17] <ss23> lol
446: [02:08:24] <ss23> someone pointed out you wrote "SS23" not "ss23"
447: [02:08:31] <Colin[pi]> sigh
448: [02:08:32] * nickmolhoek quit (Read error: No route to host)
449: [02:08:35] <ss23> :D
450: [02:08:38] <Colin[pi]> LOOKS BETTER AS CAPS OK?
451: [02:08:41] <ss23> XD
452: [02:08:43] <ss23> sif sif sif!
453: [02:08:44] <Colin[pi]> bro do you even design?
454: [02:08:46] <ss23> It looks wrong
455: [02:08:56] <ss23> You can't just be like "Oh it looks better written as MiCROsoFT"
456: [02:09:06] <ss23> ss23 is a *brand*!
457: [02:09:22] <Bollig|DesignCty> lol @Colin[pi]
458: [02:09:44] <Colin[pi]> bollig: ikr?
459: [02:11:17] <Colin[pi]> my gf made me cupcakes... swoon
460: [02:11:24] <ss23> lucky
461: [02:11:30] <ss23> simon_w won't even bring me a drink
462: [02:15:20] <simon_w> Wrong way round
463: [02:15:44] <antmas> even the webstock site looks like a hipster
464: [02:17:31] <simon_w> ss23, NOW I'M HAVING TO VENTURE TO THE OUTSIDE CAUSE YOU SO MEAN
465: [02:17:37] <ss23> XD
466: [02:17:44] <ss23> simon_w: I get to stay inside and get my drinks :D
467: [02:17:45] * ss23 spins
468: [02:18:21] <simon_w> ss23, I don't have to work with PHP :D
469: [02:18:21] <Colin[pi]> <antmas> even the webstock site looks like a hipster
470: [02:18:22] <Colin[pi]> lol
471: [02:18:29] <Colin[pi]> I didn't believe you so I looked
472: [02:18:32] <Colin[pi]> it totally does
473: [02:18:46] <antmas> :P
474: [02:18:55] <ss23> So...
475: [02:19:04] <ss23> What about a system where you load like
476: [02:19:17] <ss23> branchname.projectname.test.com/
477: [02:19:17] * antmas holds breath
478: [02:19:28] <ss23> And it will dynamically spin up a completely new system for you like that?
479: [02:19:46] <ss23> So you create a branch in a new git repo, and it automatically does all the vhost stuff + git branch + checkout stuff for you?
480: [02:20:13] * camfindlay has joined #silverstripe
481: [02:20:14] <ss23> The reason is we work concurrently work on a lot of feature branches for clients, and they only have one or two staging sites (bigger clients have more of course, but that's a manual process, manging thme)
482: [02:20:24] <ss23> So just thinking if this could simplfy workflow
483: [02:21:22] <antmas> ss23: I'd hit it
484: [02:21:44] <ss23> lol
485: [02:22:29] <antmas> ss23: :O are you working on our requests again? (just saw email)
486: [02:22:43] <ss23> WHAT? EMAIL!?
487: [02:22:45] * ss23 gets nervous
488: [02:22:53] <ss23> I sent an email, but I sure as hell hope you weren't included on it!
489: [02:22:57] <antmas> ss23: something something bulk adding?
490: [02:23:02] <ss23> I didn't get no email!
491: [02:23:17] <ss23> antmas: Lots of people have done work for you guys, I don't think I have specifically for a while
492: [02:23:21] <antmas> ss23: wait, it's helpdesk - forwarded to me so it looks like email
493: [02:23:29] <guzzlefry> ss23: Couldn't you pull that off with git hooks?
494: [02:23:42] <ss23> guzzlefry: Yeah, you could
495: [02:23:47] <ss23> guzzlefry: the technical side is fesiable
496: [02:26:13] * antmas hits 'import to Sharepoint 2013 from Active Directory
497: [02:26:22] <guzzlefry> I'm sorry. :(
498: [02:26:28] * antmas rises in chair
499: [02:28:10] <guzzlefry> >_>
500: [02:28:11] <guzzlefry> welp
501: [02:28:14] <guzzlefry> time to sleep, night
502: [02:28:19] * guzzlefry runs for safety.
503: [02:28:23] <ss23> nn
504: [02:28:30] <Colin[pi]> nn
505: [02:28:34] <antmas> holy crap
506: [02:28:37] <antmas> that worked?
507: [02:28:42] <antmas> o.O
508: [02:28:43] * chillu_23 has joined #silverstripe
509: [02:29:32] <Azure> hm
510: [02:29:50] <Azure> I guess it would be safe to say that silverstripe doesn't properly support php 5.5.*?
511: [02:30:02] <ss23> Hmm
512: [02:30:07] <ss23> I don't think it would be safe to say that1
513: [02:31:35] <Azure> I just tried recompiling 5.5.9 without imagick or mcrypt and I still get the error.
514: [02:31:55] <ss23> If it's a segfault, that means it's a bug in PHP
515: [02:32:11] <ss23> (or rather, I should say, it's *not* a bug in SilverStripe. it should never be possible to cause a segfault from PHP code)
516: [02:32:43] <simon_w> seg faults are one place where HHVM isn't going for parity with Zend
517: [02:32:55] <ss23> haha
518: [02:36:16] <Azure> Ah
519: [02:37:33] <ss23> :/
520: [02:37:38] <ss23> you know what seems stupid?
521: [02:37:53] <ss23> Setting revenue goals... then having a "goal" be "exceede revenue goals" kind of thing
522: [02:37:57] <ss23> THAT'S NOT A GOAL
523: [02:37:59] <ss23> YOUR GOAL IS TO MEET THE GOAL
524: [02:38:04] <Colin[pi]> lol
525: [02:38:31] <simon_w> How about having everyone say you're failing because you only exceeded your goal by 50% instead of 60%?
526: [02:38:41] <ss23> shit like that is stupid too
527: [02:38:47] <ss23> In fact, LET ME FIND THE VIDEO
528: [02:39:03] <ss23> http://www.youtube.com/watch?v=U5YClmS3umk
529: [02:39:17] <ss23> lol
530: [02:39:58] <Azure> http://pastie.org/8717010
531: [02:40:13] <antmas> woah, shappelle corby is out now?
532: [02:40:21] <antmas> (spelling)
533: [02:40:23] <Azure> This is what I get when I run index.php via the command line.
534: [02:40:27] <Colin[pi]> yeah, now she can finally have a bong
535: [02:40:46] <ss23> Azure: You can't run it from the command line :P
536: [02:40:50] <ss23> Azure: Well, you kind of can
537: [02:41:00] <ss23> Azure: If you want to run it from the command line, use ./framework/sake
538: [02:41:01] <antmas> Colin[pi]: is she allowed in Aus?
539: [02:41:06] <Colin[pi]> I think so
540: [02:41:08] <antmas> to head to*
541: [02:41:08] <ss23> (Or `php ./framework/cli-script.php` I think it's called)
542: [02:41:17] <Colin[pi]> though she'll have to be careful "profiting" from it
543: [02:41:35] <Colin[pi]> ss23: love that movie, but it fills me with rage at the same time
544: [02:42:22] <Colin[pi]> every job I had with companies in Sydney was like Office Space
545: [02:42:28] <ss23> lol
546: [02:42:32] <Colin[pi]> 632 bosses, and 5 people doing work
547: [02:42:38] <ss23> I USED TO SELL CRACK
548: [02:42:43] <ss23> but now I'm selling magazines!
549: [02:42:47] <Colin[pi]> ahaha
550: [02:43:33] <Colin[pi]> I love how Peter goes into the consultants and basically says he does jack shit, and they say "he's a straight shooter with management written all over him"
551: [02:43:33] <Colin[pi]> lol
552: [02:43:43] <ss23> lol
553: [02:44:02] <Colin[pi]> and I think every office has a Milton
554: [02:44:07] <Colin[pi]> "have you seen my stapler?"
555: [02:44:28] <Azure> ... and I just got ... 42? error emails sent to me after running the sake command.
556: [02:44:35] <Colin[pi]> fuck sake
557: [02:44:50] <Azure> (since I had my local install set up to send emails on every error.)
558: [02:45:34] <antmas> man, it's been a while since I saw that movie
559: [02:45:51] <Colin[pi]> antmas: sounds like someone's got a case of the Mondays
560: [02:45:52] <ss23> lol
561: [02:46:02] <ss23> Azure: Are they all "YOU DIDDN'T SE YOUR FILE TO URL MAPPING"
562: [02:46:33] <Azure> A bunch of Permission Denied warnings.
563: [02:46:48] <ss23> You probably need to run it as www-data (or rather, your web user, perhaps _www)
564: [02:46:53] <camfindlay> simon_w, have you got your OAuth module somewhere I can grab via composer?
565: [02:46:55] <Azure> Probably because my current copy was from a .zip backup earlier and I never fixed up the permissions.
566: [02:47:06] <ss23> Permissions rule!
567: [02:47:12] <ss23> Oh speaking of oath
568: [02:47:12] <simon_w> camfindlay, https://github.com/composer/packagist/issues/255
569: [02:47:19] <ss23> Did you guys see Egor's fucking *amazing* hack of Githubs OATH?
570: [02:47:23] <ss23> That shit was off the HOOOOK
571: [02:47:37] <ss23> http://homakov.blogspot.co.nz/2014/02/how-i-hacked-github-again.html
572: [02:47:44] <ss23> Your code isn't like that, right simon_w?
573: [02:47:44] <ss23> :D
574: [02:47:49] <ss23> You code better than RoR devs!
575: [02:48:20] * spronk quit (Ping timeout: 246 seconds)
576: [02:48:22] <simon_w> ss23, for one thing, I don't use RoR, so yes!
577: [02:48:27] <ss23> :D
578: [02:48:35] <ss23> Was some seriously nice bug chaining though..
579: [02:48:40] <ss23> That guy must have so much dammed free time
580: [02:49:15] <Colin[pi]> "$4000 reward is pretty good. Interestingly, it would be even cheaper for them to buy 4-5 hours of my consulting services at $400/hr which would have cost them $1600 instead"
581: [02:49:17] <Colin[pi]> ^ LOL
582: [02:49:42] <camfindlay> simon_w so where is your code for this living?
583: [02:50:00] <Azure> And yes, the actual output was all file to url mapping messages.
584: [02:50:03] <simon_w> camfindlay, didn't you read the blog post? :p https://svn.pocketrent.com/public/oauth/trunk/
585: [02:50:38] <Colin[pi]> ss23: that first bug is like wtf, seriously?
586: [02:50:49] <camfindlay> one cannot simply remember every link ;)
587: [02:50:59] <ss23> camfindlay: lrn2google
588: [02:51:05] <ss23> Colin[pi]: They're all simple and really really easy bugs to make though! :O
589: [02:51:09] <Colin[pi]> aye
590: [02:51:31] <ss23> Colin[pi]: His /// URL trick is fucking awesome too
591: [02:51:36] <ss23> He did a really good job on it
592: [02:51:55] <Colin[pi]> we need these guys as the good guys ;)
593: [02:52:21] <Colin[pi]> and yeah, $4K is chump change for him helping them out like that
594: [02:53:17] <ss23> He is a good guy, for certain values of good
595: [02:53:22] <ss23> He's a massive douche if you don't fix the bugs
596: [02:53:29] <Colin[pi]> heh
597: [02:53:39] <ss23> He reported one to the Ruby on Rails guys, they were like "Oh, every developer in the world must know to override that default"
598: [02:53:45] <ss23> Much back and forth...
599: [02:54:00] <ss23> Eventually, he hacked Github, completely fucked up all their repos, as well as that product the RoR devs make
600: [02:54:06] <ss23> And was like "Oh everyone knows do they? FUCK YOU"
601: [02:54:19] <antmas> wow
602: [02:54:29] <Colin[pi]> :\
603: [02:55:13] <Colin[pi]> I think common sense would dictate that if a talented guy approaches you like that, it's in your best interest to be nice to him :)
604: [02:55:20] <Colin[pi]> but common sense doesn't always prevail
605: [02:56:12] <ss23> You know what happened when I reported bugs to Hells Pizza / mobi2go?
606: [02:56:29] <Colin[pi]> they sent you a pizza??
607: [02:56:35] <ss23> lol
608: [02:56:42] <ss23> Hells sent me $40 of vouchers
609: [02:56:50] <antmas> lol
610: [02:57:01] <ss23> Which was annoying, because if they had've said nothing, it means they mean like... "We acknoloedge you found it, but we don't pay"
611: [02:57:04] <ss23> this is fine
612: [02:57:19] <ss23> But $40 says "Oh, glad you found it, we acknolwedge it cost you time and money. Of course, your time is only worth $40 to us"
613: [02:57:33] <ss23> I spent ~$50 on that order itself. I would've been better to just mark the order as paid.
614: [02:57:35] <antmas> I had the same thing when I found that warehouse stationary was almost completely open to SQLi
615: [02:57:51] <antmas> I got a bunch of stuff from them :P
616: [02:58:06] <ss23> lol
617: [02:58:20] <ss23> Worse, mobi2go, the company that made the site (they do it for other things too, pitapit is the other main one I know of)
618: [02:58:32] <ss23> "Oh sure, send us your bank account number, we'll send you a few grand" or something
619: [02:58:33] <antmas> mmm pitapit
620: [02:58:36] <ss23> :(
621: [02:58:38] <ss23> NEVER GOT ANY MONEY
622: [02:59:42] <antmas> reminds me of those old barcode scanners at shops that would read SQL
623: [02:59:48] <antmas> drop table all the things!
624: [03:00:01] <Colin[pi]> haha
625: [03:00:13] <Colin[pi]> there are some atrociously bad examples around
626: [03:01:25] <Colin[pi]> I worked on a high profile site a few years back that was defaced, and the press got hold of it... unpleasant memories
627: [03:02:34] <antmas> ouch
628: [03:02:36] <antmas> yeah
629: [03:02:39] <antmas> never fun
630: [03:04:12] <Colin[pi]> they were pretty good guys about it, but when it came to further work, it was like "yeaaahhh nah"
631: [03:05:07] <ss23> lol
632: [03:05:09] <antmas> same as my last site work - did all this work for this bird who didn't pay for months, only then to get money from the shop it was for and then hire someone else to build her a new site
633: [03:05:12] <antmas> -_-
634: [03:05:22] <antmas> well, not the same, but those feels
635: [03:06:15] <Colin[pi]> i had one site developed to completion a year back, and at the last minute, the boss decided he didn't want to go ahead
636: [03:06:24] <ss23> you got paid though, right?
637: [03:06:27] <Colin[pi]> I got paid yes
638: [03:06:31] <Colin[pi]> but it's like ..... why
639: [03:06:32] <Colin[pi]> whyyyyy
640: [03:06:40] <Colin[pi]> they still don't have a site
641: [03:06:41] <antmas> hah, I see she didn't pay her hosting again - no more site :P
642: [03:06:43] <Colin[pi]> WHYYYY
643: [03:07:09] <Colin[pi]> antmas: lol
644: [03:07:34] <antmas> ah, here it is
645: [03:07:35] <antmas> http://www.milksilks.co.nz/
646: [03:07:43] <antmas> it's down for maintanence lol
647: [03:07:47] <antmas> GOOD JOB DEVELOPER
648: [03:08:20] <antmas> Colin[pi]: I've had that too, $3000 and it never saw the light of day
649: [03:09:05] <Colin[pi]> antmas: yeah, like, I'm glad I was paid.. but it's such a waste
650: [03:09:27] <antmas> Colin[pi]: oh totally
651: [03:09:55] <antmas> not to mention I can't use it for a portolio piece
652: [03:10:12] <Colin[pi]> and the woman I was working with said people were googling their name, and were asking "Why don't you have a site??" - she rolled her eyes when she said "the boss has decided to not go ahead"
653: [03:10:23] <Azure> ss23: Installed Xdebug to see what the error was. http://pastie.org/8717095
654: [03:10:32] <Colin[pi]> like who the fuck does not want a site these days?
655: [03:10:38] <ss23> hahha
656: [03:10:57] <ss23> GUYS, LETS TAKE BETS ON WHO WROTE 99% OF THAT CODE :D
657: [03:10:58] <Azure> Looks like something's definitely going into an infinite loop.
658: [03:11:00] <ss23> simon_w: pls fix ^
659: [03:11:51] <ss23> If simon_w is busy, I'll get Hamish to take a look himself, but honestly, simon_w is probably the best bet
660: [03:11:57] <antmas> anyone have exp with flexihost?
661: [03:12:42] <simon_w> Oh, it's the recursive isDev check
662: [03:12:49] <simon_w> Wasn't that fixed in 3.1?
663: [03:14:20] <ss23> Azure: You running latest 3.1? :D
664: [03:15:00] <Azure> 3.1.2?
665: [03:15:17] * zippy__ quit (Ping timeout: 246 seconds)
666: [03:15:58] <ss23> Azure: That seems like latest :)
667: [03:15:59] <ss23> 22:15:42 up 207 days, 11:35, 1 user, load average: 3.08, 2.14, 1.74
668: [03:16:02] <ss23> 3 load isn't normal
669: [03:16:05] <ss23> But on Shared Hosting it is.
670: [03:16:09] <antmas> Colin[pi]: hmmm, Corby can't leave Bali until 2017
671: [03:16:12] * spronk has joined #silverstripe
672: [03:17:13] <Azure> Shared hosting: not even once.
673: [03:18:19] <Azure> and yeah. 3.1.2 on php 5.5.9 (it errored out on 5.5.8 as well, at least)
674: [03:20:07] <antmas> holy crap
675: [03:20:22] <antmas> I just realised my ex-landlord who owes me money just got a job here
676: [03:20:26] <antmas> :O
677: [03:20:28] <ss23> lol antmas
678: [03:20:29] <ss23> GET HIM
679: [03:20:33] <antmas> her*
680: [03:20:41] <ss23> GET HER*
681: [03:20:42] <ss23> she hot?
682: [03:20:49] <antmas> lol ummmmmm no
683: [03:20:50] <Joel-TDC> hahah @ss23
684: [03:20:54] <ss23> :(
685: [03:20:55] <antmas> has like 4567 kids
686: [03:21:04] <ss23> lol
687: [03:21:08] <Joel-TDC> how many are yours?
688: [03:21:25] <antmas> huh?
689: [03:21:30] <Joel-TDC> nvm
690: [03:21:39] <antmas> anyway, she owes me like $300+ in bond
691: [03:21:52] <Joel-TDC> how long
692: [03:21:52] <Joel-TDC> ?
693: [03:21:57] <Joel-TDC> has she owed you
694: [03:21:58] * antmas check her remote desktop connection
695: [03:22:04] <antmas> like 2+ years
696: [03:22:13] <Joel-TDC> and she's got a job at your work?
697: [03:22:22] <antmas> yeah
698: [03:22:46] <Joel-TDC> this will be a fun conversation
699: [03:22:48] <Joel-TDC> does she know you work there?
700: [03:23:05] <Joel-TDC> can you go to the rental tribunal?
701: [03:23:08] <antmas> Joel-TDC: probably not
702: [03:23:24] <antmas> Joel-TDC: I already did, but it seems she had excuses
703: [03:23:39] <antmas> she probably legally doesn't owe me money
704: [03:23:41] <antmas> but still
705: [03:23:48] <antmas> le principles!
706: [03:23:52] <Joel-TDC> you should steal her lunch
707: [03:23:58] <antmas> LOL^
708: [03:24:19] <antmas> swap her blue pens for red ones!
709: [03:24:22] <Joel-TDC> hahha
710: [03:24:39] <Joel-TDC> and start an anonymous blog about it
711: [03:24:44] <antmas> hahaha
712: [03:24:59] <Joel-TDC> just like http://lifeofastrangerwhostolemyphone.tumblr.com/
713: [03:24:59] <antmas> aight off home
714: [03:25:01] <antmas> later
715: [03:25:19] <Joel-TDC> cya mate, cheers for the help earlier
716: [03:25:30] <antmas> np
717: [03:25:38] * antmas quit (Quit: Page closed)
718: [03:29:41] <ss23> Azure: Did you get it solved yet? If not, I can poke someone
719: [03:29:50] <Azure> No, I haven't
720: [03:33:59] <ss23> Okay, I asked in another place! I will see if anyone knows
721: [03:34:02] <ss23> Getting quite late though, so idk
722: [03:35:38] <Azure> Yeah
723: [03:35:48] <Azure> Thanks anyway
724: [03:36:02] * nhorstmeier has joined #silverstripe
725: [03:43:54] * violetina quit (Remote host closed the connection)
726: [03:48:45] * Error404NotFound has joined #silverstripe
727: [03:48:50] * Joel-TDC quit (Quit: Page closed)
728: [03:49:35] * Guest78456 quit (Quit: Leaving)
729: [03:49:40] * variable_office has joined #silverstripe
730: [03:49:52] * unsignedint quit ()
731: [03:50:11] <variable_office> any ideas on how to keep a user from double clicking on a button in the cms thus creating duplicate records
732: [03:57:38] * SightUnseen1 has joined #silverstripe
733: [04:01:09] <Bollig|DesignCty> variable_office: Other than to ask them to click once? :)
734: [04:01:38] <Bollig|DesignCty> You'd need to disable the button on click with some js, something you'd likely have to knock together yourself I think...
735: [04:02:27] <ss23> Azure: So... everyone was like "Oh yeah I've seen that. Don't know how to fix it"
736: [04:02:38] <ss23> Azure: Manual/quick fix is to comment out the offending code
737: [04:03:07] <ss23> Azure: From probably isLive and isDev, remove those
738: [04:03:11] <Azure> Heh.
739: [04:03:28] <Azure> I see
740: [04:04:47] * nhorstmeier quit (Remote host closed the connection)
741: [04:06:07] <geekdenz> Hi, how would you unit test a custom validator?
742: [04:06:14] <geekdenz> in ss 3.1.2
743: [04:08:39] * nhorstme_ has joined #silverstripe
744: [04:09:18] * SightUnseen1 has left #silverstripe
745: [04:10:29] * nhorstme_ quit (Client Quit)
746: [04:15:26] * UncleCheese___ quit (Quit: UncleCheese___)
747: [04:19:33] * cloph_away has joined #silverstripe
748: [04:20:15] * cloph quit (Ping timeout: 272 seconds)
749: [04:21:39] * chillu_23 quit (Quit: chillu_23)
750: [04:28:49] * chillu_23 has joined #silverstripe
751: [04:31:32] * camfindlay quit (Quit: camfindlay)
752: [04:47:01] * UncleCheese_ quit (Quit: UncleCheese_)
753: [04:49:17] * mintuser has joined #silverstripe
754: [04:54:06] * willr quit (Quit: willr)
755: [04:58:42] <Jakx> is it possible to sort in the order of enum values?
756: [05:10:27] <Colin[pi]> Jakx: ->enumValues() returns a standard PHP array, so you could sort the array?
757: [05:11:39] * simon_w quit (Ping timeout: 272 seconds)
758: [05:12:07] * simon_w has joined #silverstripe
759: [05:13:07] <Jakx> Colin[pi], could you help me out with a rough example?
760: [05:14:43] <Colin[pi]> $enum = $this->dbObject('Enum')->enumValues(); asort($enum);
761: [05:14:57] <Jakx> Colin[pi], thx man!
762: [05:14:59] <Colin[pi]> then pass the sorted array into where you need it (dropdown for example)
763: [05:18:05] <Zauberfisch> geekdenz: hmmm, have you looked at the unit tests for existing validators?
764: [05:19:03] <Zauberfisch> I have not unit tested validators yet, however, I just found the following:
765: [05:19:18] <Zauberfisch> - if you want to unit test by field validaton, check out: https://github.com/silverstripe/silverstripe-framework/blob/3.1/tests/security/PasswordValidatorTest.php
766: [05:20:02] <Zauberfisch> PasswortValidator is used in PasswordField and other places
767: [05:20:30] * mintuser quit (Remote host closed the connection)
768: [05:21:06] <Zauberfisch> well, it actually appears there is no existing unit test for validator :S
769: [05:22:33] <Zauberfisch> geekdenz: but it should be rather easy
770: [05:22:41] <Zauberfisch> you just need to fill a form with test data
771: [05:23:15] <Zauberfisch> public function testSomething() {
772: [05:24:39] <Zauberfisch> $validator = new YourValidator();
773: [05:24:48] <Zauberfisch> $form = new Form(new Controller(), 'random', FieldList::create($someField), FieldList::create(), $validator);
774: [05:26:04] <Zauberfisch> $form->validate();
775: [05:26:19] <Zauberfisch> $response = $this->getValidationErrorResponse();
776: [05:26:30] <Zauberfisch> // do your assertions here
777: [05:26:36] <Zauberfisch> }
778: [05:26:47] <ss23> lol
779: [05:26:54] <ss23> That was a large wall of text over a long period
780: [05:27:03] <Zauberfisch> (:
781: [05:27:18] <Zauberfisch> was checking the source to make sure I don't post something stupid here
782: [05:27:28] <Zauberfisch> there is no undo in IRC ;)
783: [05:30:48] <Zauberfisch> also
784: [05:31:07] <Zauberfisch> the brain
785: [05:31:15] <Zauberfisch> of a fish
786: [05:31:24] <Zauberfisch> is not that fast
787: [05:32:20] <ss23> lol
788: [05:34:13] * Liquide quit ()
789: [05:44:46] * Error404NotFound quit (Ping timeout: 245 seconds)
790: [05:46:11] * boytikz has joined #silverstripe
791: [05:48:59] * boytikz quit (Quit: Leaving.)
792: [05:53:32] * chillu_23 quit (Quit: chillu_23)
793: [05:59:25] * Error404NotFound has joined #silverstripe
794: [06:19:06] * Jakx has left #silverstripe
795: [06:23:33] * Colin[pi] quit (Ping timeout: 248 seconds)
796: [06:49:02] * sphet has joined #silverstripe
797: [06:49:41] <sphet> hello - I wonder if someone can help me get composer to install silverstripe/widgets - I am having no luck. I keep getting errors trying to get compatible version.
798: [06:50:35] <sphet> I'm new to both silverstripe and composer. Likely I have a version conflict but not sure how to resolve it.
799: [06:53:15] <sphet> I'm running 3.1.2 - is it simply that some modules are outpaced by the main framework development?
800: [06:56:48] <sphet> oh well.
801: [06:56:51] * sphet quit ()
802: [07:00:26] * zippy__ has joined #silverstripe
803: [07:16:07] * Shrike_Finland has joined #silverstripe
804: [07:18:07] * Shrike_Finland quit (Client Quit)
805: [07:33:59] * Error404NotFound quit (Read error: Connection reset by peer)
806: [07:47:36] * Error404NotFound has joined #silverstripe
807: [07:59:15] * willr has joined #silverstripe
808: [08:01:33] * Shrike_Finland has joined #silverstripe
809: [08:13:03] * ARNHOE has joined #silverstripe
810: [08:27:17] * chillu has joined #silverstripe
811: [08:32:32] * UncleCheese_ has joined #silverstripe
812: [08:33:31] * chillu quit (Ping timeout: 245 seconds)
813: [08:33:45] * chillu23 has joined #silverstripe
814: [08:44:31] * SightUnseen has joined #silverstripe
815: [08:44:34] * SightUnseen has left #silverstripe
816: [08:46:18] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
817: [08:52:47] * Sj0hn has joined #silverstripe
818: [08:59:18] * Pmk has joined #silverstripe
819: [08:59:33] <Pmk> So I met this stupid Australian right
820: [08:59:38] <Pmk> at the bus stop
821: [09:00:03] <Pmk> confrontational wench (are there other kinds of aussie birds?) got all mad because she thought I was mocking her accent
822: [09:00:28] <Pmk> "Stop trying to do an Australian accent, you're really bad at it"
823: [09:00:50] <Pmk> She thought I was trying to take the piss out of hers.
824: [09:00:59] <Pmk> I denied it
825: [09:01:28] <Pmk> "Are you Australian?" she asked, already knowing the answer. "No." I replied adamantly
826: [09:01:39] <Pmk> "well right, stop it you're bad"
827: [09:01:49] <Pmk> I thought to myself 'good.'
828: [09:02:15] <Pmk> I dunno how the daft cow couldn't figure it out, but whatevers. Was amusing at the time.
829: [09:08:02] <Pmk> hey Zauberfisch, did you ever get around to prettying up GridField in the end?
830: [09:08:09] <Pmk> or at least, a little?
831: [09:08:22] <Pmk> since say... 6 months ago ish?
832: [09:09:23] * NobrainerWeb has joined #silverstripe
833: [09:10:05] <NobrainerWeb> Hi
834: [09:10:53] * Shrike_Finland quit (Quit: Leaving.)
835: [09:11:26] <NobrainerWeb> When translating a page, is this the best way of getting the original page: $originalPage = $this->owner->getTranslation($this->owner->default_locale()); or should i do something else?
836: [09:11:54] <NobrainerWeb> used in an page extension, that's why there is the ->owner in there
837: [09:15:39] * Shrike_Finland has joined #silverstripe
838: [09:16:00] <Pmk> I think switching locales is covered in the docs. iirc it looks something like that, yeh.
839: [09:17:17] * micmania1 has joined #silverstripe
840: [09:35:40] * zippy__ quit (Quit: zippy__)
841: [09:36:28] * Shrike_Finland quit (Quit: Leaving.)
842: [09:39:06] <Pmk> mornin' micmania1; how was the trip?
843: [09:39:34] <wmk> morning
844: [09:39:45] <Pmk> g'morning
845: [09:41:02] <micmania1> Pmk, mornin'
846: [09:41:08] <micmania1> good apart from the football...
847: [09:41:39] * willr quit (Quit: willr)
848: [09:49:43] <NobrainerWeb> Pmk: I'm not switching locale, i want to get the locale of the page a translated page is based on. $this->owner->getTranslation($this->owner->default_locale()); works, i'm just not sure it's the right way to do it
849: [09:53:14] <Pmk> NobrainerWeb: same deal.
850: [09:53:49] <wmk> NobrainerWeb, looks good
851: [09:53:55] <Pmk> switch locale query switch back, iirc. Not that I've done much with translatable though, plus it will have changed sine then (2.4) so you should check up on it.
852: [09:54:08] <Pmk> docs.ss.org.nz and api.ss.org.nz might hopefully hold some clues for you
853: [09:54:27] <wmk> and/or reading Translatable.php ;)
854: [09:54:38] <NobrainerWeb> It's working in 3.1.2 and i got it from the Translatable.php ;-)
855: [09:54:57] <NobrainerWeb> Well i will leave at this, thanks guys
856: [09:55:06] <wmk> looking at avalialbe methods i don't see a smarter way:
857: [09:55:34] <Pmk> micmania1: hehe, Sounds a bit like friday, lol.
858: [09:55:41] <Pmk> all good until it was time to go home :/
859: [09:55:42] <Pmk> http://logs.simon.geek.nz/index.php?date=2014-02-10#log_1180532
860: [09:56:08] <NobrainerWeb> Ok thanks again
861: [10:05:44] * DutchSs has joined #silverstripe
862: [10:05:50] <DutchSs> Hi there
863: [10:07:40] <DutchSs> I have to follow founction tosend an form to my email... http://pastebin.com/DkRtYJjK
864: [10:07:53] <DutchSs> Thats working fine, but now i want to add a BCC Field
865: [10:08:49] <DutchSs> Does someone knows how i can set this up?
866: [10:09:11] <micmania1> Is there a removeAll method in FieldList?
867: [10:10:05] <micmania1> or something like it I mean
868: [10:10:27] * Shrike_Finland has joined #silverstripe
869: [10:12:35] <Pmk> oh man, CI is totally not extensible :<
870: [10:12:48] <Pmk> CI: Not web scale. You heard it here first.
871: [10:13:04] <ARNHOE> DutchSs: email->setBcc("emailtje");
872: [10:13:25] <Pmk> DutchSs: $email->bcc('youremail@address.tld')
873: [10:13:32] <Pmk> ahh, yeah, what ARNHOE said
874: [10:14:03] <Pmk> DutchSs: http://api.silverstripe.org/3.1/class-Email.html
875: [10:14:05] <ARNHOE> DutchSs: http://api.silverstripe.org/3.1/class-Email.html gives you more infomation on the possiblities
876: [10:14:07] <Pmk> will be helpful for you
877: [10:14:08] <ARNHOE> haha Pmk wtf :D
878: [10:14:15] <Pmk> ARNHOE: boom
879: [10:14:19] <ARNHOE> 1-1
880: [10:14:21] <Pmk> score, 1 all.
881: [10:14:23] <ARNHOE> lol
882: [10:14:26] <Pmk> -.-
883: [10:14:29] <Pmk> xD
884: [10:14:30] <ARNHOE> are u serious right now
885: [10:14:30] <ARNHOE> :D
886: [10:15:17] <Pmk> not really, I'm trying to get code igniter to use a custom base class. It can't, or rather it will, but then I can only have ONE base controller. stupid more than a factor of 100.
887: [10:17:37] <DutchSs> cool :D i didnt now it was that easy :D thanks!
888: [10:29:42] <Zauberfisch> good morning
889: [10:31:03] <Zauberfisch> Pmk: haha, no
890: [10:31:10] <Zauberfisch> still on the waiting list
891: [10:31:39] <Pmk> Zauberfisch: cool, just to know that if it comes down to how I'd like things to go that I won't be reinventing the wheel :>#
892: [10:31:58] <Pmk> anyway, meeting time
893: [10:32:03] <Pmk> bbl perhaps
894: [10:32:06] * Pmk quit (Quit: Page closed)
895: [10:32:06] <Zauberfisch> Pmk: you having any plans of doing some work on it?
896: [10:32:10] <Zauberfisch> :/
897: [10:40:48] * violetina has joined #silverstripe
898: [10:51:22] * kinglozzer has joined #silverstripe
899: [10:53:27] * chillu23 quit (Quit: chillu23)
900: [10:53:42] * Cornelio has joined #silverstripe
901: [11:02:35] * Shrike_Finland quit (Quit: Leaving.)
902: [11:04:36] * Shrike_Finland has joined #silverstripe
903: [11:08:31] * Bollig|DesignCty has joined #silverstripe
904: [11:18:14] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
905: [11:25:27] * UncleCheese_ quit (Quit: UncleCheese_)
906: [11:26:53] * NobrainerWeb quit (Quit: NobrainerWeb)
907: [11:44:16] * Bollig|DesignCty has joined #silverstripe
908: [11:44:32] <ec8or__> getting this weird parsing error in 3.1, anyone else?
909: [11:44:40] <ec8or__> http://postimg.org/image/cvxuqrw7d/
910: [11:44:43] <ec8or__> fine after a refresh
911: [11:45:10] <Zauberfisch> seen that once
912: [11:45:23] <Zauberfisch> hmmm, but can't remember aynthing else
913: [11:45:29] <Zauberfisch> must have been a while ago
914: [11:45:33] <Zauberfisch> what version are you using?
915: [11:45:41] <Zauberfisch> (more exact version)
916: [11:46:15] <Zauberfisch> the first thing I would try is update to master and see if the problem still exists
917: [11:48:30] <ec8or__> yeah checking
918: [11:48:40] <ec8or__> think this one was installed from .zip
919: [11:49:01] <ec8or__> but very strange cause i haven't touched it for a week or so and worked fine
920: [11:49:22] * Error404NotFound quit (Ping timeout: 252 seconds)
921: [11:50:22] * ImissUss has joined #silverstripe
922: [11:50:33] * wmk quit (Ping timeout: 272 seconds)
923: [11:50:59] * wmk has joined #silverstripe
924: [11:52:06] <ec8or__> Zauberfisch: 3.1.2
925: [11:52:16] <ec8or__> found some similar bugs in the forum but all related to 3.0
926: [11:53:00] <ec8or__> gonna update from git
927: [11:53:16] <kinglozzer> ec8or__: Double check you don't have space before an opening <?php tag
928: [11:53:35] <kinglozzer> That's a common cause of that
929: [11:54:24] <ec8or__> ah
930: [11:55:23] <ec8or__> yeah there is something there when checking the Response tab in Firebug
931: [11:56:01] <ec8or__> found it, thanks kinglozzer
932: [11:59:15] <ImissUss> dat forum module :<
933: [11:59:29] <ImissUss> I updated that, but never got around to finishing and pushing :S
934: [11:59:37] * ImissUss is now known as Pyromanikk
935: [12:01:41] * Error404NotFound has joined #silverstripe
936: [12:02:58] <ec8or__> i need it soon so please do :)
937: [12:04:21] <Pyromanikk> ec8or__: stuck at my old job now :(
938: [12:04:39] <Pyromanikk> though from memory it wasn't too broken, it was only search that was bung
939: [12:05:01] <Pyromanikk> oh, and also so many fingers been in the pot that it was a right smudged mess by the time I saw the code :(
940: [12:16:55] * Cornelio quit (Quit: Byeee)
941: [12:23:22] * cloph_away is now known as cloph
942: [12:26:45] * Super-ru quit (Ping timeout: 248 seconds)
943: [12:43:44] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
944: [12:54:38] <Sj0hn> Any expierence on using the Graph API from facebook with Silverstripe?
945: [13:12:36] <Sj0hn> I want to display the feed from a company on a page
946: [13:13:00] <Sj0hn> does this require Oauth?
947: [13:13:53] <micmania1> Sj0hn: haven't used Facebook API for a while but last time I did, most calls required OAuth.
948: [13:14:01] <micmania1> You can just use the Facebook SDK
949: [13:17:57] <Sj0hn> k, ill give that a shot then
950: [13:27:23] <Zauberfisch> micmania1: I see you made a facebook module for silverstripe
951: [13:27:30] <Zauberfisch> however, I see no license :S
952: [13:27:42] <Zauberfisch> may I suggest you add one?
953: [13:27:56] <micmania1> Zauberfisch, it'll cost you ;)
954: [13:28:09] <micmania1> I'll add one when I get a chance :)
955: [13:28:19] <micmania1> but please feel free to use
956: [13:29:12] <Zauberfisch> I don't need it. I was just google searching for silverstripe modules, because I was not up2date what the current state of facebook integration is. and the question here just made me curious
957: [13:36:38] * Shrike_Finland quit (Quit: Leaving.)
958: [13:36:53] * UndefinedOffset has joined #silverstripe
959: [13:39:15] <micmania1> I think the only module I have a license for is my blog module. That's just because that was the only one since Github made it easy :p
960: [13:41:14] * NobrainerWeb has joined #silverstripe
961: [13:48:21] * Error404NotFound quit (Ping timeout: 248 seconds)
962: [14:00:40] * Error404NotFound has joined #silverstripe
963: [14:02:09] <Pyromanikk> Dear UK banking, please burn to the ground so someone can invent a system that actually works.
964: [14:03:16] <Zauberfisch> micmania1: also, don't forget to add a license info to the composer.json
965: [14:03:22] <Pyromanikk> micmania1: it's a text document you can copy and paste! not that hard.
966: [14:03:47] <Zauberfisch> Pyromanikk: well, the hard part is choosing a license
967: [14:03:53] <Zauberfisch> not copy pasting the license text
968: [14:03:55] <Pyromanikk> BSD 2
969: [14:04:08] <Pyromanikk> copy paste out of SS, done.
970: [14:04:30] <Zauberfisch> if you copy paste that you at least need to edit the "copyright by silverstripe" part
971: [14:05:11] <Pyromanikk> true I guess.
972: [14:05:48] <Pyromanikk> Zauberfisch: ever done anything in code ignter?
973: [14:05:54] <Zauberfisch> no
974: [14:05:58] <Pyromanikk> good, don't.
975: [14:06:01] <Zauberfisch> :D
976: [14:06:37] <Pyromanikk> gawd what I wouldn't do for SS's autoloader just now.
977: [14:07:06] <Pyromanikk> made class, put it in correct folder, even named it properly
978: [14:07:20] <Pyromanikk> subclassed, tried to load "class not found"
979: [14:07:27] <Pyromanikk> >:@
980: [14:09:32] <Zauberfisch> well, look on the bright side. it could be worse.
981: [14:09:38] <Zauberfisch> you could be using typo3 or wordpress
982: [14:10:16] * Error404NotFound quit (Read error: Connection reset by peer)
983: [14:10:39] <Zauberfisch> like this guy here: http://stackoverflow.com/questions/21624205/migrating-silverstripe-to-wordpress-change-web-platforms
984: [14:10:55] <Zauberfisch> porting a SS site to wordpress
985: [14:11:11] <Zauberfisch> he is going to have a fun time
986: [14:14:03] <Pyromanikk> AAAAHAHAHAHAAHAHAHAHAHAH
987: [14:14:07] <Pyromanikk> omg
988: [14:14:27] <Pyromanikk> feel like making 58 alias accounts to upvote an answer of "You're doing it wrong"
989: [14:14:29] * r3v3rb has joined #silverstripe
990: [14:14:51] <kinglozzer> :P
991: [14:14:55] <Zauberfisch> :D
992: [14:14:57] <r3v3rb> hello
993: [14:15:07] <r3v3rb> what have I missed?
994: [14:15:21] <Zauberfisch> someone trying to port a SilverStripe website to wordpress
995: [14:15:39] <Zauberfisch> well, actually he/she asked on stackoverflow
996: [14:15:43] <r3v3rb> oh dear
997: [14:16:06] <Zauberfisch> we are just amused and think he is going to have a good time
998: [14:17:04] <r3v3rb> so i have a fresh install, set to use my custom template/theme, yet everytime I try to view the site no html is returned. Try to login in via Security/login and the theme is there... Any ideas?
999: [14:17:24] <r3v3rb> no php errors, no apache errors, just nothing
1000: [14:17:38] <Pyromanikk> hahahhahahhaha who the hell wrote this? http://www.chromatix.com.au/blog/wordpress-vs-silverstripe/
1001: [14:17:50] <r3v3rb> an australian?
1002: [14:17:50] <Zauberfisch> if you do a echo "zauberfisch is awesome" somewhere in php, what happens?
1003: [14:18:00] <Pyromanikk> Pro for wordderp: simple php framework
1004: [14:18:03] <Pyromanikk> LOLWUT
1005: [14:18:24] <kinglozzer> "framework"
1006: [14:18:26] <Pyromanikk> r3v3rb: an Aussie with less clues than those with them.
1007: [14:18:33] <Pyromanikk> kinglozzer: 'simple'
1008: [14:18:45] <Pyromanikk> simple a lie, but yes, framework a bigger one.
1009: [14:20:16] <Zauberfisch> btw, r3v3rb have taken a close look at susy
1010: [14:20:27] <Zauberfisch> I think its the first grid I could fall in love with
1011: [14:20:40] <Pyromanikk> lol disadvantage of ss? 'Relatively new compared to most CMS'
1012: [14:20:52] <r3v3rb> Zauberfisch: I ended up writing my own - easier to customise
1013: [14:20:54] <Pyromanikk> wrong! Not that new, just internet too stupid to spread the word.
1014: [14:21:11] <r3v3rb> Pyromanikk: let him think what he wants ;)
1015: [14:21:19] <Zauberfisch> (or us, as we are the community that should do that^^^)
1016: [14:21:32] <Pyromanikk> also, 'than most cms' - if by most he means 3 (wordderp, droopal, that j word)
1017: [14:21:40] <Zauberfisch> r3v3rb: thats what I like about susy. it looks like it was designed to be hacked
1018: [14:21:51] <Pyromanikk> r3v3rb: No! He's comitted #2 crime of all internet!
1019: [14:21:54] <Pyromanikk> HE'S WRONG
1020: [14:22:18] <r3v3rb> Zauberfisch: I don't want everyone knowing about SS just yet, let me keep on cleaning up with clients based on a much better interface and customisation :)
1021: [14:22:30] <Zauberfisch> :D
1022: [14:22:40] <Pyromanikk> haha, fair point r3v3rb xD
1023: [14:23:01] <Pyromanikk> alright, back to the dreaded codeignorant work.
1024: [14:23:14] <r3v3rb> client: can i have that (to wordderp agency) - agency: erm, we'll take a look and see if theres a plugin out there.
1025: [14:23:33] * DutchSs quit (Ping timeout: 245 seconds)
1026: [14:23:40] <r3v3rb> me: yep, let me code that for you - how would you like to use it, what do YOU need...
1027: [14:23:56] * jrthomer has joined #silverstripe
1028: [14:24:12] <r3v3rb> any way, why I got a completely blank error free screen...
1029: [14:24:27] <Zauberfisch> have you tried the echo?
1030: [14:24:37] <r3v3rb> the echo echo echo...
1031: [14:24:42] <Pyromanikk> die('derp');
1032: [14:24:44] <r3v3rb> no what echo is that ?
1033: [14:24:50] <r3v3rb> Pyromanikk: DIE DIE DIE
1034: [14:24:54] <Pyromanikk> r3v3rb: put one in, see what happens.
1035: [14:24:59] <Pyromanikk> r3v3rb: MY DARLING
1036: [14:25:01] <r3v3rb> anywhere?
1037: [14:25:02] <Pyromanikk> etc.
1038: [14:25:03] <Pyromanikk> ?
1039: [14:25:04] <r3v3rb> lmao
1040: [14:25:10] <Zauberfisch> r3v3rb: yes
1041: [14:25:12] <Pyromanikk> r3v3rb: well around where you think the error is, etc.
1042: [14:25:12] <Zauberfisch> eg _config.php
1043: [14:25:21] <r3v3rb> Zauberfisch: good shout
1044: [14:25:24] <Zauberfisch> and then if that works in Page_Controller->init()
1045: [14:25:27] <Pyromanikk> or echo at all the points, then you'll see when it stops
1046: [14:26:13] <r3v3rb> _config sends them all to the page
1047: [14:26:22] <r3v3rb> onwards to controller
1048: [14:27:04] * Error404NotFound has joined #silverstripe
1049: [14:27:17] <r3v3rb> controller produces echo ("hello"); but still blank
1050: [14:27:33] <Zauberfisch> have you flushed?
1051: [14:28:04] <Zauberfisch> also, do a echo Config::inst()->get('SSViewer', 'theme');
1052: [14:28:08] <Zauberfisch> to see what template is used
1053: [14:28:20] <r3v3rb> oki
1054: [14:28:50] <r3v3rb> correct theme listed :\
1055: [14:29:01] <Zauberfisch> have you ?flush=1 ed?
1056: [14:29:20] <Pyromanikk> ha, if in doubt, HACK IT.
1057: [14:29:50] <Pyromanikk> require_once('path/to/superclass'); class subclass extends superclass { ...
1058: [14:29:58] <r3v3rb> no but ?flush=all
1059: [14:30:00] <Pyromanikk> Eat that CodeIgnorer!
1060: [14:30:14] <Zauberfisch> r3v3rb: on a url that has a SSViewer?
1061: [14:30:16] <r3v3rb> Pyromanikk: take it you started work...
1062: [14:30:23] <Pyromanikk> r3v3rb: yup
1063: [14:30:24] <r3v3rb> r3v3rb home page yes
1064: [14:30:29] <Zauberfisch> (if you ?flush= on /dev/build it will not flush templates)
1065: [14:30:40] <r3v3rb> Zauberfisch: this I know ;)
1066: [14:31:18] <r3v3rb> so all echos work, config::inst shows correct theme yet the output to the page is blank
1067: [14:31:35] <r3v3rb> if I view /admin the theme is used :P
1068: [14:31:52] <r3v3rb> when logging in
1069: [14:32:05] * Error404NotFound quit (Ping timeout: 248 seconds)
1070: [14:32:09] <r3v3rb> how bloody ridiculous
1071: [14:32:24] <r3v3rb> unless it's this silverstripe-menumanager modules
1072: [14:32:56] * r3v3rb removes
1073: [14:33:30] <r3v3rb> same
1074: [14:33:33] * r3v3rb cries
1075: [14:33:45] <Zauberfisch> how fresh is your install really?
1076: [14:33:46] <r3v3rb> Pyromanikk: enjoying it?
1077: [14:33:52] <r3v3rb> 3.2 fresh
1078: [14:33:55] <r3v3rb> Zauberfisch:
1079: [14:33:59] <Zauberfisch> do you have overwritten index() perhaps?
1080: [14:35:11] <r3v3rb> Zauberfisch: :P doh!
1081: [14:35:14] <r3v3rb> I have
1082: [14:35:33] <r3v3rb> in Page_Controller is there a parent:: like init
1083: [14:36:43] <Zauberfisch> so its fixed?
1084: [14:37:24] * Error404NotFound has joined #silverstripe
1085: [14:40:27] * Shrike_Finland has joined #silverstripe
1086: [14:40:50] <r3v3rb> if I remove my index code yes
1087: [14:41:34] <Zauberfisch> paste your index then
1088: [14:43:17] <r3v3rb> http://pastebin.com/0jfd28tJ Zauberfisch
1089: [14:43:46] <r3v3rb> just needed a quick way to ascertain whether a request with an agent id was present in the urk
1090: [14:43:48] <r3v3rb> url*
1091: [14:44:09] <Zauberfisch> r3v3rb: silverstripe uses the returned value of the action as output
1092: [14:44:24] <Zauberfisch> if no action is specified, index is used as default action
1093: [14:44:43] <Zauberfisch> as your index does not return anything, it assums that you want an empty string as output
1094: [14:44:52] <Zauberfisch> try "return 'zauberfisch is awesome';"
1095: [14:44:59] <r3v3rb> no :)
1096: [14:45:03] <r3v3rb> lmao
1097: [14:45:04] <Zauberfisch> :(
1098: [14:45:09] <r3v3rb> lol
1099: [14:45:17] <Zauberfisch> do it!
1100: [14:45:42] <r3v3rb> done it
1101: [14:45:43] <Zauberfisch> if you however want the normal silverstripe render process to take place, you should return the object you want rendered
1102: [14:45:50] <Zauberfisch> so in your case that is $this
1103: [14:45:51] <r3v3rb> zauberfisch is awesome!
1104: [14:45:55] <Zauberfisch> just add: "return $this;"
1105: [14:46:18] <r3v3rb> doh! how could I be so stooooopid
1106: [14:47:04] <r3v3rb> right time to crack on, thanks Zauberfisch for making me feel really dim :P
1107: [14:47:16] <Zauberfisch> :)
1108: [14:47:17] <r3v3rb> about forgetting to return $this
1109: [14:47:23] <Zauberfisch> also, your line 5 looks dangerous
1110: [14:48:17] <Zauberfisch> ->where() is not escaped automaticly, thus this would allow SQL injects
1111: [14:48:38] <Zauberfisch> anyway, may I suggest an alernative syntax here for your query?
1112: [14:48:46] <r3v3rb> Zauberfisch: you may
1113: [14:48:53] <r3v3rb> always open to suggestion
1114: [14:49:12] <Zauberfisch> Agent::get()->filter('AgentID', (int)$agid)->First();
1115: [14:50:13] <r3v3rb> excellent, I did think that first then read someones post regarding using datalist::create instead
1116: [14:50:29] <r3v3rb> bbiab, got to collect children from school
1117: [14:50:31] * r3v3rb quit (Quit: r3v3rb)
1118: [15:17:24] <Pyromanikk> You spin me right round baby right round, like a record baby right round, round round...
1119: [15:38:26] * Shrike_Finland quit (Quit: Leaving.)
1120: [15:38:47] * Azure quit (Quit: My MBP went to sleep.)
1121: [15:40:26] * Shrike_Finland has joined #silverstripe
1122: [15:45:07] * catcher has joined #silverstripe
1123: [15:45:36] <catcher> hey hey
1124: [15:46:04] <guzzlefry> morning
1125: [15:57:17] * r3v3rb has joined #silverstripe
1126: [16:01:08] <Pyromanikk> sups
1127: [16:09:47] <Zauberfisch> r3v3rb: you left to fast earlier to post this link: http://paste2.org/n9007tv6
1128: [16:10:00] <Zauberfisch> thats how I would write it
1129: [16:10:48] <Zauberfisch> not a 100% sure if that ->update()->write() works, but I think so
1130: [16:12:37] * Sj0hn quit (Ping timeout: 265 seconds)
1131: [16:13:38] <r3v3rb> Zauberfisch: that updates the existing AgentID correct?
1132: [16:14:48] <r3v3rb> or is it just a better oneliner
1133: [16:16:31] * sphet has joined #silverstripe
1134: [16:17:37] <sphet> Hello
1135: [16:18:31] <guzzlefry> evening
1136: [16:18:59] <r3v3rb> will check if the id gets written - the SS_HTTPRequest method arguments is nicer Zauberfisch :D
1137: [16:19:00] <Zauberfisch> r3v3rb: it update does not do any DB stuff. it just sets the values of an object from an array
1138: [16:19:12] <r3v3rb> Zauberfisch: got it
1139: [16:20:50] <sphet> I have a question about the best approach to building a site in SSilver Stripe. We're putting together an online magazine and will be having ten posts a day, in separate categories, cross referenced with the authors posted. What is the best way to build this up? I imagine using pages for each post will quickly make the admin interface hard to manage.
1140: [16:22:12] * NobrainerWeb quit (Quit: NobrainerWeb)
1141: [16:23:17] <guzzlefry> sphet: Off the top of my head, using dataobjects might be best.
1142: [16:23:23] <micmania1> sphet: https://github.com/micmania1/silverstripe-blogger - You can the author sutff on top of that to suit your needs.
1143: [16:23:26] <guzzlefry> Although I don't know if you'd get history with that.
1144: [16:23:31] <guzzlefry> ah
1145: [16:24:00] <guzzlefry> micmania1: Does that module use that 'difficult for every client we've had' sitetree for managing entries? :P
1146: [16:24:02] <Zauberfisch> you can also use Pages, but hide them in the Sitebar and manage them with a gridfield
1147: [16:24:10] <Zauberfisch> but that involves a bit of work
1148: [16:24:39] <micmania1> guzzlefry, if you choose. You can either show in a GridField or in the SiteTree. Its optional but it always uses pages.
1149: [16:24:49] <guzzlefry> oh nice
1150: [16:25:00] <micmania1> Pyromanik: that's the one I was on about on Friday ^^^
1151: [16:25:09] <guzzlefry> SiteTree method becomes unmanagable once you get a ton of entries. :/
1152: [16:25:17] <micmania1> Pyromanikk even.
1153: [16:25:55] <micmania1> guzzlefry, that's basically what I set out to solve with this module.
1154: [16:26:26] <sphet> micmania1: Thanks - I did look at the blog module, but I had not realized there would be other implementations.
1155: [16:26:36] * ARNHOE quit ()
1156: [16:27:18] <sphet> guzzlefry: that's what my impression was, as well.
1157: [16:28:18] <sphet> I'm also having a problem trying to get composer to install the widgets module - I think I must have a version compatibility issue - I am running 3.1.2, am I likely just using too-new a version of the core framework?
1158: [16:28:31] * Shrike_Finland quit (Quit: Leaving.)
1159: [16:28:56] <micmania1> sphet: what version of the widgets module are you trying to install? I think you should be using *@dev
1160: [16:29:54] <sphet> micmania1: I suspect I am using stable (still new to composer) but I guess pulling @dev is the trunk/
1161: [16:30:14] <sphet> micmania1: I followed instructions on the widgets module installation page.
1162: [16:31:02] <catcher> micmania1, have you considered building a modeladmin option for blogger?
1163: [16:31:06] <micmania1> sphet: tags in GIT are stable composer releases, so the widgets module doesn't have any.
1164: [16:31:31] <micmania1> catcher, yes - although not sure about the workability of it.
1165: [16:31:33] <sphet> micmania1: thank you.
1166: [16:31:38] <Zauberfisch> sphet: personally I would create a subclass of page, hide that subclass in the normal CMS and create a modeladmin to manage this subclass
1167: [16:31:44] * Azure has joined #silverstripe
1168: [16:32:02] <catcher> micmania1, I understand the hierarchy problems involved, but it'd be killer for a single parent blog.
1169: [16:32:19] <catcher> maybe that's a fork though.
1170: [16:32:32] <sphet> Zauberfisch: And then use a modeladmin to handle page management on the admin side?
1171: [16:32:42] <Zauberfisch> yes
1172: [16:32:52] <Zauberfisch> only the blog pages though
1173: [16:32:54] <sphet> Zauberfisch: I have read that working in the admin side is difficiult - is that only with regards to styling?
1174: [16:33:03] <Zauberfisch> the normal pages I would continue to manage in the normal admin
1175: [16:33:13] <sphet> Of course.
1176: [16:33:43] <Zauberfisch> well, difficult ... idk, depends
1177: [16:33:46] <micmania1> The difficulty tou'd face moving into modelamdin would be that you'd need to find something to manage the versioning. You lose quite a lot of functionality by doing it.
1178: [16:33:53] <micmania1> you'd*
1179: [16:33:58] <Zauberfisch> in the frontend you can basicly do what ever you want
1180: [16:34:10] <catcher> micmania1, I'm using versioned modeladmin all over the place atm, working well
1181: [16:34:22] <Zauberfisch> in the CMS there are certain ways you need to do things, you need to know the inner workins of silverstripe to understand it
1182: [16:34:22] * feejin has joined #silverstripe
1183: [16:34:33] <Zauberfisch> if you do understand that, then CMS is just as "easy"
1184: [16:34:35] <catcher> micmania1, https://github.com/icecaster/silverstripe-versioned-gridfield
1185: [16:35:24] <Zauberfisch> micmania1: well, if you use pages in modeladmin versioning is still there, you just don't see it
1186: [16:35:33] <Zauberfisch> but I agree, it might be rather tricky getting that to work
1187: [16:35:51] <micmania1> We did a pretty large site in ModelAdmin as most of it was a blog.
1188: [16:36:08] <micmania1> Big mistake. You don't realise how much stuff you lose until you have to add it all back in.
1189: [16:36:23] <Zauberfisch> I did the same back in 2.4
1190: [16:36:28] <Zauberfisch> I did not regret it
1191: [16:36:40] <Zauberfisch> but the client did not need versioning, so I just left that out
1192: [16:37:03] <sphet> Can you explain (or point me to information) about the implications of not having 'versioning' - do you mean history on specific pages?
1193: [16:37:05] <Zauberfisch> but yeah, I did have to implement and copy a lot of stuff from the Page Admin
1194: [16:37:49] <Zauberfisch> sphet: yes. the page history. (when the page has been saved, rolling back to an older version, and this sort of features)
1195: [16:38:11] <micmania1> sphet: You'd also lost the ability to preview the page (including side by side view).
1196: [16:38:29] <micmania1> lose* My spelling sucks today.
1197: [16:38:40] <sphet> Zauberfisch, macmania1: Both seem like important elements. So what's the downside of using pages - simply the clutter in the CMS sitetree?
1198: [16:38:54] <catcher> true. And the versioned gridfield above provides an interface for draft/publish, but not rolling back.
1199: [16:38:58] <Zauberfisch> micmania1: I did preserv "Stage" and "Live" when I did it
1200: [16:39:08] <Zauberfisch> however, side by side editing would indeed be gone
1201: [16:39:21] <catcher> sphet, if things like versioning & hierarchy aren't needed, a modeladmin interface makes things easier to search, handles pagination for faster loading, etc.
1202: [16:39:31] <Zauberfisch> sphet: yes, the only real problem I can see is the overloading of the CMS
1203: [16:39:47] <micmania1> Zauberfish, I implemented the versioning and preview in the site we done. It was good for learning, mind :)
1204: [16:39:50] <Zauberfisch> sphet: you might also want to talk to simon_w, he is running a blog on silverstripe since quiet some time
1205: [16:41:30] <micmania1> My blog module doesn't lost any functionality. It has a few custom GridField components which hook it up to the CMS nicely.
1206: [16:41:53] <micmania1> "A fresh take on blogging in Silverstripe set out to tackle the issue of a cluttered Site Tree." :)
1207: [16:42:28] <sphet> micmania1: I am going to look at your system now, because i don't really want to write a whole bunch of code if I don't have to :)
1208: [16:42:55] <sphet> But I will look into modeladmin more closely.
1209: [16:43:28] * ObiWanShanobi has joined #silverstripe
1210: [16:43:53] <Zauberfisch> micmania1: ah, your module is the one that removes them from the Sidebar and uses gridfields?
1211: [16:44:04] <micmania1> yep
1212: [16:44:07] <Zauberfisch> I like the idea. never tried your module though.
1213: [16:44:12] <micmania1> http://awesomescreenshot.com/0682bxhreb - Screenshot of the backend.
1214: [16:44:13] <sphet> Is the modeladmin interface the standard way to deal with administration of the data objects?
1215: [16:44:17] <Zauberfisch> in this case, sphet you should most defentily try the module of micmania1
1216: [16:44:44] <micmania1> Yeah, so you can just set via a config variable whether or not it stores your posts in the SiteTree or a gridfield.
1217: [16:44:46] <sphet> Zauberfisch: :) thanks
1218: [16:44:46] <Zauberfisch> it probably is better than modeladmin
1219: [16:45:02] <sphet> micmania1: Is it easy enough to add custom columns to the gridfield?
1220: [16:45:03] <Zauberfisch> as you have a lot less to worry about
1221: [16:45:06] <micmania1> But I avoid GridFieldEditForm and change the EditLinks to link to the actualy CMS edit page.
1222: [16:45:26] <micmania1> sphet, yes. You can extend BlogPost and add summary fields as normal.
1223: [16:45:33] <Zauberfisch> sphet: the 2 most common ways to manage dataobjects are GridFields on pages or other dataobjects
1224: [16:45:36] <Zauberfisch> and modeladmin
1225: [16:46:06] <micmania1> http://www.oculus-hr.co.uk/blog - Its used here.
1226: [16:46:09] <r3v3rb> is $_SERVER['REMOTE_ADDR'] a sensible approach to determine repeat visits from the same browser ?
1227: [16:46:17] <Zauberfisch> if I for example have a very simple site that has a "Locations" page, that contains all he shops of that company. I would use a gridfield on the location page
1228: [16:46:26] <Zauberfisch> r3v3rb: no
1229: [16:47:09] <Zauberfisch> r3v3rb: proxys, shared networks (eg public wifi, school, work, ...), ISPs that change the IP often, ...
1230: [16:47:33] <r3v3rb> sure, but its only for 24hrs
1231: [16:47:40] <Zauberfisch> cookie is usually good enough
1232: [16:48:09] <r3v3rb> ok, so I was going to write a session out using the REMOTE_ADDR
1233: [16:48:17] <sphet> micmania1: Still having problem pulling silverstripe/widgets:*@dev - 'Requirements could not resolve to an installable package' - any other ideas?
1234: [16:48:25] <Zauberfisch> and if you want to be a jerk, then you can do https://github.com/samyk/evercookie
1235: [16:49:05] <sphet> micmania1: oh wait - now i get a failed to find git command.
1236: [16:49:16] <Zauberfisch> r3v3rb: REMOTE_ADDR is bad
1237: [16:49:21] <r3v3rb> Zauberfisch: I know I am a jerk, but not that much
1238: [16:49:39] <r3v3rb> Zauberfisch: how can I determine the same visitor then reliably?
1239: [16:49:47] <r3v3rb> using session/cookie data
1240: [16:49:51] <sphet> cookies
1241: [16:49:52] <Zauberfisch> r3v3rb: just think of it: my coworker visits your site, then she is like "oh, you have to look at this cool site", and sends me a link
1242: [16:49:58] <Zauberfisch> to you we both have the same IP
1243: [16:50:09] <micmania1> sphet: try composer require silverstripe/widgets dev-master
1244: [16:50:12] <Zauberfisch> because we have the same public IP here in the office
1245: [16:50:14] <r3v3rb> Zauberfisch: yeh, i get that, so write a cookie/test for cookie be done
1246: [16:50:22] <Zauberfisch> exactly
1247: [16:50:26] <r3v3rb> ok
1248: [16:50:27] <Zauberfisch> or the easier way, use a session
1249: [16:50:32] <r3v3rb> :P
1250: [16:50:38] <Zauberfisch> session is remembered by cookie
1251: [16:50:49] <sphet> micmania1: looks like I have not installed git in this environment yet. I thought that's what composer used, but only when a dev package?
1252: [16:51:11] <r3v3rb> ok, now to work out to set the session timeout to midnight
1253: [16:51:41] <Zauberfisch> sphet: composer uses git by default, but falls back to dist (zip/tar download feature of github, bitbucket, ...)
1254: [16:51:59] <Zauberfisch> and you can tell composer to use dist by using "composer update --prefer-dist"
1255: [16:53:29] * ObiWanShanobi quit (Remote host closed the connection)
1256: [16:54:34] * Err404NotFound has joined #silverstripe
1257: [16:54:35] * Error404NotFound quit (Disconnected by services)
1258: [16:57:25] * ObiWanShanobi has joined #silverstripe
1259: [17:00:14] <Pyromanikk> [16:44] <micmania1> http://awesomescreenshot.com/0682bxhreb - Screenshot of the backend.
1260: [17:00:17] <Pyromanikk> looks good, well done son
1261: [17:01:06] <Pyromanikk> :>
1262: [17:14:29] <guzzlefry> man...I need to learn .NET.
1263: [17:14:35] <guzzlefry> So many jobs for it.
1264: [17:17:57] * feejin quit ()
1265: [17:19:51] * kinglozzer quit ()
1266: [17:24:44] * simon_w|air quit (Ping timeout: 246 seconds)
1267: [17:27:23] <r3v3rb> guzzlefry: what do you need to learn per se.
1268: [17:27:52] <guzzlefry> C# and SQL Server...
1269: [17:27:53] <guzzlefry> at the least
1270: [17:27:53] <r3v3rb> php/.net aren't that different structurally well c#.net to php that is
1271: [17:28:09] <guzzlefry> I rarely see local jobs for PHP, tons for .NET.
1272: [17:30:03] * SphereSilverNL has joined #silverstripe
1273: [17:31:58] * SightUnseen has joined #silverstripe
1274: [17:32:02] * SightUnseen has left #silverstripe
1275: [17:32:10] <r3v3rb> Pyromanikk: did micmania do the blog system himself or is that the latest blog module?
1276: [17:33:25] <r3v3rb> SphereSilverNL: evening
1277: [17:33:35] <SphereSilverNL> evening :)
1278: [17:34:53] <SphereSilverNL> r3v3rb: From the contributors-graph I think he build most of it himself.
1279: [17:35:27] <r3v3rb> SphereSilverNL: oh okay so its the current SS3 blog module then ?
1280: [17:36:26] <SphereSilverNL> Don't think so, the "official" blogmodule would be https://github.com/silverstripe/silverstripe-blog I guess
1281: [17:36:45] <SphereSilverNL> There are multiple blog/newsmodules, which one you use depends on which you prefer :P
1282: [17:38:51] * r3v3rb prefers no blog but clients seem to want them
1283: [17:39:39] <SphereSilverNL> I prefer to call them "e-logs" instead of "blog", "Blog" sounds like me hanging above the toilet after getting home from a long night out with friends.
1284: [17:41:11] <guzzlefry> Where's the most appropriate spot to put a browser version check method that will be called in the template?
1285: [17:41:26] <SphereSilverNL> depends on what you want to check?
1286: [17:41:28] <guzzlefry> I'm guessing controller?
1287: [17:41:45] <guzzlefry> I'd be checking the user-agent global stuff.
1288: [17:41:56] <SphereSilverNL> Yeah, but what exactly?
1289: [17:42:04] <SphereSilverNL> Like IE <= 8?
1290: [17:42:09] <guzzlefry> yep
1291: [17:42:17] <SphereSilverNL> Then why not use the template?
1292: [17:42:37] <guzzlefry> You can check that with purely template code?
1293: [17:43:00] <SphereSilverNL> <!--[if lte IE 8]><div>Hi, you're using an old browser!</div><![endif]-->
1294: [17:43:12] <SphereSilverNL> It's standard available up to IE9
1295: [17:43:13] <guzzlefry> ..I feel dumb. :P
1296: [17:43:14] <guzzlefry> thanks
1297: [17:43:44] <SphereSilverNL> I kinda figured it was an IE8 and lower issue you wanted ;)
1298: [17:44:02] <SphereSilverNL> Since, who checks for Firefox etc.? :P
1299: [17:44:14] <guzzlefry> Yeah, those typicaly...work. :P
1300: [17:44:19] <guzzlefry> typically*
1301: [17:44:32] <SphereSilverNL> http://www.mediacollege.com/internet/html/detect/detect-ie.html
1302: [17:44:40] <SphereSilverNL> These are the general available ;)
1303: [17:45:05] <SphereSilverNL> Also, there's a "lte IE {version}"
1304: [17:47:41] <SphereSilverNL> Always try to stay away from browsersniffing ;)
1305: [17:48:02] <guzzlefry> Is that considered browser sniffing?
1306: [17:48:16] <SphereSilverNL> the IE-checks in the html?
1307: [17:48:24] <SphereSilverNL> no, those are standard for IE
1308: [17:48:37] <guzzlefry> yay
1309: [17:48:50] <SphereSilverNL> Browsersniffing as in "check the useragent for specific thingy's and react to that" is bad.
1310: [17:48:59] <guzzlefry> ah
1311: [17:49:04] <SphereSilverNL> Because the useragent is easily manipulated
1312: [17:49:16] <SphereSilverNL> but IE-specific tags are always parsed correctly by the browsers
1313: [17:49:24] <SphereSilverNL> Despite their useragent
1314: [17:52:07] <Pyromanikk> r3v3rb: complete rewrite of the blog module by mic
1315: [17:52:20] <Pyromanikk> ie, not related to blog module at all, another one.
1316: [17:52:26] <r3v3rb> got it, using dataobjects instead of pages
1317: [17:52:28] <Pyromanikk> hopefully cleaner, better.
1318: [17:52:30] <Pyromanikk> indeed.
1319: [17:52:39] <Pyromanikk> but likely not backwards compatible
1320: [17:52:44] <r3v3rb> done a few 'news' systems like that
1321: [17:52:46] <Pyromanikk> mm
1322: [17:52:52] <Pyromanikk> anyway, it's home time
1323: [17:52:58] <r3v3rb> nite nite
1324: [17:53:01] <SphereSilverNL> It's slightly different from my module, because it does seem to use pages instead of actual DO's
1325: [17:53:05] <Pyromanikk> well shit, home time 20 mins ago.
1326: [17:53:08] <Pyromanikk> ciao
1327: [17:53:12] * Pyromanikk quit (Quit: Page closed)
1328: [17:53:54] <r3v3rb> SphereSilverNL: ok, I jut assumed that it was DO's as from the image pyro posted it appeared they weren't in the sitetree
1329: [17:54:17] <SphereSilverNL> He's using some sort of method to prevent them from showing in the SiteTree
1330: [17:54:25] <SphereSilverNL> Whereas I specifically use DO's
1331: [17:55:23] <r3v3rb> SphereSilverNL: dangerous, imho
1332: [17:55:28] <r3v3rb> but what do I know ;)
1333: [17:55:29] <SphereSilverNL> Why?
1334: [17:55:48] <SphereSilverNL> I'm curious as to why it would be dangerous to use DO's for it?
1335: [17:55:49] <r3v3rb> I wouldn't want them hidden thats all
1336: [17:56:06] <r3v3rb> DO's is fine - i've done it myself with 'news' systems
1337: [17:56:07] <SphereSilverNL> What do you mean by "hidden"?
1338: [17:56:22] <r3v3rb> I wouldn't want the blog posts hidden in the tree
1339: [17:56:31] <r3v3rb> as per the screen shot earlier
1340: [17:56:32] <SphereSilverNL> You mean, as in hiding from the tree, despite them being pages?
1341: [17:56:37] <r3v3rb> indeed
1342: [17:57:29] <SphereSilverNL> One might make that choice based on the amount of posts, but I generally prefer to stay away from such methods.
1343: [17:57:44] <r3v3rb> unless his gridfield supports reordering etc
1344: [17:57:57] <SphereSilverNL> That's why I decided to go for the DO-method immediately
1345: [17:58:04] <SphereSilverNL> Every gridfield supports it ;)
1346: [17:58:10] <SphereSilverNL> It just requires enabling it :P
1347: [17:58:18] <r3v3rb> any way whats this all about: Set the timeout of a Session value:
1348: [17:58:18] <r3v3rb> 603 * @deprecated 3.2 Use the "Session.timeout" config setting instead
1349: [17:58:19] <r3v3rb> 605 * @param int $timeout Time until a session expires in seconds. Defaults to expire when browser is closed.
1350: [17:58:21] <guzzlefry> SphereSilverNL: Are you aware of any way to spoof those?
1351: [17:58:40] <r3v3rb> seen this a couple of times now, whats the best way to set the timeout going forward
1352: [17:58:46] <SphereSilverNL> What do you mean by "spoof" and "those"?
1353: [17:59:23] <SphereSilverNL> You can set them in _config/settings.yml
1354: [18:00:56] <guzzlefry> SphereSilverNL: sorry, I mean getting Firefox or Chrome to evaluate those <!--[if lte IE8]> tags as true. And nevermind on that. I'm being dumb again. Can just remove the comment code to see how it looks. :P
1355: [18:01:17] <SphereSilverNL> Yeah, that ;)
1356: [18:04:25] <SphereSilverNL> One might wonder what I do for a living.... http://imgur.com/fYnvZ1K
1357: [18:04:31] <r3v3rb> SphereSilverNL: I thought you could set different timeouts for different sessions though
1358: [18:04:49] <r3v3rb> doing it in yml seems like its a one time option now
1359: [18:04:51] <SphereSilverNL> How would you go and set different timeouts? Based on what?
1360: [18:05:17] <SphereSilverNL> As far as I know (I could be wrong though), a session is a one-set thing, with a single timeout.
1361: [18:05:45] <r3v3rb> is it or are they written as session cookies where the timeout is the cookie expiry?
1362: [18:05:59] <SphereSilverNL> A bit of both.
1363: [18:06:01] * r3v3rb isn't sure
1364: [18:06:19] <SphereSilverNL> The cookie-expiry is set in the cookie, which can be higher or lower than the session itself
1365: [18:06:47] <SphereSilverNL> The session-timeout is handled server-side, thus if it's expired, it's gone, eventhough the cookie with the session-key may still be on the users computer
1366: [18:07:05] <r3v3rb> so whats the best way to expire a session using $expires = strtotime('tomorrow 00:00:00') - time();
1367: [18:07:56] <r3v3rb> I was going to use $sess = Session::create('Visited', true); $sess->set_timeout($expires);
1368: [18:08:11] <r3v3rb> but set_timeout is deprecated
1369: [18:08:17] <SphereSilverNL> Inst::config()->setSessionTimeout("yourtime");
1370: [18:08:31] <SphereSilverNL> something like that. Override the config in your _config.php file
1371: [18:08:38] <r3v3rb> ewwww, that looks ugly!
1372: [18:08:48] <SphereSilverNL> No it doesn't
1373: [18:09:03] <r3v3rb> SphereSilverNL: :)
1374: [18:09:05] <r3v3rb> it does
1375: [18:09:12] <SphereSilverNL> It doesn't
1376: [18:09:16] <r3v3rb> :P
1377: [18:09:19] <r3v3rb> does too
1378: [18:09:38] <SphereSilverNL> Does not.
1379: [18:10:16] <SphereSilverNL> Does too, always your count + 1
1380: [18:10:29] <SphereSilverNL> Does not*
1381: [18:10:31] <SphereSilverNL> crap
1382: [18:10:42] <r3v3rb> lmao
1383: [18:10:55] <SphereSilverNL> Why would it be any uglier than filling up the _config.php with all sorts of configs, whereas the yml now handle most of it
1384: [18:11:09] <SphereSilverNL> And just having one or two overrides in _config.php?
1385: [18:11:12] <r3v3rb> so basically its global now whatever i set is for every session cookie
1386: [18:11:39] <SphereSilverNL> Yes, but I wouldn't know how it would've been different before, since the expiry method of PHP hasn't changed
1387: [18:13:26] <SphereSilverNL> It has always been a global setting. Only specific cookies can have their own specific timeouts
1388: [18:13:27] <r3v3rb> maybe I am misunderstanding Session::set in that I thought that each one set was its own seperate $_SESSION variable on the server
1389: [18:13:40] <r3v3rb> and getting confused with cookies
1390: [18:13:49] <SphereSilverNL> The $_SESSION[] variable is a single global
1391: [18:13:59] <r3v3rb> right
1392: [18:14:02] <SphereSilverNL> whereas $_COOKIE['name_of_cookie'] applies to that specific cookie
1393: [18:14:19] <SphereSilverNL> (Please don't address globals like that? ;) )
1394: [18:14:36] <r3v3rb> so I'm possibly better of using a cookie
1395: [18:14:53] <SphereSilverNL> Depends on what you want to set, and why, and what it should hold etc.
1396: [18:15:43] <r3v3rb> just setting that a user visited the site that day, then at midnight I need the flag to clear to allow them to tell the site they have visited again
1397: [18:17:00] <r3v3rb> I am passing an agent id to the page and it will be used to form a report of how many visits each agent provide to a site. without a session or cookie one could repeatedly hit refresh and increase the visit count exponentially
1398: [18:17:14] * UndefinedOffset quit (Disconnected by services)
1399: [18:17:15] * UndefinedOffset1 has joined #silverstripe
1400: [18:17:33] <SphereSilverNL> Then, a cookie is a bad idea, I'm assuming this might have something to do with voting or visit-counting per day? If so, a cookie is very bad, but a Session is just as bad. If that's the case, you'll have to figure out a way to monitor that fully server-side by keeping track of your visitors.
1401: [18:18:00] <SphereSilverNL> Cookie and Session methods can easily be spoofed by just removing the (session)-cookie
1402: [18:18:07] * UndefinedOffset1 is now known as UndefinedOffset
1403: [18:18:54] <r3v3rb> SphereSilverNL: indeed, but the people using this wouldn't know that... and besides they aren't aware the agent id number is even being tracked other than to let the site know its them sending the link etc
1404: [18:19:15] <SphereSilverNL> Don't be so sure about that ;)
1405: [18:19:23] <r3v3rb> heheh
1406: [18:20:13] <SphereSilverNL> They all have that "little nephew" that can tell them how to bypass your method to increase their own number, and thus their own benefits
1407: [18:20:34] <r3v3rb> SphereSilverNL: afaik it isn't used for any financial gain ;)
1408: [18:21:05] <SphereSilverNL> Are you sure? Even those referral-numbers can be used as a "looky, we are good!" ;)
1409: [18:21:27] <SphereSilverNL> Every website, every visitor, has a financial gain one way or another.
1410: [18:21:48] <r3v3rb> it has to be a session variable as the agent id is possibly used by more than one visitor a day
1411: [18:22:35] <SphereSilverNL> Then, I'd set a system, which counts useragent + IP, and only count 1 every 15 minutes.
1412: [18:23:07] <SphereSilverNL> Plus, setting a cookie and session, and a session-check which will re-set the cookie, so removing the cookie and refreshing won't change the data
1413: [18:24:29] <r3v3rb> SphereSilverNL: I was thinking IP earlier but Zauberfisch suggested IP could be from a large corporate running on the same visible external IP - one gets counted but more than one person could be viewing so the count would be skewed
1414: [18:25:00] <SphereSilverNL> I've been in the "vote here on facebook" a lot. and it's better to let corporates only count once every 15 minutes, than counting them all
1415: [18:25:09] <SphereSilverNL> There's always a reason to skew the results ;)
1416: [18:26:23] <r3v3rb> hmm, I shall have a 'deeper' think
1417: [18:27:17] <ss23> fuck 7:30am releases
1418: [18:27:23] * ss23 throws a spoon at simon_w
1419: [18:27:29] <ss23> simon_w: BRING ME A HOT CHOCOLATE
1420: [18:27:37] <SphereSilverNL> It's better than friday 17:00 releases...
1421: [18:28:10] <sphet> I am trying to install the comments module - will I want to use :*@dev if I am running SS3.12?
1422: [18:28:12] <sphet> How do I know?
1423: [18:28:52] <ss23> sphet: Generally for modules, using "*" is going to be fine
1424: [18:29:17] <ss23> sphet: Though *@dev might be better, because a lot of module authors don't mark things as stable properly, so you need to use *@dev to use it
1425: [18:29:25] <sphet> ss23: So if I get 'Your requirements could not be resolved to an installable set of packages.' do I have something else installed that is conflicting?
1426: [18:29:30] <ss23> sphet: So I think, there is no catch-all answer, you should use what you need
1427: [18:29:50] <SphereSilverNL> With ss23, most devs use the master-branch as stable, or mark their branch they want to use as "*", so it should work fine. In general
1428: [18:29:53] <ss23> sphet: Not always. Probably if you get that, try playing around with things
1429: [18:30:18] <sphet> ss23: 'playing around with things' ?
1430: [18:30:29] <SphereSilverNL> With the requirements-versions ;)
1431: [18:30:30] <ss23> Yeah! Twiddling flags and things
1432: [18:30:32] <ss23> :D
1433: [18:30:32] <sphet> ss23: Any suggestions? :)
1434: [18:30:41] <ss23> sphet: Pastebin the entire output of the error and composer.json?
1435: [18:31:28] <SphereSilverNL> brb, and my internet will crash in a few seconds.
1436: [18:32:30] <sphet> http://pastebin.com/qBAsFN59
1437: [18:32:41] <sphet> I guess it is because I am using a bunch of dev branches of other modules.
1438: [18:33:28] <sphet> Here is output if I do @dev
1439: [18:33:40] * SphereSilverNL_ has joined #silverstripe
1440: [18:33:54] * micmania1 has joined #silverstripe
1441: [18:34:22] <sphet> http://pastebin.com/1cFBRyFe
1442: [18:34:49] <ss23> Okay!
1443: [18:35:06] <sphet> I suspect I do not want to remove framework 3.1.2 :)
1444: [18:35:37] <ss23> The first one is because the module author never marked it as stable, so yes, you need @dev
1445: [18:35:46] <sphet> *rubs face wearily*
1446: [18:35:47] * SphereSilverNL quit (Ping timeout: 246 seconds)
1447: [18:35:48] <ss23> The second is probably because it doesn't have a working version that works with silverstripe 3.1
1448: [18:35:50] * SphereSilverNL_ is now known as SphereSilverNL
1449: [18:36:10] <ss23> Um
1450: [18:36:21] <ss23> Maybe composer is just silly, but I would manually verify that the comments module works with 3.1
1451: [18:36:32] <ss23> I have to do a release now (I HATE MORNING RELEASES) so I'll bbiab
1452: [18:37:01] <sphet> ss23: from comments: 'requires SilverStripe 3.1'
1453: [18:37:06] <sphet> ss23: good luck with your release
1454: [18:46:41] * Shrike_Finland has joined #silverstripe
1455: [18:52:46] <guzzlefry> Any devs around?
1456: [18:53:02] <guzzlefry> well, anyone really :P
1457: [18:53:41] <guzzlefry> http://api.silverstripe.org/3.1/source-class-ErrorPage.html#218-263
1458: [18:53:49] <guzzlefry> Look at the @param doctags for that.
1459: [18:53:54] <guzzlefry> Is there any magic pulling those in?
1460: [18:53:58] <guzzlefry> I don't see it. :/
1461: [18:57:39] <SphereSilverNL> Ehm, the docs aren't pulled??
1462: [19:00:21] * Kolin_ has joined #silverstripe
1463: [19:00:21] * Kolin_ quit (Client Quit)
1464: [19:02:22] <guzzlefry> SphereSilverNL: I'm asking if that method really takes those parameters, or if the @param tags are incorrect.
1465: [19:02:30] * guzzlefry is doing doctag clean-up. :)
1466: [19:02:54] <SphereSilverNL> Hmmm, actually, valid point, they seem off by a lot
1467: [19:03:02] <guzzlefry> okay, so I'll rip those out. :)
1468: [19:03:18] <SphereSilverNL> It won't speed things up you know ;)
1469: [19:03:35] <guzzlefry> I'm aware, just cleaning up PHPDoc errors. ;)
1470: [19:03:56] <simon_w> ss23, NO YOU
1471: [19:04:00] <ss23> simon_w: NO YOU
1472: [19:04:01] <ss23> simon_w: you're late.
1473: [19:04:11] * SphereSilverNL grabs the popcorn
1474: [19:04:23] <simon_w> A simon_w is never late, everyone else is just early
1475: [19:04:28] <ss23> lol
1476: [19:04:34] <ss23> simon_w: I want my hot chocolate
1477: [19:04:36] * chillu_23 has joined #silverstripe
1478: [19:04:40] <sphet> fair point
1479: [19:04:41] <guzzlefry> SphereSilverNL: There's no other way to get arguments besides 1) putting them in the parameter list or 2) calling func_get_arg(s) right?
1480: [19:04:45] <simon_w> ss23, so go to the toilet
1481: [19:05:02] <guzzlefry> 0.o
1482: [19:05:13] <guzzlefry> fight fight fight!
1483: [19:05:33] <ss23> simon_w: o.o
1484: [19:05:38] <ss23> simon_w: I'M NOT AT WORK, NOOBY
1485: [19:05:45] <ss23> (also, took me ages to figure that out :P)
1486: [19:05:46] <simon_w> guzzlefry, someone copied the docblock from publish() instead of from doPublish()
1487: [19:06:00] <guzzlefry> simon_w: I'll FIX IT for once! :P
1488: [19:06:05] <guzzlefry> Just this time though.
1489: [19:06:29] <guzzlefry> simon_w: Did the real documentation guy ever bring you something to drink?
1490: [19:06:36] <SphereSilverNL> guzzlefry: Not that I'm aware of.
1491: [19:06:40] <simon_w> guzzlefry, nope
1492: [19:06:49] <guzzlefry> cruel...
1493: [19:06:50] <SphereSilverNL> Any Dutch online?
1494: [19:07:09] <sphet> half?
1495: [19:07:30] <SphereSilverNL> More like "Living in the Netherlands" :P
1496: [19:07:41] <ss23> Ew, who would ever want *that*!?
1497: [19:07:42] <sphet> ahh no :)
1498: [19:07:51] <SphereSilverNL> I like the Netherlands!
1499: [19:08:01] <ss23> And some people like eating poop! :O
1500: [19:08:08] <ss23> I'm kidding btw :P
1501: [19:08:20] <ss23> Seems like a nice place :D
1502: [19:08:23] <ss23> I mean, not NZ... but still
1503: [19:09:22] <SphereSilverNL> }:|
1504: [19:09:28] <ss23> :D
1505: [19:11:42] * terryapodaca has joined #silverstripe
1506: [19:12:17] * Kolin quit (Quit: leaving)
1507: [19:12:40] * Kolin has joined #silverstripe
1508: [19:16:58] * Azure quit (Quit: My MBP went to sleep.)
1509: [19:17:47] * ss23 streches
1510: [19:17:48] <ss23> Only took an hour, but the release looks done
1511: [19:17:57] <ss23> sphet: Did you get it solved?
1512: [19:20:28] * Azure has joined #silverstripe
1513: [19:22:15] <sphet> ss23: no got distracted with child care
1514: [19:22:31] <guzzlefry> simon_w: Can I throw variable name changes in this doctag fix branch? >_>
1515: [19:22:39] <SphereSilverNL> Missing kitty is the worst missing there is :(
1516: [19:22:40] <guzzlefry> To conform with standards.
1517: [19:22:44] <simon_w> guzzlefry, why?
1518: [19:23:08] <sphet> ss23: looks like the comments module requires 3.1, but perhaps it doesn't like 3.1.2
1519: [19:23:12] <guzzlefry> simon_w: Is that not something that should be done?
1520: [19:23:15] <ss23> sphet: Link to it on github?
1521: [19:23:16] <guzzlefry> public function fieldLabels($includerelations = true) { <-- for instance
1522: [19:23:29] <simon_w> guzzlefry, not at the same time
1523: [19:23:33] <guzzlefry> roger that
1524: [19:24:43] <sphet> ss23: https://github.com/silverstripe/silverstripe-comments
1525: [19:25:58] * jrthomer quit (Remote host closed the connection)
1526: [19:26:34] <sphet> ss23: it's not the end of the world - I can wait a few weeks and see what happens with the module and if it updates.
1527: [19:26:57] <ss23> sphet: You removed your paste? :O
1528: [19:27:11] <sphet> ss23: I can repaste one sec
1529: [19:27:50] <sphet> http://pastebin.com/L5Te90PG
1530: [19:28:21] <sphet> It looks to me like the dev of comments requires 3.0.*, even though the README says 3.1
1531: [19:28:49] * antmas has joined #silverstripe
1532: [19:28:56] <antmas> moin moin
1533: [19:28:58] <terryapodaca> simon_w: last week you told me to wrap my menu in a cache block...you also mentioned another place but I can't recall (http://dairymax.org)
1534: [19:29:04] <ss23> sphet: change it to dev-master instead of *@dev and see what happens
1535: [19:29:05] <ss23> moin moin antmas
1536: [19:29:31] <simon_w> sphet, nope, it's complaining about dev-master requiring something that doesn't exist, then trying to fallback to the 3.0-compat branch
1537: [19:29:36] <terryapodaca> and btw, doing that cache block around the menu knocked off about 9 seconds!!!!
1538: [19:29:47] <simon_w> terryapodaca, the blocks that pull in content from other pages
1539: [19:30:36] <sphet> simon_w: thanks - still learning this package manager.
1540: [19:31:00] <sphet> ss23: looks like the missing package is gumming up the works.
1541: [19:33:46] <sphet> ss23: where is that dependency declared, in the composer.json? Why do i not see it on the github page?
1542: [19:34:20] <sphet> ss23: oh i see it - wrong window, sorry
1543: [19:34:52] <ss23> oic oic
1544: [19:34:54] <ss23> What simon_w said!
1545: [19:35:17] <sphet> ss23: yes the bulk edit module is not being pulled.
1546: [19:35:27] <ss23> Maybe it got deleted
1547: [19:35:40] <sphet> It's still on github: https://github.com/colymba/GridFieldBulkEditingTools
1548: [19:35:45] <sphet> Case sensitivity problem?
1549: [19:36:03] <sphet> Oh no dashes
1550: [19:36:18] <simon_w> packagist finds it fine though
1551: [19:37:08] <sphet> simon_w: what is packagist versus composer?
1552: [19:37:09] * micmania1 quit (Ping timeout: 248 seconds)
1553: [19:37:29] <simon_w> sphet, packagist is the default repository of packages composer uses
1554: [19:38:27] <sphet> I am using --prefer-dist with all my pulls, could that be a problem
1555: [19:39:56] <guzzlefry> Is ComponentSet an SS-2.4 thing?
1556: [19:40:33] <simon_w> guzzlefry, yes
1557: [19:40:37] <simon_w> sphet, try without and see?
1558: [19:41:41] <sphet> simon_w: no difference, seems like trying to require the package matching the case and everything fails.
1559: [19:42:19] <simon_w> sphet, the original package name was correct (it doesn't match the github project name, but the name in its composer.json file)
1560: [19:44:11] <sphet> simon_w, ss23: maybe I am stupid and I didn't know I had to do this, but manually pulling the gridfieldbulkediting tools and then the comments solved this. I had assumed the dependency handling was done automatically by composer.
1561: [19:45:38] * zippy__ has joined #silverstripe
1562: [19:47:11] <ss23> sphet: It should have been
1563: [19:47:13] <ss23> No idea why it didn't
1564: [19:47:25] <sphet> ss23: Okay glad I am not thick in the head.
1565: [19:47:45] <simon_w> Need a new server name!
1566: [19:48:07] <simon_w> And my encyclopaedias are at home :(
1567: [19:48:11] <simon_w> To the wookiepedia!
1568: [19:49:17] * maknz has joined #silverstripe
1569: [19:50:18] <maknz> Hi, wondering if anyone familiar with unclecheese's event_calendar knows why I might be getting this behaviour? https://github.com/unclecheese/silverstripe-event-calendar/issues/32
1570: [19:51:16] <Ryan-Toast> simon_w: Indoor Kite
1571: [19:51:36] <simon_w> Ryan-Toast, fast blast
1572: [19:51:52] <Ryan-Toast> simon_w: Igor
1573: [19:52:09] <simon_w> Ryan-Toast, your suggestions don't fit with the theme at all :p
1574: [19:52:21] <Ryan-Toast> What's the theme?
1575: [19:52:47] <simon_w> wookiepedia didn't give it away?
1576: [19:52:59] <Ryan-Toast> Ha, fair enough.
1577: [19:53:09] <guzzlefry> damnit, forgot to make a new branch.
1578: [19:53:23] <guzzlefry> Is there a way to commit, but make those changes on a new branch?
1579: [19:53:34] <simon_w> guzzlefry, have you committed yet?
1580: [19:53:35] <Ryan-Toast> simon_w: What do you have currently.
1581: [19:53:45] <guzzlefry> simon_w: no sir
1582: [19:53:58] <simon_w> guzzlefry, git checkout 3.1; git checkout -b my_new_branch
1583: [19:54:02] <simon_w> ta-da!
1584: [19:54:25] <simon_w> Ryan-Toast, kessel, bacta, sarlacc, jarjar and now fastblaster
1585: [19:54:42] <Ryan-Toast> jar jar? Whgat the fuck is wrong with you people?
1586: [19:54:47] * micmania1 has joined #silverstripe
1587: [19:54:52] <simon_w> It hosts the things we don't care about
1588: [19:54:56] <Ryan-Toast> lol
1589: [19:55:35] <Ryan-Toast> Fett is your only answer.
1590: [19:55:48] <antmas> Han shot first.
1591: [19:55:52] <simon_w> mmm, KFC
1592: [19:56:15] <antmas> simon_w: gross
1593: [19:56:35] <simon_w> antmas, racial profiling FTW? :p
1594: [19:56:49] <Ryan-Toast> Popcorn chicken is the best.
1595: [19:56:59] <antmas> simon_w: no!
1596: [19:57:00] <Ryan-Toast> and wicked wings.
1597: [19:57:02] <guzzlefry> simon_w: That will keep my changes?
1598: [19:57:07] <guzzlefry> well, I guess that would make sense...
1599: [19:57:10] <simon_w> guzzlefry, yes
1600: [19:57:15] <guzzlefry> thanks
1601: [19:57:40] <antmas> Nelson KFC is the worst KFC currently operating
1602: [19:57:44] * ARNHOE has joined #silverstripe
1603: [19:58:00] <simon_w> ss23 moved to be close to KFC
1604: [19:58:09] <antmas> haha
1605: [19:58:46] <simon_w> dev ops time! :D
1606: [19:58:49] <simon_w> (I like this time)
1607: [19:59:12] <antmas> front-end validation time! :<
1608: [19:59:16] <antmas> (I hate this time)
1609: [19:59:29] <simon_w> I try to make aatch do that
1610: [19:59:35] <Ryan-Toast> Make-a-website-before-I-have-a-design-time
1611: [19:59:52] <antmas> Ryan-Toast: to the boilerplate!
1612: [19:59:55] <simon_w> Ooh, that's pretty much this iOS I'm building!
1613: [19:59:59] <Ryan-Toast> antmas: yarp
1614: [20:01:12] <Ryan-Toast> I was bored, so I did a basic style of the homepage: http://imgur.com/Fr7O0Ve
1615: [20:01:43] <antmas> Ryan-Toast: I like it
1616: [20:01:49] <Ryan-Toast> Chur
1617: [20:01:54] * babak quit (*.net *.split)
1618: [20:01:57] <Ryan-Toast> The designers can do the rest.
1619: [20:02:37] <antmas> Ryan-Toast: the section with the reg form - is that a content area? Or is that a section added via page builder?
1620: [20:02:40] <antmas> woah
1621: [20:02:46] <antmas> that was a really unclear question
1622: [20:03:36] * r3v3rb quit (Quit: r3v3rb)
1623: [20:04:26] * EasyCo quit (Ping timeout: 264 seconds)
1624: [20:04:32] * UncleCheese has joined #silverstripe
1625: [20:04:34] * babak has joined #silverstripe
1626: [20:04:50] <Ryan-Toast> It's a page specific area.
1627: [20:04:56] <Ryan-Toast> antmas: ^
1628: [20:05:13] <Ryan-Toast> homepage template that I made for the site.
1629: [20:05:24] * r3v3rb has joined #silverstripe
1630: [20:05:40] * jrthomer has joined #silverstripe
1631: [20:05:59] <guzzlefry> hrm
1632: [20:06:08] <guzzlefry> public function treeview($request) { return $this->renderWith($this->getTemplatesWithSuffix('_TreeView')); }
1633: [20:06:16] <guzzlefry> Safe bet that $request is useless?
1634: [20:06:27] <antmas> Ryan-Toast: tis not much different from the bp template, I'm guessing just a section here and there?
1635: [20:06:35] <Ryan-Toast> antmas: yarp
1636: [20:06:54] <Ryan-Toast> antmas: It's why I made bp :P
1637: [20:07:00] <Ryan-Toast> to rapid dev shit like this.
1638: [20:07:11] <antmas> Ryan-Toast: yeah it's so good
1639: [20:07:42] <Ryan-Toast> antmas: I added a mail chimp thing, but it's jacky as fuck atm
1640: [20:07:47] <Ryan-Toast> hacky**
1641: [20:08:02] * EasyCo has joined #silverstripe
1642: [20:08:13] <antmas> I'm tempted to time a build from idea>prebuild>design>build>release
1643: [20:08:33] * sphet quit (Ping timeout: 245 seconds)
1644: [20:08:42] <Ryan-Toast> Pretty easy if you use something like WorkFlowMax
1645: [20:09:26] <antmas> is WFM free? I need a tracker of some kind. Used WFM at my internship and it was OK
1646: [20:10:01] <Ryan-Toast> I don't think so
1647: [20:10:32] <antmas> anyone rec a good alternative? pref free
1648: [20:10:37] * jrthomer quit (Ping timeout: 250 seconds)
1649: [20:11:58] <r3v3rb> http://pastebin.com/qkQDeAbR any idea why AgentViewer $this->ID is always zero in the admin when trying to get the last view date from agent views in any given agent
1650: [20:16:46] * Super-ru has joined #silverstripe
1651: [20:20:29] * nickmolhoek has joined #silverstripe
1652: [20:20:48] <maknz> unclecheese: is there a known problem with date ranges with your latest event_calendar + SS 3.1? Having trouble doing upcoming events / this week / this month, but "today" and specific dates work fine
1653: [20:21:20] <UncleCheese> not that i know of
1654: [20:21:29] <UncleCheese> although i don't think i've ever used it on 3.1
1655: [20:22:34] <zippy__> anyone use iterm2 on osx over the normal terminal?
1656: [20:23:30] <maknz> Ok, that's good to know. A couple of pull requests you merged fixed some things but I think there's a few other problems. What's the most recent stable 3.x you'd recommend I use for best event_calendar results?
1657: [20:24:13] <guzzlefry> I have a game: http://sspaste.com/paste/show/52f9323f6d0a4
1658: [20:24:37] * willr has joined #silverstripe
1659: [20:24:52] <guzzlefry> Am I going crazy, or is that docblock perfect? :P
1660: [20:25:07] <UncleCheese> maknz: i really don't know, unfortunately.. i haven't used that module in ages :(
1661: [20:25:31] <UncleCheese> what is the behaviour you're seeing? maybe I can take a look at the code and see if anything jumps out
1662: [20:25:37] <simon_w> Bah, keep forgetting site host only updates the DNS zone hourly
1663: [20:27:30] <maknz> Running your latest from unclecheese/silverstripe-event-calendar - selecting specific dates in the datepicker work fine, but upcoming events + "this month" + "this week" (I think any ranges of dates) don't work. Also, the datepicker doesn't have the little dots on dates that have events, if that's any help
1664: [20:27:58] <UncleCheese> and by "don't work" you mean...?
1665: [20:28:06] <maknz> Sorry, don't show any events
1666: [20:28:09] <UncleCheese> ok
1667: [20:28:26] <UncleCheese> here, i'll tell you what
1668: [20:29:24] <r3v3rb> guzzlefry: wheres the rest of that function :)
1669: [20:29:48] <UncleCheese> i'll get a site set up for you and if you can replicate the issue, i'll take a look
1670: [20:29:49] <UncleCheese> won't be a mo
1671: [20:29:56] <guzzlefry> r3v3rb: doesn't matter, checking doctags. :P
1672: [20:29:59] <guzzlefry> I found the issue though.
1673: [20:30:03] <r3v3rb> lol
1674: [20:30:11] <maknz> thanks :)
1675: [20:30:19] <guzzlefry> $stopAtPageType is set as string, when the default value is a boolean
1676: [20:35:05] * sphet has joined #silverstripe
1677: [20:35:22] <sphet> odd.
1678: [20:35:41] * ARNHOE quit ()
1679: [20:35:42] <sphet> Is there an easy way to add a 'edit this page' button to a page only visible to people with the appropriate permissions?
1680: [20:36:57] <simon_w> <% if $canEdit %>
1681: [20:36:58] <micmania1> sphet: <% if canEdit %>$CMSEditLink<% end_if %> (with correct HTML obviously)
1682: [20:38:01] <sphet> micmania1: perfect, thanks.
1683: [20:38:37] <r3v3rb> hmm, why is calling a function to provide a field in a gridfield return $this->ID as zero for each item
1684: [20:43:51] * Super-ru quit ()
1685: [20:44:03] <antmas> anyone got a recommendation for an alt to WorfklowMax?
1686: [20:44:13] <antmas> WorkflowMax*
1687: [20:44:55] <maknz> I've heard of one... let me find (I'm also in WFM hell)
1688: [20:45:31] <maknz> http://www.getharvest.com/
1689: [20:46:27] <antmas> maknz: ah yeah I've heard of that one - not bad
1690: [20:47:02] <maknz> WFM is quite possibly the worst software I've ever had to use /rant
1691: [20:47:10] <sphet> Which module would I use to allow visitors to sign up and then join a 'Visitor' group which has no CMS access (but is allowed to post comments) ?
1692: [20:49:24] <antmas> I only need a basic one with a good invoice/quoting system
1693: [20:50:26] <sphet> maknz: have you used that?
1694: [20:51:23] <maknz> Nope :) still stuck on wfm
1695: [20:52:07] <sphet> In fact I would like it if people would go to site/login to login, and get dumped on a different page listing number of posts, PM, etc. where as people would go to site/admin if they are content authors.
1696: [20:52:15] * jrthomer has joined #silverstripe
1697: [20:52:21] <sphet> maknz: I do such small stuff I use toggl but it is not fancy at all
1698: [20:53:14] * travis-ci has joined #silverstripe
1699: [20:53:14] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#716 (3.1 - 14352f5 : Ingo Schommer): The build is still failing.
1700: [20:53:14] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/74ed4120a2c8...14352f56a8bd
1701: [20:53:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/18606538
1702: [20:53:14] * travis-ci has left #silverstripe
1703: [20:53:19] <sphet> maknz: I guess all it does is track time though.
1704: [20:56:35] <sphet> oh i did not realize /admin and /security/login do different things.
1705: [20:59:30] * r3v3rb quit (Quit: r3v3rb)
1706: [21:01:25] <antmas> so my desktop did a dick thing last night
1707: [21:01:35] <antmas> wouldn't turn on AT ALL
1708: [21:01:40] <antmas> no clicking, not lights, nothing
1709: [21:01:44] <antmas> no*
1710: [21:01:50] <zippy__> dead psu?
1711: [21:02:00] <zippy__> forgot to plug it in? :D
1712: [21:02:05] <antmas> turns out, it was a USB stick that was ever so slightly shorting on the motherboards IO plate :O
1713: [21:02:06] * chillu_23 quit (Quit: chillu_23)
1714: [21:02:07] <simon_w> My desktop does that every night!
1715: [21:02:13] <guzzlefry> ...
1716: [21:02:19] <simon_w> It's because it's made of wood
1717: [21:02:28] <guzzlefry> :P
1718: [21:02:32] * simon_w is hilarious!
1719: [21:02:42] <antmas> like, wtf
1720: [21:02:52] * r3v3rb has joined #silverstripe
1721: [21:03:05] <r3v3rb> I am an idiot! I should be rebuilding the gridfield not trying to push via summary fields...
1722: [21:03:59] <antmas> how would it even short, if it's all grounded?
1723: [21:05:01] <antmas> it's an electricity bastard
1724: [21:05:13] * antmas grumbles
1725: [21:05:56] <simon_w> Well, time to spin up a Debian 7 box for compiling stuff
1726: [21:07:58] <simon_w> 24c/hour for 8 cores sounds good
1727: [21:08:04] <sphet> Ok I have more stupid questions. This project https://github.com/ajshort/silverstripe-memberprofiles says installation 'place in root of silverstripe' but it has a composer.json. Does that mean I can pull it using composer?
1728: [21:08:48] <antmas> simon_w: pfffft 'money/hour'
1729: [21:09:07] <simon_w> antmas, well, I get charged down to the minute. It's for compiling
1730: [21:09:17] <simon_w> sphet, yes
1731: [21:09:45] <sphet> simon_w: so how do I know when I use composer require ...:* versus composer require ... dev-master ?
1732: [21:09:54] <sphet> I keep typing until it works? :)
1733: [21:09:57] * SphereSilverNL quit (Remote host closed the connection)
1734: [21:10:08] <simon_w> sphet, composer recommends never using a * as the version constraint
1735: [21:10:11] * antmas quit (Quit: Page closed)
1736: [21:10:33] <sphet> simon_w: Some of the tutorials seem to indicate it, which is likely where I got that habit from.
1737: [21:10:45] * antmas has joined #silverstripe
1738: [21:10:53] <sphet> simon_w: so what should I be using? dev-master means the latest changes, right?
1739: [21:11:05] <antmas> I shudder to think what our azure server costs
1740: [21:11:11] <simon_w> sphet, dev-master is usually what you're after
1741: [21:11:12] <antmas> but then again, dat speed
1742: [21:12:57] * r3v3rb quit (Ping timeout: 272 seconds)
1743: [21:13:15] <Ryan-Toast> Can you change the name of the "Add XX" button in a grid field, or is it limited to the class name?
1744: [21:13:33] <simon_w> Ryan-Toast, fairly sure it's a property on the component
1745: [21:13:36] * r3v3rb has joined #silverstripe
1746: [21:13:47] <Ryan-Toast> simon_w: Sweet, I'll have a gander.
1747: [21:14:20] <antmas> Ryan-Toast: If you can, speak up - I'd like to know this too :P
1748: [21:14:32] <r3v3rb> If I have a model admin for a single class how do I specify the fields in the gridfield
1749: [21:16:08] <guzzlefry> r3v3rb: summary_fields?
1750: [21:16:34] <r3v3rb> guzzlefry: tried that, but I wanted to use a function in there and it never works
1751: [21:16:46] <guzzlefry> it does
1752: [21:16:48] <r3v3rb> to do some custom display of data
1753: [21:16:51] <r3v3rb> :( not for me
1754: [21:16:58] <guzzlefry> What does your code look like?
1755: [21:17:04] <r3v3rb> a mess - hahaha
1756: [21:17:06] <guzzlefry> :P
1757: [21:17:08] <r3v3rb> one mo
1758: [21:17:22] * UndefinedOffset quit (Quit: Leaving.)
1759: [21:17:42] <guzzlefry> Ryan-Toast: Let me know if you find it. I had to override getHTMLFragments() in my custom GridFieldExportButton.
1760: [21:18:11] <Ryan-Toast> guzzlefry: Will do :) I'll be doing it a little later in the project, once all the structure has been created.
1761: [21:18:16] <r3v3rb> http://pastebin.com/s3WLj4qZ
1762: [21:18:32] <r3v3rb> PageViewed is either empty or errors with non-object
1763: [21:18:42] <r3v3rb> depending on what I try to return
1764: [21:18:57] * Shrike_Finland quit (Quit: Leaving.)
1765: [21:19:12] <geekdenz> hey. Is it possible/sensible to create a Form in a unit test and test its Validator by using a fixture for the form data?
1766: [21:19:33] <guzzlefry> r3v3rb: if (!$item) { return $item->Title; } return '';
1767: [21:20:25] <r3v3rb> guzzlefry: crazy thing is evry item in the AgentView table has a PageID so something should always be returned no?
1768: [21:21:05] <guzzlefry> r3v3rb: Try Page::get() instead of SiteTree::get()
1769: [21:21:14] <guzzlefry> wonder if that's the reason...
1770: [21:21:16] <r3v3rb> maybe
1771: [21:22:10] <guzzlefry> well, maybe not since Page is a SiteTree...
1772: [21:22:53] <guzzlefry> Also
1773: [21:23:12] <guzzlefry> r3v3rb: Why not drop PageID and add SiteTree as a has many?
1774: [21:23:43] <zippy__> would be nice if stripe supported nz...
1775: [21:23:59] <antmas> zippy__: stripe?
1776: [21:24:03] <zippy__> stripe payments
1777: [21:24:06] <antmas> ah
1778: [21:24:08] <antmas> yes it would
1779: [21:24:35] <r3v3rb> I could but I don't understand why that would make any difference - it appears that $this->PageID is empty
1780: [21:24:44] * macka^ has joined #silverstripe
1781: [21:25:18] <macka^> userforms + mollom - should i have an option in the userforms for "Spam protection"?? I have rebuilt the database and there's no such option!!
1782: [21:25:34] <r3v3rb> bloody wierd if you ask me
1783: [21:25:40] <guzzlefry> yeah...
1784: [21:26:11] <r3v3rb> if I try $this->owner->PageID that spazzes out with non-object too
1785: [21:26:26] <guzzlefry> SELECT * FROM AgentView; to see if PageID is actually set.
1786: [21:26:48] <r3v3rb> guzzlefry: I have the table open in PHPStorm it most definitely exists
1787: [21:27:09] <r3v3rb> its a scope issue when running the function
1788: [21:27:34] <antmas> this image slider http://scenario77.com/
1789: [21:27:46] <antmas> is like most web devs worst nightmares
1790: [21:28:30] <antmas> technology logos!
1791: [21:29:07] <r3v3rb> yummy antmas
1792: [21:29:14] <guzzlefry> oh wait
1793: [21:29:22] <guzzlefry> r3v3rb: $this->PageID causes the error?
1794: [21:29:31] <r3v3rb> well its empty
1795: [21:29:35] <zippy__> oh yea, sliders, love em!
1796: [21:29:54] <guzzlefry> antmas: What's wrong with it?
1797: [21:29:57] <zippy__> even thou sliders lower conversions for B2B websites
1798: [21:32:53] <r3v3rb> guzzlefry: do you think this might be caused by the fact I am viewing this via the default tab generated by a $has_one $has_many tab for these?
1799: [21:34:01] <r3v3rb> arghhhhhhhhhhhhhhhhhh
1800: [21:34:06] <guzzlefry> not sure
1801: [21:34:12] <guzzlefry> Do you have a debugger setup?
1802: [21:34:19] * r3v3rb finds nearest wall
1803: [21:34:22] <r3v3rb> guzzlefry: yup
1804: [21:34:38] <guzzlefry> break in the custom summary_fields function then see what $this is.
1805: [21:34:41] * r3v3rb places head next to wall and repeatedly swings back and forth
1806: [21:35:00] <r3v3rb> guzzlefry: $this = AgentView Class
1807: [21:35:36] <guzzlefry> k
1808: [21:35:48] <guzzlefry> go to the Evaluate Expression thingy and see what $this->PageID gives.
1809: [21:36:20] <r3v3rb> evaluate expressiony thingy?
1810: [21:36:30] <guzzlefry> yeah!
1811: [21:36:32] <guzzlefry> in PHPStorm
1812: [21:36:42] <r3v3rb> got it
1813: [21:36:45] <r3v3rb> = null
1814: [21:37:10] <guzzlefry> So...
1815: [21:37:11] <guzzlefry> hrm
1816: [21:37:24] <guzzlefry> Did you /dev/build/?flush?
1817: [21:37:24] <r3v3rb> $this->ID = 0 which doesn't exist in the table!?!?
1818: [21:37:31] <guzzlefry> yeah
1819: [21:37:36] <guzzlefry> Something isn't right.
1820: [21:38:04] <r3v3rb> muhhahahahaa
1821: [21:38:10] <guzzlefry> Did you fix it? :P
1822: [21:38:27] <guzzlefry> ss23: Should I even bother fixing bugs on 3.0 branch?
1823: [21:38:28] <r3v3rb> no not yet
1824: [21:38:58] <r3v3rb> dev/builded/again
1825: [21:39:52] <r3v3rb> damn you dev/builder why you take so many times to work!
1826: [21:39:58] <r3v3rb> guzzlefry: fixed
1827: [21:40:04] <guzzlefry> heh
1828: [21:40:07] <guzzlefry> 3.1?
1829: [21:40:14] <r3v3rb> 3.2
1830: [21:40:36] <r3v3rb> no I lie 3.1.2 even
1831: [21:40:47] <guzzlefry> ah
1832: [21:40:49] <r3v3rb> is it a known issue
1833: [21:40:53] <guzzlefry> oh right
1834: [21:41:09] <guzzlefry> did you do localhost/dev/build/?flush ?
1835: [21:41:20] <guzzlefry> I've never had issues with that recently.
1836: [21:41:22] <r3v3rb> localhost/dev/build/?flush=all
1837: [21:41:38] <guzzlefry> oh, maybe flush=all does something funky.
1838: [21:41:39] <r3v3rb> previously had been using /dev/build
1839: [21:43:19] <r3v3rb> never used to have to do full dev/build on each class/controller edit - i remember having to only do those for template edits
1840: [21:43:44] <guzzlefry> 3.1 caches all of the private statics now.
1841: [21:43:50] <guzzlefry> So you have to flush those.
1842: [21:44:33] <r3v3rb> got it. pita!
1843: [21:44:37] * OxFF1 has joined #silverstripe
1844: [21:44:37] * micmania1 quit (Ping timeout: 248 seconds)
1845: [21:48:34] <r3v3rb> thanks guzzlefry for the nudge towards /dev/build turns out my code was right after all that!
1846: [21:48:50] <r3v3rb> how bloody annoying is that...
1847: [21:48:56] * Jakx has joined #silverstripe
1848: [21:49:03] <guzzlefry> no problem
1849: [21:50:13] * r3v3rb must remember /dev/build after every function addition now
1850: [21:51:39] <guzzlefry> just /dev/build/?flush when something isn't working.
1851: [21:52:05] <r3v3rb> that'll be quite often then ;)
1852: [21:52:15] * Ryan-Toast quit (Read error: Connection reset by peer)
1853: [21:52:17] <guzzlefry> uh oh
1854: [21:52:36] <guzzlefry> yay for client not mentioning they needed permission controls for this.
1855: [21:52:42] <guzzlefry> until it's finished. :P
1856: [21:53:06] <guzzlefry> So I gave the group permission to view the CMS section, but the gridfield is empty.
1857: [21:53:08] <guzzlefry> How can fix?
1858: [21:54:43] * Ryan-Toast has joined #silverstripe
1859: [21:55:03] <Jakx> I'm looping through all pages and checking for Children()->Count(). But some that clearly have children in the CMS are counting 0. Any reason for this?
1860: [21:55:05] <Ryan-Toast> Kicked the power cord ><
1861: [21:55:20] <r3v3rb> Ryan-Toast: silly billy
1862: [21:55:26] <Ryan-Toast> Jakx: Try AllChildren
1863: [21:55:36] <Ryan-Toast> Damn mny long legs.
1864: [21:55:44] <r3v3rb> Jakx: are they set to 'Show in Menus'
1865: [21:56:19] <r3v3rb> Children honours the 'Show in Menus' setting for each page
1866: [21:56:22] <Jakx> Ryan-Toast, r3v3rb. AllChildren() did it. What's the different?
1867: [21:56:35] <Jakx> r3v3rb, ah awesome #facepalm
1868: [21:56:37] <Ryan-Toast> It shows children that you hide from the menu
1869: [21:56:51] <Ryan-Toast> rock3tm4n
1870: [21:56:52] * r3v3rb knew something !
1871: [21:57:05] <Ryan-Toast> SO DID I, woooo
1872: [21:57:13] <r3v3rb> lmao
1873: [21:57:16] * Colin[pi] has joined #silverstripe
1874: [21:57:23] * r3v3rb and Ryan-Toast are l33t
1875: [21:57:40] <Ryan-Toast> Offer us jobs, please.
1876: [21:57:48] <Ryan-Toast> 200k a year should cover our genius.
1877: [21:58:02] * micmania1 has joined #silverstripe
1878: [21:59:17] <guzzlefry> question
1879: [21:59:37] <simon_w> answer
1880: [22:00:28] <sphet> Is anyone using the memberprofile module? I am trying to understand how to get the member list and how to view someone else's profile.
1881: [22:00:42] <guzzlefry> I gave a non-admin user permission to view the Orders section in the admin panel. The gridfield shows up as empty. I'm guessing I have to implement canView() on the Order DataObject, but what about the dataobjects related to Order?
1882: [22:01:25] <r3v3rb> guzzlefry: welcome to a world of pain I still don't quite get
1883: [22:01:31] <simon_w> guzzlefry, gotta do it in those too. Also, canEdit()
1884: [22:01:36] <guzzlefry> ...
1885: [22:01:50] <guzzlefry> why god why
1886: [22:02:21] <r3v3rb> I have a multilingual site that has multiple 'editor' logins turned out that admin had to be added to every group as well as the local editors otherwise no-one could edit!
1887: [22:02:38] <sphet> eesh
1888: [22:02:42] <guzzlefry> simon_w: I had a dev related question for you. :) I'm looking at this bug for 3.0.1, assuming that it exists on 3.1 as well, should I just fix it on the 3.1 branch?
1889: [22:02:58] <simon_w> guzzlefry, yes. 3.0 should only get security fixes
1890: [22:03:04] <guzzlefry> yay, okay
1891: [22:03:11] <guzzlefry> thanks
1892: [22:03:14] <Jakx> I'm trying to duplicate a fork of the site tree. But when I try to write the duplicates I get this error: [User Warning] Can't find url-segment/123 in stage Stage
1893: [22:03:22] <simon_w> If needed, the merger will merge it into 3.0 instead
1894: [22:03:35] <Jakx> Any clues as to why I get this error?
1895: [22:03:49] <catcher> Any clever way to set just the time on an SS_DateTime? Or do I have to grab the current date & append time?
1896: [22:06:41] <guzzlefry> catcher: Something like "Today at 3:00:00"?
1897: [22:06:58] * Motoservo quit (Read error: Connection reset by peer)
1898: [22:07:01] <catcher> guzzlefry, I'm not trying to set it to the current time
1899: [22:07:11] <catcher> not the current date, rather
1900: [22:07:48] * Motoservo has joined #silverstripe
1901: [22:08:20] <guzzlefry> So you want just the time? 0.o
1902: [22:08:57] <guzzlefry> Not the current day as a specific time?
1903: [22:08:57] <guzzlefry> at*
1904: [22:09:12] <ss23> MEETING~
1905: [22:09:18] * guzzlefry huddles in.
1906: [22:09:27] <Jakx> "2013-01-01 15:00:00"?
1907: [22:09:45] <ss23> guzzlefry: 3.0 prob worth fixing, they'll be merged etc
1908: [22:09:48] <ss23> guzzlefry: It's still "supported"
1909: [22:10:15] <guzzlefry> ss23: If I do the pull request for 3.1, can they easily merge the code into 3.0 as well?
1910: [22:10:20] <catcher> $obj->SS_DateTime is current set to 2011-01-01 00:00:00. I want to set the time only.
1911: [22:10:59] <guzzlefry> catcher: Do you want to change the time on that specific day to something?
1912: [22:11:09] <simon_w> catcher, $obj->SS_DateTime = $obj->obj('SS_DateTime')->format('Y-m-d 12:43:54');
1913: [22:11:23] * ObiWanShanobi quit (Quit: Leaving...)
1914: [22:11:27] <guzzlefry> oh
1915: [22:11:52] <simon_w> 820 seconds...
1916: [22:12:08] <catcher> simon_w, there she is, thanks.
1917: [22:12:12] <guzzlefry> simon_w: Any gotchas with calling parent::canView() and friends and returning false when it does?
1918: [22:12:31] <simon_w> guzzlefry, the default one is a check for ADMIN permissions
1919: [22:12:36] <simon_w> You probably don't want that
1920: [22:12:52] <guzzlefry> oh, good thing I asked. :)
1921: [22:14:57] <Jakx> using $page->writeToStage("Stage"); $page->publish("Stage", "Live"); Only writes to pages to _Live, and they appear in the CMS with "Removed from Draft" and no data. Why doesn't it publish them properly???
1922: [22:15:01] <macka^> Does anyone use userforms and mollom at the moment??
1923: [22:15:43] * Stomach has joined #silverstripe
1924: [22:17:49] * ObiWanShanobi has joined #silverstripe
1925: [22:19:12] <terryapodaca> simon_w: does adding/not adding the 'uniquename' in partial caching cause problems when using multiple? <% cached Aggregate(SiteTree).max(LastEdited) %>
1926: [22:19:39] * macka^ quit (Quit: Page closed)
1927: [22:25:04] <zippy__> with a report in silverstripe….. it seems to default to 15 lines in the table…. is it possible to make it 20
1928: [22:26:37] <Ryan-Toast> Can someone please tell me if this is a horrible way to convert a fatalist to a javascript object, or if it's okay? http://www.sspaste.com/paste/show/52f94ede47efe
1929: [22:26:46] <Ryan-Toast> datalist**
1930: [22:26:58] <r3v3rb> whats the easiest way to add extra formatting to the format dropdown I need a client to be able to choose an em block
1931: [22:27:43] * sphet quit (Ping timeout: 245 seconds)
1932: [22:27:45] <Ryan-Toast> r3v3rb: https://github.com/Rhym/ss_boilerplate/blob/master/Boilerplate/code/Modules/Shortcodes/_config.php
1933: [22:28:13] <r3v3rb> Ryan-Toast: thanks I'll take a look
1934: [22:28:59] <Ryan-Toast> r3v3rb: Look at the table responsive example, and use an "em" block instead of a div
1935: [22:29:13] <Ryan-Toast> and obviously remove the class, and change the name :P
1936: [22:29:23] <r3v3rb> ob's
1937: [22:29:25] <r3v3rb> :)
1938: [22:29:38] <Ryan-Toast> simon_w: hey, is this horrible? http://www.sspaste.com/paste/show/52f94ede47efe
1939: [22:30:00] * OxFF1 quit (Quit: Hasta la proxima)
1940: [22:30:12] <guzzlefry> k, yet another dev question. :P
1941: [22:30:16] <r3v3rb> can I drop in your shortcodes module without the bootstrap being necessary - ie hack that file to only what I want :D
1942: [22:30:26] <Ryan-Toast> r3v3rb: yeah.
1943: [22:30:35] <Ryan-Toast> All the modules are independant.
1944: [22:30:39] <guzzlefry> /** Returns the date in the raw SQL-format, e.g. “2006-01-18 16:32:04” */ public function Nice() {
1945: [22:30:40] <r3v3rb> sweet
1946: [22:30:46] <Ryan-Toast> r3v3rb: excerpt for the styles obs
1947: [22:30:53] <r3v3rb> lol
1948: [22:31:02] <guzzlefry> simon_w: ^ I want to fix that, but it seems like a waste for a single pull request. What do?
1949: [22:31:05] <r3v3rb> what blog system did you settle on Ryan-Toast
1950: [22:31:45] <Ryan-Toast> r3v3rb: Made my own?
1951: [22:32:03] <Ryan-Toast> r3v3rb: demo: http://webdough.co.nz/~boilerpl/
1952: [22:32:07] <r3v3rb> oh okay Ryan-Toast
1953: [22:32:22] <guzzlefry> hm, I guess I could document the rest of the methods in SS_Datetime?
1954: [22:32:54] <r3v3rb> nice Ryan-Toast
1955: [22:32:58] <Ryan-Toast> r3v3rb: chur
1956: [22:33:21] <r3v3rb> one tiny thing - I'd add some js to hold the sidebar/panel in the view when scrolling ;)
1957: [22:33:51] <Ryan-Toast> I did an affix in earlier versions, but I want to keep the boilerplate simple as possible
1958: [22:34:03] <Ryan-Toast> So it can be changed quickly.
1959: [22:34:38] <r3v3rb> if I ever get any time, I'll fork and add it as a user selectable option :)
1960: [22:34:56] <Ryan-Toast> All you'd have to do is add data-spy=affix" to the sidebar.
1961: [22:34:59] <Colin[pi]> moin moin
1962: [22:35:08] <Ryan-Toast> Code's all there.
1963: [22:35:37] <r3v3rb> lol, that shouldn't be too tricky even for me!
1964: [22:36:55] <r3v3rb> mailchimp integration too... I need to clone this repo now!
1965: [22:37:13] <Ryan-Toast> the mail chimp is a little jacky atm, but I'll be working on it this week
1966: [22:37:46] <Ryan-Toast> hacky**
1967: [22:38:05] <r3v3rb> I haven't looked yet - is it sass based or less?
1968: [22:38:12] <Ryan-Toast> sass
1969: [22:38:20] * r3v3rb loves you more
1970: [22:38:42] * b00mtastik has joined #silverstripe
1971: [22:38:47] <r3v3rb> cl0n3d
1972: [22:38:50] <Ryan-Toast> the styles are an extension of the sass for bootstrap.
1973: [22:38:56] <b00mtastik> Good morning people.
1974: [22:38:57] * FrozenFire is now known as EvanneDotPro
1975: [22:39:00] <Ryan-Toast> so it uses all their mixins, vvars etc
1976: [22:39:06] <r3v3rb> ok, I'll take a look tomorrow
1977: [22:39:19] <r3v3rb> tonight is nearly finished and I need to sleep
1978: [22:39:45] <Ryan-Toast> r3v3rb: The styles are controlled by two lines :P the rest is dynamically egenrated from those colours. So you just change those to your clients colours and you're done, ahah.
1979: [22:39:46] <r3v3rb> client demo tomorrow of site build so far - need to be awake for questions :)
1980: [22:40:43] <r3v3rb> catch you all tomorrow :D
1981: [22:40:47] <Ryan-Toast> Cya :)
1982: [22:40:52] <b00mtastik> Question about updating a database/dataobject record. In some cases, And I think I've noticed that these are Enum fields, when you update one, it sets the others back to the default. Is there a reason that happens? Will I then have to grab what each field was set to, and then reset them each time I want to update a record?
1983: [22:40:53] * r3v3rb quit (Quit: r3v3rb)
1984: [22:44:50] <b00mtastik> Scratch my last. Figured it out and it wasn't even what I took 7.95 seconds to explain. *slowly backs out of room*
1985: [22:45:27] <Jakx> simon_w, does $page->write() only add the record to SiteTree_Live?
1986: [22:45:27] <Ryan-Toast> b00mtastik: Lol.
1987: [22:46:23] * EvanneDotPro is now known as FrozenFire
1988: [22:51:48] <Jakx> If anyone could help me with a bit of insight here. I've been trying to get this going for days ><.... when you execute $page->writeToStage("Stage"); What does this do?
1989: [22:52:14] <Jakx> i.e How can you confirm a page has been written to stage "Stage"?
1990: [22:54:06] * Motoservo quit (Write error: Broken pipe)
1991: [22:57:37] <Ryan-Toast> lol, Convert::arrary2json is just json_encode
1992: [22:58:14] <Colin[pi]> Jakx: SS has 'Stage' and 'Live' by default as stages, so if you writeToStage("Stage"), you're saving the page to the draft-only version of the site
1993: [22:58:24] <guzzlefry> gah, hate you git :(
1994: [22:59:05] * catcher quit (Quit: Leaving)
1995: [22:59:21] <micmania1> Jakx: Use Versioned::set_reading_mode("Stage") before your query. Don't forget to change it back.
1996: [23:00:17] <micmania1> Or you can try Versioned::get_by_stage() but the parameters look quite outdated.
1997: [23:01:06] <Jakx> micmania1, is this to check if the page has been written to stage?
1998: [23:02:08] <micmania1> It tells your query to look at a certain stage. I'm not aware of a isWrittenToStage($stage) type method.
1999: [23:03:15] <Jakx> micmania1, nice tip, I'll try it out thx.
2000: [23:03:26] <Colin[pi]> Jakx: look at the API docs for Versioned too: http://api.silverstripe.org/3.1/class-Versioned.html
2001: [23:03:31] <micmania1> So you'd call Versioned::set_reading_mode("Stage") then run MyDataObject::get() and it would look at the staged site only/
2002: [23:06:34] * Motoservo has joined #silverstripe
2003: [23:07:55] <Colin[pi]> Ryan-Toast: ya, lol... but it does have a fallback if json_encode doesn't exist ;P
2004: [23:08:05] <Ryan-Toast> Colin[pi]: ah, right :P
2005: [23:14:23] <antmas> holy crap Colin[pi] is here! :O
2006: [23:14:28] <Colin[pi]> OMG HAI
2007: [23:14:56] * antmas goes back to sql bs
2008: [23:15:49] <Colin[pi]> the worst kind of bs
2009: [23:15:54] <Colin[pi]> except for maybe regex bs
2010: [23:16:01] <simon_w> regex is awesome!
2011: [23:16:06] <Colin[pi]> LOL
2012: [23:16:10] <Colin[pi]> I was waiting for it
2013: [23:16:29] <simon_w> Colin[pi], did you light your parliament on fire?
2014: [23:16:30] <antmas> regex is like logic with extreme dislexia
2015: [23:16:55] <Colin[pi]> simon_w: I didn't start the fire, it was always burning, since the world's been turning
2016: [23:17:07] <antmas> XD
2017: [23:17:10] <simon_w> Colin[pi], but the firetrucks only showed up this morning
2018: [23:17:10] <Jakx> micmania1, if I was looking in the DB for pages written to stage "Stage", which table would they be in?
2019: [23:17:44] <simon_w> http://twitter.com/NickHaggarty/status/432976514619944960/photo/1
2020: [23:17:55] <Colin[pi]> Jakx: each page class has it's own set of tables
2021: [23:17:56] <micmania1> Jakx: The one with the same name as your DataObject (no _suffix)
2022: [23:18:53] <Colin[pi]> simon_w: what's this about? haven't heard anything about it
2023: [23:19:08] <simon_w> Colin[pi], I haven't seen anything beyond that photo
2024: [23:19:15] <antmas> mmmm jaffa chocolate thins
2025: [23:19:38] <Colin[pi]> simon_w: prolly false alarm
2026: [23:19:43] * maknz quit (Quit: My iMac has gone to sleep. ZZZzzz…)
2027: [23:19:52] <Colin[pi]> btw, unfortunate camera angle for those girls at the front: http://www.canberratimes.com.au/act-news/raider-rogues-make-pompom-shakeup-promise-20140210-32daq.html
2028: [23:19:56] <simon_w> Colin[pi], but, wannabe Guy Fawkes!
2029: [23:21:03] <antmas> slightly NSFW there :P
2030: [23:21:15] <Colin[pi]> well.. a little bit, but not naked :P
2031: [23:21:20] <Colin[pi]> looks wrong though LOL
2032: [23:21:30] <antmas> it is if you're surrounded by prudes
2033: [23:21:33] <antmas> lol
2034: [23:22:09] <antmas> a bit like the pepper pig scandal rofl
2035: [23:22:17] <antmas> most excellent news from yesterday
2036: [23:24:40] <antmas> my gf saw the episode too
2037: [23:26:04] <spronk> lool
2038: [23:26:06] <spronk> w t f
2039: [23:26:06] * macka^ has joined #silverstripe
2040: [23:26:23] <Colin[pi]> ok, which peppa pig scandal?
2041: [23:27:36] <antmas> Colin[pi]: colhttp://www.stuff.co.nz/entertainment/tv-radio/9705380/Pep
2042: [23:27:40] * Bollig|DesignCty has joined #silverstripe
2043: [23:28:54] <Colin[pi]> lol wtf
2044: [23:29:16] * jrthomer quit (Quit: Leaving...)
2045: [23:29:27] <Colin[pi]> hands down the pants is wtf worthy, but licking fingers? wat
2046: [23:33:50] <Ryan-Toast> I have a javascript object, but the data is undefined...wtfffffffffffff http://www.sspaste.com/paste/show/52f95e95e249e
2047: [23:34:28] <Ryan-Toast> When I call console.log(InfoWindows.Objects[0].title); it's undefined. WHY U DO THIS?
2048: [23:36:41] <Jakx> micmania1, Colin[pi], you guys made my day. tyvm.
2049: [23:37:21] <Colin[pi]> \o/
2050: [23:37:34] <antmas> Colin[pi]: H5 o/
2051: [23:37:41] <Colin[pi]> \o
2052: [23:40:51] <Ryan-Toast> This is making me ragemode.
2053: [23:41:20] <guzzlefry> https://github.com/silverstripe/silverstripe-cms/issues/544 Suggestions on implementing a fix for this?
2054: [23:42:23] <guzzlefry> I'm guessing I need to add a userDate funtion somewhere...
2055: [23:44:50] * zippy__ quit (Ping timeout: 246 seconds)
2056: [23:45:58] <guzzlefry> Ryan-Toast: Is InfoWindows undefined?
2057: [23:46:11] <Ryan-Toast> No.
2058: [23:46:21] <guzzlefry> is InfoWindows.Objects?
2059: [23:46:24] <Ryan-Toast> guzzlefry: Just when I try to get the tittle
2060: [23:46:28] <Ryan-Toast> Nope
2061: [23:46:29] <guzzlefry> evil
2062: [23:46:49] <Ryan-Toast> InfoWindows.Object[0] displays a JSON string
2063: [23:47:02] <guzzlefry> oh wait
2064: [23:47:10] <Ryan-Toast> {"title":"New Zealand","phone":"+64 09 557 1450","email":"info@theicebase.com","lat":"-36.843731","long":"174.765464","content":"Content"} to be exact
2065: [23:47:39] <guzzlefry> Ryan-Toast: Why is that wrapped in a string?
2066: [23:47:57] <Ryan-Toast> guzzlefry: How do you mean?
2067: [23:48:09] <guzzlefry> 0: "{"title":"New Zealand","phone":"+64 09 557 1450","email":"info@theicebase.com","lat":"-36.843731","long":"174.765464","content":"Content"}"
2068: [23:48:17] <guzzlefry> "{}"
2069: [23:48:34] <Ryan-Toast> It's just what json_encode does.
2070: [23:49:23] <guzzlefry> oh
2071: [23:49:26] <guzzlefry> the PHP function?
2072: [23:49:31] <guzzlefry> Can you post your original array?
2073: [23:49:31] <Ryan-Toast> yes.
2074: [23:49:52] <Ryan-Toast> guzzlefry: http://www.sspaste.com/paste/show/52f9627c71a8b
2075: [23:51:09] <guzzlefry> oh
2076: [23:51:22] <guzzlefry> Ryan-Toast: I don't think you want to json_encode on line 4.
2077: [23:51:32] <guzzlefry> that'll return a string, which is JSON.
2078: [23:51:37] <guzzlefry> but still a string.
2079: [23:52:03] <Ryan-Toast> guzzlefry: I love you.
2080: [23:52:10] * guzzlefry blushes.
2081: [23:52:15] <Ryan-Toast> I love your beautiful face
2082: [23:52:18] * UncleCheese quit (Quit: UncleCheese)
2083: [23:52:25] * guzzlefry starts to get a little nervous.
2084: [23:52:26] <Ryan-Toast> you're a scholar and a gentleman.
2085: [23:52:26] <guzzlefry> :P
2086: [23:52:32] <guzzlefry> nah man
2087: [23:52:37] <guzzlefry> I've just had a lot of mountain dew today. :P
2088: [23:52:43] <Ryan-Toast> Now I can go have lunch without doing 200kms down the road.
2089: [23:52:49] <guzzlefry> haha
2090: [23:52:51] <Ryan-Toast> in rage
2091: [23:52:56] <Ryan-Toast> playing speed metal
2092: [23:53:10] <guzzlefry> handbrake turns...
2093: [23:53:11] <Ryan-Toast> or whatever constitutes angry music.
2094: [23:53:20] <Ryan-Toast> Motorbikes = no handbrake :P
2095: [23:53:47] <guzzlefry> ah
2096: [23:53:55] <guzzlefry> yeah..don't do 200km/s on that. :P
2097: [23:54:15] <Colin[pi]> I would love to have a go at an Ariel Atom, just once
2098: [23:54:22] <Colin[pi]> now that would be fun to drive
2099: [23:54:34] <Ryan-Toast> Colin[pi]: Ariel atom 2 on a track day, you can hire them for that
2100: [23:54:42] <Colin[pi]> :O !!!
2101: [23:54:58] <Ryan-Toast> Colin[pi]: http://www.trackdays.co.uk/driving_experience/ariel/
2102: [23:55:15] <Colin[pi]> fuck yes
2103: [23:55:27] * travis-ci has joined #silverstripe
2104: [23:55:27] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1910 (3.1 - b9ee4c4 : Andrew Short): The build passed.
2105: [23:55:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/e9f3073fc996...b9ee4c436030
2106: [23:55:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/18617789
2107: [23:55:27] * travis-ci has left #silverstripe
2108: [23:56:12] <antmas> my dream test would be an Audi Quattro Group B
2109: [23:56:39] <Ryan-Toast> antmas: shit man, dream bigger
2110: [23:56:50] <antmas> Ryan-Toast: o.O
2111: [23:56:55] <Ryan-Toast> unless you're doing a rally circuit with it :P
2112: [23:57:15] <antmas> Ryan-Toast: well yeah, off the dirt would be dumb
2113: [23:57:26] <Ryan-Toast> LUNNNCCCHHHH TIIIME
2114: [23:57:52] <Colin[pi]> rofl: http://www.youtube.com/watch?v=d45wdFQGhTg
2115: [23:58:23] <antmas> http://www.youtube.com/watch?v=cDRkHXMHqFo
2116: [23:59:03] <antmas> Colin[pi]: HAHA
2117: [23:59:05] <antmas> awesome
2118: [23:59:46] <Colin[pi]> I think there's a video where the guy takes one round the Nurburgring, and he can barely handle it

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