#silverstripe IRC Log

IRC log for 17 November 2014

All timestamps are in UTC.

1: [11:00:07] * ss-log has joined #silverstripe
2: [11:00:51] * ss-log has joined #silverstripe
3: [11:01:04] <simon_w> Hello ss-log
4: [11:01:19] * simon_w has left #silverstripe
5: [11:01:19] * simon_w has joined #silverstripe
6: [11:01:32] <simon_w> Okay, hopefully now service start wants to work...
7: [11:01:49] * ss-log has joined #silverstripe
8: [11:01:59] <simon_w> Huzzah!
9: [11:06:45] * wmk has joined #silverstripe
10: [11:06:47] <MrGuits> Can i set a class on a form=
11: [11:06:48] <MrGuits> ?
12: [11:07:14] <MrGuits> $form->extraClass("pure-css"); does nothing
13: [11:08:44] <wmk> Form::addExtraClass()
14: [11:08:56] <wmk> Form::extraClass() returns all classes
15: [11:08:58] <MrGuits> thank you :)
16: [11:09:10] <wmk> np
17: [11:09:22] <wmk> just look at the source code ;)=
18: [11:12:40] <wmk> though the method naming is a bit ambiguous.
19: [11:12:49] <wmk> Form::extraClass... is it a getter or a setter?
20: [11:15:40] <shashi_> wmk: Hey!
21: [11:16:19] <shashi_> wmk: any thoughts on the issue I'm facing ;)
22: [11:17:23] <wmk> shashi_, i just entered the chat
23: [11:17:26] <wmk> should i read up the logs?
24: [11:19:06] <wmk> hmm, only logs for yesterday (NZ) broken?
25: [11:19:33] <wmk> cannot find any line logged for yesterday: http://logs.simon.geek.nz/index.php?date=2014-11-17
26: [11:19:42] <wmk> so shashi_ please repeat your problem
27: [11:20:59] <shashi_> wmk: ohh, sure
28: [11:21:11] <shashi_> wmk: I am using ss 2.4, I am getting this error in console - Refused to set unsafe header "Connection"
29: [11:21:16] <shashi_> Cant access any of the page, kinda stuck here, no clues from google
30: [11:22:41] <wmk> console = javascript console in browser?
31: [11:22:47] <shashi_> wmk: the problem seems to be with base.js line 65
32: [11:22:51] <wmk> is it http or https ?
33: [11:22:54] <shashi_> wmk: yeah
34: [11:23:06] <shashi_> Its over my local, so http
35: [11:23:39] <wmk> there are many items on stackoverflow on this error
36: [11:23:47] <wmk> ajax request?
37: [11:24:02] <shashi_> wmk: yeah ajax request to fetch that item is falling
38: [11:24:22] <wmk> did you see http://stackoverflow.com/questions/7210507/ajax-post-error-refused-to-set-unsafe-header-connection ?
39: [11:24:24] <shashi_> wmk: I followed this forum post, but the solution provided wont work for me - http://www.silverstripe.org/community/forums/general-questions/show/17144?start=8
40: [11:24:53] <wmk> be sure your javascript isn't cached by the browser
41: [11:25:00] <wmk> disable browser cache
42: [11:25:28] <shashi_> Yeah, I was just wondering though this problem might be ss 2.4 specific
43: [11:25:33] <wmk> frontend or backend?
44: [11:25:39] <shashi_> backend only
45: [11:25:58] <wmk> if it's prototype.js try to update it.
46: [11:26:01] <wmk> was removed in 3.x
47: [11:26:09] <wmk> better update site to ss3
48: [11:26:11] <wmk> ;)
49: [11:26:27] * r_hector quit (Quit: Leaving.)
50: [11:26:32] * wmk has a funny error today with 2.4: cannot login to backend
51: [11:26:44] <wmk> i guess clients server got updated to php5.4
52: [11:26:55] <shashi_> wmk: ;)
53: [11:28:17] <wmk> as http://stackoverflow.com/a/7210840/4137738 states you are not allowed to set these headers in js nowadays you may also remove those lines from the patch
54: [11:28:27] <wmk> which browser are you using?
55: [11:33:42] <shashi_> Chrome, firefox both result in same
56: [11:34:51] <shashi_> wmk: accord to console pointing the problem seems to be in base,js
57: [11:35:26] <shashi_> wmk: It's minified version, where I can get the updated copy of same ?
58: [11:35:43] <wmk> which version of ss.24 are you using?
59: [11:36:21] <shashi_> not sure, But I see sapphire folder inside
60: [11:37:02] <wmk> there should be a file "silverstripe_version" inside sapphire
61: [11:38:42] <shashi_> wmk: I see a file names "silverstripe_version" and that content - $URL$ :(
62: [11:39:10] <wmk> yup. seems a custom download from git / svn
63: [11:39:35] <kinglozzer> wmk, shashi_: That means it's an early version of 2.4
64: [11:39:36] <shashi_> wmk: might be
65: [11:39:48] <shashi_> kinglozzer: ah ;)
66: [11:39:48] <kinglozzer> I can't remember which, I think it's pre 2.4.6 that had $URL$
67: [11:40:32] <wmk> kinglozzer, very useful
68: [11:40:53] <wmk> shashi_, base.js is in combined files, so it gets generated automatically after you change prototype.js
69: [11:40:55] <kinglozzer> 2.4.7 or earlier
70: [11:40:58] <kinglozzer> ^^
71: [11:41:12] <wmk> kinglozzer, the good ol' days (tm)
72: [11:41:43] <wmk> customer: oh, updating takes so long (from old 2.4 to current 3.1), not just a few clicks like in word***s
73: [11:42:42] <shashi_> wmk: :D
74: [11:43:00] <shashi_> wmk: just want to get into backend ;)
75: [11:45:48] <kinglozzer> https://help.fasthosts.co.uk/app/systemstatus/
76: [11:45:50] <kinglozzer> failhosts
77: [11:51:49] <Copperis> that systemstatus page reminds me of - http://goo.gl/ZY7fJm
78: [12:04:47] * caamic30 has joined #silverstripe
79: [12:07:53] * Colin[pi] quit (Ping timeout: 265 seconds)
80: [13:01:52] * arnhoe quit (Remote host closed the connection)
81: [13:02:31] * guzzlefry has left #silverstripe
82: [13:02:32] * arnhoe has joined #silverstripe
83: [13:02:36] * guzzlefry has joined #silverstripe
84: [13:17:58] * svandragt has joined #silverstripe
85: [13:18:08] <svandragt> /msg nickserv identify &X5YnTMo3m$8!QEY!VmAn7KV@
86: [13:18:24] <svandragt> not that again lol
87: [13:20:52] <svandragt> Anyways, My content editor needs to add a bespoke paypal (i know) button to a page, and the rich text editor won't take pasting the code - I thought to use shortcodes, but the code is so specific there is no point. Apart from creating a page specific template - is there a better way to make this happen? any ideas welcome.
88: [13:22:26] <wmk> oh
89: [13:22:33] <wmk> nice password ;)
90: [13:22:49] <Copperis> can he use the source view of the rich text editor and paste there?
91: [13:23:06] <wmk> Copperis, tiny will strip it away later
92: [13:23:32] <wmk> svandragt, you can add some allowed tags to tinymce
93: [13:23:40] <wmk> though shortcode would be easier
94: [13:24:11] <shashi_> wmk: strong enough
95: [13:24:22] <wmk> shashi_, but unsecure by now
96: [13:24:32] <svandragt> it's basically a dropdown selection + special requirements textbox that gets send with the order, unlikely to be used again.
97: [13:24:37] <shashi_> wmk: Haha!
98: [13:25:22] <wmk> svandragt, if it's a one time shortcode, it's an easy way to include the stuff where he wants it
99: [13:25:38] <wmk> otherwise put it in a template and include for this special page
100: [13:25:58] <shashi_> wmk: I remember one of my pal doing same, and one of us changed his gmail password same time, He was hacked :D
101: [13:26:09] <wmk> <% if $ShowPayPal %><% require Paypal %> ...
102: [13:26:32] <wmk> never use an important password twice
103: [13:26:49] <svandragt> re passwd, it's updated and unique and stronger than before :P
104: [13:26:56] <wmk> updating a site to 3.1.7 is quite easy.
105: [13:27:04] <wmk> updatinga all modules not so
106: [13:27:14] <wmk> svandragt, hopefully
107: [13:27:19] <svandragt> wmk: sounds like shortcode is still best way to go. Wonder if there is an interface module for this so the content editor can create their own simple ones in the cms
108: [13:27:48] <wmk> hmm, there is the shortcodable module where you can easily put a shortcode in the cms
109: [13:28:00] <wmk> but not for generating shortcodes
110: [13:28:34] <wmk> i did some kind of "snippet" module where you can create text snippets (e.g. contact information). Those are put in CMS with shortcode
111: [13:34:42] * UndefinedOffset has joined #silverstripe
112: [13:35:05] <wmk> VAGRANT!!!!
113: [13:35:11] * UndefinedOffset quit (Client Quit)
114: [13:35:42] * UndefinedOffset has joined #silverstripe
115: [13:35:55] <wmk> seems like silverstripe caches the port in the manifest / cache somewhere
116: [13:36:07] <wmk> when it changes css is broken. flush fixes it
117: [13:36:43] <wmk> Zauberfisch, would it be a good idea to delete ss cache dir on a "vagrant halt" or "vagrant up" ??
118: [13:54:07] * lerni_ quit ()
119: [13:54:50] <wmk> is there a way that phpstorm knows what to use instead if something is deprecated?
120: [13:54:57] <wmk> e.g. renames methods automatically?
121: [13:55:21] * muskie9 has joined #silverstripe
122: [14:05:35] <guzzlefry> wmk: Refactor?
123: [14:05:39] <guzzlefry> maybe...
124: [14:05:48] <wmk> guzzlefry, of course
125: [14:06:01] <wmk> would be great if my IDE knew from phpdoc what to use instead
126: [14:06:13] <wmk> in this case it's a just another name for the method
127: [14:06:40] <guzzlefry> oh
128: [14:28:41] * Guits has joined #silverstripe
129: [14:28:42] * MrGuits quit (Read error: Connection reset by peer)
130: [14:33:20] * wmk quit (Ping timeout: 258 seconds)
131: [14:40:41] * catcher has joined #silverstripe
132: [14:41:12] * Shrike_Finland quit (Quit: Leaving.)
133: [14:54:02] * curbs has joined #silverstripe
134: [14:58:07] * curbs quit (Ping timeout: 246 seconds)
135: [15:15:32] * Otterpocket has joined #silverstripe
136: [15:15:37] * Shrike_Finland has joined #silverstripe
137: [15:16:09] * Shrike_Finland quit (Client Quit)
138: [15:17:36] <Otterpocket> Im trying to use https://github.com/BetterBrief/silverstripe-googlemapfield
139: [15:17:56] <Otterpocket> this is how I expected it to work: http://www.sspaste.com/paste/show/546a0c6447889
140: [15:18:14] <Otterpocket> it does not. What am I doing wrong?
141: [15:20:37] <Otterpocket> Hah, its ok I see, I had a rouge 'Main'
142: [15:27:48] * shout-user83 has joined #silverstripe
143: [15:35:05] * caamic30 quit (Quit: caamic30)
144: [16:00:27] * muskie9_ has joined #silverstripe
145: [16:03:40] * muskie9 quit (Ping timeout: 250 seconds)
146: [16:04:05] * cupcake has joined #silverstripe
147: [16:05:05] * KF5WYX has joined #silverstripe
148: [16:05:27] <KF5WYX> Morning world.
149: [16:05:29] <cupcake> i am trying to add a tabset with 2 tabs in ss3 admin
150: [16:05:41] <cupcake> but these tabs cannot appear in no way
151: [16:05:45] <cupcake> can somebody help?
152: [16:06:11] <cupcake> http://www.sspaste.com/paste/show/546a17df98af5
153: [16:06:16] <cupcake> this is the code im using
154: [16:06:31] <cupcake> im trying to add two tabs within a parent tab
155: [16:08:39] * arnhoe quit ()
156: [16:12:43] * shout-user83 quit (Remote host closed the connection)
157: [16:15:07] * cupcake quit (Ping timeout: 246 seconds)
158: [16:25:53] * Bonner has joined #silverstripe
159: [16:26:07] <Bonner> hey all hows things
160: [16:26:30] <Bonner> does anyone know of a descision tree module in SS3?
161: [16:27:07] * KF5WYX is depressed. I'd have thought that in the 10 years or so since I used html/css previously, things might have improved.
162: [16:27:46] <Bonner> I'm confused
163: [16:28:21] <catcher> KF5WYX, well, there's html5
164: [16:28:43] <KF5WYX> Bonner, between depressed and confused, we'll make progress eventually I'm sure.
165: [16:29:20] <Bonner> you're starting to depress me now lol
166: [16:30:08] <KF5WYX> catcher, I know, html5 makes some things better... but the holy grail layout is still just that. With CSS3 I can make my layout work using flex-box, but can I make it look reasonable on any previous browser (or safari)? Nope. Sure I'm no web developer, but I'd really rather not have to become one for the sake of one relatively simple site.
167: [16:30:34] <Bonner> I have no problems getting designs to work in IE 6, 7 , 8 or any browser
168: [16:30:39] <catcher> KF5WYX, front-end frameworks are great for that
169: [16:30:47] <Bonner> just takes a bit more time to make things work in older browsers
170: [16:31:38] <Bonner> and the code can remain clean too
171: [16:31:44] <catcher> KF5WYX, coding just isn't as easy as it seems. There are also site builders for extremely simple sites that require no coding.
172: [16:31:48] <KF5WYX> catcher, can you name one for me to investigate. Bonner, you're likely more skilled than I.
173: [16:32:04] <Bonner> name a website?
174: [16:32:08] <catcher> KF5WYX, front-end frameworks: Foundation & Bootstrap
175: [16:32:19] <catcher> KF5WYX, Builders: Wix, SquareSpace
176: [16:32:30] <KF5WYX> ty, I'll take a look a them. (the front-end frameworks).
177: [16:33:00] <catcher> KF5WYX, np. They can be life changing for the right developer & project.
178: [16:33:03] <Bonner> I use Bootstrap, but support gets flakey so you are better off targeting IE 8 first and then other browsers
179: [16:33:16] <Bonner> as long as you have respond.js it will be fine
180: [16:33:38] <Bonner> so IE 8, then 9, then 10, then 11, and then focus on IE 7 and IE 6
181: [16:33:45] <KF5WYX> fyi: I am a developer, but of desktop and mobile native apps. I've avoided web.
182: [16:34:07] <Bonner> most websites these days are designed as mobile websites first, and desktop websites second
183: [16:35:15] <KF5WYX> honestly, though it would be nice, anything pre IE8 doesn't worry me too much. I need support on the majority of android, iOS, MAC and Windows relatively recent versions. (f.x. Safari on Maveriks as a minimum)
184: [16:35:39] <Bonner> use bootstrap, and start with the mobile design first
185: [16:35:54] <KF5WYX> Will do.
186: [16:35:56] <KF5WYX> Thank you.
187: [16:35:58] <Bonner> and use the min-width media query to target device sizes
188: [16:36:01] <KF5WYX> You've made me less depressed :)
189: [16:36:14] <Bonner> take a look at the following for inspiration...
190: [16:36:23] <Bonner> http://www.benson.uk.com/themes/ipswich/templates/
191: [16:36:29] <Bonner> the code is clean, so you should be able to follow it
192: [16:37:51] <KF5WYX> nice, I the way the content adapts to screen size. This is my closest best effort so far... http://chapmanworld.com/cms <-- it'll work on anything with flex-box
193: [16:38:24] <Bonner> you see when you do <!-- % include SideBar %>
194: [16:38:34] <Bonner> you can do <%-- include SideBar --%>
195: [16:38:43] <Bonner> which makes the comment not appear at all
196: [16:39:15] <Bonner> also, you have 2 body elements, you only need one
197: [16:39:21] <KF5WYX> Sure, that's really only commented temporarily because SideBar.ss is absent.
198: [16:39:28] <KF5WYX> 2 body... hmm...
199: [16:39:31] <Bonner> if you fix these issues first, then continue on with what you are doing then you will encounter less issues
200: [16:40:33] <Bonner> also, design the website first, then build the flat HTML, and then move it into SilverStripe
201: [16:40:43] <Bonner> makes it easier to split up the process
202: [16:40:44] <KF5WYX> good spot, thanks. I think I dropped an extra body in while trying to add floating div fallback
203: [16:41:36] <KF5WYX> Yeah, that's how I did it so far. It wasn't until I got home and looked on a device without flex-box that I realized I'd make a critical assumption that most modern browsers would cover it.
204: [16:43:16] <Bonner> if you want to support older browsers, you have to use old techniques as newer browsers support the older techniques, you can't do it the other way around as older browsers do not support new techniques
205: [16:43:42] <Bonner> mobile browsers typically support newer specs, but it is the Internet Explorers you have to watch out for
206: [16:43:46] <Bonner> brb
207: [16:43:51] <KF5WYX> *nods - I know. It was being sat at the office with nothing but new browsers that lead to my error
208: [16:45:09] <KF5WYX> You know - I think I'd be happy detecting older browsers and just posting up a message that sais "Update your browser!!"
209: [16:46:15] <Eliseth> http://www.theie8countdown.com/ie-users-info
210: [16:49:07] <Bonner> what about the disabled users who have to use XP because the software they have only supports XP, and thus they use an older browser
211: [16:49:36] <Eliseth> http://windows.microsoft.com/en-us/windows/end-support-help
212: [16:49:37] <Bonner> not really fair on showing them a message because the availability of accessibility software is poor
213: [16:50:03] <Eliseth> They'd be putting themselves at enormous risk by using XP anyway
214: [16:50:21] <KF5WYX> True.
215: [16:50:26] <Bonner> cool, but many still use XP, in libraries, on Navy ships, in Boots the Chemist for instance
216: [16:50:46] <Bonner> even Tesco use XP
217: [16:50:48] * gavro quit (Ping timeout: 256 seconds)
218: [16:50:49] <KF5WYX> Many of my target audiance probably still use XP.
219: [16:51:00] <KF5WYX> :-/
220: [16:51:52] <Eliseth> Even IF they made a deal with microsoft for extended support they'll only have 6 months to a year to upgrade anyway
221: [16:53:45] <Eliseth> Microsoft basically gives 2 options: 1. Buy extended support while upgrading (costing a good fortune, but needed for big organisations / government).
222: [16:54:10] <Eliseth> 2. Unplug from the interwebz
223: [16:59:39] * muskie9 has joined #silverstripe
224: [17:02:42] * muskie9_ quit (Ping timeout: 256 seconds)
225: [17:09:21] * KF5WYX found a web developer within my organization that is very familiar with Bootstrap. Thanks for the suggestion, I think I have the support I'm going to need to get up to speed fast.
226: [17:09:51] * shashi_ quit (Quit: Page closed)
227: [17:14:37] * Eliseth quit (Ping timeout: 240 seconds)
228: [17:17:08] * Bonner quit (Quit: Page closed)
229: [17:18:59] * kinglozzer quit ()
230: [17:19:57] * toddvalentine has joined #silverstripe
231: [17:21:52] <catcher> KF5WYX, glad to hear it
232: [17:31:15] <Guits> I have a gridfield with a many_many relation ..but content authours cannot create "relations" (the add button i son there)
233: [17:33:45] * Otterpocket quit (Quit: Otterpocket)
234: [17:34:03] <Guits> ..the "add" button is NOT there
235: [17:46:46] <Copperis> Guits, is the add button there for admins?
236: [17:46:55] <Guits> yes
237: [17:47:46] <Guits> will laborate with canCreate() ..
238: [17:47:49] <Copperis> sounds like a permission problem
239: [17:48:43] <Copperis> the content authors might not pass the requirements set in canCreate() method of the item to be created
240: [17:50:39] <Copperis> i'm off, bye!
241: [17:50:42] * Copperis quit (Quit: Leaving)
242: [17:50:47] <Guits> yes.. it worked out.. did not make sense at first
243: [17:57:49] * gavro has joined #silverstripe
244: [18:02:15] * gavro quit (Ping timeout: 258 seconds)
245: [18:10:44] * jenniferaslan has joined #silverstripe
246: [18:10:56] * veb has joined #silverstripe
247: [18:11:02] * cupcake has joined #silverstripe
248: [18:12:34] <cupcake> did anyone answer me on my question ?
249: [18:14:52] <catcher> cupcake, http://logs.simon.geek.nz/
250: [18:15:14] <catcher> (the answer is no, but you can check there in the future.)
251: [18:16:34] <cupcake> yeh in fact nobody answered my question :(
252: [18:16:45] * Blacklite quit (Ping timeout: 264 seconds)
253: [18:17:39] * Blacklite has joined #silverstripe
254: [18:18:40] * KF5WYX quit (Ping timeout: 246 seconds)
255: [18:18:55] <catcher> cupcake, you're wanting 3rd-level tabs? Like Root.Main.First and Root.Main.Second?
256: [18:21:33] <cupcake> in the settings section of the admin i have tab
257: [18:21:38] <cupcake> and beneath it i want two tabs
258: [18:22:04] <cupcake> this tab is added through an extension attached to SiteConfig
259: [18:22:11] <cupcake> i had pasted the code
260: [18:23:17] <catcher> cupcake, I'm not sure if that much nesting is supported. Maybe someone else can verify.
261: [18:24:56] <cupcake> hmm
262: [18:25:05] <cupcake> its only showing things from the first tab
263: [18:25:10] <cupcake> and the tabs dont appear either
264: [18:27:54] * jenniferaslan quit (Quit: jenniferaslan has left the room)
265: [18:31:49] * Stomach has joined #silverstripe
266: [18:38:07] * Stomach quit (Quit: zzz)
267: [18:44:13] * cupcake quit (Ping timeout: 246 seconds)
268: [18:46:56] * muskie9 is now known as _muskie9_
269: [18:47:37] * _muskie9_ is now known as muskie9
270: [18:49:11] * veb quit (Quit: Textual IRC Client: www.textualapp.com)
271: [18:49:24] * jenniferaslan has joined #silverstripe
272: [18:58:42] * muskie9 is now known as _muskie9_
273: [19:00:24] * CodeTrap has joined #silverstripe
274: [19:02:31] * Stomach has joined #silverstripe
275: [19:03:30] * Kingy[a] is now known as Kingy
276: [19:05:56] * _muskie9_ is now known as muskie9
277: [19:21:01] * Kingy is now known as Kingy[a]
278: [19:23:33] * Olliepop has joined #silverstripe
279: [19:29:22] * jedateach has joined #silverstripe
280: [19:32:09] * Kingy[a] is now known as Kingy
281: [19:32:14] <Kingy> morning
282: [19:33:08] <Olliepop> hello
283: [19:36:28] * JeremyRoundill quit (Remote host closed the connection)
284: [19:36:58] * Liquide quit ()
285: [19:39:44] * Ryan-Toast has joined #silverstripe
286: [19:40:30] <Stomach> yo yo
287: [19:40:39] <Ryan-Toast> Morning
288: [19:41:00] <Kingy> so i got 10 years worth of archives yesterday
289: [19:41:03] <Kingy> open up the db file
290: [19:41:07] <Kingy> ohh look plaintext credit cards
291: [19:41:11] <Stomach> wooo
292: [19:41:14] <Stomach> send it to me please
293: [19:41:21] <Kingy> they're well expired lol
294: [19:41:23] <Stomach> stevie+freeshit@stevie.co.nz
295: [19:41:25] <Stomach> damn
296: [19:41:50] <Kingy> 2010/11 looks about the newest card
297: [19:41:53] <Kingy> so yeah no good
298: [19:42:20] <Stomach> ruts
299: [19:50:25] * gelignite has joined #silverstripe
300: [19:54:16] <simon_w> Stomach, another one I'm top of? :p http://logs.simon.geek.nz/stats.php#versioned
301: [19:54:30] <Stomach> hahaha :D
302: [19:54:33] <Stomach> winner
303: [19:54:49] <Stomach> and 5th too
304: [19:55:12] <simon_w> Haha, Colin[pi]: http://logs.simon.geek.nz/stats.php#wanker
305: [19:55:33] * Guest97096 quit (Quit: Page closed)
306: [19:55:57] <Stomach> thats so web 2.0
307: [19:56:03] <Stomach> hey I win the react one
308: [19:56:04] <Stomach> finally
309: [19:56:06] <Stomach> a winning on
310: [19:57:24] <simon_w> Poor pyro http://logs.simon.geek.nz/stats.php#salad
311: [19:58:28] <simon_w> So yeah, I've deploy those MRs
312: [19:58:55] <Ryan-Toast> slut
313: [19:59:07] * novaweb has joined #silverstripe
314: [19:59:48] <Stomach> what is the salad thing all about
315: [20:00:41] <simon_w> Maybe it's a british thing
316: [20:00:45] <simon_w> Like twat
317: [20:01:42] <Stomach> you salad twat
318: [20:01:43] <Stomach> !
319: [20:02:35] <guzzlefry> 0.o
320: [20:07:38] * MK_ToastMrtnbrgh quit ()
321: [20:08:34] * JeremyRoundill has joined #silverstripe
322: [20:08:57] <JeremyRoundill> Howdy
323: [20:09:16] * headtrip has joined #silverstripe
324: [20:09:53] * novaweb o/
325: [20:11:00] * jenniferaslan quit (Quit: jenniferaslan has left the room)
326: [20:11:15] <simon_w> So yeah, for those that missed it, you can now submit MRs to add things to the swears list: https://git.simon.geek.nz/simon_w/logbot-www
327: [20:12:06] <novaweb> simon_w: swears list being a list of naughty/prohibited words?
328: [20:12:22] <novaweb> that are removed from the logs... or something?
329: [20:12:24] <simon_w> novaweb, http://logs.simon.geek.nz/stats.php
330: [20:12:38] <novaweb> HAHAHA
331: [20:14:05] <novaweb> it's not case sensitive?
332: [20:14:13] <simon_w> Correct
333: [20:14:41] <Kingy> Ryan-Toast: you are not taking away my slut title!
334: [20:14:56] <Ryan-Toast> Kingy: you dirty slut!
335: [20:15:01] <Ryan-Toast> sloot lord
336: [20:15:03] <Kingy> slut your face
337: [20:15:13] <simon_w> Ryan-Toast, Kingy, bitches, please
338: [20:15:26] <Ryan-Toast> simon_w: please, slut. Calm your tits you twat.
339: [20:15:34] <Kingy> simon_w: actually Snowman23 wins the bitch title
340: [20:15:46] <Ryan-Toast> literally Jesse Pinkman
341: [20:15:47] <simon_w> Ryan-Toast, don't make me force feed you a salad!
342: [20:15:57] <simon_w> Kingy, yeah, that bitch stole it :(
343: [20:16:15] <Kingy> Pyromanik wins both cock and dick... hinteresting
344: [20:17:04] <JeremyRoundill> He's a lexicon of penis words.
345: [20:17:50] <JeremyRoundill> Bahaha. Synergy.
346: [20:18:22] <Kingy> Web 2.0 is new?
347: [20:18:31] <JeremyRoundill> Yeah
348: [20:18:39] <JeremyRoundill> I did an informal MR the other day :P
349: [20:18:42] <Kingy> haha
350: [20:18:54] <Kingy> shitty weather here
351: [20:18:59] <Kingy> thundering
352: [20:19:56] <novaweb> could someone who has branched swears add "cwp"
353: [20:20:23] <Kingy> don't be lazy :P
354: [20:20:25] <novaweb> cbf generating ssh key just for work pc
355: [20:20:26] <simon_w> novaweb, you can
356: [20:20:37] <Kingy> This is just simon_w's grand plan to get people to sign up to his gitlab :P
357: [20:20:52] <adrexia> lol, Hamish is a swear word
358: [20:21:04] <simon_w> novaweb, you can edit online
359: [20:22:07] <novaweb> I was wondering that - churp will do now.
360: [20:23:43] <novaweb> Ok me dumb. Where do I click to edit this https://git.simon.geek.nz/simon_w/logbot-www/blob/master/swears.txt
361: [20:24:14] <simon_w> First, you need to fork
362: [20:24:22] <novaweb> oh for forks sake
363: [20:25:47] <novaweb> Ah ha. I'm cool. While I'm in there anyone want me to add anything else?
364: [20:26:01] <adrexia> workflow
365: [20:26:11] * spekulatius has joined #silverstripe
366: [20:26:17] <adrexia> or is that too obscene?
367: [20:26:59] <novaweb> done
368: [20:27:04] <adrexia> :D
369: [20:27:36] <novaweb> have added jquery, cwp and workflow. will bum around for a few minutes before I commit.
370: [20:28:08] * kinglozzer has joined #silverstripe
371: [20:28:52] <simon_w> Yes, you should wait :p
372: [20:28:55] * simon_w upgrades gitlab
373: [20:29:01] <novaweb> :)
374: [20:29:09] <novaweb> please ping me once you're done
375: [20:30:33] <adrexia> wondering is should also add js? I almost always use js rather than saying javascript
376: [20:30:41] <adrexia> *if
377: [20:31:52] <simon_w> Unicorn is back up, so should be good to go
378: [20:31:59] <adrexia> what we really need is compiling of commonly used alternative terms into one
379: [20:32:24] <simon_w> Yeah, that'll happen eventually
380: [20:32:27] <adrexia> ditto for people using variations of their nicks. #scope_creep
381: [20:32:38] <simon_w> MRs welcome :p
382: [20:32:43] <adrexia> lol
383: [20:33:18] <simon_w> https://git.simon.geek.nz/simon_w/logbot-www/blob/master/funcs.php#L102-123 could do with a lot of love
384: [20:35:38] <simon_w> Well, I guess I should head into work now
385: [20:35:52] <simon_w> With any luck, my bus will show up today!
386: [20:36:09] <Kingy> sounds boring simon_w
387: [20:37:26] <simon_w> Got one feature to get done today, then it's Selenium tests
388: [20:38:07] <Kingy> jesus christ
389: [20:38:14] <Kingy> what do you do with a 931MB sql file :|
390: [20:39:03] <JeremyRoundill> Usually I put it in dropbox just to screw with everyone else.
391: [20:39:16] <JeremyRoundill> How do you like having to download an extra GB each for no reason!?
392: [20:42:36] <Kingy> :P
393: [20:43:23] <Ryan-Toast> Anyone used react in their frontend for SS before?
394: [20:43:46] <Ryan-Toast> looking at you, simon_w since you’re a facebook spy.
395: [20:44:34] * muskie9 is now known as _muskie9_
396: [20:46:29] * jedateach quit (Remote host closed the connection)
397: [20:46:37] <Stomach> Ryan-Toast - yeah I have
398: [20:46:51] <Ryan-Toast> Stomach: recommend it?
399: [20:46:55] <Stomach> hell yes
400: [20:46:57] * jedateach has joined #silverstripe
401: [20:46:57] <Stomach> http://www.labonic.com/shop
402: [20:47:10] <Stomach> look at how smooth that shit is
403: [20:47:32] <Stomach> I also used it for a facebook application about 9 months ago
404: [20:47:59] * micmania1 has joined #silverstripe
405: [20:48:10] <Ryan-Toast> Stomach: what would be the usecase you would use it in?
406: [20:48:57] * UncleCheese has joined #silverstripe
407: [20:49:25] <Stomach> all the time
408: [20:49:43] <Stomach> UncleCheese would agree
409: [20:49:43] <Ryan-Toast> Stomach: Could you give me a code example of something simple just so I can see it?
410: [20:49:57] <UncleCheese> aye?
411: [20:50:10] <Stomach> react
412: [20:50:14] <Stomach> use it everywhere
413: [20:50:15] <UncleCheese> oooh
414: [20:50:16] <UncleCheese> yes
415: [20:51:20] * _muskie9_ is now known as muskie9
416: [20:52:36] <Ryan-Toast> Stomach: So do you have an example I can ahave a look at?
417: [20:52:43] <Stomach> see pm
418: [20:57:47] <UncleCheese> is this about react ???
419: [20:57:54] <Stomach> sure is
420: [20:58:01] <Stomach> Ryan-Toast wants to know who had used it in SS
421: [20:58:06] <Stomach> /with SS
422: [20:59:40] * kinglozzer quit ()
423: [21:00:20] * KF5WYX has joined #silverstripe
424: [21:00:41] * Kingy is now known as Kingy[a]
425: [21:00:47] <Stomach> also #reactjs Ryan-Toast
426: [21:01:10] <Ryan-Toast> Stomach: chur
427: [21:01:25] <Ryan-Toast> I’ll have a play, and see if it’s worth remaking my boilerplate in react
428: [21:01:36] <Stomach> probably not
429: [21:01:56] <Ryan-Toast> Stomach: how come
430: [21:02:12] <Stomach> because theres no real need for it in general templating?
431: [21:02:46] <Ryan-Toast> Stomach: I can see benifits of using global template generatores like buttons and biz
432: [21:03:07] <Ryan-Toast> and components
433: [21:03:18] <Ryan-Toast> that you could change on the fly in all templates
434: [21:03:52] * BPower has joined #silverstripe
435: [21:04:06] <Stomach> yeah true
436: [21:04:16] <Stomach> https://github.com/react-bootstrap/react-bootstrap
437: [21:04:18] <Stomach> :)
438: [21:04:56] <Ryan-Toast> Stomach: exactly :)
439: [21:05:06] * Colin[pi] has joined #silverstripe
440: [21:05:23] <Ryan-Toast> would probs make my own though
441: [21:06:06] * openbees has joined #silverstripe
442: [21:06:44] <Colin[pi]> morning all
443: [21:06:55] <Stomach> hey Colin[pi]
444: [21:07:06] * UncleCheese quit (Ping timeout: 264 seconds)
445: [21:07:27] <openbees> Good Morning NZ !
446: [21:07:39] <Colin[pi]> BEEEEEES
447: [21:07:41] <Stomach> hi openbees
448: [21:08:02] <openbees> Hello :)
449: [21:09:10] <KF5WYX> hello :)
450: [21:09:18] * KF5WYX is over his morning blues.
451: [21:10:44] <openbees> Not sure it's too late .. or Too early in India :D
452: [21:11:01] <openbees> Is there any way to sort items in GridField AutoComplete field ?
453: [21:12:22] <JeremyRoundill> openbees: Looks like you'll need to modify GridFieldAddExisitngAutocomplete.php
454: [21:12:47] <JeremyRoundill> Or override doSearch.
455: [21:12:54] * UndefinedOffset quit (Quit: Leaving.)
456: [21:13:26] <openbees> in CMS too we can override doSearch ?
457: [21:13:43] <JeremyRoundill> Yeah.
458: [21:13:52] <JeremyRoundill> I think it's the easiest way.
459: [21:13:59] <JeremyRoundill> But it could screw other things up.
460: [21:14:01] <openbees> I don't want to edit core file.
461: [21:14:04] <openbees> will give it a try
462: [21:14:08] <JeremyRoundill> Well
463: [21:14:16] <JeremyRoundill> It'll screw other Autocompletes up.
464: [21:14:27] <JeremyRoundill> So it might be worth extending it instead.
465: [21:14:58] <JeremyRoundill> Like, create a subclass of GridFieldAddExistingAutocomplete
466: [21:15:46] <JeremyRoundill> And you'll probably need to create a subclass of GridField or whatever to change where the search points.
467: [21:16:08] <JeremyRoundill> And you might need to change some routes so the jQuery autocomplete points to the right place.
468: [21:16:43] <pippy> Colin[pi]: No! not the bees! aublurb ablur blurb my eyes!
469: [21:17:55] * BPower quit (Ping timeout: 265 seconds)
470: [21:18:23] <Colin[pi]> pippy: https://i.imgur.com/0RRdPh.gif
471: [21:19:57] * Hailwood has joined #silverstripe
472: [21:20:37] <Stomach> http://funnyasduck.net/wp-content/uploads/2013/03/funny-homer-simpson-chasing-spider-box-animated-gif-pics.gif
473: [21:21:30] <KF5WYX> Is there a stock snippet for adding a login/logout form to Page.ss?
474: [21:21:36] <Colin[pi]> Stomach: lol!
475: [21:21:51] <Stomach> KF5WYX - $MemberLoginForm
476: [21:22:06] * UncleCheese has joined #silverstripe
477: [21:22:09] <KF5WYX> Thanks Stomach
478: [21:22:15] <openbees> Thanks JeremyRoundill :)
479: [21:22:33] <Stomach> KF5WYX - you might need to add an action to your controller to return it, not sure
480: [21:22:53] <KF5WYX> currently does nothing, so it looks like I do.
481: [21:24:09] <JeremyRoundill> openbees: It's no problem, might be a bit tricky to implement what you want though.
482: [21:24:26] <JeremyRoundill> openbees: If it were me, I'd just tell the client it's in the too hard basket :D
483: [21:24:30] <openbees> Sort by date created
484: [21:24:35] <openbees> and search by title
485: [21:25:06] <openbees> but seems like it's sorting with same field for which it's searching
486: [21:25:15] <openbees> ->sort(strtok($searchFields[0], ':'), 'ASC')
487: [21:25:19] <JeremyRoundill> Yeah, that makes sense.
488: [21:25:40] <JeremyRoundill> Because that'll be the most relevant result in most cases.
489: [21:25:48] <openbees> off-course
490: [21:25:58] <openbees> but then some clients are idiot !
491: [21:26:09] <JeremyRoundill> :P
492: [21:26:56] <Stomach> clients gonna client
493: [21:27:33] <JeremyRoundill> Baby, I'm just gonna shake, shake, shake, shake, shake.
494: [21:28:02] <openbees> :D
495: [21:28:26] <openbees> It's too late to Shake in this part of world .. time for good morning sleep :D
496: [21:29:01] <openbees> Bye guys !
497: [21:29:03] <JeremyRoundill> where are you, openbees?
498: [21:30:26] * spronk2 has joined #silverstripe
499: [21:30:36] <openbees> m In North part of India. Near to Himalayas !
500: [21:31:02] * spronk2 quit (Max SendQ exceeded)
501: [21:31:29] * kinglozzer has joined #silverstripe
502: [21:31:34] <JeremyRoundill> Ahh
503: [21:31:52] <UncleCheese> Stomach Ryan-Toast what exactly is a react/ss integration?
504: [21:32:01] <Ryan-Toast> UncleCheese: shruig, looks fun
505: [21:32:10] <UncleCheese> react is by definition backend agnostic
506: [21:32:18] <Stomach> UncleCheese - at the moment its not an integration
507: [21:32:23] <UncleCheese> well, i suppose you can do server side rendering
508: [21:32:29] <UncleCheese> but that ain't ss
509: [21:32:32] * antmas has joined #silverstripe
510: [21:32:43] * gavro has joined #silverstripe
511: [21:33:03] <Stomach> UncleCheese: it will be once we can implement SS templates in react and rule the world
512: [21:33:16] <UncleCheese> wasn't metanat working on that?
513: [21:33:23] * openbees quit (Quit: Leaving)
514: [21:36:00] * openbees has joined #silverstripe
515: [21:36:11] * openbees has left #silverstripe
516: [21:40:03] * Kingy[a] is now known as Kingy
517: [21:40:29] <Stomach> simon_w|work - https://github.com/silverstripe/silverstripe-installer/issues/74#issuecomment-63380865
518: [21:40:38] <Stomach> UncleCheese - yeah and then he moved to SanFran :(
519: [21:40:57] <Stomach> he has it partially working in https://github.com/heyday/silverstripe-cacheinclude-manager
520: [21:41:44] <simon_w|work> Stomach, lol, burn
521: [21:42:03] <simon_w|work> Ryan-Toast, I haven't done anything with react yeah
522: [21:42:07] <simon_w|work> *yet
523: [21:42:27] * MrGuits has joined #silverstripe
524: [21:43:06] * Guits quit (Read error: Connection reset by peer)
525: [21:43:09] <Kingy> so, how would you guys take a mysql dump and get it into a SS postgres table
526: [21:43:22] <Kingy> (with completely different db designs)
527: [21:43:29] <Stomach> carefully
528: [21:43:33] <Colin[pi]> "take a mysql dump" *chuckle*
529: [21:43:53] <Kingy> :P
530: [21:43:57] <Colin[pi]> Kingy: I would prolly write a task to import it
531: [21:44:10] <Colin[pi]> export as CSV, then import?
532: [21:44:13] <Colin[pi]> or something
533: [21:44:21] <Kingy> yeah that's what I was considering
534: [21:44:45] <Colin[pi]> I did that recently actually, though it was MySQL -> MySQL, totally different schema though
535: [21:45:11] <Colin[pi]> I ended up with a couple of build tasks that just opened the csv from assets, churned through, and deleted it after
536: [21:48:42] <Kingy> +1 thanks
537: [21:49:01] <Colin[pi]> might be better ways to do it, but it seemed to work ok
538: [21:49:10] <Kingy> I might just setup a local mysql database and do a dump to csv then
539: [21:49:18] <Kingy> it really is just a one off thing so should be all good
540: [21:49:28] <Colin[pi]> yeah, good idea
541: [21:49:55] <Kingy> a build task that looks for certain files in an asset folder that way I can just push both to prod and run the task
542: [21:50:20] <Stomach> be careful with mysql dump to CSV
543: [21:50:24] <Stomach> they dont always work
544: [21:50:45] <Kingy> hmm
545: [21:51:03] <Kingy> how so Stomach?
546: [21:51:23] <Stomach> fucks up formatting sometimes
547: [21:51:25] <Stomach> generally its okay
548: [21:51:42] <Stomach> I've just spent whole days editing CSV's by hand to get the formatting right before :P
549: [21:51:47] <Colin[pi]> mm mine was ok, but mileage may vary depending on the data I guess
550: [21:52:05] <Kingy> It's a massive dump of articles
551: [21:52:17] <Kingy> so i'm sure there would be all sorts of commas and shit throughout
552: [21:52:35] <Kingy> can't hurt to try
553: [21:53:21] <Colin[pi]> Kingy: the other way would be to write a script that connected to the MySQL DB and inserted into the Postgres DB
554: [21:53:42] <Kingy> the only issue with that is
555: [21:54:05] <Kingy> the mysql db would be local on my machine (I've only got .sql dumps) and the external postgres DB I don't have access to
556: [21:54:22] <Kingy> really
557: [21:54:26] <Colin[pi]> ahh k
558: [21:55:27] <simon_w|work> novaweb, if you haven't noticed, my gitlab is back up
559: [21:56:29] <Colin[pi]> and ss-log is back!
560: [21:56:40] <Stomach> wooo just got my free stickers!
561: [21:57:10] <Kingy> free stickers?
562: [21:57:26] <JeremyRoundill> Ooh! I'm waiting for my stickers
563: [21:57:50] <simon_w|work> Colin[pi], http://logs.simon.geek.nz/stats.php#wanker
564: [21:58:07] <Stomach> Kingy - Cam didn't want to give us pens so we got stickers instead
565: [21:58:21] <simon_w|work> Oh, it's been over an hour since I loaded that this morning
566: [21:58:26] <Kingy> oh man did I miss out on ffree stuff again
567: [21:58:54] <Colin[pi]> stickers? what stickers? http://i.imgur.com/ULEegzZ.gif
568: [21:59:37] <Colin[pi]> simon_w|work: dat R/R cycle delay :P
569: [22:01:23] <antmas> stickers?
570: [22:01:42] <antmas> I like tochitos
571: [22:01:47] <simon_w|work> Colin[pi], it'll get there :p
572: [22:01:59] <antmas> :O
573: [22:02:08] <antmas> I should check my mail
574: [22:02:52] <JeremyRoundill> Yaay!
575: [22:02:56] <JeremyRoundill> I got my stickers too
576: [22:03:46] <Colin[pi]> WHAT STICKERS ;_;
577: [22:03:54] * Colin[pi] feels lost and confused
578: [22:04:22] <Colin[pi]> simon_w|work: WOAH it finished
579: [22:04:28] <Kingy> Colin[pi]: we missed out :(
580: [22:04:29] <Colin[pi]> holy shit, I am top wanker!
581: [22:04:40] <Kingy> yes, yes you are
582: [22:04:45] <antmas> :|
583: [22:04:46] * stnvh quit (Read error: Connection reset by peer)
584: [22:04:49] * antmas runs to mail room
585: [22:05:56] <Colin[pi]> simon_w|work: does that thing go through the entire db and calculate each time it's rebuilt and cached?
586: [22:08:32] <simon_w|work> Colin[pi], yup
587: [22:08:34] <antmas> GUIS
588: [22:08:37] <antmas> NO MAIL
589: [22:08:40] <antmas> NO STICKERS
590: [22:08:42] * antmas cires
591: [22:08:42] <micmania1> Colin[pi]: you’re top arsehole too! :D
592: [22:08:47] * antmas also cries
593: [22:08:48] <Colin[pi]> micmania1: AWESOME
594: [22:09:09] <simon_w|work> Colin[pi], https://git.simon.geek.nz/simon_w/logbot-www/blob/master/funcs.php#L102-123
595: [22:09:31] <Colin[pi]> SELECT COUNT(*) AS "Bitches"
596: [22:09:33] <Colin[pi]> lol
597: [22:10:07] <simon_w|work> Now that you lot can submit swears I need to make it more efficient :p
598: [22:10:44] <Colin[pi]> yeah once you get the stats for a particular swear for a particular record, that should be it, right?
599: [22:10:51] <Colin[pi]> no need to scan a second time
600: [22:11:16] <Colin[pi]> log which records have been scanned for each swear... or would that also be slow?
601: [22:11:37] * r_hector has joined #silverstripe
602: [22:11:51] <simon_w|work> More, move that to the background
603: [22:17:00] * kinglozzer quit ()
604: [22:18:37] * spronk2 has joined #silverstripe
605: [22:19:07] <Ryan-Toast> am bored, making buttons: http://codepen.io/anon/pen/wBvVvb
606: [22:19:12] * spronk2 quit (Max SendQ exceeded)
607: [22:19:29] <Ryan-Toast> webkit only, because fuck prefixes for playing around
608: [22:19:45] * spronk2 has joined #silverstripe
609: [22:20:19] * spronk2 quit (Max SendQ exceeded)
610: [22:21:11] * gelignite quit (Quit: http://bit.ly/nkczDT)
611: [22:21:18] <Colin[pi]> Ryan-Toast: material design style?
612: [22:21:27] <Ryan-Toast> Colin[pi]: ye
613: [22:21:41] <Colin[pi]> still need to add the circle click effect thingy?
614: [22:21:49] <Ryan-Toast> no, it’s on there.
615: [22:21:51] <Ryan-Toast> chrome only
616: [22:21:54] <Colin[pi]> oh
617: [22:21:56] <Colin[pi]> :P
618: [22:22:02] <Ryan-Toast> cbf adding the other prefixes
619: [22:22:07] <Colin[pi]> ah missed that message above
620: [22:22:12] <Ryan-Toast> just wanted to see if I could make it
621: [22:22:53] <Colin[pi]> cool
622: [22:22:56] <Colin[pi]> the ripple starts from the position of the touch/cursor doesn't it?
623: [22:23:00] <Ryan-Toast> yes
624: [22:23:04] <Ryan-Toast> it’s in the js there
625: [22:23:04] <Colin[pi]> (you may not have got that far yet)
626: [22:23:07] <Colin[pi]> ah k
627: [22:23:11] <Ryan-Toast> it works :P
628: [22:23:21] <Colin[pi]> not for me, it goes from the centre
629: [22:23:32] <Ryan-Toast> orly?
630: [22:23:34] <pippy> https://github.com/silverstripe/silverstripe-subsites/issues/16#issuecomment-63387502
631: [22:23:35] <Colin[pi]> ya rly
632: [22:23:37] <Ryan-Toast> interesting
633: [22:23:42] <Colin[pi]> latest chrome
634: [22:23:58] <pippy> simon_w|work: what do you think? want me to make a push request
635: [22:26:31] <simon_w|work> pippy, if you want
636: [22:26:42] <simon_w|work> You don't need my permission to do things :p
637: [22:27:43] <pippy> kk I'll make a push request
638: [22:28:29] <Stomach> anyone else immediately try the dev link? :D
639: [22:28:48] * muskie9 is now known as _muskie9_
640: [22:29:00] * _muskie9_ is now known as muskie9
641: [22:29:27] <adrexia> pippy can you turn it off?
642: [22:29:43] <Snowman23> TURN OFF FOR WHAT?
643: [22:29:48] <adrexia> lots of subsite users would see that as a security issue
644: [22:29:57] <novaweb> simon_w did you get the MR for swear.txt?
645: [22:30:07] <Snowman23> Is torleif someone here?
646: [22:30:10] <Snowman23> Is that you, pippy?
647: [22:30:12] <Colin[pi]> Snowman23: http://nthitz.github.io/turndownforwhatjs/
648: [22:30:14] <adrexia> Snowman https://github.com/silverstripe/silverstripe-subsites/issues/16#issuecomment-63387502
649: [22:30:26] <Snowman23> adrexia: ... yes, I said *who*
650: [22:30:30] <simon_w|work> novaweb, not seeing it
651: [22:30:39] * Cws has joined #silverstripe
652: [22:30:41] <adrexia> no...
653: [22:30:47] <Snowman23> Yeah I did!
654: [22:30:48] <adrexia> no you didn't :P
655: [22:30:52] <Snowman23> oh
656: [22:30:53] <adrexia> <Snowman23> TURN OFF FOR WHAT?
657: [22:30:54] <Snowman23> So I didn't
658: [22:30:55] <Stomach> Snowman23 - pippy is torleif
659: [22:30:58] <Snowman23> kk
660: [22:31:00] <Snowman23> rofl Colin[pi]
661: [22:31:01] <adrexia> lol
662: [22:31:05] <Cws> Is there anyway I can force a DB build without being logged in?
663: [22:31:25] <simon_w|work> Cws, either use the command line or be in dev mode
664: [22:31:50] <Cws> Oh didn't realise dev mode let you, cheers
665: [22:31:50] * CodeTrap quit (Quit: CodeTrap)
666: [22:31:51] * UncleCheese quit (Remote host closed the connection)
667: [22:32:35] <pippy> adrexia: it's locked to ip ranges so i'm not worrying
668: [22:32:45] <adrexia> I find it interesting that amidst all the effort to make subsites completely separate sites, there are still people using it for its intedned purpose
669: [22:33:05] <pippy> you'd only see the dev version of the corporte site so nothing would come of it
670: [22:33:13] <adrexia> pippy - no I mean, a lot of users of subsites actually host seperate sites that way, with different accdess permissions
671: [22:33:20] <simon_w|work> novaweb, overall number of merge requests hasn't increased, so you haven't sent one
672: [22:33:36] <Cws> Anybody know why /Security/Security/LoginForm would be giving me a 404?
673: [22:33:53] <adrexia> exposing the draft site tree of site a to site b would be seen as data leakage
674: [22:34:28] <pippy> ah i see what you're saying
675: [22:34:31] <simon_w|work> Cws, you're missing a <% base_tag %>
676: [22:34:48] <pippy> no it won't allow you to link accross different dev environments
677: [22:35:00] <adrexia> no no - same enviroment
678: [22:35:07] <adrexia> different subsites
679: [22:35:21] <adrexia> ie - the feature itself would be the security flaw
680: [22:35:39] <novaweb> simon_w db7f2910
681: [22:35:50] <pippy> it uses the SubsitesTreeDropdownField, so if you don't have permission to see another subsite you wouldn't see it
682: [22:35:58] <adrexia> oh, sweet
683: [22:35:58] <pippy> though you would see the name of the site in the dropdown field
684: [22:35:59] <adrexia> :)
685: [22:36:03] <simon_w|work> novaweb, you've made a commit, but haven't submitted a merge request for it
686: [22:36:07] <adrexia> the name is fine
687: [22:36:14] <adrexia> err wait
688: [22:36:30] <adrexia> how does that work if someone else has edited it and does have permsission?
689: [22:36:40] <adrexia> then you edit the saem page and don't?
690: [22:36:49] * catcher quit (Quit: Leaving)
691: [22:37:18] <novaweb> simon_w done now, sorry new to this Github to github business.
692: [22:37:34] <Cws> Ah thanks heaps Simon, turns out I was missing <% base_tag %>
693: [22:37:55] <adrexia> heh, anyway, I suppose that's a minor issue in the scheme of things. Most are probably either completely separated or not at all separated.
694: [22:37:55] <pippy> adrexia: if you saved it, it would preserve it, but if you clicked 'edit link' without having permission to view the other subsite the id would get reset
695: [22:38:19] * adrexia nods
696: [22:38:55] <adrexia> I think this might be the sort of feature you should be able to enable and disable
697: [22:39:49] <adrexia> it's a good feature to have available, but wouldn't work for a lot of the sites I know of currently using subsites
698: [22:39:52] * muskie9 is now known as _muskie9_
699: [22:39:57] <adrexia> (mostly cwp sites)
700: [22:40:17] * _muskie9_ is now known as muskie9
701: [22:40:52] <simon_w|work> adrexia, I feel like a better solution would be to make CWP not suck :p
702: [22:41:01] <adrexia> simon_w|work, I agree ;)
703: [22:41:13] <pippy> adrexia: fair enough
704: [22:41:20] <adrexia> it does look a bit like opt in is already the case?
705: [22:41:21] <simon_w|work> Where's irouge when you need someone to pass on feedback?
706: [22:41:30] <pippy> what would it work better on sites with other subsites?
707: [22:42:12] <adrexia> "nstead of relying on the subsites dataobject (which doesn't have the main site and dev domains), you create a list of domains in your _config.php file"
708: [22:42:37] <adrexia> does this mean that it won't provide the functionality if this isn't done? If so, that's probably fine
709: [22:43:01] <pippy> nah it would't work correct
710: [22:43:03] <simon_w|work> pippy, also, just FYI, I'm not a core dev any more
711: [22:43:37] <pippy> hmm, maybe it's better if it extended the subsite dataobject to allow the main domain + dev + test domains to it?
712: [22:43:58] * Cws quit (Ping timeout: 246 seconds)
713: [22:43:59] <pippy> simon_w|work: sweet, i wasn't sure who to chat to about it
714: [22:44:47] * camfindlay has joined #silverstripe
715: [22:45:31] <camfindlay> finally on some wifi… in christchurch for the next week if any chch based devs want to catch up for beer?
716: [22:45:59] <simon_w|work> pippy, maybe I should put it in the topic so people stop thinking I am :p
717: [22:46:15] * simon_w|work changed the topic to 'Welcome to #silverstripe | Ask your questions! | IRC Logs: http://ss.org.nz/logs | Feature requests: http://ss.org.nz/features | Dev Mailing List: http://ss.org.nz/ss-dev | Latest stable releases: http://ss.org.nz/3.1.7 and http://ss.org.nz/3.0.11 | Release Archive: http://www.silverstripe.org/release-archive/'
718: [22:47:33] <simon_w|work> Completely unrelated, fuck Angular
719: [22:47:40] <Snowman23> trudat
720: [22:48:03] <novaweb> simon_w no logs for yesterday?
721: [22:48:07] <novaweb> http://logs.simon.geek.nz/index.php?date=2014-11-17
722: [22:48:27] <Kingy> ss-log died
723: [22:48:42] <Kingy> camfindlay I heard there were stickers :P
724: [22:49:31] <camfindlay> yeah I asked who wanted them last week, anyone that emailed got them ;) I might do another run sometime in the future… you’ll have to keep tuned to IRC when the next call goes out :P
725: [22:50:32] <Kingy> I
726: [22:50:43] <Kingy> I'll be halfway around the world... damn timezones
727: [22:55:12] * muskie9 is now known as _muskie9_
728: [22:55:53] <adrexia> camfindlay, oh, I forgot to grab stickers of you on Saturday
729: [22:56:09] <adrexia> nevermind
730: [22:56:24] <camfindlay> adrexia - I’m sure there will be plenty of opportunities to grab stickers :)
731: [22:57:16] <simon_w|work> Is that a euphemism?
732: [22:57:42] <Kingy> LOL
733: [22:57:47] * MrGuits quit (Ping timeout: 245 seconds)
734: [22:58:49] <camfindlay> only in your mind simon_w
735: [22:59:45] <Stomach> camfindlay were you drunk when you did your signature
736: [22:59:46] <Stomach> :D
737: [22:59:49] * gavro quit (Remote host closed the connection)
738: [23:00:24] * gavro has joined #silverstripe
739: [23:01:22] <novaweb> Boss programmers. Can you please take a quick squiz at this. Based on some help from IRC yesterday I have done the following (trying to run two editor configs simultaneously)... I am almost there but just unsure on one tiny bit (how to switch between configs)
740: [23:01:23] <novaweb> http://pastie.org/private/vi21ejx7umh5igxpvbfleg
741: [23:01:49] <camfindlay> much have been the silverstripe homepage lady signing or something Stomach :P
742: [23:02:11] <Stomach> camfindlay hahaha
743: [23:02:29] <novaweb> namely lines 46 through 53 are probably wrong...
744: [23:03:06] * _muskie9_ is now known as muskie9
745: [23:03:19] <Stomach> whats happening, both outputting which config?
746: [23:04:17] <novaweb> the code displayed doesn't work. If I uncomment line 51, the new config works, but on every htmleditorfield on the site
747: [23:04:49] <novaweb> I only want to to affect this one box
748: [23:05:05] * gavro quit (Ping timeout: 258 seconds)
749: [23:06:11] <Stomach> what does addPromofields contain
750: [23:08:21] <novaweb> some arrays and shit
751: [23:08:23] <novaweb> :p
752: [23:08:27] <novaweb> I'll just have a look
753: [23:08:43] * harold_ has joined #silverstripe
754: [23:10:01] <novaweb> It's a function that loops a dropdownfield linking associated pages to the current page
755: [23:10:13] * KF5WYX quit (Ping timeout: 246 seconds)
756: [23:10:21] * Olliepop quit (Quit: Page closed)
757: [23:10:54] * Olliepop has joined #silverstripe
758: [23:13:29] <Stomach> hmm ihttps://github.com/silverstripe-labs/silverstripe-recipes/blob/master/forms/CustomConfigHtmlEditorField.php
759: [23:13:32] <Stomach> https://github.com/silverstripe-labs/silverstripe-recipes/blob/master/forms/CustomConfigHtmlEditorField.php
760: [23:14:59] <adrexia> Yeah I was thinking it would probably need to be subclassed
761: [23:15:02] <novaweb> Oh god. Thank you.
762: [23:15:21] * muskie9 is now known as _muskie9_
763: [23:16:31] <harold_> hi - how do I get my styles to show up in the text editor
764: [23:16:39] <harold_> I have added the styles to editor.css
765: [23:16:49] <harold_> flushed and loged in and out of admin
766: [23:17:48] * _muskie9_ is now known as muskie9
767: [23:18:02] <Stomach> did you add .typography before the styles?
768: [23:18:15] <novaweb> this ^^^
769: [23:19:31] <harold_> no... but i have 3 other custom stlyes that already show up as options, they don't use .typography though
770: [23:19:35] <adrexia> Stomach - you don't need to do that
771: [23:19:48] <Stomach> adrexia - oh thought you did
772: [23:19:48] <Stomach> :D
773: [23:19:51] * headtrip quit (Quit: (null))
774: [23:20:00] * spronk2 has joined #silverstripe
775: [23:20:09] * muskie9 is now known as _muskie9_
776: [23:20:17] <novaweb> harold_ just an idea... have you admin/pages?flush=all?
777: [23:20:17] <adrexia> It's an old 2.3 thing I think - before the cxms was an iframe - its to stop your styles overriding cms styles
778: [23:20:33] * spronk2 quit (Max SendQ exceeded)
779: [23:20:43] <adrexia> harold_ - inspect the iframe and see if its importing any css files
780: [23:20:43] <harold_> will try
781: [23:21:01] * _muskie9_ is now known as muskie9
782: [23:21:22] * spronk2 has joined #silverstripe
783: [23:21:24] <adrexia> some import editor, others import typography, others override it with custom styles (wehich sounds like what has been done in your case)
784: [23:21:41] * spronk2 quit (Max SendQ exceeded)
785: [23:21:50] <adrexia> I'm not sure you can both use a custom style sheet and supply individual classes to the dropdown
786: [23:22:49] <harold_> index.php/admin/pages/admin/pages?flush=all? - pagr not found
787: [23:23:17] <novaweb> harold_ why are there two instances of admin/pages?
788: [23:23:36] <novaweb> also you need to fix your .htaccess and remove index.php
789: [23:23:46] <harold_> I only ipnut one, when it fails it adds the second
790: [23:23:55] * muskie9 is now known as _muskie9_
791: [23:24:02] <novaweb> first, fix your .htaccess issues
792: [23:24:14] <novaweb> is there an .htacess in your webroot?
793: [23:24:28] <novaweb> *.htaccess
794: [23:25:15] <adrexia> someone needs to update these docs - http://doc.silverstripe.org/framework/en/topics/css#wysiwyg-editor-typography-css-and-editor-css
795: [23:25:16] <harold_> yeah there is one
796: [23:25:30] <novaweb> does it have stuff in it?
797: [23:25:57] <adrexia> I would be hella impressed if someone managed to make tinymce styles affect the rest of the cms. :D
798: [23:26:43] <novaweb> then check your server's config (using phpinfo.php : <?phpinfo();?>) to see if mod_rewrite is installed.
799: [23:26:54] <harold_> https://gist.github.com/spacebiscuit/fa480d494295ecad8fc0
800: [23:27:11] <novaweb> that all looks fine
801: [23:27:24] <novaweb> run phpinfo.php and search for "mod_rewrite"
802: [23:27:29] <adrexia> I'm not even sure why the tradition was typography, layout, and editor. Surely you could just have included editor in your frontend pages and dropped the typography file entirely?
803: [23:27:53] <novaweb> adrexia... it's a design thing ;)
804: [23:28:04] <adrexia> a bad design thing, yes :P
805: [23:28:22] <adrexia> we did it for years before we relaised we'd been lied to for years
806: [23:28:27] <adrexia> :P
807: [23:29:05] <adrexia> or you know, drop editor and import typography into the cms. either way
808: [23:29:29] <novaweb> seconded.
809: [23:29:30] <simon_w|work> Hmm, I think camfindlay needs to put more effort into getting onto http://logs.simon.geek.nz/stats.php more than twice
810: [23:29:41] * antmas quit (Quit: Page closed)
811: [23:29:49] * toddvalentine quit ()
812: [23:30:18] <harold_> can't see mod_rewrite
813: [23:30:31] <adrexia> "It's also separated from the rest of the layout. If you wanted to change typography only, for where you usually edit the content you don't need to go wading through other CSS files related to the actual layout." lol. use a preprocessor bro
814: [23:30:33] <camfindlay> thinks I need to go get lunch and navigate the earthquake pot holes in Chch
815: [23:30:46] * camfindlay quit (Quit: camfindlay)
816: [23:31:04] * novaweb has left #silverstripe
817: [23:31:15] * novaweb has joined #silverstripe
818: [23:31:27] <adrexia> harold_ what happens if you just delete index.php ?
819: [23:31:38] <Colin[pi]> adrexia: +1
820: [23:32:08] * Stomach is present 32 times in stats
821: [23:32:11] <Stomach> is that good or bad
822: [23:32:13] <Stomach> o_O
823: [23:32:34] <Stomach> I guess Pyromanik is there 85 times...
824: [23:33:03] <harold_> I see the dir listing
825: [23:33:28] <adrexia> ahh, yeah, then your htaccess isn't working at all
826: [23:34:04] <Colin[pi]> dat allowoverride
827: [23:34:40] * _muskie9_ is now known as muskie9
828: [23:34:44] <Stomach> harold_ - you can add this file to the root of your project and go to it to check compliance with modules etc
829: [23:34:44] <Stomach> https://github.com/silverstripe/silverstripe-installer/blob/3.1/install.php
830: [23:36:52] <harold_> install.php - root right?
831: [23:37:34] <Stomach> yah
832: [23:39:00] <harold_> Stomach: I already have that file in the root
833: [23:39:11] * muskie9 is now known as _muskie9_
834: [23:39:13] <Stomach> then browse to it and see if it shows any warnings :)
835: [23:41:16] <harold_> URL rewriting support You need mod_rewrite to use friendly URLs with SilverStripe, but it is not enabled.
836: [23:41:28] <Stomach> there you go then :)
837: [23:41:38] <Stomach> enable mod_rewrite in apache and you'll be away laughing
838: [23:42:06] <harold_> ok just looking
839: [23:42:30] <novaweb> harold_ if you are on a shared host, ask support about it, or the setting should hopefully be in your control panel somewhere. some hosts don't allow it.
840: [23:46:13] <harold_> it's WAMP
841: [23:46:15] <harold_> local
842: [23:46:20] <harold_> think i have found it
843: [23:46:22] * caamic30 has joined #silverstripe
844: [23:47:06] <harold_> seems to work with out index.php now :)
845: [23:47:22] * r_hector quit (Quit: Leaving.)
846: [23:47:46] <Stomach> now try /admin/pages?flush=all
847: [23:47:47] <Stomach> wooo
848: [23:48:06] <Stomach> and if that doesnt work, make sure your assets directory is writeable
849: [23:48:10] <Stomach> then should work
850: [23:48:43] * caamic30 has left #silverstripe
851: [23:49:47] <novaweb> Stomach... with the recipe you posted (html editor config)... "should" addFieldToTab work in place of $field->push
852: [23:49:54] <Stomach> yep
853: [23:49:59] <novaweb> Ok
854: [23:50:14] <novaweb> how the hell to debug this haha
855: [23:51:33] <novaweb> Declaration of CustomConfigHtmlEditorField::include_js() should be compatible with HtmlEditorField::include_js()
856: [23:52:50] <novaweb> There is no such thing as include_js in the new HtmlEditorField class -.-
857: [23:53:11] <novaweb> If someone can help me fix this - i'll commit it back to doc and recipe
858: [23:53:35] <Stomach> yes there is
859: [23:53:52] <Stomach> but it doesnt take an argument
860: [23:54:17] <Stomach> so maybe change it to include_js()
861: [23:54:42] <Stomach> and do $configName = $this->configName;
862: [23:54:51] <harold_> thanks guys I have the styles showing in the text editor
863: [23:54:54] <Stomach> and do $this->configName = $config in the constructor
864: [23:54:58] <Stomach> awesome harold_ :)
865: [23:55:08] <harold_> last quick question, how do I reference files in my img folder in my css
866: [23:55:23] <novaweb> where is your img folder?
867: [23:55:28] <harold_> I only seem to be able to acess with the full url (bad)
868: [23:55:45] <harold_> root/img
869: [23:55:56] <harold_> so I would think /img/x.png
870: [23:56:09] <novaweb> your images for your template should be in themes/mytheme/images/
871: [23:56:43] * Azure quit (Quit: Blue Sky Fish)
872: [23:57:14] <harold_> is that where the css will look : theme/foo?
873: [23:57:20] <novaweb> then you can reference them from themes/mytheme/css/style.css using .something { background: url(../images/something.png) }

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