#silverstripe IRC Log

IRC log for 24 November 2014

All timestamps are in UTC.

1: [00:02:54] * Guits quit (Ping timeout: 264 seconds)
2: [00:04:10] * Stomach quit (Quit: zzz)
3: [00:05:47] <Blacklite> Ryan-Toast: it's not a whole build though
4: [00:05:54] <Ryan-Toast> Blacklite: hmm?
5: [00:05:59] <Blacklite> it's a new monitor and gpu
6: [00:06:08] <Ryan-Toast> Blacklite: ah, right.
7: [00:06:09] <Blacklite> + keyboard / mouse + psu
8: [00:07:36] * helenclarko quit (Quit: Page closed)
9: [00:14:38] * novaweb just set up his first open source SilverStripe repo on github
10: [00:14:41] <novaweb> yeow
11: [00:15:52] <Colin[pi]> yay
12: [00:29:23] * Kingy is now known as Kingy[a]
13: [00:32:10] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
14: [00:32:47] * Kingy[a] is now known as Kingy
15: [00:36:52] <Blacklite> "nVidia documentation seems to suggest that 4K is only supported on 600 and 700 series cards:"
16: [00:36:55] <Blacklite> crap
17: [00:38:23] <Kingy> hmmm
18: [00:38:43] <Blacklite> wanna buy this: http://www.pbtech.co.nz/index.php?z=p&p=MONSAM9285&utm_source=CyberMonday&utm_medium=email&utm_campaign=Retail&utm_content=Cyber-Monday_30&qr=ec_Cyber-Monday_30
19: [00:38:56] <Blacklite> on special for $574
20: [00:39:22] <Kingy> could still get it
21: [00:39:28] <Kingy> just might not get the full experience just now
22: [00:39:51] <Kingy> might convince the boss to let me buy http://www.pbtech.co.nz/index.php?z=p&p=NBKASU550870&utm_source=CyberMonday&utm_medium=email&utm_campaign=Retail&utm_content=Cyber-Monday_14&qr=ec_Cyber-Monday_14
23: [00:40:09] <Blacklite> wouldn't running a 4k monitor at 1080p resolution be shitty?
24: [00:40:15] <Blacklite> actually i should get 2560x
25: [00:40:17] <Kingy> ionno
26: [00:40:24] <Kingy> Blacklite: depends what you run now I guess
27: [00:40:30] <Blacklite> 1920 * 1200 atm
28: [00:40:33] <Kingy> I don't even have full HD monitors so anything would be better lol
29: [00:43:09] <Colin[pi]> holy shit: http://js1k.com/2014-dragons/details/1951
30: [00:43:19] <Colin[pi]> (click here next to demo)
31: [00:43:32] <Kingy> Colin[pi]: why you no come play with Blacklite and I on friday
32: [00:43:50] <Colin[pi]> when i looked you weren't online :o
33: [00:44:10] <Kingy> pretty sure we played until like 11
34: [00:44:30] <Colin[pi]> dunno, unless I was a bit too late
35: [00:44:57] <Kingy> we managed to get Blacklite a rank :)
36: [00:44:59] <Blacklite> yes
37: [00:45:05] <Colin[pi]> ooh
38: [00:45:12] <Kingy> straight to silver elite
39: [00:45:20] <Kingy> skips the nooby ranks
40: [00:46:12] <Blacklite> well i definitely won more matches than i lost
41: [00:46:39] <Kingy> yeah def helps that you played quite a bit of casual before
42: [00:46:54] <Blacklite> i played a lot of cs:source too it hink
43: [00:47:09] <novaweb> BOOOOM Headshot!
44: [00:47:12] <Colin[pi]> I was addicted to CS:S
45: [00:47:21] <Colin[pi]> and I played a buttload of CS:GO casual
46: [00:47:26] <Kingy> yeah
47: [00:47:36] <novaweb> I played 600 hours in one month when I broke up with my last gf
48: [00:47:41] <novaweb> you do the math!
49: [00:47:53] <Colin[pi]> haha that'll do it
50: [00:47:54] <Kingy> novaweb: to be fair i'd probably do the same
51: [00:48:09] <Kingy> I tend to play the game every spare hour I get with her now
52: [00:48:13] <Blacklite> i had 93 hours on cs:source.. not that many i suppose. just hit 100 with cs:go though
53: [00:48:16] <Kingy> if we broke up i'd go crazy lol
54: [00:48:25] <novaweb> what is cs:go
55: [00:48:32] <novaweb> should I be getting this>????
56: [00:48:34] <Kingy> global offensive
57: [00:48:36] <Blacklite> counter-strike: global offensive
58: [00:48:37] <Kingy> newest CS
59: [00:48:38] <novaweb> uh oh
60: [00:48:46] <novaweb> there goes the rest of my year
61: [00:49:02] <Colin[pi]> holy crap: http://js1k.com/2014-dragons/demo/1854
62: [00:49:08] <Colin[pi]> (less than 1K js)
63: [00:49:16] <Kingy> Blacklite: I have 347hrs in CS:S
64: [00:49:21] <Blacklite> dayum
65: [00:49:32] <Kingy> 65.5 so far in GO
66: [00:49:57] <Kingy> 32 of which were in the last wek
67: [00:49:58] <Kingy> lol
68: [00:50:06] <Kingy> and probably the rest the week before
69: [00:50:12] * Colin[pi] sits down with Kingy... "we need to talk...
70: [00:50:14] <novaweb> what is the best "current" way to detect if a browser is IE 8 or 9 using jQuery...?
71: [00:50:41] <Kingy> novaweb: I believe we use a jquery script
72: [00:51:26] <Kingy> hold on, looking
73: [00:51:31] <novaweb> churp
74: [00:51:48] <Kingy> $.browser was depreciated in 1.9
75: [00:52:03] <novaweb> if(ie8 or 9) do some shit because ie sucks and is the only one that doesn't do it.
76: [00:52:44] * veb has joined #silverstripe
77: [00:54:22] <Kingy> novaweb: http://jreject.turnwheel.com/
78: [00:54:58] * micmania1 quit (Read error: Connection reset by peer)
79: [00:55:11] * camfindlay quit (Read error: Connection reset by peer)
80: [00:55:45] * UncleCheese quit (Read error: Connection reset by peer)
81: [00:55:52] * camfindlay has joined #silverstripe
82: [00:56:38] <novaweb> Thanks Kingy
83: [00:56:57] * micmania1 has joined #silverstripe
84: [01:02:51] * Stomach has joined #silverstripe
85: [01:07:28] <antmas> I've been tweaking with my mouse sens and spamming deathmatches
86: [01:07:39] <antmas> my aim is improving - but dat recoil control :|
87: [01:07:43] <Kingy> what do you have it on now antmas?
88: [01:07:56] <antmas> 2.02
89: [01:07:59] <antmas> RAW on
90: [01:08:06] <antmas> accell off
91: [01:08:44] <Kingy> you short bursting it?
92: [01:11:25] <antmas> yarp
93: [01:11:31] <antmas> I always do that anyway
94: [01:12:19] <Kingy> hmm
95: [01:12:24] <Kingy> just gotta get used to it i guess
96: [01:12:54] <antmas> it's the M4A1 which as a 2nd round dip which is hard to get used to
97: [01:13:04] <antmas> AK is easy as that 1st round is pinpoint after a shuffle
98: [01:13:10] <Kingy> silenced version
99: [01:13:13] <antmas> yar
100: [01:13:17] <Kingy> I find it the other way round.. ak is always nuts for me
101: [01:13:25] <antmas> <3 AK but bored of it :P
102: [01:13:32] <Kingy> m4 is bam to the face
103: [01:13:41] <Kingy> Blacklite uses the aug fairly often
104: [01:13:46] <Kingy> makes it a bit easier
105: [01:14:11] <antmas> I never use hte AUG
106: [01:14:20] <antmas> the look is off putting :P
107: [01:14:31] <Kingy> well obviously in GO it has the proper scope
108: [01:14:33] <Kingy> so makes easier for aiming
109: [01:14:36] * babak quit (Quit: Connection closed for inactivity)
110: [01:15:07] <Kingy> antmas: download http://steamcommunity.com/sharedfiles/filedetails/?id=213240871
111: [01:15:52] <antmas> Kingy: chur
112: [01:16:02] <antmas> the right click always gets my on the M4A1 :P
113: [01:16:06] <antmas> really bad timing
114: [01:16:18] <Kingy> basically just puts red dots on the wall
115: [01:16:20] <Kingy> and you gotta hit em
116: [01:16:26] <Kingy> helps with movement + aim
117: [01:18:01] <Colin[pi]> antmas: aug/krieg makes for easy kills
118: [01:18:13] * UncleCheese has joined #silverstripe
119: [01:18:37] <antmas> P90 is my goto for easy kills
120: [01:18:39] <antmas> or the deagle
121: [01:19:02] <Kingy> deagle is very hard in cs:go
122: [01:19:07] <Kingy> has a way bigger kick
123: [01:19:18] <spronk2> dualies for lyf
124: [01:19:19] <Kingy> i've been practicing with it quite a bit
125: [01:19:28] <Kingy> yeah dualies are best for spam lol
126: [01:19:34] <Kingy> dualies is like the p90 of pistols :P
127: [01:19:37] <spronk2> bind mousewheel to fire
128: [01:19:37] <spronk2> :p
129: [01:20:31] <Blacklite> i like the AUG
130: [01:20:44] <Blacklite> awps are useless close-range most of the time
131: [01:21:01] <Kingy> that's why you'll find most people who buy awp buy the cz
132: [01:21:01] <Blacklite> problem with aug is that it's hard to get past someone camping out with an awp
133: [01:21:07] <Colin[pi]> I am fucking *shit* at the AWP :(
134: [01:21:12] <Blacklite> yea that's what i do when i use the AWP
135: [01:21:14] <spronk2> good
136: [01:21:15] <spronk2> awp is for pussies
137: [01:21:24] <antmas> 360 noscope brah
138: [01:21:28] <Kingy> that clutch with awp at short though
139: [01:21:31] <Kingy> win-ing
140: [01:21:32] <Colin[pi]> spronk2: I watch others, it's like boom boom boom, everyone dies
141: [01:21:33] <Blacklite> lol yea
142: [01:21:33] <Colin[pi]> when i do it
143: [01:21:37] <Blacklite> clutches with AWP are best
144: [01:21:41] <Colin[pi]> it's like boom miss boom miss boom miss
145: [01:21:43] <Colin[pi]> FUCK
146: [01:21:49] <Blacklite> especially when they run one at a time
147: [01:21:54] <Kingy> Colin[pi]: yeah I go either way
148: [01:21:56] <Kingy> it all comes off
149: [01:22:03] <Blacklite> someone camping with an AWP can take out 5 people easy
150: [01:22:04] <Kingy> or I miss and die a horribly embarrassing death
151: [01:22:06] <Blacklite> if they come one at a time
152: [01:22:13] <Colin[pi]> Kingy: I did do a nice clutch though last week 'member?
153: [01:22:14] <Colin[pi]> :D
154: [01:22:22] <Kingy> yes
155: [01:22:28] <antmas> clutch?
156: [01:22:28] <Kingy> Blacklite basically repeated it on friday night lol
157: [01:22:39] <Colin[pi]> antmas: last survivor on team, kill the rest of the other team
158: [01:22:43] <Kingy> antmas: 1 last person vs many and wins
159: [01:22:46] <antmas> oh yeah <3
160: [01:22:53] <Colin[pi]> I did it once with a scout
161: [01:22:56] <Colin[pi]> felt so l33t
162: [01:22:56] <Colin[pi]> lol
163: [01:23:01] <Kingy> especially good if a bomb defuse is in there somewhere
164: [01:23:02] <antmas> I did that with a nova on saturday
165: [01:23:29] * zippy has joined #silverstripe
166: [01:23:30] <Colin[pi]> yeah it's great when you win and everyone is like "DDDDDDDDUUUUUUDE!
167: [01:23:31] <antmas> 2/3 of them were in mid mouse wheel scroll :P
168: [01:23:47] * Stomach quit (Quit: zzz)
169: [01:24:14] <spronk2> scout
170: [01:24:15] <spronk2> is awp
171: [01:24:17] <spronk2> for real men
172: [01:24:29] <antmas> knife is AWP for real men
173: [01:24:43] <Colin[pi]> LOL
174: [01:24:53] <Colin[pi]> I wish CS:GO had throwing knives
175: [01:24:56] <Blacklite> o yea
176: [01:25:07] <Blacklite> SSG is the worst gun ever
177: [01:25:14] <spronk2> antmas nahhh real men too lazy to move
178: [01:25:18] <Blacklite> if i do an eco-round, i buy a nova sometimes
179: [01:25:25] <antmas> nova is tits
180: [01:25:39] <Colin[pi]> Blacklite: I think that auto pistol is the worst one
181: [01:25:42] <antmas> or mag7 if you feel like being 'that guy'
182: [01:25:42] <Kingy> I've been playing scoutknives a bit the last few days
183: [01:25:45] <Kingy> fucking awesome map
184: [01:25:56] <spronk2> nova is pwn
185: [01:25:56] <Colin[pi]> antmas: haha there is always one
186: [01:25:59] * spronk2 used to love the m3
187: [01:26:05] <Colin[pi]> fucking apartment in italy
188: [01:26:14] <Colin[pi]> I always get pwned by someone with a shotty
189: [01:26:28] <Blacklite> yea it is actually really bad
190: [01:26:34] <Blacklite> it encourages sprays
191: [01:26:37] <Blacklite> and has very few bullets
192: [01:27:15] <antmas> I always quitly mutter 'booooooof' to myself when I get a nova frag
193: [01:27:22] <Blacklite> the worst thing, and i see it all the time, is when someone is standing up and spraying the ak at someone like 30 meters away
194: [01:27:23] <antmas> so lame
195: [01:27:29] <spronk2> "cha cha, boooom"
196: [01:27:33] <Colin[pi]> can't beat zeus kills too :D
197: [01:27:39] <Colin[pi]> *bzzt* ARGH!
198: [01:27:42] <Blacklite> nothing like a good knife kill
199: [01:27:47] <antmas> silverstripe waht? lol
200: [01:28:24] <Blacklite> i think today i'll just buy the keyboard + mouse, skip the screen and gpu
201: [01:28:38] <Kingy> :(
202: [01:28:52] <Blacklite> it runs cs:go fine
203: [01:29:22] <Blacklite> and i have to get a new seatbelt and wing mirror for my car
204: [01:29:37] <Blacklite> both of which are more expensive than you'd think. now i will be poor
205: [01:29:51] <Kingy> fair enough
206: [01:30:00] <Kingy> I'm going to buy a laptop which is good enough to play GO
207: [01:30:06] <Blacklite> good move
208: [01:30:08] <Kingy> that way if my PC takes ages to ship to Bahrain I can still play
209: [01:30:08] <Kingy> lol
210: [01:30:15] <antmas> who ever replaces a seatbelt?
211: [01:30:19] <Kingy> aw man I won't be able to play with you guys
212: [01:30:21] <Kingy> GUISEEE
213: [01:30:24] <Kingy> :(
214: [01:30:25] <Blacklite> you replace it when the dickhead from VTNZ says it's "frayed"
215: [01:30:30] <antmas> lol
216: [01:30:35] <spronk2> Blacklite .... .... ... duct tape?
217: [01:30:55] <Blacklite> someone suggested just taking a lighter to the strands
218: [01:31:17] <Kingy> Blacklite: nek minnit burnt out car
219: [01:31:19] <Blacklite> tbh it's the drivers seatbelt, and my car has airbags. not worth dying over a $400 belt
220: [01:31:30] <Colin[pi]> +1
221: [01:31:31] <Blacklite> dude that car has 75000 kms, 1.5l nissan, chain engine
222: [01:31:34] <Blacklite> it'll outlast me
223: [01:32:24] * Stomach has joined #silverstripe
224: [01:32:45] <Kingy> ASUS F550LDV Intel i7-4510U 2.0GHz 8GB 1TB 15.6" LED 1366x768 GT820M 2GB DVDRW Win8.1 64bit USB3 Webcam WiFiN
225: [01:32:47] <Kingy> any good
226: [01:33:00] <Blacklite> why don't you buy a macbook
227: [01:33:03] * leigh has joined #silverstripe
228: [01:33:03] <Blacklite> they run cs:go natively
229: [01:33:18] <Kingy> the CFO (mrs) just said she wants a new surface pro
230: [01:33:20] <Kingy> o/
231: [01:33:23] <Blacklite> ha
232: [01:33:38] <Blacklite> i think you need to have a very serious board meeting then
233: [01:33:58] <antmas> Kingy: that ASUS is poos - low res is low res
234: [01:34:10] <Kingy> hm true
235: [01:34:11] <Kingy> seems weird
236: [01:34:22] <Kingy> wtf
237: [01:34:29] <Kingy> she just said lets buy 2 surfaces
238: [01:34:53] * leigh quit (Client Quit)
239: [01:35:28] <antmas> Kingy: it's a trap
240: [01:35:42] <Blacklite> yea that sounds fishy
241: [01:35:58] <Kingy> haha yeah
242: [01:36:02] <Kingy> she went back on it like straight away
243: [01:36:11] <antmas> she's trying to make you say 'na, we don't need it' and is thinking 'he will buy a ring with that money!'
244: [01:36:29] <spronk2> lool
245: [01:37:13] <antmas> *plays beyonce for Kingy *
246: [01:37:31] <Kingy> if she wanted a ring I would've given her one by now lol
247: [01:37:39] <antmas> awwww snap
248: [01:37:43] <Kingy> she went through a faze like 5 years ago saying we'd be married in 2012
249: [01:37:49] <Kingy> but then she grew up thank god
250: [01:37:54] <spronk2> haha
251: [01:37:54] <antmas> Kingy: lol yeah same thing
252: [01:37:55] <spronk2> she wants one.
253: [01:39:53] <Blacklite> i've got a new lover - MacGDBp
254: [01:43:13] <antmas> what's the usual way to tell what is overriding a css style ?
255: [01:43:25] <antmas> I can tell it is, but I can't tell WHAT is
256: [01:43:49] <Blacklite> inspect element -> computed
257: [01:43:53] <Blacklite> is your friend
258: [01:44:37] <Kingy> and now I get nothing lol
259: [01:47:18] <Blacklite> http://i.imgur.com/ZBWl2Zb.png
260: [01:53:40] * Tanger has joined #silverstripe
261: [01:57:22] <antmas> Blacklite: ah yes
262: [01:57:27] * antmas is having a Monday
263: [01:57:41] <Blacklite> :D
264: [01:57:48] <Blacklite> funny, i'm having one of those too
265: [01:59:09] <antmas> trouble is
266: [01:59:21] <antmas> is it is overriding a font-awesome class
267: [01:59:24] <antmas> but with NOTHING
268: [01:59:52] <Kingy> antmas: getting [] characters
269: [02:00:11] <antmas> fucking asp controls
270: [02:00:16] <antmas> Kingy: hmmm?
271: [02:00:58] <Blacklite> asp?
272: [02:02:51] <mahfuz> Hey, how to check whether a checkboxfield is checked when processing the form?
273: [02:03:24] <Kingy> if $data['cbxName']
274: [02:03:55] <antmas> Blacklite: ASP.NET
275: [02:04:20] <antmas> A SHIT PROGRAM . NOT EVEN TERRY
276: [02:04:24] <Blacklite> yep
277: [02:04:28] * antmas didn't know what to do for T
278: [02:04:35] <Blacklite> at least it's not classic asp
279: [02:04:37] <zippy> antmas: bk
280: [02:04:40] <mahfuz> kingy: is it like this - if ($data['newslettersignup'] == True) {....} ?
281: [02:04:52] * Ryan-Toast quit (Quit: Ryan-Toast)
282: [02:05:12] <zippy> mahfuz: if a check box is ticked, it'd exist, if it's not ticked it wont exist. so a isset would do it
283: [02:05:16] <Kingy> mahfuz: I think checkboxes are either in the $data array or not, depending if they're checking
284: [02:05:24] <Kingy> checked*
285: [02:05:36] <Kingy> so you just need to check if it exists or not rather than true/false
286: [02:06:04] <mahfuz> ok thanks kingy
287: [02:07:24] * Stomach quit (Quit: zzz)
288: [02:12:26] * KF5WYX has joined #silverstripe
289: [02:12:29] <KF5WYX> hi all
290: [02:13:31] <KF5WYX> I'm trying to create a twitter button, for the data-url attribute I'm putting in:: $BaseHref$Link but where the two template variables join there are two slashes. Is there a variable to give a complete url for the page?
291: [02:15:44] <KF5WYX> $AbsoluteLink - got it
292: [02:16:20] <antmas> KF5WYX: there is an $AbsoluteLink that you can use
293: [02:16:23] <antmas> lol
294: [02:16:30] <antmas> damn non touch type
295: [02:16:54] * Ryan-Toast has joined #silverstripe
296: [02:20:52] <KF5WYX> antmas, thanks, I found it buried in a forum post right after I posted the question - but appreciate it. I just added tinyurl to it also :) Feels good when things are working
297: [02:21:52] <antmas> KF5WYX: :D
298: [02:23:04] * caamic30 has joined #silverstripe
299: [02:24:10] <caamic30> Hello SS!
300: [02:26:08] <zippy> Hello C3
301: [02:26:15] <zippy> !
302: [02:26:18] <antmas> Hello zippy !
303: [02:26:23] <zippy> o/
304: [02:27:26] <caamic30> question please. I’d like to add extra css class to member login form and forgot password form
305: [02:27:38] <caamic30> how to achieve that?
306: [02:27:41] * camfindlay quit (Quit: camfindlay)
307: [02:29:39] <novaweb> caamic30 are you using a module?
308: [02:29:45] <caamic30> no
309: [02:29:51] <novaweb> ah
310: [02:29:53] <novaweb> the base on
311: [02:29:54] <novaweb> e
312: [02:30:00] <novaweb> um, let me figure it out
313: [02:31:16] * Stomach has joined #silverstripe
314: [02:31:19] <caamic30> think I can call the $this->Fields of member form constructor
315: [02:31:25] <caamic30> and then add the extra class
316: [02:31:33] <novaweb> I wouldn't touch the framework
317: [02:31:43] <novaweb> you need to extend it, so you can upgrade easily.. yeah?
318: [02:33:23] <antmas> *receives call from private number
319: [02:33:28] <antmas> *doesn't answer
320: [02:33:34] * antmas moves on with life
321: [02:34:31] <novaweb> antmas, I was in financial trouble once and got in to the habit of ignoring those calls. on the offchance one day, I picked up. It was a recruitment agency and I started a fairly well paying job the next day. still work for that agency three years later
322: [02:34:33] <novaweb> rant over
323: [02:34:36] <novaweb> just saying
324: [02:34:52] <novaweb> if it's someone you don't want to talk to just say "I'm at work" and hang up
325: [02:34:55] <antmas> novaweb: :D
326: [02:35:12] <antmas> novaweb: yeah I get it, but 9/10 I get a call from fucking salesmen
327: [02:35:29] <simon_w|work> I got called from a telemarketer last week. As they said who they were, I hung up
328: [02:35:35] <simon_w|work> Didn't bother ringing me back
329: [02:35:37] <antmas> and if it is important, they should leave a voice message
330: [02:36:03] <novaweb> tell them to remove you from their call list and let them know if they call again you'll take legal action. ask for company details, managers contact details etc.. they'll leave you alone
331: [02:36:27] <novaweb> i did this to Qcard once :)
332: [02:36:40] * zippy ccbbfff'd today
333: [02:36:46] <antmas> ah
334: [02:37:05] <antmas> did USD code on the number, googled it, found it was a mortgage broker :P
335: [02:37:15] <novaweb> caamic30, you need to extend LoginForm and Authenticator
336: [02:37:30] <novaweb> Personally, I'd knock some jQuery together that adds the class for you
337: [02:38:12] <zippy> or, in your css just do currentclass, #Member_Security input { whateer }
338: [02:38:14] <caamic30> yep, I extended the MemberLoginForm and inside constructor class I called $this->Fields() and $this->Action() and addExtraClass
339: [02:38:17] <zippy> so just add the memeber securiy to it
340: [02:38:47] * UncleCheese quit (Read error: No route to host)
341: [02:45:45] * antmas quit (Quit: Page closed)
342: [02:47:21] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
343: [02:47:27] <Hailwood> Hey guys, is there any way to *force* silverstripe to insert the preceding / when it displays an image inserted into the content editor? Facebook share dialog doesn't like the base meta tag so all the image urls are invalid..
344: [02:57:56] * Cheddam quit (Ping timeout: 255 seconds)
345: [02:58:48] * elgrodo quit (Ping timeout: 256 seconds)
346: [02:59:42] * Stomach quit (Quit: zzz)
347: [03:01:39] <zippy> Hailwood: You could always do <img src="/{$MyImage.URL}">
348: [03:02:07] <zippy> or, add an extension, and do <img src="{$MyImage.FullPath}">
349: [03:03:15] <zippy> April 29, 1992
350: [03:05:40] <Kingy> anyone familiar with old school bootstrap
351: [03:05:42] <Kingy> it's a PITA
352: [03:11:05] * Stomach has joined #silverstripe
353: [03:11:46] * elgrodo has joined #silverstripe
354: [03:13:39] <novaweb> there was a riot on the streets, tell me where were you?
355: [03:13:58] <novaweb> Kingy what you need to know, I have someone here who has been using bootstrap since v1
356: [03:14:12] <Kingy> I don't actually think it's a bootstrap problem
357: [03:14:22] <Kingy> more the fact that whoever made this layout, hacked it to pieces
358: [03:15:47] <adrexia> Kingy - If you are talking about what I think you are, then I have used pieces of that particular bootstrap implementation as a "what not to do" before. ;)
359: [03:16:06] <Kingy> rofl
360: [03:16:11] <Kingy> yeah I see the use in that adrexia
361: [03:16:13] <adrexia> in particular the bits that go section section section artcile {}
362: [03:16:21] <Kingy> ^ thank you!
363: [03:16:38] <Kingy> and it's exactly what you think
364: [03:16:46] <adrexia> yeah :(
365: [03:16:47] <Kingy> every sprint plan meeting we have
366: [03:16:53] <Kingy> "I think we should look at re-doing the layout"
367: [03:16:55] <Kingy> over and over
368: [03:17:19] <Kingy> have it look exactly (well roughly) the same, just update bootstrap and re-make it
369: [03:17:32] * adrexia nods
370: [03:17:36] <adrexia> yep
371: [03:17:43] * jordanmk has joined #silverstripe
372: [03:17:56] <adrexia> though could also stand to touch up the padding and amrgins while you are doing that
373: [03:18:01] <adrexia> they are all over the place
374: [03:18:35] <Kingy> you're not joking
375: [03:18:42] <Kingy> it's crazy
376: [03:18:48] <Kingy> simple layout right
377: [03:18:49] <Kingy> span12
378: [03:18:59] <adrexia> Kingy - number 3 https://github.com/silverstripe-ux/frontend-coding-guidelines#make-css-manageable
379: [03:18:59] <adrexia> ;)
380: [03:19:01] <Kingy> then you go down and span9 | span3
381: [03:19:02] <jordanmk> hi guys, any idea what could cause a HTMLText value to be rendered in a template as a string, i.e. the actual text <a href="/cart/">your cart</a> instead of a link that says "your cart"
382: [03:19:15] <Kingy> but no, someone has put extra margins/paddings on those classes
383: [03:19:19] <Kingy> so nothing worths like it should
384: [03:19:28] <adrexia> I think it was still on my "kill it with fire" list when that was weritten
385: [03:19:29] <Kingy> so instead of a nice 12 grid layout
386: [03:19:31] * mahfuz quit (Ping timeout: 246 seconds)
387: [03:19:33] <KF5WYX> Is there some way to configure silverstripe so that, if I upload an image while editing a page, by default the image goes into a directory unique to that page? i.e. /assets/articles/52 (for page id=52)
388: [03:19:34] <Kingy> it's all like 8,3 etc lol
389: [03:20:23] <jordanmk> this is the code that's having the issue: http://pastebin.com/XFd5dwen
390: [03:21:32] <adrexia> Kingy - yep. I think its a good example of why peer review isn't an optional extra
391: [03:22:41] <Kingy> adrexia: yes
392: [03:22:48] <Kingy> and i'm still stuck with it lol
393: [03:22:48] <zippy> KF5WYX: yes
394: [03:23:06] <adrexia> My sympathies
395: [03:23:17] <adrexia> it probably wouldn't tkae that long to redo, to be honest
396: [03:23:24] <Kingy> no I don't think so either
397: [03:23:32] <KF5WYX> zippy, please elaborate?
398: [03:23:36] <zippy> KF5WYX: Of course, only once the page has been saved... but you can do. UploadField::create('MyImage', 'Cool Image')->setFolderName('articles/' . $this->ID . '/');
399: [03:23:36] <adrexia> and would save literally hours in maintenance over a few months
400: [03:23:41] <Kingy> trying to convince the people that make those decisions on the other hand
401: [03:23:41] <KF5WYX> zippy, ty :)
402: [03:24:01] <zippy> KF5WYX: but of course, the ID wont be set when it first loads, sonce should only do it once they have saved the page for the first time
403: [03:24:11] <Kingy> adrexia: we're in a phase right now where they're trying to make a timeline on where they want to go and what they want the site to become
404: [03:24:12] <zippy> KF5WYX: You can check if the page has been set by looking at the $this->ID
405: [03:24:12] <zippy> eg
406: [03:24:26] <Kingy> so saying something like "let's re-do the layout" to them seems like jumping the gun
407: [03:24:45] <zippy> if($this->ID) { // use that code above } else { ReadOnlyField::Create('ImageNote', 'Image', 'You can set the image once the page has been saved')); }
408: [03:24:58] <zippy> KF5WYX: ^
409: [03:25:23] <KF5WYX> zippy, I've done something similar to this already, when creating a 'Feature Image' for the article. I'm talking about images to be inserted within the content. I imagine it'd be similar code, but belongs somewhere in the core code?
410: [03:25:50] <adrexia> yeah I can't think of how to phrase it to sell that, though the site is so damn volatile that changing one piece of css or html can break stuff all over the place
411: [03:25:54] <zippy> oh right, when you use the WYSWYG upload
412: [03:25:56] <zippy> yea dunno
413: [03:26:04] <KF5WYX> ok - thanks though.
414: [03:26:15] <adrexia> so from a dev perspective, its an easy choice. but from anyone elses, not so much
415: [03:26:38] <adrexia> Maybe "For xmas I would like... " would work? ;)
416: [03:26:43] <Kingy> hahaha
417: [03:27:13] * zippy leans back in his chair and strokes his non-existant movember beard...
418: [03:27:16] <zippy> I wonder what I want for xmas
419: [03:27:29] <Kingy> just you zippy just you
420: [03:28:20] * zippy just doesn't know anymore
421: [03:31:27] <zippy> Snowman23: been pretty quite... your hair finally taken over your face and can't see?
422: [03:31:36] <Kingy> LOLOL
423: [03:32:31] <Snowman23> lol
424: [03:32:35] <Snowman23> Was sick this mornign
425: [03:33:55] <jordanmk> any ideas guys? totally stumped on why this HTMLText value is being rendered in a template as a string, i.e. the actual text <a href="/cart/">your cart</a> instead of a link that says "your cart" (relevant code: http://pastebin.com/XFd5dwen)
426: [03:34:26] <zippy> jordanmk: Are you doing $MyField.Raw?
427: [03:34:32] <zippy> ah, there is a paste bin :)
428: [03:35:05] <zippy> would using _t( HTML escape the vars?
429: [03:35:37] <jordanmk> hmm, maybe, i'll try without that
430: [03:35:39] <zippy> jordanmk: change the $message to just "<a href="/cart/">your cart</a>"; and see if it renders out, but I think it's due to _t
431: [03:38:01] <jordanmk> zippy: nope :(, even just making $message the actual HTML without _t, it's still escaping the HTML
432: [03:38:41] <zippy> jordanmk: $Message -> $Message.Raw
433: [03:38:57] <zippy> hm
434: [03:39:04] <zippy> that whole thing is a bit strange...
435: [03:39:13] <zippy> why set it to a HTMLText ?
436: [03:39:27] <jordanmk> zippy: doing $Message.Raw didn't change anything either
437: [03:39:39] <zippy> $form->sessionMessage(DBField::create_field("HTMLText", $message),'good'); -> $form->sessionMessage("HTML HERE", 'good');
438: [03:39:40] <jordanmk> not sure, that code is part of Swipestripe
439: [03:39:48] <zippy> ah ok
440: [03:40:01] <jordanmk> i'll try without the HTMLText stuff
441: [03:40:25] <Hailwood> Hey guys, in a model admin, how can I hide some fields if we are creating a new instance rather than editing?
442: [03:40:45] <Hailwood> never mind..
443: [03:41:01] <jordanmk> zippy: nope, still the same (and tried with both $Message and $Message.Raw)
444: [03:42:32] <jordanmk> zippy: not sure if this helps but strangely, this wasn't happening before, it just started happening a few days ago (unsure of the exact trigger)
445: [03:42:52] <jordanmk> it's possible that updating to 3.1.8 caused the behaviour to change here
446: [03:45:07] * novaweb quit (Quit: Leaving)
447: [03:45:09] <jordanmk> yep lol. rolled back to 3.1.6 and it's working correctly again
448: [03:46:40] * Stomach quit (Quit: zzz)
449: [03:56:02] * jedateach_ has joined #silverstripe
450: [03:56:03] * jedateach_ quit (Client Quit)
451: [03:57:13] <Hailwood> Nope, my question still stands, I have a model that I am managing through a model admin - When I click "Add new Voucher" (Voucher being the model) there are a couple of fields that should show when editing the model but not when creating it, how do I deal with that?
452: [03:57:17] * spronk2 quit (Quit: I may need a longer sleep timer...)
453: [03:58:11] * jedateach quit (Ping timeout: 265 seconds)
454: [03:59:14] <jordanmk> Hailwood, as in, when creating a new Voucher object, you want some fields to only show after it's been created (i.e. editing an existing Voucher object)?
455: [04:00:05] <Hailwood> correct - I'm guessing I handle that using ->removeFieldByName() and ->exists() together in getCMSFields() on the Voucher model?
456: [04:01:10] <jordanmk> there's a fairly easy way to do it, which is to wrap certain fields in an if($this->ID) {...} block
457: [04:01:34] <jordanmk> i.e. the fields you only want to show when you're editing an existing one, add them within that if block
458: [04:01:45] <jordanmk> which will be false when creating a brand new Voucher object
459: [04:02:03] <jordanmk> and yes, all of this is in the getCMSFields()
460: [04:03:49] <jordanmk> there are two approaches you can take, one being that you just ignore the parent::getCMSFields and create the fieldlist from scratch, and use the if block to add extra fields that shoudl only show when the object already exists. the other is to use the parent::getCMSFields and then reverse the logic of the if block, then within the if block, you do ->removeFieldByName() for the fields
461: [04:03:49] <jordanmk> you don't want to show when creating a new object
462: [04:14:49] * Kingy has left #silverstripe
463: [04:16:02] * Stomach has joined #silverstripe
464: [04:16:59] * Hailwood quit (Ping timeout: 272 seconds)
465: [04:19:26] * Ryan-Toast quit (Quit: Ryan-Toast)
466: [04:25:03] * caamic30 quit (Quit: caamic30)
467: [04:30:19] * spekulatius quit (Quit: Leaving)
468: [04:34:36] * babak has joined #silverstripe
469: [04:38:55] * Stomach quit (Quit: zzz)
470: [04:40:04] * cloph_away has joined #silverstripe
471: [04:40:30] * cloph quit (Ping timeout: 250 seconds)
472: [04:41:46] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
473: [04:47:44] * veb has joined #silverstripe
474: [04:52:33] * KF5WYX quit (Quit: Leaving)
475: [05:06:31] * Hailwood has joined #silverstripe
476: [05:06:31] * caamic30 has joined #silverstripe
477: [05:22:26] * Hailwood quit (Remote host closed the connection)
478: [05:41:08] * micmania1 quit (Quit: micmania1)
479: [05:42:29] * Shrike_Finland has joined #silverstripe
480: [05:42:36] * Shrike_Finland quit (Client Quit)
481: [06:15:09] * jedateach has joined #silverstripe
482: [06:22:04] * Colin[pi] quit ()
483: [06:29:01] * Shrike_Finland has joined #silverstripe
484: [06:31:59] * __will has joined #silverstripe
485: [06:33:35] <__will> hello
486: [06:40:04] * __will quit (Ping timeout: 246 seconds)
487: [06:40:06] * Guits has joined #silverstripe
488: [06:50:57] * jedateach quit (Quit: jedateach)
489: [06:53:40] * zippy has joined #silverstripe
490: [06:55:22] * jedateach has joined #silverstripe
491: [07:05:48] * Shrike_Finland quit (Quit: Leaving.)
492: [07:22:17] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
493: [07:37:12] * Eliseth has joined #silverstripe
494: [07:43:22] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
495: [07:46:32] <Eliseth> Morning
496: [08:03:36] * jeroenem has joined #silverstripe
497: [08:06:54] <Eliseth> I keep getting the following error in IE when changing stuff in tables in the tinyMCE editor: "Unable to get property 'nodeName' of undefined or null reference"
498: [08:07:21] * Shrike_Finland has joined #silverstripe
499: [08:07:28] <Eliseth> The weird thing: it isn't happening on all my sites, just a few...
500: [08:08:08] <Eliseth> I first thought it was version related (my 3.1.6 sites seemed unaffected) but after upgrading a 3.1.5. site to 3.1.6 the problem remained.
501: [08:09:12] <Eliseth> Also, when opening HTML view it throws the following error: "document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck");" Incorrect function
502: [08:09:34] <Eliseth> And HTML view stays empty
503: [08:11:35] * arnhoe has joined #silverstripe
504: [08:14:13] * DimiStripe has joined #silverstripe
505: [08:15:32] * r_hector has joined #silverstripe
506: [08:16:09] * wmk has joined #silverstripe
507: [08:25:57] <Eliseth> I'm having a hard time trying to debug this, since I seem to lack knowledge on how to do that... What would be a good way to find out where the problem lies?
508: [08:26:35] <Eliseth> The .js that causes throws the error is the same in all sites (workign & non-working)
509: [08:30:44] <Eliseth> Noone? :(
510: [08:33:34] * NobrainerWeb has joined #silverstripe
511: [08:33:46] <NobrainerWeb> Hey :-)
512: [08:33:55] <Eliseth> Morning
513: [08:34:53] <NobrainerWeb> Trying to return a list of images to my template, that does not include the first image. Did this $allimages = $this->Images(); $list = $allimages->remove($allimages->First()); and found that it actually removes the relation, what should i do?
514: [08:45:56] * jedateach quit (Quit: jedateach)
515: [08:46:21] * jedateach has joined #silverstripe
516: [08:50:01] * jedateach quit (Client Quit)
517: [08:53:27] * guci0 has joined #silverstripe
518: [08:53:33] <guci0> Hello World!
519: [08:53:46] <simon_w> NobrainerWeb, ->limit(99999, 1)
520: [08:54:11] <NobrainerWeb> simon_w: thx
521: [08:58:20] * kinglozzer has joined #silverstripe
522: [09:07:00] <Eliseth> I wish I could just force my client to use FF/Chrome
523: [09:07:04] <Eliseth> grmbl...
524: [09:11:07] * Tanger quit (Quit: Tanger)
525: [09:18:58] * guci0 quit (Ping timeout: 246 seconds)
526: [09:21:05] * zippy has joined #silverstripe
527: [09:37:19] <wmk> Eliseth, still the prob?
528: [09:37:31] <wmk> js error in IE? somewhere a comma too much?
529: [09:37:42] <Eliseth> Oh yes.... problem remains
530: [09:37:57] <wmk> guess i'll have to read the logs ;)
531: [09:38:14] <Eliseth> It's not custom js :)
532: [09:38:41] * Shrike_Finland quit (Quit: Leaving.)
533: [09:39:58] <wmk> oh, tables in tinymce...
534: [09:41:33] <wmk> Eliseth, when updating the site to 3.1.6: did you clear browser cache?
535: [09:41:42] <Eliseth> Yes
536: [09:41:48] <wmk> hmm...
537: [09:41:53] <wmk> what IE?
538: [09:41:56] <Eliseth> 11
539: [09:41:56] <wmk> verison
540: [09:42:21] <wmk> did you try a plain install?
541: [09:42:33] <wmk> if error occurs -> bug
542: [09:43:09] <Eliseth> Then why isn't the error there on 2 other sites I tested...
543: [09:44:31] <wmk> you wrote something about spell checker
544: [09:44:39] <wmk> really same config on the other sites?
545: [09:45:28] <Eliseth> As far as I know, yes
546: [09:51:53] * Pysrlk has joined #silverstripe
547: [09:52:23] <wmk> Eliseth, so you have a table in tiny and try to edit it?
548: [09:53:23] * CerV has joined #silverstripe
549: [09:53:27] <CerV> hi all
550: [09:53:31] <Eliseth> When clicking the "Table cell properties" button
551: [09:53:47] <Pysrlk> Eliseth: tinymce thinks you're in firefox.
552: [09:53:50] <Pysrlk> it's wrong.
553: [09:54:17] <CerV> i've run into trouble, i cannot access the admin page anymore on my silverstripe 3.1.6 setup
554: [09:54:29] <Pysrlk> well, that is a bother.
555: [09:54:43] <Pysrlk> Why did you lock yourself out?
556: [09:54:51] <CerV> i didn't
557: [09:55:10] <CerV> i know the credentials, but the page doesn't show up anymore
558: [09:55:20] <Pysrlk> that's better.
559: [09:55:21] <CerV> all i get is some screwed up version of the main page
560: [09:55:31] <Pysrlk> fix .htaccess
561: [09:55:47] <CerV> how would i go about this?
562: [09:55:50] <wmk> Eliseth, how do you get to the table cell properties?
563: [09:55:51] <Eliseth> Pysrlk: That's.... odd.... Especially since it happens on some installations, but not on others
564: [09:55:58] <Pysrlk> open it in a text editor, and fix it.
565: [09:56:14] <CerV> i know how to edit it :-) but i dont know whats broken
566: [09:56:15] <wmk> a, toolbar
567: [09:56:22] <Pysrlk> Eliseth: yeah well gecko_whatever implies to me that it's gecko (firefox rednerign engine) specific
568: [09:56:22] <Eliseth> wmk: correct :)
569: [09:56:34] <Pysrlk> CerV: probably maybe RewriteBase
570: [09:56:39] <wmk> Eliseth, i cannot reproduce it on a 3.1.8 installation
571: [09:56:42] <wmk> :(
572: [09:56:56] <CerV> RewriteBase '/'
573: [09:57:04] <Pysrlk> is the site actually on /?
574: [09:57:05] * caamic30 quit (Quit: caamic30)
575: [09:57:19] <CerV> i changed the machines hostname, i think that caused it
576: [09:57:27] <Pysrlk> doubtful.
577: [09:57:27] <wmk> no.
578: [09:57:33] <wmk> ss doesn't care about hostname
579: [09:57:36] <CerV> hmm
580: [09:57:40] <Pysrlk> only shit systems care about hostnames.
581: [09:57:41] <wmk> maybe apache does?
582: [09:57:47] <wmk> Pysrlk, !!
583: [09:57:58] <Pysrlk> wmk: you know which one I mean :P
584: [09:58:17] <CerV> i worked on the site alot, but $Form is where its supposed to be so it should work
585: [09:58:20] <Pysrlk> there's that wordderp, and that aweful j-word too from memory.
586: [09:58:37] <Pysrlk> CerV: right so here I'll ask the question a bit more directly...
587: [09:58:45] <Pysrlk> it was working.
588: [09:58:48] <Pysrlk> then you did something
589: [09:58:51] <Pysrlk> now it's not working.
590: [09:58:52] <wmk> Pysrlk, you mean pdsesorwr?
591: [09:58:54] <Pysrlk> what did you _do_?
592: [09:59:03] <Pysrlk> wmk: lolwut?
593: [09:59:24] * Shrike_Finland has joined #silverstripe
594: [09:59:33] <CerV> the thing is, it worked on friday, it even worked this morning, but then i logged out and tried to log back in and the /admin page didn't work anymore
595: [09:59:52] <wmk> CerV, your internet connection is up?
596: [09:59:54] <simon_w> CerV, is it a public link?
597: [09:59:54] <CerV> i even restored a full backup of the machine with no change, so
598: [10:00:11] <CerV> nope, still in the dry dock here on our internal network
599: [10:00:32] <simon_w> So what happens when you go to /admin?
600: [10:00:34] <CerV> its a vm running on a vserve server
601: [10:00:53] <Pysrlk> basically CerV you need to describe what is happening better (ie, what simon_w says)
602: [10:00:58] <CerV> i get a messed up page vaguely resembling the site's main page
603: [10:01:01] <Pysrlk> it could be any number of things
604: [10:01:10] <Pysrlk> CerV: 'resembling' ?
605: [10:01:36] <simon_w> CerV, and what's the URL?
606: [10:01:40] <Pysrlk> and what is the ur... ffff
607: [10:01:44] <Pysrlk> simon_w: :<
608: [10:01:45] <CerV> well, it looks like the sites /home page rendered wrongly
609: [10:01:54] <wmk> template issue?
610: [10:01:59] <Pysrlk> CerV: what is the url telling you though?
611: [10:02:28] <CerV> https://site-ip/Security/login?BackURL=%2Fadmin%2Fpages
612: [10:02:38] <wmk> looks good
613: [10:03:00] <simon_w> CerV, and is the title "Log in"?
614: [10:03:05] <CerV> bope
615: [10:03:07] <CerV> nope
616: [10:03:18] <simon_w> What's the title then?
617: [10:03:26] <CerV> title is the same as url
618: [10:03:48] <simon_w> Can you delete assets/error-500.html and try again?
619: [10:03:48] <Pysrlk> which is?
620: [10:03:55] <CerV> sure
621: [10:04:15] <CerV> no dice
622: [10:04:23] <CerV> same as before
623: [10:04:23] <Pysrlk> yeh sounds like there's an error thrown while it tries to render the page, so it redirects to the death page (500), which is rendering poorly
624: [10:04:56] <Pysrlk> is site in dev mode CerV >?
625: [10:04:57] <CerV> the site itself looks completely as it should
626: [10:04:59] <CerV> it is
627: [10:05:10] <Pysrlk> logging errors somewhere?
628: [10:05:17] <CerV> added that too
629: [10:05:21] <simon_w> CerV, does your layout/Page.ss have a $Form in it?
630: [10:05:28] <CerV> but nothing seems to get written
631: [10:05:38] <CerV> simon_w: it has
632: [10:05:44] <CerV> but its in a conditional block
633: [10:05:56] <Pysrlk> take it out?
634: [10:06:11] <Pysrlk> (or add a second $Form just for testing outside the block, probably easier)
635: [10:06:12] <CerV> the $Form or the condition
636: [10:06:25] <simon_w> The condition
637: [10:06:29] <Pysrlk> just add a second $Form outside the condition
638: [10:06:56] <CerV> no change
639: [10:07:30] <CerV> $form must be inside the body, right?
640: [10:07:32] <Pysrlk> ctrl+a, w t f, ctrl+s, refresh
641: [10:07:53] <Pysrlk> uhh, yes the form must be inside the body, just like any other html you want to show.
642: [10:08:19] <CerV> still nothing
643: [10:08:34] <Pysrlk> ok ctrl+z befroe someone gets upset
644: [10:08:39] <Pysrlk> :>
645: [10:08:40] <simon_w> CerV, does your main Page.ss have a $Layout in it?
646: [10:08:42] <CerV> also weirdly, /dev/build
647: [10:08:49] <CerV> not working either
648: [10:08:57] <Pysrlk> do you even have a database?
649: [10:09:05] <Pysrlk> <yes>
650: [10:09:07] <CerV> when i enter the url, it shows up but quickly disappears
651: [10:09:08] <simon_w> CerV, do your URLs normally have index.php in them?
652: [10:09:10] <Pysrlk> and how is the connection configured?
653: [10:09:20] <CerV> local mysql server
654: [10:09:23] <Pysrlk> hostname
655: [10:09:25] <Pysrlk> by chance?
656: [10:09:29] <CerV> localhost
657: [10:09:35] <Pysrlk> hmm, bugger.
658: [10:10:04] <CerV> hmm
659: [10:10:12] <CerV> you mean because of the hostname change
660: [10:10:16] <Pysrlk> yup
661: [10:10:23] <CerV> but then the site would not be working at all
662: [10:10:34] <Pysrlk> depends on the cache setup
663: [10:10:51] <CerV> there was no silverstripe-cache folder
664: [10:11:10] <CerV> i made one a few minutes ago to test if it would change things
665: [10:12:06] * travis-ci has joined #silverstripe
666: [10:12:06] <travis-ci> silverstripe/silverstripe-framework#3682 (3.1 - 4d4c651 : Ingo Schommer): The build passed.
667: [10:12:06] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/f270dbcad6aa...4d4c651b5065
668: [10:12:06] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41943200
669: [10:12:06] * travis-ci has left #silverstripe
670: [10:12:30] <Pysrlk> CerV: it should update to use that folder then
671: [10:12:39] <CerV> about that .htaccess thing you mentioned, i got more than one in the /var/www subfolders
672: [10:12:42] <Pysrlk> which... would be an issue if it's not building (since it has no manifest in it)
673: [10:12:53] <Pysrlk> CerV: I meant the root one.
674: [10:13:27] * g4b0_ has joined #silverstripe
675: [10:13:33] <Pysrlk> so, try this. Export the database, copy files to another machine, import db, configure database, test.
676: [10:13:38] <CerV> it looks ok, but i'll paste it somewhere just to be sure
677: [10:13:54] <Pysrlk> silverstripe doesn't care about the hostname as a system, but it's possible there's some other kind of issue caused because of the hostchange.
678: [10:14:10] <Pysrlk> yeah it'll be ok.
679: [10:14:14] <Pysrlk> Unless you've changed it heaps.
680: [10:14:20] <CerV> http://pastebin.com/6VdkUq0v
681: [10:14:27] <Pysrlk> RewriteBase is about the only thing people get wrong.
682: [10:14:36] <g4b0_> hi all
683: [10:14:52] <Pysrlk> good morning g4b0_
684: [10:15:12] <Pysrlk> hmm, wait, how would I say that in Italian?
685: [10:15:27] * Pysrlk realises he doesn't know
686: [10:15:45] <wmk> buon giorno ?
687: [10:15:47] <CerV> buona mattina
688: [10:15:54] <g4b0_> buongiorno Pysrlk
689: [10:15:57] <wmk> who is martina?
690: [10:16:01] <Pysrlk> lol
691: [10:16:08] <Pysrlk> is that french CerV ?
692: [10:16:15] <CerV> its the good morning girl
693: [10:16:32] <Pysrlk> thanks g4b0_
694: [10:16:40] <CerV> its not really used in italy, but its a literal translation
695: [10:16:41] <g4b0_> np Pysrlk
696: [10:17:09] <wmk> CerV, ah, good to know
697: [10:17:13] <g4b0_> I've got a problem with versioned dataobjects
698: [10:17:14] <Pysrlk> from... ?
699: [10:17:36] <Pysrlk> g4b0_: so does everyone :<
700: [10:17:41] <g4b0_> :)
701: [10:17:46] <g4b0_> if a page has_many do
702: [10:17:47] <Pysrlk> most folk just don't realise.
703: [10:18:03] <CerV> hmm, ok check this out, when i do a /dev/build from any page, it returns me to https://site-ip/Security/login?BackURL=%2Fdev%2Fbuild
704: [10:18:07] <g4b0_> when I unlink one of them
705: [10:18:10] <Pysrlk> Morena wmk :)
706: [10:18:22] <g4b0_> just the Stage table is updated
707: [10:18:28] <g4b0_> not the Live one
708: [10:18:38] <Pysrlk> no publish.
709: [10:18:45] <Pysrlk> ->doPublish()
710: [10:18:50] <Pysrlk> iirc.
711: [10:18:50] <g4b0_> is there an onAfterUnlink trigger?
712: [10:19:03] <Pysrlk> there's an onbeforeunlink trigger?
713: [10:19:04] <wmk> brunette?
714: [10:19:14] <Pysrlk> redhead?
715: [10:19:24] * CerV is afk for 5mins
716: [10:19:27] <Pysrlk> CerV: site is not in dev mode.
717: [10:19:37] <Pysrlk> if it is asking for login on build, it's not in dev mode.
718: [10:20:29] <g4b0_> does onbeforeunlink really exist?
719: [10:20:38] <Pysrlk> I don't think so.
720: [10:20:48] <Pysrlk> hmm, that would be a good feature add!
721: [10:21:10] <g4b0_> yep, it would!
722: [10:21:25] <g4b0_> How can I solve, just for now?
723: [10:21:30] <Pysrlk> Probably best managed through relation lists though
724: [10:21:40] <Pysrlk> g4b0_: well... idk tbh.
725: [10:21:54] <Pysrlk> see if there's something on the list, as opposed to the object itself.
726: [10:22:26] <g4b0_> yes, there's the page with has_many
727: [10:22:44] <Pysrlk> yeah, but I mean when you call ->remove on the list it might trigger something
728: [10:22:49] * Pysrlk shrugs
729: [10:22:55] <Pysrlk> maybe not though
730: [10:23:27] <g4b0_> I can require the user to re-publish the page after the unlink event
731: [10:23:33] <g4b0_> and then
732: [10:23:40] <g4b0_> using my phphammer
733: [10:24:13] <g4b0_> I can code some hack to reflect modifications in the stage table
734: [10:27:16] * ThePeach has joined #silverstripe
735: [10:27:20] <Pysrlk> I dunno about all o this man
736: [10:27:59] <Pysrlk> It seems it might be easier to onBeforeWrite() { if($this->isChanged('HasOneID') { .. update stuff here
737: [10:28:20] <wmk> or even onAfterWrite()
738: [10:28:48] <wmk> but when using many_many it gets complicated
739: [10:29:02] <Pysrlk> yeh, could do
740: [10:32:25] * CerV is back
741: [10:32:44] <CerV> Pysrlk: define( "SS_ENVIRONMENT_TYPE", "dev" ); is set in mysite/_config.php
742: [10:33:00] <Pysrlk> wrong place.
743: [10:33:05] <CerV> oh
744: [10:33:15] <CerV> right place?
745: [10:33:25] <Pysrlk> either use _ss_environment.php, or don't. Don't go halfway.
746: [10:33:33] <CerV> ok
747: [10:34:34] <CerV> Pysrlk: i need to create that file, i guess in mysite/_config/ right?
748: [10:34:55] <Pysrlk> no
749: [10:35:59] * micmania1 has joined #silverstripe
750: [10:36:57] <Pysrlk> CerV: http://beta.docs.silverstripe.org/en/getting_started/environment_management/
751: [10:37:24] <wmk> either webroot or one (or more) dirs above
752: [10:37:40] <wmk> _ss_environment in webroot... only on bad configured servers
753: [10:37:44] <Pysrlk> and cofigure your _config.php properly
754: [10:37:49] <wmk> yup.
755: [10:37:55] <wmk> and php timezone
756: [10:37:56] <Pysrlk> wmk: well... open_basedir
757: [10:38:09] <wmk> of course
758: [10:38:24] * jcwacky has joined #silverstripe
759: [10:38:27] <Pysrlk> scourge of the deployments
760: [10:39:57] <jcwacky> Anyone with SilverStripe Translatable experience around?
761: [10:40:05] <Pysrlk> sorta
762: [10:40:13] <Pysrlk> jcwacky: you know better!
763: [10:40:16] <Pysrlk> just ask the question!
764: [10:40:19] <jcwacky> :P
765: [10:40:30] <jcwacky> Was wondering, when using SilverStripe Translatable, is there a way for some pages to appear on all language sites, but only be in 1 language, so that their content is just maintained once?
766: [10:40:40] <Pysrlk> nup.
767: [10:40:46] <jcwacky> :(
768: [10:40:53] <Pysrlk> well... _perhaps_ using virtualpages
769: [10:40:57] <Pysrlk> but not 100% sure.
770: [10:41:10] <jcwacky> Yeh, I thought there was a “Translatable Virtual Page”.
771: [10:41:21] <jcwacky> But think I was thinking of the “Subsite Virtual Page”.
772: [10:43:42] <CerV> Pysrlk: done, no change :-(
773: [10:44:04] * Shrike_Finland quit (Quit: Leaving.)
774: [10:46:44] <Pysrlk> CerV: so, it's in dev mode?
775: [10:47:01] <Pysrlk> dev build won't ask for a login if that's the case.
776: [10:49:15] * Shrike_Finland has joined #silverstripe
777: [10:50:17] * wmk quit (Ping timeout: 245 seconds)
778: [10:51:26] <Pysrlk> RRRAAAAAAAAAAAAUUUUUGGGHHHH https://ellislab.com/codeigniter/user-guide/libraries/sessions.html
779: [10:51:30] <Pysrlk> wtf
780: [10:51:41] <Pysrlk> lets reinvent teh wheel! YEEEEY dperderpderp
781: [10:54:26] <zippy> mmm.. the full session is stored in the cookie
782: [10:54:33] <zippy> unless you go the db option
783: [10:54:49] <zippy> and the cokoie defaults to not being encrypted
784: [10:54:53] <zippy> cookie
785: [10:55:12] <Pysrlk> yeah, apparently this is more secure than php sessions, which can be hacked.
786: [10:55:23] <Pysrlk> so I hear
787: [10:55:29] <Pysrlk> I don't believe it at all.
788: [10:56:03] <Eliseth> Good think unencrypted cookies sounds bulletproof
789: [10:56:07] <Eliseth> *thing
790: [10:56:08] <Snowman23> lol
791: [10:56:16] <Snowman23> I sure as hell know I like to add an extra 50kb to every request
792: [10:56:26] <Pysrlk> Snowman23: yeh, ikr
793: [10:56:39] <Pysrlk> workmate accross from me is storing about 2M
794: [10:57:51] <Snowman23> Does nayone know if the 3-compat branch of fulltextsearch works with solr 4.0?
795: [10:59:15] * FutureMaster has joined #silverstripe
796: [10:59:36] <micmania1> FutureMaster pug me
797: [10:59:38] <FutureMaster> http://30.media.tumblr.com/tumblr_lh9bylfRVZ1qe5hjlo1_400.jpg
798: [10:59:48] <micmania1> :O
799: [10:59:59] <micmania1> FutureMaster pug bomb 5
800: [11:00:01] <FutureMaster> http://27.media.tumblr.com/tumblr_lisv04akTl1qb08qmo1_500.jpg
801: [11:00:02] <FutureMaster> http://28.media.tumblr.com/tumblr_ljguyvQfz81qzy9e6o1_500.jpg
802: [11:00:03] <FutureMaster> http://29.media.tumblr.com/tumblr_lifvawnQjo1qaa50yo1_500.jpg
803: [11:00:04] <FutureMaster> http://24.media.tumblr.com/tumblr_lu7ep6O5hr1qbjvpuo1_500.jpg"/><br/><br/><p><a href="http://ilovepugs.tumblr.com/post/12403103214/pugs-kylielovestrees-img-7905-jpg
804: [11:00:05] <FutureMaster> http://31.media.tumblr.com/2e5eb3171fc933f19786610345879fcf/tumblr_mozdou8yEC1qb08qmo1_500.jpg
805: [11:00:11] <Snowman23> http://i.imgur.com/g7fvOtA.gif
806: [11:00:27] <micmania1> Snowman23: Meet your new work colleague :D
807: [11:00:31] <Snowman23> omg bug
808: [11:00:33] <Snowman23> omg bug bug bug
809: [11:00:39] <Snowman23> IFX UR BOT BR0
810: [11:00:42] <micmania1> yeah, i'll remove that one haa
811: [11:00:51] <micmania1> you ever looked at hubot before?
812: [11:00:55] <Snowman23> Nope
813: [11:01:34] <micmania1> oh, its soo cool. He sits in your chat (as so) and you just tell him to do things.
814: [11:01:55] <micmania1> Github use it for pretty much everything from deployments to dos protection.
815: [11:01:56] <Snowman23> lol
816: [11:02:15] <Snowman23> I'm not 100% sure I understand the use
817: [11:02:23] <Snowman23> I understand the "have a bot to do conversions in IRC" idea, but like
818: [11:02:28] <micmania1> Its automation.
819: [11:02:32] <Snowman23> I've not ever found it particularly useful when like 6 characters can do it for you too
820: [11:02:47] <Snowman23> !deploy silverstripe.com latest master
821: [11:02:49] <Snowman23> Could be handy
822: [11:03:17] <micmania1> there's some aws stuff pre-built
823: [11:03:20] * FutureMaster quit (Remote host closed the connection)
824: [11:03:42] <micmania1> There's a flowdock extension too.
825: [11:04:00] <micmania1> Be like 'Hubot are there any new tickets for me?' and he'll be like. Yeah, loads.
826: [11:04:05] <micmania1> and you'll be like :(
827: [11:04:05] <Snowman23> But...
828: [11:04:08] <Snowman23> That's useless
829: [11:04:08] <Snowman23> ;_;
830: [11:04:12] <Snowman23> I can do that in like 3 clicks
831: [11:04:15] <micmania1> yeah, that's trivial.
832: [11:04:24] <Snowman23> alt + tab, cwp *enter*
833: [11:04:37] <Snowman23> That's less than "h*tab* are there any new tickets for me"!
834: [11:04:45] <Pysrlk> hu
835: [11:04:46] <Pysrlk> ?
836: [11:04:49] <Pysrlk> trololool
837: [11:04:57] <Snowman23> lo
838: [11:04:57] <Snowman23> lol
839: [11:05:32] <micmania1> Snowman23: it has integration with Gitlab so it could solve a lot of automation problems.
840: [11:05:41] <micmania1> Hubot new user
841: [11:05:45] <micmania1> name, email etc...
842: [11:05:45] <Pysrlk> Snowman23: sec man, tell me if php sessions are shitty and able to be hacked
843: [11:05:59] <Snowman23> micmania1: Thta doesn't really solve problems
844: [11:06:05] <Snowman23> micmania1: It just means "write stuff in IRC" instead of "put it inbrowser"
845: [11:06:21] <Pysrlk> yeah but if you're already in irc...
846: [11:06:34] <Pysrlk> you can claim (more legitimately) that you're working!
847: [11:06:36] <micmania1> IRC/browser isn't automatically listening for changes?
848: [11:06:39] <Snowman23> lol
849: [11:06:49] <Snowman23> micmania1: What does automatically listening for changes have to do with automating new users etc?
850: [11:06:54] <Snowman23> Like, what changes do I give a shit about? :P
851: [11:06:59] <Snowman23> Someone deploying? Don't care
852: [11:07:01] <Snowman23> Someone making new users? don't care
853: [11:07:05] <micmania1> If somebody adds a new user out of our control...
854: [11:07:17] <Snowman23> I don't care if they do that though
855: [11:07:22] <Snowman23> I mean, if we cared, we wouldn't let them do it
856: [11:07:38] <Snowman23> "Someone used a feature!" just isn't worth me caring about
857: [11:07:43] <Snowman23> It doesn't solve any problems, either
858: [11:07:47] <micmania1> But we had an hour long discussion on how it was preventing us from automation, so clearly we do care.
859: [11:08:00] <Snowman23> Notifying us that someone created one doesn't solve that rpoblem
860: [11:08:13] <micmania1> Notifying us isn't automation.
861: [11:08:26] <Snowman23> Notifying us is useless, is my point!
862: [11:08:39] <micmania1> yep...
863: [11:08:53] <Pysrlk> so is this hubot?
864: [11:08:56] <Pysrlk> or phergie?
865: [11:08:57] <Pysrlk> or... ?
866: [11:09:03] <micmania1> hubot is our future overload.
867: [11:09:21] <micmania1> overlord*
868: [11:09:23] <micmania1> same thing.
869: [11:09:30] <micmania1> the robots win in the end.
870: [11:10:20] <micmania1> Pysrlk: you were at the talk about hubot!
871: [11:10:29] <Pysrlk> I was.
872: [11:10:46] <Snowman23> It would be useful if it was like "YO A NEW TICKET CAME IN"
873: [11:10:49] <Snowman23> But I just use email for that
874: [11:10:49] <micmania1> Sam Lambert from Github gave it.
875: [11:10:49] <Pysrlk> I was also at the github meetup, where I downed no less than 4 of their beers without invitation.
876: [11:10:58] <Pysrlk> yup he did.
877: [11:11:14] <micmania1> Snowman23: or if it done the ticket for you?
878: [11:11:28] <Pysrlk> Snowman23: haha, so do I! I've a filter to mark it as read and relegate it to a separate folder.
879: [11:11:37] <Snowman23> micmania1: If it did a ticket for me, I wouldn't want to be notified!
880: [11:11:47] <Pysrlk> Then I proceed to give as many fucks as I do for any current ticket.
881: [11:12:02] <Snowman23> lol
882: [11:12:10] <micmania1> I didn't say it would notify you... You were on about notifications.
883: [11:12:22] <micmania1> I'm on about automation.
884: [11:12:24] <Snowman23> Uh
885: [11:12:36] <Snowman23> If you're just saying "Automation is good", then hell yes, but I don't know what an IRC bot has to do with it
886: [11:12:52] <Snowman23> I mean, if I was going to add automation for thingsl ike new users, I wouldn't include IRC, it would just be a PHP form someone fills out and it does it
887: [11:13:25] <Snowman23> The way facebook automates their releases could work well, though
888: [11:13:29] <Snowman23> They use an IRC bot for it, and it seems good
889: [11:13:39] <Snowman23> But it requires people here to change how deployments happen, which seems unlikely
890: [11:15:12] <micmania1> Snowman23: its not an IRC bot. Its a service that you give commands to. Like CLI, but shared and specific to business needs.
891: [11:15:23] <Snowman23> micmania1: Ah k
892: [11:15:32] <micmania1> IRC is an adapter.
893: [11:15:39] <Snowman23> But still, not particularly useful for us, right? All the "tickets" that can be automated are suited to just... doing the task in the first place
894: [11:15:50] <Snowman23> Fill out form -> go to service, vs fill out form -> it does the junk
895: [11:16:33] <Pysrlk> Snowman23: what is shit about php sessions?
896: [11:16:35] <Pysrlk> in terms of sec?
897: [11:17:21] <Pysrlk> 'easily hackable' was something that was just thrown at me.
898: [11:17:25] <micmania1> How can you say its not useful? You heard about it 5 minutes ago.
899: [11:18:36] <Pysrlk> micmania1: how does it feel to not have your pockets weighed down by cash?
900: [11:18:38] <Snowman23> Pysrlk: Probably they're refering to how it lacks a few hardening features. They files aren't encrypted on disk
901: [11:18:48] <Snowman23> Pysrlk: They're not bound to IP by default either
902: [11:18:59] <micmania1> Pysrlk: they're stored by default in /tmp and nobody ever changes it.
903: [11:19:07] <Pysrlk> so, easily s'ploitable?
904: [11:19:11] <Snowman23> Pysrlk: From memory, there were also some interesting attackes that leveraged the prng of it too
905: [11:19:14] <Snowman23> Pysrlk: No, almost never it is
906: [11:19:38] <Pysrlk> Snowman23: storing all the info in cookies is more secure?
907: [11:19:39] <Snowman23> Pysrlk: It's like, "If you are on an incredibly shitty shared server who has done literally nothing to harden anything even though it's a shared host, other people can read/write your sessions"
908: [11:19:50] <Snowman23> Pysrlk: It can be more secure or less secure
909: [11:19:58] <Pysrlk> Snowman23: by manually reading the files in /tmp?
910: [11:20:13] <Snowman23> By just creating a sesion
911: [11:20:18] <Snowman23> Like
912: [11:20:19] <Pysrlk> oh?
913: [11:20:31] <Snowman23> Image a silverstripe shared server
914: [11:20:38] <Pysrlk> mm
915: [11:20:39] <Snowman23> I have my site, and I create a default admin, valid session etc
916: [11:20:51] <Snowman23> then I navigate to someone elses site and say "My session cookie is sess_9239149149139419"
917: [11:21:00] <Snowman23> Their website reads the cookie and goes "Oh look, he's authenticated as default admin!"
918: [11:21:10] <Snowman23> Because both websites read the same file in /tmp
919: [11:21:11] <Snowman23> Makes sense?
920: [11:21:23] <Pysrlk> oh yeh. So actually is less secure?
921: [11:21:42] <Snowman23> Pysrlk: If you're using a shared server, you need to do a lot of things to keep it secure
922: [11:21:50] <Snowman23> Pysrlk: One of the big ones is to stop people reading out your _config.php, right?
923: [11:21:50] <Pysrlk> if all it takes is sending the phpsessid cookie from a different site on the same server
924: [11:22:00] <Snowman23> If the webserver can read it, then soemone elses PHP user could too
925: [11:22:13] <Pysrlk> thus open_basedir I take it Snowman23
926: [11:22:17] <Snowman23> mm
927: [11:22:21] <Snowman23> So, shared hosts have to lock that shit down. Not only do they need to lock that particular thing down, they also need tolock the cookie thing down
928: [11:22:35] <Snowman23> I think it has not much to do with "PHP sessions are insecure" so much as "Shared hosting can be insecure"
929: [11:22:42] <Pysrlk> right
930: [11:22:47] <Snowman23> But uh
931: [11:22:53] <Pysrlk> so hacking a database is harder than hacking a php session
932: [11:22:56] <Snowman23> There are other implications for the cookie stuff
933: [11:23:02] <Snowman23> Uh
934: [11:23:05] <CerV> is there a way to change the theme without the admin console?
935: [11:23:07] <Pysrlk> but php sessions can store in db, as can ci sessions, so ... no difference?
936: [11:23:07] <zippy> with php-fpm and apache-itk you can actually set the user - which means sessions and files you can change the owner of.
937: [11:23:08] <Snowman23> I don't think you can make htatk ind of comparison :O
938: [11:23:15] <Pysrlk> CerV: config.
939: [11:23:23] <Pysrlk> you should be setting it there anyway.
940: [11:23:36] <Snowman23> If someone sets weak encryption keys for an encrypted cookie, it's going to be about a billion times less secure than files on the server
941: [11:24:02] <Pysrlk> Snowman23: ah right, because transmitted every request, yeh 'course
942: [11:24:13] <Snowman23> I could just decrypt it on my end and fuck with it
943: [11:24:19] <Snowman23> Also, a lot of people who first implment it do it wrong
944: [11:24:24] <Pysrlk> so like, db storage though...
945: [11:24:34] <Snowman23> There are some nifty crypto stuff things oyu can do where even if you can't decrypt it, you just fiddle bits and it'll give you admin access
946: [11:24:37] * Pysrlk shrugs
947: [11:24:41] <Pysrlk> 6 and 1/2 the other?
948: [11:24:41] <Snowman23> DB storage can be secure, sure thing
949: [11:24:57] <Snowman23> When you start going down that path you can get into performance issues etc though
950: [11:25:03] <Pysrlk> mm
951: [11:25:07] <Pysrlk> of c
952: [11:25:18] <Snowman23> Choose whichever method works best for you IMO *shrug*
953: [11:25:34] <Snowman23> micmania1: I don't know for sure it's not useful, it doesn't doesn't sound useful for us!
954: [11:25:52] <Pysrlk> but what it comes down to is that php sessions are not really any disadvantage over custom implemented session cookie classes?
955: [11:26:18] <Pysrlk> because, derpderp run it on windows.
956: [11:26:19] <Pysrlk> or something
957: [11:26:20] <Pysrlk> idk
958: [11:26:37] <Pysrlk> CerV: _config/mysite.yml
959: [11:26:48] <Pysrlk> check it, it'll be obvious what to do :>
960: [11:28:00] <micmania1> Snowman23: I'm just watching this. I'm 10mins in and ooks good, if a lot of this is already open-source.
961: [11:28:34] <Pysrlk> micmania1: watching ?
962: [11:28:39] <micmania1> http://www.youtube.com/watch?v=NST3u-GjjFw
963: [11:28:44] <micmania1> my bad. Forgot the link haha
964: [11:28:53] <Zauberfisch> stupid idea: in eurpore there is this cookie policy, that requires us to inform visotors that cookies are used (or actually let them opt in)
965: [11:29:17] <Zauberfisch> so, how about re implementing cookies with javascript and localstorage?
966: [11:29:33] <Zauberfisch> ok, they are not sent with http requests
967: [11:29:38] <Zauberfisch> thats a drawback
968: [11:30:21] <kinglozzer> Zauberfisch: Don't bother, no one does it
969: [11:30:27] <Zauberfisch> haha, true
970: [11:30:27] <kinglozzer> :P
971: [11:30:31] <Zauberfisch> we do it neither
972: [11:30:59] <micmania1> We only used to do it if the client asked for it.
973: [11:31:00] <kinglozzer> Colleague had some stats on it, I think there's been like 3 warnings to companies and one "prosecution" where they weren't actually punished or something
974: [11:31:08] <Zauberfisch> since there the law isn't enforced, its more harm to business to include the warning
975: [11:31:54] <Zauberfisch> same here, we inform clients that they should do it, but tell them that most clients do not want it
976: [11:32:12] <Zauberfisch> and so they also say no
977: [11:33:14] <Zauberfisch> nah, the idea isn't that good anyway, because its not sent with http header, so it can only be used with ajax calls
978: [11:34:05] * zippy quit (Quit: Textual IRC Client: www.textualapp.com)
979: [11:34:56] * g4b0_ quit (Ping timeout: 265 seconds)
980: [11:36:58] * NobrainerWeb quit (Quit: NobrainerWeb)
981: [11:37:29] <Pysrlk> Zauberfisch: kinglozzer well, reading on that law, there are exemptions, or implicit uses.
982: [11:37:52] <Pysrlk> like if you're an online shop, it's necessary for cookies to be used. So long as that's the case, then you don't _have_ to notify.
983: [11:39:07] <Pysrlk> all it does is make people really nervous when they don't understand.
984: [11:39:46] <Pysrlk> if I had to make a site I'd have a warning on it like "WARNING: The entire internet uses cookies. If you don't want them, unplug your computer from the modem, and never plug it in again".
985: [11:39:59] <Pysrlk> or something to that effect.
986: [11:40:16] <Pysrlk> Snowman23: although on another point: http://php.net/manual/en/function.session-save-path.php
987: [11:40:20] * NobrainerWeb has joined #silverstripe
988: [11:40:25] <Pysrlk> apparently 'other' cmses use this.
989: [11:40:41] <Pysrlk> could would should maybe not be a thing for SS too?
990: [11:40:42] <Pysrlk> idk
991: [11:41:09] <CerV> Pysrlk: do you mean mysite/_config/mysite.yml?
992: [11:41:19] <Pysrlk> CerV: yeh
993: [11:41:36] <Pysrlk> you should not have any code outside of mysite!
994: [11:41:47] <CerV> there is a config.yml in that folder, but no mysite.yml
995: [11:42:07] <Pysrlk> yeah, that one then.
996: [11:42:10] <Pysrlk> I forget the default name.
997: [11:42:10] <Snowman23> Pysrlk: Personally, I'm of the mind that if a shared host isn't protecting you, you're fucked
998: [11:42:19] <Pysrlk> Snowman23: yeah, basically.
999: [11:42:26] <Snowman23> Pysrlk: I don't believe in doing half-measures that "might" help. They give a false sense of security without solving underlying issues, IMO
1000: [11:42:28] <Pysrlk> but still, would it not be a bad idea?
1001: [11:42:38] <CerV> Pysrlk: no matter what i put in there, it stays on the theme i set before (using the gui)
1002: [11:42:41] <Snowman23> The big problem is where would you store them instead, Pysrlk?
1003: [11:42:56] <Snowman23> Pysrlk: We already have the temporary path, but that's almost laways in /tmp, so that doesn't solve anything
1004: [11:42:56] <Pysrlk> Snowman23: 'false sense' is usually better because people invest stock in it (because they're either stupid or they don't understand)
1005: [11:43:18] <Pysrlk> CerV: yeah so ?flush
1006: [11:43:27] <Pysrlk> and also, yes it will.
1007: [11:43:35] <Pysrlk> thus: never set the theme in the gui.
1008: [11:43:50] <CerV> Pysrlk: i think i'm getting closer to the error
1009: [11:44:00] <CerV> Pysrlk: flush doesnt work as well
1010: [11:44:14] <Pysrlk> the only way you can change it without logging in now is to run mysql, SiteDatabase.SiteConfig.Theme='NewTheme'
1011: [11:44:34] <CerV> Pysrlk: ah
1012: [11:44:36] <Pysrlk> CerV: yeah because it requires you to log in, or be in dev mode (of which you are neither)
1013: [11:44:54] <CerV> Pysrlk: i would be but its impossible as it seems
1014: [11:45:07] <Pysrlk> CerV: _config.php -> add die('this works'); at the base of it.
1015: [11:45:27] <Pysrlk> then try to load your site.
1016: [11:46:02] <CerV> Pysrlk: this works is all it says now
1017: [11:46:11] <Pysrlk> CerV: good, remove that line.
1018: [11:46:37] <CerV> Pysrlk: removed it
1019: [11:47:04] <Pysrlk> paste for me your _config.php
1020: [11:47:14] <Pysrlk> change the db details if they're in there (they shouldn't be)
1021: [11:47:17] <Pysrlk> of course
1022: [11:48:29] <CerV> Pysrlk: they are :-)
1023: [11:48:35] <CerV> http://pastebin.com/GgLf5PeC
1024: [11:50:43] <Snowman23> #fucksolr
1025: [11:57:37] <kinglozzer> Snowman23: Now that's a hashtag I can get behind
1026: [11:57:46] <Snowman23> :D
1027: [11:58:09] <kinglozzer> ... or is it a channel?
1028: [11:58:21] <Snowman23> por que no los dos?
1029: [11:58:27] <Snowman23> Though, either way, it's just people complaining
1030: [11:58:28] <Snowman23> :P
1031: [11:58:42] <kinglozzer> /join #fucksolr
1032: [11:58:47] <kinglozzer> ;D
1033: [12:01:32] <CerV> Pysrlk: not too much in there that could be broken i guess
1034: [12:03:28] <Pysrlk> CerV: nothing broken, but you are still not in dev mode. Please, read docs thoroughly!
1035: [12:03:37] <Pysrlk> http://beta.docs.silverstripe.org/en/getting_started/environment_management/
1036: [12:04:07] <CerV> Pysrlk: i did, i switched to dev mode, but back again, you mentioned that there is no login prompt in dev mode
1037: [12:04:50] <Pysrlk> yeah, but this config example does nothing to include _ss_environment.php, meaning that dev mode never was entered
1038: [12:04:57] <CerV> Pysrlk:
1039: [12:05:00] <CerV> Pysrlk: oh
1040: [12:05:09] <Pysrlk> yes, the docs even have exmples!
1041: [12:05:12] <Pysrlk> :)
1042: [12:07:19] <Pysrlk> <?php global $project; $project = __DIR__; global $database; $database='mysite';require_once('conf/ConfigureFromEnv'); ...{stuff in paste from L16 down}
1043: [12:07:25] <Pysrlk> CerV: ^
1044: [12:07:42] <Pysrlk> ... but formatted nicer :>
1045: [12:08:31] <Pysrlk> where your _ss_environment.php contains all the other stuff (including SS_DATABASE_PREFIX) to obtain the SS_mysite from your paste
1046: [12:13:08] <CerV> Pysrlk: i got it
1047: [12:13:19] <Pysrlk> cool, what are the errors coming out then?
1048: [12:13:44] <CerV> Pysrlk: only a deprecated priority agrument warning
1049: [12:13:52] <Pysrlk> (dev build will either work or give an error)
1050: [12:13:55] <CerV> Pysrlk: but there is a prompt now
1051: [12:13:58] <Pysrlk> CerV: what is this error?
1052: [12:14:10] <CerV> Deprecated: Priority argument is now ignored - use the default of 100. You should really be setting routes via _config yaml fragments though. Called from . in /var/www/framework/dev/Deprecation.php on line 174
1053: [12:14:32] <Pysrlk> CerV: I dind't see any routes in your _config.php
1054: [12:14:41] <Pysrlk> are you using the wrong version of some module perhaps?
1055: [12:15:54] <CerV> Pysrlk: hmm, not sure, as of this change (to the ss env stuff) the site no longer works at all
1056: [12:16:10] <CerV> Pysrlk: also, the admin page kinda works, but wont let me in
1057: [12:16:42] <Pysrlk> CerV: well... paste for me your updated _config.php and the _ss_environment.php (with name/pass edits of course) :>
1058: [12:17:39] <CerV> Pysrlk: right away!
1059: [12:18:34] <CerV> Pysrlk: http://pastebin.com/1bRTuUvz (_config.php)
1060: [12:20:24] <Pysrlk> looks good
1061: [12:20:28] <CerV> http://pastebin.com/6AruskP9 (_ss_environment.php)
1062: [12:21:23] <Pysrlk> Cool, that all looks good :)
1063: [12:21:39] <Pysrlk> the environment is in the site root (or any folder above that which php can read)?
1064: [12:22:16] <Pysrlk> You don't need to use the default admin, it won't alter your site (unless you have no admins), but it doesn't hurt either.
1065: [12:22:46] <CerV> Pysrlk: its in the root right now
1066: [12:22:50] <Pysrlk> cool
1067: [12:22:52] <Pysrlk> that's fine.
1068: [12:23:18] <CerV> Pysrlk: well, but i cant get in, and the whole site appears to have gone
1069: [12:23:23] <Pysrlk> so dev/build works fine?
1070: [12:23:39] <CerV> yes
1071: [12:23:46] <Pysrlk> and site/?flush=all works fine?
1072: [12:24:46] <CerV> Pysrlk: nope
1073: [12:25:19] <CerV> Pysrlk: http://pastebin.com/g2hEBRJb
1074: [12:28:19] <Pysrlk> it's trying to 404
1075: [12:28:30] <Pysrlk> finally some output!
1076: [12:28:34] <Snowman23> GIMMIE FUEL GIMMIE FIRE GIMME DABIEDBAIDAIE
1077: [12:28:58] <Pysrlk> this is what has probably always been wrong CerV - but now we can finally see it.
1078: [12:29:21] <Pysrlk> I would suggest it is something to do with this: Director::direct(/site/,DataModel)
1079: [12:29:37] <Pysrlk> (from that trace)
1080: [12:31:16] <CerV> Pysrlk: how would i trace this error?
1081: [12:31:18] <Pysrlk> CerV: what is /site/
1082: [12:31:27] <Pysrlk> CerV: well somewhere you are asking for /site/
1083: [12:31:33] <CerV> Pysrlk: hehe
1084: [12:31:34] <Pysrlk> no idea why
1085: [12:31:38] <CerV> ok, then ignore it
1086: [12:31:50] <Pysrlk> if /site/ does not exist, then yeah, it's gonna 404
1087: [12:31:56] <CerV> Pysrlk: i thought you asked me to call /site/?flush
1088: [12:32:00] <Pysrlk> lol
1089: [12:32:01] <Pysrlk> haha
1090: [12:32:13] <Pysrlk> I meant domainthatyoursiteisonwhateveritmightbe/?flush
1091: [12:32:14] <Pysrlk> :P
1092: [12:32:23] <Pysrlk> since it's internal... I didn't bother with .com ;)
1093: [12:32:31] <CerV> Pysrlk: yeah i got it now :-)
1094: [12:32:40] <Pysrlk> did it flush?
1095: [12:32:58] <CerV> Pysrlk: flush works, still the deprecation warning on top, of course, also, it seems to be reset to default
1096: [12:33:09] <CerV> Pysrlk: so my site is still gone
1097: [12:33:25] <Pysrlk> CerV: what modules do you have installed?
1098: [12:33:44] <CerV> Pysrlk: i installed with composer, ill paste the json, one sec
1099: [12:34:26] <CerV> http://pastebin.com/f5imLg6W
1100: [12:34:35] <Pysrlk> cool, hopefully the fix can be as easy as composer update
1101: [12:35:23] <CerV> Pysrlk: also, there is still some stuff there that i tried and dont need anymore, i can remove that
1102: [12:35:41] <CerV> Pysrlk: all i really ended up using was translations
1103: [12:35:57] <Pysrlk> "jonom/silverstripe-betternavigator": "dev-master", "ninty9notout/sitetreenav": "dev-master"
1104: [12:36:04] <Pysrlk> I imagine that that error is one of these two
1105: [12:36:21] <CerV> Pysrlk: consider it removed
1106: [12:37:57] <CerV> Pysrlk: still the same
1107: [12:38:10] <Pysrlk> yeah, I was just looking at their code, they don't make any routes
1108: [12:38:31] <Pysrlk> CerV: grep for Director::add_rules
1109: [12:38:47] <Pysrlk> grep -rn 'Director::add_rueles' *
1110: [12:38:52] <Pysrlk> (from the site root)
1111: [12:39:47] <CerV> hmm
1112: [12:40:13] <CerV> it found something in simplesitemap, this is not in the composer list, so i might have installed it manually
1113: [12:40:23] <CerV> i'll just get rid of the folder, one sec
1114: [12:40:36] <Pysrlk> sounds old, which would cause the error message.
1115: [12:41:02] <CerV> Pysrlk: yup, that got rid of it
1116: [12:41:04] <CerV> hmm
1117: [12:42:06] <Pysrlk> there are more up to date sitemaps if you need one :>
1118: [12:42:15] <Pysrlk> so... what errors have we got now?
1119: [12:42:21] <CerV> Pysrlk: since my site vanished in the progress, i'll restore the vm to yesterdays state, remove unneeded modules (especially simplesitemap) and switch the config to the _ss_enviroment style, i'll report when i'm there
1120: [12:42:42] <Pysrlk> CerV: ok, that sounds like an idea :)
1121: [12:43:47] <CerV> Pysrlk: lol
1122: [12:44:06] <CerV> Pysrlk: mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | (SS_mysite) | | SS_mysite |
1123: [12:44:22] <CerV> Pysrlk: one of those moments when i feel really stupig
1124: [12:44:31] <CerV> Pysrlk: stupid
1125: [12:45:46] * r_hector quit (Quit: Leaving.)
1126: [12:46:55] <CerV> Pysrlk: ok i corrected the database name, now my site is back, unfortunately so is the admin login problem
1127: [12:48:03] <CerV> Pysrlk: also, this: http://pastebin.com/B3KMp4LS is what happens if i try to flush now
1128: [12:48:55] <Pysrlk> CerV: update your templates. You're using extremely outdated code (control is no longer a thing)
1129: [12:49:08] <Pysrlk> ,/var/www/themes/vb-theme/Backup/templates/Includes/NaviTest.ss
1130: [12:49:40] <Pysrlk> if this is your code. If it's a composer install that you no longer need, just get rid of it.
1131: [12:49:44] <Pysrlk> It's also very outdated.
1132: [12:51:16] <Pysrlk> http://beta.docs.silverstripe.org/en/developer_guides/templates/syntax/#looping-over-lists
1133: [12:51:34] <Pysrlk> http://beta.docs.silverstripe.org/en/developer_guides/templates/syntax/#scope
1134: [12:51:46] <Pysrlk> control is now broken into two separate things: with and loop
1135: [12:52:00] * caamic30 has joined #silverstripe
1136: [12:52:20] <Pysrlk> with changes scope only (eg. control SingleDataObject would simply change scope so you could $Title instead of $SingleDataObject.Title)
1137: [12:52:26] <Pysrlk> loop ... well loops.
1138: [12:52:33] <Pysrlk> it's the more common use case
1139: [12:52:50] <Pysrlk> for the most part most <% control ... %> can be replaced with <% loop ... %>
1140: [12:53:10] <Pysrlk> which loops a list, changing scope to the current element each iteration.
1141: [12:53:29] <Pysrlk> savvy CerV ?
1142: [12:54:07] <Pysrlk> so <% control Menu(2) %> will become <% loop Menu(2) %>
1143: [12:57:17] <CerV> Pysrlk: i see, yeah that part concerns a menu i found in a tutorial
1144: [12:57:23] * wmk has joined #silverstripe
1145: [12:57:39] <CerV> Pysrlk: but it used to work a few hours ago, i'm 'tres' confused
1146: [12:57:58] <Pysrlk> did you update any time recently?
1147: [12:58:00] <Pysrlk> (composer)
1148: [12:58:07] <Pysrlk> composer update or something/
1149: [12:58:37] <Pysrlk> CerV: yes, it pays to be wary of tutorials these days. Many are so old (in more ways than one) that they're more of a hindrence than a help
1150: [12:58:46] <Pysrlk> old code, old ways of doing things
1151: [12:59:01] <Pysrlk> also most things were more 'common practice' rather than the best way of doing something in the first place.
1152: [13:01:34] * jeroenem quit (Ping timeout: 246 seconds)
1153: [13:01:48] <CerV> Pysrlk: we, or rather, you fixed it
1154: [13:02:00] <CerV> Pysrlk: i'm back in :-)
1155: [13:02:05] * cloph_away is now known as cloph
1156: [13:02:33] <Pysrlk> aya
1157: [13:02:51] <Pysrlk> the troubles of mismatched module versions
1158: [13:03:12] <Pysrlk> CerV: so basically what was happening was that it was trying to redirect, hitting an error on redering, then dying.
1159: [13:03:18] <Pysrlk> but because no dev mode, no errors.
1160: [13:03:31] <Pysrlk> plus the redirect doesn't help
1161: [13:04:00] <Pysrlk> ie, sometimes there's an error that gets spat out, but then a redirect happens so you never see the error :<
1162: [13:04:22] <Pysrlk> which was my very first thought when you said the login was broken
1163: [13:04:23] <CerV> Pysrlk: not too clear for me what happened, since it worked for so long, but something i did must have triggered it, last thing i did was trying to get typography to work
1164: [13:04:37] * Snowman23 cries
1165: [13:04:38] <Snowman23> I AM TIRED OF BUGGY CODE
1166: [13:04:39] <Pysrlk> CerV: 'get typography to work'?
1167: [13:04:44] <Pysrlk> Snowman23: eh?
1168: [13:05:03] <CerV> Pysrlk: hehe, thats how i call it
1169: [13:05:06] <Pysrlk> CerV: is this a module? Or do you just mean CSS for your theme?
1170: [13:05:10] <Snowman23> Fulltextsearch buggy
1171: [13:05:17] <CerV> Pysrlk: http://doc.silverstripe.org/framework/en/reference/typography
1172: [13:05:18] <Pysrlk> Snowman23: always has been.
1173: [13:05:21] <Snowman23> Error CREATEing SolrCore 'FooIndex-var-www-mysite-shared-solr'
1174: [13:05:26] <Snowman23> IT'S JUST FOOINDEX YOU LAME THING
1175: [13:06:01] <Pysrlk> CerV: ah, this is editor.css
1176: [13:06:20] <CerV> Pysrlk: exactly, the styles drop down in the editor
1177: [13:06:25] <Pysrlk> you just make a css file in your theme: themes/themename/css/editor.css
1178: [13:06:30] <Pysrlk> then that's it.
1179: [13:06:32] <Pysrlk> :>
1180: [13:06:52] <Pysrlk> CerV: but as for the dropdown styles... tinymce is not the best, it can be... annoying.
1181: [13:07:01] <CerV> Pysrlk: didn't work for me, but i'll retry now, thanks a lot for your time, i feel i learned a lot
1182: [13:07:03] <Pysrlk> but still a nice touch when it works well :)
1183: [13:07:18] <Pysrlk> CerV: you're welcome. That's why we hang out here :)
1184: [13:07:28] <CerV> Pysrlk: tinymce is the embedded editor, isn't it?
1185: [13:07:32] <Pysrlk> come back to learn more in future if you get stuck again!
1186: [13:07:34] <Pysrlk> CerV: yes.
1187: [13:07:55] <Pysrlk> I don't know how it is these days, but it used to not be context sensitive.
1188: [13:07:55] <CerV> Pysrlk: is it possible to use another one?
1189: [13:08:26] <Pysrlk> eg if you have p.classname, then the styles dropdown would have .classname, and you could apply it to anything (like img, a, etc)
1190: [13:08:34] <Pysrlk> but of course it would only do anything on p.
1191: [13:08:53] <Pysrlk> CerV: uh... 'possible' - in theory, but not very practical unfortunately.
1192: [13:09:02] <Pysrlk> at least, not yet.
1193: [13:09:24] <Pysrlk> but 'not yet' has been the status on that development for ... 5 years or so now, ha.
1194: [13:11:24] <CerV> Pysrlk: oh ok, i thought it might be just another module, will manage with it then, one last thing, the admin login still looks pretty weird, while the form appears now, the login page is still a screwed up version of the sites main page, there is a parameter that controls the theme used for the admin login page, isn't there?
1195: [13:11:26] * Marvanni quit (Ping timeout: 258 seconds)
1196: [13:12:01] <Pysrlk> CerV: there are other modules you can use that will give different editors.
1197: [13:12:05] * Marvanni has joined #silverstripe
1198: [13:12:37] <Pysrlk> but I'm not aware of any (mostly because I've never tried any) that will use the built in tinymce's integration to SS through link and image interfaces.
1199: [13:12:58] <Pysrlk> ie, when you click the image button, that popup is silverstripe code, not tinymce's default image button.
1200: [13:13:06] * caamic30 quit (Quit: caamic30)
1201: [13:14:04] * caamic30 has joined #silverstripe
1202: [13:16:51] * Marvanni quit (Ping timeout: 264 seconds)
1203: [13:18:01] * Marvanni has joined #silverstripe
1204: [13:19:50] * g4b0_ has joined #silverstripe
1205: [13:23:27] * NobrainerWeb quit (Quit: NobrainerWeb)
1206: [13:39:14] * UndefinedOffset has joined #silverstripe
1207: [13:44:38] * Shrike_Finland quit (Quit: Leaving.)
1208: [13:56:17] * jrthomer quit (Ping timeout: 258 seconds)
1209: [13:57:45] * Shrike_Finland has joined #silverstripe
1210: [14:05:36] * CerV quit (Quit: Page closed)
1211: [14:19:59] * caamic30 quit (Quit: caamic30)
1212: [14:33:21] * Shrike_Finland quit (Quit: Leaving.)
1213: [14:37:22] * caamic30 has joined #silverstripe
1214: [14:44:59] * muskie9 has joined #silverstripe
1215: [15:00:40] * g4b0_ quit (Ping timeout: 264 seconds)
1216: [15:33:01] * zfmf has joined #silverstripe
1217: [15:35:12] * g4b0_ has joined #silverstripe
1218: [15:48:18] * rista has joined #silverstripe
1219: [15:50:09] <rista> Hi guys, I need to order the pages in the site tree by date created (so latest first). I tried with $default_sort or with overwriting the Childern method (since those pages are under one page) but nothing helps.
1220: [15:50:29] <wmk> rista, backend or frontend?
1221: [15:50:33] <rista> and yes, I need this for one page type only.
1222: [15:50:35] <rista> in backend
1223: [15:50:47] <wmk> hmm...
1224: [15:52:43] <rista> In SiteTree $default_sort is set to "\"Sort\"", I tried changing this but nothing is changing, they are still sorted by Sort
1225: [15:53:21] * auto9 has joined #silverstripe
1226: [15:54:34] <auto9> hi. I am trying to create 301 redirects in my .htaccess file...
1227: [15:55:23] <auto9> it is adding ?url={old_url} to the url which stops the page showing
1228: [15:55:43] <auto9> if I manually remove the query string it finds my page
1229: [15:56:05] <auto9> is there a way to stop SS adding the url querystring
1230: [15:58:56] <wmk> rista, http://doc.silverstripe.org/framework/en/howto/customize-cms-pages-list may help
1231: [16:02:30] <rista> wmk, yes I'm just tring that now.
1232: [16:02:38] <wmk> good luck ;)
1233: [16:03:03] <wmk> auto9, what are you trying to acchieve?
1234: [16:04:10] <wmk> auto9, redirecting from old urls to new cms?
1235: [16:04:46] <auto9> my client had an old site running v2.4. Now we have put a brand new v3 site in its place. I'm trying to redirect 30ish page urls to the new urls
1236: [16:05:25] <wmk> did you convert the db or set it up totally new?
1237: [16:05:42] <wmk> cause when you just rename a page in cms / change url: it should redirect automatically
1238: [16:06:24] <auto9> Its a totally new site with a totally new db and contents
1239: [16:07:03] <wmk> is there a matching from old content to new content?
1240: [16:07:13] * arnhoe quit ()
1241: [16:07:30] <wmk> then you could put the old url as a new db field to the new page and redirect with a custom controller
1242: [16:07:52] <wmk> if not - show us your .htaccess rules
1243: [16:08:29] <rista> wmk, it doesn't enter that method at all :(
1244: [16:08:55] <rista> I see it's called from CMSMain, on ListViewForm method.
1245: [16:11:02] * caamic30 quit (Quit: caamic30)
1246: [16:12:13] <auto9> www.walkgrove.co.uk/htaccess.txt is a copy of the .htaccess
1247: [16:12:54] <rista> updateSiteTreeAsUL is acutally the method that is called for making this tree, only it's HTML that I get :(
1248: [16:13:02] <rista> there must be something before that
1249: [16:13:11] <Pysrlk> auto9: silverstripe isn't adding the query string, that's a mod_rewrite thing.
1250: [16:13:47] <Pysrlk> auto9: use redirectorpages
1251: [16:13:51] <Pysrlk> in the cms.
1252: [16:13:56] <Pysrlk> easiest solution.
1253: [16:14:08] <Pysrlk> client can then remove them when they're satisfied.
1254: [16:15:38] <auto9> Thanks Pysrlk. I will tell my client I'm doing that. Redirector pages do use 301 redirect code yea?
1255: [16:15:43] <Pysrlk> also, not sure if it matters, but put an extra slash on the end of RewriteBase
1256: [16:15:56] <Pysrlk> auto9: I think you can choose (from memory)
1257: [16:16:57] <kinglozzer> Fuckn request filters
1258: [16:17:01] <kinglozzer> After: '*'
1259: [16:17:05] <kinglozzer> LOLNOPE IT COMES FIRST
1260: [16:17:14] <kinglozzer> :(
1261: [16:17:41] <Pysrlk> kinglozzer: eh?
1262: [16:18:00] <kinglozzer> Pysrlk: Trying to add a request filter that comes after flushable
1263: [16:18:23] <kinglozzer> I have to use Before: '#requestprocessors' instead of after, to make it come after
1264: [16:18:26] <kinglozzer> O.o
1265: [16:19:16] <Pysrlk> yeah, last in, first out.
1266: [16:19:16] * auto9 quit (Read error: Connection reset by peer)
1267: [16:19:20] <Pysrlk> duh kinglozzer
1268: [16:19:26] <Pysrlk> :P
1269: [16:19:28] * auto9_ has joined #silverstripe
1270: [16:19:31] <kinglozzer> ><
1271: [16:19:51] <wmk> auto9_, there was also a module for those rewrite links for ss 2.4
1272: [16:20:13] <Pysrlk> kinglozzer: also, how cool is request filter :D
1273: [16:20:27] <Pysrlk> you can be all 'This output? DENIED'
1274: [16:20:36] <wmk> auto9_, https://github.com/ajshort/silverstripe-linkmapping
1275: [16:20:45] <kinglozzer> Yeah it's pretty cool!
1276: [16:20:47] <Pysrlk> echo exec('lolnope.sh')
1277: [16:20:48] <wmk> seems to be for 3.0 currently, you could easily update it to 3.1
1278: [16:21:16] <Pysrlk> kinglozzer: found it a couple of years back, used it on 3.0 framework only project to basically give the same dealy as ErrorPage
1279: [16:21:38] <Pysrlk> meaning I didn't have to hack the shit out of httpError()
1280: [16:24:41] * zfmf quit ()
1281: [16:33:37] * hubertusanton has joined #silverstripe
1282: [16:34:14] * rista quit (Quit: Page closed)
1283: [16:35:17] <hubertusanton> hi im calling 2 stored procedures in mysql after each other from ss and get [User Error] Couldn't run query: CALL nameofprocedure( 2, 4, 'yes', 1, 'a', 'a', 'a', 'a' ) Commands out of sync; you can't run this command now
1284: [16:37:53] * Eliseth quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1285: [16:40:16] <hubertusanton> anyone came across this problem as well? i think it has something to do with freeing mysql to run a second stored procedure directly from ss
1286: [16:40:35] <hubertusanton> just one works fine
1287: [16:42:41] <wmk> hubertusanton, all i found on a quick search was: http://www.silverstripe.org/community/forums/data-model-questions/show/21365
1288: [16:42:54] <wmk> guess you have to reset something to run the second procedure
1289: [16:43:08] <auto9_> Thanks wmk but they are using v3 now
1290: [16:43:25] <wmk> auto9_, that module was already upadated for 3.0
1291: [16:43:33] <wmk> so updating to 3.1 should be easy for you
1292: [16:44:06] <wmk> basically moving public variables to static and add $allowed_actions for everything you need
1293: [16:45:18] <Pysrlk> hubertusanton: you're... using master branch?
1294: [16:51:55] <Pysrlk> afaik SS doesn't have any stored proceedures... which would mean this isn't an SS issue :<
1295: [16:53:16] * jenniferaslan has joined #silverstripe
1296: [16:54:53] <wmk> Pysrlk, i think he just calles them as plain sql
1297: [16:56:07] * Shrike_Finland has joined #silverstripe
1298: [16:56:11] * muskie9 is now known as _muskie9_
1299: [17:00:10] * kerosene quit (Ping timeout: 272 seconds)
1300: [17:03:23] <Pysrlk> wmk: yeh, so I imagine he's set up the stored proceedure either manually with some kind of build task or directly in the DB, thus it's /probably/ not a silverstripe issue, rather just a generic plain mysql issue.
1301: [17:04:15] <wmk> maybe in combination with silverstripe db class doing somthing disturbing
1302: [17:09:47] * _muskie9_ is now known as muskie9
1303: [17:10:31] * toddvalentine has joined #silverstripe
1304: [17:15:38] <Pysrlk> possible, but since 3.x doesn't do stored proceedures, I highly doubt it
1305: [17:15:55] <Pysrlk> I imagine it's a DB::query() call if anything. but could be extremely wrong, of course.
1306: [17:16:24] <Pysrlk> (I say 3.x because it's master, targeted for 4.0 that the PDO stuff tractorcow has done is heading for)
1307: [17:17:14] <Pysrlk> wmk: the other reason I ask is because sometimes people get confused and call ORM stuff 'stored proceedures' because Thing::get() seems kinda like that (magic and all) when really it's just hidden away from user's view.
1308: [17:17:22] * g4b0_ quit (Quit: Sto andando via)
1309: [17:17:26] <Pysrlk> but by the syntax of his query, yeah I imagine it's a proper stored proceedure.
1310: [17:18:57] <wmk> untill he doesn't feed us with more info we have to guess.... hubertusanton got it running?
1311: [17:20:00] <Pysrlk> wmk: indeed. It's been almost an hour since the last contact, which was asking the question in the first place... so I have to assume he typed out the question and then ran away.
1312: [17:20:20] <Pysrlk> which seems... illogical.
1313: [17:20:35] <Pysrlk> ,\\//
1314: [17:20:39] <Pysrlk> \\//,
1315: [17:30:13] * kinglozzer quit ()
1316: [17:46:37] * wmk quit (Ping timeout: 240 seconds)
1317: [17:49:36] * Shrike_Finland quit (Quit: Leaving.)
1318: [17:56:32] <Pysrlk> HOOOOOOOOOOOME time!
1319: [17:56:36] * Pysrlk quit ()
1320: [18:01:31] * ThePeach quit (Quit: leaving)
1321: [18:06:25] * muskie9 is now known as _muskie9_
1322: [18:28:30] * jcwacky_ has joined #silverstripe
1323: [18:29:53] * jcwacky quit (Ping timeout: 255 seconds)
1324: [18:29:54] * jcwacky_ is now known as jcwacky
1325: [18:34:33] * Fuxo has joined #silverstripe
1326: [18:36:10] * Shrike_Finland has joined #silverstripe
1327: [18:37:11] * wmk has joined #silverstripe
1328: [18:56:13] * Stomach has joined #silverstripe
1329: [18:58:22] * Fuxo quit (Quit: Leaving)
1330: [19:03:32] * Kingy has joined #silverstripe
1331: [19:09:12] * _muskie9_ is now known as muskie9
1332: [19:15:28] <Kingy> morning
1333: [19:17:27] <Olliepop> morning
1334: [19:26:30] <Stomach> hi hi
1335: [19:36:04] * travis-ci has joined #silverstripe
1336: [19:36:04] <travis-ci> silverstripe/silverstripe-framework#3684 (3.0 - 28760e0 : Ingo Schommer): The build passed.
1337: [19:36:04] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1661213e5b9f...28760e051d32
1338: [19:36:04] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/41997152
1339: [19:36:04] * travis-ci has left #silverstripe
1340: [19:44:27] * gelignite has joined #silverstripe
1341: [19:44:28] * Ryan-Toast has joined #silverstripe
1342: [19:46:14] <JeremyRoundill> My Tunesday morning is severely lacking in tunes.
1343: [19:47:10] * veb has joined #silverstripe
1344: [19:48:02] <Ryan-Toast> JeremyRoundill: https://www.youtube.com/watch?v=NAp6qYBrzqY&index=1&list=PLx_tr69QV8CAll6JVEFJW94v4aE9pCtIf
1345: [19:48:03] <Olliepop> Anybody know a good way to achieve the same thing as a CURL request where you send post data and follow location? I just can't follow location within SilverStripe, is there a class for it?
1346: [19:50:59] <JeremyRoundill> Cheers, Ryan-Toast
1347: [19:51:29] * novaweb has joined #silverstripe
1348: [19:57:24] * auto9_ quit (Read error: Connection reset by peer)
1349: [19:57:44] * auto9 has joined #silverstripe
1350: [20:00:37] * spekulatius has joined #silverstripe
1351: [20:01:16] <Kingy> low ball offers are shit
1352: [20:01:35] <Kingy> yes unknown person i'm really going to take $2000 less for my car
1353: [20:02:14] <JeremyRoundill> Kingy, I'll give you 20 bucks for it.
1354: [20:02:22] <JeremyRoundill> 30 if you drive it to Hamilton for me.
1355: [20:02:24] * jedateach has joined #silverstripe
1356: [20:05:48] * antmas has joined #silverstripe
1357: [20:06:59] <antmas> morning all
1358: [20:07:21] <Kingy> sarp dude
1359: [20:10:00] <JeremyRoundill> Did you cats win any CS:GO games while I was away in Auckland?
1360: [20:10:23] * antmas did
1361: [20:10:32] <JeremyRoundill> :)
1362: [20:11:12] <Kingy> JeremyRoundill: yep Blacklite and I played pretty hard on friday night
1363: [20:11:26] <Kingy> we're both SE now
1364: [20:11:31] <JeremyRoundill> Nice :)
1365: [20:11:38] <JeremyRoundill> Just gotta hit nova now.
1366: [20:11:57] <Kingy> yeah for sure
1367: [20:12:11] <JeremyRoundill> It's a good feeling. Those gold stars feel just like the gold stars you used to get at primary school :D
1368: [20:12:45] <antmas> SE?
1369: [20:13:00] <Kingy> silver elite
1370: [20:13:09] <antmas> ah
1371: [20:13:23] <antmas> I should look up what all these coin things are and how to get weapong drops
1372: [20:13:27] <antmas> weapon*
1373: [20:13:55] <JeremyRoundill> You get weapon drops by playing.
1374: [20:14:08] <Kingy> and then paying for a stupid key to unlock em
1375: [20:14:30] <antmas> gaaaaay
1376: [20:14:40] <antmas> I got MVP in like 4/5 matches and didn't get any drops
1377: [20:15:05] <Kingy> you do get the occasional free weapon, but not often
1378: [20:15:15] <Kingy> antmas: you aren't ranked yet?
1379: [20:15:30] <antmas> nup, been training in deathmatches
1380: [20:18:01] <antmas> http://csgo-stats.com/sodiumcyclops/
1381: [20:18:26] <antmas> not sure if that shows real rank though
1382: [20:19:01] <JeremyRoundill> http://csgo-stats.com/joundill/
1383: [20:19:02] <JeremyRoundill> Jeez
1384: [20:19:18] <Kingy> http://csgo-stats.com/advance007/
1385: [20:19:21] <JeremyRoundill> Competitive k:d - 0.82
1386: [20:19:27] <JeremyRoundill> Not even positive :O
1387: [20:19:44] <Kingy> neither
1388: [20:19:48] <Kingy> close though
1389: [20:19:52] <Kingy> 0.92
1390: [20:20:05] <antmas> 1.0 :D
1391: [20:20:21] <antmas> waaaay less matches though
1392: [20:20:47] <JeremyRoundill> Jeez
1393: [20:20:54] <JeremyRoundill> My friend who I usually play with
1394: [20:20:54] <JeremyRoundill> http://csgo-stats.com/cheaptoaster/
1395: [20:20:59] <JeremyRoundill> k:d - 1.22
1396: [20:21:07] <JeremyRoundill> That's what you get for AWPing. :P
1397: [20:21:15] <antmas> :P
1398: [20:21:32] <JeremyRoundill> Hardly ever the entry death, always there for the cleanup :)
1399: [20:21:42] <Kingy> yep
1400: [20:21:49] <Kingy> apparently dubai has only just got MM servers
1401: [20:21:54] <Kingy> so at least I can play somewhere :P
1402: [20:22:01] <JeremyRoundill> :)
1403: [20:24:32] <Stomach> lol @ phabrictors CLI description
1404: [20:24:36] <Stomach> "Many cryptic commands."
1405: [20:28:12] * Shrike_Finland quit (Quit: Leaving.)
1406: [20:29:25] * Phlunk3 has joined #silverstripe
1407: [20:34:57] * camfindlay has joined #silverstripe
1408: [20:36:00] * Colin[pi] has joined #silverstripe
1409: [20:36:26] <Colin[pi]> moin moin
1410: [20:36:55] <antmas> Colin[pi]: heyyooooooo!
1411: [20:36:57] <antmas> o/
1412: [20:37:02] <Colin[pi]> :D
1413: [20:37:04] <Colin[pi]> \o
1414: [20:38:38] <Kingy> nice and early Colin[pi]
1415: [20:50:16] * DimiStripe quit (Quit: DimiStripe)
1416: [20:50:48] <JeremyRoundill> http://www.radionz.co.nz/national/programmes/morningreport/audio/20158517/sis-report-likely-to-show-dirty-politics-book-right
1417: [20:50:56] <JeremyRoundill> This report's coming out in 10 minutes.
1418: [20:50:59] <Kingy> surprised?
1419: [20:51:17] <JeremyRoundill> Well, we don't know what's in it yet.
1420: [20:51:25] <JeremyRoundill> They're just quoting Hager
1421: [20:54:46] <antmas> is this some kind of like 'truth' report?
1422: [20:54:55] * Stomach_ has joined #silverstripe
1423: [20:55:05] * micmania1 has joined #silverstripe
1424: [20:56:28] <JeremyRoundill> Well, the I-G is investigating what actually happened. She's gonna release the report detailing what went down in a few minutes.
1425: [20:56:28] * Stomach quit (Ping timeout: 264 seconds)
1426: [20:56:53] <JeremyRoundill> It's independent as well, so I'm guessing it's going to be the actual truth.
1427: [20:57:24] <antmas> I bet if it shows none of it, or a lot of it wasn't true - the report will be labled as 'incredible and flawed'
1428: [20:57:46] <antmas> and if it shows it was truthful, it will b heralded as the second coming of political jesus agains the National Party
1429: [20:57:52] <antmas> against*
1430: [20:58:03] <antmas> knowing how fucking aweful NZ is with the blame game
1431: [20:58:16] <JeremyRoundill> Yeah
1432: [20:58:20] <antmas> IMO :P
1433: [20:58:23] <JeremyRoundill> But it's early in the third term for National.
1434: [20:58:36] <JeremyRoundill> They can take some serious beatings and not have to worry about it.
1435: [20:59:27] <JeremyRoundill> The correct reaction is that our intelligence services are dangerous and need more transparent oversight.
1436: [21:00:10] <Kingy> my guess is nobody really cares
1437: [21:00:13] <antmas> yeah but again, that will be overlooked in our media in favour of blaming someone like JK
1438: [21:01:02] <antmas> whether it be fairfax or some supposedly agnostic blogger - it's all the blame game and finger pointing
1439: [21:01:05] * antmas finishes rant
1440: [21:01:20] <JeremyRoundill> Oh snap, the Judith Collins report is out in a couple of hours too.
1441: [21:01:39] <antmas> dat Crusher
1442: [21:01:53] <Kingy> JeremyRoundill: I think that one is supposed to clear her
1443: [21:01:56] <Kingy> so don't get excited
1444: [21:02:10] <JeremyRoundill> Probs.
1445: [21:02:36] <JeremyRoundill> She blocked me on Twitter back when I had an account :(
1446: [21:02:45] <JeremyRoundill> Such a meanie.
1447: [21:03:03] <JeremyRoundill> I only said she looked like Dolores Umbridge.
1448: [21:03:13] <antmas> :P
1449: [21:03:16] <Kingy> oh god that bitch!
1450: [21:03:21] <Kingy> RAAA
1451: [21:03:41] <antmas> I love it how the google stats for 'collins fakes' went way up during the election build up
1452: [21:03:51] * antmas shudders
1453: [21:03:56] <JeremyRoundill> :P
1454: [21:04:23] <Kingy> oh man I didn't even think of power/voltages in Bahrain
1455: [21:04:24] <Kingy> fml
1456: [21:04:50] <antmas> should be same as ours I believe
1457: [21:05:04] <Kingy> hmm yeah from what I can see same voltage but they use British plugs
1458: [21:05:07] <Kingy> lucky
1459: [21:05:28] <Ryan-Toast> Hmm, getting a “Row size too large (> 8126)” in my subsite.
1460: [21:05:37] <Ryan-Toast> Shuld i just change more shit to be TEXT, or BLOB?
1461: [21:05:52] <Stomach_> yeah thats definitely fixing the issue
1462: [21:05:52] <Stomach_> ;)
1463: [21:06:18] <Ryan-Toast> :P
1464: [21:06:27] <Ryan-Toast> not my site, don’t give a fuck
1465: [21:07:17] <JeremyRoundill> We've got a site which was built by some dude.
1466: [21:07:27] <JeremyRoundill> Completely custom framework.
1467: [21:07:35] <JeremyRoundill> Everything's stored in the database as BLOBs.
1468: [21:07:46] <Ryan-Toast> This site looks like it was built by about twenty people, while their office was on fire.
1469: [21:07:49] <JeremyRoundill> The DB is like 4/5GB now.
1470: [21:08:01] <JeremyRoundill> Site's probably <100MB
1471: [21:08:07] <JeremyRoundill> Hahaha
1472: [21:08:28] <JeremyRoundill> http://www.igis.govt.nz/assets/FINAL-REPORT-INTO-THE-RELEASE-OF-INFORMATION-BY-NZSIS-IN-JULY-AND-AUGUST-2.pdf
1473: [21:09:50] * mahfuz has joined #silverstripe
1474: [21:10:21] <mahfuz> Good Morning everyone
1475: [21:10:43] * UndefinedOffset quit (Quit: Leaving.)
1476: [21:11:52] * Cheddam has joined #silverstripe
1477: [21:12:04] <JeremyRoundill> Cool as, looks like the SIS director wasn't acting in a partisan manner.
1478: [21:12:06] <Ryan-Toast> is this the only way to fix my issue? http://www.silverstripe.org/community/forums/general-questions/show/37158#post359162
1479: [21:12:24] <JeremyRoundill> Just looks like the SIS are filled with bumbling idiots who don't know how to OIA.
1480: [21:12:39] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1481: [21:12:58] <mahfuz> Hey I am checking in the template whether the user is logged in and showing relevant information in the page but is there any way to implement if the user tries to access a page which only for logged in users, they are redirected to the home page or login page?
1482: [21:13:23] <antmas> JeremyRoundill: yeah it's not suprising
1483: [21:16:20] * UncleCheese has joined #silverstripe
1484: [21:18:26] <antmas> love it how Radio NZ android app crashes my phone to boot screen
1485: [21:18:29] <antmas> A+
1486: [21:18:31] <antmas> 10/10
1487: [21:19:45] <JeremyRoundill> Hahaha
1488: [21:19:48] * jenniferaslan has joined #silverstripe
1489: [21:20:02] <JeremyRoundill> I have a command on my machine called radionz
1490: [21:20:16] <JeremyRoundill> It just starts up the radio station.
1491: [21:23:01] * gelignite quit (Quit: http://bit.ly/nkczDT)
1492: [21:25:22] * UncleCheese quit (Quit: Textual IRC Client: www.textualapp.com)
1493: [21:26:09] <mahfuz> Could any one suggest me some idea how I can forward the users who are not logged in and trying to access a page for logged in users only?
1494: [21:27:26] <JeremyRoundill> mahfuz: http://doc.silverstripe.org/framework/en/reference/member
1495: [21:28:00] <JeremyRoundill> mahfuz: http://doc.silverstripe.org/framework/en/topics/controller#redirection
1496: [21:36:55] * Cws has joined #silverstripe
1497: [21:37:55] <Cws> I installed an addon with composer, now I'm getting the 'Welcome to Silverstripe' page? Anybody know why? Tried flush/build, no luck.
1498: [21:38:08] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1499: [21:38:13] <JeremyRoundill> Check your config.yml
1500: [21:38:36] <JeremyRoundill> I'm guessing it's setting your theme to simple.
1501: [21:39:18] <JeremyRoundill> And check composer hasn't accidentally messed with your code
1502: [21:39:46] <Cws> Hmmm. It was, so I changed it, but it's still not working.
1503: [21:40:15] <JeremyRoundill> Double check your code.
1504: [21:40:40] <JeremyRoundill> If it was me, I'd guess I'd screwed up the composer command and it had chewed my code or config files.
1505: [21:40:57] <JeremyRoundill> Pop into the admin panel and check all is going well in there too.
1506: [21:41:07] <mahfuz> JeremyRoundill: Thanks. So there is no way to do the forwarding from template, it sholud be don from the controller function, right?
1507: [21:41:16] <Cws> Yeah I'm guessing I've screwed something up with Composer.
1508: [21:41:34] <JeremyRoundill> mahfuz: You can do it from the template, it's just not MVC.
1509: [21:42:06] <JeremyRoundill> Cws: Just follow your regular checks for setting up a new site.
1510: [21:42:25] <Cws> Admin panel is working, but only showing Security and Help
1511: [21:42:31] <Cws> I'll remove everything and try again
1512: [21:42:33] <JeremyRoundill> Oooh
1513: [21:42:34] <JeremyRoundill> Weird
1514: [21:42:49] <Stomach_> Cws - make sure you are installing 3.1.8
1515: [21:42:50] <Cws> Have a feeling I have ruined my config file though
1516: [21:42:53] <JeremyRoundill> I'd check your logs too.
1517: [21:42:57] <JeremyRoundill> Yeah, I was gonna say.
1518: [21:43:29] <Cws> Easiest way to check what SS version I'm running?
1519: [21:45:30] <Colin[pi]> Cws: mouseover the SS logo in the CMS
1520: [21:46:01] <Cws> Yeah definitely 3.1.8
1521: [21:46:15] * DimiStripe has joined #silverstripe
1522: [21:46:28] <JeremyRoundill> Is that what you were using previously?
1523: [21:46:35] <JeremyRoundill> You might have upgraded SS by accident.
1524: [21:46:45] <JeremyRoundill> And it might have broken your site.
1525: [21:47:33] <Cws> I actually can't remember what it was on, but very good chance that happened
1526: [21:52:59] * UncleCheese has joined #silverstripe
1527: [21:53:22] <UncleCheese> apparently someone in the SS office went around and gave us all 2400 baud modems last night http://www.speedtest.net/my-result/3935227686
1528: [21:54:06] * spronk2 has joined #silverstripe
1529: [21:54:35] * Phlunk3 quit (Quit: Leaving)
1530: [21:54:49] * spronk2 quit (Max SendQ exceeded)
1531: [21:54:52] <Colin[pi]> UncleCheese: woah, you've suddenly been connected to Australian internet
1532: [21:55:45] * spronk2 has joined #silverstripe
1533: [21:55:55] <spronk2> watup bros
1534: [21:56:06] <Colin[pi]> yo spronky o/
1535: [21:56:20] <JeremyRoundill> http://en.wikipedia.org/wiki/Modem#mediaviewer/File:Analogue_modem_-_acoustic_coupler.jpg
1536: [21:56:23] <spronk2> anyone wanna write some node code for me? ;D
1537: [21:56:34] <Colin[pi]> spronk2: yeah nah
1538: [21:56:41] <spronk2> dude that's my adsl modem!
1539: [21:56:54] <spronk2> ... OR AT LEAST IT FEELS LIKE IT
1540: [21:57:05] <Colin[pi]> spronk2: jesus mine must be tin can and string then
1541: [21:57:14] * wmk quit (Ping timeout: 256 seconds)
1542: [21:57:21] <spronk2> i'm surprised you don't have to manually sound out the bits, Colin[pi]
1543: [21:57:28] <spronk2> Baud: Human
1544: [21:57:45] * UncleCheese quit (Ping timeout: 258 seconds)
1545: [21:58:01] <Colin[pi]> spronk2: beep beep beep beep RRRRUHUHUHUUH RAAHAHAHAHAAHA BADDAMMM BADDEEEEEEEEEEEEEEEEEE PZSSSHSHZHZHSHSHHSSHHZHHHHHH
1546: [21:58:07] <JeremyRoundill> Haha
1547: [21:58:08] <spronk2> that'smore liek it
1548: [21:58:18] <Colin[pi]> I kinda miss that sound
1549: [21:58:30] * spronk2 should make it his ringtone
1550: [21:58:36] <Colin[pi]> https://www.youtube.com/watch?v=5MyzOP0vyi0
1551: [21:58:46] * MrGuits has joined #silverstripe
1552: [22:00:17] <spronk2> brillaince.
1553: [22:00:24] * mrzero has joined #silverstripe
1554: [22:00:25] * mrzero quit (Changing host)
1555: [22:00:25] * mrzero has joined #silverstripe
1556: [22:00:57] <spronk2> Colin[pi] heard this: https://www.youtube.com/watch?v=cLpCw22chLk
1557: [22:00:58] <spronk2> ?
1558: [22:01:06] * Kingy is now known as Kingy[a]
1559: [22:01:30] <antmas> dial up sound always reminds me of playin StarCraft
1560: [22:01:37] * Guits quit (Ping timeout: 240 seconds)
1561: [22:01:39] <Colin[pi]> spronk2: heh cool
1562: [22:02:04] <spronk2> sounds like something out of Interstellare
1563: [22:02:05] <spronk2> -e
1564: [22:02:12] <spronk2> or Star Trek
1565: [22:02:32] * owonoko quit (Changing host)
1566: [22:02:32] * owonoko has joined #silverstripe
1567: [22:03:12] * camfindlay quit (Ping timeout: 245 seconds)
1568: [22:03:17] <Colin[pi]> ha it even sounds like electric guitar now
1569: [22:04:18] <spronk2> love it at 1:18 or so
1570: [22:04:24] <spronk2> when the main DE DOONNG comes in
1571: [22:04:47] * camfindlay has joined #silverstripe
1572: [22:05:13] * DimiStripe quit (Quit: DimiStripe)
1573: [22:05:51] <spronk2> https://www.youtube.com/watch?v=mbUbRHRuyfs
1574: [22:06:31] * Cws quit (Ping timeout: 246 seconds)
1575: [22:11:15] * Kingy[a] is now known as Kingy
1576: [22:13:03] <Colin[pi]> spronk2: https://www.youtube.com/watch?v=iuslWRCnbyA
1577: [22:13:35] <spronk2> looool
1578: [22:15:31] <Colin[pi]> comments: "actual footage from an apple store" lololol
1579: [22:15:42] <spronk2> HA
1580: [22:19:51] <antmas> awwww yisss Friday off
1581: [22:20:17] <Kingy> how
1582: [22:20:20] <Kingy> illegal
1583: [22:20:23] <antmas> :P
1584: [22:24:15] <JeremyRoundill> Gotta love Stuff.
1585: [22:24:35] <JeremyRoundill> We've got a report on the release of this dude who skipped the country to Brazil
1586: [22:24:46] <JeremyRoundill> And we've got a report out on the SIS
1587: [22:24:54] <JeremyRoundill> And a report coming out on Judith Collins in half an hour
1588: [22:25:15] <JeremyRoundill> And the major article being run is that John Key's kid is doing some DJing in a month.
1589: [22:25:25] <Kingy> JeremyRoundill: So what do they dooo. put Max Key in the prime time lol
1590: [22:27:04] <Kingy> "Woman saying ‘we’re ready for Ferguson’ accidentally shoots self in head, dies"
1591: [22:28:09] <JeremyRoundill> wat
1592: [22:28:11] <JeremyRoundill> Really?
1593: [22:28:21] <Kingy> as they drove late Friday night, the victim waved a gun, jokingly saying the couple were ready for Ferguson, the sources said.
1594: [22:28:22] <Kingy> He ducked to get out of the way of the gun and accidentally rear-ended another car. He said the accident caused the gun to go off and she was struck by a bullet in the head
1595: [22:28:43] <JeremyRoundill> Far out.
1596: [22:29:04] <Kingy> Darwin be laughing yo
1597: [22:29:05] <Colin[pi]> dafuq
1598: [22:29:35] * mrzero quit (Remote host closed the connection)
1599: [22:31:49] * veb has joined #silverstripe
1600: [22:39:27] * Marvanni quit (Ping timeout: 245 seconds)
1601: [22:40:17] * Marvanni has joined #silverstripe
1602: [22:41:36] <simon_w|work> 'MERICA
1603: [22:41:36] * __will has joined #silverstripe
1604: [22:41:41] <__will> hi
1605: [22:43:04] <__will> Is it possible to return the part of the page that matches the search term in Page_results.ss ?
1606: [22:44:03] <__will> i asked in the forum but it hasn't been a popular question unfortunately. seems like something most people would need
1607: [22:44:55] <JeremyRoundill> __will: How are you looking at doing it? It's certainly possible.
1608: [22:45:22] <JeremyRoundill> You could iterate over the pages, pull the content for each, find the match and pull some text either side of it.
1609: [22:45:25] <__will> well idealy setting a configruation / installing a module.
1610: [22:45:46] * muskie9 is now known as _muskie9_
1611: [22:46:48] <antmas> JeremyRoundill: this fucking radioNZ interview about NZ kitchens
1612: [22:48:08] <__will> @jeremyRoundhill, yep fair enough could do that i guess. seems like something that would be built in with something like lucene
1613: [22:48:24] <__will> there is a lucene module but it seems out of date / broken
1614: [22:48:35] * _muskie9_ is now known as muskie9
1615: [22:48:45] <JeremyRoundill> antmas: I turned it off. :P
1616: [22:48:59] <JeremyRoundill> antmas: I can't have my friends thinking I'm 50.
1617: [22:49:12] <antmas> JeremyRoundill: lol
1618: [22:49:21] <antmas> I don't listen to Radio so giving this one a shot
1619: [22:49:39] * auto9 quit (Read error: Connection reset by peer)
1620: [22:49:46] <JeremyRoundill> __will: Seems like something that isn't really generic enough. You obviously can't pull a segment of HTML, it could break the layout.
1621: [22:50:04] <JeremyRoundill> So it has to be plaintext.
1622: [22:50:16] * auto9 has joined #silverstripe
1623: [22:50:38] <JeremyRoundill> Plus, how much content do you have either side? How many matches do you have? How does the output get formatted? What's the key part of the page you want to display?
1624: [22:50:56] <JeremyRoundill> The answers will be different for each site
1625: [22:51:16] * UncleCheese has joined #silverstripe
1626: [22:51:47] <JeremyRoundill> Sure, it's pretty useful. It just seems to be something you'd code up yourself.
1627: [22:53:14] <Kingy> https://www.dropbox.com/s/axuznuyzphs3289/Screenshot%202014-11-25%2011.53.05.png?dl=0
1628: [22:53:15] <__will> all good considerations, but probably not that different per site. not beyond a configuration difference i don't think.
1629: [22:53:17] <Kingy> that is driving me nuts!
1630: [22:53:47] <__will> which is why there used to be a module / there are solr modules / most other platforms have modules for this kind of thing.
1631: [22:55:25] <JeremyRoundill> Kingy: Haha. Damn.
1632: [22:55:30] <JeremyRoundill> Just turn autocomplete off. :P
1633: [22:55:42] * camfindlay quit (Ping timeout: 264 seconds)
1634: [22:56:48] <Kingy> JeremyRoundill: It's the google input clashing with ours
1635: [22:57:26] <JeremyRoundill> Tell Google to fix it. :P
1636: [22:57:45] <JeremyRoundill> Clearly of the two organisations, yours is the more powerful.
1637: [22:57:52] <Kingy> hardout
1638: [22:58:34] * caamic30 has joined #silverstripe
1639: [23:02:53] <antmas> I can smell bbq
1640: [23:02:59] <antmas> o.O
1641: [23:03:03] <antmas> so hunger
1642: [23:03:22] <Kingy> lol
1643: [23:04:17] * camfindlay has joined #silverstripe
1644: [23:05:05] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1645: [23:06:35] <Ryan-Toast> Does the Omnipay module support IPN?
1646: [23:07:01] <jedateach> Ryan-Toast: yes
1647: [23:07:10] <jedateach> known as “notify"
1648: [23:07:45] <jedateach> just be careful when working anything that is tied to a session
1649: [23:07:47] <Ryan-Toast> jedateach: cool :)
1650: [23:08:12] <jedateach> because the server-to-server notification occurrs in a different session
1651: [23:08:14] <Ryan-Toast> jedateach: what would you recommend for a simple member sign up + pay $10 or whatever?
1652: [23:08:41] <jedateach> paypal has been fairly simple to work with …especially since they improved the docs
1653: [23:09:17] <Cheddam> *wishes Stripe was available in New Zealand for the millionth time*
1654: [23:09:36] <jedateach> omnipay library v2 allows you to itemize lines …currently ss-ominpay runs on ominpay 1.1
1655: [23:09:38] <simon_w|work> Cheddam, I can use it!
1656: [23:09:43] <simon_w|work> I even got really cheap local payments
1657: [23:09:59] <Cheddam> simon_w|work Lucky :P Where are you based?
1658: [23:10:07] <simon_w|work> Likely to still go with Pin though, since it's cheaper for international payments
1659: [23:10:09] <simon_w|work> Canberra
1660: [23:11:04] <Ryan-Toast> jedateach: Okay, cool. So I’d just do what it does in the docs of ss-omnipay and have the credit card fields on my site, then send the request to Paypal?
1661: [23:11:20] * veb has joined #silverstripe
1662: [23:11:51] <jedateach> I’ve only worked with off-site gateways: cc details are captured on the gateway’s website
1663: [23:12:39] <Cheddam> simon_w I think the market for Stripe in NZ is too small for them to prioritise it, though if Australia's financial systems are similar to ours it shouldn't be that big a stretch (I have no idea if this is the case however)
1664: [23:12:52] <simon_w|work> Cheddam, they're not
1665: [23:12:56] <simon_w|work> NZs are way more advance
1666: [23:13:21] <jedateach> Ryan-Toast: Handling all the redirects, failures, etc etc can be a bit complicated. I’m currently working on a dedicated controller to help handle all that.
1667: [23:13:45] <Ryan-Toast> jedateach: so recommend just sending the amount to paypal and let them send a success request?
1668: [23:14:43] <jedateach> yep
1669: [23:14:47] <jedateach> in ss-omnipay the PaymentGatewayController will recieve any notify requests, and update the Payment model accordingly
1670: [23:15:01] <jedateach> or if you don’t use notify, then that work is done when the user redirects
1671: [23:15:11] <Cheddam> simon_w True? That's pretty amusing
1672: [23:15:17] <Ryan-Toast> jedateach: Awesome, cheers. Is there a code example of setting that up?
1673: [23:15:30] <simon_w|work> Cheddam, NZ is what the AU banks for testing
1674: [23:16:03] <jedateach> Ryan-Toast: not yet, novaweb has asked for the same thing, so I’ll be sorting this week
1675: [23:16:33] <jedateach> Ryan-Toast: you can look at ss-shop’s PaymentProcessor class however
1676: [23:16:42] <Ryan-Toast> jedateach: Okay, cool. Thanks :)
1677: [23:16:45] <jedateach> sorry OrderProcessor
1678: [23:17:12] <Ryan-Toast> Man I hate eCommerce, haha
1679: [23:17:37] <jedateach> it can get complex :D
1680: [23:17:56] <Ryan-Toast> It can *only* get complex
1681: [23:18:12] <Ryan-Toast> jedateach: is this the correct repo? https://github.com/burnbright/silverstripe-shop/blob/master/code/checkout/OrderProcessor.php
1682: [23:18:23] <jedateach> yes
1683: [23:18:30] <antmas> It's something I am yet to fully delve into development-wise
1684: [23:18:34] <Ryan-Toast> jedateach: chur, will have a look after lunch.
1685: [23:18:40] <antmas> as I can't get passed how good Shopify already is at it
1686: [23:21:08] <jedateach> antmas: yeah, Shopify has a huge team with lots of talent. I’m not opposed to people it. Depends on the project.
1687: [23:21:51] <jedateach> *using
1688: [23:22:35] <antmas> jedateach: yeah I use it for small jobs - ie. ones I need to do quickly for cheap
1689: [23:22:49] <antmas> jedateach: but I need to spend more time coding with regards to ecommerce
1690: [23:24:49] * toddvalentine quit ()
1691: [23:25:38] * UncleCheese quit (Ping timeout: 256 seconds)
1692: [23:26:41] * veb quit (Quit: My Mac has gone to sleep. ZZZzzz…)
1693: [23:29:51] <antmas> anyone surprised Collins has been cleared?
1694: [23:31:34] * __will quit (Ping timeout: 246 seconds)
1695: [23:35:13] <Stomach_> nope
1696: [23:35:40] * veb has joined #silverstripe
1697: [23:39:03] <JeremyRoundill> Nah man.
1698: [23:39:17] <JeremyRoundill> She's clever enough not to do anything thaaat stupid.
1699: [23:39:37] <JeremyRoundill> Doesn't really matter if she was implicated anyway.
1700: [23:41:41] * MrGuits quit (Read error: Connection reset by peer)
1701: [23:45:28] * __will has joined #silverstripe
1702: [23:45:31] <__will> hello again
1703: [23:45:39] * muskie9 is now known as _muskie9_
1704: [23:45:46] <__will> i'm having a go at using the lucene module
1705: [23:46:14] <__will> i get an error Zend/Search/Lucene/Analysis/Analyzer.php no such file
1706: [23:46:26] <__will> it's getting required like this require_once 'Zend/Search/Lucene/Analysis/Analyzer.php';
1707: [23:47:02] <__will> and it does exist, in the modules thirdparty dir
1708: [23:47:43] <__will> the module dosn't install with composer, so i'm guessing that the 3rd party dir hasn't been registered as a location
1709: [23:47:43] <__will> ?
1710: [23:49:26] <__will> is there somewhere i can add it to the places SS looks?
1711: [23:50:40] * caamic30 quit (Quit: caamic30)
1712: [23:51:29] * caamic30 has joined #silverstripe
1713: [23:51:41] * caamic30 quit (Client Quit)

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