#silverstripe IRC Log

IRC log for 7 August 2013

All timestamps are in UTC.

1: [00:00:21] <Pyromanik> zippy__: page just needs a controller named <myclassname>_Controller
2: [00:00:36] <Pyromanik> to have ModelAsController find it.
3: [00:00:51] <Pyromanik> otherwise go for gold.
4: [00:00:54] <Pyromanik> extend whatever
5: [00:01:21] <Pyromanik> there is of course other ways to hide a page from the CMS
6: [00:01:23] <Pyromanik> like
7: [00:01:29] <Pyromanik> canCreate(){return false;}
8: [00:01:30] <Pyromanik> or
9: [00:01:42] <Pyromanik> BlahPage extends Page implements HiddenPage
10: [00:02:05] <Pyromanik> or from a child; public static $hide_ancestors = array('BlahPage');
11: [00:02:30] <Pyromanik> 13th line for luck.
12: [00:03:05] <zippy__> implements HiddenPage - intersting
13: [00:03:18] * Stomach quit (Quit: Leaving.)
14: [00:03:18] <zippy__> that extending page_controller will do the trick me thinks
15: [00:03:49] <UncleCheese> atmos: you could always create a function that returns HTML.. it wouldn't be very MVC, but it might be easier
16: [00:05:17] <ss23> Why the shit is Firebug included with the CMS.
17: [00:05:26] <ss23> Rather, /framework/
18: [00:05:42] <UncleCheese> atmos: something like this http://www.sspaste.com/paste/show/52018e8ed151c
19: [00:06:14] * Motoservo has joined #silverstripe
20: [00:07:38] <atmos> UncleCheese: thanks, I'll try it out
21: [00:11:25] * mobiusnz quit (Quit: Leaving.)
22: [00:11:29] <Pyromanik> ss23: it's not, it's some kind of "make firebug not completely spaz out" lib... so far as I'm aware
23: [00:11:43] <Pyromanik> probably completely wrong
24: [00:11:52] <Pyromanik> if it is, it'll be some legacy thing
25: [00:12:24] * Stomach has joined #silverstripe
26: [00:12:31] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
27: [00:13:31] * DigNZ quit (Quit: DigNZ)
28: [00:14:03] * mobiusnz has joined #silverstripe
29: [00:16:50] * nickspiel quit (Quit: Leaving)
30: [00:19:42] <zippy__> If you create a custom controller without a model. Will it automatically look for a template to match? The docs say it will but no more information. So if you had Setting_Controller will Setting.ss be looked for?
31: [00:21:46] <zippy__> it does :)
32: [00:23:08] <zippy__> hmmm the docs ( http://doc.silverstripe.org/framework/en/topics/controller ) say class MyController extends Controller -- but I thought the convention was class My_Controller extends Controller
33: [00:24:35] <ss23> s/on.error/\/* ASDFASDFASDFASDFASDFSDF ASDF ADSF ASDF ASDF ASDF *\//
34: [00:24:39] <ss23> fix da bugs
35: [00:27:59] <simon_w|air> lunch lunch lunch lunch
36: [00:28:31] <atmos> UncleCheese: not working unfortunately, it's still looking for the image and throwing a 404, with no text in it's place
37: [00:33:07] * mobiusnz quit (Quit: Leaving.)
38: [00:35:51] <UncleCheese> how are you implementing it?
39: [00:38:13] * priithansen quit (Quit: priithansen)
40: [00:38:30] <simon_w|air> zippy__, that convention's for controllers of specific models
41: [00:39:01] <atmos> UncleCheese: I've just used some js to replace the missing image with a default one. Cheers for you help though :)
42: [00:39:12] <UncleCheese> oh, dude
43: [00:39:14] <UncleCheese> that's fugly
44: [00:39:38] <atmos> UncleCheese: why?
45: [00:39:51] <UncleCheese> it's just lazy
46: [00:40:11] <UncleCheese> and it's an inappropriate dependency on JS
47: [00:42:09] <atmos> UncleCheese: ok fair enough, what about just allowing the img to have an alt?
48: [00:42:41] <atmos> UncleCheese: ...oh god
49: [00:43:44] * howardgrigg quit (Remote host closed the connection)
50: [00:44:26] <UncleCheese> If you just do $ImageOrNoImage
51: [00:44:37] <UncleCheese> i can't see how that would fail
52: [00:45:13] <UncleCheese> the only reason it would 404 is if is_file() is returning true
53: [00:46:57] <atmos> UncleCheese: wouldn't ensuring the images had alt text just address this issue?
54: [00:48:34] * Bollig|DesignCty has joined #silverstripe
55: [00:51:47] <spronk> bleh
56: [00:51:53] <spronk> where do you all get your prebuilt vms?
57: [00:52:03] <lewellyn> for which platform?
58: [00:52:15] <spronk> well, virtualbox
59: [00:52:23] <lewellyn> which virtualized os?
60: [00:52:29] <spronk> turnkey has switched to debian, which.... has issues.
61: [00:52:36] <spronk> apt-based linux
62: [00:52:42] <lewellyn> i can't help you there! :D
63: [00:52:46] <spronk> :(
64: [00:52:52] <simon_w|air> Seriously isn't hard to set up your own
65: [00:52:58] <spronk> i know
66: [00:53:02] <spronk> but i've done that so many times, and i'm sick of it
67: [00:53:06] * mobiusnz has joined #silverstripe
68: [00:53:09] <spronk> + sick of 700mb isos
69: [00:53:26] <lewellyn> pxe! :D
70: [00:53:27] * mobiusnz1 has joined #silverstripe
71: [00:53:59] <jotham> what
72: [00:54:11] <jotham> debian takes like 20 minutes to set up from a netinst (130~mb) iso
73: [00:54:23] <jotham> to get apache, mysql, vim, screen, htop, multitail, sudo, etc running
74: [00:54:31] <jotham> a few more minutes to set up a chjailed sftp
75: [00:54:35] <spronk> debian is broken
76: [00:54:36] <spronk> or at least
77: [00:54:42] <spronk> it has severe issues with smb mounts
78: [00:54:48] <spronk> for web serv
79: [00:54:51] <jotham> yeah i'm not having much confidence in you
80: [00:55:06] <jotham> i look after centos, debian, and unbutu boxes with no real drama on any of them
81: [00:55:14] <spronk> yeah, as do i
82: [00:55:22] <spronk> but for local development some things are a bit different
83: [00:55:52] <irogue> [12:54] <spronk> it has severe issues with smb mounts
84: [00:55:54] <spronk> for example, debian's init scripts fuck up /etc/fstab entries for network filesystems other than NFS
85: [00:55:55] <irogue> lies and slander
86: [00:56:17] <jotham> yeah this convo is of 0 value
87: [00:56:30] <irogue> nas02.snappernet.local:/dev/chip /mnt/chip nfs rw,user 0 1
88: [00:56:35] <spronk> even with _netdev set, they still sit there waiting for shares
89: [00:56:46] <irogue> ^ works perfectly on my dev box running 6.0.5
90: [00:56:51] <spronk> note, nfs.
91: [00:57:07] <irogue> oh, dammit, i am too using nfs there
92: [00:57:12] <irogue> cos its better :P
93: [00:57:23] <spronk> yeah, but windows hosts don't have it without sfu, and that's just overkill
94: [00:57:45] * mobiusnz quit (Ping timeout: 264 seconds)
95: [00:57:50] <spronk> point is, ubuntu solved this shit with upstart
96: [00:58:07] <lewellyn> spronk: sfu is dead. sua is now too.
97: [00:58:17] <spronk> well then, that too :P
98: [00:58:32] <spronk> it's been a while since i cared about it :p
99: [00:59:06] <irogue> just get a NAS bro
100: [00:59:10] <irogue> that'll sort it
101: [00:59:11] <irogue> :P
102: [00:59:40] <spronk> ughhhh
103: [00:59:42] <spronk> nas is too slow
104: [00:59:47] <spronk> need files hosted on ssd locally for fastness
105: [00:59:55] <spronk> this is why i use smb
106: [01:00:13] <spronk> dont really care if vm can only serve 1req/sec as long as my ide is zipzap
107: [01:00:14] * kerosene has joined #silverstripe
108: [01:00:29] <irogue> put SSD in NAS, 10GbE to NAS, no problemo :-P
109: [01:00:53] <spronk> i tried that already :P
110: [01:01:05] <ss23> I solve this by running Gentoo
111: [01:01:05] <ss23> ^.^
112: [01:01:06] <spronk> well, SSD in server machine, and 1GbE
113: [01:01:14] <irogue> pfft, 1GbE insufficient
114: [01:01:18] <ss23> >1gbe
115: [01:01:18] <ss23> l0l
116: [01:01:22] <spronk> doubt whether 10gbit would ahve made any real difference, it wasn't bandwidth that was the problem
117: [01:01:23] <irogue> needs more gigabits
118: [01:01:28] <ss23> hey spronk, the early 2000's just called
119: [01:01:32] <ss23> they want their network cards back.
120: [01:01:59] <irogue> super cheap too, http://shop.qnap.com/index.php?route=product/product&product_id=101
121: [01:02:05] <irogue> i mean, at that price, how could you not?!?
122: [01:02:06] <Bollig|DesignCty> quick, someone rush spronk to the burns unit...
123: [01:03:01] <spronk> bleugh
124: [01:03:06] <irogue> pop that into one of these, full of SSDs, and stripe it all up - http://www.snappernet.co.nz/product/ts-ec1679u-rp?srp=1
125: [01:03:10] <irogue> PROBLEM SOLVED
126: [01:03:16] <spronk> $ $
127: [01:03:36] <simon_w|air> Just run debian locally instead of in a VM
128: [01:03:49] <spronk> yuck
129: [01:04:01] <simon_w|air> Says the guy that wants SMB support :p
130: [01:04:05] <spronk> yeah well
131: [01:04:12] <irogue> SMB is such a nasty protocol
132: [01:04:13] <spronk> i can cope with having to use smb
133: [01:04:17] <jotham> the year of linux on the desktop was like 2003~ when you could have wmaker widgets xforwarded from your servers to your local machines desktop
134: [01:04:19] <spronk> can't cope with the state of linux desktop
135: [01:04:22] <jotham> since then it's been pretty hit and miss
136: [01:04:23] <irogue> authenticate for every single file - yeah that's a great idea!
137: [01:04:33] <spronk> yeah..
138: [01:04:42] <jotham> yeah i don't use smb with anything these days except between wintendos
139: [01:04:44] <spronk> virtualbox's sharing protocol is useless, too
140: [01:04:58] <jotham> i just use git with hooks and rsync
141: [01:05:06] <spronk> hmm
142: [01:05:09] <jotham> and ssh tunnels for any UI element
143: [01:05:13] <irogue> NFS is great, it has this crazy idea called sessions, and the ability to do ACL by IP instead of needing user/pass
144: [01:05:22] <irogue> WHO WOULD HAVE THOUGHT
145: [01:05:29] * spronk needs filesystem hooks
146: [01:05:35] <spronk> git too slow
147: [01:05:54] <jotham> i just use vim on the machine i need to be on 90% of the time
148: [01:05:59] <jotham> it's not a drama
149: [01:06:16] <spronk> bleh
150: [01:06:26] <jotham> pushing files around with smb sounds like either malware/worm heaven or using some GUI to edit things that has modal dialogues and probably involves using a mouse
151: [01:06:31] <jotham> which doesn't sound much like a good time
152: [01:06:39] <spronk> lawl
153: [01:06:48] <spronk> don't really use my mouse that much
154: [01:07:07] <jotham> mines used for world of tanks
155: [01:07:18] <spronk> gui for code navigation, debugger, profiler
156: [01:07:23] <simon_w|air> Yus! I'm not paying for a new logic board :D
157: [01:07:28] <spronk> lol wd
158: [01:07:30] * simon_w|air <3s Apple support
159: [01:07:37] <spronk> under warranty?
160: [01:07:40] <simon_w|air> Nope
161: [01:07:44] <spronk> how the hell did you swing that
162: [01:07:56] <simon_w|air> Known issue: http://support.apple.com/kb/TS4088
163: [01:08:05] <simon_w|air> And I was only a couple of months outside the three year period
164: [01:08:13] <spronk> oh
165: [01:08:27] <irogue> they're usually pretty good with known issues
166: [01:09:20] <spronk> getting them to admit issues is a bit different
167: [01:09:20] <simon_w|air> I'm going to be able to use two screens at work again :D
168: [01:09:53] * spronk had to suffer through that 8600m GT issue on earlier MBP for ages before they finally admitted it was a fault
169: [01:10:22] * jotham is now known as hamror
170: [01:10:23] <spronk> then there was that white macbook wrist area cracking bullshit
171: [01:11:18] <simon_w|air> Then there was that 3rd-party iPhone connector electrocuting people
172: [01:11:34] <ss23> You're holding it wrong
173: [01:11:55] <spronk> having said that, i did get a free battery for my ibook g4 ages back
174: [01:11:56] <spronk> thx sony
175: [01:12:01] * BPower quit (Remote host closed the connection)
176: [01:14:48] <irogue> my legit ipad charger isnt grounding anymore
177: [01:14:55] <spronk> o_O
178: [01:15:03] <irogue> totally assumed for ages that it was the dodgy third-party cable
179: [01:15:16] <irogue> but nope, use the original cable, still bzzz
180: [01:15:25] <irogue> must be the brick
181: [01:15:33] <spronk> weird
182: [01:15:39] <spronk> the original ones aren't bad
183: [01:15:40] <simon_w|air> The normal bricks don't ground
184: [01:15:55] <irogue> well in that case they should :P
185: [01:15:56] <spronk> third party ones are scary as fuck. <1mm isolation between hv and lv :|
186: [01:16:27] <irogue> cos i'm getting some sweet zippy zappys when touching the back of the ipad
187: [01:16:30] <irogue> when its charing
188: [01:16:39] <simon_w|air> Need one of the cables between the brick and socket for ground.
189: [01:20:40] * Jayden90 quit (Quit: Jayden90)
190: [01:22:52] <peter_ss> hi guys did you encounter this on userforms module? access level to UserDefinedForm::$db must be public (as in class Page)
191: [01:23:03] <ss23> peter_ss: Yep yep
192: [01:23:04] <peter_ss> got fatal error when installing userforms and dev build
193: [01:23:12] <ss23> peter_ss: Means you're using the wrong version of userforms with framework version
194: [01:23:33] <ss23> peter_ss: Between 3.0 and 3.1, there was that change that caused that error. Use the right version of userforms with the right version of framework, kind of thing
195: [01:23:37] <peter_ss> ahh
196: [01:23:38] <Pyromanik> 12:19 < zippy__> If you create a custom controller without a model. Will it automatically look for a template to match? The docs say it will but no more information. So if you had Setting_Controller will Setting.ss be looked for?
197: [01:23:42] <Pyromanik> 12:21 < zippy__> it does :)
198: [01:23:45] <Pyromanik> interesting
199: [01:23:47] <peter_ss> i'm using 3.0.5
200: [01:24:03] <ss23> peter_ss: Cool, so you don't use the latest branch of userforms, but the uh... 1.0 branch? the not master branch
201: [01:24:08] <Pyromanik> Generally Controller only would be SettingController, and it'd look for SettingController.ss (classname.ss)
202: [01:24:14] <peter_ss> ok
203: [01:24:17] <peter_ss> thanks ss23
204: [01:24:32] <ss23> peter_ss: If you use composer, version management is handled properly :P
205: [01:24:37] <Pyromanik> 12:52 < spronk> well, virtualbox
206: [01:24:44] <Pyromanik> tried virtualbox out for the first time
207: [01:24:48] <zippy__> Yea, but note I had called it Setting_controller so without the _ it would probably be SettingController.ss
208: [01:24:48] <Pyromanik> I think I like it more than vmware
209: [01:25:00] <spronk> Pyromanik: yeah... i like it more than vmware, except its performance.
210: [01:25:10] <spronk> definitely not as quick as vmw
211: [01:25:46] <ss23> Virtualbox doesn't do 64bit but vmw does, right?
212: [01:25:57] <ss23> I remember being like "I like virtualbox!" but eventually being like "fuck virtualbox so fucking much"
213: [01:26:00] <ss23> Now I use vmw
214: [01:26:12] <Pyromanik> spronk: I saw a performance benchmark test that showed virtualbox at pretty much on par with vmware
215: [01:26:12] <spronk> vbox does 64
216: [01:26:24] <spronk> Pyromanik: really? hmm
217: [01:26:31] <spronk> i dont really notice much diff on my console vms
218: [01:26:39] <spronk> but anything with a gui... vmw is waay snappier
219: [01:26:40] <Pyromanik> yeh, I googled it. Didn't know whether to go with vmware player or virtualbox
220: [01:26:54] <ss23> probably graphics etc?
221: [01:26:59] <Pyromanik> really? I use VMWare Workstation at work (this here)
222: [01:27:04] <Pyromanik> and it's slow as balls with GUI.
223: [01:27:25] <spronk> hmm, do you use gpu accel?
224: [01:27:46] <Pyromanik> http://xmodulo.com/2013/07/vmware-player-vs-virtualbox-performance-comparison.html
225: [01:28:10] <Pyromanik> spronk: I couldn't really find out what major impacts I'd have using player over workstation... so I just shrugged and went virtualbox
226: [01:28:16] <Pyromanik> even though fuck oracle.
227: [01:30:10] <hamror> i have a core2duo running virtualbox and a laptop and it suits all my onsite/inthewild/athome needs
228: [01:30:52] <peter_ss> is it possible to create a custom userdefinedform template?
229: [01:31:07] <spronk> peter_ss: yah just edit UserDefinedForm.ss in your Layout iirc
230: [01:31:59] <willr_> if you want to customize the *actual* UDF form layout you'll need to subclass the UserDefinedForm and use $form->setTemplate() to override Form.ss
231: [01:33:15] <peter_ss> spronk but how about e.g my contact page does have a custom layout? do I need to create a custom template then include userdefinedform.ss?
232: [01:33:56] <Pyromanik> peter_ss: then you shouldn't be editing userdefinedform
233: [01:34:10] <Pyromanik> you should ContactPage extends UserDefinedForm
234: [01:34:14] <Pyromanik> and edit ContactPage.ss
235: [01:34:18] <peter_ss> got it
236: [01:34:21] <peter_ss> thanks Pyromanik
237: [01:35:33] <spronk> mm
238: [01:36:51] <simon_w|air> willr_, ss23, mother wants you to RSVP :p
239: [01:37:28] <willr_> Oh I forgot, I can't. You did it on the weekend of my birthday and I'm out of town sadly
240: [01:38:05] <simon_w|air> Heh, I did it on pretty much my only free August weekend
241: [01:38:25] <willr_> August is a busy month.
242: [01:38:37] <willr_> 9 months after the end of year xmas parties..
243: [01:40:09] <ss23> ;_____;
244: [01:40:12] <ss23> This is your 21st?
245: [01:40:16] <simon_w|air> Ya
246: [01:40:37] <ss23> I'm awkward enough at gatherings, much worse if I don't have the social lubricant that is vodka
247: [01:41:05] * DigNZ has joined #silverstripe
248: [01:41:06] * DigNZ quit (Remote host closed the connection)
249: [01:41:20] * DigNZ has joined #silverstripe
250: [01:41:22] <willr_> what time does it kick off? might be back in wgtn after lunch
251: [01:41:26] <simon_w|air> 1600
252: [01:41:49] <willr_> Oh I thought it said like 1000 or something
253: [01:41:53] <simon_w|air> ss23, I tell her no then
254: [01:41:59] <ss23> sweet, simon_w|air
255: [01:42:08] <ss23> sorry :<
256: [01:42:09] <ss23> I feel bad, but like
257: [01:42:12] <willr_> loner ss23
258: [01:42:14] <ss23> ;_____;
259: [01:42:27] <willr_> if it's 1600 I can give drive you out there.
260: [01:42:29] <simon_w|air> Let's make him feel bad!
261: [01:42:41] <ss23> What day was it on?
262: [01:42:42] <ss23> And where is it?
263: [01:42:43] <willr_> you can preload in the car
264: [01:42:48] <ss23> XD
265: [01:43:04] <simon_w|air> 18th, Jville
266: [01:43:09] <simon_w|air> Your snapper won't get you out there
267: [01:43:11] <ss23> can you google maps that for me? :O
268: [01:43:14] <ss23> o.o
269: [01:43:36] <simon_w|air> Stupid green busses
270: [01:44:47] <peter_ss> should i put my custom userdefined form in template/includes or just in the template folder?
271: [01:45:04] <EasyCo> Is there a max string length for the Title property of DataObjects? I keep getting truncated titles for long titles.
272: [01:45:33] <EasyCo> Other then the datatype limitations that is
273: [01:45:44] * simon_w|air quit (Remote host closed the connection)
274: [01:46:15] * simon_w|air has joined #silverstripe
275: [01:46:21] <ss23> EasyCo: Doubtful, but by default (varchar alone) it's really short
276: [01:46:27] <ss23> I alway use varchar(255)
277: [01:46:41] <EasyCo> II thought varchar alone was 255?
278: [01:46:48] <ss23> Not that I found
279: [01:46:51] <ss23> For me it was way shorter
280: [01:46:54] <ss23> like 50 or something stupid
281: [01:51:05] * gitgat has joined #silverstripe
282: [01:51:11] * LoveDuckie quit (Ping timeout: 240 seconds)
283: [01:52:01] * howardgrigg has joined #silverstripe
284: [01:52:37] <gitgat> can anyone help with an error at line 664 of object.php when accessing specific pages?
285: [01:52:49] <simon_w|air> Depends on what the error os
286: [01:52:51] <simon_w|air> *is
287: [01:54:25] <gitgat> simon_w|air: http://www.sspaste.com/paste/show/5201a80393550
288: [01:55:43] <simon_w|air> My guess is you're using 3.0 user forms in 2.4
289: [01:56:16] <gitgat> simon_w|air: Nope, 3.0 ss with 3.0 UF
290: [01:56:30] <simon_w|air> Then can you add the callstack?
291: [01:58:49] <peter_ss> guys can I do this http://doc.silverstripe.org/framework/en/topics/forms?s=form#using_a_custom_template on userdefined module?
292: [01:58:55] <peter_ss> customing the $Form
293: [02:04:16] * willr_ quit (Quit: willr_)
294: [02:04:57] * atmos quit (Quit: Page closed)
295: [02:05:37] * willr_ has joined #silverstripe
296: [02:05:53] <simon_w|air> Bah, why can't it be home time yet?
297: [02:06:07] <willr_> Because I haven't done any work yet?
298: [02:06:24] <simon_w|air> As if that matters :p
299: [02:09:05] <Colin[pi]> say I have some DO's that are in a has_many wayy wayyy deep in the sitetree, but I want to pull out only those within a certain part of the sitetree, is that a SQL thing or does SS have a nicer way?
300: [02:09:47] <Colin[pi]> by certain part I mean within a certain parent far up the tree
301: [02:10:17] <simon_w|air> You don't even get recursive queries! Have fun with that :p
302: [02:11:50] <Colin[pi]> SQL gives me a headache :(
303: [02:12:17] * ChronicD quit (Quit: ChronicD)
304: [02:12:43] <simon_w|air> So, if you were using Postgres, you can have it recursively join itself until it ran out to get the list of IDs
305: [02:13:10] <simon_w|air> With MySQL, you get to do that manually
306: [02:13:20] <zippy__> you get paid to mention Postgres in here these days ;-)
307: [02:13:34] <simon_w|air> Nope :p
308: [02:13:43] <simon_w|air> If I got paid to do stuff in here...
309: [02:15:17] <ss23> XD
310: [02:15:38] <ss23> FWIW, rdbms isn't made for heriachiachiaial data
311: [02:16:45] <ss23> simon_w|air: Want lunch?! :D
312: [02:17:07] <simon_w|air> ss23, remember what about about 2 and a half hours ago?
313: [02:17:31] <ss23> Yeah...
314: [02:17:33] * ss23 looks around
315: [02:17:36] <ss23> I was just wondering!
316: [02:17:40] <ss23> Maybe you didn't get lunch!
317: [02:17:43] <ss23> hai willr_ want lunch? :D
318: [02:18:10] <spronk> lulz
319: [02:19:58] <ss23> WELL GOSH DARN, FINE
320: [02:20:05] <ss23> simon_w|air: I presume readings are open like indefinitly at this time of day?
321: [02:20:11] <ss23> e.g. they won't be like "LOL 3PM FOODCOURT CLOSE"
322: [02:20:15] <simon_w|air> yes
323: [02:20:24] <ss23> gangsta
324: [02:20:26] <ss23> I think it's...
325: [02:20:29] <ss23> 10x cheeseburgers time.
326: [02:20:35] <ss23> I could bring 10x cheeseburgers back
327: [02:20:35] <ss23> hmm
328: [02:20:37] <ss23> or eat there
329: [02:20:37] <ss23> idk
330: [02:20:48] <guzzlefry> That's a lot of cheeseburgers.
331: [02:20:55] <spronk> lawl
332: [02:21:16] * gitgat quit (Quit: Page closed)
333: [02:34:10] * metanat has joined #silverstripe
334: [02:42:00] <EasyCo> ss23: Thanks you were right. Varchar by itself default to some small amount of characters
335: [02:42:05] * UncleCheese quit (Quit: UncleCheese)
336: [02:42:06] <ss23> 500 points to ss23
337: [02:42:07] <ss23> :D
338: [02:42:17] <EasyCo> I'll give you 5
339: [02:42:27] <ss23> I'll take it! ^.^
340: [02:42:35] <EasyCo> I don't know about this 500 mumbo jumbo.
341: [02:43:13] <EasyCo> Defaults to fiddy: http://api.silverstripe.org/3.0/source-class-Varchar.html#21-33
342: [02:43:28] <EasyCo> But if you go by just the docs it reads as if the default is 255.
343: [02:44:00] <ss23> IMO it would be a good change
344: [02:44:03] <ss23> to default to 255
345: [02:44:33] <EasyCo> I concur
346: [02:45:55] <simon_w|air> Hmm, tempted to go home now
347: [02:46:07] <ss23> hhmm, tempted to get lunch now
348: [02:46:08] <EasyCo> Do it.
349: [02:46:15] <ss23> :d
350: [02:46:16] <ss23> mmk
351: [02:46:18] <ss23> bbaib
352: [02:46:19] <EasyCo> Live on the each
353: [02:46:21] <EasyCo> *edge
354: [02:46:27] <simon_w|air> Doing it!
355: [02:46:37] <ss23> I'M DOING IT TOO
356: [02:46:38] * simon_w|air quit (Quit: This computer has gone to sleep)
357: [02:46:38] * ss23 runs off
358: [03:02:47] * Jayden90 has joined #silverstripe
359: [03:02:55] * nickmolhoek quit (Quit: nickmolhoek)
360: [03:06:02] <spronk> Pyromanik: you had some uber nginx conf didin't you?
361: [03:12:44] <Jayden90> Guys what permissions should be set on the assets folder and it's contents?
362: [03:16:23] <Stomach> u+x
363: [03:17:33] * atmos has joined #silverstripe
364: [03:18:25] * nickmolhoek has joined #silverstripe
365: [03:18:30] * nickmolhoek quit (Remote host closed the connection)
366: [03:18:45] * nickmolhoek has joined #silverstripe
367: [03:18:46] <Jayden90> u+x?
368: [03:18:55] <Jayden90> it seems folders are 755
369: [03:19:10] <Jayden90> images are 644
370: [03:19:26] <Jayden90> resampled images are 664
371: [03:21:15] <ss23> That's from the umask
372: [03:21:29] <ss23> As long as it's readable/writable to the web user, it's fine, and the interanl permissions of files it creates can be anything basically
373: [03:21:37] <ss23> (That is, since it'll be the owner of them, it'll always have access)
374: [03:26:38] <ss23> http://www.thecivilian.co.nz/id-never-buy-fonterra-milk-says-man-purchasing-three-bottles-of-anchor/
375: [03:27:47] * simon_w|air has joined #silverstripe
376: [03:28:12] <atmos> ss23: heh - nice
377: [03:29:13] <Pyromanik> spronk: once upon a time
378: [03:29:16] <Pyromanik> I thought I had someting
379: [03:31:30] <Pyromanik> basically just don't do what the ss docs (and the nginx wiki on ss) say
380: [03:31:53] <Pyromanik> and instead just don't do what the nginx wiki says not to do.
381: [03:32:01] <Pyromanik> (cf. common pitfalls)
382: [03:34:03] <simon_w|air> Hmm, need something to get engrossed in
383: [03:34:36] <ss23> Hmmm
384: [03:34:56] <ss23> simon_w|air: The closest thing to a personal project you might be albe to do is the llvm stuff
385: [03:35:07] <simon_w|air> Or another Apple display so I can actually use Xcode with this laptop
386: [03:36:17] * Jayden90 quit (Quit: Jayden90)
387: [03:42:35] <spronk> o_O
388: [03:42:48] <spronk> COFUSE
389: [03:43:53] <ss23> simon_w|air: If you feel like doing web stuff, I'll happily accept you hacking on webkit to make airplay work for <audio> elements ;)
390: [03:44:03] <ss23> simon_w|air: SilverStripe benchmarks on HHVM could work too
391: [03:44:07] <ss23> hmmmmmmmmmmmmmm
392: [03:44:44] <ss23> simon_w|air: I started building a site to serve up lyrics, since all the current ones suck, you could finish that if you want - https://github.com/ss23/Lyrics-Database/
393: [03:45:03] <ss23> HMMMM
394: [03:45:05] <ss23> I'm out of ideas
395: [03:45:20] <simon_w|air> See, these are really things that interest me enough
396: [03:45:23] <simon_w|air> Or that I'd use
397: [03:45:25] * cloph_away has joined #silverstripe
398: [03:45:34] <ss23> Oh, would also accept uh, someone to decompile and reverse engineer and find exploits in this MIPS binary that runs on a Linux router
399: [03:45:41] * cloph quit (Ping timeout: 248 seconds)
400: [03:47:04] <ss23> I also need someone to set up a linux box that has .flac's on it, then mp3fs (in fuse), mount it over sshfs, and try playing it on iTunes. There's a 10 second delay, I want to know where it is so I can cache/optimize it away (suspect it's just something waiting until the entire file is 'buffered'/converted somewhere)
401: [03:47:46] <ss23> oh, another is getting my turret project working (paintball gun on a set of servos etc to shoot people), first part is getting the opencv stuff better so it can actually shoot people accurately
402: [03:47:59] <simon_w|air> That's a worse delay than 1080p streaming over airplay. Fix your setup :p
403: [03:48:16] <ss23> Well it's over the internet
404: [03:48:18] <ss23> But yes, there's something wrong
405: [03:48:19] <ss23> :P
406: [03:48:30] <ss23> If you just want something stupid to mess with - https://github.com/ss23/php-gen
407: [03:48:39] <simon_w|air> And airplay only has a delay because it's by design :p
408: [03:48:48] <ss23> builds a tree structure, oop, of a program, implmented in PHP
409: [03:49:02] <ss23> Figure it can be used for genetic algos, if you pimp it out and have a few million years to wait ^.^
410: [03:49:33] <ss23> https://github.com/ss23/CitrineJS could finish building this bittorrent tracker in Node, but I wouldn't bother, other people have done it, I just wanted to mess with node
411: [03:49:46] <ss23> And I think that's about it...
412: [03:49:50] <ss23> At least, the ones that are legal :D
413: [03:49:56] <ss23> My botnet design docs could use some work, but they're not public :3
414: [03:50:38] <ss23> willr_: You here?
415: [03:50:38] <simon_w|air> So, that last one's the only one I can actually change and then release the changes to :p
416: [03:50:46] <ss23> willr_: Can we chat on IRC instead of email for DNA business?
417: [03:50:52] <willr_> just
418: [03:50:53] <simon_w|air> Seriously, license your stuff
419: [03:51:02] <ss23> simon_w|air: I created it all before github prompted you to!
420: [03:51:03] <ss23> :<
421: [03:51:07] <simon_w|air> So?
422: [03:51:12] <ss23> simon_w|air: so "NO"
423: [03:51:20] <Pyromanik> so
424: [03:51:20] <ss23> I liscene the new stuff, but I'm too lazy to do it for old projects
425: [03:51:24] <ss23> you can PR it if you really want :P
426: [03:51:33] <ss23> willr_: just?!
427: [03:51:40] <Pyromanik> simon_w|air: ss23, why does <% if $ID != $AssociatedPage.ID %> not work?
428: [03:51:49] <simon_w|air> Pyromanik, because 3.0?
429: [03:51:59] <Pyromanik> so that's just a thing?
430: [03:52:01] <simon_w|air> Remember that bug I spent the entire hackathon tracking down?
431: [03:52:02] <Pyromanik> fixed in 3.1?
432: [03:52:16] <Pyromanik> simon_w|air: I thought that was scope related though
433: [03:52:21] <ss23> This wouldn't be an issue if we used PHP for templating.
434: [03:52:28] <Pyromanik> I'm not passing vars, just trying to assess equality of 2 vars
435: [03:52:30] <simon_w|air> You're changing scope here to get to the second ID
436: [03:52:44] <simon_w|air> Weird things happened when resetting
437: [03:52:48] <Pyromanik> yeah, but not passing vars. So ok, that's the same issue eh.
438: [03:52:54] <Pyromanik> stink balls
439: [03:53:01] <ss23> I think someone took down our gitorious box
440: [03:53:02] * ss23 pokes it
441: [03:53:09] <Pyromanik> GITORIOUS
442: [03:53:18] <Pyromanik> or Gitlab?
443: [03:53:22] <Pyromanik> which to what
444: [03:53:23] <ss23> Gitorious!
445: [03:53:29] <ss23> I would've said gitlab if I meant it! :P
446: [03:53:29] <simon_w|air> SVN!
447: [03:53:42] <Pyromanik> ss23: yeah nah but I mean which is your preference?
448: [03:53:50] <ss23> oic
449: [03:53:51] <ss23> gitlab by far
450: [03:53:56] <ss23> gitlab is only a little behind github
451: [03:54:02] <ss23> Gitorious is stupid
452: [03:54:02] * kerosene quit (Quit: Reconnecting)
453: [03:54:05] <Pyromanik> yeah but nah at the same time
454: [03:54:09] <simon_w|air> apache_dav_svn!
455: [03:54:14] <ss23> I went to add a URL on push (you know, POST when someone commimts)
456: [03:54:19] <Pyromanik> because like I can't just make projects in a group
457: [03:54:20] * kerosene has joined #silverstripe
458: [03:54:28] <Pyromanik> and have everyone in that group be able to access
459: [03:54:30] <ss23> Gitorious is like "we added this, but you have to open up your ruby console to add it for each repo"
460: [03:54:33] <ss23> )
461: [03:54:49] <Pyromanik> yeh it's a bit of a behemoth :<
462: [03:55:01] <Pyromanik> but the 'socailness' of it is better.
463: [03:55:14] <Pyromanik> gitlab isn't designed for it, nor will ever be apparently :<
464: [03:55:17] <ss23> eh
465: [03:55:28] <Pyromanik> so like they finally added teams and I was like YEY
466: [03:55:30] <Pyromanik> but then
467: [03:55:30] <ss23> Turns out I was just streaming music over a certain city councils VPN...
468: [03:55:36] <Pyromanik> it wasn't quite what I thought it'd be
469: [03:55:36] <ss23> I always forget to disconnect
470: [03:55:37] <ss23> :<
471: [03:56:16] <ss23> willr_: OMG R U THERE DO I HAVE TO EMAIL YOU OR WHAT ;_:
472: [03:56:21] <ss23> DNA AKA DOES NOT ACKNOLWEDGE
473: [03:56:59] <simon_w|air> Oh right, I remember what I was going to make a blog post about
474: [03:57:03] <simon_w|air> Time to do that
475: [03:57:10] <ss23> simon_w|air: What was it? :O
476: [03:57:25] <simon_w|air> Implementing a SS_List that's backed by an API
477: [03:58:06] <ss23> BORING
478: [03:58:09] <ss23> My projects are better
479: [04:03:02] <spronk> whats wrong with silverstripe wiki's nginx conf?
480: [04:03:29] <simon_w|air> It's a botched copy of a botched WP one
481: [04:03:43] <spronk> hrm.
482: [04:03:55] <ss23> spronk is volunteering to rewrite it
483: [04:04:33] * spronk is an nginx nub
484: [04:09:24] * peter_ss quit (Quit: Leaving.)
485: [04:13:01] * howardgrigg quit (Remote host closed the connection)
486: [04:14:34] * zippy__ quit (Ping timeout: 246 seconds)
487: [04:19:37] * irogue asplodes
488: [04:20:02] <ss23> y u do dis
489: [04:23:03] <irogue> put new theme in site
490: [04:23:26] <irogue> is not using
491: [04:23:28] <irogue> makes me mad
492: [04:23:42] <spronk> FLSUH
493: [04:23:46] <spronk> WASH HANDS
494: [04:23:46] <spronk> DONE
495: [04:24:05] <ss23> lol
496: [04:24:10] <ss23> inb4 ur using subsites
497: [04:24:10] <ss23> :3
498: [04:24:26] <spronk> bleh
499: [04:24:33] <spronk> have no idea how you're supposed to set up nginx for multiple sites..
500: [04:24:45] <ss23> vhosts/
501: [04:24:47] <ss23> same as apaache
502: [04:24:48] <ss23> well
503: [04:24:52] <ss23> different
504: [04:24:52] <ss23> :D
505: [04:24:54] <ss23> but you get the idea!
506: [04:25:06] <irogue> spronk: nope, not subsites
507: [04:25:10] <irogue> self-implemented subsites :P
508: [04:25:17] <spronk> yeah
509: [04:25:18] <spronk> but
510: [04:25:20] <spronk> if you're doing like
511: [04:25:23] <spronk> oneconfig file per site
512: [04:25:25] <spronk> debian -stylez
513: [04:25:38] <spronk> do you stick multiple server {} shits?
514: [04:25:55] <spronk> and... for ss, can you ... share? the conf?
515: [04:25:58] <irogue> just list the domains
516: [04:26:10] <spronk> this is for completely separate sites
517: [04:26:10] <spronk> :p
518: [04:26:13] <irogue> oh
519: [04:26:16] <ss23> irogue: If self implemented subsites, might run into same issue as I had with subsites
520: [04:26:21] * simon_w|air quit (Quit: Leaving)
521: [04:26:26] <irogue> then yeah spronk, same deal as apache
522: [04:26:29] <ss23> irogue: Silverstrpie would set the theme, then be like "LOL JK" and randomly override it in other places
523: [04:26:34] <ss23> idk how/where though
524: [04:26:34] <irogue> file per site in sites-available
525: [04:26:48] <irogue> ss23: have got multiple, others all working, this one's just being a pain in my arse
526: [04:26:52] <ss23> aww k
527: [04:26:53] <ss23> gg
528: [04:26:53] <ss23> :D
529: [04:26:54] <irogue> its like it's not reading the updated _config.php file
530: [04:26:59] <spronk> with full shiz server { listen, location {} blocks etc?
531: [04:27:00] <ss23> ?flush=all
532: [04:27:00] <ss23> :D
533: [04:28:13] <irogue> spronk: yes server{} block with location{} etc inside it
534: [04:28:14] * atmos quit (Quit: Page closed)
535: [04:28:22] <spronk> i see i see
536: [04:28:23] <spronk> churs
537: [04:29:00] <irogue> ss23: http://pastie.org/private/ecy8wknbq61qdempssp5g
538: [04:30:10] <spronk> which nonwork?
539: [04:30:32] <irogue> patton
540: [04:30:36] <ss23> irogue: die('YO WE GOT HERE 4 SURE');
541: [04:31:27] <ss23> weird that that would be the only one not to work though
542: [04:31:30] <ss23> On the wrong server? :D
543: [04:31:30] <spronk> mm..
544: [04:31:33] <spronk> doesn't look broken at all
545: [04:31:35] <irogue> yeah, figured it out
546: [04:31:41] <ss23> Was it user error?! :d
547: [04:31:45] <spronk> PEBKAC?
548: [04:31:58] <irogue> i was doing le /dev/build and le ?flush on my logged-in session
549: [04:32:02] <irogue> which is HTTPS
550: [04:32:13] <ss23> :D
551: [04:32:19] <irogue> load balancer has put my HTTPS and my HTTP session to different servers
552: [04:32:27] <irogue> so my flushing wasn't affecting the other server etc etc
553: [04:32:55] <spronk> tricksy
554: [04:34:16] <irogue> http://www.smartnode.co.nz
555: [04:34:17] <irogue> yay
556: [04:34:19] <irogue> workses now
557: [04:34:38] <ss23> I don't get why SS interanlly would rather create forks of public projects than just get someone to merge in the dammed changes!
558: [04:34:50] <ss23> pull request is waiting, no one merged in, so we have to use a fork of a common module
559: [04:34:53] <ss23> sdflkmasdflkmdsaflkmsdaf
560: [04:36:23] <irogue> that weird little block of code is so much nicer than dealing with subsites module :P
561: [04:36:37] <irogue> only downside being the extra layer of "folder" in the URL
562: [04:36:49] <irogue> i.e. http://www.draytek.net.nz/draytek/home/ instead of http://www.draytek.net.nz/home/
563: [04:37:24] * Stomach quit (Quit: Leaving.)
564: [04:37:48] <spronk> heh
565: [04:46:48] <spronk> hrm
566: [04:47:30] <spronk> damnit
567: [04:51:53] <spronk> GRR
568: [04:52:01] <spronk> keep getting stupid... can't rely on system timezone bullshit
569: [04:53:47] * nickmolhoek quit (Quit: nickmolhoek)
570: [04:53:50] * DigNZ quit (Quit: DigNZ)
571: [05:13:53] * mobiusnz1 quit (Quit: Leaving.)
572: [05:21:02] * Stomach has joined #silverstripe
573: [05:23:28] * howardgrigg has joined #silverstripe
574: [05:28:21] * howardgrigg quit (Ping timeout: 264 seconds)
575: [05:34:52] * nickspiel has joined #silverstripe
576: [05:42:09] * Stomach quit (Quit: Leaving.)
577: [05:44:45] * mobiusnz has joined #silverstripe
578: [05:47:02] * baljit has joined #silverstripe
579: [05:47:28] * baljit quit (Client Quit)
580: [05:48:40] * tecnik quit (Remote host closed the connection)
581: [05:48:50] <ss23> Hmm
582: [05:48:58] <ss23> Anyone care to have a disucssion about an issue loading the CMS?
583: [05:50:03] <Colin[pi]> I can try
584: [05:50:15] <ss23> Wonderful, I mainly just need... new ideas
585: [05:50:26] <ss23> So, a site running almost latest 3.1 (like a few commits back)
586: [05:50:39] <ss23> The client, a government department so likely dodgy network settings, can't load the CMS
587: [05:50:42] <ss23> They get uh... like
588: [05:50:56] <ss23> It sits on the screen with the laoding gif and the "Silverstripe - Create the web" or w/e it is spalsh screen
589: [05:51:14] <Colin[pi]> ah this was the prob from earlier today?
590: [05:51:20] <Colin[pi]> we thought was js, no?
591: [05:51:21] <ss23> Yes, but I have slightly more info, kind of
592: [05:51:32] <ss23> I never figured out what it was, I just got "maybe it's a JS error that no one can see"
593: [05:51:47] <ss23> To clarify, I get no JS errors in the console, but I don't trust the Firefox console
594: [05:51:50] <ss23> It works in Internet Explorer
595: [05:52:11] <ss23> Other Silverstripe sites work fine (the only issue is this combination of firefox and silverstripe, for this particular client, and it only happens sometimes for them, not all the time)
596: [05:52:15] <ss23> So it's hard to pin down, of course
597: [05:52:18] <ss23> HOWEVER
598: [05:52:29] <Colin[pi]> wait works in IE but not firefox? mmm
599: [05:52:33] <ss23> yeah
600: [05:52:37] <ss23> Firefox 22
601: [05:52:39] <Colin[pi]> how weird
602: [05:52:41] <ss23> Ie9 or so
603: [05:52:57] <ss23> The closest thing to 'weird' I can find is that their proxy will often give a 407 - Proxy Authentication (...), then the browser re-makes the request a tiny bit later
604: [05:52:57] <Colin[pi]> and nothing in the console whatsoever?
605: [05:53:10] <ss23> Well in Firefox, it's a network console too, but no JS things in console
606: [05:53:12] <ss23> I uh
607: [05:53:22] <ss23> It's got client data in it, so would rather not show an image. The first one goes like this
608: [05:53:35] <ss23> POST site/Security/LoginForm [407]
609: [05:53:42] <ss23> POST site/Security/LoginForm [200]
610: [05:53:47] <ss23> GET /admin/pages [200]
611: [05:54:01] <ss23> GET framework/thirdparty/tinymce_gzip.php?..... [200]
612: [05:54:06] <ss23> Then nothing eles, it stalls there
613: [05:54:32] <Colin[pi]> but why would a networking thing be different in firefox vs ie? possibly related to the gzip?
614: [05:54:33] <ss23> Colin[pi]: SHITTY, RITE?
615: [05:54:36] <Colin[pi]> aye
616: [05:54:49] <ss23> Well, I got the client to manually navigate to the tinymce URL and save the file and open it in notepad
617: [05:54:57] <ss23> I verify the first ~5 chars and last ~5 chars with her, and they were correct
618: [05:55:14] <Colin[pi]> hmm
619: [05:55:26] <irogue> and i'm guessing Firefox works fine for this site on your PC?
620: [05:55:46] <ss23> Yes, though worth noting I'm on OSX
621: [05:55:53] <ss23> I tried using the same version of browser etc, but Firefox is on 23 now
622: [05:56:15] <ss23> But given the client couldn't reproduce half the time last time this happeend (a few weeks ago) I'm not 100% it's just Firefox I guess? idk
623: [05:56:24] <ss23> Could be that their sysadmins are like... playing with Firefox versions
624: [05:57:25] <ss23> I have the option of going down to their place (hehehe, government departments are all in Wellington!) and doing something with one of their PCs, but I'm not all that sure it would even help
625: [05:57:49] <Colin[pi]> yeah but these things are sometimes so difficult to diagnose at a distance
626: [05:57:50] * Jayden90 has joined #silverstripe
627: [05:58:03] <ss23> For sure, but uh
628: [05:58:10] <ss23> She did what I would do
629: [05:58:19] <ss23> That is, I wouldj ust open the console and see if something weird came up...
630: [05:58:22] <ss23> But nothing did
631: [05:58:23] <ss23> What else can I do?
632: [05:58:54] <Colin[pi]> pack your bags, head to peru, and become a llama herder
633: [05:59:00] <ss23> XD
634: [05:59:03] <ss23> ikr
635: [05:59:18] <ss23> It's not often these days I have a problem that I can think about for days and get literally no ideas about how to even begin debugging
636: [05:59:22] <ss23> like
637: [05:59:23] <Colin[pi]> i hate shitty problems like that which kinda sorta present themsevles depending on the browser
638: [05:59:27] <ss23> My intuition says that it *is* a Javascript eror, and its' just not being shown
639: [05:59:40] <Colin[pi]> she definitely looked at the Web Console?
640: [05:59:43] <ss23> Another option is trawling the SS forums looking for someone with the same issue
641: [05:59:46] <ss23> Colin[pi]: Yeah, I got screenshots
642: [05:59:49] <Colin[pi]> hmm
643: [06:00:33] <Jayden90> is a 3.0.5 database dump compatable with a 3.1 install?
644: [06:00:38] <irogue> ss23: personally, i'd be Wiresharking
645: [06:00:53] <irogue> but that's cos Wireshark tells all :P
646: [06:00:56] <ss23> irogue: Not likely I can from inside a gov network, but I can put in a request with a ticket tonight
647: [06:00:59] <ss23> XD
648: [06:01:06] <ss23> I'll just ask if we can bring in a company laptop and I'll put wireshark on that
649: [06:01:09] <ss23> But like
650: [06:01:10] <ss23> I did notice
651: [06:01:14] <ss23> The order of scripts *changes*
652: [06:01:25] <ss23> Like, if I get the 407, it makes the request a few seconds later, right
653: [06:01:30] <ss23> But by that time, other scripts have been requested
654: [06:01:33] <irogue> hmmm
655: [06:01:35] <irogue> true
656: [06:01:37] <ss23> I was thinking maybe thats causing issues
657: [06:01:41] <ss23> idek wht a 407 is though....
658: [06:01:54] <irogue> its just standard proxy talk for "i don't know who you are yet"
659: [06:02:06] <ss23> And browser automatically fills it in?
660: [06:02:11] <ss23> Cause it happens lots... evne mid-request
661: [06:02:20] <ss23> that is like, browser requested like 500 js scripts as per usual
662: [06:02:22] <irogue> when using IE on a corporate (domain) network, IE automatically sends domain creds with each request
663: [06:02:22] <ss23> some got that error
664: [06:02:34] * guci0 has joined #silverstripe
665: [06:02:38] <irogue> FF doesn't
666: [06:02:48] <irogue> so proxy goes "whoa there buddy, i don't know who you are"
667: [06:02:51] <guci0> Ello!
668: [06:02:55] * metanat quit (Ping timeout: 264 seconds)
669: [06:03:05] <irogue> and FF goes "oopsie, i'm XYZ@domain.local"
670: [06:03:17] <ss23> hmmmmmm
671: [06:03:17] <ss23> yep yep
672: [06:03:28] <irogue> and then the proxy passes the page on through
673: [06:04:16] <irogue> generally that just works
674: [06:04:40] <irogue> but i can see why it could fuck with things if scripts are being loaded asyncronously yet order matters
675: [06:04:54] <ss23> Is it within the means of most organisations to somehow disable that (or rather... you know, makes something like that not happen)?
676: [06:05:09] <irogue> well, no, they generally won't
677: [06:05:10] <ss23> as in, is it a reasonable request to ask for a direct connection or something on these office PCs to check?
678: [06:06:15] <irogue> usually, it'd be a case of putting the user account into a different group
679: [06:06:17] <irogue> on the domain controller
680: [06:06:28] <ss23> sounds hard...
681: [06:06:47] <irogue> not really, but it's something their IT people would have to do and would def be hesitant
682: [06:07:12] <irogue> tried Chrome by chance? it uses windows' proxy stack (and therefore probably sends auth with initial request)
683: [06:07:22] <ss23> Nope, but I might mention it in this response
684: [06:07:24] <ss23> okay so uh
685: [06:07:30] <ss23> hmmmmmmmm
686: [06:07:31] <ss23> HMMMM
687: [06:07:32] <ss23> Hard
688: [06:07:46] <ss23> Like, at this point it feels like grasping at straws for what it might be, but they're all reasonable hard to confirm
689: [06:07:52] <ss23> good ideas though, ty
690: [06:07:55] <ss23> just not sure how to present all of this
691: [06:09:12] <irogue> looks like NTLM is pretty fucked in firefox
692: [06:09:23] <ss23> s/NTLM/*/
693: [06:09:25] <ss23> :P
694: [06:09:34] <irogue> looking in bugzilla, quite a few bugs going back to 2005 that are still being discussed
695: [06:13:08] <irogue> yeah
696: [06:13:24] <irogue> tl;dr: NTLM in FF is a bit fucked, and for some reason SS seems to not like that
697: [06:13:40] <irogue> most sites deal with it, though of course its inefficient having the extra back and forward
698: [06:13:49] <irogue> so... combination of FF bug and SS bug?
699: [06:16:11] * willr_ quit (Quit: willr_)
700: [06:22:05] * zfmf1 has joined #silverstripe
701: [06:27:07] * baljit has joined #silverstripe
702: [06:27:39] <baljit> Issue regarding the MultipleFileUploadField
703: [06:30:46] * metanat has joined #silverstripe
704: [06:33:36] <ss23> irogue: I'll go to them tomorrow and see if I can figure it out
705: [06:51:18] * OomElvis has joined #silverstripe
706: [06:51:39] <wmk> what should i do when i find in framework a translation where no key is in english master file?
707: [06:52:37] * metanat quit (Quit: Leaving.)
708: [06:53:03] * metanat has joined #silverstripe
709: [06:55:13] * howardgrigg has joined #silverstripe
710: [06:55:44] * metanat quit (Client Quit)
711: [06:56:48] * baljit quit (Quit: Page closed)
712: [07:08:03] * openbees has joined #silverstripe
713: [07:08:55] <openbees> what's the easiest way to sorting a datalist on a related dataobject filed ?
714: [07:09:04] <openbees> field*
715: [07:09:12] * paul_kwikrelease has joined #silverstripe
716: [07:09:49] * mdowton has joined #silverstripe
717: [07:11:09] <Marvanni> add a join and set sort to JoinTable.SortField
718: [07:11:38] * Zauberfisch_zZz is now known as Zauberfisch
719: [07:11:43] <ss23> expert's have estimated that english grammar will be totes extinct by 2025.
720: [07:15:47] <mdowton> Any ideas how to passa third parameter to a controller function?
721: [07:18:28] * g4b0_ has joined #silverstripe
722: [07:18:35] <Colin[pi]> mdowton: through the URL or the function call itself?
723: [07:18:56] <g4b0_> ho all
724: [07:19:00] <g4b0_> hi*
725: [07:19:33] <mdowton> through the url i can get ID and OtherID fine just need to pass a third one as well
726: [07:19:36] <g4b0_> is it possible to add a field into Metadata ToggleCompositeField ?
727: [07:19:58] <Marvanni> mdowton : http://maetl.net/silverstripe-url-handling
728: [07:20:53] <mdowton> thanks
729: [07:21:45] <Colin[pi]> mdowton: see also http://doc.silverstripe.org/framework/en/topics/controller
730: [07:22:12] <Marvanni> $fields->insertBefore(new Field(),'MetaTitle');
731: [07:23:11] * SightUnseen has joined #silverstripe
732: [07:23:15] * SightUnseen has left #silverstripe
733: [07:23:48] <g4b0_> tnx Marvanni
734: [07:31:39] * Jayden90 quit (Quit: Jayden90)
735: [07:37:13] * kerosene quit (Quit: leaving)
736: [07:44:54] * openbees quit (Quit: Leaving)
737: [07:48:39] * priithansen has joined #silverstripe
738: [07:52:58] * Zauberfisch quit (Ping timeout: 246 seconds)
739: [07:53:53] * Zauberfisch has joined #silverstripe
740: [08:02:37] * PigeonFriend has joined #silverstripe
741: [08:03:38] * ocm has joined #silverstripe
742: [08:03:40] <ocm> howdy!
743: [08:03:55] <ocm> anyone who could suggest a solution on the follow? :
744: [08:04:06] <ocm> I am working on a SS project, though git
745: [08:04:13] <ocm> all works fine, cloning is no problem at all
746: [08:04:23] * ARNHOE has joined #silverstripe
747: [08:04:29] <ocm> but, now I am trying to put it on a devserver and I get a 500 error
748: [08:04:40] <ocm> however nothing to be found in the errorlog
749: [08:06:13] * zippy__ has joined #silverstripe
750: [08:11:15] * chillu has joined #silverstripe
751: [08:12:14] * Zauberfisch_ quit (Ping timeout: 246 seconds)
752: [08:13:40] * Bollig|DesignCty quit (Ping timeout: 264 seconds)
753: [08:13:53] * EasyCo quit (Quit: EasyCo)
754: [08:14:10] * Zauberfisch^away has joined #silverstripe
755: [08:14:14] * Zauberfisch^away quit (Client Quit)
756: [08:17:46] * Zauberfisch_ has joined #silverstripe
757: [08:20:46] * metanat has joined #silverstripe
758: [08:25:29] * Bollig|DesignCty has joined #silverstripe
759: [08:29:21] <wmk> chillu, i found a string in framework which isn't in english master language file. What should i do?
760: [08:30:57] <wmk> ocm, put your site in dev mode, check php error reporting to show everything
761: [08:35:43] * lobarvaz has joined #silverstripe
762: [08:36:34] * metanat quit (Quit: Leaving.)
763: [08:40:01] * paul_kwikrelease quit (Ping timeout: 250 seconds)
764: [08:42:41] <Colin[pi]> wmk: should be able to submit a pull request, no?
765: [08:43:06] <ocm> wmk, it is in devmode
766: [08:43:16] <ocm> but found something already
767: [08:43:22] <ocm> some user issue coming from apache
768: [08:46:18] * howardgrigg quit (Remote host closed the connection)
769: [08:47:11] <wmk> Colin[pi], fork framework just to add one line?
770: [08:48:30] * OomElvis quit (Remote host closed the connection)
771: [08:49:00] <wmk> and latest github doesn't have new transifex included afaik.
772: [08:49:09] <ss23> forking not good
773: [08:49:23] <ss23> They get regenerated from the transifex or w/e it is, so they'll be overritten
774: [08:49:27] <ss23> wait
775: [08:49:27] <ss23> this is... in the master language
776: [08:49:28] <ss23> hmmm
777: [08:49:29] <ss23> idk
778: [08:49:30] <ss23> ask chillu
779: [08:49:32] <ss23> :D
780: [08:49:54] <wmk> ss23, i did 20mins ago ;)
781: [08:50:14] <ss23> yeah
782: [08:50:17] * ss23 looks at chillu
783: [08:50:20] <ss23> He'll answer soon I'm sure
784: [08:50:36] <ss23> Anyway, home time for me~
785: [08:50:39] <ss23> 9pm work best
786: [08:50:50] <wmk> yup. cu
787: [08:50:57] <Colin[pi]> cya mate
788: [08:55:03] <chillu> wmk: which string?
789: [08:55:42] <chillu> New _t() calls should be a pull request, new translations on transifex
790: [08:59:05] <wmk> chillu, _t('Security.LOSTPASSWORDHEADER', 'Lost Password'); in Security.php l484
791: [08:59:14] <wmk> i bet it's an old string
792: [08:59:15] <chillu> OK, PR then :)
793: [08:59:55] <wmk> btw: is it possible to overwrite the framework strings in mysite/lang/ ?
794: [09:00:25] * zippy__ quit (Ping timeout: 245 seconds)
795: [09:12:09] <wmk> chillu, done https://github.com/silverstripe/silverstripe-framework/pull/2304
796: [09:15:47] <chillu> wmk: Oh it was missing in the master file, I thought it was hardcoded (no _t() call). We only push the master file from the actual git master branch to transifex (it doesnt support versioning), but when generating that master file through i18nTextCollector we merge in all existing YAML keys from the old en.yml. So I'll have a look if that string pops up in master now
797: [09:16:38] <ARNHOE> chillu: My comment - https://github.com/silverstripe/silverstripe-framework/pull/2243#issuecomment-22236861 I think this got fixed with the latest commit that came secs after my comment?
798: [09:17:24] <chillu> ARNHOE: Commit URL?
799: [09:17:26] <ARNHOE> actually that commit was 12 hours ago :p
800: [09:17:30] <ARNHOE> https://github.com/silverstripe/silverstripe-framework/pull/2285
801: [09:28:49] <ARNHOE> chillu: I ran the i18ntextcollector on latest framework branch, and it has quite some removes and additions to en.yml. How reliable is that too pull request? For example FileIframefield is removed, Email_Bounce_Record same for ComplexTableField
802: [09:29:18] <chillu> Did you run it with merge=true ?
803: [09:29:49] <ARNHOE> i18nTextCollectorTask?module=framework&locale=en ran it like that
804: [09:30:06] <ARNHOE> What does merge do? It doesnt overwrite?
805: [09:30:31] * travis-ci has joined #silverstripe
806: [09:30:31] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#750 (3.1 - 2dc39de : Ingo Schommer): The build passed.
807: [09:30:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/00e0bf10ab20...2dc39de460e1
808: [09:30:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9935103
809: [09:30:31] * travis-ci has left #silverstripe
810: [09:30:55] <ARNHOE> let me remove framework and donwload latest version and ill do merge=true then
811: [09:32:07] <ARNHOE> there is no documentation on merge=true, just like that you can only run it on themes aswell. I guess when I have some time left over ill write some doc
812: [09:33:12] <ARNHOE> chillu: oke I ran it with merge=true and it added 7 lines of translations
813: [09:33:15] <wmk> chillu, ok, thanks. any chance to get this string translated in mysite/lang/de.yml or is that file not parsed for framework?
814: [09:33:18] <ARNHOE> ill pull request
815: [09:33:28] <chillu> ARNHOE: Incl. the one from your PR?
816: [09:33:54] <ARNHOE> hmpf, what do you mean?
817: [09:34:51] <ARNHOE> chillu: https://github.com/ARNHOE/silverstripe-framework/commit/aac2c850c9efcc69eaf4a598a1d341424bcc474c
818: [09:35:17] <chillu> wmk: "m" comes after "f" in the alphabet, so in this case the override should work. You can also set the i18n.module_priority configuration key to force a different ordering
819: [09:36:26] <chillu> ARNHOE: Normally there's no need to do PRs for this, since we need to do a manual step for uploading those to transifex anyway we can also run the text collector at the same time. Hopefully in CI at some point, but manual once per month or so works as a baseline solution
820: [09:37:23] <ARNHOE> So do you want me to pull request this? or leave it over to the process that you described? I was going to check if cms had some missing translations aswell
821: [09:38:11] <ARNHOE> cms has no missing translations
822: [09:47:22] * mdowton quit ()
823: [09:56:17] * chillu23 has joined #silverstripe
824: [09:56:44] * howardgrigg has joined #silverstripe
825: [09:56:48] <chillu23> ARNHOE: yeah, no need for a PR, but thanks for checking :)
826: [09:58:40] * chillu quit (Ping timeout: 276 seconds)
827: [09:58:40] * chillu23 is now known as chillu
828: [10:01:12] * priithansen quit (Quit: priithansen)
829: [10:01:21] * howardgrigg quit (Ping timeout: 264 seconds)
830: [10:12:19] <wmk> chillu, do you know if transifex will alert me when new strings appear?
831: [10:12:33] <chillu> Not sure, did you check their help?
832: [10:24:41] * MrChimp has joined #silverstripe
833: [10:25:22] <MrChimp> Hi everyone. I've just started getting this error and I don't know why. Can anyone shed any light on it? call_user_func_array() expects parameter 1 to be a valid callback, first array member is not a valid class name or object
834: [10:30:34] <MrChimp> It's something to do with this function: public function getLatestBlogPosts(){
835: [10:30:34] <MrChimp> $holder = new ArrayList();
836: [10:30:34] <MrChimp> $newItem = BlogPage::get()->filter(array('Category' => 'Blog'))->sort('Created DESC')->limit(1);
837: [10:30:34] <MrChimp> $holder->add($newItem[0]);
838: [10:30:34] <MrChimp> $newItem = BlogPage::get()->filter(array('Category' => 'Mix'))->sort('Created DESC')->limit(1);
839: [10:30:35] <MrChimp> $holder->add($newItem[0]);
840: [10:30:35] <MrChimp> $newItem = BlogPage::get()->filter(array('Category' => 'News'))->sort('Created DESC')->limit(1);
841: [10:30:36] <MrChimp> $holder->add($newItem[0]);
842: [10:30:36] <MrChimp> return ($holder) ? $holder : false;
843: [10:30:37] <MrChimp> }
844: [10:30:54] * priithansen has joined #silverstripe
845: [10:31:05] * liam_ has joined #silverstripe
846: [10:31:29] * liam_ is now known as Guest75583
847: [10:31:37] <Guest75583> I need to use file_get_contents on a file in assets. how do I get the full path to the file?
848: [10:38:48] <Colin[pi]> Guest75583: get the File object for it and use ->getFullPath()
849: [10:43:25] * zippy__ has joined #silverstripe
850: [10:43:32] <zippy__> I wonder when the alpine will go
851: [10:44:16] <zippy__> I wouldn't mind trying a Carls Jr
852: [10:46:57] * swordsmanz quit (Quit: swordsmanz)
853: [10:47:21] * zfmf1 has left #silverstripe
854: [10:50:35] <Colin[pi]> Oh, Telstra.
855: [10:50:52] <Colin[pi]> Four hours to activate mobile broadband, and then, to create my account
856: [10:50:57] <Colin[pi]> so I can recharge it's value
857: [10:51:00] <Colin[pi]> I need to wait 24 hours
858: [10:51:03] <Colin[pi]> gg
859: [10:53:26] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
860: [10:54:07] * Bollig|DesignCty has joined #silverstripe
861: [10:58:07] * zippy__ quit (Quit: zippy__)
862: [11:00:25] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
863: [11:11:48] * pippy has joined #silverstripe
864: [11:13:04] * pippy_ quit (Ping timeout: 268 seconds)
865: [11:32:56] * Guest75583 has left #silverstripe
866: [11:42:24] * Nightjar has joined #silverstripe
867: [11:53:20] * funkygibbon has joined #silverstripe
868: [11:57:30] * howardgrigg has joined #silverstripe
869: [11:59:24] * zfmf1 has joined #silverstripe
870: [12:00:25] * Zauberfisch_ quit (Ping timeout: 246 seconds)
871: [12:01:52] * Shrike_Finland has joined #silverstripe
872: [12:02:03] <ocm> where does silverstripe find what user needs to be able to write?
873: [12:02:14] <ocm> e.g. file permissions for .htaccess: User 'apache' needs to be able to write to this file:
874: [12:02:34] <ss23> ocm: Probably just does `whoami`
875: [12:03:50] <ocm> well.. something weird is going on here on the dev server some how, centos with directadmin
876: [12:04:04] <ocm> created an subdomain , like dev.testdomain.com
877: [12:04:09] <ocm> as admin
878: [12:04:20] <ocm> all files/dirs on testdomain.com are admin:Admin
879: [12:04:23] <ocm> admin:admin*
880: [12:04:47] <ss23> Sounds expected so far, apache doesn't have permissino to write if they're owned by those usrs?
881: [12:04:50] <ocm> however, if I pull by repo from git and want to run it, I get an 500 error, because it wants to have apache as a user instead of admin.. creating an index.html as admin:admin
882: [12:05:01] <ocm> I can reach that file
883: [12:05:08] <ocm> I really dont know where to look, any clues for me?
884: [12:05:15] * Zauberfisch_ has joined #silverstripe
885: [12:05:56] <ss23> I don't understand at all. You know that you have files that are not writable by apache, and you want to know how to make them writable?
886: [12:06:00] <ss23> I'm really not undestanding sorry, ocm :<
887: [12:06:28] <ocm> hm.. I could try explain it some better
888: [12:06:35] <hamror> ocm: did you check if it's selinux?
889: [12:06:38] <ocm> the VPS runs with directadmin
890: [12:06:43] <ocm> selinux?
891: [12:06:43] <hamror> it controls who can write/read/exec
892: [12:06:45] <Shrike_Finland> Hello guys, what is your opinion, is it safer to use SS3.1beta 3 or latest build from github at the moment? For almost final site building...
893: [12:06:49] <hamror> it's quite common in centos
894: [12:06:53] <ocm> well, it is not the first time I am trying to do this trick
895: [12:06:59] <ocm> we have a testdomain on a test vps
896: [12:07:07] <hamror> did you su into www-data or whatever apache runs as and try fuck around?
897: [12:07:07] <ocm> on which I create an subdomain using directadmin
898: [12:07:21] <ocm> not using su
899: [12:07:24] <ocm> just logged in as admin
900: [12:07:33] <hamror> no but for testing you can dick about as the web server
901: [12:07:35] <ocm> created teh subdirectory using directadmin, loggedin as admin aswell
902: [12:07:38] <hamror> by suing into it
903: [12:07:40] <ss23> Shrike_Finland: Latest 3.1 from github
904: [12:07:53] <ocm> dick about? what do you mean?
905: [12:08:00] <ss23> Shrike_Finland: It's not to do with safe, because no API changes I'm aware of, but lots of bug fixes. There's maybe been like 5 commits recently, and we're almost at RC
906: [12:08:06] <hamror> you can type su <web server user>
907: [12:08:09] <hamror> as root
908: [12:08:12] <hamror> and try do stuff as it
909: [12:08:18] <hamror> to see first hand what's up
910: [12:08:25] <hamror> like su <www-datA>
911: [12:08:27] <hamror> *a
912: [12:08:45] * PigeonFriend quit (Ping timeout: 245 seconds)
913: [12:10:18] <Shrike_Finland> SS23: Great news, I see!
914: [12:13:55] <ss23> Shrike_Finland: yeah :D
915: [12:13:58] <ss23> I *really* want RC to come out
916: [12:14:00] <ss23> anyway, bed time
917: [12:17:28] * UndefinedOffset has joined #silverstripe
918: [12:20:55] * Colin[pi] quit (Ping timeout: 264 seconds)
919: [12:21:01] * g4b0_ quit (Ping timeout: 276 seconds)
920: [12:22:47] <Shrike_Finland> Have a nice night :)
921: [12:34:05] * g4b0_ has joined #silverstripe
922: [12:41:15] * travis-ci has joined #silverstripe
923: [12:41:15] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#751 (2.4 - ff9e4b3 : Ingo Schommer): The build was broken.
924: [12:41:15] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fe3f58511dad...ff9e4b3b10f3
925: [12:41:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9940690
926: [12:41:15] * travis-ci has left #silverstripe
927: [12:42:15] * travis-ci has joined #silverstripe
928: [12:42:16] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#477 (2.4 - 2713c46 : Ingo Schommer): The build passed.
929: [12:42:16] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/f8cfb5afd624...2713c462a264
930: [12:42:16] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/9940701
931: [12:42:16] * travis-ci has left #silverstripe
932: [12:44:10] * travis-ci has joined #silverstripe
933: [12:44:10] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#751 (2.4 - ff9e4b3 : Ingo Schommer): The build was broken.
934: [12:44:10] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fe3f58511dad...ff9e4b3b10f3
935: [12:44:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9940690
936: [12:44:10] * travis-ci has left #silverstripe
937: [12:55:55] * travis-ci has joined #silverstripe
938: [12:55:56] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#752 (2.4 - 83a9f35 : Ingo Schommer): The build is still failing.
939: [12:55:56] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ff9e4b3b10f3...83a9f3539843
940: [12:55:56] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9941500
941: [12:55:56] * travis-ci has left #silverstripe
942: [13:00:59] * Nightjar has left #silverstripe
943: [13:12:38] * howardgrigg quit (Remote host closed the connection)
944: [13:16:38] * micmania1 has joined #silverstripe
945: [13:17:59] * Motoservo has joined #silverstripe
946: [13:19:08] * priithansen quit (Quit: priithansen)
947: [13:19:40] * priithansen has joined #silverstripe
948: [13:25:25] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
949: [13:26:53] * kerosene has joined #silverstripe
950: [13:30:53] * travis-ci has joined #silverstripe
951: [13:30:54] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#753 (2.4 - a6a7b01 : Ingo Schommer): The build is still failing.
952: [13:30:54] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/83a9f3539843...a6a7b01afc77
953: [13:30:54] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9943399
954: [13:30:54] * travis-ci has left #silverstripe
955: [13:34:00] * Shrike_Finland quit (Quit: Leaving.)
956: [13:43:11] <Marvanni> Can I find somewhere what settings I can set with the yml files?
957: [13:43:32] <Marvanni> ... like adding Extensions, Routes etc..
958: [13:52:54] <micmania1> Marvanni: http://doc.silverstripe.org/framework/en/topics/configuration
959: [13:55:59] <Marvanni> yeah, but are that all possible setting?
960: [13:56:02] <Marvanni> s
961: [13:57:41] <andylockran> hi
962: [13:59:45] <Marvanni> this there also an equivalent of Config::inst()->update($this->class, 'my_other_property', 2); for yml ?
963: [14:01:09] * Shrike_Finland has joined #silverstripe
964: [14:01:29] * Motoservo has joined #silverstripe
965: [14:01:38] * martimiz has joined #silverstripe
966: [14:03:05] <Marvanni> I mean like Config::inst()->update('ClassName', 'property', 'value');
967: [14:03:23] * tier129 has joined #silverstripe
968: [14:05:47] * tier129 quit (Client Quit)
969: [14:05:49] * travis-ci has joined #silverstripe
970: [14:05:50] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#753 (2.4 - a6a7b01 : Ingo Schommer): The build is still failing.
971: [14:05:50] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/83a9f3539843...a6a7b01afc77
972: [14:05:50] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9943399
973: [14:05:50] * travis-ci has left #silverstripe
974: [14:16:51] * Shrike_Finland quit (Quit: Leaving.)
975: [14:20:13] <micmania1> Marvanni, the general rule is that any class that extends Object is configurable through the config system
976: [14:20:18] <micmania1> including yaml
977: [14:23:06] * howardgrigg has joined #silverstripe
978: [14:26:26] <Marvanni> ok thanks
979: [14:27:26] * howardgrigg quit (Ping timeout: 240 seconds)
980: [14:39:35] * spronk quit (Ping timeout: 245 seconds)
981: [14:51:41] * travis-ci has joined #silverstripe
982: [14:51:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#754 (3.0 - b159284 : Ingo Schommer): The build passed.
983: [14:51:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/428391ad1edb...b159284c6c9d
984: [14:51:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9945912
985: [14:51:42] * travis-ci has left #silverstripe
986: [15:06:14] <Marvanni> why is this hardcoded .... : '<p id="ForgotPassword"><a href="Security/lostpassword">'
987: [15:06:35] <micmania1> hardcoded where?
988: [15:06:49] <Marvanni> in MemberLoginForm
989: [15:07:00] <micmania1> in the template?
990: [15:07:08] <Marvanni> .php
991: [15:07:54] <Marvanni> I use a custom Controller for login, and it seems a bit weird to create a CustomLoginForm extends MemberLoginForm, just to replace the hardcoded links
992: [15:08:47] <Marvanni> the $controller is passed to the Form, so why not $controller->Link('lostpassword')
993: [15:13:48] * jrthomer quit (Remote host closed the connection)
994: [15:14:37] * jrthomer has joined #silverstripe
995: [15:18:56] * jrthomer quit (Remote host closed the connection)
996: [15:19:26] * jrthomer has joined #silverstripe
997: [15:21:00] * violetina has joined #silverstripe
998: [15:24:01] * CodeTrap has joined #silverstripe
999: [15:24:32] * zfmf1 has left #silverstripe
1000: [15:27:56] * ARNHOE quit (Remote host closed the connection)
1001: [15:28:06] <micmania1> marvanni, you're right. The short term solution would be to subclass it, but long-term you could send a pull request so that its fixed in future releases.
1002: [15:28:20] * CodeTrap quit (Ping timeout: 245 seconds)
1003: [15:30:48] <Marvanni> yeah, will test how it behaves..
1004: [15:30:56] <Marvanni> thanks anyway!
1005: [15:31:31] * CodeTrap has joined #silverstripe
1006: [15:44:45] * Nivery has joined #silverstripe
1007: [15:45:01] * travis-ci has joined #silverstripe
1008: [15:45:01] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#756 (3.0 - c0f5007 : Ingo Schommer): The build passed.
1009: [15:45:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b159284c6c9d...c0f5007d570b
1010: [15:45:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9947374
1011: [15:45:01] * travis-ci has left #silverstripe
1012: [15:49:36] <ocm> wmk, finally found the problem if the reading error for the apache user
1013: [15:49:43] <ocm> seems all my file attributes are scrammbled up
1014: [15:49:54] <ocm> still have to find out why and when that happend
1015: [15:50:35] * catcher has joined #silverstripe
1016: [15:53:08] * travis-ci has joined #silverstripe
1017: [15:53:08] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#478 (3.0 - d017286 : Ingo Schommer): The build passed.
1018: [15:53:08] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3a3e8f2faab4...d01728675db8
1019: [15:53:08] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/9947833
1020: [15:53:08] * travis-ci has left #silverstripe
1021: [15:54:13] * lietzmk has joined #silverstripe
1022: [15:57:54] * g4b0_ has left #silverstripe
1023: [15:58:38] * Motoservo quit (Quit: Shhh. I'm trying to get some sleep here.)
1024: [16:06:16] * martimiz quit (Quit: martimiz)
1025: [16:10:20] * travis-ci has joined #silverstripe
1026: [16:10:21] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#479 (3.1 - a54c51c : Ingo Schommer): The build passed.
1027: [16:10:21] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/f937b95eaf2b...a54c51c58636
1028: [16:10:21] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/9947898
1029: [16:10:21] * travis-ci has left #silverstripe
1030: [16:14:59] * Nivery quit (Quit: Nivery)
1031: [16:23:50] * howardgrigg has joined #silverstripe
1032: [16:29:47] * MrChimp quit (Read error: Connection reset by peer)
1033: [16:33:17] * travis-ci has joined #silverstripe
1034: [16:33:17] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#480 (3.1 - 99ba7bd : Ingo Schommer): The build passed.
1035: [16:33:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/a54c51c58636...99ba7bdb4ed7
1036: [16:33:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/9948268
1037: [16:33:17] * travis-ci has left #silverstripe
1038: [16:48:45] * travis-ci has joined #silverstripe
1039: [16:48:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#757 (3.1 - afe0666 : Ingo Schommer): The build was broken.
1040: [16:48:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/2dc39de460e1...afe06661efab
1041: [16:48:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9948270
1042: [16:48:46] * travis-ci has left #silverstripe
1043: [16:54:22] * lobarvaz quit (Remote host closed the connection)
1044: [17:03:23] * kerosene quit (Quit: leaving)
1045: [17:07:53] * guci0 quit (Ping timeout: 250 seconds)
1046: [17:13:30] * travis-ci has joined #silverstripe
1047: [17:13:30] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#758 (3.1 - c78c0aa : Ingo Schommer): The build passed.
1048: [17:13:30] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/afe06661efab...c78c0aa828ab
1049: [17:13:30] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9949068
1050: [17:13:30] * travis-ci has left #silverstripe
1051: [17:19:26] * micmania1 quit (Ping timeout: 240 seconds)
1052: [17:23:47] * travis-ci has joined #silverstripe
1053: [17:23:47] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#481 (master - 5eaeb74 : Ingo Schommer): The build has errored.
1054: [17:23:47] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/e0aa6101728e...5eaeb7462a1d
1055: [17:23:47] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/9949384
1056: [17:23:47] * travis-ci has left #silverstripe
1057: [17:38:58] * howardgrigg quit (Remote host closed the connection)
1058: [17:47:23] <FrozenFire> How to nginx SS?
1059: [17:47:28] <FrozenFire> Because I've failed hard in the past
1060: [17:47:45] <FrozenFire> And every resource I've read has been crap
1061: [17:56:17] * travis-ci has joined #silverstripe
1062: [17:56:18] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#759 (master - c8aabd3 : Ingo Schommer): The build passed.
1063: [17:56:18] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/542728cd94bf...c8aabd33ac25
1064: [17:56:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9949390
1065: [17:56:18] * travis-ci has left #silverstripe
1066: [18:07:51] * Liquide has joined #silverstripe
1067: [18:34:43] * SightUnseen has joined #silverstripe
1068: [18:34:48] * SightUnseen has left #silverstripe
1069: [18:37:17] * travis-ci has joined #silverstripe
1070: [18:37:17] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#761 (3.0 - a213afd : Ingo Schommer): The build passed.
1071: [18:37:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/c0f5007d570b...a213afd8882f
1072: [18:37:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9955247
1073: [18:37:17] * travis-ci has left #silverstripe
1074: [18:40:56] * travis-ci has joined #silverstripe
1075: [18:40:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#762 (2.4 - 84a8b21 : Ingo Schommer): The build passed.
1076: [18:40:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a6a7b01afc77...84a8b2193649
1077: [18:40:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9955597
1078: [18:40:57] * travis-ci has left #silverstripe
1079: [18:45:51] * travis-ci has joined #silverstripe
1080: [18:45:51] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#763 (2.4.11 - 84a8b21 : Ingo Schommer): The build failed.
1081: [18:45:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a6a7b01afc77...84a8b2193649
1082: [18:45:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9955610
1083: [18:45:51] * travis-ci has left #silverstripe
1084: [18:49:24] * howardgrigg has joined #silverstripe
1085: [18:53:26] * howardgrigg quit (Ping timeout: 240 seconds)
1086: [18:54:22] <FrozenFire> I'm about to become homicidal
1087: [18:54:29] <FrozenFire> Why is SS such a turd to try to make work with nginx?
1088: [18:54:41] <FrozenFire> I don't think I've ever been so angry at a configuration file
1089: [19:16:16] * chillu changed the topic to 'Welcome to #silverstripe discussion - IRC logs available at http://logs.silverstripe.org - Now with search. || 8th of August 2013: 2.4.11 and 3.0.6 security releases || Development mailing list: http://ss.org.nz/ss-dev'
1090: [19:17:46] * travis-ci has joined #silverstripe
1091: [19:17:46] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#764 (3.0 - 7a117fe : Ingo Schommer): The build passed.
1092: [19:17:46] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/a213afd8882f...7a117fe713e7
1093: [19:17:46] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9956547
1094: [19:17:46] * travis-ci has left #silverstripe
1095: [19:22:57] * unsignedint quit (Read error: Connection reset by peer)
1096: [19:24:03] * unsignedint has joined #silverstripe
1097: [19:25:45] <catcher> how can I test the val of a boolean property in onBeforeWrite that was just saved?
1098: [19:28:59] <catcher> ah nm, this->record seems to be working
1099: [19:36:20] * Shrike_Finland has joined #silverstripe
1100: [19:47:48] <FrozenFire> Why is it that, despite having overridden LinkingMode on my Page class, I'm still getting SiteTree::LinkingMode?
1101: [19:48:36] <FrozenFire> Because I'm editing the wrong file, is why
1102: [19:48:37] <FrozenFire> -.-
1103: [20:00:57] * simon_w|air has joined #silverstripe
1104: [20:02:55] * mobiusnz quit (Quit: Leaving.)
1105: [20:05:32] * simon_w|air changed the topic to 'Welcome to #silverstripe discussion - IRC logs available at http://logs.silverstripe.org - Now with search. || 8th of August 2013: 2.4.11 and 3.0.6-rc1 security releases: http://ss.org.nz/2.4.11 and http://ss.org.nz/3.0.6rc1 || Development mailing list: http://ss.org.nz/ss-dev'
1106: [20:06:52] * micmania1 has joined #silverstripe
1107: [20:25:32] * mobiusnz has joined #silverstripe
1108: [20:26:39] * travis-ci has joined #silverstripe
1109: [20:26:39] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#765 (post-2.4 - 755906c : Ingo Schommer): The build is still failing.
1110: [20:26:39] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/329f36a35974...755906cad86b
1111: [20:26:39] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/9960015
1112: [20:26:39] * travis-ci has left #silverstripe
1113: [20:28:06] * travis-ci has joined #silverstripe
1114: [20:28:06] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#482 (post-2.4 - c8fe8f7 : Ingo Schommer): The build passed.
1115: [20:28:06] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/7bbaaeb76490...c8fe8f793e73
1116: [20:28:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/9960027
1117: [20:28:06] * travis-ci has left #silverstripe
1118: [20:30:01] * UndefinedOffset quit (Quit: Leaving.)
1119: [20:31:23] * DigNZ has joined #silverstripe
1120: [20:31:24] * DigNZ quit (Remote host closed the connection)
1121: [20:31:38] * DigNZ has joined #silverstripe
1122: [20:38:10] * unsignedint quit (Read error: Connection reset by peer)
1123: [20:38:42] * unsignedint has joined #silverstripe
1124: [20:40:12] * nickmolhoek has joined #silverstripe
1125: [20:40:13] * nickmolhoek quit (Remote host closed the connection)
1126: [20:40:27] * nickmolhoek has joined #silverstripe
1127: [20:42:51] * simon_w|air quit (Remote host closed the connection)
1128: [20:43:08] * simon_w|air has joined #silverstripe
1129: [20:44:24] * Pyromanik quit (Ping timeout: 240 seconds)
1130: [20:45:58] * mobiusnz quit (Quit: Leaving.)
1131: [20:47:06] * Pyromanik has joined #silverstripe
1132: [20:50:09] * howardgrigg has joined #silverstripe
1133: [20:50:37] * Stomach has joined #silverstripe
1134: [21:01:48] * nhorstmeier has joined #silverstripe
1135: [21:03:23] <catcher> is editor.css no longer picked up by the CMS? (3.0.5)
1136: [21:04:23] <Pyromanik> nfi :<
1137: [21:05:09] * Guest53324 quit (Ping timeout: 246 seconds)
1138: [21:05:31] * FrozenFire is having weird issues with TinyMCE and nginx
1139: [21:05:39] <FrozenFire> I have the special rule in my nginx configuration for it
1140: [21:05:45] <FrozenFire> And the same configuration works locally
1141: [21:06:08] * onre has joined #silverstripe
1142: [21:06:12] <Pyromanik> FrozenFire: ohai!
1143: [21:06:21] <FrozenFire> But... it's not returning anything from the tiny_mce_gzip.php thingy
1144: [21:06:24] <FrozenFire> Pyromanik, Howdy hey.
1145: [21:06:32] * onre is now known as Guest76831
1146: [21:06:44] <Pyromanik> FrozenFire: is this tinymce, or ss with tinymce?
1147: [21:06:51] <FrozenFire> SS's
1148: [21:06:59] <FrozenFire> /framework/thirdparty/tinymce/tiny_mce_gzip.php
1149: [21:07:15] <FrozenFire> http://dev.roave.com/framework/thirdparty/tinymce/tiny_mce_gzip.php
1150: [21:08:13] <Pyromanik> FrozenFire: it's not double derping the gzip is it?
1151: [21:08:18] <FrozenFire> No clue
1152: [21:08:31] <Pyromanik> what is the request response?
1153: [21:08:37] <FrozenFire> You can see it there.
1154: [21:08:41] <FrozenFire> Nada.
1155: [21:08:46] <FrozenFire> Not even an error
1156: [21:08:48] <FrozenFire> Just, nothing
1157: [21:09:14] <Pyromanik> so request header, no response header?
1158: [21:09:59] <FrozenFire> There's a response header, apparently
1159: [21:10:05] <FrozenFire> And PHP is apparently being invoked
1160: [21:10:18] <FrozenFire> But it's returning Content-Type: text/html
1161: [21:10:21] <FrozenFire> And no output
1162: [21:10:41] * BPower has joined #silverstripe
1163: [21:10:56] <BPower> Best way to delete all DataObjects in a DataList? Just a foreach loop and ->delete()?
1164: [21:11:38] <Pyromanik> BPower: $list->delete()
1165: [21:11:42] <Pyromanik> or something like that
1166: [21:11:43] <Pyromanik> iirc
1167: [21:13:40] <BPower> Pyromanik: I don't see a delete method on the list. Is it a mixin? I do see removeAll() which just does a foreach, ->remove() (which then calls delete())
1168: [21:15:00] <Pyromanik> dafuq is a mixin?
1169: [21:15:14] <Pyromanik> BPower: so use removeAll
1170: [21:15:35] <BPower> haha
1171: [21:15:57] <BPower> Pyromanik: mixin/extension same thing
1172: [21:16:06] * zippy__ has joined #silverstripe
1173: [21:16:16] <Pyromanik> no
1174: [21:16:24] <Pyromanik> mixin is dorky hipster speak.
1175: [21:17:01] <BPower> hah! willr uses it on the forum, so I figured it was lingo here :)
1176: [21:17:06] <BPower> At least back in 2011
1177: [21:17:08] <Pyromanik> nup
1178: [21:17:16] * Peavers has joined #silverstripe
1179: [21:17:29] * Shrike_Finland quit (Quit: Leaving.)
1180: [21:17:33] <Peavers> Hmm
1181: [21:18:23] <Pyromanik> BPower: people in the CSS parser community use that word
1182: [21:18:34] * UncleCheese has joined #silverstripe
1183: [21:18:50] <BPower> Pyromanik: ya - I use SCSS+Compass so I'm familiar with that
1184: [21:18:56] <Pyromanik> yeh.
1185: [21:19:17] <BPower> We have an onBeforePublish, but is there an onBeforeUnpublish?
1186: [21:19:24] <Pyromanik> it'd be like if I'd tried to be hipster and said "CSSsphere"
1187: [21:19:33] <Pyromanik> or cssosphere
1188: [21:19:38] <BPower> hah
1189: [21:19:40] * mobiusnz has joined #silverstripe
1190: [21:19:47] <BPower> stylesphere?
1191: [21:19:48] <Pyromanik> because that's hip
1192: [21:19:49] <Pyromanik> that's cook
1193: [21:19:51] <Pyromanik> cool*
1194: [21:19:55] <Pyromanik> like blogosphere
1195: [21:20:05] <simon_w|air> mixin's a design pattern, nothing specific to CSS :p
1196: [21:20:13] <simon_w|air> It's what DataExtension is
1197: [21:20:13] <BPower> BAM!
1198: [21:20:13] <Pyromanik> nonsense
1199: [21:20:28] <Pyromanik> I refuse to use it.
1200: [21:20:38] <Pyromanik> sounds like paintbrushes.
1201: [21:20:55] <BPower> It's okay, Pyromanik, we're not banishing you...
1202: [21:20:58] <BPower> ...yet
1203: [21:21:01] <Pyromanik> :<
1204: [21:21:42] <Pyromanik> I guess for the most part I just don't like the word.
1205: [21:22:36] <Pyromanik> also I'm mad about facebook now requiring me to log in in order to generate a stupid generic like button.
1206: [21:23:17] <BPower> And I just answered my own question on onBeforeUnpublish - it does exist. Thank you, grep.
1207: [21:24:27] <zippy__> Morning
1208: [21:26:24] * FrozenFire is growing increasingly frustrated with SS and nginx
1209: [21:26:25] <FrozenFire> >.>
1210: [21:26:34] <simon_w|air> Fix it Felix!
1211: [21:26:47] <FrozenFire> I've spent half my day today just trying to get SS running
1212: [21:27:01] <BPower> I'm gonna wreck it!
1213: [21:27:03] <simon_w|air> I spent less than that getting HHVM+postgres running
1214: [21:27:17] <FrozenFire> Sure didn't help that the SS docs are completely and totally wrong regarding nginx configuration
1215: [21:27:37] <FrozenFire> If you happen to think to visit https://github.com/silverstripe/silverstripe-framework/blob/3.1/docs/en/installation/nginx.md you're still mislead
1216: [21:27:50] <FrozenFire> Nothing worked until I combined it all into one file
1217: [21:28:00] <FrozenFire> And now tiny_mce_gzip.php is still not working
1218: [21:28:04] <FrozenFire> It worked on my local system
1219: [21:28:15] <FrozenFire> But something magical is happening to cause it not to work on our staging server >.>
1220: [21:28:59] <irogue> yeah, the nginx docs really need redoing
1221: [21:29:05] <zippy__> simon_w|air: always with the postres!
1222: [21:29:11] <irogue> i should do it, but tbh i'm still not happy with my own nginx conf yet
1223: [21:29:30] <Pyromanik> FrozenFire: well you should have asked!
1224: [21:29:41] <FrozenFire> None of you guys were awake
1225: [21:29:43] <FrozenFire> Lazy-heads
1226: [21:29:56] <FrozenFire> Get with the program. PST or die.
1227: [21:29:57] <Pyromanik> I've told MANY a person that the ss docs are copied directly from the nginx wiki, which in turn was plonked in by someone who REALLY didn't know what they were doing
1228: [21:30:06] <simon_w|air> Them were some good 12 hours of sleep
1229: [21:30:17] <Pyromanik> and in fact break just about every single "Don't do"'s from nginx's beginners guide
1230: [21:30:41] <FrozenFire> I suspect the issue here is actually that the stupid tiny_mce_gzip.php script is miscalculating the cache directory
1231: [21:30:48] <Pyromanik> plz define PST?
1232: [21:30:49] <FrozenFire> Because it's not creating the disk cache file
1233: [21:30:53] <FrozenFire> Pacific Standard Time
1234: [21:31:02] <Pyromanik> but we're in the pacific!
1235: [21:31:08] <Pyromanik> our time is more standard than yours.
1236: [21:31:10] <Peavers> simon_w|air, you didn't let sig know we don't need your punk ass
1237: [21:31:10] <simon_w|air> Pyromanik, a timezone no one cares about and FrozenFire probably isn't in
1238: [21:31:17] <Pyromanik> :P
1239: [21:31:26] * FrozenFire is currently in PDT, actually :P
1240: [21:31:27] <Pyromanik> someone give me code for a goddamn like button
1241: [21:31:35] <simon_w|air> Exactly!
1242: [21:31:36] <irogue> "SnapperNet Australia" has awesome opening hours
1243: [21:31:40] <irogue> 7am-3pm
1244: [21:31:47] <FrozenFire> But PDT is just PST with a bit of craziness added
1245: [21:31:47] <irogue> yay timezones :P
1246: [21:32:12] <FrozenFire> So, someone should really halp
1247: [21:32:12] <zippy__> Got an interesting issue, on my Member model, I have a has_one => 'Teacher' => 'Member', 'Principle' => 'Member'. So my member record gets TeacherID and PrincipleID which is fine, but I want to create a has_many with Children() and Staff() - I can create these as functions on the model which look up the TeacherID and PrincipleID - but does the has_many only work with different models?
1248: [21:32:28] * willr_ has joined #silverstripe
1249: [21:32:38] <FrozenFire> zippy__, You probably want many_many
1250: [21:33:02] <FrozenFire> Or, well
1251: [21:33:03] <zippy__> FrozenFire: but will the join table just be Member_Member?
1252: [21:33:32] <FrozenFire> It really depends on what you're looking for
1253: [21:33:58] * Liquide quit ()
1254: [21:34:10] <FrozenFire> has_many is a reverse relationship with some strict expectations
1255: [21:34:28] <FrozenFire> You might just want to create your own getter
1256: [21:34:33] <zippy__> Yea I think that is where it's not working, due to those expectations
1257: [21:34:38] <zippy__> in the end, that is what I did
1258: [21:35:51] * nhorstme_ has joined #silverstripe
1259: [21:38:43] * nhorstmeier quit (Ping timeout: 276 seconds)
1260: [21:39:00] <FrozenFire> Okay, so I've established that it's nginx not even routing this stupid damn thing to the script
1261: [21:39:55] <BPower> Hm.
1262: [21:41:40] * Stomach quit (Quit: Leaving.)
1263: [21:47:58] <BPower> I noticed that SiteTree does not explicitly add SiteTreeExtension. In fact, nothing actually references SiteTreeExtension except the deprecated SiteTreeDecorator. How is it being added to SiteTree?
1264: [21:51:10] <willr_> What does SiteTreeExtension provide? Bit ambiguous
1265: [21:53:00] <simon_w|air> Peavers, you tell him!
1266: [21:53:07] <Peavers> I did!
1267: [21:53:37] <simon_w|air> Good!
1268: [21:53:43] <Peavers> Fine!
1269: [21:55:24] <BPower> willr_: um... /cms/code/model/SiteTreeExtension.php
1270: [21:55:48] <simon_w|air> Done!
1271: [21:56:09] <BPower> willr_: you're the one who brought it to my attention in the first place haha http://www.silverstripe.org/general-questions/show/18755#post310503
1272: [21:56:09] <simon_w|air> BPower, you add it like any other DataExtension
1273: [21:56:36] <BPower> simon_w|air: no no no, this is a default extension that comes with the CMS
1274: [21:56:56] <BPower> it provides the framework for canPublish, onBeforePublish, etc
1275: [21:57:03] <simon_w|air> No it doesn't
1276: [21:57:15] <simon_w|air> That's all done in SiteTree itself
1277: [21:57:41] <Pyromanik> heirarchy is a concrete defined extension
1278: [21:57:42] <Pyromanik> iirc
1279: [21:57:42] <BPower> simon_w|air: look at the comments in SiteTree.php: "@uses SiteTreeExtension->canPublish()"
1280: [21:57:48] <Pyromanik> err, versioned
1281: [21:58:00] <Pyromanik> BPower: comments can be wrong, code cannot.
1282: [21:58:17] <simon_w|air> Hmm, ham or pork
1283: [21:58:21] * nhorstme_ quit (Remote host closed the connection)
1284: [21:58:21] <simon_w|air> Tough decision
1285: [21:58:59] <BPower> Pyromanik: simon_w|air: search SiteTree.php for onBeforeUnpublish -- you won't find it except in reference to SiteTreeExtension->onBeforeUnpublish()
1286: [21:59:28] <simon_w|air> $this->invokeWithExtensions('onBeforeUnpublish', $this);
1287: [21:59:37] <simon_w|air> Uh, look what I just found?
1288: [22:00:04] <BPower> K, I'm on 3.0.4 - are you looking at 3.1?
1289: [22:00:11] <simon_w|air> The code that actually calls onBeforePublish() on any extension
1290: [22:00:55] <simon_w|air> $this->extend('onBeforeUnpublish');
1291: [22:01:00] <BPower> does invokeWithExtensions() replace extend()?
1292: [22:01:01] <simon_w|air> That's the 3.0 version
1293: [22:01:04] <BPower> ok
1294: [22:01:26] <BPower> so why does SiteTreeExtension even exist if it's not really being used?
1295: [22:02:07] <simon_w|air> It provides prototypes for methods that an extension can use on a SiteTree
1296: [22:02:22] <BPower> shouldn't that be an interface, then?
1297: [22:02:38] <simon_w|air> Can't have optional methods in an interface
1298: [22:03:08] <BPower> true... and actually quite unfortunate.
1299: [22:03:13] * nickmolhoek quit (Quit: nickmolhoek)
1300: [22:03:17] * funkygibbon quit (Ping timeout: 256 seconds)
1301: [22:04:43] * EasyCo has joined #silverstripe
1302: [22:05:32] <BPower> So while in an extension, if I want to know whether an object has versioning enabled (like SiteTree), what would I look for?
1303: [22:05:55] <BPower> I could just do ($this->owner instanceof SiteTree), but will that capture everything?
1304: [22:07:24] <simon_w|air> $this->owner::has_extension('Versioned')
1305: [22:08:45] <BPower> Thanks!
1306: [22:09:17] <BPower> that syntax works?
1307: [22:09:54] <simon_w|air> Hopefully
1308: [22:10:25] * Stomach has joined #silverstripe
1309: [22:10:47] <BPower> haha
1310: [22:11:24] <BPower> if it doesn't, $this->owner->ClassName::has_ext.... should work.
1311: [22:11:46] <simon_w|air> Well, it'll be $c = $this->owner; $c::has_extension
1312: [22:12:24] <ss23> bah
1313: [22:12:29] <ss23> Gotta go out IRL
1314: [22:12:56] <simon_w|air> Hah!
1315: [22:13:11] <ss23> ikr
1316: [22:13:15] <ss23> government departments!
1317: [22:13:36] <simon_w|air> Going to go see Peavers then?
1318: [22:15:35] <Peavers> oi
1319: [22:15:38] <Peavers> wut?
1320: [22:16:53] <simon_w|air> ss23 is going to a government department!
1321: [22:16:57] <simon_w|air> That means you, right?
1322: [22:17:09] <Peavers> lol
1323: [22:17:32] <BPower> simon_w|air: ya, it has to be the last one. neither of the others work.
1324: [22:17:49] <ss23> lol
1325: [22:20:13] * jcwacky has joined #silverstripe
1326: [22:20:26] * Colin[pi] has joined #silverstripe
1327: [22:21:20] * violetina quit (Remote host closed the connection)
1328: [22:26:06] <Pyromanik> simon_w|air: ham.
1329: [22:26:35] <ss23> Where are the MoE offices anyway?
1330: [22:26:36] <simon_w|air> Picked pork!
1331: [22:27:30] <Pyromanik> facebook, you suck beyond comprehesion
1332: [22:28:32] <Pyromanik> urgh
1333: [22:28:35] <Pyromanik> because localhost :<
1334: [22:28:56] <ss23> hmm
1335: [22:29:12] <ss23> Question on like, what you're meant to do in social situations. Can I get a hot chocolate and drink it on way to this place and finish it there/
1336: [22:29:23] <ss23> like will she be like "wtf ur at work and you're drinking a hot chocolate on the job in a clients offices?!"
1337: [22:30:02] <ss23> omg these offices are far away and I have no map
1338: [22:30:06] * jcwacky quit (Remote host closed the connection)
1339: [22:30:47] <ss23> THESE STREETS DON'T EVEN HAVE NAMES ON THEM
1340: [22:30:47] <ss23> FFF
1341: [22:31:27] <Peavers> no you shouldn't walk into a client with a coffee/drink in your hand
1342: [22:33:11] <ss23> mmk
1343: [22:33:14] <ss23> I'll finish it on the way
1344: [22:33:18] <ss23> also, damn wellington is big
1345: [22:33:18] <ss23> :<
1346: [22:33:28] <ss23> going to take so long to get to where I need to go
1347: [22:33:29] <simon_w|air> 2km across?
1348: [22:33:49] <Peavers> lol its a 15 minute walk anywhere.
1349: [22:34:04] <ss23> 15 min == omg long time
1350: [22:34:17] <ss23> okay so, I need to walk along that long road, and if I get to a shell service station, I've gone too far...
1351: [22:34:21] <ss23> damn
1352: [22:34:21] <ss23> navigation is *hard*
1353: [22:34:29] <Peavers> where are you going?
1354: [22:34:31] <Peavers> what building?
1355: [22:34:36] <ss23> DIA
1356: [22:34:47] <Peavers> lol good luck.
1357: [22:34:51] <simon_w|air> Which one?
1358: [22:34:56] <ss23> WHAT DO YOU MEAN ;_;
1359: [22:34:57] <ss23> uh...
1360: [22:35:04] <simon_w|air> There's at least two DIA buildings
1361: [22:35:05] <ss23> waring taylor street
1362: [22:35:13] <Peavers> There is three I think
1363: [22:35:52] * swordsmanz has joined #silverstripe
1364: [22:35:52] <simon_w|air> Oh, the one by Midland Park
1365: [22:36:04] <ss23> hmmm
1366: [22:36:10] <ss23> they must be in the TSB Bank Towr entrance, right?
1367: [22:36:23] <simon_w|air> ss23, follow the buses until the VF building/park
1368: [22:36:30] <ss23> I've found my own route!
1369: [22:36:37] <ss23> Now I need to know what entrance to go in :O
1370: [22:37:02] <simon_w|air> All of them!
1371: [22:37:04] <ss23> http://goo.gl/maps/QhPYx pls help, entrance is the TSB Bank Tower one right?
1372: [22:37:08] <ss23> RITE
1373: [22:37:17] <Peavers> yeah sounds right
1374: [22:37:39] <simon_w|air> Yes
1375: [22:38:13] <simon_w|air> And that's not the Passport office one which they have a nice sign explaining
1376: [22:38:52] <Pyromanik> ss23: client will probably offer you a drink, so no.
1377: [22:39:03] <ss23> ...
1378: [22:39:05] <ss23> no way they'll offer me a drink!
1379: [22:39:12] <ss23> She'll consider it right up until she see's my hair
1380: [22:39:13] <ss23> in fact
1381: [22:39:22] <Pyromanik> tax dollars brah, essentially you're paying for it anyway.
1382: [22:39:23] <ss23> What if they're like "lol no, no hippies allowed in DIA building"
1383: [22:39:23] <ss23> :D
1384: [22:39:26] <ss23> haha Pyromanik XD
1385: [22:39:37] <Pyromanik> xD
1386: [22:40:01] <ss23> She did say "Get checked in at reception"
1387: [22:40:08] <ss23> which makes it sound like they have some level of 'security'
1388: [22:41:18] <ss23> n e way im off IRL naow bbiab ^.^ ~~ guise
1389: [22:41:19] <simon_w|air> Or maintain a log of who's in the building for safety reasons
1390: [22:41:29] <ss23> simon_w|air: I prefer the idea they're mega super hackers
1391: [22:41:29] <ss23> :D
1392: [22:54:44] * catcher quit (Quit: Leaving)
1393: [23:02:36] * Colin[pi] quit (Read error: Connection reset by peer)
1394: [23:02:56] * Colin[pi] has joined #silverstripe
1395: [23:05:29] <Colin[pi]> Morning!
1396: [23:05:30] * willr_ quit (Read error: Connection reset by peer)
1397: [23:05:30] * howardgrigg quit (Remote host closed the connection)
1398: [23:05:30] * willr has joined #silverstripe
1399: [23:05:30] <Pyromanik> when a class is applied to an element does the transition associated not fire?
1400: [23:05:30] <Pyromanik> I think it should, and it appears to not.
1401: [23:06:38] <micmania1> Any reason why GridFieldFilterHeader doesn't work with Pages?
1402: [23:06:51] <micmania1> It just doesn't show any search fields even though they're defined.
1403: [23:07:15] * lietzmk quit (Quit: Leaving)
1404: [23:09:20] <Pyromanik> oic, no position because display:none
1405: [23:09:24] <Pyromanik> so no transition
1406: [23:09:32] <Pyromanik> even though it's about to be faded in, LAME
1407: [23:12:46] <simon_w|air> Bah, HHVM's ReflectionMethod doesn't have setAccessible :(
1408: [23:13:21] <Colin[pi]> simon_w: I cheated with the recursive query thing :P
1409: [23:13:36] <simon_w|air> Of course you did :p
1410: [23:14:07] <Colin[pi]> I put in ID fields for the required parents in the child :D
1411: [23:14:17] <Colin[pi]> nasty, but works
1412: [23:14:31] <Colin[pi]> onBeforeWrite() sorts out the IDs if it changes position
1413: [23:32:56] <Pyromanik> getting hungry :<
1414: [23:40:02] * funkygibbon has joined #silverstripe
1415: [23:49:38] <simon_w|air> So eat?
1416: [23:58:33] * lewellyn passes Pyromanik a piece of farinata.
1417: [23:58:38] <lewellyn> i just took it out of the oven :D
1418: [23:58:40] * BPower quit (Remote host closed the connection)
1419: [23:58:51] * chillu quit (Quit: chillu)
1420: [23:59:08] * zippy__ quit (Ping timeout: 260 seconds)
1421: [23:59:42] <ss23> Ah
1422: [23:59:44] <ss23> That was a long walk.
1423: [23:59:50] <ss23> Peavers: I feel your pain
1424: [23:59:51] * spronk has joined #silverstripe

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