#silverstripe IRC Log

IRC log for 26 March 2014

All timestamps are in UTC.

1: [00:00:11] <ss23> fuck these config.yml files
2: [00:01:00] <Stomach> lol
3: [00:02:05] * M3dgoo has joined #silverstripe
4: [00:05:29] <antmas> Colin[pi]: nice
5: [00:05:33] <antmas> how much?
6: [00:07:19] * UncleCheese quit (Quit: UncleCheese)
7: [00:08:02] * zippy__ blames ss23
8: [00:08:48] * Ryan-Toast has joined #silverstripe
9: [00:09:05] <Colin[pi]> antmas: 5 figures :)
10: [00:09:12] <Ryan-Toast> Man nice clothes are expensive. Just spent $300 on a shirt, pants and a belt.
11: [00:09:15] <Colin[pi]> for me that's significant
12: [00:09:20] <antmas> Colin[pi]: noise :D
13: [00:09:42] <Colin[pi]> Ryan-Toast: sigh
14: [00:10:09] <Ryan-Toast> but damn I look good.
15: [00:11:54] <Colin[pi]> I bought a $1500 leather trenchcoat once
16: [00:12:10] <Colin[pi]> because I wanted to look like someone from the Matrix
17: [00:12:13] <Colin[pi]> ;_;
18: [00:12:15] <Ryan-Toast> did it come with a free fedora?
19: [00:12:21] <Colin[pi]> TIPPING INTENSIFIES
20: [00:12:30] <Ryan-Toast> :)
21: [00:12:32] <zippy__> Colin[pi]: did it come with guns, lots of guns?
22: [00:12:52] <Colin[pi]> no but curiously it has a giant long pocket in the left inner lining
23: [00:13:22] <Colin[pi]> I sometimes wear it in winter here, the cops always give me a good stare
24: [00:15:17] * mojo5000 quit (Ping timeout: 246 seconds)
25: [00:18:16] <zippy__> Colin[pi]: probably waiting for you to "flash"
26: [00:19:23] <Colin[pi]> lol
27: [00:19:38] <Colin[pi]> "is that a gun in your pocket..?"
28: [00:20:39] <Colin[pi]> fuck yes they accepted the quote
29: [00:20:39] * danfo has joined #silverstripe
30: [00:20:41] <Colin[pi]> AW YEAH
31: [00:23:00] <antmas> Colin[pi]: nice!
32: [00:23:02] <antmas> congrats
33: [00:23:04] <ss23> wtf
34: [00:23:07] <ss23> how do you do a LIKE in the ORM?
35: [00:23:07] <Colin[pi]> thx
36: [00:23:17] <antmas> Colin[pi]: big job?
37: [00:23:27] <Colin[pi]> antmas: quoted in three phases, so sizable
38: [00:23:31] <danfo> hah, so… I spent ages trying to work out why my ss2.4 site’s /admin/ isn’t working in hhvm. I conceded and went php5.5… but it’s still happening :( haha
39: [00:23:47] <danfo> is fine on my dev php5.4
40: [00:23:49] <antmas> Colin[pi]: noice, if you need any help... :D
41: [00:24:06] * antmas nudges boot out towards Colin[pi]
42: [00:24:27] <zippy__> god damn it
43: [00:24:56] <ss23> GUIYS SERIOULSY
44: [00:24:57] <zippy__> I've done some retarded key press, and now my photoshop 'windows' and sidebar are hidden unless I mouse over the side areas
45: [00:25:02] <ss23> HOW THE FUCK CAN YOU USE WILDCARDS
46: [00:25:04] <ss23> THIS SHOULD BE IN THE ODCS
47: [00:25:06] <ss23> HOW THE FUCK IS IT NOT
48: [00:25:07] <Colin[pi]> lol
49: [00:25:14] <Ryan-Toast> lol
50: [00:25:31] <Colin[pi]> ss23: you mean LIKE '%pants%' and such?
51: [00:25:48] <ss23> yeha
52: [00:26:03] <zippy__> isn't it like, :partial or something
53: [00:26:11] <ss23> phew
54: [00:26:14] <Colin[pi]> it allows for it, I'm sure
55: [00:26:14] <ss23> yes, PartialMatch it looks like
56: [00:26:24] <ss23> Why the bloody docs don't say what it is, is a fucking good question
57: [00:26:47] <zippy__> oh yes, reset workspace - fixed! phew
58: [00:28:14] <Colin[pi]> ss23: it's because you didn't finish the docs
59: [00:28:21] <Colin[pi]> now you know, you can add it!
60: [00:28:23] <Colin[pi]> ;D
61: [00:29:10] <ss23> :P
62: [00:29:17] <zippy__> http://doc.silverstripe.com/framework/en/topics/datamodel#search-filter-modifiers
63: [00:30:00] <ss23> I see that
64: [00:30:07] <ss23> But I searched for "like", "wildcard", "%"
65: [00:30:13] <ss23> Not "PartialMatch"
66: [00:30:14] <danfo> zippy__: tab’ll do that in photoshop btw
67: [00:30:17] <ss23> It's impossible to find unless you already know!
68: [00:30:42] <Colin[pi]> ss23: yea this is my prob with SS sometimes, there is almost ALWAYS a way built-in to do something, but fucked if I know what it's called
69: [00:30:49] <zippy__> danfo: ta!
70: [00:32:51] <Colin[pi]> oh please no, no... no no no no... Gina Rynehart
71: [00:32:56] <Colin[pi]> oops paste error
72: [00:33:01] <Colin[pi]> http://techcrunch.com/2014/03/25/facebook-stock-slides-in-after-hour-trading-following-acquisition-of-oculus-rift/
73: [00:33:03] <Colin[pi]> ohhh no no
74: [00:33:09] <Colin[pi]> facebook, stahp
75: [00:33:14] <Colin[pi]> please stahp
76: [00:36:58] <Stomach> ss23 - when you first said about LIKE in the CM I thought you were talking about facebook
77: [00:37:02] <Stomach> i'm corrupted :(
78: [00:37:29] <ss23> lol
79: [00:37:31] <ss23> Horrible.
80: [00:37:51] <Colin[pi]> facebook pls stahp
81: [00:41:14] * joelpittet has joined #silverstripe
82: [00:46:04] <Ryan-Toast> Colin[pi]: My favorite part: “Our mission is to make the world more open and connected” LOL, OKAY FB
83: [00:46:18] <Colin[pi]> that news has ruined my day :(
84: [00:46:22] * UncleCheese has joined #silverstripe
85: [00:46:28] <Ryan-Toast> yup
86: [00:46:34] <Colin[pi]> lol money
87: [00:49:06] <antmas> I like to pretend it didn't happen
88: [00:49:17] <zippy__> depressing...
89: [00:49:20] <antmas> and that John Carmack is still involved :D
90: [00:51:34] <Colin[pi]> Notch cancelled his deal with them for a Minecraft VR version
91: [00:51:34] <antmas> mmmm sushi
92: [00:55:00] <antmas> :O http://gawker.com/massive-corndog-spill-shuts-down-highway-1551443512/@zacestrada
93: [00:55:46] <zippy__> (Transformers 4) Mark Wahlberg: "It is bigger and better than the other three (films) combined. This will be the biggest movie of 2014."
94: [00:55:55] <zippy__> oh god that makes it sound like it will be arse
95: [00:56:57] <Colin[pi]> was that ever in doubt?
96: [00:57:33] <Colin[pi]> ;)
97: [00:57:33] <danfo> ss2.4, login to /admin/ keeps redirecting back to the login screen - even on successful login it will happily say ‘You're logged in as Dan.’ - any clues?
98: [00:57:54] <Stomach> you dont have permissions set for that user
99: [00:57:54] <Stomach> ?
100: [00:59:07] <Ryan-Toast> zippy__: It’s going to be complete shit, just like the other ones.
101: [00:59:24] <Ryan-Toast> I can’t remember the last action movie that was actually good.
102: [00:59:25] <danfo> checked the members table, this user belongs to admin group
103: [00:59:46] <Ryan-Toast> Except Pacific RIM, but that was more of the “”Best worst movie ever”
104: [01:00:03] <danfo> also can’t get in with the admin username & password in _config.php
105: [01:04:00] <zippy__> danfo: I've had that issue before, if I have been logged out and then tried to access /Security/login
106: [01:04:15] <zippy__> danfo: can you log out / clear your session/cookies, and try again by going to /admin
107: [01:05:27] <Ryan-Toast> I’m getting a 500 error when navigating to a subfolder of my Files. Anyone had this before?
108: [01:05:52] <danfo> zippy__: yes… done, same result
109: [01:12:09] * UncleCheese quit (Quit: UncleCheese)
110: [01:12:13] <danfo> I thought I was up against an hhvm issue, but now tried php5.5 and 5.4… can’t think of why it would be working on my laptop (php5.4) but not on server
111: [01:15:03] * Tanger has joined #silverstripe
112: [01:16:11] <danfo> the nav menu items are in a different order too when I load my dev sql… not that that’s any clue/related, but I don’t understand why that would happen
113: [01:20:14] <danfo> use of percona shouldn’t matter?
114: [01:22:30] * nervous_ has joined #silverstripe
115: [01:23:01] <zippy__> sorry danfo, I havn't used hhvm
116: [01:23:21] <zippy__> simon_w is the only one I know who does
117: [01:23:51] <danfo> yeah it’s happening without hhvm - its happening with php-fpm 5.4 for me
118: [01:23:53] * Tanger_ has joined #silverstripe
119: [01:24:18] * Tanger quit (Ping timeout: 240 seconds)
120: [01:24:18] * Tanger_ is now known as Tanger
121: [01:24:42] <nervous_> Hi Folks, a general deployment quesiton. What is the best way of migrating a site from development to production without all the bloat. ie I only want support for one language, so why have the rest of them?
122: [01:24:46] * UncleCheese has joined #silverstripe
123: [01:30:59] * Liquide quit ()
124: [01:32:56] * Tanger quit (Quit: Tanger)
125: [01:36:53] * M3dgoo quit (Ping timeout: 245 seconds)
126: [01:38:10] * Tanger has joined #silverstripe
127: [01:39:17] * gregm has joined #silverstripe
128: [01:40:53] <antmas> huzzah
129: [01:41:28] * nervous_ quit (Ping timeout: 245 seconds)
130: [01:43:49] <gregm> Thats not a bad question nervous_. How about things like unit testing etc in the cms, wouldnt it be good to deploy without the tests excetera
131: [01:44:50] <antmas> not that that really ads 'bloat'
132: [01:44:54] <antmas> adds*
133: [01:45:11] * DesignerX quit (Quit: Konversation terminated!)
134: [01:46:19] <antmas> zippy__: they're water blasting the paint off Rob Roy's
135: [01:46:31] <zippy__> yea I think it's changed hands
136: [01:46:31] <antmas> looks like it's going back to ol yellow
137: [01:46:35] <antmas> zippy__: it has
138: [01:46:38] <gregm> basic security premise, dont publish what you dont need because each section of code could contain something that can be used against you.
139: [01:47:08] <antmas> gregm: easy, remove them via config
140: [01:47:17] <antmas> or don't publish files you don't want
141: [01:51:59] * Ryan-Toast has left #silverstripe
142: [01:53:44] * Ryan-Toast has joined #silverstripe
143: [01:54:58] * terryapodaca has joined #silverstripe
144: [01:57:04] <terryapodaca> This older site (SS 2.3) made a SiteTreeDecorator that extends DOD...to specify indexes for fulltext SearchFields (Title, MetaTitle, Content). What's the equiv in SS 3?
145: [02:02:49] <zippy__> terryapodaca: ss 3 still has site search, which has those fields in the index already - http://doc.silverstripe.org/framework/en/tutorials/4-site-search
146: [02:03:16] <Zauberfisch> I am experiencing some odd behaviour. could it be that <% if $SomeImageHasOne %> is buggy in latest master?
147: [02:03:53] <terryapodaca> zippy__: ok...makes sense. thanks!
148: [02:05:45] * Tanger quit (Ping timeout: 265 seconds)
149: [02:06:28] * Tanger has joined #silverstripe
150: [02:07:44] * gregm quit (Ping timeout: 245 seconds)
151: [02:08:34] * babak quit (Quit: Connection closed for inactivity)
152: [02:20:16] * UncleCheese quit (Quit: UncleCheese)
153: [02:23:15] <antmas> Zauberfisch: errr... what's the bug?
154: [02:24:42] <Stomach> and yes, its entirely possible there is a bug in master :P
155: [02:24:49] <Stomach> just ask ss23
156: [02:24:52] <ss23> lol
157: [02:24:54] <Stomach> hes in charge of adding bugs
158: [02:24:56] <ss23> XD
159: [02:24:58] <ss23> nu uh! :P
160: [02:25:06] <ss23> p.s. I'm going to help refactor a bunch of old code out of CMS
161: [02:25:08] <ss23> Do you love me? :D
162: [02:25:14] <ss23> WHO LOVES YOU, AND WHO DO YOU LOVE?
163: [02:25:23] <Zauberfisch> antmas: its like $TeaserImage.URL returns /assets/Uploads/yay.png but <% if $TeaserImage %> is always false
164: [02:25:26] <Zauberfisch> thats so weird
165: [02:25:44] <Stomach> are you in a weird scope in the templates, or at $Top ?
166: [02:25:53] <Zauberfisch> me? no
167: [02:26:02] <Stomach> yes you
168: [02:26:11] <Stomach> sounds buggy
169: [02:26:20] <Zauberfisch> I blame simon_w
170: [02:26:23] <Zauberfisch> or perhaps hamish
171: [02:26:43] <Stomach> if we are all serious for a minute, I think we know that its Ryan-Toast's fault.
172: [02:27:24] <Ryan-Toast> Hmm? Bugs? wat
173: [02:27:56] <Zauberfisch> it might actually be tractorcow
174: [02:28:09] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/commit/7c60c73dbb2559cc5950eb40efa640e04bde2d17
175: [02:28:34] <Zauberfisch> line 1430 and down
176: [02:28:45] <Zauberfisch> looks suspicious
177: [02:32:06] <Zauberfisch> ha!
178: [02:32:08] <Zauberfisch> indeed
179: [02:32:21] <Zauberfisch> that commit breaks template IFs
180: [02:34:07] * robert_ quit (Read error: Connection reset by peer)
181: [02:34:33] <Zauberfisch> good thing about it: simon_w merged it, so it as least partially his fault
182: [02:38:13] <Zauberfisch> issue created
183: [02:38:14] <Zauberfisch> https://github.com/silverstripe/silverstripe-framework/issues/2982
184: [02:39:37] * UncleCheese has joined #silverstripe
185: [02:40:29] <zippy__> ss23: another patch for you :)
186: [02:42:20] <ss23> tyty
187: [02:42:20] <ss23> :P
188: [02:42:38] <ss23> suggested patcher: simon_w
189: [02:43:40] <simon_w> Suggested patcher: your mum!
190: [02:43:54] <antmas> lol ^
191: [02:44:38] <simon_w> Zauberfisch, which 1430?
192: [02:44:42] <zippy__> based on ss23's current track record, I think she could probably patch and release faster
193: [02:45:01] <Zauberfisch> left
194: [02:45:14] <Zauberfisch> simon_w: method getComponent
195: [02:45:26] <antmas> zippy__: ss23 zing!
196: [02:46:33] <Zauberfisch> ss23: haha
197: [02:46:36] <Zauberfisch> I like that
198: [02:47:52] * Tanger quit (Quit: Tanger)
199: [02:49:08] * chris_bryer has joined #silverstripe
200: [02:49:15] * chris_bryer has left #silverstripe
201: [02:53:41] * danfo quit (Quit: danfo)
202: [02:57:37] <antmas> woah, android update
203: [02:57:41] <antmas> THIS NEVER HAPPENS
204: [03:00:03] <simon_w> Zauberfisch, also, you realise I'm likely to break your 3.2 project again rather soon? :p
205: [03:01:45] <antmas> 3.2?
206: [03:01:48] <antmas> CONFIRMED
207: [03:01:54] <antmas> LAUNCH TOMORROW
208: [03:02:04] <Zauberfisch> simon_w: well ... its not like 3.1 is stable or anything. so I am happy to take the risk
209: [03:03:34] <antmas> best toupe ever http://www.stuff.co.nz/business/better-business/9870376/Honoured-for-services-to-tourism
210: [03:11:54] <ss23> 15:44:43 < zippy__> based on ss23's current track record, I think she could probably patch and release faster
211: [03:11:57] <ss23> ouch
212: [03:11:59] <ss23> ;(
213: [03:12:11] <antmas> anyone read The Sandman series?
214: [03:12:18] <Colin[pi]> poor ss23
215: [03:13:03] <zippy__> it's ok ss23 I know your doing your best
216: [03:13:34] * zippy__ will get his daughter to plait your hair
217: [03:13:37] <ss23> :(
218: [03:13:40] <ss23> How old is she? ;)
219: [03:13:44] <ss23> I do have pretty sweet hair
220: [03:13:49] <zippy__> almost 5
221: [03:13:53] <ss23> :(
222: [03:13:54] <ss23> DAMMIT
223: [03:13:57] <ss23> WHY ISN'T SHE OLDER? ;_;
224: [03:14:15] * ^pH quit (Read error: Connection reset by peer)
225: [03:14:27] <zippy__> she'll make you look like a pony
226: [03:14:36] * ^pH has joined #silverstripe
227: [03:14:55] <Zauberfisch> ponys are awesome!
228: [03:15:06] <Zauberfisch> *ponies
229: [03:15:54] <ss23> lol
230: [03:16:02] <ss23> She wouldn't be the first girl to play with my hair...
231: [03:17:08] <Colin[pi]> ಠ_ಠ
232: [03:17:17] <zippy__> This red, is not like the red in my psd, even though I use a color picker and get the code. Is websafe colors still a thing? https://dl.dropboxusercontent.com/u/1547575/red-not-red.png
233: [03:17:39] <ss23> zippy__: The one on the left is form PSD I take it?
234: [03:17:44] <ss23> zippy__: Looks like it has a mask or shadow on it
235: [03:17:52] <ss23> zippy__: The underlying color probably is the same, but with shit over top
236: [03:17:54] <terryapodaca> can I move the 'Content' to it's own ToggleCompositeField? without editing any core code?
237: [03:17:54] <zippy__> the one on the right is photoshop
238: [03:18:01] <ss23> srsly?
239: [03:18:13] <zippy__> yap
240: [03:18:16] <ss23> Colin[pi]: srsly, girls like playing with guys hair
241: [03:18:25] <ss23> zippy__: idk man o.o
242: [03:18:34] <ss23> zippy__: I do blame photoshop though
243: [03:18:41] <zippy__> fooking designers
244: [03:18:43] <ss23> zippy__: To make it look the smae athough, open that png you just took in paint
245: [03:18:47] <ss23> zippy__: then grab the color code from there
246: [03:18:48] <ss23> ^.^
247: [03:19:02] <ss23> Need to convert from YMCK to RGB? Take a screenshot!
248: [03:19:02] <ss23> :D
249: [03:19:10] <ss23> I'm sure designers want to murder me
250: [03:19:50] <terryapodaca> right side: #e01b22; left side: #d94a3c
251: [03:21:04] <terryapodaca> use to have those problems because designers use cmyk and others use rgb
252: [03:21:30] <terryapodaca> didn't follow the whole conversation, but try changing the color settings
253: [03:21:43] <zippy__> terryapodaca: indeed - that is what I have set it to, and looks wong; https://dl.dropboxusercontent.com/u/1547575/indeed.png
254: [03:22:12] <zippy__> the psd is rgb 8bit
255: [03:22:48] <terryapodaca> weird
256: [03:23:17] <zippy__> yea it's screwed, I just color matched by eye
257: [03:41:54] * nickmolhoek quit (Quit: nickmolhoek)
258: [03:49:45] * simon_w|air has joined #silverstripe
259: [03:55:58] <Colin[pi]> making newsletter templates gives me a sad
260: [03:56:14] <Ryan-Toast> Colin[pi]: FFFuck that
261: [03:56:27] <Colin[pi]> it's like the 90's called wanting it's html back
262: [04:00:30] <ajmitch> Colin[pi]: worse than that
263: [04:00:46] <Ryan-Toast> 4 DAY WEEKEND, LATER BOYS! HAHAHAHA
264: [04:00:49] * ajmitch has to deal with making those templates far too often
265: [04:00:53] <Colin[pi]> ajmitch: :(
266: [04:01:01] <Colin[pi]> Ryan-Toast: bye bitch
267: [04:01:19] * Ryan-Toast has left #silverstripe
268: [04:01:22] <ajmitch> Colin[pi]: when in doubt, nest another table so outlook doesn't throw a fit
269: [04:01:31] <Colin[pi]> it's hideous :(
270: [04:01:35] <ajmitch> and then nest some more
271: [04:01:42] <ajmitch> yes it is
272: [04:02:26] * ajmitch hears the 5pm chime
273: [04:16:25] * CodeTrap quit (Ping timeout: 240 seconds)
274: [04:17:22] * CodeTrap has joined #silverstripe
275: [04:25:58] * spronk quit (Ping timeout: 240 seconds)
276: [04:33:08] <terryapodaca> I still haven't figured out how to remove 'Content' and re-add it back into a ToggleCompositeField...anyone have any ideas?
277: [04:38:16] * zippy___ has joined #silverstripe
278: [04:38:36] * zippy__ quit (Ping timeout: 240 seconds)
279: [04:38:37] * zippy___ is now known as zippy__
280: [04:38:44] <zippy__> terryapodaca: Well… you can remove it by doing $fields->removeByName('Content')
281: [04:39:20] * zippy__ quit (Client Quit)
282: [04:48:04] * UncleCheese quit (Quit: UncleCheese)
283: [04:48:20] * spronk has joined #silverstripe
284: [04:48:57] * UncleCheese has joined #silverstripe
285: [04:51:39] * cloph has joined #silverstripe
286: [04:52:07] * cloph_away quit (Ping timeout: 264 seconds)
287: [05:08:52] * UncleCheese quit (Quit: UncleCheese)
288: [05:13:38] * spronk quit (Ping timeout: 240 seconds)
289: [05:23:27] * Tanger has joined #silverstripe
290: [05:32:35] * OxFF1 has joined #silverstripe
291: [05:33:58] * an_Eskimo quit (Ping timeout: 245 seconds)
292: [05:37:35] <ss23> huehueuhe -- "MS-DOS and Word for Windows 1.1 is now open source. Linux users rejoice as they now have access to a FOSS product superior to OpenOffice."
293: [05:38:05] <Zauberfisch> :D
294: [05:38:23] <Zauberfisch> unfortunately the joke is not a 100% valid because its not FOSS
295: [05:38:50] <ss23> Yeah, but still good joke
296: [05:38:50] <ss23> :P
297: [05:40:09] <Colin[pi]> ss23: I liked this image posted on reddit in response to that source being released: http://www.birdwatchersdigest.com/blog/uploaded_images/FreeCouch-727675.JPG
298: [05:40:47] <ss23> XD
299: [05:41:37] * OxFF1 quit (Quit: Hasta la proxima)
300: [05:52:48] * babak has joined #silverstripe
301: [05:55:30] * terryapodaca quit (Quit: Leaving.)
302: [05:59:08] * spronk has joined #silverstripe
303: [06:14:25] <ss23> "I was just talking about docs with @ss23. I'll add some shortly."
304: [06:14:26] <ss23> FUCK
305: [06:14:33] <ss23> Every time I try get away, I get this "ss23 is docs guy" bs
306: [06:14:34] <ss23> :(
307: [06:16:01] <simon_w|air> Come on Facebook, confirm my flights! I wanna know if I get business class :D
308: [06:16:07] <ss23> wait what
309: [06:16:11] <ss23> Facebook confirming your flights?
310: [06:16:30] <ss23> simon_w|air: https://packagist.org/packages/silverstripe/homepagefordomain is used by 8 people a month, and I'm pretty sure all of those installs are me
311: [06:16:30] <simon_w|air> Yes
312: [06:16:34] <ss23> simon_w|air: Can we remove support for it from core please?
313: [06:16:43] <ss23> just from master
314: [06:16:43] <simon_w|air> ss23, pull request
315: [06:16:45] <ss23> ty
316: [06:26:05] * joelpittet quit ()
317: [06:38:01] * Shrike_Finland has joined #silverstripe
318: [06:57:00] <simon_w|air> Hmm, what to have for dinners...
319: [06:58:21] <ss23> I am thinkin I'll have a pie, like usual
320: [06:59:00] <ss23> simon_w|air: I have a SilverStripe problem/question
321: [06:59:05] <ss23> Hmm
322: [06:59:56] <ss23> I need an extension I think. I have a method foo() where I want to basically say 'Any possible extension can return a value here (don't care about order) and if you do, I wont' use the default value. If no extension returns a value, I'll use the default"
323: [07:00:29] <ss23> simon_w|air: Does that sound right, and if so, how would it work? The docs on using extensions through ->extend as a developer are vague
324: [07:01:23] <simon_w|air> ss23, ->extend() returns an array of the non-null values the extensions return
325: [07:01:32] <ss23> Oh awesome
326: [07:01:52] <ss23> The doc on it is weird
327: [07:01:57] <ss23> "If you want this to return values, you're fucked!"
328: [07:02:00] <ss23> "It returns these values!"
329: [07:02:01] <ss23> :P
330: [07:02:04] <ss23> Thank you, simon_w|air
331: [07:03:36] <ss23> simon_w|air: PR incoming that removes a lot of unnessecary/dead code in cms
332: [07:03:39] <ss23> :D
333: [07:03:45] <simon_w|air> Yay!
334: [07:04:10] <ss23> I suspect it will need lots of tweaks, but still, it's the thought that counts
335: [07:04:13] <ss23> :P
336: [07:04:18] * chris_bryer has joined #silverstripe
337: [07:04:40] * chris_bryer quit (Client Quit)
338: [07:05:45] <simon_w|air> And it's best to get in before the ORM changes :p
339: [07:07:15] <ss23> yeah, though this is just general cleanlyness, so if it didn't make 3.2, I wouldn't be too fussed
340: [07:07:35] <ss23> Hmm
341: [07:07:43] <ss23> Is there a need to use the config API layer when accessing your own properties?
342: [07:08:01] <simon_w|air> If they can be changed by the config system, yes
343: [07:08:05] <ss23> Okay!
344: [07:10:29] <ss23> Hmm, simon_w|air, when testing an injection point, I need a new object created that has the right method. Is there an example of a test like this you know of that I can copy how they did it?
345: [07:11:36] <simon_w|air> MemberTest might have some?
346: [07:12:29] * haydn has joined #silverstripe
347: [07:13:01] <haydn> hi
348: [07:14:27] * UncleCheese has joined #silverstripe
349: [07:14:44] <ss23> simon_w|air: https://github.com/silverstripe/silverstripe-cms/pull/982 :D
350: [07:16:24] <haydn> hi UncleCheese
351: [07:16:34] <UncleCheese> hi
352: [07:18:53] <haydn> I'm in the middle of SS3 ing your calendar reservation tutorial
353: [07:19:19] <haydn> it's going ok, but i think I'm hitting up on the ORM stuff you mentiond
354: [07:19:52] <haydn> I'd just like to know if what I've found isa bug, or feature request or working as desgned
355: [07:20:15] * robert_ has joined #silverstripe
356: [07:20:22] <haydn> I've written it all out here http://www.silverstripe.org/data-model-questions/show/46983#post344557
357: [07:21:47] <simon_w|air> Hmm, pizza or curry for dinner
358: [07:21:52] <simon_w|air> Curry may be shut already
359: [07:22:27] <haydn> it's mainly about the grandchildren of Objects missing out on their functions and such
360: [07:22:35] <haydn> a curry shop shut already?
361: [07:22:51] <simon_w|air> It's getting late
362: [07:23:32] <haydn> different imezone tp GMT+12 /
363: [07:23:49] <haydn> or it is 13 today
364: [07:23:49] <simon_w|air> +12? Eastern Russia?
365: [07:25:07] <haydn> DST +1300 UTC
366: [07:25:08] <haydn> NZ
367: [07:26:10] * terryapodaca has joined #silverstripe
368: [07:26:23] <simon_w|air> And it's half past 8 on a Wednesday
369: [07:26:33] <simon_w|air> Makes sense for the suburban shops to be closing
370: [07:28:14] <haydn> I spose, I don't think I've chased a curry on Wednesday night
371: [07:45:20] * danfo has joined #silverstripe
372: [07:54:57] <Colin[pi]> simon_w: sounds like canberra
373: [07:55:33] <simon_w> Colin[pi], ended up with pizza though :)
374: [07:56:29] <Colin[pi]> mmm
375: [07:57:07] <Colin[pi]> mate there is a good old fashioned pizza takeaway at Mawson, did you try it?
376: [07:57:25] <simon_w> Don't think so
377: [07:57:48] <Colin[pi]> johno's pizza and takeaway.. they have these AWESOME mexican spicy pizzas
378: [07:57:49] <simon_w> Had the Turkish place in Woden, and that's the only non-chain place we've been to that does pizzas
379: [07:58:01] <Colin[pi]> oh that place is good too, did you have the banquet?
380: [07:58:20] <simon_w> I think so? Was on my first visit, so memory's a little hazy
381: [07:58:52] <Colin[pi]> the waiter tricked us into it, have the banquet they said... try a bit of everything they said
382: [07:58:54] <Colin[pi]> well fuck
383: [07:59:00] <Colin[pi]> we couldn't finish it all
384: [07:59:03] <Colin[pi]> it was INSANE
385: [07:59:07] <simon_w> Haha
386: [07:59:15] <simon_w> There was 5 of us, so that helped
387: [07:59:34] <Colin[pi]> it was so good, but SOO much
388: [08:01:42] * Shrike_Finland quit (Quit: Leaving.)
389: [08:07:10] * Shrike_Finland has joined #silverstripe
390: [08:08:04] * bobkosse has joined #silverstripe
391: [08:08:22] * bobkosse quit (Client Quit)
392: [08:11:53] * zippy__ has joined #silverstripe
393: [08:12:25] * SightUnseen has joined #silverstripe
394: [08:14:13] * SightUnseen has left #silverstripe
395: [08:18:12] * r3v3rb has joined #silverstripe
396: [08:19:49] * haydn quit (Quit: Page closed)
397: [08:20:24] * haydn has joined #silverstripe
398: [08:21:19] * Andrew__ has joined #silverstripe
399: [08:21:26] <Andrew__> hi
400: [08:23:05] <Andrew__> I have a problem with SS 3.1 where I have installed NivoSlider extension module...if I add a new HTML editable field to the CMS and I reload the hamepage where the slider and the newly created html editable field is, I get a query error - > NivoSliderID not found
401: [08:23:56] <Andrew__> how can this be solved, knowing that I need the NivoSlider slider and the new editable HTML field in the same page HomePage?
402: [08:26:54] <r3v3rb> morning all
403: [08:27:55] * Shrike_Finland quit (Quit: Leaving.)
404: [08:30:02] * Sj0hn has joined #silverstripe
405: [08:30:08] <Sj0hn> Morning
406: [08:30:19] <Andrew__> good morning
407: [08:30:34] <simon_w> Andrew__, what's the error?
408: [08:30:52] <Andrew__> Page.NivoSliderID cannot be found
409: [08:31:15] <Andrew__> and before adding the new editable HTML field everything works fine
410: [08:31:31] <simon_w> Andrew__, do you have a has_one to NivoSlider on Page?
411: [08:31:36] <Andrew__> yes
412: [08:31:41] <simon_w> Oh, this is the lazy loading stuff
413: [08:31:53] <Andrew__> what should I do?
414: [08:32:07] <simon_w> Are you sorting or filtering HomePage based on NivoSliderID? Or anything to do with the slider?
415: [08:32:19] <Andrew__> no
416: [08:32:47] <simon_w> Hmm, then it shouldn't be trying to do anything with the ID column
417: [08:32:49] <Andrew__> the slider is created in the CMS and then added to HomePage via a CMS created field
418: [08:33:01] <simon_w> Can you pastie (pastie.org) the entire error, including the stack trace?
419: [08:33:12] <Andrew__> sure
420: [08:33:38] <Andrew__> give me a mom, bc he client may be looking the website and I changed the code to what it was before
421: [08:33:49] <zippy__> Andrew__: After adding the module, did you dev/build to create the tables and what not?
422: [08:33:54] <Andrew__> but I will remake all that it was and give you the page also
423: [08:33:58] <Andrew__> of course
424: [08:44:50] <Andrew__> ok
425: [08:44:53] <Andrew__> the error is
426: [08:44:56] <Andrew__> [User Error] Couldn't run query: SELECT DISTINCT "SiteTree_Live"."ClassName", "SiteTree_Live"."Created", "SiteTree_Live"."LastEdited", "HomePage_Live"."desptext", "HomePage_Live"."reftext", CASE WHEN "SiteTree_Live"."ClassName" IN ('Page', 'HomePage', 'ErrorPage', 'RedirectorPage', 'VirtualPage') THEN "Page"."NivoSliderID" WHEN "SiteTree_Live"."ClassName" IN ('HomePage') THEN "HomePage_Live"."NivoSliderID" ELSE NULL END AS "Ni
427: [08:46:08] <Andrew__> Unknown column 'Page.NivoSliderID' in 'field list'
428: [08:46:10] <simon_w> Andrew__, use sspaste.org
429: [08:46:27] * wmk has joined #silverstripe
430: [08:46:33] * Shrike_Finland has joined #silverstripe
431: [08:46:53] <wmk> gmorning
432: [08:47:39] <Andrew__> you can check out here www.sion.pixel-life.ro
433: [08:47:49] <Andrew__> I have the dev environment activated
434: [08:48:19] <zippy__> Andrew__: you havn't added the extension and flushed have you
435: [08:48:34] <zippy__> as that will setup the hasone / column
436: [08:48:37] <Andrew__> I did run a dev/build?flush=1
437: [08:48:48] <Andrew__> and then I ?flush=all the page
438: [08:49:01] <zippy__> Andrew__: https://github.com/micmania1/silverstripe-nivoslider#adding-a-slide-to-a-page did you do this?
439: [08:49:20] <zippy__> Either the yaml or php option
440: [08:49:55] <Andrew__> I used the php version
441: [08:49:59] <Andrew__> but let me check
442: [08:50:47] <Andrew__> Object::add_extension("Page", "NivoSliderSiteTreeExtension"); Object::add_extension("NivoSlider", "SiteTreeNivoSliderExtension");
443: [08:50:57] <Andrew__> I used this in _config.php
444: [08:51:00] <r3v3rb> hmm, I have a situation where my page maybe further down the /page/action/id/otherid and I need to AJAX request to the original controller via jquery - how can I target /page/myfunction
445: [08:51:16] <Andrew__> and HomePage page type extends Page, so it should be available
446: [08:51:34] <r3v3rb> should I setup a url_handler for each segment
447: [08:51:45] <Andrew__> should I add also Object::add_extension("HomePage", "NivoSliderSiteTreeExtension"); Object::add_extension("NivoSlider", "SiteTreeNivoSliderExtension"); in _config.php ?
448: [08:54:16] <Andrew__> I added the extra line mentioning HomePage in _config.php but the same error when flushing the page
449: [08:55:56] <zippy__> Andrew__: You'd have to dev build to get the new database field
450: [08:56:16] <ss23> Anyone know of or have or * a good load testing infrastructure?
451: [08:56:30] <terryapodaca> Andrew__: what's your template code?
452: [08:56:34] <ss23> I would love to be able to replay access logs from production (perhaps with other tweaks, e.g. at 1.5x speed) and observe results
453: [08:57:06] <simon_w> ss23, Facebook does :p
454: [08:57:28] <ss23> simon_w: 100% opensource? :P
455: [08:57:37] <Andrew__> the template calls $NivoSlider in a div and the lower it calls the two new editable html fields in the same way
456: [08:57:48] <Andrew__> I just ran dev/build
457: [08:57:50] <simon_w> ss23, if it is, it'll be on their github page thingy :p
458: [08:57:57] <r3v3rb> anyone see my little question?
459: [08:58:33] <ss23> "Thrift on Netty"
460: [08:58:36] <ss23> these repo descriptions...
461: [08:58:51] <r3v3rb> about the jquery calling a function when on a page that has an action/id/otherID
462: [08:59:19] <r3v3rb> the jquery is calling page/action/id/otherid/function not /function
463: [08:59:26] <ss23> simon_w: Does not look like it!
464: [09:00:30] <r3v3rb> actually I think I just fixed it :D
465: [09:00:50] <Andrew__> what other should I change?
466: [09:01:10] <terryapodaca> Andrew__: for some reason, there is no column NivoSliderID in your Page model
467: [09:01:15] <Andrew__> the problem is the new editable field
468: [09:01:17] <Andrew__> right
469: [09:01:26] <wmk> Andrew__, did dev/build really rebuild the db or are there any errors?
470: [09:01:38] <Andrew__> before adding the new editable html field everything works fine
471: [09:01:49] <Andrew__> and if I delete them from the code it works fine
472: [09:01:53] <wmk> if you have a php error in any class dev/build breaks and doesn't update db
473: [09:02:01] * kinglozzer has joined #silverstripe
474: [09:02:12] <terryapodaca> wmk his dev/build is fine, no errors
475: [09:02:29] <wmk> ok
476: [09:02:40] <Andrew__> the thing is, it does dev/build, not sure if the update works but when flush=all I get the error again
477: [09:03:04] <terryapodaca> Andrew__: did you remove the Object::add_extension("Page", "NivoSliderSiteTreeExtension"); and replace it with Object::add_extension("HomePage", "NivoSliderSiteTreeExtension"); ?
478: [09:03:14] <wmk> well, if the Column isn't in the db then i think dev/build had some error / problem updating db
479: [09:03:18] <Andrew__> I will do that right now
480: [09:03:48] <terryapodaca> wmk: http://www.sion.pixel-life.ro/dev/build?flush=all
481: [09:03:57] <terryapodaca> you can run it
482: [09:04:08] <wmk> ah... yes, having the column in both, HomePage and Page makes problems
483: [09:05:36] <Andrew__> I think that was the problem :)
484: [09:06:07] <Andrew__> I called Object::add_extension in both Page and HomePage
485: [09:06:16] <Andrew__> and the slider was in HomePage :)
486: [09:06:26] <Andrew__> it's working now..I see no other error
487: [09:06:37] <wmk> Andrew__, great
488: [09:06:55] <terryapodaca> still working on responsive stuff i see
489: [09:07:01] <Andrew__> Thank you very much guys, you've been of great help!
490: [09:07:08] * danfo quit (Quit: danfo)
491: [09:07:09] <Andrew__> yes
492: [09:07:16] <terryapodaca> what 'template' did you start with?
493: [09:07:24] <terryapodaca> for the responsive'ness
494: [09:07:24] <Andrew__> thanks terryapodaca :)
495: [09:07:57] <Andrew__> I have ready html and I have to put it all in SS
496: [09:08:11] <Andrew__> it's based on bootstrap framework
497: [09:08:21] <terryapodaca> zippy__ actually mentioned this earlier, he's the one you should thank
498: [09:08:39] <Andrew__> thank you zippy__ :)
499: [09:10:02] * micmania1 has joined #silverstripe
500: [09:11:11] <ss23> simon_w|air: https://scrutinizer-ci.com/g/silverstripe/silverstripe-cms/inspections/c5e783b3-fe9e-434e-9815-8690f99a465c :(
501: [09:11:17] <ss23> why does this say a bunch of files changed that didn't even change?!
502: [09:11:18] <ss23> :(
503: [09:11:20] <ss23> It makes me sad
504: [09:11:24] <ss23> It says my code made the product worse
505: [09:11:25] <ss23> ;_;
506: [09:11:35] <ss23> oh
507: [09:11:36] <Andrew__> have a nice day guys and I will definitely come back if I ran into a problem again, the answers are very prompt and saves me hours of googling for the right solution :) thank you again
508: [09:11:42] <ss23> the big yellow warning tells me why
509: [09:11:42] <ss23> :O
510: [09:12:15] * Andrew__ quit (Quit: Page closed)
511: [09:12:45] <simon_w> ss23, branch change?
512: [09:13:00] <ss23> simon_w: idk, cruitinizer looks all messed up
513: [09:13:03] <ss23> https://scrutinizer-ci.com/g/silverstripe/silverstripe-cms/
514: [09:13:07] <ss23> 14 days ago, the repo was created?
515: [09:13:11] <terryapodaca> quick question...this older site i have been upgrading has a class called BetterImage that extends Image and it looks like an old way to preserve image size if resizing isn't needed.
516: [09:13:41] <terryapodaca> does SS3+ handle this better than older 2.3 versions?
517: [09:13:50] <terryapodaca> or should I copy this into the new site too
518: [09:14:15] <ss23> woah, scruitnizer is awesome :O
519: [09:14:17] <zippy__> terryapodaca: I don't think there is a SS image method which wont resize if its not needed. There is paddedImage which is close, but it will put a colored background in...
520: [09:14:22] <ss23> terryapodaca: The module won't work on both 2.3 and 3.X
521: [09:14:28] <simon_w> terryapodaca, it's not needed
522: [09:14:46] <simon_w> ss23, when it works and people actually listen to it!
523: [09:14:52] <ss23> simon_w: yeah! :D
524: [09:14:58] <ss23> simon_w: I can see why they don't, given how messed up it is
525: [09:15:00] <terryapodaca> ss23: it's not a module, it's a custom class
526: [09:15:03] <ss23> trying to say we only made cms a few days ago
527: [09:15:08] <ss23> terryapodaca: Class then :P
528: [09:15:13] <ss23> maybe it will, but eh
529: [09:15:16] <zippy__> simon_w: What is the method which wont resize an image if not needed (any wont pad with a color)? http://doc.silverstripe.org/framework/en/reference/image
530: [09:15:27] <simon_w> zippy__, all of them
531: [09:15:46] <zippy__> hmm
532: [09:16:03] <zippy__> I am 99.99% sure, I can called methods on small images and it resizes them up
533: [09:16:19] <ss23> simon_w: How can you $this->extend if on a static method?
534: [09:16:24] <terryapodaca> simon_w answered for me...so it sounds like it was a class commonly used back in the day before new versions of SS handled this built in?
535: [09:16:29] <simon_w> ss23, singleton()
536: [09:16:44] <simon_w> zippy__, yes it does, because those need resizing
537: [09:17:28] <ss23> simon_w: ty <3
538: [09:18:41] <zippy__> simon_w: right, I misread what he ment…. and just had a look at the class. Indeed it's not needed
539: [09:21:03] * Pyroik has joined #silverstripe
540: [09:22:54] <Pyroik> Everyone must contratulate micmania1.
541: [09:22:59] <Pyroik> kinglozzer :>
542: [09:23:09] <micmania1> :D
543: [09:23:09] <Pyroik> ss23 ^
544: [09:23:26] <ss23> ^.^
545: [09:23:29] <ss23> Congratulations, micmania1
546: [09:23:35] <ss23> And no sass talk from you, simon_w
547: [09:23:35] <ss23> :P
548: [09:23:39] <Pyroik> So, now all the fun shit with visas and the dosh to get a flight to go eh?
549: [09:23:49] <Pyroik> sass talk?
550: [09:23:58] <Pyroik> simon_w does sass talk?
551: [09:24:07] * simon_w is so sassy
552: [09:24:21] <simon_w> With the finger snaps and everything!
553: [09:26:14] <Colin[pi]> ya gots to sass it
554: [09:27:58] <Pyroik> <Colin[pi]> aw yiss
555: [09:28:01] <Pyroik> awww yis.
556: [09:28:12] <simon_w> micmania1, going by ss23's remark, I take it you'll be working for SS Ltd?
557: [09:28:40] <Pyroik> simon_w: I don't understand why you would forsake me like this? :<
558: [09:29:05] <Pyroik> simon_w: he's going to be ss23's partner in crime.
559: [09:29:10] <Pyroik> so far as I understand.
560: [09:29:17] <simon_w> Woo, another docs person!
561: [09:29:22] <Pyroik> ss23: is it still just you and Jean?
562: [09:29:33] <kinglozzer> Pyroik: Yuss he PM'd me
563: [09:29:37] <zippy__> no no simon_w, I think ss23 needs someones hand to hold so he can get 3.1.4 out
564: [09:29:53] <Pyroik> I had brief interview for that position last July, I can't believe there's not someone else already.
565: [09:30:01] <micmania1> simon_w: yes! :D
566: [09:30:30] <Pyroik> WDC and interviews and beers and all sorts of awesome. That was the best weekend of my life for a fair number of years.
567: [09:30:31] <Pyroik> :D
568: [09:30:55] <Pyroik> kinda sad really :<
569: [09:30:56] <Pyroik> lol
570: [09:31:02] <ss23> zippy__: cowman already wrote the patches
571: [09:31:02] <ss23> :P
572: [09:31:08] <ss23> zippy__: Looks like relaese will happen tomorrow! :D
573: [09:31:08] <Pyroik> Fuck, I'm homesick and shit I think :<
574: [09:31:23] <terryapodaca> if I need to upload a single PDF for front end Product Catalogue Download, is UploadField sufficient or is FileField best?
575: [09:31:25] <zippy__> ss23: and for that issue today?
576: [09:31:29] <ss23> Pyroik: We have new people :D
577: [09:31:33] <ss23> zippy__: What issue today? o.o
578: [09:31:36] <Pyroik> terryapodaca: front or back end?
579: [09:31:46] <zippy__> or was that for 3.2 branch
580: [09:31:51] <terryapodaca> backend upload field
581: [09:31:51] <Pyroik> backend: uploadfield, frontend filefield.
582: [09:32:00] <ss23> zippy__: Which what?! :O
583: [09:32:19] <Pyroik> ss23: so how big is the "fix the client's broken shit" team now?
584: [09:32:22] <Pyroik> :P
585: [09:32:38] <Pyroik> SMaction: did you solve your translation problem?
586: [09:32:44] * Tanger quit (Quit: Tanger)
587: [09:32:46] <terryapodaca> she basically changes her Product Catalogue twice a year so I want to put a field in the CMS to upload a new one so I don't have to go change links and ftp the PDF by hand
588: [09:32:52] <zippy__> ss23: nm, non issu
589: [09:32:58] <Pyroik> terryapodaca: great idea.
590: [09:33:07] <Pyroik> terryapodaca: if you use DMS you can get versioned files!
591: [09:33:13] <Pyroik> ie, replace old with new.
592: [09:33:26] <Pyroik> instead of having client clog up assets folder with billions of out of date pdfs.
593: [09:33:44] <Pyroik> but... that's also a bit of the hard road if site already mostly done.
594: [09:34:02] <simon_w> ss23, but I told you how to make one of the patches better, without the eval-esque code! :p
595: [09:34:05] <ss23> Pyroik: Hmmm, 4! :D
596: [09:34:05] * Tanger has joined #silverstripe
597: [09:34:13] <ss23> simon_w: Yeah, and he'll fix it! :D
598: [09:34:25] <Pyroik> ss23: doubled in size! so is micmania1 #5 or'4?
599: [09:34:29] <Pyroik> #4*
600: [09:34:36] <ss23> Pyroik: neither
601: [09:34:37] <ss23> :P
602: [09:34:43] <ss23> If we include the team he's in, it's like ~30
603: [09:34:56] <Pyroik> but but... oh. So it's not the same position then :P
604: [09:35:14] <Pyroik> (that I almost applied for_
605: [09:35:16] <Pyroik> )
606: [09:35:20] <ss23> Yeah :P
607: [09:35:44] <simon_w> [ 35%] Building CXX object hphp/runtime/CMakeFiles/hphp_runtime_static.dir/vm/native.cpp.o
608: [09:35:44] <simon_w> Why so slow?? It's not like it's the second biggest file in HHVM or anything...
609: [09:36:02] <ss23> more CPU's bro
610: [09:36:12] <simon_w> Won't help
611: [09:36:24] <Pyroik> Fuck I almost regret moving here. I mean, it's a new exerience... but if I'd stayed in NZ I could have a sweet job and an un mashed face.
612: [09:36:27] <ss23> wtf
613: [09:36:27] <micmania1> so ss23, no mac, right? :p
614: [09:36:35] <ss23> how come master branch takes 13+ minutes to build?
615: [09:36:39] <ss23> https://travis-ci.org/silverstripe/silverstripe-cms
616: [09:36:46] <ss23> oh, behat
617: [09:36:46] <ss23> lol
618: [09:36:53] <ss23> micmania1: You'll be getting one
619: [09:36:54] <ss23> ;)
620: [09:36:56] <Pyroik> micmania1: lulz you get a mac.
621: [09:37:04] <simon_w> Behat: great in theory, horrible and slow in practice
622: [09:37:07] <Pyroik> not as bad as it sounds though.
623: [09:37:23] <micmania1> meh! I'll learn.
624: [09:37:23] <simon_w> I just merge 'em, then Ingo has to deal with them being slow :D
625: [09:37:33] <Pyroik> simon_w: I mean... Behat: has some theory, but I still don't know what the f it is.
626: [09:37:34] <ss23> Well, the idea is it's better to wait for 15 minutes on a PR than merge failing tests I guess
627: [09:37:57] <simon_w> Pyroik, basically running stuff in a browser to make sure it still works
628: [09:38:08] <Pyroik> Behat is an ancient town and a nagar panchayat in Saharanpur district on the northern tip of the state of Uttar Pradesh, India.
629: [09:38:13] <ss23> lol
630: [09:38:19] * Shrike_Finland quit (Quit: Leaving.)
631: [09:38:37] <Colin[pi]> OH REALLY? I thought it was this: http://mabear.info/images/TBee072108.jpg
632: [09:38:41] * ocm has joined #silverstripe
633: [09:38:44] <ocm> howdy
634: [09:38:46] * Shrike_Finland has joined #silverstripe
635: [09:38:51] <ss23> no you're tihnking of bear hats
636: [09:39:06] <simon_w> And still haven't heard back from Facebook! Slackers!
637: [09:39:11] <Pyroik> Wholey fuck it's been a week since I washed my face... its starting to get unplesant.
638: [09:39:13] <ss23> What about? :O
639: [09:39:14] <Pyroik> :<
640: [09:39:15] <ss23> Oh, flights
641: [09:39:20] <ss23> Pyroik: ..... yum
642: [09:39:35] <ss23> simon_w: https://github.com/silverstripe/silverstripe-cms/pull/982 GREEN = MERGE
643: [09:39:36] <Colin[pi]> simon_w: they're too busy crushing the hopes and dreams of VR gamers everywhere
644: [09:39:40] <ss23> Just need to add tests then I merge
645: [09:39:42] <zippy__> mmhm
646: [09:39:53] <simon_w> Colin[pi], nah, that's just notch
647: [09:39:54] <Pyroik> simon_w: flights?
648: [09:39:57] <ss23> simon_w: lol bs
649: [09:40:00] <Pyroik> err, ss23 ^
650: [09:40:03] <simon_w> Pyroik, yup
651: [09:40:15] <ss23> simon_w is ordering flights throguh Facebook
652: [09:40:17] <ss23> or something
653: [09:40:19] <Pyroik> oh
654: [09:40:23] <Pyroik> F that man.
655: [09:40:23] <Colin[pi]> dafuq?
656: [09:40:28] <simon_w> They're flying me over
657: [09:40:28] <ss23> apple & facebook sitting in a tree, simon_w fanboying
658: [09:40:30] <Pyroik> F anything with the F book.
659: [09:40:38] <Colin[pi]> ss23: XD
660: [09:40:41] <simon_w> For http://www.eventbrite.com/e/hack-developer-day-registration-10977795883
661: [09:40:46] <Pyroik> simon_w: you getting a job with the Fbook?
662: [09:40:55] <Pyroik> ok
663: [09:40:56] <simon_w> Pyroik, not likely :(
664: [09:40:58] <ss23> simon_w: Why don't they just hire you in the Canberra branch ?:P
665: [09:41:03] <Pyroik> for hacking hack?
666: [09:41:06] <Pyroik> and hhvm?
667: [09:41:35] <simon_w> For a party!
668: [09:41:43] <simon_w> Though the party is private
669: [09:41:47] <Pyroik> niiiice
670: [09:41:51] <Colin[pi]> simon_w gonna par-tay wid da zuck
671: [09:42:02] <Pyroik> congratulations simon_w :>
672: [09:42:26] <Pyroik> is it because you're ~#1 contributer to hhvm?
673: [09:42:41] <simon_w> It's because we've been using Hack a lot and been contributing to HHVM
674: [09:42:49] <Colin[pi]> day gonna steal him from us :(
675: [09:43:02] <Colin[pi]> that's how it all starts, an innocent party
676: [09:43:11] <Colin[pi]> nek minnit: you on zuck's private jet
677: [09:43:25] <simon_w> Don't worry Colin[pi], they only hire famous PHP devs to work remote to start with
678: [09:43:26] <Pyroik> lulz
679: [09:43:37] <Colin[pi]> simon_w: ur famous to us!
680: [09:43:38] <Pyroik> simon_w: but you're a famous PHP dev!
681: [09:43:42] <Colin[pi]> everyone knows you
682: [09:43:45] <Pyroik> :P
683: [09:43:52] <simon_w> Suck ups :p
684: [09:44:01] <Pyroik> Me? nah I'm just infamous.
685: [09:44:07] * Shrike_Finland quit (Quit: Leaving.)
686: [09:44:28] * Shrike_Finland has joined #silverstripe
687: [09:45:04] <Pyroik> wholey shit behat is so loose it does my head in :<
688: [09:45:10] <Pyroik> how does something like that get parsed :<
689: [09:45:21] <zippy__> lots of magic it seems
690: [09:45:23] <zippy__> crazy
691: [09:45:24] <Pyroik> "jut write english, magic happens, green light"
692: [09:45:30] <Pyroik> urgh
693: [09:45:34] <Pyroik> how do evenwhat
694: [09:45:48] <zippy__> I think it's a 50/50 random on the green light ;-)
695: [09:46:09] <Pyroik> haha
696: [09:47:17] <Pyroik> argh the face itch is amazingly strong, I can't... I just can't go on. Someone give me gun.
697: [09:47:30] <Colin[pi]> dude I can't even imagine
698: [09:47:49] <zippy__> Pyroik: is that still from your bike months ago?
699: [09:47:55] <Pyroik> zippy__: nope
700: [09:48:02] <Pyroik> Assault 2.5 weeks ago.
701: [09:48:06] <zippy__> smash face take 2?
702: [09:48:09] <zippy__> damn… rough
703: [09:48:19] <Pyroik> zippy__: didn't smash face first time. Just cut forehead.
704: [09:49:18] <Pyroik> zippy__: yeh. It was pretty brutal, I went back this time last week I was getting wheeled into plastic sugery for knock out drugs.
705: [09:49:44] <Colin[pi]> Pyroik is just trying to become a real-life Picasso painting
706: [09:49:52] <Pyroik> hah, opposite Colin[pi] !
707: [09:49:57] <Colin[pi]> ;)
708: [09:50:06] <Pyroik> Woke up an hour later with a straight face!
709: [09:50:33] <Colin[pi]> lol
710: [09:50:42] <Pyroik> well... will never be like it was, but straighter. Not how assailants left it, so that's the important part. Surgeon later described my nose as "mush".
711: [09:51:06] <Pyroik> this is after he'd said I was late coming in and he might not be able to do anything because it's likely too set already.
712: [09:51:24] <Colin[pi]> did you already post a pic?
713: [09:51:33] <Colin[pi]> morbid curiousity :o
714: [09:51:35] <Pyroik> apparently it was surprisingly easy to move.
715: [09:51:39] <Pyroik> and yes, you missed it.
716: [09:51:42] <Colin[pi]> well shit
717: [09:51:43] * Shrike_Finland quit (Quit: Leaving.)
718: [09:51:55] <Pyroik> just look like anyone else with a broken nose and a haircut though.
719: [09:52:08] * spronk2 has joined #silverstripe
720: [09:52:12] * Shrike_Finland has joined #silverstripe
721: [09:52:23] <Pyroik> Super relived I didn't need full on rhinoplasty.
722: [09:52:33] <Pyroik> Just a common reset.
723: [09:52:40] <Colin[pi]> yeah that's lucky
724: [09:53:18] <Pyroik> Still. I can now say I feel much safer walking through the middle of south auckland alone late on a friday night than I do walking anywhere in England after dark.
725: [09:53:31] <Colin[pi]> people.. what a bunch of bastards
726: [09:53:36] <Pyroik> mmm.
727: [09:53:40] <Pyroik> Not all, thankfully.
728: [09:54:07] <Pyroik> The worst part is the law though. So much bullshit for fear of wrongful prosecution that cops can't do shit even though they know who they are.
729: [09:54:14] <Colin[pi]> yeah it makes the good ones all the more special and valuable :o
730: [09:54:22] <Pyroik> mmm, true that I guess.
731: [09:55:03] <Pyroik> Weirdest part is that this is normal shit over here. micmania1 has to be about the only chap I know who hasn't been victim of an unprovoked attack.
732: [09:55:20] <Pyroik> but that might just be because I've never asked.
733: [09:55:44] <micmania1> Pyroik: I know a few others who have too. Guess I've been lucky.
734: [09:55:46] <Colin[pi]> alcohol fueled?
735: [09:56:29] <Pyroik> Colin[pi]: nah. That's just what happens on this island.
736: [09:56:44] <Pyroik> well, possibly alcohol involved. Dunno.
737: [09:56:50] <Pyroik> but it's common.
738: [09:56:59] <Pyroik> and does happen alcohol or not.
739: [09:57:14] <micmania1> Normally, it is pissed up charvas (charvas == trampy cunts (to put it nicely))
740: [09:57:36] <Colin[pi]> fuck that
741: [09:57:44] <Colin[pi]> I had no idea it was so prevalent
742: [09:57:54] <Pyroik> Neither did I :<
743: [09:57:59] <kinglozzer> Yeah we all get beaten up/stabbed all the time over here :/
744: [09:58:08] <Pyroik> fucked up thing is that as time goes on I get little bits of memory here and there.
745: [09:58:09] <kinglozzer> Well, not stabbed often thankfully
746: [09:58:14] <micmania1> haha its not that bad.
747: [09:58:17] <kinglozzer> :P
748: [09:58:55] <Pyroik> I remember hiding from the group that did me over before unfortunately got spotted, just as they'd almost go well past me and I would have been safe.
749: [09:58:59] <Pyroik> one turned around and saw me :<
750: [09:59:23] <Pyroik> Took me over a week to remember that.
751: [09:59:51] <Pyroik> kinglozzer: yeh. But don't need knives to take a life :<
752: [10:00:01] <micmania1> yeah, there's some cunts but its not often that'll happen. I know like 3 others who've been beaten up for no reason. 2 were 13/14 at the time.
753: [10:00:23] <micmania1> so by other people the same age.
754: [10:00:27] <Pyroik> Yeh, I keep gettng told that it's really rare in my city.
755: [10:00:38] <Pyroik> so it's all "oooooh, lucky me!"
756: [10:00:43] <Pyroik> I'm the mother fucking chosen one.
757: [10:01:00] <Pyroik> All for £80 and a 5 year old android 2.2 phone worth about $20.
758: [10:01:01] * danfo has joined #silverstripe
759: [10:01:03] <Pyroik> or less.
760: [10:01:15] <kinglozzer> It's only happened to me once, I was around 17 at the time and the guys who did it were travellers who have a bit of a reputation for that over here
761: [10:01:27] <Pyroik> fuck'n pikeys?
762: [10:01:32] <kinglozzer> Yup
763: [10:01:47] <micmania1> 'travellers' - kinglozzer Mr PC lol
764: [10:01:59] <Pyroik> hear that shit on the radio a week or so back that some guy got his penis chopped off and thrown out the window of a moving car for having it off with some pikey's missus.
765: [10:02:13] <Pyroik> rofl, ikr micmania1 :>
766: [10:02:18] <micmania1> Pyroik: lmao!! That was just down the road
767: [10:02:23] <Pyroik> really?
768: [10:02:26] <Pyroik> fuck o.0
769: [10:02:28] <micmania1> They closed the road off trying to find it hahaha
770: [10:02:29] <Colin[pi]> what in the actual
771: [10:02:31] <kinglozzer> Haha, I didn't wanna risk offending any pikey SS devs ;)
772: [10:02:58] <Pyroik> yeah, they shut down a whole section of dual carriage highway Colin[pi] while the cops scoured the countryside for a detached penis.
773: [10:03:00] <ss23> the kind of people to chop off penises, I hope, aren't going to be mentally capable of any kind of programming
774: [10:03:10] <Pyroik> ss23: mmm.
775: [10:03:37] <ss23> My hope is in vain I know, but still
776: [10:03:44] <micmania1> ss23: You should have been on ehre the past few days. You'd think differernt.
777: [10:03:47] <kinglozzer> I'm sure they're not /all/ penis-chopping maniacs :P
778: [10:04:02] <Colin[pi]> Pyroik: I just told my gf about what happened with the penis, she said "Ohhh, that's good"
779: [10:04:07] <kinglozzer> Hahaha yeah, you could've met Pyroik's new friends
780: [10:04:10] <Pyroik> kinglozzer: micmania1 the most amazing part about this kinda shit though is that it takes TWO people to fuck.
781: [10:04:18] <micmania1> I want to search for the news story but i'm at work and don't want my legacy to be search 'mans penis chopped off' in google :(
782: [10:04:32] <Pyroik> micmania1: hahahah
783: [10:04:40] <Pyroik> incognito window ftw?
784: [10:04:41] <Pyroik> :P
785: [10:04:44] <wmk> micmania1, lmgtfy ???
786: [10:04:51] <ss23> micmania1: XD
787: [10:04:56] <Colin[pi]> dat proxy log
788: [10:05:07] <Pyroik> proxies, urgh.
789: [10:05:09] <micmania1> yeah, but still. All the things that could be displayed on my screen.
790: [10:05:21] * Shrike_Finland quit (Quit: Leaving.)
791: [10:05:23] <Pyroik> yeah, not the kind of thing you want at 10am
792: [10:05:27] <Pyroik> or pm. for that matter.
793: [10:05:37] <micmania1> Someone search 'Stockton A66 Man Penis' for me
794: [10:05:37] <Colin[pi]> micmania1: dicks, dicks everywhere
795: [10:05:58] <micmania1> oh, and 'BBC' for good measure
796: [10:05:59] <Pyroik> oh fuck, it was in stockton, hahah
797: [10:06:06] <Colin[pi]> http://www.bbc.com/news/uk-england-tees-26565833
798: [10:06:09] <Colin[pi]> ^ there
799: [10:06:15] <micmania1> That's it hahaha
800: [10:06:35] <ss23> lol
801: [10:06:39] <ss23> police are like "wounds to groin"
802: [10:06:40] <micmania1> They closed the road for hours to look for it hahahaha
803: [10:06:47] <ss23> everyone else is like "PENIS IS MISSING LOOOL"
804: [10:06:59] <Colin[pi]> ss23: rofl
805: [10:07:47] <Colin[pi]> lol my gf said "maybe a dog ate it"
806: [10:07:50] <ss23> XD
807: [10:08:15] <Pyroik> saaaaaauuuuusage.
808: [10:08:15] <micmania1> https://twitter.com/JeremyClarkson/status/444160849671114752
809: [10:10:01] <Colin[pi]> lol
810: [10:11:37] * danfo quit (Quit: danfo)
811: [10:12:30] <simon_w> Figuring out https://github.com/simonwelsh/hhvm/commit/5b23ed6 did my head in, but it's done now
812: [10:12:32] <simon_w> So sleeps!
813: [10:18:01] <Pyroik> oh gross. Managed to slip a finger under splint on forehead (unaffected area but covered because used to hold splint in place) and a whole chunk of skudge came out :(
814: [10:18:05] <Pyroik> urgh :<
815: [10:18:16] <Colin[pi]> brains... BRAAIIIINNNS
816: [10:18:19] <Pyroik> no wonder itchy <
817: [10:18:21] <Pyroik> :<
818: [10:20:57] <Pyroik> So I listened to this talk on domain event replay object inflation for state restore, instead of storing loads of entire snapshots and shit in the database.
819: [10:21:32] <Pyroik> I like it. I've thought about this for re-doing history (or versioned) in the past, but it was really cool to seem some practical examples.
820: [10:22:03] * zippy__ quit (Quit: zippy__)
821: [10:22:11] * munk0r has joined #silverstripe
822: [10:23:28] <munk0r> hi, can anyone point me in the direction of how to selectively disable html escaping in session flash messages (I'd like to render some hard-coded html in Member.LOGGEDINAS
823: [10:23:55] <Pyroik> put .RAW on the end of the template var
824: [10:24:20] * UncleCheese quit (Quit: UncleCheese)
825: [10:24:41] <munk0r> hmm ok, although I don't want to disable escaping for all flash messages all the time
826: [10:25:08] <munk0r> i'll localise the relevant template and try iterations of that though, thanks
827: [10:25:18] <andylockran> hey guys
828: [10:25:40] <andylockran> running 3.0 and Session::start() keeps blocking.
829: [10:25:53] <micmania1> LOGGEDINAS - I assume this displays the users name? Not a good idea to escape entirely. I once knew this guy called <script>alert(1);</script>
830: [10:26:09] <andylockran> I've set the backend to memcached in the hope that'd speed it up.
831: [10:26:17] <andylockran> alas, something else is blocking.
832: [10:26:23] <munk0r> hehe micmania1
833: [10:27:10] <munk0r> well yes by default it displays the name although I'm not.
834: [10:27:35] <munk0r> I want to say "You're already logged in, <a href="/">go here</a>" sort of thing
835: [10:29:17] <micmania1> I think you'd have to find where it created the message and change it to HTMLText to control the casting
836: [10:29:34] <micmania1> Checkout this: http://api.silverstripe.org/3.0/class-DBField.html#_create_field
837: [10:30:25] <micmania1> DBField::create_field("HTMLText", '<a href="#">Blah</a>'");
838: [10:31:51] <munk0r> wow that worked.
839: [10:32:29] <munk0r> so the template does some introspection on the objects it's rendering, because there can be more than just strings, and treats them differently?
840: [10:33:00] <Pyroik> No, it doesn't.
841: [10:33:05] <Pyroik> It just gets objects.
842: [10:33:22] <Pyroik> If a method doesn't exist on an object it's given, nothing happens.
843: [10:33:44] <micmania1> If you try to render a plain string, the template will encode it just to be safe which is what was happening.
844: [10:34:08] * Shrike_Finland has joined #silverstripe
845: [10:34:11] <munk0r> ok right.
846: [10:34:40] <Pyroik> mmm. Strings aren't objects, and are just displayed raw. Except a quick scan for injections I think.
847: [10:34:40] <munk0r> thanks heaps!
848: [10:35:04] <Pyroik> munk0r: also look at casting (in docs under oneof the templating sections)
849: [10:35:28] <munk0r> yes it might pay to do that and read the code to fully get my head around that.
850: [10:35:45] <micmania1> Pyroik: nope. It was changed as a precaution.
851: [10:35:57] <Pyroik> micmania1: oh, so auto casting now?
852: [10:36:00] <Pyroik> cool :>
853: [10:36:04] <micmania1> I believe so
854: [10:36:36] <micmania1> It caused a load of issues in the CMS, which really highlighted potential vulnerabilities
855: [10:38:13] <micmania1> Pyroik: https://groups.google.com/forum/#!msg/silverstripe-dev/FUSLnS3hNzQ/67EbenosyWsJ
856: [10:38:22] <micmania1> see the first post
857: [10:44:00] <Pyroik> mm. I see.
858: [10:44:58] * abitran quit (Ping timeout: 240 seconds)
859: [10:51:51] * tinyzygote is now known as TOP_INTERNET
860: [10:51:57] * TOP_INTERNET is now known as tinyzygote
861: [10:56:47] * r3v3rb quit (Quit: r3v3rb)
862: [10:57:34] * r3v3rb has joined #silverstripe
863: [10:57:41] * r3v3rb quit (Client Quit)
864: [11:16:17] * munk0r quit (Ping timeout: 265 seconds)
865: [11:26:24] * Bollig|DesignCty quit (Ping timeout: 252 seconds)
866: [11:36:13] * danfo has joined #silverstripe
867: [11:45:30] * abitran has joined #silverstripe
868: [11:48:34] * babak quit (Quit: Connection closed for inactivity)
869: [12:03:40] * Shrike_Finland quit (Quit: Leaving.)
870: [12:10:01] * Tanger quit (Quit: Tanger)
871: [12:10:14] * deschebbs has joined #silverstripe
872: [12:11:34] <deschebbs> Your line from 2012 saved my lunch! thanx simon_w|air! Quot"<simon_w|air> yeah, a HtmlEditorField needs to go into a HTMLText"
873: [12:16:41] * Sj0hn quit (Ping timeout: 252 seconds)
874: [12:18:20] * gelignite has joined #silverstripe
875: [12:21:47] <andylockran> any ideas or recommendations on the session ?
876: [12:22:38] * Colin[pi] quit (Ping timeout: 240 seconds)
877: [12:23:42] <kinglozzer> andylockran: I know simon_w encountered that before, don't think he's here now: http://www.silverstripe.org/improving-silverstripe-performance/
878: [12:28:53] * spronk2 quit (Quit: spronk2)
879: [12:30:27] * Sj0hn has joined #silverstripe
880: [12:36:48] * Shrike_Finland has joined #silverstripe
881: [12:37:06] * NobrainerWeb has joined #silverstripe
882: [12:42:22] <micmania1> Pyroik: https://www.youtube.com/watch?v=7Bg586-wl38 - LOL
883: [12:43:40] <Pyroik> wholey fuck first comment so offencive.
884: [12:44:19] <Pyroik> 1) not true. So I open thread. Half way down some cunt says "Only NZ, not Aussies" WRONG MOTHERFUCKER, Aussie is the eeeeeiiiieieieieieieieieieeieieiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiyyyyyyy accent.
885: [12:44:38] <Pyroik> welcome to Siiiiiiiiiiiiiidniiiiiiiiiiiiiiiiiii they say.
886: [12:45:22] <micmania1> haha I never read the comments
887: [12:46:35] <Pyroik> also, chappy in video is putting on a South African accent.
888: [12:46:44] <Pyroik> lol, fucking moron Americans.
889: [12:47:28] <Pyroik> me plugged in headphones for winning :D
890: [12:51:25] * r3v3rb has joined #silverstripe
891: [12:56:02] * wmk quit (Quit: nice to meet you ;))
892: [12:57:51] * r3v3rb quit (Quit: r3v3rb)
893: [12:58:15] * NobrainerWeb quit (Quit: NobrainerWeb)
894: [13:01:30] <andylockran> any ideas or recommendations on the session ?cls
895: [13:01:36] <andylockran> sorry - my pain
896: [13:05:19] <Pyroik> no idea what you're talking about.
897: [13:08:18] * Shrike_Finland quit (Quit: Leaving.)
898: [13:11:36] * Trieste quit (Disconnected by services)
899: [13:15:17] * Shrike_Finland has joined #silverstripe
900: [13:26:45] * catcher has joined #silverstripe
901: [13:31:04] * gelignite quit (Quit: http://bit.ly/nkczDT)
902: [13:58:36] * Sj0hn quit ()
903: [13:59:01] * Alfirin has joined #silverstripe
904: [14:03:04] <Alfirin> Hello, I ran into a problem with the blog module
905: [14:03:30] <Alfirin> I'm not exactly sure, but it looks like the pages don't load the right template, but rather the basic page template
906: [14:04:31] <Pyroik> flush
907: [14:04:37] <Pyroik> add ?flush=1 to the end of your url
908: [14:04:41] <Alfirin> I did
909: [14:04:45] <Alfirin> multiple times, even
910: [14:05:04] <Pyroik> the pages are set to BlogEntry?
911: [14:05:20] <Alfirin> entry and holder, and the back end works fine
912: [14:05:25] <Pyroik> You are using the old SS blog module, not micmania1's more up to date one?
913: [14:05:32] <Pyroik> yeah back end doesn't use templates.
914: [14:05:36] <Pyroik> but yeh.
915: [14:05:57] <Alfirin> I use this one https://github.com/silverstripe/silverstripe-blog
916: [14:06:03] <Pyroik> yeh, that's the SS one.
917: [14:06:16] <Pyroik> add... umm ?showtemplate to the url, iirc.
918: [14:08:35] <Alfirin> doesn't seem to affect anything
919: [14:08:46] <Alfirin> Should I try the other module?
920: [14:09:31] <Pyroik> well, there's no reason this won't work. The only thing I can think of is that you've installed the module to the wrong place.
921: [14:10:16] <Pyroik> what makes you think that it's rendering with normal page?
922: [14:11:00] <Pyroik> maybe the sidebar is just not enabled on that page, if that's what you're judging on. The difference between a blog page and a normal page isn't much.
923: [14:11:09] <Alfirin> Well the blog holder doesn't give me anything outside the title and content
924: [14:11:32] <Pyroik> it shouldn't, it doesn't carry content.
925: [14:11:46] <Pyroik> only blog entry summaries
926: [14:15:45] <Pyroik> you'll need to make some fake blog entries in order to see stuff.
927: [14:16:02] <Pyroik> and install the widgets module in order to get a sidebar.
928: [14:16:18] <Pyroik> if that's what you're missing in order to make you think it's not working.
929: [14:16:35] <Pyroik> https://github.com/silverstripe/silverstripe-widgets
930: [14:16:41] <Alfirin> I have both a fake entry and the widget module
931: [14:17:41] * wmk has joined #silverstripe
932: [14:18:47] <Pyroik> Alfirin: and the blog folder is called "blog" and is in the SS root (next to "framework!"?
933: [14:18:49] <Pyroik> )
934: [14:20:42] <Alfirin> yes
935: [14:21:59] <Pyroik> check that the templates are there then.
936: [14:23:24] <Alfirin> there would appear to be, yes
937: [14:27:01] * Shrike_Finland quit (Quit: Leaving.)
938: [14:27:38] <Pyroik> Then I guess... I dunno.
939: [14:27:46] <Pyroik> you could try the other blog module I guess.
940: [14:27:49] * Pyroik shrugs
941: [14:28:22] <Pyroik> copy the templates to your theme, then edit them to be obvious that they're in use and flush again.
942: [14:28:27] <Pyroik> that's what I'd do.
943: [14:28:40] <Pyroik> Ensure there's no dobut that they are definitely not being used.
944: [14:30:14] <Alfirin> I'll try that
945: [14:47:50] * mojo5000 has joined #silverstripe
946: [14:50:07] <Pyroik> Alfirin: any luck?
947: [14:51:42] * muskie9 has joined #silverstripe
948: [15:20:50] * Shrike_Finland has joined #silverstripe
949: [15:21:01] <Alfirin> Pyroik, nah, I'll try the other module
950: [15:21:10] <Alfirin> But it was a valiant effort!
951: [15:21:12] <Alfirin> thank you
952: [15:21:25] * OxFF1 has joined #silverstripe
953: [15:33:08] * abitran quit (Ping timeout: 240 seconds)
954: [15:33:22] * abitran has joined #silverstripe
955: [15:33:40] * Shrike_Finland quit (Quit: Leaving.)
956: [15:37:56] <Pyroik> Alfirin: bummer. I can't think why it wouldn't work :<
957: [15:38:06] * babak has joined #silverstripe
958: [15:40:37] * deseperate has joined #silverstripe
959: [15:41:23] <deseperate> hello everyone
960: [15:41:48] <deseperate> using the relational manager.... I have two many_many relations
961: [15:41:51] <deseperate> http://paste2.org/UxF0wjfG
962: [15:42:00] <deseperate> I want to add them both to the related tab
963: [15:42:17] <mojo5000> Q I asked yesterday:
964: [15:42:19] <mojo5000> trying - http://addons.silverstripe.org/add-ons/silverstripe/restfulserver
965: [15:42:30] <mojo5000> anyone used that successfully with relations?
966: [15:42:42] <deseperate> I can only get one of the other relations to show as options when I click to change relations
967: [15:42:49] <deseperate> is it possible to add two relations
968: [15:43:09] <Zauberfisch> mojo5000: I tried that a year or two ago. was a pain in the arse, in fact so painful that I stoped and implemented it myself
969: [15:43:10] <mojo5000> i.e. - showing properties of a related object - i.e. - a Project has a Category
970: [15:43:33] <mojo5000> and in the json i expect Category.Name
971: [15:43:40] <mojo5000> not just Category.ID
972: [15:43:51] * origincube has joined #silverstripe
973: [15:43:53] <mojo5000> zauber - you make it public? :)
974: [15:43:54] <muskie9> deseperate, when I do that I do a second GridFieldConfig for the second GridField
975: [15:44:06] <muskie9> so $config2 = GridFieldConfig_RelationEditor::create();
976: [15:44:34] <origincube> hey guys
977: [15:44:50] <muskie9> do your components to that var as well then use it for your second gridfield
978: [15:44:51] <mojo5000> the SS community needs a good restful add-on out of the box
979: [15:45:41] * OxFF1 has left #silverstripe
980: [15:46:48] <origincube> ok, so i'm a bit stumped, busy setting up a new development install using SS3.1.3
981: [15:46:58] <origincube> and the installation is complaining about friendly URLs
982: [15:47:13] <origincube> even though apache is configured happily with mod_rewrite
983: [15:47:33] <deseperate> muskie9: Like this? http://paste2.org/4j0zWWCd
984: [15:47:36] <origincube> and my SS3.1.1 installation from a few months back never complained and works as expected
985: [15:47:52] <muskie9> deseperate yes
986: [15:48:53] <deseperate> hmm doesn't seem to be pulling in the PageA relations
987: [15:50:24] <mojo5000> does anyone use https://github.com/colymba/silverstripe-restfulapi
988: [15:51:55] <micmania1> origincube: what happens when you rename index.php to something different?
989: [15:52:11] <muskie9> deseperate: it might be the 'Related' on line 34, that might need to be the RelationName, so RelatedArtA
990: [15:52:16] <origincube> tried that
991: [15:52:21] <origincube> didn't do a thing
992: [15:52:37] <muskie9> line 49 would be RelatedArtB
993: [15:53:22] <micmania1> origincube: have you setup a vhost for your site? Check that AllowOverride is set to All
994: [15:53:56] <Pyroik> mojo5000: what do you mean by server?
995: [15:53:58] <deseperate> ah i see yes so i get two seperate lsits
996: [15:54:05] <deseperate> i thought it would combine them
997: [15:54:05] <origincube> havne't explciitly set up a vhost, since running it from a folder within the root
998: [15:54:10] <deseperate> that's fine it works
999: [15:54:13] <deseperate> thnaks
1000: [15:54:14] <Pyroik> to serve data objects restfully, or to consume restful services?
1001: [15:54:21] <origincube> localhost/sitename
1002: [15:55:14] <micmania1> permissions on .htaccess correct?
1003: [15:55:25] <origincube> yeah they should be
1004: [15:56:44] <micmania1> where is it complaining about rewrites?
1005: [15:57:14] <Pyroik> if it's only in the installer, just ignore it.
1006: [15:57:29] <Pyroik> if it's injecting index.php/ needlessly into the url, delete index.php.
1007: [15:58:55] <origincube> yeah its not doing that
1008: [15:59:03] <origincube> BUT the theme isn't working
1009: [15:59:18] <micmania1> origincube: where is it complaining?
1010: [15:59:58] <origincube> it complained during the installation procedure
1011: [16:00:09] <origincube> but now none of the header or footer areas on the site are displaying
1012: [16:00:33] <origincube> ahd attempting to log in to admin
1013: [16:00:45] <origincube> can't even see the sign in page, its jsut blank
1014: [16:00:50] <origincube> so something is definitely awry
1015: [16:00:58] <Pyroik> yeah but what is the response status?
1016: [16:01:07] <Pyroik> (on say /admin ?)
1017: [16:01:38] <origincube> don't get an error or anything
1018: [16:01:46] <Pyroik> so 200 OK?
1019: [16:01:47] <origincube> just renders an empty body
1020: [16:02:04] <Pyroik> are display_errors enabled?
1021: [16:02:08] <origincube> yes
1022: [16:02:19] <Pyroik> is the environment set to dev?
1023: [16:03:04] * mojo5000_ has joined #silverstripe
1024: [16:03:40] <origincube> let me check
1025: [16:05:03] * mojo5000 quit (Ping timeout: 252 seconds)
1026: [16:05:44] <origincube> nope
1027: [16:06:33] <Pyroik> set it to dev so you can see the SS level errors.
1028: [16:06:47] <Pyroik> I suspect your database details are incorrect.
1029: [16:08:20] <origincube> but the installation would have set up the DB?
1030: [16:09:11] <origincube> looks like it hasn't set up the DB
1031: [16:09:12] <origincube> hmm
1032: [16:09:21] <origincube> oh it has
1033: [16:10:33] <micmania1> origincube: can you check your error log?
1034: [16:10:51] <origincube> the apache error log?
1035: [16:11:00] <micmania1> yes
1036: [16:11:16] <Pyroik> origincube: yeah it would have, but only if they were correct.
1037: [16:11:47] <origincube> yeah the details were correct
1038: [16:11:51] <Pyroik> but if it hasn't then something is buggy with the installer, it should check db details before letting you proceed.
1039: [16:11:51] <Pyroik> yeh
1040: [16:11:53] <origincube> let me have a look at the error log
1041: [16:12:00] <Pyroik> so enable dev mode in SS
1042: [16:12:08] <Pyroik> see if soemthing comes out
1043: [16:12:12] <Pyroik> if not, what micmania1 says.
1044: [16:12:24] <origincube> dev mode is enabled now
1045: [16:12:26] <Pyroik> mod_rewrite issues will be in apache's error.log
1046: [16:12:30] <origincube> added it in the confgi.yml file
1047: [16:12:45] <Pyroik> need to build and flush before it will take effect.
1048: [16:12:54] <micmania1> just flush*
1049: [16:12:59] <Pyroik> mmm, that one.
1050: [16:13:17] <Pyroik> I never remember which needs what anymore so I just say both :P
1051: [16:13:27] <origincube> hehe
1052: [16:13:31] <origincube> flush breaks too
1053: [16:13:37] <origincube> just get a blank page
1054: [16:13:39] <catcher> mojo5000_, not that one, but I've used this: https://github.com/silverstripe/silverstripe-restfulserver
1055: [16:14:08] <micmania1> origincube: check logs
1056: [16:14:15] <origincube> nothing int he apache log
1057: [16:14:18] <origincube> will check php log now too
1058: [16:15:29] <origincube> last few errors relate to tidy configuration
1059: [16:15:38] <Pyroik> catcher: mojo5000_, yeah, I'm real confused about what the hell that module from colymba is all about. SS had that functionality built in, then it was separated into a module (that one catcher pasted)
1060: [16:15:57] <Pyroik> I guess they just reinvented the wheel for some reason. Dunno.
1061: [16:16:25] <Pyroik> origincube: is this a fresh install? default theme and all?
1062: [16:17:00] <catcher> origincube, check rewritebase in .htaccess
1063: [16:17:54] <origincube> yeah its a fresh install Pyroik
1064: [16:17:59] <Pyroik> catcher: should produce errors if it's upset, but good call :>
1065: [16:18:05] <origincube> and the rewrite base is set to the site folder
1066: [16:18:21] <Pyroik> origincube: then could you do screenshots of this missing head/footer stuff?
1067: [16:18:22] <origincube> which is different to my other 311 site, but making them the same breaks everything
1068: [16:18:39] <Pyroik> origincube: did you get the beta release, or just pull from master?
1069: [16:18:43] <origincube> i'm going to try something else quick, and it still isn't working i'll grab the screen shots for you
1070: [16:18:46] <origincube> i pulled the master
1071: [16:18:51] <Pyroik> urgh
1072: [16:18:53] <Pyroik> don't do that.
1073: [16:19:04] <origincube> the "download 3.1.3" button on here http://www.silverstripe.org/stable-download/
1074: [16:19:08] <Pyroik> unless you're going to develop on it.
1075: [16:19:18] <origincube> so should i stick to 3.1.2?
1076: [16:19:24] <Pyroik> master isn't 3.1.anything, it's the unstable bleeding edge
1077: [16:19:34] <Zauberfisch> Pyroik: I generally advise people to use master
1078: [16:19:35] <origincube> no i meant i pulled the one on the main site
1079: [16:19:45] <micmania1> origincube: 3.1.3 is fine
1080: [16:19:51] <Zauberfisch> because usually I find 3.1 to be just as bugy/unstable as master, but master has more features
1081: [16:19:54] <Pyroik> Zauberfisch: only if they're not going into production IMO.
1082: [16:20:09] <Zauberfisch> but this time I actually have to agree, because the current mater is actually broken
1083: [16:20:26] <origincube> yeah didn't pull master from the github repo
1084: [16:20:31] <Pyroik> Zauberfisch: yeh, it's true, but also has the potential to be broken at any time. There's less certainty around specific commits, etc.
1085: [16:20:34] <origincube> i pulled the 3.1.3 stable from the silverstripe site
1086: [16:20:44] <Zauberfisch> <% if ... %> does not work since last week
1087: [16:20:45] <Pyroik> origincube: so you didn't pull, you downloaded manually.
1088: [16:20:56] <Pyroik> ;)
1089: [16:20:59] <origincube> oh yes. haha
1090: [16:21:03] <Zauberfisch> Pyroik: pull loosely translates to download
1091: [16:21:20] <Zauberfisch> after all, you pull the file from the server to your local computer
1092: [16:21:21] <Pyroik> yeh, I know. I'm being pedantic because it's ambiguious and thus misleeding
1093: [16:21:37] <origincube> i downloaded the tar.gz file from the silverstripe server
1094: [16:21:37] <Pyroik> you can also do a manual download of a github repo at any point
1095: [16:21:41] <Pyroik> and end up with a zip file
1096: [16:21:45] <Pyroik> etc.
1097: [16:22:10] <Zauberfisch> origincube: if you want to clone silverstripe, you can just clone the 3.1 branch
1098: [16:22:29] <Zauberfisch> which is actually the default branch. so if you clone the framework, it will clone 3.1 (not master)
1099: [16:22:36] <origincube> i'm just wanting to set up the latest stable build so i can try out some new modules
1100: [16:22:37] * deschebbs quit (Quit: Konversation terminated!)
1101: [16:23:25] <micmania1> origincube: in your _config.php use Director::set_environment_type("dev") which will get you around the flush issue
1102: [16:23:39] <micmania1> also set ini_set("display_errors", 1);
1103: [16:23:47] <micmania1> ini_set("display_startup_errors", 1);
1104: [16:23:56] <origincube> yeah micmania thats how i configured dev
1105: [16:24:08] <micmania1> and its still not giving you errors?
1106: [16:24:16] <origincube> only set the dev part
1107: [16:24:19] <origincube> haven't added the two others
1108: [16:24:23] <origincube> but i wanted to check something
1109: [16:24:24] <micmania1> try the other 2
1110: [16:24:27] <Zauberfisch> micmania1: ini_set("display_errors") in _config.php is useless
1111: [16:24:29] <origincube> so have deleted the folder and starting again
1112: [16:24:30] <Zauberfisch> it will be ignored
1113: [16:24:36] <origincube> to see if 3.1.2 gives me the same error
1114: [16:25:04] <Zauberfisch> or, to precise, overwritten
1115: [16:25:16] <micmania1> urgh! bollox!
1116: [16:25:47] <Zauberfisch> the error chain kicks in before _config.php, and ends after _config.php. and when it ends it sets the display_errors to the value that it had before it started. so if you set it in _config.php it will have no effect
1117: [16:25:52] <origincube> 3.1.2 gives me no error: "Friendly URLs set up successfully; I am now redirecting you to your SilverStripe site..."
1118: [16:26:09] <mojo5000_> @catcher / @pyroik - per conversation about restfulservices...
1119: [16:26:49] <mojo5000_> basically SS needs a proper, supported way to expose a restful api for dataobjects
1120: [16:26:59] <mojo5000_> this should be a built in lib
1121: [16:27:04] <Zauberfisch> micmania1, origincube: if you want to set display_errors then you should do it in one of the following ways: php.ini, .htaccess, _ss_environment.php
1122: [16:27:53] <mojo5000_> ...is there anyone on here from SS itself? anyone know the right channel to escalate requests with the core team?
1123: [16:27:59] <origincube> php.ini is set to display errors
1124: [16:28:04] <Zauberfisch> mojo5000_: restful server used to be built in. but got kicked out because noone maintained it I guess
1125: [16:28:18] * mojo5000_ quit (Remote host closed the connection)
1126: [16:29:52] <Pyroik> goddamn it. No api shit should not be core. Gawd. It's module case, and it is a module.
1127: [16:30:03] <Pyroik> *sigh*
1128: [16:30:20] <Pyroik> also fucking people that use goddamn @ in irc. FFS
1129: [16:31:25] <Pyroik> Zauberfisch: it got kicked for a few reasons, mostly because it should be a module. Lack of maintenance was probably also an issue though.
1130: [16:31:57] <Pyroik> and from the docs it's extremely easy to set up.
1131: [16:32:07] <Pyroik> I've no idea why some guy went and reinvented the wheel.
1132: [16:32:15] <Pyroik> for no good reason.
1133: [16:32:28] <Pyroik> just added a whole heap of needless confusion and complexity to the wholey case.
1134: [16:32:49] <Pyroik> we don't want j-word style addons. Use what's there or make it better IMO.
1135: [16:33:02] <origincube> :o so i tried installing 313 in another folder, and it didn't complain about friendly urls not working
1136: [16:33:09] <Pyroik> Don't go branching or developing competing stuff without good reason.
1137: [16:33:12] <origincube> that has to be the biggest and most utterly weird error ever
1138: [16:33:28] <Pyroik> origincube: :o
1139: [16:33:29] <Pyroik> weird.
1140: [16:33:32] <origincube> i know!
1141: [16:33:40] <origincube> 312 installed without error in the other folder
1142: [16:33:50] <origincube> and now 313 is working in this one without hitch
1143: [16:33:52] <origincube> go figure!
1144: [16:34:02] <origincube> thanks for all the help though.
1145: [16:34:03] <Pyroik> nah, I'd rather just shrug and carry on :P
1146: [16:34:27] <origincube> hehe
1147: [16:34:36] <origincube> now to figure out swipestripe!
1148: [16:34:49] <Pyroik> it's a pretty good system.
1149: [16:35:11] <origincube> awesome. have a few clients who want that type of functionality, so this module looks to be a godsend! :)
1150: [16:35:21] <Pyroik> A little confusing with the relationships between options and variations, but other than that quite good.
1151: [16:35:23] <origincube> must just figure out how configureable the payment system is
1152: [16:35:33] <Pyroik> origincube: in what way?
1153: [16:35:44] <Pyroik> payment has nothing to do with swipestripe. It's a separate thing.
1154: [16:35:51] <origincube> well just from the point of view that i don't have to build all the functionality they need from scratch
1155: [16:35:55] <Pyroik> swipestripe leveraged exsiting modules for payment.
1156: [16:36:00] <origincube> yeah i know
1157: [16:36:21] <origincube> i should have clarified that i need to figur out how to configure the payments module
1158: [16:36:29] * Alfirin quit (Ping timeout: 245 seconds)
1159: [16:36:33] <origincube> since my one client wants manual payments, but they won't be by cheque
1160: [16:36:42] <origincube> they're be electronic transfers
1161: [16:36:49] <Pyroik> It's been a while since I last looked at it though, and I know the tankr has been working on it at his new vocation in SS AKL, so it's undoubtedly gotten better too.
1162: [16:37:23] <origincube> awesome :)
1163: [16:37:24] <Pyroik> origincube: well, manual payment was a bit of a faff last I looked. But that's also due to someone copy pasting the module and renaming things instead of using config to do stuff.
1164: [16:37:36] <Pyroik> It was a little less robust back then though (over a year ago)
1165: [16:37:47] <Pyroik> hopefully it's all be tightened up.
1166: [16:37:47] <origincube> well hopefuly it won't be too iffy
1167: [16:37:56] <origincube> will have ot let you guys know :)
1168: [16:38:07] <Pyroik> In which case you just define a new payment option in config (yml) and tell it to use the cheque module's logic.
1169: [16:38:09] <Pyroik> should be good.
1170: [16:38:29] <Pyroik> that's how it was supposed to work when I last looked, but it didn't quite go as planned.
1171: [16:38:38] <Pyroik> as I say, hopefully much better now
1172: [16:39:24] <Pyroik> if not, but report all the things! :D
1173: [16:39:46] <Pyroik> tankr probably gets time allocated to work on it in SS AKL now, since he made it open source.
1174: [16:40:09] <Pyroik> bug report* (or just fix and PR tuff :P)
1175: [16:41:04] <origincube> sweet :)
1176: [16:41:10] <origincube> i will definitely if i have issues
1177: [16:41:22] <origincube> i'm still learning my way around SS properly
1178: [16:45:18] <Zauberfisch> Pyroik: I agree that it should be a module. was just aying
1179: [16:45:24] <origincube> thanks again guys, catch you later :)
1180: [16:48:40] * origincube has left #silverstripe
1181: [16:52:56] <Pyroik> Zauberfisch: yeh. I just get wound up with someone who doesn't really know what they're talking about starts making demands about how shit the core team is, etc. He's already gone from channel though so was saved from my wrath :/
1182: [16:52:57] <Zauberfisch> micmania1: you have misspelled your name in the blog module
1183: [16:52:58] <Zauberfisch> https://github.com/micmania1/silverstripe-blogger/blob/1.0/forms/gridfield/GridFieldConfig_BlogPost.php#L9
1184: [16:53:22] <micmania1> haha I'm pretty sure that was fixed.
1185: [16:53:36] <Pyroik> ha! guts bro. Were you coding on a tablet?
1186: [16:53:37] <Pyroik> :P
1187: [16:53:57] <Pyroik> mind you it woudln't auto correct a word that exists anyway.
1188: [16:54:14] <Pyroik> ha. I hate misspelling your own name. You feel like such a sped afterwards.
1189: [16:54:14] <micmania1> oh, there's a few. lol
1190: [16:54:17] <micmania1> copy & paste
1191: [16:54:41] <micmania1> I'll fix tonight with commit message "Learning to spell my own name" or something
1192: [16:54:46] <Zauberfisch> :D
1193: [16:54:50] <kinglozzer> Ugh, setting up a new computer is the worst :(
1194: [16:55:07] <Zauberfisch> it would actually be pretty cool if your lastname was string
1195: [16:55:16] <Pyroik> I often get it wrong when I'm typing really fast, (eg same mistake as things liek teh :P), and I'm always secretly worried that someone will see my screen before I can backspace and fix it, or notice that I'm having to backspace heaps on the email signature or something
1196: [16:55:23] <micmania1> People call me string all the time. I've just given them ammo haha
1197: [16:55:30] <Pyroik> haha, guts.
1198: [16:55:51] <Pyroik> kinglozzer: really? I love it.
1199: [16:56:09] <micmania1> https://github.com/micmania1/silverstripe-blogger/commit/884f1d4dfa4fd58bcad9123052f86071bd5cbb95
1200: [16:56:09] <kinglozzer> Pyroik: I love it if I'm setting it up for myself, not for someone else :P
1201: [16:56:10] <Pyroik> Nothing in the way, no buildup of cruft, just clean, fast, essentials only.
1202: [16:56:18] <Zauberfisch> yeah, me too. feels so good to have a new fresh and clean setup
1203: [16:56:18] <Pyroik> kinglozzer: oh well yeah, that sucks :<
1204: [16:56:36] <Zauberfisch> ah, right, that sucks indeed
1205: [16:56:53] <Pyroik> they're all "install this unnecessary shit" and you're all "NO!" but then you do it anyway and feel like you can't shower enough times in a night to get the bad off of you :<
1206: [16:57:11] <kinglozzer> New dev joining us, thought about taking the new machine for myself but I can't be bothered with remembering everything I need to install
1207: [16:57:15] <Zauberfisch> but for my own setup up, I am proud to say, I have a good workflow that keeps all my data synced with servers and backups. so i can just reinstall my pc any day any time I feel like it.
1208: [16:57:42] <Pyroik> I just install notepad++ and firefox and it's pretty much jobdone.
1209: [16:57:42] <micmania1> I want a home PC
1210: [16:57:47] <micmania1> home Server even
1211: [16:57:56] <kinglozzer> Haha yeah me too micmania1
1212: [16:58:00] <Pyroik> micmania1: meh, just get a cloud server :P
1213: [16:58:12] <Pyroik> Oh, or a raspberry pie, that's what I'm getting one for :>
1214: [16:58:12] <kinglozzer> Not as cool B)
1215: [16:58:13] <micmania1> yeah, but when the internet dies you're pretty screwed
1216: [16:58:28] <Zauberfisch> I have a server at home. but the only thing its used for is actulally media storrage
1217: [16:58:34] <Pyroik> yeah well depeneds on what kind of stuff you're keeping on it I suppose.
1218: [16:58:44] <Pyroik> if you've got a chromebook then yeah, you're 100% fucked.
1219: [16:58:47] <Pyroik> haha xD#
1220: [16:58:51] <Zauberfisch> all the developement I do in vagrant VMs
1221: [16:58:56] <Zauberfisch> so no need for a server
1222: [16:59:10] <Pyroik> vagrant eh, is that like docker?
1223: [16:59:14] <Zauberfisch> and for staging and live I have rented root servers and shared hosting depending on the client
1224: [16:59:20] <micmania1> yeah, i've just got one vbox I use all the time. Nice and easy :p
1225: [16:59:33] <Zauberfisch> Pyroik: yes. sort of. but I like vagrant better, because its actuall VMs
1226: [16:59:38] <Pyroik> I just take my netbook if I think I'm going to need a computer elsewhere.
1227: [16:59:46] <Pyroik> It's light and fits on my back.
1228: [16:59:57] <Zauberfisch> and obviously I have a good PC at work and one at home
1229: [17:00:09] <Pyroik> I just have a netbook. That's it :<
1230: [17:00:09] <Zauberfisch> sm running multiple VMs is no trouble
1231: [17:00:25] <Pyroik> the powerful kind of netbook though.
1232: [17:00:28] <Zauberfisch> notebook as well, but I only use that when I have to be mobile
1233: [17:01:16] <Zauberfisch> but even that is good enough to run a couple of VMs. so there really is no need for a server for development
1234: [17:01:34] <Pyroik> ha, they still make it it seems, I bought it when it was brand new on the market. http://www.asus.com/Notebooks_Ultrabooks/Eee_PC_1215N/
1235: [17:01:38] <Pyroik> I love it.
1236: [17:02:01] <Zauberfisch> haha. Massive 12.1"
1237: [17:02:01] <Zauberfisch> right
1238: [17:02:02] <Pyroik> ion chip isn't super fast, but gives that added 3d bonus to be able to game
1239: [17:02:08] <Pyroik> Zauberfisch: yeah well for a netbook, yes.
1240: [17:02:18] <Pyroik> at that time they were typically 7-10"
1241: [17:02:23] <Zauberfisch> couldn't work on suck a screen
1242: [17:02:31] <Pyroik> It's not too bad.
1243: [17:02:43] <Zauberfisch> my notebook has 15 and feels super small :S
1244: [17:02:51] <Pyroik> in fact, my work machine is a thinkpad E530, and it's not much bigger.
1245: [17:03:04] * mojo5000 has joined #silverstripe
1246: [17:03:09] <Pyroik> Zauberfisch: yeah it's small, but big enough. reso is fine too.
1247: [17:03:15] <Zauberfisch> really? how can you work with that little screen?
1248: [17:03:24] <Pyroik> haha, the resolution is what counts!
1249: [17:03:33] <Zauberfisch> at work I have 1x 27" + 2x 24"
1250: [17:03:41] <Pyroik> also obligitory "it's not the size, it's how you use it"
1251: [17:03:42] <Zauberfisch> and I feel like I need more
1252: [17:03:55] <Pyroik> at my old work I had 3x 24" screens.
1253: [17:04:06] <Zauberfisch> and you don't miss that?
1254: [17:04:14] <Pyroik> going to netbook felt small, sure. But not bad. It's mostly for personal stuff... so yeah.
1255: [17:04:24] <Pyroik> I don't tend to code on it a super huge amount really.
1256: [17:04:30] <Pyroik> but I can, and that makes it awesome.
1257: [17:04:49] <micmania1> I'm off!
1258: [17:04:52] <Pyroik> being my only computer now I'm getting used to the small screen size I guess.
1259: [17:04:54] <micmania1> laters
1260: [17:04:55] <Pyroik> laters micmania1!
1261: [17:05:00] <Pyroik> contgratulations again :>
1262: [17:05:20] <Pyroik> gawd, and so then my only friend in UK is leaving the country.
1263: [17:05:22] <Pyroik> great xD
1264: [17:05:28] <Pyroik> :P
1265: [17:05:39] <Pyroik> I'll just have to get more I guess.
1266: [17:05:58] <kinglozzer> Pyroik: Move to Norwich :P
1267: [17:06:05] <Pyroik> kinglozzer: haha <3
1268: [17:06:18] <Pyroik> true, I should say only tangible friend :P
1269: [17:06:19] <Zauberfisch> Pyroik: idk. working on my notebook always makes me feel like http://thumbs.dreamstime.com/z/curious-man-children-s-bicycle-26736060.jpg
1270: [17:06:41] <Pyroik> Zauberfisch: haha. Luckily I have small hands or something I guess.
1271: [17:06:51] <Pyroik> I don't find the keyboard too much of a hindrence.
1272: [17:06:58] <Pyroik> as I have on other netbooks.
1273: [17:08:14] <Pyroik> But as I say. Mostly I use it for relaxing, reading websites and watching videos.
1274: [17:08:26] <Pyroik> but now it's a necessity to use it for coding, I will.
1275: [17:08:41] <Pyroik> and I don't find it too bad, though it would be nice to have big screen and proper keyboard, sure :P
1276: [17:09:15] <Zauberfisch> < mojo5000_> ...is there anyone on here from SS itself? anyone know the right channel to escalate requests with the core team?
1277: [17:09:19] <Pyroik> when I first got it I used to take it all around the house and code from wherever I wanted, so I guess I've never been too bothered by the size.
1278: [17:09:34] <Zauberfisch> mojo5000: there are a few members of the core team that hare here
1279: [17:09:40] <Zauberfisch> but none are currently online
1280: [17:09:44] <Pyroik> portability is the main factor for me :>
1281: [17:09:58] <Zauberfisch> they are all from NZ, so they are probably all sleeping right now
1282: [17:10:10] <Pyroik> mojo5000: also, api stuff should NOT be part of the core.
1283: [17:10:17] <Pyroik> it's module case code, and it IS a module.
1284: [17:10:23] <Zauberfisch> agreed on that. its fine in a module
1285: [17:10:25] <Pyroik> it used to be core, got split out for that very reason.
1286: [17:10:31] <Zauberfisch> would just be nice if its better maintained
1287: [17:10:44] <Pyroik> and the module is easy to use. Just stop using that other one you found first.
1288: [17:11:02] <Pyroik> use the SS core team stuff. It may need some updating, but I'm sure you'll figure it out :>
1289: [17:12:03] <catcher> interesting that restfulservice is core though
1290: [17:15:01] <kinglozzer> Right, I'm off
1291: [17:15:06] <kinglozzer> bb all <3
1292: [17:15:09] <Zauberfisch> bb
1293: [17:15:25] <Zauberfisch> mojo5000: what is it you want to contact the core team about?
1294: [17:15:31] * kinglozzer quit ()
1295: [17:15:45] <Zauberfisch> because if its feature requests, be warned, they don't really want to hear them :P
1296: [17:16:16] <Zauberfisch> they have a hard time keeping the existing core maintained. silverstripe is just not that big that they could randomly implement new features
1297: [17:16:34] <Zauberfisch> there actually is a rule: no feature requests unless you are going to implement them yourself
1298: [17:23:53] <deseperate> guys can I ask if you have a favourite theme that you prefer to use
1299: [17:27:09] * muskie9 quit (Remote host closed the connection)
1300: [17:27:44] * muskie9 has joined #silverstripe
1301: [17:32:19] * muskie9 quit (Ping timeout: 264 seconds)
1302: [17:36:15] <Pyroik> deseperate: not sure what that question means.
1303: [17:36:37] <Pyroik> most of us are web developers, we build sites for clients.
1304: [17:36:49] <Pyroik> thus use the theme we developed based on the design given to us.
1305: [17:37:00] <Pyroik> or developed specifically for it.
1306: [17:37:08] * Pyroik quit (Quit: Page closed)
1307: [17:47:57] <catcher> deseperate, I typically start with the stock theme, though I think I'll try Ryan-Toast's on my next site.
1308: [17:55:09] <deseperate> yeah me too but i start with a theme and develop off that by modifyimng
1309: [17:55:31] <deseperate> i'll try ryan's tpp
1310: [17:55:48] <deseperate> too
1311: [17:55:52] <deseperate> *
1312: [17:56:49] <deseperate> i have to run thanks guys
1313: [17:58:04] * Azure quit (Quit: Blue Sky Fish)
1314: [17:59:50] * muskie9 has joined #silverstripe
1315: [18:01:03] * deseperate quit (Ping timeout: 245 seconds)
1316: [18:14:06] * danfo quit (Read error: Connection reset by peer)
1317: [18:25:42] * abitran quit (Quit: Lost terminal)
1318: [18:30:35] * simon_w quit (Quit: This computer has gone to sleep)
1319: [18:32:50] * Andrew_______ has joined #silverstripe
1320: [18:33:01] <Andrew_______> hi
1321: [18:33:14] <Andrew_______> how are you guys?
1322: [18:33:44] <Andrew_______> I have a problem with carouFredSel module for Silverstripe
1323: [18:34:07] <Andrew_______> I installed the module but when running dev/build it would not update the database
1324: [18:34:26] <Andrew_______> so the carouFredSel type page doesn't get installed
1325: [18:34:57] * muskie9 quit (Remote host closed the connection)
1326: [18:36:58] * muskie9_ has joined #silverstripe
1327: [18:39:42] <muskie9_> Andrew_______ are you in dev mode w/errors turned on?
1328: [18:40:31] * muskie9_ is now known as muskie9
1329: [18:40:42] * joelpittet has joined #silverstripe
1330: [18:43:19] <Andrew_______> yes I am
1331: [18:43:30] <muskie9> and no errors?
1332: [18:43:35] <Andrew_______> nope
1333: [18:44:02] <Andrew_______> I am checking some things here
1334: [18:44:13] <muskie9> is this the module you're referring to: https://github.com/macka601/silverstripe-caroufredsel
1335: [18:44:20] <Andrew_______> I found in the module folder caroufredsel
1336: [18:44:21] <Andrew_______> yes
1337: [18:44:56] <muskie9> noticed there's a Page.php in the code folder of the module, not sure if having it there and in the mysite/code folder would cause the issue
1338: [18:45:03] <Andrew_______> I found a page.php file that extends site tree and doesn't need to be there..I think it conflicts with page.php from my site under SS
1339: [18:45:25] <Andrew_______> yes, thanks muskie9 :)
1340: [18:45:40] <Andrew_______> I removed it and tested again and still no db update
1341: [18:46:15] <Andrew_______> I am checking the files now..and I see here a path like CarouFredSel not carouFredSel...so I renamed the module folder
1342: [18:46:22] <Andrew_______> let's check again
1343: [18:48:08] <Andrew_______> no, the db doesn't get updated
1344: [18:48:22] <Andrew_______> the caroufredselpage type doesn't get a table
1345: [18:48:37] <Andrew_______> I have SS 3.1.3
1346: [18:49:30] <terryapodaca> your module folder name is 'carouFredSel' correct?
1347: [18:49:41] <terryapodaca> case sensitive
1348: [18:49:59] <Andrew_______> hello terryapodaca :)
1349: [18:50:10] <Andrew_______> i renamed to CarouFredSel
1350: [18:50:33] <Andrew_______> in the php file the paths are with CarouFredSel written this way
1351: [18:51:10] <terryapodaca> what happens if you lowercase the C?
1352: [18:51:11] <muskie9> add an _config.php file in your modules folder
1353: [18:51:30] <Andrew_______> the same..the db gets no update
1354: [18:51:34] <muskie9> can be a blank file, but need it for SS to pick up anything in there
1355: [18:51:44] <Andrew_______> ok
1356: [18:52:03] <Andrew_______> so I add an empty _config.php file
1357: [18:52:13] <Andrew_______> just a mom
1358: [18:52:49] <terryapodaca> I don't know that I like the module to begin with
1359: [18:52:58] <terryapodaca> the reuse of the same file names
1360: [18:53:10] <muskie9> that and no _config file
1361: [18:53:23] * joelpittet quit ()
1362: [18:53:25] <terryapodaca> Page.php and Page.ss, even uses the same comments the default theme has
1363: [18:53:55] <Andrew_______> thats right
1364: [18:54:25] <Andrew_______> do I need Page.php in there? no conflicts with Page.php under mysite folder?
1365: [18:54:46] <muskie9> it might not throw an error, but could mess things up down the road
1366: [18:54:56] <muskie9> I'd remove it
1367: [18:55:08] <Andrew_______> ok
1368: [18:55:11] <terryapodaca> why do you need a full blown module for something so simple?
1369: [18:55:33] <terryapodaca> have you not just make your own PageType and use the normal jquery plugin?
1370: [18:55:33] <Andrew_______> because the client wants the carousel to be editable from the CMS
1371: [18:55:36] <Andrew_______> thats why
1372: [18:55:55] <Andrew_______> to place his own pictures and change them if he needs to
1373: [18:56:06] <terryapodaca> it still can be, just create your own class/dataobject
1374: [18:56:29] <Andrew_______> I'm not sure how to do it
1375: [18:56:37] <Andrew_______> I know how to use the slider code
1376: [18:57:05] <Andrew_______> I might try that
1377: [18:57:15] <Andrew_______> much better than trying to fix this module
1378: [18:57:45] <Andrew_______> create a new page type and place the slider there..and create fields for the images?
1379: [18:57:58] <catcher> Andrew_______, did you flush the cache?
1380: [18:58:07] <Andrew_______> of course..every time
1381: [18:58:16] <Andrew_______> ?flush=all
1382: [18:59:27] <catcher> mm, there's no _config in the module
1383: [19:00:03] <terryapodaca> yeah, muskie9 told him to add one
1384: [19:00:27] <terryapodaca> I'm not sure that's a functional module
1385: [19:00:33] <catcher> ah, indeed
1386: [19:00:52] <Andrew_______> that was the problem indeed
1387: [19:01:05] <terryapodaca> so you got it to work?
1388: [19:01:05] <Andrew_______> the missing _config.php file
1389: [19:01:15] <Andrew_______> and the extra Page.php file
1390: [19:01:34] <Andrew_______> also the module folder renamed to CarouFredSel
1391: [19:01:44] <Andrew_______> yes, it's working now
1392: [19:01:59] <Andrew_______> updated the db and created a caroufredsel page type
1393: [19:02:18] <Andrew_______> thank you muskie9, terryapodaca, catcher
1394: [19:02:50] <Andrew_______> I will signal these problems in the add ons page, maybe somebody might need it
1395: [19:03:53] <catcher> Andrew_______, better yet, you can fork it, make the updates, and submit a pull request
1396: [19:04:08] * dpdocs21 has joined #silverstripe
1397: [19:04:11] <muskie9> ^^
1398: [19:04:23] <Andrew_______> have a nice day, I'm going back to finish this site I'm working on
1399: [19:04:29] <Andrew_______> catcher :)
1400: [19:04:42] * robert_ quit (Read error: Connection reset by peer)
1401: [19:06:29] * antmas quit (Ping timeout: 245 seconds)
1402: [19:07:06] * Shrike_Finland has joined #silverstripe
1403: [19:08:58] * Andrew_______ quit (Ping timeout: 245 seconds)
1404: [19:09:18] * dpdocs21 quit (Quit: Leaving)
1405: [19:11:52] * nbezzala has joined #silverstripe
1406: [19:13:17] * dpdocs21 has joined #silverstripe
1407: [19:13:24] * dpdocs21 quit (Client Quit)
1408: [19:13:41] * dpdocs21 has joined #silverstripe
1409: [19:13:55] * dpdocs21 quit (Client Quit)
1410: [19:14:22] * dpdocs21 has joined #silverstripe
1411: [19:19:38] * dpdocs21 quit (Ping timeout: 268 seconds)
1412: [19:32:48] * antmas has joined #silverstripe
1413: [19:33:15] * simon_w has joined #silverstripe
1414: [19:38:03] * Azure has joined #silverstripe
1415: [19:38:22] * dpdocs21 has joined #silverstripe
1416: [19:46:08] * simon_w quit (Ping timeout: 240 seconds)
1417: [19:46:09] * zippy__ has joined #silverstripe
1418: [19:46:11] <zippy__> morning
1419: [19:46:52] <catcher> marginally ss-related question; I need requests to domain1.com to serve the same content as domain2.com/things/stuff/2014. It'll do that until 2015, when it changes.
1420: [19:47:32] <catcher> I have concerns about 301 since it's not really permanent, but a canonical solution seems like a mess.
1421: [19:47:36] <zippy__> so you want domain1.com/foo to display, which is also in domain2.com/things/tuff/2014/foo ?
1422: [19:47:46] * simon_w has joined #silverstripe
1423: [19:48:00] <catcher> zippy__, yes, except only domain1.com, not domain1.com/foo
1424: [19:48:19] <catcher> domain1.com/foo can behave the same as domain1.com
1425: [19:48:36] <zippy__> so just the home page?
1426: [19:48:48] <zippy__> are you talking about whole domain redirect? or just a single page
1427: [19:48:55] <catcher> whole domain
1428: [19:49:10] <catcher> Kind of like a splash page that has a cname
1429: [19:49:23] <zippy__> what about a 302 ?
1430: [19:49:40] <catcher> I considered 302/307 too, but I read they do horrible things for SEO
1431: [19:50:24] <zippy__> why do they want to move do another domain, and then move back again?
1432: [19:51:08] <antmas> mornin
1433: [19:51:20] <zippy__> antmas: hi
1434: [19:52:18] <catcher> zippy__, the site supports many events, and each year, 1 is big enough that they want to reach its page by its own domain name.
1435: [19:52:37] <catcher> zippy__, both are active simultaneously, it's not switching to/from.
1436: [19:53:02] <zippy__> catcher: what about doing a 301 to that domain, and just leaving it there
1437: [19:53:23] <zippy__> or, will it be something like, event2014.com then event2015.com
1438: [19:53:31] <catcher> zippy__, because it points to site.com/events/whatever/2014, and next year, it'll go to whatever/2015
1439: [19:53:31] <zippy__> so each year the domain changes
1440: [19:54:00] <catcher> it's always superevent.com pointing to a different internal page each year.
1441: [19:54:08] <zippy__> right, that makes sense now
1442: [19:54:40] * dpdocs21 quit (Quit: Leaving)
1443: [19:54:58] * dpdocs21 has joined #silverstripe
1444: [19:55:59] <zippy__> catcher: is the SEO going to be a big deal for this event, people are already going to know the name I asuming. It's not like they are going to be google searching "something fun to do" but more like "christmas in the park"
1445: [19:56:06] <antmas> catcher: wait, so an event generated at domainA.com needs to have it's own domain like domainB.com?
1446: [19:56:22] <zippy__> antmas: na, other way around :)
1447: [19:56:40] <zippy__> xmaspark.com -> redirect eventfoo.com/events/xmas-park/2015
1448: [19:56:43] <antmas> oh - but it's still the same thing though, right?
1449: [19:56:46] <antmas> OH
1450: [19:56:49] <antmas> I see
1451: [19:56:53] <catcher> right-o
1452: [19:57:18] <zippy__> catcher: what about if people went to eventfoo.com/events/xmas-park it just had the latest event there, and then they back go back and forwrd with dates on the end?
1453: [19:58:23] <dpdocs21> Sir, i want some open source codes for study of code modules, code metrics and then want to " code refactoring " on that code. and then again want to study its code metrics. please help
1454: [19:58:48] <zippy__> dpdocs21: github.com/silverstripe
1455: [19:59:21] <antmas> dpdocs21: if you notice any issues in the doc - see ss23
1456: [19:59:23] <catcher> zippy__, the params are needed to get each event by year (past, present, future)
1457: [19:59:25] <antmas> :D
1458: [19:59:56] <catcher> zippy__, it's an interesting idea, still trying to think if it can work
1459: [20:00:51] <catcher> I'd need to make sure the right event is marked as 'current' at all times
1460: [20:01:34] <zippy__> catcher: mmm true
1461: [20:02:16] <zippy__> tbh, I think a 301 to the latest would be fine
1462: [20:02:25] <dpdocs21> sir, Is there any code in java language. and I want those codes which have not been refactored otherwise i will not get any result after refactoring.
1463: [20:02:28] <zippy__> or a 302 so it's not cached
1464: [20:02:30] <catcher> zippy__, I'm leaning that way too
1465: [20:02:54] <zippy__> catcher: the only issue with a 301 is it can get cached, google chrome will cache a 301 lcoally until you restart the browser
1466: [20:03:04] <Stomach> dpdocs21 - you might be in the wrong place. this is a channel for a PHP framework and CMS
1467: [20:03:04] <antmas> dpdocs21: not likely
1468: [20:03:18] <dpdocs21> ok
1469: [20:03:28] * SphereSilverNL has joined #silverstripe
1470: [20:03:53] <SphereSilverNL> Hey guys, anyone that can help?
1471: [20:04:12] <SphereSilverNL> I want to map the $url_params['Action'] to a function.
1472: [20:04:15] <catcher> zippy__, good point
1473: [20:04:19] <SphereSilverNL> BUT, the user can select the key
1474: [20:04:35] <SphereSilverNL> so {UserSelectedParam} should map top myFunction(){}
1475: [20:05:12] <catcher> zippy__, google itself doesn't cache 301s, does it?
1476: [20:05:30] <zippy__> catcher: I don't think so, but they could
1477: [20:05:57] <zippy__> [2014-03-26 22:31:08] <ss23> zippy__: Looks like relaese will happen tomorrow! :D
1478: [20:06:08] <zippy__> 3.1.4 today :)
1479: [20:12:00] <SphereSilverNL> But pushing the URL Handler to run the function it's pointing to, is not doing anything :(
1480: [20:12:36] * UncleCheese has joined #silverstripe
1481: [20:15:34] * mobiusnz has left #silverstripe
1482: [20:15:46] <Stomach> SphereSilverNL - have you allowed the function name in allowed_actions ?
1483: [20:16:15] <SphereSilverNL> No, because they are user-driven, I set them via public function handleAction(){}
1484: [20:18:57] * nicolaas has joined #silverstripe
1485: [20:19:16] <muskie9> should LimitCharacters() count html elements i.e. $Content.LimitCharachters(25) returns <p>Lorem ipsum dolor sit
1486: [20:19:32] <SphereSilverNL> IF that's 25 char, than yes.
1487: [20:19:52] <muskie9> didn't know if it would ignore html tags
1488: [20:19:54] <zippy__> I have a feeling limitCharacters will do a strip
1489: [20:20:17] <muskie9> I'll do some digging
1490: [20:21:18] <zippy__> muskie9: give it a rip, but im pretty sure it strips tags
1491: [20:21:45] <zippy__> 2.3.1+ ; * ![rev:71795] Strip tags before limiting characters when using LimitCharacters() on HTMLText field type
1492: [20:25:22] <SphereSilverNL> What am I missing? http://pastie.org/8971279
1493: [20:25:42] <SphereSilverNL> The allowedActions are okay
1494: [20:25:53] * wmk quit (Quit: nice to meet you ;))
1495: [20:29:10] * dpdocs21 quit (Quit: Leaving)
1496: [20:29:57] <muskie9> zippy__ got it, thanks... was related to the module
1497: [20:36:08] * muskie9 quit (Read error: Connection reset by peer)
1498: [20:36:41] * muskie9 has joined #silverstripe
1499: [20:37:01] <nicolaas> hey everyone, if I have a model with product groups and products and I want the products to be sorted by ProductGroup.Sort first and then product.Sort then is there a way that (a) I can include the Product Group table everytime I query the Product list so that I can setup the default sort to include ProductGroup.Sort?????
1500: [20:38:19] <simon_w> nicolaas, no
1501: [20:39:34] <muskie9> GroupedList?
1502: [20:42:48] <nicolaas> @muskie9 - what do you mean with GroupedList? @simon_w: thank you ;-)
1503: [20:43:01] <nicolaas> do you mean a grouped list in the template?
1504: [20:43:29] <muskie9> yes, I'm not sure if it would work in your case, but that's where I would start
1505: [20:43:50] <muskie9> http://doc.silverstripe.org/framework/en/howto/grouping-dataobjectsets
1506: [20:44:36] <muskie9> otherwise might need to write your own function
1507: [21:10:25] * antmas quit (Quit: Page closed)
1508: [21:10:38] * mojo5000 quit (Remote host closed the connection)
1509: [21:10:49] <ss23> zippy__: I hear!
1510: [21:10:53] <ss23> zippy__: I'm looking forward to it
1511: [21:10:55] <zippy__> :)
1512: [21:11:10] * zippy__ will composer update, and expect warm fuzzies
1513: [21:11:55] * antmas has joined #silverstripe
1514: [21:12:28] * mojo5000 has joined #silverstripe
1515: [21:14:23] <ss23> aw shit
1516: [21:14:28] <ss23> simon_w's commit just got peer reviewed and FAILED
1517: [21:14:51] <ss23> Guess that security release will be delayed, zippy__!
1518: [21:14:52] <ss23> :3
1519: [21:15:01] <simon_w> Haha, which one?
1520: [21:15:09] <ss23> https://github.com/silverstripe/silverstripe-framework/pull/2981#issuecomment-38737406
1521: [21:25:26] <simon_w> ss23, you're gonna have to escape it twice! :p
1522: [21:26:13] * jimcrib has left #silverstripe
1523: [21:26:24] * UncleCheese_ has joined #silverstripe
1524: [21:27:40] * mojo5000 quit (Remote host closed the connection)
1525: [21:30:02] <simon_w> ss23, also, using PHP's json_encode() as an example is a really bad thing to do.
1526: [21:30:04] <simon_w> > JSON.stringify('http://www.myname.com/#hello')
1527: [21:30:04] <simon_w> < ""http://www.myname.com/#hello""
1528: [21:30:11] <simon_w> Notice the lack of slashes?
1529: [21:33:18] <ss23> simon_w: irrelevant though
1530: [21:33:22] <SphereSilverNL> Sleep tight
1531: [21:33:32] * SphereSilverNL quit (Quit: bye)
1532: [21:37:00] <SMaction> I have changed the max file and max post size to 200M but when I go to upload a file in the CMS I am still limited to 2M. What did I miss?
1533: [21:37:20] <simon_w> SMaction, restarting Apache
1534: [21:37:39] * UncleCheese_ quit (Quit: UncleCheese_)
1535: [21:38:29] <SMaction> simon_w I did not type that but I did do it :)
1536: [21:39:36] <SMaction> simon_w nevermind foudn the problem
1537: [21:39:40] <SMaction> *found
1538: [21:42:22] <zippy__> SMaction: and it was..?
1539: [21:43:07] * catcher quit (Ping timeout: 264 seconds)
1540: [21:55:06] * OxFF1 has joined #silverstripe
1541: [21:56:51] * an_Eskimo has joined #silverstripe
1542: [21:57:01] * azureknight has joined #silverstripe
1543: [21:59:49] <azureknight> Hmm. Can csv-import functionality be added to a page? Or is it only through modeladmin?
1544: [22:00:44] * Shrike_Finland quit (Quit: Leaving.)
1545: [22:02:41] <zippy__> anyone else had an issue with mollom on a ss2.4 website using a ton of ram and taking forever?
1546: [22:04:56] * nbezzala quit (Ping timeout: 265 seconds)
1547: [22:05:44] <muskie9> azureknight: http://doc.silverstripe.org/framework/en/howto/csv-import#import-through-a-custom-controller
1548: [22:06:09] <azureknight> I have been reading that muskie9 but trying to see how I can pull it into the admin interface.
1549: [22:06:24] <muskie9> ah
1550: [22:07:12] <azureknight> Thank you though. :)
1551: [22:08:45] <muskie9> yep, not sure a custom cms action would do the trick
1552: [22:09:02] <azureknight> Yeah. It's a puzzler.
1553: [22:12:34] * nbezzala has joined #silverstripe
1554: [22:12:47] * OxFF1 quit (Quit: Hasta la proxima)
1555: [22:20:25] * r3v3rb has joined #silverstripe
1556: [22:22:13] * Andrew___ has joined #silverstripe
1557: [22:22:22] <Andrew___> hello guys
1558: [22:22:29] <Andrew___> I have a problem again
1559: [22:22:56] <Andrew___> I have two modules using query loaded in the homepage, nivoslider and maxcarousel
1560: [22:23:08] <Andrew___> and the result is that none of the sliders functions any more
1561: [22:23:12] <Andrew___> what to do?
1562: [22:23:41] <Andrew___> I meant jquery
1563: [22:24:06] <muskie9> Andrew___ console errors?
1564: [22:24:12] <Andrew___> no error
1565: [22:24:20] <Andrew___> but no slider and no carousel in the page
1566: [22:24:34] <Andrew___> hello muskie9 :)
1567: [22:25:11] <muskie9> are the modules on github?
1568: [22:25:18] <Andrew___> I feel it's a query conflict bc they use different versions of query they load dynamically
1569: [22:25:22] <Andrew___> yes
1570: [22:25:55] <Andrew___> https://github.com/Silvermax/maxcarousel.git
1571: [22:25:59] <Andrew___> and the other is
1572: [22:26:21] <zippy__> Andrew___: hopefully they use the Requires system, soy ou can block their ones, and pull in a version you specify (hopefully your on 3.1.x , in which cause I suggest the one in framework folder)
1573: [22:26:27] <Andrew___> https://github.com/micmania1/silverstripe-nivoslider.git
1574: [22:26:46] <Andrew___> yes I have SS 3.1.3
1575: [22:26:52] <muskie9> first one is combining js requirements
1576: [22:26:59] <Andrew___> I called in Page.php the framework jquery
1577: [22:27:08] <muskie9> Requirements::block('maxcarousel/javascript/carouFredSel-6.1.0/jquery-1.8.2.min.js');
1578: [22:27:18] <Andrew___> ok
1579: [22:27:25] <Andrew___> I will do this right now
1580: [22:27:59] * Colin[pi] has joined #silverstripe
1581: [22:28:20] * azureknight quit (Ping timeout: 268 seconds)
1582: [22:28:33] <muskie9> and Requirements::block(NivoSlider::get_module_folder() . '/javascript/jquery-1.9.0.min.js');
1583: [22:28:42] <Andrew___> ok
1584: [22:28:47] <Andrew___> I should do this too
1585: [22:28:50] <muskie9> that should block the jquery being pulled into the modules, then you can require your own
1586: [22:29:26] <muskie9> the trick will be if both jQuery plugins work with the jQuery version you end up using
1587: [22:30:29] <Andrew___> I see
1588: [22:30:34] * nbezzala quit (Read error: Connection reset by peer)
1589: [22:30:52] <Andrew___> I should put these two statements at the beginning right? before calling my own query version
1590: [22:30:53] <muskie9> I'm not sure if the carousel jQuery will be blocked as that's being required in an onAfterInit function
1591: [22:31:07] <muskie9> yes
1592: [22:31:13] <Andrew___> ok
1593: [22:31:18] <Colin[pi]> moin moin
1594: [22:31:21] <Andrew___> one mom
1595: [22:32:55] <antmas> Colin[pi]: guten morgen
1596: [22:33:00] <antmas> (spelling)
1597: [22:33:19] <Colin[pi]> bom dia antmas, tudo bem?
1598: [22:33:32] <antmas> Colin[pi]: .....I'm good, thanks?
1599: [22:33:36] <antmas> do I win?
1600: [22:33:46] <Andrew___> ok, now the nivoslider is working..but no carousel
1601: [22:33:52] <Colin[pi]> oh parabens! voce entendi!
1602: [22:34:08] <Andrew___> I will try installing another module...and I liked this one so much
1603: [22:34:35] <Andrew___> or maybe if I alter the code and call the query from the framework inside maxcarousel ?
1604: [22:34:49] <Andrew___> or not necessary bc I call it in page.php
1605: [22:35:46] <muskie9> if the maxcarousel jQuery is still being pulled in then I would just remove line 56 rom MaxCarouselPageExtension.php
1606: [22:35:55] <Andrew___> ok
1607: [22:36:04] <Andrew___> I'll do that right now
1608: [22:38:35] <Andrew___> I also noticed I have a jquery.caroufredsel.js called twice...I call it in page.php and maxcarousel also calls it
1609: [22:38:45] <Andrew___> the version I call is newer
1610: [22:38:51] <Andrew___> do I remove that line too?
1611: [22:39:09] * travis-ci has joined #silverstripe
1612: [22:39:09] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#805 (3.0 - 43d308c : Damian Mooyman): The build passed.
1613: [22:39:09] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/b6194c304d56...43d308cd1b2f
1614: [22:39:09] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21631770
1615: [22:39:09] * travis-ci has left #silverstripe
1616: [22:39:11] <muskie9> yes
1617: [22:39:37] <Andrew___> ok
1618: [22:39:40] <muskie9> or no, might want to try one then the other... depends on if the module will run with either one specifically
1619: [22:39:59] <Andrew___> let's see whats happening now...
1620: [22:40:04] <Andrew___> and how do I do that?
1621: [22:41:05] <muskie9> remove the one in your Page.php, if the module works then you're good to go, if not then keep that one and try removing the one from the module
1622: [22:43:47] <Andrew___> I did either way and still no carousel in the page
1623: [22:44:01] <Andrew___> I will let go this module and try another one ...huh...
1624: [22:44:06] * r3v3rb quit (Quit: r3v3rb)
1625: [22:46:24] * basso_ has joined #silverstripe
1626: [22:46:36] <Andrew___> thank you anyway muskie9, you've been of great help
1627: [22:46:45] <Andrew___> I might have to write my own module here...
1628: [22:46:54] <Andrew___> have a great evening
1629: [22:47:42] * nbezzala has joined #silverstripe
1630: [22:48:55] <basso_> Hi, im trying to import a piece of code from another project. I get the following error: No has_one found on class 'Menu', the has_many relation from 'MenuListPage' to 'Menu' requires a has_one on 'Menu'. After defining the 1-1 relation, I still get the same error, and I have rebuilded my tables
1631: [22:49:40] <simon_w> basso_, have you flushed?
1632: [22:50:29] <basso_> simon_w: yes
1633: [22:50:47] <simon_w> And what class did you add the has_one to?
1634: [22:51:03] * Andrew___ quit (Ping timeout: 245 seconds)
1635: [22:51:12] <basso_> MenuListPage
1636: [22:51:27] <simon_w> It needs to be added on Menu
1637: [22:55:00] <basso_> simon_w: I still get the same error, strangeley
1638: [22:58:27] <ss23> simon_w: elaborate! :D
1639: [22:58:40] <ss23> simon_w: idk which escaping you're talking about
1640: [22:58:49] <simon_w> ss23, you listed three browsers that don't require / to be escaped either
1641: [22:58:59] <ss23> :P
1642: [22:59:00] <ss23> Which ones do?
1643: [22:59:09] <simon_w> Old IE
1644: [22:59:16] <ss23> How old?
1645: [22:59:21] <simon_w> And maybe FF3
1646: [22:59:32] <simon_w> <8
1647: [22:59:34] <ss23> Don't think FF3 is worth supporting personally ;)
1648: [22:59:40] <ss23> Okay
1649: [22:59:49] <Stomach> blasphemy! ff3 is the pinacle
1650: [23:03:46] <simon_w> Aww, I only get economy
1651: [23:07:48] <ss23> simon_w: My test case of <\/script> works fine in IE7
1652: [23:08:26] <ss23> even IE6 seems fine
1653: [23:08:37] <ss23> simon_w: Can you give a test case please? <3
1654: [23:12:11] * antmas_ has joined #silverstripe
1655: [23:12:28] <Colin[pi]> "I'm sorry, but you can't access that part of the CMS." - my local dev site has decided to not let me in D:
1656: [23:12:45] * travis-ci has joined #silverstripe
1657: [23:12:45] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#806 (3.1 - 17b3e3e : Damian Mooyman): The build passed.
1658: [23:12:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/7002dcfa7fdb...17b3e3e99fa4
1659: [23:12:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21631995
1660: [23:12:45] * travis-ci has left #silverstripe
1661: [23:13:09] * antmas quit (Ping timeout: 245 seconds)
1662: [23:13:31] * violetina has joined #silverstripe
1663: [23:21:12] <basso_> Im trying to import a piece of code from another project. I get the following error: No has_one found on class 'Menu', the has_many relation from 'MenuListPage' to 'Menu' requires a has_one on 'Menu'. I flushed and rebuilt. I created a paste: http://pastie.org/8971707 Whats wrong?
1664: [23:23:29] <antmas_> I'm such a sucker for GoPro videos
1665: [23:23:34] * antmas_ is now known as antmas
1666: [23:23:53] <muskie9> basso_ need a has_one in Menu 'MenuListPage' => 'MenuListPage'
1667: [23:24:51] <Colin[pi]> fuck my responsive caption images have a prob in the cms, each time you click them they shrink lol
1668: [23:24:56] <Colin[pi]> better fix that...
1669: [23:25:22] <basso_> muskie9: i defined those
1670: [23:26:30] <muskie9> was looking at the pastie link, only one has_one declared in class Menu
1671: [23:27:05] <antmas> http://www.youtube.com/watch?v=WXxJTKOhSW4
1672: [23:28:03] <basso_> muskie9: and in MenuListPage as well
1673: [23:28:50] <muskie9> basso_ so the has_one in MenuListPage is for the has_many?
1674: [23:29:32] <muskie9> http://pastie.org/8971724
1675: [23:29:42] <muskie9> line 75
1676: [23:30:59] <basso_> muskie9: thanks. Any explanation why that is required?
1677: [23:31:18] <basso_> The orginal code is working on SS 3.0 something, I believe
1678: [23:31:54] <antmas> Colin[pi]: denied!
1679: [23:32:05] <antmas> ;__________________________; surgery time tomorrow
1680: [23:33:06] * mojo5000 has joined #silverstripe
1681: [23:33:22] <muskie9> I've noticed some big changes from 3.0.x to 3.1.x, I tend to add the relation back in all cases, think it's best practice based on docs
1682: [23:35:16] <simon_w> basso_, it working in 3.0 just means it was using ParentID, which is probably a different relation
1683: [23:36:18] <muskie9> if I'm thinking of it correctly, the has_many/has_one relations are driven by the RelationNameID on the side with the has_one
1684: [23:37:41] <basso_> Alright. Thanks.
1685: [23:42:19] <basso_> Whats the easiest way to find the version of a SS installation? I'm better off running 3.0 if their code is based on that.
1686: [23:42:29] <basso_> Looked in silverstripe_version, but it's empty
1687: [23:42:56] * chris_bryer has joined #silverstripe
1688: [23:45:56] <basso_> Hovering over the SS icon shows the version
1689: [23:46:31] <zippy__> basso_: I think that is empty if you do a composer install, so you could always check the composer lock
1690: [23:52:52] * muskie9_ has joined #silverstripe
1691: [23:53:22] * muskie9__ has joined #silverstripe
1692: [23:53:57] * muskie9 quit (Ping timeout: 240 seconds)
1693: [23:54:14] * muskie9__ is now known as muskie9
1694: [23:54:31] <basso_> zippy__: yeah, its empty at the other installation. Unfortunately it's a copy.
1695: [23:56:57] * muskie9_ quit (Ping timeout: 240 seconds)
1696: [23:59:03] * travis-ci has joined #silverstripe
1697: [23:59:15] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#810 (3.0 - 2804331 : Damian Mooyman): The build passed.
1698: [23:59:15] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/43d308cd1b2f...28043317bbdf
1699: [23:59:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21635516
1700: [23:59:15] * travis-ci has left #silverstripe

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