#silverstripe IRC Log

IRC log for 8 October 2015

All timestamps are in UTC.

1: [00:01:20] <Hailwood> Sphere, Yeah, that's no problem, I mean I could apply the filter when I do $this->TabOneAccordionSections() in the gridfield source, but currently the only way I see to do this is to add $has_one => ['TabOne' => 'ContentBlock', 'TabTwo' => 'ContentBlock', ...] to the AccordionSection so I can tell which tab relation it actually belongs to. then on the ContentBlock I could to $has_many => ['TabOneAccordionSections' => 'AccordionSection.TabOneID',
2: [00:01:21] <Hailwood> ...]
3: [00:02:45] <Sphere> Excluding didn't work?
4: [00:03:11] <Sphere> And excuse me, but I do have to go to bed now. It's 2AM and I have to get up at 8AM again :|
5: [00:05:28] <Colin[pi]> Sphere: nn
6: [00:12:15] <ss-helper> Re: SilverStripe clicking "edit" button? - https://groups.google.com/d/msg/silverstripe-dev/rVUiSY2NFOQ/e4XElPAnAgAJ
7: [00:12:15] <ss-helper> Re: Changing Pages ParentID in onBeforeWrite does not always work - https://groups.google.com/d/msg/silverstripe-dev/lwEgx7xc4rw/W9yQIeMnAgAJ
8: [00:27:16] <ss-helper> Re: [silverstripe-dev] Re: Changing Pages ParentID in onBeforeWrite does not always work - https://groups.google.com/d/msg/silverstripe-dev/lwEgx7xc4rw/P4YtCtkoAgAJ
9: [00:28:46] * Tanger has joined #silverstripe
10: [00:29:48] * guci0 quit (Ping timeout: 246 seconds)
11: [00:35:48] <antmas> http://imgur.com/gallery/Ky0zy
12: [00:35:49] <antmas> XD
13: [00:35:57] <antmas> notchickenbutt^^^
14: [00:37:00] <helenclarko> Title, Guy inserts himself in..... CLOSE TAB, NO THANKS!
15: [00:37:01] * micmania1 has joined #silverstripe
16: [00:37:11] <antmas> haha
17: [00:37:50] <antmas> guis, get contribootn' https://github.com/ss-irc/notes/wiki/nippys
18: [00:41:59] <DanaeNZ> hahahah nice
19: [00:57:20] <ss-helper> Re: [silverstripe-dev] SilverStripe 4.0 File management and DBFile validation - https://groups.google.com/d/msg/silverstripe-dev/cMRZ8HVe4Os/T20StS8qAgAJ
20: [00:58:49] <Colin[pi]> damn where is UC when I need him?
21: [00:59:19] <antmas> he's been pretty quiet on here recently
22: [01:06:41] <chocolatemoose_> if I'm adding a new object to another using the gridfield, shouldn't I have access to the parent ID? for some reason $this->ParentID is returning 0
23: [01:06:50] <chocolatemoose_> in a has_one
24: [01:07:20] <adrexia> if its new the parentID may not have been written yet
25: [01:07:49] <chocolatemoose_> hmm, I thought it would have been passed automatically if the parent is already written to the db
26: [01:08:07] <chocolatemoose_> is there any way to grab it?
27: [01:08:15] <adrexia> but the object isn't yet
28: [01:08:30] <adrexia> ...I feel I've had this problem before... a lot
29: [01:08:33] <chocolatemoose_> lol
30: [01:08:47] <chocolatemoose_> I just want to modify my cmsFields based on that ID
31: [01:09:09] <adrexia> but I can't remember, apart from trying to do whatever it is in onafterwrite or soemthing
32: [01:09:12] <adrexia> ahh yep
33: [01:10:07] <adrexia> there is something that has that data... but I think it's the request, or on the gridfield components
34: [01:11:03] * chocolatemoose has joined #silverstripe
35: [01:11:50] <chocolatemoose> have to modify the gridfield itself
36: [01:12:10] <adrexia> http://www.silverstripe.org/community/forums/data-model-questions/show/21517
37: [01:12:20] <chocolatemoose> yup, that's what I'm looking at :)
38: [01:12:27] <adrexia> sweet :)
39: [01:13:43] * chocolatemoose_ quit (Ping timeout: 246 seconds)
40: [01:14:49] <antmas> hmmm Droid Turbo 2 sounds a like damn nice phone
41: [01:18:09] * spronk quit (Quit: I may need a longer sleep timer...)
42: [01:26:17] * zippy has joined #silverstripe
43: [01:26:47] <zippy> Hi
44: [01:27:10] <zippy> I am trying to wrack my brain, several years ago I saw a pdf about guidelines / procdures on software development / information tech.
45: [01:27:25] <zippy> It's put out by some agency / group of people
46: [01:27:35] <zippy> can't for the life of me think what it is. Pretty sure it's a NZ thing
47: [01:27:41] <zippy> and from what I can recall it wasn't to bad
48: [01:28:06] * Azure has joined #silverstripe
49: [01:31:17] <zippy> christ, what was it
50: [01:31:33] <xyphoid> that rings a reaaaly vague bell
51: [01:31:35] <xyphoid> but i have no idea either
52: [01:32:12] <antmas> I've seen that pdf
53: [01:32:20] <antmas> zippy: why do you need it?
54: [01:32:34] <zippy> I want to have a look at it again
55: [01:32:47] <zippy> I feel like I have seen the company/agency recently
56: [01:33:16] <zippy> I feel like there was a few useful passages in it
57: [01:33:31] <helenclarko> zippy, From Rainbow? www.youtube.com/watch?v=CgbcQIT7BMc
58: [01:33:46] <zippy> helenclarko: your god damn right!
59: [01:34:33] <zippy> antmas: think!
60: [01:36:36] <antmas> zippy: trying to think through a foggy (see smokey) few years at polytech isn't as easy as you think!
61: [01:36:38] <antmas> ;)
62: [01:36:48] <zippy> almost like http://iitp.nz/ or something
63: [01:36:50] * muskie9 quit (Ping timeout: 244 seconds)
64: [01:40:51] <zippy> wow http://www.dmoz.org/ is still around!
65: [01:42:24] <ss-helper> Re: [silverstripe-dev] SilverStripe 4.0 File management and DBFile validation - https://groups.google.com/d/msg/silverstripe-dev/cMRZ8HVe4Os/-KvB_MMsAgAJ
66: [01:44:09] * Audlex has joined #silverstripe
67: [01:50:14] <helenclarko> Haha Awesome, Just fixed screen burn in the workplace imac.
68: [01:54:00] <antmas> waht'd you do?
69: [01:55:28] <helenclarko> Not me, someone thought it would be a good idea to never have the screen turn off or have the iMac sleep.
70: [01:56:02] <helenclarko> Then just let it sit there with a ton of windows open.
71: [01:56:13] <helenclarko> for 3 days.
72: [01:56:22] <antmas> gg person
73: [01:57:25] <Audlex> I have a RecipeSearchForm in my Page.php controller which works fine on the RecipeHolder page but not on the RecipePage which is a DO rendered page, any thoughts how I can make it fire there also?
74: [01:57:26] <ss-helper> Re: [silverstripe-dev] SilverStripe 4.0 File management and DBFile validation - https://groups.google.com/d/msg/silverstripe-dev/cMRZ8HVe4Os/Ye5-pV8tAgAJ
75: [02:00:28] <zippy> irogue: would probably know...
76: [02:11:21] <antmas> wow hurry up today
77: [02:14:48] * zippy quit (Ping timeout: 264 seconds)
78: [02:15:41] <DanaeNZ> antmas: NO SLOW DOWN I HAVE TOO MUCH TO DO
79: [02:17:22] <antmas> DanaeNZ: :|
80: [02:17:24] <antmas> NO
81: [02:17:28] * antmas speeds up time
82: [02:17:32] <antmas> weeeeeeeeeeeeee
83: [02:17:40] * chocolatemoose agrees with DanaeNZ
84: [02:18:22] <DanaeNZ> AAAHHHH
85: [02:18:29] <DanaeNZ> HOW DID IT GET TO THURSDAY ALREADY
86: [02:18:48] <chocolatemoose> father time
87: [02:18:55] <chocolatemoose> *Father Time
88: [02:19:10] <DanaeNZ> MOTHER FUCKER TIME GEDDIT
89: [02:19:16] <DanaeNZ> GEDDIT COS HE'S A FATHER
90: [02:19:22] <DanaeNZ> SO HE IS ALSO A MOTHER FUCKER
91: [02:19:30] <chocolatemoose> lol
92: [02:26:32] * antmas quit (Quit: Page closed)
93: [02:42:54] * spronk has joined #silverstripe
94: [02:43:07] <irogue> <zippy> irogue: would probably know...
95: [02:43:09] <irogue> wait what do i know?
96: [02:47:36] <helenclarko> [14:57:20] <Audlex> I have a RecipeSearchForm in my Page.php controller which works fine on the RecipeHolder page but not on the RecipePage which is a DO rendered page, any thoughts how I can make it fire there also?
97: [02:49:35] <helenclarko> Audlex, Have JS handle the Form action maybe?
98: [03:01:18] * helenclarko quit (Quit: Ain't no lie, baby bye bye bye.)
99: [03:07:13] * camfindlay has joined #silverstripe
100: [03:07:57] * camfindlay changed the topic to ' Welcome to #silverstripe | Latest Stable (3.1.15): http://www.silverstripe.org/software/download/ | Dev Mailing List: http://silverstripe.org/dev-list | IRC Logs: http://silverstripe.org/irc-logs | Feature requests: http://silverstripe.uservoice.com | EU Conf: http://silverstripe-europe.org | SS 3.2.0 RC2: https://goo.gl/pHBgoK'
101: [03:18:56] * Stomach_ quit (Quit: bye)
102: [03:19:58] * Stomach has joined #silverstripe
103: [03:25:56] * camfindlay quit (Quit: camfindlay)
104: [03:38:19] * Stomach quit (Ping timeout: 240 seconds)
105: [03:41:00] * Stomach has joined #silverstripe
106: [03:57:51] * Hailwood quit (Remote host closed the connection)
107: [04:25:38] * MichalKleiner has joined #silverstripe
108: [04:27:38] <MichalKleiner> hey guys, quick question.. if I have a list where I pick first 3 items with ->limit(3), how do I pick the rest apart from those first 3 items if I don't know how many items I have? Something like ->limit(null, 3) but that doesn't work
109: [04:29:08] <MichalKleiner> can't think at this time of day :-D
110: [04:32:42] <DanaeNZ> MichalKleiner: p sure you can set the offset using a different function (not limit)
111: [04:33:22] <MichalKleiner> mmm, can't find it, was thinking the same
112: [04:33:23] <DanaeNZ> I'll try find it
113: [04:34:10] <DanaeNZ> ok maybe it is just limit
114: [04:34:14] <DanaeNZ> put like a million in ther
115: [04:34:27] <MichalKleiner> :-D
116: [04:35:05] <MichalKleiner> yeah, that works... but what if I have more than a milion...
117: [04:35:15] <DanaeNZ> heheh
118: [04:35:22] <DanaeNZ> hm
119: [04:35:31] <DanaeNZ> put false in there
120: [04:35:33] <DanaeNZ> or 0
121: [04:35:35] <DanaeNZ> i dunno
122: [04:37:23] <irogue> should be 0 I believe
123: [04:39:44] * nontgor quit (Ping timeout: 244 seconds)
124: [04:40:19] * DanaeNZ quit (Remote host closed the connection)
125: [04:47:09] * r_hector has joined #silverstripe
126: [04:52:23] * chocolatemoose quit (Remote host closed the connection)
127: [04:53:01] * chocolatemoose has joined #silverstripe
128: [04:57:13] * chocolatemoose quit (Ping timeout: 250 seconds)
129: [05:02:40] * guci0 has joined #silverstripe
130: [05:02:57] <guci0> Morning
131: [05:09:45] * Colin[pi] quit (Ping timeout: 246 seconds)
132: [05:10:11] * adrexia quit (Quit: My Mac has gone to sleep. ZZZzzz…)
133: [05:13:22] * adrexia has joined #silverstripe
134: [05:14:07] * adrexia quit (Client Quit)
135: [05:15:39] * micmania1 quit (Quit: micmania1)
136: [05:16:16] <Tanger> Hey guys, I have a strange issue: http://pastebin.com/bQ6W0Enu
137: [05:18:51] <Tanger> Anybody have any ideas why dbObject('URL') would fail? Or any as to why calling the function URL() would cause it to execute fine, but not register as false for the <% if %> clause?
138: [05:19:10] <Kingy[a]> Welcome to my channel Kingy[a]
139: [05:19:13] * Kingy[a] is now known as Kingy
140: [05:19:46] * Kingy is now known as Kingy[a]
141: [05:31:45] * Stomach quit (Ping timeout: 255 seconds)
142: [05:33:57] * Stomach has joined #silverstripe
143: [05:38:42] * Stomach quit (Ping timeout: 250 seconds)
144: [06:01:08] * Stomach has joined #silverstripe
145: [06:08:37] * Stomach quit (Quit: zzz)
146: [06:11:15] * Stomach has joined #silverstripe
147: [06:12:28] * gordon has joined #silverstripe
148: [06:12:51] * gordon is now known as Guest77674
149: [06:27:27] * Stomach quit (Quit: zzz)
150: [06:28:52] * DanaeNZ has joined #silverstripe
151: [06:31:13] * Mike123 has joined #silverstripe
152: [06:32:02] <Mike123> Morning , i get this error then trying to add link to selected text http://snag.gy/dZt3N.jpg , any ideas why ?
153: [06:33:36] * DanaeNZ quit (Ping timeout: 265 seconds)
154: [06:43:11] * spronk quit (Quit: I may need a longer sleep timer...)
155: [06:43:43] * spronk has joined #silverstripe
156: [06:51:31] * darjus01 has joined #silverstripe
157: [06:54:32] * r_hector quit (Remote host closed the connection)
158: [06:56:10] * Stomach has joined #silverstripe
159: [06:58:00] * zlinux quit (Ping timeout: 264 seconds)
160: [07:11:35] * FrozenFire quit (Ping timeout: 260 seconds)
161: [07:13:32] <Tanger> Mike123: It's likely that self::getLanguages() returns an empty set
162: [07:13:58] <Tanger> Mike123: FB out $langs->Count() before that line is executed
163: [07:16:37] <Mike123> Tanger but where exactly self::getLanguages is executed ?
164: [07:17:20] <Tanger> Mine123: Line 59 of public_html/langeditor/code/LangEditor.php
165: [07:17:52] <Mike123> hmm, ok Tanger, thanks :)
166: [07:17:54] <Tanger> I would take a look there and see what getLanguages actually returns
167: [07:18:21] <Mike123> i will
168: [07:30:42] * phalaon has joined #silverstripe
169: [07:32:52] <phalaon> Hi
170: [07:32:53] <phalaon> Is there a possibility to ommit base href in a link added via WYSWIG and leave only hashtag?
171: [07:34:07] * spronk quit (Quit: I may need a longer sleep timer...)
172: [07:42:17] <Zauberfisch> there is a flag to disable the hash link rewrite thing in the template parser
173: [07:42:25] <Zauberfisch> perhaps that also effects that
174: [07:42:30] <Zauberfisch> but are you sure you want that?
175: [07:43:21] <phalaon> No it will affect on whole wyswig i belive? so found other solution :)
176: [08:04:06] * wmk has joined #silverstripe
177: [08:06:38] * kinglozzer has joined #silverstripe
178: [08:18:14] * DanaeNZ has joined #silverstripe
179: [08:22:30] * DanaeNZ quit (Ping timeout: 240 seconds)
180: [08:32:06] * cupcake has joined #silverstripe
181: [08:32:39] <cupcake> ola amigos o/
182: [08:32:46] <cupcake> i have issue with a dropdown field on a widget
183: [08:33:19] <cupcake> when i add the same widget repeatedly on a page without saving the dropdown field gets a display none from the 2nd instance onward
184: [08:33:22] <cupcake> any idea?
185: [08:48:00] * Tanger quit (Quit: exit())
186: [08:48:25] * spronka has joined #silverstripe
187: [08:54:34] * nathanz has joined #silverstripe
188: [08:55:39] * FrozenFire has joined #silverstripe
189: [08:59:28] * wmk quit (Ping timeout: 268 seconds)
190: [09:00:51] * Stomach quit (Quit: zzz)
191: [09:11:48] <Zauberfisch> Audlex: a silverstripe form needs a controller
192: [09:22:06] <nathanz> im trying to use $_FILE_TO_URL_MAPPING and i believe i've hit a bug with it running from cli and handling the url mapping which begins with https. Director::protocolAndHost has some regex there that otherwise excludes https
193: [09:38:56] <nathanz> At present the workaround is injecting config for Director:
194: [09:38:56] <nathanz> alternate_protocol: https If someone else agrees with my thinking i suppose i should log a bug and push a PR right?
195: [09:39:25] * swaiba has joined #silverstripe
196: [09:46:07] * phalaon quit (Ping timeout: 246 seconds)
197: [09:54:06] * hugs-bison quit (Ping timeout: 240 seconds)
198: [10:03:06] * hugs-bison has joined #silverstripe
199: [10:10:20] * phalaon has joined #silverstripe
200: [10:16:36] * Copperis has joined #silverstripe
201: [10:16:49] * Copperis has left #silverstripe
202: [10:28:53] * Phil has joined #silverstripe
203: [10:29:17] * Phil is now known as Guest45781
204: [10:36:46] <Guest45781> Hi guys
205: [10:37:31] <Guest45781> Documentation for ContentControllerSearchExtension suggests editing cms/code/ which I'm reluctant to do
206: [10:38:04] <Guest45781> Is there any other way to override this?
207: [10:38:23] <cloph> you should start by telling what you want to try to achieve. And if you refer to documentation, providing a link to that documentation also makes it easier...
208: [10:38:56] <Guest45781> Just want to change renderWith to use my own SearchResults view rather than following typical view inheritance rules
209: [10:39:32] <Guest45781> The documentation here https://docs.silverstripe.org/en/4.0/tutorials/site_search/ - strictly speaking more 'tutorial' than documentation
210: [10:39:54] <Guest45781> Thanks for the response, cloph
211: [10:42:49] * Azure quit (Quit: Oops.)
212: [10:43:12] * Azure has joined #silverstripe
213: [10:54:24] * novaweb quit ()
214: [10:59:38] <cloph> I see no reason why there would be a need for that - but such a small change I'd do in the cms module...
215: [11:00:05] <cloph> Of course you can just create copies of the FullTextSearch handler where you don't add the ContentControllserSeachExtension from cms, but your own.
216: [11:01:25] * spronka quit (Quit: My Mac has gone to sleep. ZZZzzz…)
217: [11:02:29] * spronk has joined #silverstripe
218: [11:06:26] <Guest45781> I might be missing something. But due to the view inheritance if I don't set renderWith then the view for each page will be used instead of my SearchResults view
219: [11:07:22] <Guest45781> and to me it feels like bad practice to start modifying the CMS module - because that would mean having to remember to reinstate the change after each CMS update
220: [11:10:17] <ss23> Guest45781: Oh um
221: [11:10:23] <ss23> I don't think this is saying to edit code in cms/code
222: [11:10:43] <ss23> I don't know
223: [11:10:47] <ss23> It's too late here for me to help sorry, Guest45781 >.<
224: [11:11:12] <Guest45781> No probs
225: [11:11:27] <Guest45781> Thanks anyway!
226: [11:11:55] * chocolatemoose has joined #silverstripe
227: [11:11:56] <Guest45781> If anyone can advise where else I should set renderWith that would be great!
228: [11:14:59] <kinglozzer> Guest45781: (just guessing, I've not done it before) - I'd create a subclass of ContentControllerSearchExtension (i.e. MySearchExtension extends ContentControllerSearchExtension), then after you call FulltextSearchable::enable(), then call ContentController::remove_extension('ContentControllerSearchExtension'); ContentController::add_extension('MySearchExtension');
229: [11:15:15] <kinglozzer> Not pretty, but it should work
230: [11:15:24] <kinglozzer> You can then override the results() method with whatever you want
231: [11:19:47] <cloph> not sure what you mean with "the view for each page will be used" - the class explicitly sets it to one single template file to use, to avoid this problem.
232: [11:20:05] <cloph> it will only look for Page_result.ss - and only if that doesn't exist use Page.ss
233: [11:29:44] * guci0 quit (Quit: Page closed)
234: [11:43:42] * NETim_ has joined #silverstripe
235: [11:47:03] * NETim quit (Ping timeout: 255 seconds)
236: [11:53:43] <Guest45781> kinglozzer, thanks for the tip. I'll try that
237: [11:54:45] <Guest45781> cloph, if I don't force it to use SearchResults.ss then for searches originating from the home page it will show search results on Home.ss which I don't want
238: [11:55:43] * DanaeNZ has joined #silverstripe
239: [11:57:03] <cloph> ? The tutorial explicitly mentions that "problem" and explains the reason for why there is a render_with statement in the existing code.
240: [11:57:15] <cloph> Apparently I don't get the problem. but /me has to run anyway...
241: [11:57:18] * cloph is now known as cloph_away
242: [11:59:59] * DanaeNZ quit (Ping timeout: 240 seconds)
243: [12:04:30] * EasyCo quit (Quit: Connection closed for inactivity)
244: [12:05:15] <elgabbu> is it possible to use YML file to store a list of things for example of list of countries?
245: [12:05:42] <elgabbu> and then somehow grab this list and throw it in a dropdown field :)
246: [12:05:58] <chocolatemoose> yes
247: [12:06:17] <elgabbu> how would the yml be structured?
248: [12:06:50] <chocolatemoose> http://pastebin.com/C1BqXfL6
249: [12:08:04] <chocolatemoose> then access it like: Config::inst()->get('Regions', 'en_NZ')
250: [12:10:13] <elgabbu> that would give me an array right?
251: [12:10:19] <chocolatemoose> mhm
252: [12:10:36] <elgabbu> alright i ll give it a short
253: [12:10:38] <elgabbu> *shot lol
254: [12:10:46] <chocolatemoose> DropdownField::create('nz_region', 'Regions', Config::inst()->get('Regions', 'en_NZ')),
255: [12:10:57] <elgabbu> brilliant thanks
256: [12:11:03] * UndefinedOffset has joined #silverstripe
257: [12:17:03] <Mike123> what is the best way to protect comments module from spam ?
258: [12:17:33] <Mike123> i have added hidden field but still... few spam are continiuosly breaching it
259: [12:27:36] <Guest45781> kinglozzer, that approach didn't work. Now getting 'page not found' error. Not worked with extensions before so might have missed something. Have an idea for alternative approach though
260: [12:42:32] * chocolatemoose quit (Remote host closed the connection)
261: [12:44:11] <swaiba> Mike123 - maths spam works for my purposes, but the new version of recaptcha would be best
262: [12:48:54] <kinglozzer> swaiba: Honeypot no good? :(
263: [12:49:26] <swaiba> not tried it, is that the invisible one kinglozzer?
264: [12:49:38] <swaiba> and is it better that the new recapthca?
265: [12:50:00] <kinglozzer> Yeah, we've always found it works great
266: [12:50:21] <kinglozzer> I dunno about "better" as it offers less protection, but doesn't get in the way of users
267: [12:52:02] <kinglozzer> swaiba: We don't use the module, though. IIRC the module shows a "please leave the anti-spam blank" message, which indicates to bots that something went wrong. Whereas we just pretend that everything went through as normal
268: [12:52:11] <Mike123> swaiba thank's :)
269: [12:53:12] <Mike123> just another question where is paysera.com website, it's something like paypal i guess, i need to write module for my website as it will be e-commerce website with paysera payment ability
270: [12:53:16] <swaiba> kinglozzer well if I were not a bot, but a script (something I've got to deal with on a new site which is why I'm reco'ing recaptcha)
271: [12:53:29] <Mike123> i need serious consultation about this
272: [12:53:36] <swaiba> in other words I my record a macro using something like authotkey
273: [12:53:53] <swaiba> then I as a human can outwit most invisible / math spam things
274: [12:54:11] <swaiba> but I seriously doubt I can outwit recaptcha
275: [12:54:21] <kinglozzer> swaiba: Yeah, honeypots aren't perfect - we've had to replace them with captchas before - we just use captchas as a last resort as they're a pain for users
276: [12:54:33] <swaiba> I only didn't start out with it becuase it used to be so awfully unreadable for their strings
277: [12:54:55] <swaiba> now you just click to say "I'm not a robot" or similar and cannot be handled in any other way but manually
278: [12:55:27] <kinglozzer> Oh yeah the new fancy one
279: [12:55:29] <swaiba> event the new one is a pain? https://www.google.com/recaptcha/intro/index.html
280: [12:55:32] <kinglozzer> Which I ALWAYS fail for some reason :(
281: [12:55:38] <swaiba> it's one easy click
282: [12:55:41] <kinglozzer> I must click like a robot...
283: [12:55:42] <swaiba> hahahhaa - really?
284: [12:55:44] * NETim has joined #silverstripe
285: [12:55:51] <kinglozzer> Yeah, every damn time
286: [12:55:59] <swaiba> you're a machine!
287: [12:56:12] <Pywvlmk> hnngggggrrhhh
288: [12:56:31] <swaiba> alright Pywvlmk?
289: [12:57:10] <kinglozzer> Mike123: Never heard of that payment gateway... are there any libraries on Packagist for it?
290: [12:57:41] <swaiba> sorry missed that Mike123 - also never heard of it
291: [12:57:42] * NETim_ quit (Ping timeout: 246 seconds)
292: [12:58:09] * samlander has joined #silverstripe
293: [12:58:13] <samlander> hey guys
294: [12:58:41] <samlander> need help forming an object to pass into one of my templates
295: [12:58:59] <samlander> normally i do a Object::get() and feed the resulting dataarray into it
296: [12:59:19] <samlander> but im trying to compose it's data programatially for a one off, instead of a list of stuff being fed in
297: [12:59:34] <Guest45781> kinglozzer, contrary to my previous comment, your earlier suggested approach to worked a charm. Thanks!
298: [12:59:45] <samlander> !paste
299: [12:59:45] <ss-helper> Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
300: [12:59:53] <kinglozzer> samlander: ArrayData::create(array('Foo' => $bar));
301: [12:59:58] * slievr has joined #silverstripe
302: [13:00:08] <kinglozzer> If it's a list of multiple items, ArrayList
303: [13:00:13] * samlander has left #silverstripe
304: [13:00:18] * samlander has joined #silverstripe
305: [13:00:20] <samlander> drp
306: [13:00:26] <samlander> ok
307: [13:00:52] <kinglozzer> samlander: This has an example of both: https://docs.silverstripe.org/en/3.1/developer_guides/templates/rendering_templates/
308: [13:01:05] <kinglozzer> Though you can just return the ArrayData/ArrayList inst rather than calling renderWith()
309: [13:02:15] * MarcGuay quit (Ping timeout: 246 seconds)
310: [13:02:28] <samlander> that worked out perfectly, thanks
311: [13:03:33] <Pywvlmk> kinda swaiba.
312: [13:03:53] <Pywvlmk> turns out this kerberos business is more complicated than every tutorial makes it out to be.
313: [13:04:14] <Pywvlmk> which turn out to be more a collection of 'worked for me' lines rather than 'tutorials'
314: [13:04:34] <samlander> another quickie: when composing my object, $panel->BackgroundImage = $this->CSFeaturedImage; does not work
315: [13:04:59] <samlander> i know why it fails but not how to get it working, (the images are Has_one)
316: [13:05:32] <Pywvlmk> ()
317: [13:05:37] <kinglozzer> !paste samlander ;)
318: [13:05:37] <ss-helper> samlander: Please paste your code using something like http://kopy.io/ or http://www.sspaste.com/ or https://gist.github.com/ and then paste the link here.
319: [13:06:08] <Pywvlmk> has_one = ['CSFeaturedImage' => 'Image']; $this->CSFeaturedImage();
320: [13:06:21] <Pywvlmk> has_one = ['CSFeaturedImage' => 'Image']; $this->CSFeaturedImage == null;
321: [13:06:40] * spronk quit (Quit: I may need a longer sleep timer...)
322: [13:07:47] <kinglozzer> Pywvlmk: Not true, DataObject magic will get it with __get()
323: [13:08:48] <samlander> http://www.sspaste.com/paste/show/56166aba933e3
324: [13:08:58] <kinglozzer> Wait, maybe not in Controller land?
325: [13:09:11] <kinglozzer> I think I may be wrong, apoligies Pywvlmk
326: [13:09:14] <kinglozzer> i/o
327: [13:09:19] <kinglozzer> s/i/o w/e
328: [13:10:15] <samlander> normally form my generic template i have a has_many collection of obj ContentPanel
329: [13:10:31] <kinglozzer> samlander: I think it needs to be $dl = ArrayList::create(array(ArrayData::create(array('ContentPanel'=>$panel))));
330: [13:10:33] <samlander> so i usually just feed the ContentPanel::get() into the renderwith
331: [13:10:45] <samlander> the data gets thru
332: [13:10:50] <samlander> just not the images
333: [13:11:08] <samlander> everything but the has_one objects are making it through
334: [13:11:22] <kinglozzer> Hmm, looks like it should work... if you var_dump($this->CSFeaturedImage()); what do you see?
335: [13:12:26] <kinglozzer> Might need to do $this->data()->CSFeaturedImage(); depending on what methods you have defined in your controller
336: [13:14:23] <samlander> http://www.sspaste.com/paste/show/56166c2385bbe
337: [13:14:56] <samlander> looks like the data is there
338: [13:15:52] * MarcGuay has joined #silverstripe
339: [13:16:02] <elgabbu> i am trying to add a HeaderField from within an updateCMSFields hook
340: [13:16:09] <elgabbu> but its not working any ideas?
341: [13:16:20] <elgabbu> $fields->insertBefore( HeaderField::create('Test', 'Test'), 'Country');
342: [13:16:40] <samlander> for siteconfig?
343: [13:16:52] <elgabbu> no just a simple data object
344: [13:17:32] <elgabbu> same code in the getCMSFields of the data object works
345: [13:17:59] <samlander> i just use getcmsfields and return a new fieldlist
346: [13:18:13] <elgabbu> but this needs to be an extension
347: [13:18:24] * Guest45781 quit (Ping timeout: 246 seconds)
348: [13:18:27] <samlander> ah
349: [13:20:25] <kinglozzer> elgabbu: Is 'Country' added by a different extension? Perhaps your extension is running before that one?
350: [13:20:49] <kinglozzer> samlander: Yeah that looks normal, what does your template rendering it look lik?
351: [13:20:50] <kinglozzer> e
352: [13:21:15] <elgabbu> Country is added by same extension
353: [13:22:02] <kinglozzer> elgabbu: Can you paste your extension?
354: [13:22:29] <elgabbu> http://www.sspaste.com/paste/show/56166e0cb4a2a
355: [13:23:05] <kinglozzer> Hmm looks fine, and the other fields are all being added?
356: [13:23:11] <elgabbu> yeap
357: [13:24:33] <kinglozzer> elgabbu: That looks like it should work... is it in the page source and just hidden?
358: [13:24:44] <kinglozzer> Do you have another field or tab named 'Country' that it could be getting confused with?
359: [13:25:24] <elgabbu> this is data object being extended
360: [13:25:25] <elgabbu> http://www.sspaste.com/paste/show/56166eb8de920
361: [13:27:57] <elgabbu> doesn't seem to be in the HTML
362: [13:28:37] <kinglozzer> elgabbu: Try removing the ->changeFieldOrder()
363: [13:29:09] <elgabbu> kinglozzer indeed now it works
364: [13:29:16] <kinglozzer> IIRC changeFieldOrder screws up data-less fields
365: [13:29:18] <kinglozzer> :(
366: [13:29:46] <kinglozzer> As it's quite simple elgabbu, you could just create the fieldlist yourself, then call the extension point
367: [13:30:00] <kinglozzer> $fields = FieldList::create(...); $this->extend('updateCMSFields', $fields); return $fields;
368: [13:30:17] <elgabbu> i'll try thanks
369: [13:30:24] * DimiStripe quit (Quit: DimiStripe)
370: [13:35:37] <elgabbu> kinglozzer it adds abit of uneccasry complication since now replace field won't find the field hehe
371: [13:35:51] <ss-helper> SilverStripe Translatable save value in default locale, and duplicate it to non-default locales - http://stackoverflow.com/questions/33017296/silverstripe-translatable-save-value-in-default-locale-and-duplicate-it-to-non
372: [13:36:26] <kinglozzer> elgabbu: There's a trick for that too ;)
373: [13:36:40] <elgabbu> please shine the light :)
374: [13:37:23] <kinglozzer> $this->beforeUpdateCMSFields(function($fields) { // add fields here }); $fields = FieldList::create(); $this->extend('updateCMSFields', $fields); return $fields;
375: [13:38:54] <elgabbu> but what if i apply to the extension to another dataobject that is calling parent::getCMSFields
376: [13:39:12] <elgabbu> the fields would already exits in the beforeUpdateCMSFields
377: [13:39:36] <kinglozzer> elgabbu: Well you wouldn't call beforeUpdateCMSFields() on the other object
378: [13:39:46] <kinglozzer> (unless you _wanted_ to)
379: [13:40:32] <kinglozzer> elgabbu: The beforeUpdateCMSFields() goes in your DataObject, not your extension
380: [13:43:59] <elgabbu> kinglozzer is it safe to overload the __construct of the data extension ...
381: [13:44:34] <kinglozzer> elgabbu: Yes, as long as you call parent::__construct();
382: [13:44:37] <kinglozzer> Why though?
383: [13:44:56] <elgabbu> gonna read the yml file there so it won't have to do it twice
384: [13:45:14] <elgabbu> and store them in properties
385: [13:46:20] <kinglozzer> Ah I see, yeah that's fine
386: [13:47:59] * cloph_away is now known as cloph
387: [13:56:58] <Mike123> guys, is there a way to add custom message to required field ?
388: [13:57:16] <Mike123> i mean not using any of js plugin like validate etc
389: [14:06:03] <Pywvlmk> ->customMessage
390: [14:06:13] <Pywvlmk> ->setErrorMessage
391: [14:06:15] <Pywvlmk> somethnig like that
392: [14:07:05] * irogue quit (Read error: Connection reset by peer)
393: [14:08:41] <Pywvlmk> setCustomValidationMessage( string $customValidationMessage )
394: [14:08:48] <Pywvlmk> http://api.silverstripe.org/3.1/class-FormField.html
395: [14:13:06] <elgabbu> kinglozzer ended up going for this ... http://www.sspaste.com/paste/show/561679d0dd020
396: [14:14:26] <elgabbu> the extension has to be self sufficient ... i can't have any code related in the dataobject so i had to resort to this method
397: [14:31:17] <Mike123> Pywvlmk, still i get default browser message ://
398: [14:31:50] <kinglozzer> Mike123: That's HTML5 validation
399: [14:32:01] <kinglozzer> You can disable that with $form->setAttribute('novalidate', true)
400: [14:32:43] <Mike123> oh
401: [14:32:47] <Mike123> i will try it
402: [14:33:24] * Guest77674 quit (Ping timeout: 264 seconds)
403: [14:36:10] <elgabbu> another question if I may ... within a dataextension i want to a ::get of the dataobject I am extending ... owner::get() ?!
404: [14:37:07] <Mike123> kinglozzer, but now my form isnt validating at all :/ i think i dont understand something
405: [14:38:36] <Mike123> or how do i call the message before submit, if there are any errors ?
406: [14:38:43] <Pywvlmk> Boss came out asking if anyone had an HTML cable.
407: [14:38:58] <Pywvlmk> Head of IT.
408: [14:39:01] <Pywvlmk> -.-
409: [14:39:13] <Mike123> :DD
410: [14:41:34] <Mike123> or i need to get that message into the front somehow ?
411: [14:41:58] <swaiba> Pywvlmk I love non-tech savy boss requests
412: [14:42:20] <swaiba> My first that I recall was when a word.doc virus was reportedly sent to customer from one of us
413: [14:42:28] <swaiba> his solution "no email attachements"
414: [14:42:45] <swaiba> we enquired what would be ok if we needed to say, send a document... his reply
415: [14:42:48] <swaiba> FTP is fine
416: [14:42:49] <kinglozzer> Mike123: Have you added a validator to your form?
417: [14:43:14] <kinglozzer> https://docs.silverstripe.org/en/3.1/developer_guides/forms/validation/
418: [14:45:25] <Mike123> http://www.sspaste.com/paste/show/5616817e35282
419: [14:45:57] <Mike123> kinglozzer, i dont understand where and how the meesage should show up...
420: [14:45:59] * benjhocking1 has joined #silverstripe
421: [14:46:54] <kinglozzer> Mike123: If you leave 'Name' blank, 'MyCustomMsg' should show up
422: [14:48:27] * benjhocking quit (Ping timeout: 260 seconds)
423: [14:48:43] <Mike123> nop :/ it isn't page refreshes ant that's it
424: [14:50:14] <Pywvlmk> swaiba: yeah, but this guy is supposed to be the head of IT :<
425: [14:50:35] <Mike123> btw i;m using custom template for form.. maybe that's the problem ?
426: [14:51:02] <swaiba> Pywvlmk yeah I guess this guy thourght he was IT savy, but it wasn't his job title
427: [14:51:35] * benjhocking1 quit (Read error: Connection reset by peer)
428: [14:51:44] <swaiba> elgabbu I dunno maybe {$this->owner->ClassName}::get() ?
429: [14:51:54] <swaiba> or just self::get();
430: [14:53:24] <elgabbu> swaiba self refers to the extension unfortunately
431: [14:53:43] <swaiba> and the more ugly first guess elgabbu ?
432: [14:53:52] <Mike123> Kinglozzer, got it !!
433: [14:53:56] <elgabbu> since its a static call can't use $this
434: [14:54:18] * mahfuz quit (Ping timeout: 246 seconds)
435: [14:54:34] <swaiba> elgabbu oh crumbs, well, errrr...
436: [14:55:01] <elgabbu> how i get in these situation is something incredible lol
437: [14:55:02] <kinglozzer> elgabbu: If it's static, you never know
438: [14:55:20] <kinglozzer> Your extension could be applied to any class, or it might not be applied to any yet :P
439: [14:55:25] <elgabbu> mmm should i go for singleton?
440: [14:55:25] <swaiba> surely there is a way of getting the class name? like http://php.net/manual/en/function.get-called-class.php
441: [14:55:45] * benjhocking has joined #silverstripe
442: [14:55:46] <kinglozzer> elgabbu: Does it need to be static?
443: [14:55:59] <elgabbu> mmm not sure
444: [14:57:53] <elgabbu> i want a function in my extension that does a get()->filter of its owner ...
445: [14:59:15] <swaiba> like kinglozzer says if it doenst' need to be static then you are on easy street
446: [14:59:50] <elgabbu> mmm i would love it to be static tho :)
447: [15:00:21] <kinglozzer> elgabbu: $this->owner->get()?
448: [15:00:35] <elgabbu> kinglozzer static calls can't use $this
449: [15:00:47] <elgabbu> or?
450: [15:01:12] <swaiba> elgabbu - why love to be static? are you pre-optimising this?
451: [15:02:26] <swaiba> if you are that obsessed why not, do like... get the name from __FILE__ then parse the config.yml for the class it is extending (or from manifest)
452: [15:02:51] <kinglozzer> elgabbu: Unfortunately you can't really do it with a static method. If you call MyExtension::static_method(), that "instance" of MyExtension hasn't actually been applied to anything, so it has no owner
453: [15:02:53] <swaiba> i know why, because that is horrible :) I'd lose the static for this
454: [15:03:06] * darjus01 quit (Read error: Connection reset by peer)
455: [15:03:16] <kinglozzer> swaiba: What if it's applied to more than one class? ;)
456: [15:03:47] <kinglozzer> elgabbu: The only real alternative is to do MyExtension::filtered_list('DataObjectClass'); then use the argument
457: [15:04:01] <swaiba> kinglozzer then you can go further into the messy alternative or realise droping the static is ftw
458: [15:04:27] * Mike123 quit (Ping timeout: 246 seconds)
459: [15:04:31] <elgabbu> but i'm not calling MyExtension::list() ... i'm calling MyDataObject::list ...
460: [15:06:28] <elgabbu> i am getting to the static function in the extension of ... i just don't know how to find who is calling
461: [15:07:38] <swaiba> elgabbu I'm leaving now, but as "last wish for the day" it would be for you to use a member method
462: [15:07:41] <swaiba> :)
463: [15:07:43] <swaiba> no pressure
464: [15:07:48] * swaiba gets his coat
465: [15:07:59] * swaiba quit (Remote host closed the connection)
466: [15:08:16] <kinglozzer> elgabbu: Wait, how are you getting to the extension? I didn't think static methods worked with extensions...?
467: [15:08:29] <elgabbu> its works fine it seems :)
468: [15:08:50] <elgabbu> Banner::getGeoFilteredList();
469: [15:08:55] <elgabbu> calls
470: [15:08:58] * phalaon quit (Ping timeout: 250 seconds)
471: [15:09:09] <elgabbu> GeoTarget::getGeoFilteredList
472: [15:09:58] <kinglozzer> elgabbu: Can you paste your Banner / GeoTarget? I can't see how that possibly works! :P
473: [15:10:15] <kinglozzer> There's no __callStatic() on object, so I can't see how it knows where to look for the static method D:
474: [15:10:19] <elgabbu> i have a Debug::dump(__METHOD__); exit; ... which returns ... GeoTarget::getGeoFilteredList
475: [15:10:27] <elgabbu> sure 1 sec
476: [15:12:04] * muskie9 has joined #silverstripe
477: [15:12:07] <elgabbu> kinglozzer http://www.sspaste.com/paste/show/561687be6b23c
478: [15:12:44] <kinglozzer> elgabbu: Does Banner have a method getGeoFilteredList?
479: [15:13:02] <Pywvlmk> omg yey! http://serverfault.com/questions/641974/apache-kerberos-authentication-to-active-directory-not-happening-is-krb5kdc-er
480: [15:13:03] <elgabbu> fuck me
481: [15:13:06] * joelpittet has joined #silverstripe
482: [15:13:27] <elgabbu> sry ur right
483: [15:13:52] <kinglozzer> elgabbu: Phew, I thought I was going mad ;)
484: [15:14:05] <elgabbu> apologies hehe
485: [15:14:36] <elgabbu> so GeoTarget has to provide a static function which accepts the className i want to filter
486: [15:14:43] <elgabbu> as a parameter
487: [15:15:26] <elgabbu> and call it directly
488: [15:16:04] <kinglozzer> elgabbu: That's probably the easiest way, yeah
489: [15:16:35] <kinglozzer> That or do singleton('GeoTarget')-> getGeoFilteredList()
490: [15:16:45] <kinglozzer> and make it not static
491: [15:19:28] <elgabbu> thanks for the kinglozzer
492: [15:19:34] <elgabbu> *for the help
493: [15:20:04] <elgabbu> time to go home for me too :)
494: [15:22:00] <kinglozzer> No problem elgabbu, cya :)
495: [15:23:29] <slievr> what's the correct format for setting a bcc to multiple addresses?
496: [15:24:25] <kinglozzer> slievr: comma separated I think
497: [15:25:16] <slievr> I thought so but it only seems to be sending to the first email
498: [15:30:28] <slievr> nevermind, I'm just going nuts
499: [15:33:41] * DanaeNZ has joined #silverstripe
500: [15:35:12] * someuser372 has joined #silverstripe
501: [15:35:12] <ss-helper> someuser372: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
502: [15:37:36] * zlinux has joined #silverstripe
503: [15:38:19] * DanaeNZ quit (Ping timeout: 265 seconds)
504: [15:44:07] <someuser372> The tutorial videos by UncleCheese are fantastic
505: [16:02:48] * zlinux quit (Ping timeout: 264 seconds)
506: [16:05:15] * zlinux has joined #silverstripe
507: [16:10:12] * Copperis has joined #silverstripe
508: [16:14:10] * Sygmoral has joined #silverstripe
509: [16:14:10] <ss-helper> Sygmoral: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
510: [16:15:12] <Sygmoral> Since 3.2, I no longer seem to be able to load /dev/tasks via web... (page not found) Did something change there?
511: [16:18:16] <kinglozzer> Sygmoral: Nope, works for me
512: [16:19:18] <kinglozzer> Usual suspects: dev/build, make sure you're in dev mode so no errors are supressed
513: [16:20:29] <Sphere> Hello folks.
514: [16:20:39] <Sphere> I'm tired, I'm sick, but I'm here :)
515: [16:21:04] <Pywvlmk> Hullo Sphere
516: [16:21:11] <Pywvlmk> Hope you get well before time next week!
517: [16:21:24] <Sphere> I'll be fine probably :)
518: [16:21:28] <Sphere> You coming?
519: [16:24:05] <Pywvlmk> Yup.
520: [16:24:06] <someuser372> Hmm, just starting a new site, 3.2 or 3.1, hmmm...
521: [16:24:14] <Pywvlmk> 3.1
522: [16:24:17] <Pywvlmk> 3.2 not stable yet
523: [16:24:18] * gordon has joined #silverstripe
524: [16:24:25] <Pywvlmk> officially
525: [16:24:33] <Pywvlmk> probably stable enough... but still.
526: [16:24:34] <someuser372> I hope I don't have to change much when upgrading to 3.2
527: [16:24:41] * gordon is now known as Guest45575
528: [16:24:46] <kinglozzer> Yup, rc2 so still not quite there. Should be more-or-less a drop-in upgrade anyway though
529: [16:24:46] <Pywvlmk> Shouldn't do. Minor number.
530: [16:24:57] <someuser372> ok then I'll use 3.1
531: [16:25:17] <Sphere> You should go with 3.1.15, or later. Do not go with unstable unless it's not important to have a stable version
532: [16:25:25] <Sphere> You can upgrade any time ;)
533: [16:25:28] <kinglozzer> I'm being hypocritical because I'm using 3.2 for a development site :P
534: [16:25:31] <Sygmoral> (seems like I need to put index.php/ in front of dev/whatever, even if I delete index.php... oh well, as long as that works)
535: [16:25:39] <Sphere> 3.2 is'nt that much a difference from 3.1.x
536: [16:26:21] <kinglozzer> 3.1 -> 3.2 is *way* bigger than 3.2 -> 3.3 will be though, so probably best to be safe and stick with 3.1
537: [16:26:25] <Sphere> Hmmm, that's a defaullt option. Just add the Director.alternate_base_url to '/'
538: [16:26:31] <someuser372> the learn section of silverstripe.org is absolutely fantastic, the docs got much better since last time I used silverstripe for a project
539: [16:26:59] * DimiStripe has joined #silverstripe
540: [16:27:16] <Sphere> On dev mode (aka, your local machine), install axyr/ideannotator for more fun :D
541: [16:27:59] <kinglozzer> Oh you guys with your fancy IDEs :P
542: [16:28:19] <Sphere> And you notepad everything?
543: [16:28:38] <kinglozzer> Sublime Text, so pretty-much yeah :P
544: [16:29:15] * kinglozzer home
545: [16:29:16] <Pywvlmk> Notepad++ user, reporting in!
546: [16:29:24] <Pywvlmk> but yes, home 'n shit.
547: [16:29:24] * kinglozzer quit (Quit: <3)
548: [16:29:40] <Pywvlmk> well, sorta
549: [16:31:38] * UndefinedOffset quit (Quit: Leaving.)
550: [16:34:03] * Sygmoral quit (Ping timeout: 246 seconds)
551: [16:37:06] * UndefinedOffset has joined #silverstripe
552: [16:51:53] <someuser372> is it possible to use many_many directly with images?
553: [16:52:02] * Azure quit (Ping timeout: 252 seconds)
554: [16:53:05] * Azure has joined #silverstripe
555: [16:57:18] <someuser372> Yes
556: [17:11:40] * Sygmoral has joined #silverstripe
557: [17:23:41] <Sygmoral> Anyone using MessageQueue with 3.2? I've been using it with the Newsletter module since a few years (with a small workaround to get it to work), but unfortunately it no longer seems to work now... or I guess it needs a new workaround :)
558: [17:29:27] <ss-helper> Re: SilverStripe 4.0 File management and DBFile validation - https://groups.google.com/d/msg/silverstripe-dev/cMRZ8HVe4Os/WL0FVc5gAgAJ
559: [17:47:56] <Sygmoral> Are there actually any alternatives to Silverstripe's newsletter and messagequeue modules? They don't look very active, which makes me wonder what other people use... perhaps almost everyone uses third-party services to send emailings?
560: [17:48:38] * Stomach has joined #silverstripe
561: [17:51:56] <someuser372> hmm, why doesn't this work? TreeDropdownField::create('Link', 'Link', Page::get());
562: [17:53:40] * Stomach quit (Quit: zzz)
563: [17:56:26] <someuser372> ok, much easier: TreeDropdownField::create('Link', 'Link', 'SiteTree')
564: [18:04:05] * Stomach has joined #silverstripe
565: [18:04:43] <someuser372> hmm, saving doesn't work unfortunately
566: [18:11:25] <someuser372> ok got it, had to change Link to LinkID
567: [18:14:03] * zlinux_ has joined #silverstripe
568: [18:17:46] * someuser372 quit (Quit: Leaving)
569: [18:18:34] * zlinux quit (Ping timeout: 272 seconds)
570: [18:27:47] * Stomach quit (Quit: zzz)
571: [18:36:01] * patricknelson has joined #silverstripe
572: [18:36:01] <ss-helper> patricknelson: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
573: [18:36:51] <patricknelson> howdy people :)
574: [18:37:44] <patricknelson> first time here and first time in years since i've been on IRC.
575: [18:38:34] <muskie9> welcome! it's a little dead in here today
576: [18:38:54] <patricknelson> hey @muskie9
577: [18:39:05] <patricknelson> here on the east coast -- what's your timezone?
578: [18:39:10] <patricknelson> east coast USA, that is.
579: [18:39:23] <muskie9> central USa
580: [18:39:26] <patricknelson> I did come here originally for a question but may start idling here more often.
581: [18:39:51] <patricknelson> Q: The '3' branch. What becomes of it? Will that be the source of 3.x or will that be merged into 3.2.x?
582: [18:40:37] <muskie9> 3 branch will become 3.x, so 3.3 afaik... 3.2 is the working branch for 3.2.x, master branch is 4.x
583: [18:41:20] <muskie9> 3.2 is in rc2 atm... 3.1.15 is the current stable release... 3.2.0 should be coming out next month iirc
584: [18:41:23] <patricknelson> for example, is what's in there now going to end up being 3.3? I heard from Damian (tractorcow) that v4 will hopefully be released sometime "early next year", re: https://github.com/silverstripe/silverstripe-framework/pull/4664#issuecomment-146322615
585: [18:42:05] <muskie9> ya, 3 will go into 3.3... and worked into v4 (master) depending
586: [18:42:22] <patricknelson> i've been posting in so many pr's/issues that can't find off hand where, but I want to think the release might actually be THIS month (for 3.2.0)
587: [18:42:58] <patricknelson> oh i see :( I've got some items I've submitted long long ago which, imho, are bug fixes and not necessarily feature requests, but are now needing to be rebased on 3 instead of 3.1
588: [18:43:08] <patricknelson> since they're so old, they were based on 3.1
589: [18:43:15] <muskie9> that could be, I remember hearing "next month" at some point... can't remember when it is... I just always say next month lol
590: [18:43:32] <patricknelson> I'd prefer to rebase on 3.2 (as a bug fix) and then see it come out in v3.2.1
591: [18:43:32] <muskie9> ya, that could become a pain
592: [18:44:11] * oddnoc has joined #silverstripe
593: [18:44:28] <patricknelson> yeah.
594: [18:44:37] <patricknelson> pr's in question at the moment are: https://github.com/silverstripe/silverstripe-cms/pull/1287 and https://github.com/silverstripe/silverstripe-framework/pull/4393
595: [18:45:22] <patricknelson> I suppose the first one (for CMS) about validation is fuzzy.
596: [18:45:59] <patricknelson> it's hairy since I've had to commit the framework and CMS code in my local site repository in order to manually maintain these changes so it's cumbersome tracking those changes whilst still staying up-to-date with security fixes and etc.
597: [18:46:08] <patricknelson> already about 2-3 patches behind :-\
598: [18:46:16] * patricknelson /grumble
599: [18:51:40] * Sygmoral quit (Quit: Page closed)
600: [18:52:08] * nathanz quit (Quit: Leaving.)
601: [18:56:55] * Stomach has joined #silverstripe
602: [19:03:15] <patricknelson> jeez. work network blocks all irc ports. will have to setup a damned ssh tunnel just to use irc.
603: [19:06:45] <muskie9> yikes! I work from home, so don't have to worry about that ;P
604: [19:09:59] * patnelson has joined #silverstripe
605: [19:09:59] <ss-helper> patnelson: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
606: [19:11:08] * DanaeNZ has joined #silverstripe
607: [19:14:06] * Matt_ has joined #silverstripe
608: [19:14:29] * Matt_ is now known as Guest94810
609: [19:15:08] * patnelson has left #silverstripe
610: [19:15:19] * DanaeNZ quit (Ping timeout: 240 seconds)
611: [19:15:23] <Guest94810> Hi all. I'm using the upload field for image upload in pages. Is there a way of setting a minimum size for images (height and width rather than file size)?
612: [19:15:27] * patnelson has joined #silverstripe
613: [19:16:00] <patnelson> sorry, testing a different setup here so I can be here more regularly.
614: [19:16:28] <patricknelson> asdf
615: [19:18:50] * Guest94810 is now known as Parker1090
616: [19:18:54] * patnelson quit (Remote host closed the connection)
617: [19:19:28] <muskie9> Guest94810 not sure that's possible pre-upload... but using public function validate(){} on your page you might be able to check the width/height and check if it's the right size...
618: [19:19:51] <muskie9> you'd have to remove the file though to keep your assets clean
619: [19:20:28] <Parker1090> Not too worried about pre-upload if I'm honest, as long as I'd be able to issue a warning or prevent it in someway
620: [19:21:00] * patricknelson quit (Ping timeout: 246 seconds)
621: [19:21:41] <muskie9> ya, validate is probably your best bet as it won't save the relation if your parameters aren't met
622: [19:22:10] <Parker1090> Ok, thanks :)
623: [19:23:03] <muskie9> Parker1090 something along these lines: https://gist.github.com/muskie9/c505785c4b9c194bf142
624: [19:23:48] <Parker1090> Ooo, thank you
625: [19:24:35] <muskie9> the image will still be uploaded, so you may want to add something to delete the image if it is too small
626: [19:24:50] <muskie9> or at least I think it'll still be uploaded
627: [19:25:13] <Parker1090> I'll give it a go now
628: [19:26:20] <Parker1090> It works (although just shows 'Forbidden'), and the image wasn't uploaded
629: [19:26:41] <Parker1090> Oh sorry - I lie
630: [19:26:44] * helenclarko has joined #silverstripe
631: [19:26:54] <Parker1090> It's there, it just didn't show until I clicked 'sync files' in the files part
632: [19:28:41] * patnelson has joined #silverstripe
633: [19:30:02] <patnelson> so do you guys think we'll even be having a v3.3 or will we be going straight to v4?
634: [19:31:24] <muskie9> I think there could be, I've heard future minor releases won't take as long as 3.2, late 3.1 was when they made the full switch to semvar, so that pushed 3.2 back a bit
635: [19:31:54] <patnelson> yeah... a bit :D
636: [19:32:38] * nathanz has joined #silverstripe
637: [19:32:44] <patnelson> quoth the damian ... " 3.2 is the only disaster release that should ever take as long as it has" https://github.com/silverstripe/silverstripe-framework/pull/4664#issuecomment-146322615
638: [19:33:01] <muskie9> lol, yup!
639: [19:33:04] * nathanz quit (Client Quit)
640: [19:35:23] * jules0x has joined #silverstripe
641: [19:36:53] <Stomach> 3 took forever too...
642: [19:36:53] <Stomach> LD
643: [19:37:18] <patnelson> yo @spekulatius!
644: [19:37:49] <patnelson> if you see this -- consider this a poke for https://github.com/thisisbd/silverstripe-maintenance-mode/issues/12
645: [19:38:37] * DanaeNZ has joined #silverstripe
646: [19:39:39] <helenclarko> patnelson, Lol, "down for scheduled maintenance".
647: [19:40:06] * terryapodaca has joined #silverstripe
648: [19:40:16] <patnelson> ?
649: [19:40:41] <terryapodaca> ok, Im finally going to learn Composer,
650: [19:40:43] <patnelson> it's a module built to allow you to easily toggle a broad site-wide maintenance message via checking a checkbox in the CMS settings section.
651: [19:41:11] <patnelson> and I think the error he's getting is because he's using an SS version that predates some general bug from back in 2014 (super outdated)
652: [19:41:16] * patnelson shrugs
653: [19:41:20] <terryapodaca> I'm on a Windows machine...do I simply use the built in cmd.exe or is there a better command line replacement?
654: [19:41:33] <muskie9> patnelson does that module work if you need to push new model updates? in other words, does it prevent server errors if no dev/build has been run yet?
655: [19:42:02] <patnelson> terrypodaca - yeah. it's best if you run composer from the development environment that's actually executing PHP.
656: [19:42:23] <patnelson> since composer checks system requirements as well, e.g. may end up requiring php 5.4 and your system doesn't have it installed at all, etc.
657: [19:42:44] <terryapodaca> I have xampp installed locally
658: [19:42:48] <patnelson> muskie9 - model updates?
659: [19:42:55] <patnelson> so -- just to use IT you'd need to run dev/build
660: [19:42:58] <patnelson> so it can build out schema.
661: [19:43:11] <patnelson> since it has it's own dataobject/model ... UtilityPage (extends Page)
662: [19:43:19] <muskie9> if I changed some $db = array('SomeNewField' => 'Varchar'); and need to dev/build, but haven't yet
663: [19:43:33] <patnelson> as long as it ALREADY exists (the maint mode module)
664: [19:44:00] <patnelson> also FYI I'd recommend against doing this: array('SomeNewField' => 'Varchar')
665: [19:44:07] <patnelson> you should be explicit with field size.
666: [19:44:12] <patnelson> i.e. array('SomeNewField' => 'Varchar(255)')
667: [19:44:21] <patnelson> since the DEFAULT for 'Varchar' is actually 50
668: [19:44:36] <patnelson> while that's a good sane default, I've ended up with some unexpected truncation on that one.
669: [19:44:44] <patnelson> 8-)
670: [19:44:58] <muskie9> just meant for when I'm deploying updates to an existing project... currently we take the site down (with htaccess), push updates, re-enable the site, dev/build/flush and all set
671: [19:45:23] <patnelson> also good, if you're interested in modifying database schema explicitly (imperatively) you can look into my module (spamming): https://github.com/patricknelson/silverstripe-migrations
672: [19:45:38] <patnelson> right.
673: [19:45:47] <patnelson> maybe you should research something like capistrano! :D
674: [19:46:06] <patnelson> granted, sometimes database changes necessitate temporary downtime.
675: [19:46:16] <muskie9> ya, we need to figure out new deploy tools, hoping we get something new worked out soon...
676: [19:46:44] <muskie9> and unfortunately the client this is really an issue for requires an ftp upload on a vpn
677: [19:46:44] <patnelson> make sense
678: [19:46:54] <patnelson> do you have ssh access?
679: [19:47:09] <patnelson> or are you actually uploading over plaintext FTP?
680: [19:47:10] * patnelson gasp
681: [19:48:01] <muskie9> sftp, limited access... they have a contract with a hosting company for all their sites and they limit some things unfortunately
682: [19:48:05] <muskie9> it's been a pain
683: [19:48:09] <patnelson> ok, so you've got ssh then.
684: [19:48:13] <oddnoc> beam (https://github.com/heyday/beam) is nice if you have ssh & rsync
685: [19:48:28] <muskie9> their vpn messes up our local vagrant instances too for some reason
686: [19:48:31] <patnelson> i believe i've setup a command somewhere to toggle maintenance mode via CLI not just via settings in the CMS.
687: [19:48:36] <patnelson> i wonder if I should do a PR for that.
688: [19:48:52] <muskie9> that'd be a nice feature
689: [19:49:12] <DanaeNZ> morning chatterboxes
690: [19:49:45] <patnelson> heh yeah I do have it...
691: [19:49:46] <patnelson> sake dev/tasks/MaintenanceMode [on|off]
692: [19:49:54] <patnelson> i'm thinking he might like that.
693: [19:49:56] <helenclarko> DanaeNZ, EH!! o/
694: [19:50:05] <DanaeNZ> need coffeee :3
695: [19:50:18] * helenclarko got coffee
696: [19:50:18] <patnelson> morning.
697: [19:50:25] <patnelson> it's 4pm here but.. still.
698: [19:50:31] <helenclarko> Filtered!
699: [19:50:32] <DanaeNZ> do it patnelson
700: [19:51:01] <muskie9> well, I gotta run... I'll keep an eye on that module patnelson
701: [19:51:08] <patnelson> k cya
702: [19:51:11] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
703: [19:51:21] <patnelson> yeah it looks like my code is already abstracted enough to make a PR for it pretty easily, brb
704: [19:57:57] * glenn-bautista has joined #silverstripe
705: [19:58:17] * joelpittet quit (Remote host closed the connection)
706: [19:58:17] * glenn-bautista quit (Read error: Connection reset by peer)
707: [19:58:21] * glenn-bautista1 has joined #silverstripe
708: [20:04:56] * chocolatemoose has joined #silverstripe
709: [20:07:05] <Sphere> \o
710: [20:07:57] <oddnoc> Can I generate any interest in fixing CMS #1142? https://github.com/silverstripe/silverstripe-cms/issues/1142
711: [20:09:12] * DanaeNZ quit (Remote host closed the connection)
712: [20:09:17] <patnelson> oddnoc i don't get that error.
713: [20:09:20] <patnelson> I'm forced to login
714: [20:09:28] <patnelson> have you tried that in a private window (incognito, in chrome)?
715: [20:09:28] * micmania1 has joined #silverstripe
716: [20:09:46] <oddnoc> patnelson: It works as expected if the page’s stage and live content differ.
717: [20:09:52] <patnelson> oh i see
718: [20:09:58] <patnelson> so what information gets exposed again?
719: [20:10:19] <oddnoc> If your page references other versioned content, it exposes the stage content
720: [20:10:30] <patnelson> i see
721: [20:10:52] * DanaeNZ has joined #silverstripe
722: [20:11:08] <patnelson> i'm not sure the issue describes the issue :D i could be wrong.
723: [20:11:17] <patnelson> like, what do I do to reproduce the bug, specifically?
724: [20:11:26] <patnelson> what does "referenced" *really* mean?
725: [20:11:30] <DanaeNZ> - primal screaming -
726: [20:11:34] <DanaeNZ> COOOOFFFEEEEEEE
727: [20:13:21] <oddnoc> At one level, the bug is that an anonymous user does not get a permission failure when saying stage=Stage. To see the impact of the bug, consider a home page that lists recent blog posts. If a user can turn on stage mode, they’ll see future blog posts.
728: [20:14:32] <patnelson> interesting.
729: [20:14:36] <patnelson> i see what you mean now.
730: [20:14:54] * cupcake quit (Ping timeout: 246 seconds)
731: [20:15:06] <patnelson> i noticed that the bug also causes other unexpected results.
732: [20:15:36] <oddnoc> I hope someone from core can review the patch and help me figure out a test that actually works.
733: [20:15:37] <patnelson> say you access the site with /?stage=Stage but don't have any draft (staged) content. it will still switch the stage, but will redirect you to the login url if you do attempt to access content that IS indeed staged.
734: [20:15:43] <patnelson> kind of stupid.
735: [20:15:51] <oddnoc> that, too
736: [20:15:58] <patnelson> pretty stupid that it doesn't require auth in the first place; you shan't access any sort of "stage" if you're anon.
737: [20:16:04] * patnelson lolwtf
738: [20:16:18] <patnelson> (facepalm)
739: [20:16:33] <patnelson> DanaeNZ may need moar coffee :)
740: [20:16:43] <oddnoc> It’s complicated by the little-known setting that allows anonymous viewing of staged content.
741: [20:17:54] <patnelson> oddnoc -- personally i'd see this as at least a lower level security issue. check this page out http://www.silverstripe.org/software/download/security-releases/
742: [20:18:15] <patnelson> they've got a bit of a process to help notify them behind the scenes. i think it's worth trying that route too since you can send an email
743: [20:18:27] <oddnoc> That’s the thing, I did send an email.
744: [20:18:31] <patnelson> specifically -- security@silverstripe.com
745: [20:18:39] <oddnoc> to that address
746: [20:19:40] <patnelson> with jono joining the team maybe he'll have a moment to review.
747: [20:20:31] * UndefinedOffset quit (Quit: Leaving.)
748: [20:21:41] <patnelson> wish I could help more -- but i'll be watching that issue so i'm interested in a resolution to that too
749: [20:21:50] <oddnoc> cool, thanks
750: [20:21:52] <patnelson> obviously that's not something I want sitting around on my site too.
751: [20:22:15] * Copperis quit (Quit: Leaving)
752: [20:34:17] * Parker1090 quit (Quit: Page closed)
753: [20:35:19] <Stomach> oddnoc - UncleCheese and I fixed this but it was rejected
754: [20:35:46] <patnelson> btw what's unclecheese's actual first name?
755: [20:36:23] <Stomach> Aaron
756: [20:37:03] <patnelson> ah that's right.
757: [20:39:23] <oddnoc> Stomach: Oh, I was not aware of that
758: [20:41:04] * Stomach quit (Ping timeout: 272 seconds)
759: [20:41:22] <patnelson> damn he's gone
760: [20:41:34] <patnelson> was going to ask if he could reference the PR or Issue #
761: [20:42:21] * Stomach has joined #silverstripe
762: [20:42:53] <patnelson> Stomach -- got an issue/pr referencing the fix for the issue that oddnoc was talking about? his issue is https://github.com/silverstripe/silverstripe-cms/issues/1142
763: [20:43:33] * Stomach quit (Read error: Connection reset by peer)
764: [20:43:59] * Stomach has joined #silverstripe
765: [20:45:42] <Stomach> patnelson - https://github.com/silverstripe/silverstripe-cms/blob/3/code/model/SiteTree.php#L921
766: [20:46:03] <Stomach> that line shouldnt be there IMHO
767: [20:49:01] <oddnoc> Yes, my patch centers there, too. Why was this rejected?
768: [20:50:01] * antmas has joined #silverstripe
769: [20:50:20] <antmas> morning all o/
770: [20:50:52] <DanaeNZ> eyo
771: [20:51:12] * joelpittet has joined #silverstripe
772: [20:52:08] <helenclarko> woop o/ wooop \o woop \o/
773: [20:55:06] <antmas> awwww yiiis mutha fuckin friday
774: [20:55:14] <Stomach> oddnoc - not sure, it was an internal discussion at SS
775: [20:58:10] <patnelson> still thursday here :(
776: [20:58:28] <antmas> patnelson: dat name
777: [20:58:30] <antmas> :O
778: [20:58:49] <patnelson> yeah -- i was wondering not doing "pat" but instead "patrick"
779: [20:58:54] <patnelson> too anymous?
780: [20:58:57] <antmas> no no no
781: [20:58:57] <patnelson> anonymous*
782: [20:59:02] <patnelson> trolol.
783: [20:59:03] <antmas> my name is pat
784: [20:59:05] <patnelson> oh
785: [20:59:07] <antmas> and I'm from Nelson
786: [20:59:08] <antmas> LOL
787: [20:59:17] <patnelson> Stomach -- I think I had issues w/ that method and maybe even that particular line!
788: [20:59:24] <patnelson> no. no i have not, delete that.
789: [20:59:34] <patnelson> antmas it's always great to have a generic name :-\
790: [20:59:49] <Stomach> at least you aren't named after a woman
791: [20:59:51] <antmas> :D
792: [21:00:02] <antmas> Stomach: Stevie Nicks?
793: [21:00:06] <Stomach> boom
794: [21:00:14] <antmas> boomtown
795: [21:00:24] <helenclarko> BoomFunk MC's
796: [21:00:35] <chocolatemoose> f-f-f-f-freeeeeeestylaaaa
797: [21:00:43] <helenclarko> Thats pretty Neat!
798: [21:00:53] <antmas> in stereo with the freestyllllaaa
799: [21:00:58] <patnelson> yay for more crazy/weird errors! let's go ONE MORE DEEPAHHH https://github.com/silverstripe/silverstripe-cms/issues/1294
800: [21:01:05] <patnelson> error in error page.
801: [21:01:06] <patnelson> lol
802: [21:02:14] <oddnoc> Find all the bugs!
803: [21:02:29] <patnelson> like, I end up down this rabbit hole. I wanna test something (a module) that relates somewhat to error pages, so I go to a fresh install, save it and end up with that error
804: [21:02:54] <patnelson> maybe it's a good thing being ADD, meaning I have no issue tangenting to the 4th degree
805: [21:06:01] <DanaeNZ> Neat
806: [21:06:55] <patnelson> not sure if sarcastic :P
807: [21:07:20] <patnelson> DanaeNZ -- do you work for SS or do you just happen to be in NZ?
808: [21:07:32] <chocolatemoose> that's pretty neat
809: [21:07:33] <DanaeNZ> Oh I just jumped in randomly
810: [21:07:40] <DanaeNZ> yeah I'm in NZ don't work for SS tho
811: [21:09:48] <antmas> only a few people here work for SS
812: [21:09:56] <patnelson> oh ok
813: [21:10:32] <patnelson> so... here: https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/ErrorPage.php#L255
814: [21:10:50] <patnelson> if you wanted to register an error at THAT level (under ->doPublish()), would you just use user_error() function and that's it?
815: [21:11:05] <patnelson> for some reason this code is attempting to register the error via a response object ... from a data model.
816: [21:11:09] <patnelson> lolwtf, so much wat.
817: [21:11:22] <patnelson> could be a copy/paste error.
818: [21:12:41] <patnelson> seems like yeah that'd be the best route: https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L1141
819: [21:14:03] * antmas quit (Ping timeout: 246 seconds)
820: [21:16:17] * antmas has joined #silverstripe
821: [21:16:43] * micmania1 quit (Quit: micmania1)
822: [21:17:04] * micmania1 has joined #silverstripe
823: [21:17:20] <antmas> micmania1: areet
824: [21:17:28] <micmania1> antmas: areeet like
825: [21:18:20] <patnelson> hello there micmania1
826: [21:18:33] <micmania1> patnelson: hey :)
827: [21:18:55] <chocolatemoose> o/
828: [21:19:04] <patnelson> say i've got an error in a datamodel save/write operation... would user_error() be the best method of registering said error?
829: [21:19:59] <patnelson> I was thinking that here: https://github.com/silverstripe/silverstripe-cms/blob/3.2/code/model/ErrorPage.php#L260 since a response object isn't (won't, shouldn't be) available, that maybe user_error() akin to this would be better: https://github.com/silverstripe/silverstripe-cms/blob/3.1/code/model/SiteTree.php#L1141
830: [21:20:27] <patnelson> sorry for mixing up branches ^ (3.2 should be 3.1 for comparison)
831: [21:21:21] <micmania1> patnelson: if the error is because of validation, then throw new ValidationException inside of the validate method of your DataObject.
832: [21:22:11] <patnelson> well, i'm trying to find a solution to the issue I posted about a pretty deep error (albeit maybe marginal fringe issue) -- https://github.com/silverstripe/silverstripe-cms/issues/1294
833: [21:22:40] <patnelson> in this case, the validation is there. in ->doPublish() and/or ->writeStaticPage()
834: [21:24:02] <patnelson> also micmania1 i agree VERY much that exceptions should be used here and pretty much everywhere in this system, not these zaney user_errors().
835: [21:24:52] <patnelson> so much so i've hacked around it myself a few times, example: https://github.com/patricknelson/silverstripe-migrations/blob/master/code/MigrateTask.php#L76 :D
836: [21:25:19] <micmania1> oh, if its a bug in core then I’d just submit a PR and use a fork until it gets merged.
837: [21:25:31] <patnelson> yeah. hm
838: [21:25:43] <patnelson> ok here's a fun question:
839: [21:25:52] <micmania1> It doesn’t look like $errorFile is defined.
840: [21:25:55] <patnelson> it affects branches 3, 3.1, 3.2 and master. what do?
841: [21:26:07] <patnelson> heh. that's a lot of forkin'
842: [21:26:14] <micmania1> Submit to 3.1 and a core dev will merge it up
843: [21:27:21] <patnelson> it looks like i may want to do two pr's. 3.1 and then 3.2
844: [21:27:39] <patnelson> I say that because the structure there (see the issue links) differs starting in 3.2
845: [21:27:50] <patnelson> and is inherited in 3 and master.
846: [21:28:12] <patnelson> also -- after having chatted several times with Damian, I'm aware that very little/view things are making it to 3.2 due to the push for release on that.
847: [21:28:15] <patnelson> so i'd better boogie.
848: [21:28:48] <patnelson> oh -- and not only is $errorFile undefined, $this->response is also undefined -- call a method on that and it explodes.
849: [21:28:52] * patnelson boom.
850: [21:31:40] <patnelson> seems like an error at this level should still propagate its way up to the request/view layer so the user sees at least there was an issue processing the request.
851: [21:33:13] * irogue has joined #silverstripe
852: [21:34:56] <oddnoc> I think ErrorPage needs some TLC. Error pages are kind of important, and they’ve always seemed like an afterthought in SilverStripe.
853: [21:35:19] <patnelson> yep. i'm tlc'ing as hard as I can. I don't think I can tlc any harder.
854: [21:37:28] <antmas> tlcing intensifies
855: [21:38:32] * patnelson hng
856: [21:39:44] <irogue> oddnoc, patnelson: I'd be quite keen to see a bullet-point list of things you'd like fixed/changed in ErrorPage - seems like it'd be a relatively easy thing for me to help give some TLC to :)
857: [21:39:51] <irogue> perhaps on uservoice? https://silverstripe.uservoice.com/forums/251266-new-features
858: [21:40:29] <oddnoc> Yup. I think I can come up with some
859: [21:43:18] <patnelson> in my case i just noticed one bug
860: [21:43:26] <patnelson> I setup a PR here actually against 3.2
861: [21:43:55] <patnelson> now realizing maybe it should have been 3.1 since MY copy of 3.1 (in production ) happens to be different, but 3.1 and 3.2 are nearly identical in the area affected by that PR. https://github.com/silverstripe/silverstripe-cms/pull/1295
862: [21:44:48] <patnelson> I are dunce.
863: [21:44:49] <ss-helper> Re: Clearly, we should also have "should we drop PHP 5.4 support in SS4?" thread as well :-) - https://groups.google.com/d/msg/silverstripe-dev/7mVvhNNeNps/z_cpqjpuAgAJ
864: [21:45:25] <patnelson> nevermind I are a huge dunce, I was write...
865: [21:45:29] <patnelson> right*
866: [21:45:32] <patnelson> (facepalm)
867: [21:45:33] <patnelson> long day.
868: [21:46:14] <patnelson> got too many PHP storm windows open against different branches of SilverStripe CMS repo trying to debug this issue.
869: [21:47:42] <irogue> lol
870: [21:48:14] <antmas> I need a beer
871: [21:48:50] <oddnoc> antmas: Alcohol deficiency is always tragic
872: [21:49:24] <antmas> just one of those days where 1 tiny thing in the morining makes you think 'this day isn't going to be fun'
873: [21:49:25] <antmas> :|
874: [21:49:31] <antmas> morning*
875: [21:53:54] * Colin[pi] has joined #silverstripe
876: [21:53:56] <patnelson> so one issue/bug, but multiple PR's for different branches. yay.
877: [21:54:09] <patnelson> https://github.com/silverstripe/silverstripe-cms/pull/1295 + https://github.com/silverstripe/silverstripe-cms/pull/1296
878: [21:54:20] <Colin[pi]> o/
879: [21:55:38] <patnelson> good evening, colin
880: [21:58:38] <oddnoc> irogue: here’s a start https://silverstripe.uservoice.com/forums/251266-new-features/suggestions/10131402-errorpage-improvements
881: [21:58:50] * irogue slides antmas a bourbon
882: [22:00:23] <patnelson> oddnoc and irogue -- whoops, I totally forgot to mention there was a very in-depth email on the silverstripe-dev discussion list started by Jono himself here: https://groups.google.com/forum/#!searchin/silverstripe-dev/Proposal$20to$20overhaul$20error$20page$20management/silverstripe-dev/VFXrusjAnKE/49gfe_565gIJ
883: [22:00:52] <patnelson> it links to other related discussions and even an RFC I think.
884: [22:00:54] <patnelson> yeah RFC here: https://github.com/silverstripe/silverstripe-framework/issues/4149
885: [22:00:58] <patnelson> so ... there's that :D
886: [22:01:01] <Colin[pi]> irogue: ahem
887: [22:01:02] <oddnoc> ah ha!
888: [22:01:09] <irogue> patnelson: ah sweet
889: [22:01:25] <patnelson> and, more recently, there's been discussion on the... well... this.
890: [22:01:30] <patnelson> the disconnectedness of these things.
891: [22:01:42] <patnelson> thankfully we've got people to bring it together and w/ their institutional knowledge.
892: [22:01:46] <patnelson> otherwise this'd just fly apart
893: [22:02:36] <patnelson> https://groups.google.com/forum/#!searchin/silverstripe-dev/Where$20to$20discuss$20what/silverstripe-dev/DeLEi8yl0ew/YPnbwLbiAQAJ
894: [22:03:03] * patnelson mumbles about wishing google's DL would make it easy to just link to a damned email chain instead of having to search for it.
895: [22:04:11] <patnelson> ^ also I find that URL structure reprehensible.
896: [22:05:40] <DanaeNZ> ugh call conference at 11:30
897: [22:05:44] <DanaeNZ> I don't wanannnnaaa
898: [22:06:02] <helenclarko> Unplug phone?
899: [22:06:16] <DanaeNZ> harharhhhhh excellent idea
900: [22:06:26] <patnelson> solution: http://i.imgur.com/skSfvX2.gif
901: [22:06:44] <DanaeNZ> omg that so good
902: [22:06:49] <antmas> [10:58] * irogue slides antmas a bourbon
903: [22:07:00] * antmas takes bouron
904: [22:07:08] * antmas tips hat to barman irogue
905: [22:07:09] <helenclarko> Ah, Spock button!
906: [22:07:17] * DanaeNZ tips fedora
907: [22:07:23] <patnelson> lol
908: [22:07:25] <Colin[pi]> antmas irogue: AHEM
909: [22:07:40] <antmas> Colin[pi]: o/
910: [22:07:41] <antmas> HI
911: [22:07:41] <antmas> :D
912: [22:07:59] <Colin[pi]> ;P
913: [22:08:29] * irogue slides Colin[pi] a jagerbomb
914: [22:08:40] * Colin[pi] asplodes
915: [22:08:50] <patnelson> this early in the morning?
916: [22:08:55] <patnelson> you kiwi's are hardcore.
917: [22:08:57] * zippy has joined #silverstripe
918: [22:09:16] <zippy> > A V8 Supercars driver has copped a $AU25,000 fine for a sexist remark when referring to the all-female Bathurst 1000 duo Simona De Silvestro and Renee Gracie.
919: [22:09:18] <zippy> > When asked during a post-practice press conference about his Ford teammates, driver Dave Reynolds said: "Do you mean the pussy wagon?" prompting the hefty fine.
920: [22:09:20] <zippy> hahah
921: [22:09:27] <Colin[pi]> lol yeah I saw about that
922: [22:09:43] <zippy> how'd you think you'd get away with that!
923: [22:09:46] * aneesha has joined #silverstripe
924: [22:09:47] * irogue slides patnelson a shot of tequila
925: [22:09:49] <patnelson> also, when I was visiting SF I asked a guy who had an aussie accent if he was a kiwi. it 'bout knocked my block off right then and there.
926: [22:09:55] <zippy> at a press conference
927: [22:10:12] * patnelson gets drunk on first shot
928: [22:10:31] <antmas> zippy: LOL pwnd
929: [22:10:59] <oddnoc> I onced asked an Apple engineer if he was from Australia. He was from London. I stopped trying to guess accents after that.
930: [22:11:00] <Colin[pi]> antmas: wonder if he's thinking "totally worth it
931: [22:11:41] <Colin[pi]> oddnoc: I made the critical US / Canadian mistake once... "which part of the states are you from?" "Canada."
932: [22:11:44] <Colin[pi]> "whoops"
933: [22:11:49] <patnelson> i can pick out the difference between: south african, australian and english. I however cannot make out the difference between Australian and nz
934: [22:11:49] <antmas> lol
935: [22:11:59] <patnelson> that and canadian :D
936: [22:12:04] <oddnoc> Ask them to say “cache” :)
937: [22:12:05] <antmas> patnelson: it's pretty stark if you spend time around them :P
938: [22:12:15] <patnelson> so I guess when you get THAT regional, only if you're local can you really tell.
939: [22:12:19] <antmas> NZ sounds like robots
940: [22:12:26] <Colin[pi]> patnelson: yeah, the difference is, just remove the vowels from the words when you pronounce them, and you sound kiwi
941: [22:12:27] <antmas> most boring accent on the planet
942: [22:12:47] <oddnoc> Does the subsites module break the page history UI?
943: [22:13:27] <zippy> patnelson: this might help; https://www.youtube.com/watch?v=f2gii2nenUg
944: [22:13:52] <patnelson> Colin[pi] - as an american I think pretending to be a canadian abroad helps people take pitty on us instead of hate us
945: [22:14:20] <patnelson> well, less pity and more just not hating
946: [22:15:31] <patnelson> zippy -- nope.
947: [22:15:31] <Colin[pi]> patnelson: lol
948: [22:15:39] <patnelson> this lady though. https://www.youtube.com/watch?v=yEjIYJQ-NH8
949: [22:15:47] <patnelson> easy on the eyes, that gal.
950: [22:16:41] <patnelson> it's not quite "beeeg" ...
951: [22:16:48] <oddnoc> That’s it for me. I’m off to find some wine. Cheers.
952: [22:16:51] * oddnoc quit (Quit: beer:30)
953: [22:17:10] <irogue> <Colin[pi]> patnelson: yeah, the difference is, just remove the vowels from the words when you pronounce them, and you sound kiwi
954: [22:17:24] <patnelson> ^ how accurate is that video I linked?
955: [22:17:28] <irogue> and if you want to sound aussie just hold your nose and talk a bit slower :P
956: [22:17:38] <Colin[pi]> irogue: and be racist
957: [22:17:43] <antmas> LOL
958: [22:17:43] <irogue> yes
959: [22:17:48] <irogue> that is very important to seem legit aussie
960: [22:18:10] <irogue> just say "bloody lebos" every once in a while
961: [22:18:22] <patnelson> lebos?
962: [22:18:26] <Colin[pi]> Lebanese people
963: [22:18:29] <patnelson> ah.
964: [22:18:33] <patnelson> that and "ta" threw me off.
965: [22:18:42] <patnelson> "Like... ta ta? goodbye?"
966: [22:18:50] <Colin[pi]> no "ta" is more like "thanks"
967: [22:18:57] <patnelson> yeah I had to google it.
968: [22:19:10] <irogue> yeah ta = thanks but tata = goodbye
969: [22:19:15] <irogue> who the fuck knows why
970: [22:19:16] <Colin[pi]> hooroo!
971: [22:19:18] <patnelson> chilly bin
972: [22:19:26] <Colin[pi]> chully bun
973: [22:19:29] <irogue> chilly bin is just logical IMO
974: [22:19:37] <irogue> its a bin for keeping things chilly :P
975: [22:19:39] <Colin[pi]> yeah, wtf does "esky" even mean?
976: [22:19:45] <patnelson> i should probably visit NZ sooner or later. My boss is going in December.
977: [22:19:46] <irogue> Colin[pi]: and "doona"
978: [22:19:54] <Colin[pi]> lol doona
979: [22:19:58] <antmas> bottle-o is another one
980: [22:20:14] <irogue> patnelson: do it
981: [22:20:24] <antmas> patnelson: southern nz also has a different accent IMO
982: [22:20:29] <antmas> rolling 'R's etc
983: [22:20:39] <Colin[pi]> really? huh
984: [22:20:39] <irogue> yeah south island was mostly settled by scots
985: [22:20:40] <patnelson> wat? like a scott?
986: [22:20:47] <antmas> yeah kinda
987: [22:20:49] <irogue> especially around dunedin
988: [22:20:53] <antmas> mm
989: [22:21:04] <Colin[pi]> til
990: [22:21:09] <irogue> so there's quite a significant scottish influence to the accent
991: [22:21:12] <patnelson> she said "be careful about when you say 'scrubbing your deck', like the wooden surface on your boat"
992: [22:21:25] <irogue> ;)
993: [22:21:39] <patnelson> my old boss when I used to deliver pizza used to saw "Time to swab deck!"
994: [22:21:42] <irogue> patnelson: https://www.youtube.com/watch?v=hkmeoYKYctw
995: [22:21:44] <patnelson> or scrub deck.
996: [22:21:54] <Colin[pi]> lol irogue was about to link that
997: [22:22:17] <patnelson> oh. oh man.
998: [22:22:26] * patnelson laughs out loud.
999: [22:22:36] <Colin[pi]> Barbara always loves to receive my dick pucs
1000: [22:22:37] <Colin[pi]> lol
1001: [22:22:41] <antmas> staining the deck is worse :P
1002: [22:22:54] <patnelson> Causing deck splinters and discoloration? oh no. oh god no.
1003: [22:23:53] <antmas> 'I gotta take the kuds on a road trup up the coramandul'
1004: [22:32:27] * spronk has joined #silverstripe
1005: [22:45:03] * antmas quit (Ping timeout: 246 seconds)
1006: [22:48:58] <chocolatemoose> to catch fush?
1007: [22:58:18] <spronk> http://imgur.com/AtVyiyJ
1008: [22:58:19] <spronk> this is the funniest thing
1009: [22:58:22] <spronk> i have seen in ages.
1010: [22:59:35] * Azure quit (Ping timeout: 264 seconds)
1011: [23:01:24] <terryapodaca> hey guys, I'm running the XAMPP command line, one this Windows 7 machine, trying to learn Composer
1012: [23:01:36] <Colin[pi]> spronk: not like anyone at McD's is gonna read them
1013: [23:01:41] <terryapodaca> do I HAVE to have cURL?
1014: [23:01:56] * Azure has joined #silverstripe
1015: [23:02:13] <terryapodaca> I get this error "curl is not recognized as an internal or external command"
1016: [23:02:46] <irogue> https://getcomposer.org/doc/00-intro.md#locally
1017: [23:02:52] <irogue> you should be able to use the second method
1018: [23:03:04] <irogue> *but*
1019: [23:03:07] <chocolatemoose> I think you want this if you're installing on windows https://getcomposer.org/doc/00-intro.md#installation-windows
1020: [23:03:09] <irogue> i'd probably just use the windows installer :)
1021: [23:03:27] <irogue> ^^
1022: [23:03:30] <terryapodaca> OH THANK GOODNESS!!!!!
1023: [23:03:38] <terryapodaca> thanks chocolatemoose and irogue
1024: [23:04:48] * mahfuz has joined #silverstripe
1025: [23:10:03] <terryapodaca> Is Bower a similar thing to Composer?
1026: [23:10:06] * krofek__ quit (Ping timeout: 240 seconds)
1027: [23:10:15] <chocolatemoose> yes
1028: [23:10:30] <chocolatemoose> it's a package manager
1029: [23:10:49] <terryapodaca> I assume Composer it the better of the two?
1030: [23:10:56] <chocolatemoose> Composer is for PHP
1031: [23:11:06] <terryapodaca> oh wait, they are different
1032: [23:11:08] <terryapodaca> yeah,
1033: [23:11:27] <terryapodaca> PHP vs Client side (like js libraries)
1034: [23:11:31] <chocolatemoose> yeah
1035: [23:16:54] * elgabbu quit (Ping timeout: 246 seconds)
1036: [23:19:23] <patnelson> terryapodaca - yeah basically. it's also comparable to npm, except npm (currently, newer version at least is better) has indefinitely nested dependencies
1037: [23:20:14] <patnelson> its definitely more similar to composer since yes it is flat and gets installed primarily to a single directory, i.e. ./bower_components/*
1038: [23:20:18] <patnelson> like php's "vendor"
1039: [23:21:26] <patnelson> except even with composer, they at least have a two directory grouping (provider -> package name) whereas with bower, more like npm, it's straight up "package" and that's it.
1040: [23:21:45] <terryapodaca> makes sense
1041: [23:22:03] <terryapodaca> I won't tackle Bower any time soon, as long as SS doesn't start using it
1042: [23:22:12] * aneesha quit (Remote host closed the connection)
1043: [23:22:17] <patnelson> e.g. bower_components/[package] vs. npm's node_modules/[package]/node_modules/[package]/.... and composers ./vendor/[provider]/[package]
1044: [23:22:58] <patnelson> i use it in my project. mainly just for managing my deps directly. pretty simple at least. define a bower.json, run 'bower install' and then manually copy over what I need to the appropriate locations
1045: [23:23:19] <patnelson> in this case since I'm also using grunt, it'll just be automatically compiled/minified into the project's final built head/foot javascript files (upon deploy)
1046: [23:23:27] <patnelson> which is another beast in its own right :)
1047: [23:23:42] * patnelson takes a breath
1048: [23:23:44] <terryapodaca> ugghhhh
1049: [23:24:14] <patnelson> why'd you ask, btw?
1050: [23:24:44] <terryapodaca> I'm just now learning to use Composer for SS, on my local machine for now
1051: [23:24:58] <terryapodaca> and while searching for info on COmposer, Bower showed up
1052: [23:25:02] <patnelson> oic right.
1053: [23:25:25] <terryapodaca> it seems like Composer and Bower are widely used
1054: [23:25:28] <patnelson> now if only SilverStripe started really embracing namespaces.
1055: [23:25:40] <patnelson> then it'd be properly on board with composer and the REST of the PHP community.
1056: [23:26:01] <patnelson> composer is VERY widely used. bower right now I think is fairly widely used
1057: [23:26:18] <patnelson> however, it's actually becomming common to even use npm for bringing in not only server-side JavaScript modules, but even client-side stuff
1058: [23:26:29] <patnelson> cuckolding bower a bit, in that department.
1059: [23:26:32] <terryapodaca> I'm an old school guy and still download zip files, manually install, and run the dev/build
1060: [23:26:39] <patnelson> gasp.
1061: [23:26:45] <patnelson> do you also manually FTP the files to?!
1062: [23:26:52] <terryapodaca> absolutely
1063: [23:26:57] * patnelson wargarble
1064: [23:27:00] <patnelson> PLAINTEXT?!
1065: [23:27:12] <terryapodaca> I also still use notepad++
1066: [23:27:17] <patnelson> nothing wrong w/ that.
1067: [23:27:31] <terryapodaca> well, when I'm not doing .NET work in VS
1068: [23:27:56] <terryapodaca> I don't use LESS or SASS, and I can't stand react.js
1069: [23:28:11] <terryapodaca> I hand code everything from the ground up
1070: [23:28:14] <patnelson> those two aer completely different things
1071: [23:28:22] <patnelson> 2 because less/sass are not completely different :D
1072: [23:28:25] <terryapodaca> oh, I know
1073: [23:28:38] <terryapodaca> I'm just venting...:D
1074: [23:28:47] <patnelson> I inferred that through the old school comment combined with now learning composer.
1075: [23:29:20] <patnelson> trust me when I say that if/when you get used to composer, you'll realize it's great. especially if you're a hand's on barebones dev.
1076: [23:29:37] <patnelson> that's because you can actually just use composer's built in autoloader to handle loading classes for you without any sort of framework
1077: [23:29:39] <terryapodaca> I'm sure I'll eventually like it
1078: [23:29:59] <patnelson> then you can pick and choose "yep I want this for my MVC, I want this for database, I want this for email, I want this for [whatever]"
1079: [23:30:16] <patnelson> and in your code/bootstrap/whatever you just include the autoloader and instantiate what you need.
1080: [23:30:28] <patnelson> btw, if you're ground up -- I'd recommend Laravel.
1081: [23:30:31] <patnelson> that's also "popular"
1082: [23:30:54] <patnelson> I came FROM laravel (I work on very large, long running projects) and chose SilverStripe for a large site
1083: [23:31:06] <patnelson> well, from Laravel on Project A and selected SilverStripe for project B
1084: [23:31:21] <patnelson> (project B was content-heavy, in need of a legit CMS)
1085: [23:31:23] <terryapodaca> yeah, I've played around with Laravel
1086: [23:31:44] <patnelson> it's great
1087: [23:31:58] <patnelson> I really wish I could eviscerate SilverStripe's framework and replace it with Laravel.
1088: [23:32:04] <patnelson> i'd be so freakin' happy.
1089: [23:32:12] <spronk> amen
1090: [23:32:17] <patnelson> but alas, too tightly bound
1091: [23:32:34] <spronk> laravel has some rough edges too
1092: [23:32:45] <spronk> taylor needs to give up control
1093: [23:33:08] <spronk> some weird decisions, and SE concepts that have been misapplied a bit, but overall man what a refreshing framework to work on
1094: [23:33:21] * joelpittet quit (Remote host closed the connection)
1095: [23:33:55] <terryapodaca> I came from originally being a pure Java developer so I can appreciate a good framework
1096: [23:34:14] <terryapodaca> not java as in some people thing is the same as javascript
1097: [23:34:43] <patnelson> right. I don't come from Java but from what I read/study of Java, reading through Laravel seemed to poke that part of my brain a bit.
1098: [23:34:45] <terryapodaca> then I switched companies and did both Java and .NEt, then they switched paths to Python development
1099: [23:35:16] <patnelson> I actually liked the high degree of strong typing and etc. I've been doing what I can by way of various PR's to clean up SilverStripe to ensure it's more stringent on it's typing.
1100: [23:35:27] <patnelson> on the .NET side -- C#?
1101: [23:35:45] <patnelson> it's funny that they went from .NET to Python :D
1102: [23:35:57] <patnelson> different tools for different jobs, for sure (i'd say at least)
1103: [23:36:30] <terryapodaca> switched jobs again (best thing I did) and now we do .NET for our large companies like GE and with the more simple projects they let me use what ever I want, so I chose Silverstripe
1104: [23:36:52] <patnelson> oh interesting, that makes a lot of sense then.
1105: [23:36:52] <terryapodaca> patnelson: both C# and ASP.NET and here recently ASP.NET MVC
1106: [23:37:00] * Azure quit (Remote host closed the connection)
1107: [23:37:32] <patnelson> SilverStripe should be a very good tool if you're needing a robust CMS.
1108: [23:38:18] <terryapodaca> yeah, that's why I chose it, the CMS capabilities for the end client/user, plus the customization we can do as developers
1109: [23:38:45] <terryapodaca> this company I work for now use to use Wordpress for the smaller clients, but once I showed them this, they LOVED it
1110: [23:38:46] <patnelson> i actually specialized for a good 7.5yrs at my last company working on my own custom CMS, dabbling a bit back then in Laravel but also my own custom framework/cms/etc. I found that SilverStripe actually ticked A LOT of very good boxes in terms of features. Now I spend some time getting into the guts trying to weed out some of the deeper bugs and hopefully making it better.
1111: [23:39:01] <patnelson> right. the site I'm working on right now came from drupal.
1112: [23:39:10] <patnelson> wordpress is nice
1113: [23:39:16] <patnelson> but only if it's already built for you
1114: [23:39:29] <patnelson> if you need to get under the hood and tweak stuff, Silverstripe is hands down way better
1115: [23:39:36] <terryapodaca> right, development for them that took two weeks I could get done in less than a week with SS
1116: [23:39:44] <patnelson> it's still fairly OLD so it's got some legacy issues, but I think they're doing a good job modernizing a lot of it for v4
1117: [23:40:03] <patnelson> and not only 2 weeks -- 2 PAAAINFULL and entirely procedural weeks.
1118: [23:40:08] <patnelson> all functions just functions.
1119: [23:40:11] <patnelson> functions everywhere
1120: [23:40:16] <terryapodaca> exactly
1121: [23:40:24] <terryapodaca> and I'll never touch drupal again
1122: [23:40:38] <patnelson> *at least* (in spite of its warts) SilverStripe is entirely OOP
1123: [23:40:42] <patnelson> same w/ drupal yeah.
1124: [23:41:02] <patnelson> I ended up migrating the content from drupal. it was all severely fucked up with bad encoding issues
1125: [23:41:09] <patnelson> thankfully I was able to setup something to fix the encoding issues
1126: [23:41:20] <patnelson> (that's something anyone could mess up though, not a drupal specific thing)
1127: [23:41:52] <terryapodaca> yeah
1128: [23:41:57] <patnelson> i made something to import both frameworks, SilverStripe and Drupal, and imported the content from Drupal by using drupals native functions, then imported it into SilverStripe using it's native ORM.
1129: [23:42:31] <patnelson> my poor developer colleague had to do something similar but for the company's wordpress version :D
1130: [23:42:48] <patnelson> another INTERESTING cms is craft.
1131: [23:42:58] <terryapodaca> before ALL this, and when it was new and fresh, I used CodeIgniter/ExpressionEngine
1132: [23:43:08] <terryapodaca> Craft?
1133: [23:43:11] <patnelson> I ended up NOT going with craft because 100% of the state and schema was, itself, contained in the database. reeked of WordPress in that sense. but it was flexible.
1134: [23:43:24] <patnelson> yeah, Craft CMS. it's fancy, but it's not flexible like silverstripe.
1135: [23:43:32] <patnelson> one thing I missed from Laravel was the ability to write database migrations
1136: [23:43:48] <patnelson> SilverStripe takes the perspective of being declarative in it's definition of database schema
1137: [23:44:01] <patnelson> but has no method to handle movement/migration/conversion of data, say if you're in a production environment.
1138: [23:44:02] <irogue> [12:25:31] <patnelson> now if only SilverStripe started really embracing namespaces.
1139: [23:44:03] <irogue> https://github.com/silverstripe/silverstripe-framework/issues/4562
1140: [23:44:20] <patnelson> ^ they have, just hoping it gets merged and goes live soon!
1141: [23:44:35] <patnelson> i just can't wait for it to go that way
1142: [23:44:46] * MarcGuay quit (Ping timeout: 240 seconds)
1143: [23:45:02] <patnelson> anyway -- craft CMS -- ALL configuration and setup of the CMS back-end and etc -- is maintained in the database itself
1144: [23:45:16] <patnelson> whereas, with my complicated multi-enviroment setup, I can configure (by CODE) what I need in SilverStripe
1145: [23:45:36] <patnelson> and just implemented my own migration module (which hopefully is going to be used more often now, https://github.com/patricknelson/silverstripe-migrations)
1146: [23:46:07] <terryapodaca> COOOOL!
1147: [23:46:19] <patnelson> in a system like wordpress/drupal/etc ... much too simplistic and way too centralized on the database itself. very monolithic.
1148: [23:46:40] <patnelson> you can't really separate the CMS structure/configuration as easily from the database content itself.
1149: [23:46:56] <patnelson> the DOWN side of that is that you have to be a developer
1150: [23:47:12] <patnelson> that's the trade off, which is obviously fine by me. diff tools for diff jobs
1151: [23:47:48] <terryapodaca> so are you a single entity or do you work for the man
1152: [23:48:00] <patnelson> i work for The Man (eBay)
1153: [23:48:08] <terryapodaca> ah, cool
1154: [23:48:16] <terryapodaca> not a bad man to work for
1155: [23:48:20] <patnelson> in this case nope
1156: [23:48:23] <Stomach> unsure whether ebay is the man or not :P
1157: [23:48:28] <Stomach> what about wheedle!
1158: [23:48:33] <Stomach> everyone forgets about wheedle
1159: [23:48:49] <patnelson> well, I think in terms of being one-off, running my own biz/shop
1160: [23:48:59] <terryapodaca> wheedle?
1161: [23:49:12] <patnelson> we're american Stomach, you'll have to bastardize your terminology.
1162: [23:49:34] <Stomach> a wanna-be trademe (nz ebay) competitor which was full of security holes and cost $2 million to build
1163: [23:49:35] <patnelson> (terry said 'amen' and IP originates from DFW)
1164: [23:49:40] <patnelson> i inferred.
1165: [23:49:51] <patnelson> lol oh ok
1166: [23:49:56] <Stomach> I forget that SSIRC is going international nowadays
1167: [23:50:03] <Stomach> used to just be the european and nz shifts
1168: [23:50:04] <irogue> patnelson: http://www.nzherald.co.nz/business/news/article.cfm?c_id=3&objectid=10837782
1169: [23:50:07] <terryapodaca> yes, I am in Fort Worth, and how the hell did youget my IP?
1170: [23:50:18] <patnelson> well I don't have much to do w/ the marketplace (ebay.com) as I work for ebayenterprise.com
1171: [23:50:25] <patnelson> it's IRC, terryapodaca
1172: [23:50:32] <Stomach> terryapodaca has userhost ~tapodaca@99-117-81-240.lightspeed.ftwotx.sbcglobal.net and real name "purple"
1173: [23:50:34] <patnelson> technically my IP will originate from there too actually but i'm in philadelphia
1174: [23:50:34] <irogue> he ended up sinking $10 million into it, Stomach
1175: [23:50:47] <Stomach> irogue - holy balls
1176: [23:50:56] <Stomach> should have just put it in a 2% per year bank account
1177: [23:50:57] <patnelson> i had to route my traffic through a cloud server to get past company firewall :(
1178: [23:51:16] <Stomach> `You are not authorized to access this page.`
1179: [23:51:17] <Stomach> :(
1180: [23:51:51] <patnelson> so we talkin' $10M US or NZ?
1181: [23:51:53] <patnelson> or AUD?
1182: [23:51:56] <irogue> patnelson: NZD
1183: [23:52:13] <patnelson> oh ok
1184: [23:52:21] <irogue> so ~6.7 million USD
1185: [23:52:24] <patnelson> still pretty fuckin' expensive
1186: [23:52:25] <patnelson> yeah.
1187: [23:52:38] <Stomach> so about £15.67
1188: [23:52:59] <irogue> patnelson: especially considering it probably had <1000 sales ever actually go through it
1189: [23:53:09] <patnelson> or about 2,411,703,249.93 ZWD
1190: [23:53:29] <Stomach> cheaper than Novopay
1191: [23:53:33] <patnelson> but that's assuming that we're talking about the 1 = 1 billion denomination, lolol
1192: [23:53:42] <patnelson> http://www.xe.com/currencyconverter/convert/?Amount=10000000&From=NZD&To=ZWD
1193: [23:53:48] <irogue> don't even get me started on novopay
1194: [23:53:57] <Stomach> Notice: The Zimbabwe dollar has been suspended indefinitely.
1195: [23:53:58] <Stomach> :(
1196: [23:54:04] <patnelson> hehe
1197: [23:54:06] <terryapodaca> alright guys, I gotta run
1198: [23:54:12] <patnelson> i will have to leave too
1199: [23:54:14] <patnelson> it's 8pm here
1200: [23:54:15] <terryapodaca> thanks for the COmposer help and info
1201: [23:54:16] <Stomach> see you terryapodaca and patnelson
1202: [23:54:22] <Stomach> see you both in the future :)
1203: [23:54:25] * irogue throws terryapodaca and patnelson ciders for the road
1204: [23:54:31] <terryapodaca> awesome!
1205: [23:54:32] <patnelson> yay, road sodas
1206: [23:54:43] <patnelson> that's what we call 'em in philly, anyway.
1207: [23:54:56] <irogue> "soda"
1208: [23:54:59] <terryapodaca> Stomach, us in the States are always in the past...by almost a full day
1209: [23:55:02] <terryapodaca> :/
1210: [23:55:04] <terryapodaca> ha
1211: [23:55:13] <irogue> patnelson: probably don't drink the cider on the road
1212: [23:55:27] <patnelson> why not?
1213: [23:55:28] <Stomach> semantics terryapodaca :P
1214: [23:55:28] <irogue> I think open container is illegal most if not all places in the US
1215: [23:55:35] <patnelson> you don't like the way I drive... get off the sidewalk.
1216: [23:55:36] <Stomach> brown bag that shit
1217: [23:55:47] <patnelson> obviously I'm being sarcastic
1218: [23:55:50] <patnelson> shit, I rarely drink
1219: [23:55:54] <patnelson> I have 2 beers and I'm already drunk.
1220: [23:55:55] <terryapodaca> oh, it's beer thursday, I'll have at least 6 "ciders" here in a bit
1221: [23:55:59] <patnelson> obviously I'm talking crap.
1222: [23:56:14] <irogue> i mean, i've drunk cider while driving, but its not illegal here :P
1223: [23:56:39] <terryapodaca> http://www.smithandforgehardcider.com/
1224: [23:56:42] <terryapodaca> :D
1225: [23:56:51] <terryapodaca> just kidding, though I have tried that and it's decent
1226: [23:57:04] <patnelson> i'm more of a beer drinker myself.
1227: [23:57:29] <irogue> i'm a big fan of this stuff: https://zt183.infusionsoft.com/app/storeFront/showProductDetail?productId=21
1228: [23:57:37] <terryapodaca> this is my usual: http://www.shiner.com/beer/bock
1229: [23:57:39] <irogue> cider with hops in it
1230: [23:57:45] <zippy> irogue: isn't there a law about having an open bottle while driving?
1231: [23:57:57] <irogue> zippy: not in nz. thats a very american thing
1232: [23:58:10] <irogue> the police will definitely frown at you but can't ping you
1233: [23:58:19] <patnelson> irogue i like that site design
1234: [23:58:19] <irogue> unless you're over the limit of course
1235: [23:58:22] <zippy> or would that be a problem in liquior ban areas and you're driving through
1236: [23:58:36] <irogue> zippy: yeah you could possibly get pinged in liquor ban areas
1237: [23:58:36] <patnelson> it's pretty messed up you can't get into trouble for that
1238: [23:58:42] <terryapodaca> aight, I'm out
1239: [23:58:46] <terryapodaca> later y'all
1240: [23:58:53] <patnelson> today they sent out a company wide email about a person at our company dying in a car crash, potentially related to drinking/driving
1241: [23:58:56] <patnelson> cya
1242: [23:59:09] <irogue> patnelson: driving drunk is still (very) illegal
1243: [23:59:18] <patnelson> right
1244: [23:59:19] <irogue> just not having alcohol on you while you're driving
1245: [23:59:22] * terryapodaca quit (Quit: Leaving.)

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