#silverstripe IRC Log

IRC log for 18 November 2013

All timestamps are in UTC.

1: [00:00:46] <EasyCo> Config::inst()->update('prop', 'vale');
2: [00:01:06] <EasyCo> Sorry
3: [00:01:08] <EasyCo> that's wrong
4: [00:01:43] <ss23> simon_w: now?
5: [00:02:25] <simon_w> ss23, might as well. 4 minutes.
6: [00:02:42] <EasyCo> Nimle: http://doc.silverstripe.org/framework/en/trunk/topics/configuration#reading-and-updating-via-the-config-class
7: [00:02:42] <ss23> cool
8: [00:02:45] <ss23> seeya then :D
9: [00:04:40] * marvanni quit (Ping timeout: 264 seconds)
10: [00:07:56] <Nimle> @EasyCo, I read it before. the problem is it works if I call it in config file to updatte. but I want to call it inside an extension class. For exampl,e inside the init function of MyAdminExtension extends LeftAndMainExtension. but it is ignored here.
11: [00:08:17] * Vikk quit (Ping timeout: 250 seconds)
12: [00:09:09] * antmas quit (Ping timeout: 250 seconds)
13: [00:13:53] <EasyCo> Nimle, what've you got?
14: [00:15:40] <Pyromanik> LimRes: nah, Dataobject::get* is obsolete
15: [00:15:58] <Pyromanik> unless you're using silverstripe version 2.4
16: [00:17:11] <Pyromanik> you should use Quote::get()->byID($data['QuoteID'])
17: [00:18:27] <Nimle> @EasyCo, $config=Config::inst(); $config->update('LeftAndMain', 'application_name', $myCompanyName); $config->update('LeftAndMain', 'application_link', $myCompanyLink); if i call this in config file it works. I want to make this cms controllable. so, to get company details from database and set it dynamically. it should be done in another class or somewhere not in config. and I want they to be called only in admin area, not i
18: [00:19:43] <Pyromanik> Nimle: try LeftAndMain::init()
19: [00:19:47] * SphereSilverNL has joined #silverstripe
20: [00:19:48] <Pyromanik> maybe
21: [00:20:28] <Nimle> I tried init function inside class MyLeftAndMain extends LeftAndMain. but didnt work
22: [00:20:40] <Nimle> it appears the call is already late in this point
23: [00:20:55] <SphereSilverNL> OnAfterInit?
24: [00:21:12] <Nimle> public function init() { parent::init(); HERE
25: [00:21:13] <Pyromanik> onBeforeInit?
26: [00:21:26] <SphereSilverNL> works too
27: [00:21:36] <SphereSilverNL> if you want stuff before init()
28: [00:22:11] <Pyromanik> iirc handleAction calls init
29: [00:22:20] <SphereSilverNL> as simon_w told me, thoso only work on extensions, not n inherits
30: [00:22:30] <Pyromanik> errm, handleRequest
31: [00:22:50] <SphereSilverNL> I'm dropping into something I guess :P
32: [00:22:53] <Pyromanik> SphereSilverNL: correct.
33: [00:23:07] * UncleCheese quit (Quit: UncleCheese)
34: [00:23:16] <Pyromanik> (onbefore/after are extension things)
35: [00:24:26] <SphereSilverNL> What are you trying to achieve?
36: [00:27:09] <Nimle> I want to allow an admin user to change Silverstripe logo in the amdin area, change application link, change other colors (which loads another css by $config->update('LeftAndMain', 'extra_requirements_css', array('ticketsdotcombrand/css/my-css.css'));
37: [00:27:17] <Nimle> I mean customizing admin area
38: [00:27:25] <Nimle> all these things work in config file
39: [00:27:36] <Nimle> but it becomes "hardcoded"
40: [00:27:40] <Nimle> can't control from cms
41: [00:27:55] <SphereSilverNL> Yes, you can, but you have to "hardcode" it into the CSS
42: [00:28:17] <SphereSilverNL> You have to write the actual file that controls such thing.
43: [00:28:23] <Nimle> But when user sets in admin, I can generate a dynamic css code to add to the requirements
44: [00:28:44] <Nimle> so, I want to be able to call config api from somewhere outside config file
45: [00:28:52] <SphereSilverNL> And push it onBeforeInit(){} to the CMS?
46: [00:29:18] <Nimle> it doesnt work on some ajax loads. you sometimes need hardfresh
47: [00:29:20] <SphereSilverNL> This sounds more like a security breach than an actual feature....
48: [00:29:36] <Nimle> not really, there is no security breach
49: [00:29:47] <Nimle> it all happens in the admin area when admin is logged in
50: [00:29:55] <SphereSilverNL> You ALWAYS need a hard refresh, since the left part of leftandmain is not ajaxed usually
51: [00:30:18] <SphereSilverNL> if it's a security-breach, I'll leave that up to you :)
52: [00:30:42] <Nimle> if loaded in config file, it always works in ajax calls. :)
53: [00:30:44] <SphereSilverNL> but I'm scratching my head here, thinking why you would even think of such a "feature" ;)
54: [00:31:00] <Nimle> because companies want it
55: [00:31:12] <Nimle> iI mean customer insits to change logo etc
56: [00:31:21] <wracu> f
57: [00:31:25] <SphereSilverNL> but you don't need to set it via admin, just hardcode it?
58: [00:31:25] <Nimle> they want more custom cms
59: [00:31:37] * zfmf has left #silverstripe
60: [00:31:46] <Nimle> but it is not easy to change config each time.
61: [00:31:55] <SphereSilverNL> than customise the CMS to their wish, but don't give them the option to customise AS they wish?
62: [00:32:23] <Nimle> for example, they want different logo when different admin logins
63: [00:32:38] <Nimle> but I can't change config each time when they create a new user
64: [00:32:42] <SphereSilverNL> add a security.ss file to your theme-dir
65: [00:32:55] <SphereSilverNL> they want diff logo's for diff user?
66: [00:33:21] <Nimle> because different branches login from different countries
67: [00:33:27] <Nimle> they have different branding
68: [00:33:37] <SphereSilverNL> ehm..... that does not compute. it means they want different users to think, they are in a different environment, while they are at the same environment.
69: [00:33:53] <wracu> I mentioned earlier about having multiple DataObjects on the same Tab in ModelAdmin.
70: [00:33:54] <wracu> This was intended to allow an admin to configure multi-select options in the main DataObject
71: [00:33:57] <SphereSilverNL> best I can think of, is manual updates based on hte language
72: [00:33:58] <wracu> With that off the options list, what sort of strategies do I have available in terms of populating the configuration dataobjects? (no requirement to administer)
73: [00:34:46] <SphereSilverNL> you can't tell who is who, without them logging in, so, someone in China, but with en_US browser setting, will see the en_US logo
74: [00:35:20] <Nimle> yes
75: [00:35:31] <SphereSilverNL> second best thing I can think of, is making the "CSS" a generated file by PHP, which acts like it is a CSS file
76: [00:35:32] <Nimle> Another way I think (not a good way) is to write to the config file when cms settings updated. I mean generate a new config file
77: [00:36:10] <Nimle> @SphereSilverNL, yes I have made php generated css file. but it needs to be loaded in config. that's why I ask how to lead it without config file
78: [00:36:14] <SphereSilverNL> That's using PHP as a CSS. That can be done. It's not a good thing, but it can be done.
79: [00:36:30] <SphereSilverNL> It's not needed in _config
80: [00:36:44] <SphereSilverNL> if the included PHP file can detect what to do, it should work.
81: [00:36:54] <Nimle> $config->update('LeftAndMain', 'extra_requirements_css', array(mycss.css')); works only if I call in config file
82: [00:37:24] <Nimle> but if I just load css in admin dataobject or model admin, it doesnt always work as ajax doesnt load it
83: [00:37:48] <Nimle> if you hard refresh, it loads then
84: [00:45:48] <Nimle> I just thought I will solve it to make a module and upload to github as some others may need it as well. Other cms like wordpress, etc already have such plugins to give more control over customization on individual-user level.
85: [00:47:47] <SphereSilverNL> class MyLeftAndMainExtension extends Extension { public function onAfterInit(){
86: [00:47:49] <SphereSilverNL> Requirements::css('silverstripe-newsmodule/css/news_icon.css');
87: [00:47:50] <SphereSilverNL> }
88: [00:48:25] <SphereSilverNL> yoursite/_config/extensions.yml
89: [00:48:32] <SphereSilverNL> LeftAndMain:
90: [00:48:34] <SphereSilverNL> extensions:
91: [00:48:36] <SphereSilverNL> ['NewsLeftAndMainExtension']
92: [00:48:38] <SphereSilverNL> With that, you can force it.
93: [00:49:04] <SphereSilverNL> But be advised. Tricking users to be at point A, while they are actually at point K, is BAAAAAAAD PRACTICE
94: [00:49:53] <SphereSilverNL> My advice? Tell the client to go to hell (in other words, because, well, ehm... you got it, right?)
95: [00:50:08] <SphereSilverNL> Don't co-operate with tricking users. Ever. It's bad
96: [00:51:39] <wracu> so requireDefaultRecords sounds like it will do the trick by populating the db with records on dev/build
97: [00:51:55] <SphereSilverNL> yep, it kinda does that :D
98: [00:51:56] <wracu> need to give that a shot..
99: [00:51:59] <wracu> LD
100: [00:52:08] <SphereSilverNL> Note, it will ALWAYS run
101: [00:52:22] <Nimle> @SphereSilverNL hahaha. But then I need to go the hell to collect requirements as well. They will have more requirements if they are in the hell. Such requirements come because their initial site was in wordpress and I changed to ss. They could do this stuff in cms in wordpress.
102: [00:52:35] <wracu> so need to throw some logic in to make sure I dont get duplicates?
103: [00:52:42] <SphereSilverNL> if you don't have a check, it'll create a new object and write it, EVERYTIME you run a build
104: [00:52:51] <wracu> oook ta for the tip
105: [00:53:29] <ss23> guis, SilverStripe has a community manager now
106: [00:53:35] <ss23> so lets bombard him with "GODDAM IT GIVE US DOCS"
107: [00:53:43] <SphereSilverNL> :D
108: [00:54:06] <SphereSilverNL> wracu: Here's my mods requirement: https://github.com/Firesphere/silverstripe-newsmodule/blob/master/code/pages/NewsHolderPage.php
109: [00:54:13] <SphereSilverNL> Line 32 and on
110: [00:54:55] <SphereSilverNL> Nimle: You don't have much customer experience, do you :P ;)
111: [00:56:29] <SphereSilverNL> Am I the only one that thinks "That looks like simon_w ? "
112: [00:56:31] <SphereSilverNL> https://scontent-a-ams.xx.fbcdn.net/hphotos-ash3/1456081_10201759261416162_387277810_n.jpg
113: [00:56:51] <Nimle> @SphereSilverNL, I dotn really face customer directly. I got the requirements from other stuff who get them from customer. Customer thinks they are always right, But company doesn't care who is right, they decide who is left (in the company).
114: [00:57:14] <Nimle> stuff=staff
115: [00:57:48] <SphereSilverNL> Note to self: Customer is always wrong ;)
116: [00:58:11] <SphereSilverNL> But as I said, it can be done, but it's not a safefailproof method
117: [00:58:22] <SphereSilverNL> safe/failproof
118: [00:59:12] <SphereSilverNL> Here's the thing. A customer wants something. He/she doesn't know what exactly, but he/she wants something.
119: [00:59:39] <SphereSilverNL> And in his/her mind, it's all figured out. It'll never, ever make sense, but that's how it works
120: [01:00:05] <SphereSilverNL> your job, is to convince the customer, your solution is the answer to his/her question
121: [01:00:40] <Nimle> @SphereSilverNL Hard to prove to customer that they are wrong. You know in business there is a golden rule. He who has gold rules.
122: [01:01:00] <SphereSilverNL> You've never seen me talk to customers than :D
123: [01:02:01] <SphereSilverNL> And yes, I will, literally, tell a customer to "F off" (including some letters like U, C and K) if I can't convince him/her
124: [01:02:20] <Nimle> I know what you mean when you talk about customer expectation management. But if their old product had a feature, and you promote the new product with lower features, saying "this can't be done because of ....
125: [01:02:26] * froog has joined #silverstripe
126: [01:02:51] <SphereSilverNL> It can be done. That's not the problem ;)
127: [01:03:16] <SphereSilverNL> They're just assuming everything is "the best way"
128: [01:03:17] * UncleCheese has joined #silverstripe
129: [01:03:17] <Nimle> @SphereSilverNL, so you decided to agree with customer? :)
130: [01:03:45] <SphereSilverNL> Nimle: I've told numorous customers to "get a life"
131: [01:04:28] <SphereSilverNL> What you have to get through to their big-skulled-big-boned head, is YOU are the one who knows what's best.
132: [01:04:54] <SphereSilverNL> And thus, a simple feature, might take more time to do it right, than to do it vulnerable
133: [01:05:07] <Nimle> @SphereSilverNL I understand you. Somestimes avoiding a problem is a solution as well. But sometimes.
134: [01:05:38] <Nimle> of course, this feature is not something useful
135: [01:05:43] <SphereSilverNL> Not always, but when you have to face it, make sure you're not creating a bad thing because the customer wants it.
136: [01:06:11] <SphereSilverNL> Create a good thing, and tell the customer, and explain, why it takes more than just a click of a button
137: [01:07:28] <Nimle> In many companies, those who make decisions don't know about technology and sometimes they dont listen to suggestions. They think the idea they have is a cool one.
138: [01:08:05] <Nimle> http://images2.wikia.nocookie.net/__cb20130615200237/trollpasta/images/1/10/If_you_know_what_I_mean.png
139: [01:08:29] <SphereSilverNL> I have the lucky position where I can even tell customers I don't give a shit about a wordpress plugin that does what they want
140: [01:08:40] <froog> Hi all - quick question - does anyone know of a module, recipe or otherwise to esentially get Model Admin working on the site itself? I want the ability to CRUD DataObjects on the site (so I can have full UI control). Any tips?
141: [01:09:20] <SphereSilverNL> Make a modeladmin and also give the permissions?
142: [01:10:20] <SphereSilverNL> optionally, onAfterWrite(){}, update the ID?
143: [01:10:46] <froog> Well, the point is to NOT actually show them the CMS interface, instead filter it and show only what they need. They'll still need to login of course, but they'll never see the actual CMS
144: [01:11:19] <SphereSilverNL> Soooo.... you want admin-features without being admin
145: [01:11:28] <SphereSilverNL> Don't do that
146: [01:11:32] <froog> Pretty much. Well, not actually admin featuers
147: [01:11:37] <froog> more sub-user features
148: [01:11:38] <SphereSilverNL> don't
149: [01:11:48] <froog> Why not?
150: [01:12:13] <SphereSilverNL> You want a user to completely reset the database, without admin rights
151: [01:12:17] <froog> Heh
152: [01:12:26] <froog> this idea gives them LESS feature, not more
153: [01:12:41] <froog> basically, you'll login as a user with NO (or very little) CMS features
154: [01:13:00] <froog> and get a stripped down interface that gives them very limited CRUD controls
155: [01:13:04] <SphereSilverNL> I'm not saying it's a bad idea to give users too much power.... Wait, yes, I do
156: [01:13:35] <froog> Oh I agree completely
157: [01:13:41] <froog> That's what this idea is solving :)
158: [01:14:19] <SphereSilverNL> The solution is "no"
159: [01:14:27] <froog> If a user logs into the CMS, if you don't want them to have something you have to strip it away. This idea means you don't have to do that. You DO have to recreate it, which takes a bit of work, hence why I'm trying to find out if it's been done before....
160: [01:15:30] <SphereSilverNL> That's where "implements" comes in. Implementation of security. That would mean a whole new group (that's easy), that has that exact permission.
161: [01:16:04] <SphereSilverNL> But don't ever, never, ever, give a user the power to do things he/she is not supposed to do
162: [01:16:18] <froog> Of course! I'm not suggesting that at all
163: [01:16:26] <SphereSilverNL> What you want/need, is just another user-group.
164: [01:16:54] <SphereSilverNL> A group that has permission to create a new poll, but not the permission to view the pages
165: [01:16:57] <SphereSilverNL> for example.
166: [01:17:03] <froog> Yes, I will need that. But I'll also need an CRUD interface on the site side
167: [01:17:13] <SphereSilverNL> that's build in ;)
168: [01:17:45] <SphereSilverNL> The frontend can be secured the same way, using Member::currentMember()->checkPermission()
169: [01:17:46] <froog> Yep, it is. But it's not easily themeable, and you get a lot of features you may not need.
170: [01:17:53] <froog> Also, users break things inside a cMS...
171: [01:18:05] <SphereSilverNL> Users are idiots.
172: [01:18:09] <froog> Heh.
173: [01:18:26] <SphereSilverNL> But, a frontend-method, can be done, as long as the user is logged on
174: [01:18:31] <froog> Yep, that's the plan
175: [01:18:50] <SphereSilverNL> you can check if the user has the permission to do whatever you want it to be capable of doing
176: [01:19:05] * camfindlay has joined #silverstripe
177: [01:19:15] <SphereSilverNL> Member::currentMember() gives you that, even in an ajax-call
178: [01:19:35] <froog> That's right
179: [01:19:43] <SphereSilverNL> But please don't give a user permissions to do anything?
180: [01:20:06] <froog> Do you mean anything, or everything? :P
181: [01:20:09] <SphereSilverNL> You can set the permissions as admin. Do so, than, let the user wreck everything with bad texts
182: [01:20:33] <SphereSilverNL> I mean anything. That includes "give me the entire database"
183: [01:20:54] <SphereSilverNL> one bad security-thought, and your entire database is public
184: [01:22:05] <froog> Well, you need to give them SOME permissions, to do their job (eg; create and edit a Data Model). But obviously limit as much as possible.
185: [01:23:17] <SphereSilverNL> But, from frontend side, you have to consider a lot more ;) For example, escape injection yourself, instead of SS3 (don't trust SS3.4.x on that!) doing it for you
186: [01:23:26] <froog> The thing I like about a custom(ish) site side CMS is that they only need to see what they need to. Plus it's completely themable, unlike the CMS.
187: [01:23:34] <froog> Yes, security is a big concern if you DIY :)
188: [01:24:31] <SphereSilverNL> I'm not trying to say your idea won't work ;)
189: [01:24:56] <SphereSilverNL> But I think security -> functionality -> usability -> user
190: [01:25:06] <SphereSilverNL> User is the last on my list :P
191: [01:25:10] <froog> I know :) I'm kinda tempted to start creating a module
192: [01:25:11] <froog> Well
193: [01:25:33] <froog> The user is extremely important :P
194: [01:25:50] <froog> Because, after all, the site is for them
195: [01:25:54] <SphereSilverNL> No, they're not
196: [01:26:10] <SphereSilverNL> They THINK they are imortant ;)
197: [01:26:14] <froog> But yeah, sometimes users have to be told how things work, from a technical POV
198: [01:26:42] <SphereSilverNL> A user, is just the person interacting with what you did
199: [01:27:24] <SphereSilverNL> They might think you did wrong, but in the end, you are the one making sure everything is secure.
200: [01:27:33] <SphereSilverNL> And securing, is expensive
201: [01:27:34] <froog> Oh I agree
202: [01:27:42] <wracu> thanks SphereSilverNL -_-
203: [01:27:48] <froog> You're order is correct. i'm just saying that users are still very important :0
204: [01:28:00] <SphereSilverNL> wracu: whut?
205: [01:28:02] <simon_w> You're making it sound like making something secure is neigh-impossible
206: [01:28:12] <simon_w> *nigh
207: [01:28:13] <SphereSilverNL> simon_w: it is
208: [01:28:14] <wracu> for the requireDefaultRecords link
209: [01:28:17] <simon_w> No, it isn't
210: [01:28:31] <simon_w> Making a CRUD interface secure? Easy.
211: [01:28:37] <SphereSilverNL> the moment you think it's secure, the next person comes along and shows you it isn't
212: [01:28:55] <froog> KISS for CRUD? :P
213: [01:29:35] <SphereSilverNL> The best you can do, is make sure it's secure up to the known standards
214: [01:29:44] <froog> Sure, security is a never ending game
215: [01:29:59] <SphereSilverNL> You can't say it's secure, you can only say it's up to standard
216: [01:30:17] <simon_w> Oh man, so glad I don't have to work with that attitude
217: [01:30:45] <SphereSilverNL> Daily basis :)
218: [01:31:35] <SphereSilverNL> And it's not bad :)
219: [01:32:06] <simon_w> Yes it is. You're working in a land of hypotheticals.
220: [01:32:13] <froog> So, after all that, no joyful, completely secure modules that implement ModelAdmin or similar CRUD on the site itself? :P
221: [01:32:52] <SphereSilverNL> simon_w: possibly, yes.
222: [01:33:05] <zippy__> umm isn't that what security is all about… dealing and mitigating the 'what if' ?
223: [01:33:13] <zippy__> it just depends how crazy you go...
224: [01:33:33] <simon_w> zippy__, what if cosmic rays flip this bit here that unlocks everything?
225: [01:33:39] * john____ has joined #silverstripe
226: [01:33:56] <simon_w> (Google and FB do actually have to deal with that)
227: [01:34:10] <john____> rgre
228: [01:34:15] * john____ quit (Client Quit)
229: [01:38:43] * SphereSilverNL quit (Remote host closed the connection)
230: [01:39:41] <Zauberfisch23> simon_w: haha, I am sure cosmic rays are a real danger
231: [01:39:49] <Zauberfisch23> http://cdn.memegenerator.net/instances/500x/43097223.jpg
232: [01:39:59] <Zauberfisch23> oh noez, a typo
233: [01:40:01] <Zauberfisch23> well
234: [01:40:37] <Zauberfisch23> anyway, yeah, one can overdo things, but better overdo security than taking it to lightly
235: [01:41:34] <simon_w> http://securityrealwebblog.blogspot.co.nz/2011/10/bit-squatting-dns-hijacking-without.html
236: [01:41:43] <simon_w> cosmic-ray based attack
237: [01:43:10] <ss23> The original paper is really good actually, if you want real stats
238: [01:45:14] * SightUnseen has joined #silverstripe
239: [01:45:24] * SightUnseen has left #silverstripe
240: [01:45:35] <zippy__> hm
241: [01:47:59] <simon_w> ss23, how many hits have you got on wwwnreddit.com?
242: [01:50:53] * travis-ci has joined #silverstripe
243: [01:50:53] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1560 (3.1 - b48b08b : Sean Harvey): The build passed.
244: [01:50:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/651d3ea7fc57...b48b08bb8d26
245: [01:50:54] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/14119029
246: [01:50:54] * travis-ci has left #silverstripe
247: [01:56:15] <ss23> simon_w: Haven't set up montoring yet :(
248: [01:56:26] <ss23> simon_w: Wanna set it up and I'll just pout it at your nameserver?
249: [01:56:35] <ss23> I have wikipedia too
250: [01:56:49] <Zauberfisch23> ss23: how poring, a parked site
251: [01:56:53] <Zauberfisch23> *boring
252: [01:57:29] <Zauberfisch23> why not wget http://www.reddit.com/ and some minor modifications?
253: [01:59:06] <ss23> Zauberfisch23: I wanna monitor it for amount of hits etc
254: [01:59:10] <ss23> Which means work setting it up
255: [02:08:32] <simon_w> Oh man, so hot and stuffy
256: [02:09:53] <ss23> Open a window?
257: [02:10:21] <Nimle> Hi, how can I get Silverstripe version programmatically ? For example, if 3.0 do this, if above, do this
258: [02:10:51] <simon_w> Usually you just have two different versions of the module
259: [02:11:09] <Nimle> but I dont have two versions for just a few lines.
260: [02:11:14] <Nimle> of difference
261: [02:11:23] <simon_w> And it's LeftAndMain::CMSVersion()
262: [02:11:36] <Nimle> cool
263: [02:11:38] <Nimle> thanks
264: [02:42:26] <zippy__> mmm
265: [02:43:28] <zippy__> ss23: grep the log file?
266: [02:45:36] <ss23> zippy__: Doesn't tell you enough
267: [02:45:36] <zippy__> fairly impressed with this box from sitehost, but they do things a little odd…. You get 3 ips but they don't setup the extra ones. You get 6x500gb hdds which they partition and setup in raid, but they only mount 20gb of it.... I guess it's good as it gives you the choice but a little different to what im used to..
268: [02:45:57] <zippy__> ss23: tells you if people are going there, if you have an image /any assets then you can tell if they're not a bot
269: [02:45:58] <ss23> zippy__: They do support too. If you make a ticket being like "Please set up my IPs I'm noob" they'll normally do it for free
270: [02:46:11] * ajshort has joined #silverstripe
271: [02:46:31] <zippy__> not to worried, did it myself it's just a "is this box fully setup?"
272: [02:46:58] <zippy__> someone do it half arse and go home early or is this really it
273: [02:49:59] <simon_w> Yes.
274: [02:50:08] <simon_w> ss23, if I set it up, what would you want on it?
275: [02:51:21] <ss23> simon_w: Well, I don't mind about content, I just think the amount of hits + ratios are interesting
276: [02:51:39] <ss23> simon_w: So checking how many hits it gets, etc
277: [02:51:44] <ss23> I just want basic stats, idc how it gets done
278: [02:51:45] <ss23> But like
279: [02:52:05] <ss23> You'll have to run a nameserver I guess, so when people look up the actual A record we can see that, and see if they're trying to look for the A record for www.facebook.com etc
280: [02:52:35] <simon_w> Bah, running an actual NS is way more effort
281: [02:54:07] <ss23> :P
282: [02:54:10] <ss23> Thats why I haven't bothered!
283: [02:54:48] <Ryan-Toast> Is there no multiple checkbox field for the CMS backend?
284: [02:55:04] <simon_w> CheckboxSetField
285: [02:55:28] <Ryan-Toast> simon_w: cheers.
286: [02:55:47] <Ryan-Toast> Apparently I'm blind, and didn't see it on the docs page.
287: [02:56:58] <LimRes> Hey Simon_w, sorry I dropped off just wanted to say a big thank you, I got it going just in time to demo it to a client
288: [02:57:02] <LimRes> :)
289: [02:58:25] <simon_w> Good timing ;)
290: [02:58:59] <LimRes> sure I can't buy you a coffee at least?
291: [02:59:51] <simon_w> Don't drink it
292: [02:59:57] <ss23> haha
293: [02:59:58] <simon_w> Just write some docs instead? :p
294: [02:59:59] <LimRes> Juice?
295: [02:59:59] <ss23> LimRes: ME
296: [03:00:02] <ss23> BUY ME SOME STUFF
297: [03:00:02] <ss23> :D
298: [03:00:03] <LimRes> Soda?
299: [03:00:11] <ss23> LimRes: are you in Wellington? YOu can take me out for lunch
300: [03:00:12] <LimRes> Caramels?
301: [03:00:12] <ss23> :D
302: [03:00:24] <simon_w> Or, visit ss23 and whack him over the head ;)
303: [03:00:25] <ss23> Though I agree, write docs
304: [03:00:27] <ss23> :(
305: [03:00:28] <ss23> Ouch!
306: [03:00:38] <simon_w> He didn't buy me lunch!
307: [03:00:41] <LimRes> I am feeling the SS love
308: [03:00:45] <LimRes> what a family
309: [03:00:48] <LimRes> :D
310: [03:00:56] <simon_w> He's from Hamilton
311: [03:01:04] <LimRes> ah that explains it
312: [03:01:14] <LimRes> oops did I type that!?
313: [03:01:21] <LimRes> sorry, my inner monologue is broken
314: [03:02:08] <ss23> :(
315: [03:02:16] <ss23> AT LEAST
316: [03:02:16] <ss23> I
317: [03:02:17] <ss23> ...
318: [03:02:18] <ss23> I...
319: [03:02:19] <ss23> ;_;
320: [03:02:24] <ss23> :(
321: [03:03:36] <LimRes> really I was not serious at all, I actually like hamilton
322: [03:03:53] <LimRes> my good mate was married there
323: [03:04:36] * joelpittet has joined #silverstripe
324: [03:04:46] <ss23> :P
325: [03:04:55] <simon_w> Poor him :p
326: [03:05:25] <LimRes> ok, well thank you very much for the help, I must go forth, I'll try to pay the kindness forward
327: [03:10:43] * LimRes quit (Ping timeout: 250 seconds)
328: [03:20:16] * howardgrigg quit (Remote host closed the connection)
329: [03:20:45] * howardgrigg has joined #silverstripe
330: [03:25:23] * howardgrigg quit (Ping timeout: 265 seconds)
331: [03:33:05] * camfindlay quit (Quit: camfindlay)
332: [03:43:28] <ss23> Oh look!
333: [03:43:31] <ss23> CAm came on IRC!
334: [03:43:31] <ss23> :D
335: [03:43:45] <ss23> Remember to bug him about no docs!
336: [03:44:49] <Pyromanik> all dem nodocs
337: [03:45:04] <Pyromanik> take nodoz to fix nodox
338: [03:51:36] <Nimle> $this->dbObject('titles')->enumValues(); how do the same thing inside updateCMSFields of MyConfigExtension extends DataExtension ?
339: [03:51:54] <Nimle> as it is not dataobject
340: [03:53:08] <Nimle> I want to create a dropdown from enum values
341: [03:53:11] * froog quit (Ping timeout: 250 seconds)
342: [03:53:37] * wracu quit (Ping timeout: 250 seconds)
343: [03:59:47] * camfindlay has joined #silverstripe
344: [04:00:03] * nickmolhoek quit (Quit: nickmolhoek)
345: [04:01:03] * howardgrigg has joined #silverstripe
346: [04:01:09] * camfindlay has left #silverstripe
347: [04:01:34] <ss23> HE CAME BACK
348: [04:01:36] <ss23> THEN LEFT AGAIN
349: [04:01:40] <ss23> :(
350: [04:04:42] <DesignerX> Nimle: I think you start with $this->owner->dbObject......
351: [04:05:07] <DesignerX> Nimle: add the "owner" part
352: [04:08:23] <Colin[pi]> ss23: WHY IS HE TAUNTING US SO? ;_;
353: [04:08:28] <ss23> :(
354: [04:08:30] <ss23> idk man
355: [04:08:33] <ss23> I'm going home soon
356: [04:08:35] <ss23> Gotta move tonight!
357: [04:08:38] <Colin[pi]> :o
358: [04:08:42] <ss23> Which means "fuck work, I'm going home early"
359: [04:08:42] <Colin[pi]> g'luck
360: [04:08:45] <ss23> :D
361: [04:08:46] <ss23> Yeah, idk
362: [04:08:50] <ss23> I have to like, clean up the place I'm living at atm
363: [04:08:54] <ss23> Meaning like, clean the bathroom
364: [04:08:55] <ss23> >.<
365: [04:08:56] <ss23> SO GROSS.
366: [04:09:04] <ss23> I need a maid and/or gf
367: [04:09:12] <Colin[pi]> I hate cleaning the bathroom :(
368: [04:09:15] <ss23> mmm
369: [04:09:17] <Colin[pi]> luckily... my gf now does it for me ;)
370: [04:12:14] * camfindlay has joined #silverstripe
371: [04:12:20] <Colin[pi]> HE'S BACK
372: [04:12:32] <ss23> :D
373: [04:12:36] <ss23> Hi camfindlay :)
374: [04:12:43] <ss23> We were just discussing how the community needs more docuemntation
375: [04:12:43] <camfindlay> yo
376: [04:13:00] <Colin[pi]> camfindlay: Y U NO DOCUMENTATION?
377: [04:13:04] <ss23> ^^
378: [04:13:05] <Colin[pi]> ;D
379: [04:13:15] <camfindlay> needs better architecture too I think
380: [04:13:24] <camfindlay> of said information
381: [04:13:32] <ss23> Well it's easy to fix no docs, it's hard to re-archetect them
382: [04:13:42] <ss23> I vote you write all our docs for us to start with :D
383: [04:13:53] * DigNZ1 quit (Ping timeout: 245 seconds)
384: [04:14:30] <camfindlay> any good ways to work out which areas we could focus on to start?
385: [04:14:49] <ss23> Hmmm
386: [04:14:54] <ss23> I notice you said "we"...
387: [04:15:03] <Colin[pi]> lol
388: [04:15:25] <ss23> camfindlay: I doubt there's any one place. It's hard to say "start here" when there's next to 0 documentation as it is
389: [04:16:39] <ss23> (He's just talking to someone IRL about how he loves writing documentation)
390: [04:16:49] <Colin[pi]> from my experience, the areas sorely in need are ModelAdmin and controllers
391: [04:17:01] <Colin[pi]> but
392: [04:17:02] <Colin[pi]> yeah
393: [04:17:10] * Ryan-Toast quit (Quit: Ryan-Toast)
394: [04:17:11] <Colin[pi]> a lot of improvement needed in a lot of areas :D
395: [04:24:07] <Colin[pi]> ss23: http://i.imgur.com/vWse3ro.gif
396: [04:24:24] <ss23> XD
397: [04:32:44] <Zauberfisch23> I think a good start for the documentation would be "rm -r docs/; mkdir -p docs/en; touch docs/en/index.md;
398: [04:33:39] <Zauberfisch23> the few articles of documentation that exists are often out of date
399: [04:34:00] <Zauberfisch23> only very few of the articles I would call "good"
400: [04:34:12] <Zauberfisch23> so start where ever you want I guess :P
401: [04:34:53] * UncleCheese quit (Quit: UncleCheese)
402: [04:35:17] <Zauberfisch23> what is this TypeError: $.entwine is not a function nonsense :O
403: [04:35:35] * camfindlay quit (Quit: camfindlay)
404: [04:36:20] <ss23> He left without finishing the docs
405: [04:36:21] <ss23> :(
406: [04:37:22] * cloph_away has joined #silverstripe
407: [04:37:34] <Zauberfisch23> guest or new ss employee?
408: [04:37:41] <ss23> New SS employeee
409: [04:37:42] * liam_ has joined #silverstripe
410: [04:37:45] <ss23> "Community MAnager"
411: [04:37:52] <Zauberfisch23> intressting
412: [04:38:04] <Zauberfisch23> and yay, another ss member that uses IRC
413: [04:38:04] <liam_> any ideas how to get the htmleditorfield to render as tinymce in a frontend form?
414: [04:38:15] * liam_ is now known as Guest26057
415: [04:38:17] * cloph quit (Ping timeout: 272 seconds)
416: [04:38:45] <Guest26057> it just shows as a textarea field...
417: [04:38:53] <Guest26057> ss 3.1
418: [04:52:50] * Guest26057 has left #silverstripe
419: [04:57:03] * kerosene has joined #silverstripe
420: [04:57:55] * ajshort quit (Ping timeout: 272 seconds)
421: [04:59:39] * Luke1988 has joined #silverstripe
422: [05:03:53] * camfindlay has joined #silverstripe
423: [05:04:28] * Luke1988 quit (Client Quit)
424: [05:05:13] * camfindlay quit (Client Quit)
425: [05:22:44] * SightUnseen has joined #silverstripe
426: [05:22:45] * SightUnseen has left #silverstripe
427: [05:26:28] * Shashitechno has joined #silverstripe
428: [05:27:14] <Shashitechno> Hey everyone
429: [05:27:59] <Shashitechno> any module in ss to have better auto complete search functionality ?
430: [05:37:59] * mobiusnz`home has joined #silverstripe
431: [05:42:41] <EasyCo> How do you specify a has_one relationship when importing a CSV in Modeladmin?
432: [05:58:27] * howardgrigg quit ()
433: [06:01:06] <Nimle> Thank @DesignerX it worked
434: [06:06:42] <Nimle> If an upload field is added to Site Config like $fields->addFieldToTab("Root.Main", new UploadField("LogoImage", "Choose an image for your site logo")); It can't be got in php. But works for template. Other fields like textfield works in php like $siteConfig->Myfield I expected to get filename like $siteConfig->LogoImage->Filename as it is added with has_one
435: [06:14:30] * mobiusnz`home quit (Quit: Leaving.)
436: [06:14:51] * zippy__ quit (Quit: zippy__)
437: [06:16:31] * EasyCo quit (Quit: EasyCo)
438: [06:29:16] * kerosene quit (Ping timeout: 264 seconds)
439: [06:31:05] * mobiusnz`home has joined #silverstripe
440: [06:46:07] * joelpitt_ has joined #silverstripe
441: [06:46:28] * joelpitt_ quit (Remote host closed the connection)
442: [06:48:45] * joelpittet quit (Ping timeout: 245 seconds)
443: [06:55:49] * camfindlay has joined #silverstripe
444: [06:56:26] * zippy__ has joined #silverstripe
445: [06:56:37] * Shrike_Finland quit (Quit: Leaving.)
446: [06:58:29] <spronk> ugh
447: [06:58:32] <spronk> how do you check if a string exists in 2.4 again
448: [07:00:40] <camfindlay> as in getting a true/false that your string in a variable exists?
449: [07:03:37] * Shrike_Finland has joined #silverstripe
450: [07:09:29] * Nimle quit (Ping timeout: 250 seconds)
451: [07:12:40] * spronk2 has joined #silverstripe
452: [07:47:32] * Shrike_Finland quit (Quit: Leaving.)
453: [07:48:49] * camfindlay quit (Quit: camfindlay)
454: [07:49:46] * willr has joined #silverstripe
455: [07:50:17] * zippy__ quit (Ping timeout: 272 seconds)
456: [07:51:02] * zippy__ has joined #silverstripe
457: [07:54:18] * willr quit (Ping timeout: 245 seconds)
458: [08:03:53] * Stomach quit (Ping timeout: 245 seconds)
459: [08:04:21] * willr has joined #silverstripe
460: [08:16:53] * qlex has joined #silverstripe
461: [08:17:20] * qlex says hi
462: [08:17:52] <qlex> could any1 assist in this? when clicking in sitetree, on a site which is user defined form, firebugh network says 500 and prints out:
463: [08:17:54] <qlex> ERROR [User Warning]: None of these templates can be found in theme 'Base1': FieldEditor.ss IN GET /admin/pages/edit/show/25 Line 728 in /strona/framework/view/SSViewer.php
464: [08:18:25] <qlex> this is exactly same install (production) as on my dev server (same ss 3.1.1 plus newest trunk module) but on dev server there's no errors
465: [08:22:16] * EasyCo has joined #silverstripe
466: [08:23:29] * camfindlay has joined #silverstripe
467: [08:26:15] <qlex> noone ?
468: [08:32:27] * EasyCo quit (Quit: We can't stop here, this is bat country)
469: [08:32:31] <spronk2> file perms?
470: [08:36:22] <qlex> spronk2: could be,but which ones ?
471: [08:36:32] <qlex> ss ones or module ones or custom ?
472: [08:37:51] * qlex has left #silverstripe
473: [09:03:01] * Shashitechno quit (Ping timeout: 250 seconds)
474: [09:03:08] * camfindlay quit (Read error: Connection reset by peer)
475: [09:03:49] * camfindlay has joined #silverstripe
476: [09:05:25] * kinglozzer has joined #silverstripe
477: [09:09:26] * micmania1 has joined #silverstripe
478: [09:20:53] * marvanni has joined #silverstripe
479: [09:23:37] * zfmf has joined #silverstripe
480: [09:38:11] * willr quit (Quit: willr)
481: [09:41:06] * SightUnseen has joined #silverstripe
482: [09:41:09] * SightUnseen has left #silverstripe
483: [09:41:37] * cloph_away is now known as cloph
484: [09:42:39] * zippy__ quit (Ping timeout: 272 seconds)
485: [09:42:54] * r3v3rb has joined #silverstripe
486: [09:45:14] * r3v3rb quit (Client Quit)
487: [09:48:09] * zippy__ has joined #silverstripe
488: [09:49:58] * qlex has joined #silverstripe
489: [09:50:08] * qlex is back
490: [09:50:12] <qlex> sorry, i was disconnected
491: [09:50:14] * camfindlay quit (Quit: camfindlay)
492: [09:50:18] <qlex> anyone has an idea for my problem from above ?
493: [09:50:28] * spronk2 quit (Quit: spronk2)
494: [09:50:37] * ARNHOE has joined #silverstripe
495: [09:50:43] <qlex> getting 500 error when trying to open userdefined form type on sitetree in cms
496: [09:50:43] <qlex> ERROR [User Warning]: None of these templates can be found in theme 'Base1': FieldEditor.ss IN GET /admin/pages/edit/show/25 Line 728 in /strona/framework/view/SSViewer.php
497: [09:50:58] <qlex> this is really annoying - especially since im at the end of deployment
498: [09:51:06] <qlex> everything is there and working, except for this
499: [09:51:36] * violetina has joined #silverstripe
500: [09:52:50] <micmania1> qlex - have you flushed?
501: [09:55:45] * spronk2 has joined #silverstripe
502: [10:04:32] * spronk2 quit (Quit: spronk2)
503: [10:14:19] <qlex> micmania1: yes, both on page and on cms
504: [10:14:54] <micmania1> have you checked to make sure the 'FieldEditor.ss' template exists?
505: [10:14:59] * Shrike_Finland has joined #silverstripe
506: [10:20:29] <marvanni> this there a sort of trigger to force the SiteTree Menu in CMS to refresh?
507: [10:22:12] <qlex> FieldEditor.ss - where should i look for it?
508: [10:23:52] <qlex> i also noticed that sometimes it helps not to have simple and tutorial themes in the theme directory
509: [10:25:45] <qlex> but this didnt help in this case
510: [10:25:57] <qlex> im stuck with 500 and ERROR [User Warning]: None of these templates can be found in theme 'Base1': FieldEditor.ss IN GET /admin/pages/edit/show/25 Line 728 in /strona/framework/view/SSViewer.php
511: [10:26:07] <qlex> when trying to open userdefined form page type
512: [10:26:22] <qlex> when i change pagetype to different, all works ok
513: [10:26:31] <qlex> should i by trying with diff user defined form ?
514: [10:31:15] <ec8or_> qlex: did you just install the module? you've flushed right?
515: [10:31:47] <ec8or_> i haven't used that module for ages, but also make sure it is for the right version of ss :)
516: [10:36:06] <micmania1> qlex, it should be in the module templates folder. if its not detecting it, try copying it into your theme folder.
517: [10:36:51] <micmania1> marvanni, I don't think so, but I can't image it would be too hard to do using entwine.
518: [10:39:35] <qlex> ec8or_: yes i made sure
519: [10:39:50] <qlex> just to be sure, i re-downloaded module, deleted and uploaded and dev build
520: [10:39:56] <qlex> same stuff when trying to access that page now
521: [10:40:21] <qlex> i cannot even change it behaviour now to standard page type, as im getting a trace of error on top and not see buttons to unpublish, delete, save etc
522: [10:40:26] <qlex> this is driving me mad
523: [10:40:37] * mobiusnz`home quit (Quit: Leaving.)
524: [10:40:42] <ec8or_> ok try copying the .ss file to your theme dir as micmania1 says
525: [10:43:27] * Shrike_Finland quit (Ping timeout: 272 seconds)
526: [10:44:23] <micmania1> the latest build is failing on travis. Try checkout out to the previous commit and see if that helps.
527: [10:44:28] * zippy__ quit (Quit: zippy__)
528: [10:47:57] * kerosene has joined #silverstripe
529: [10:58:48] <qlex> micmania1: which one should i take
530: [10:58:53] <qlex> not master, but 1.0 ?
531: [11:05:06] <qlex> trying with 2.0.1 tag branch
532: [11:08:58] <qlex> same problem
533: [11:16:38] <kinglozzer> marvanni: $('.cms-tree').updateNodesFromServer(ids); where ids is an array of IDs to be updated
534: [11:17:26] <kinglozzer> LeftAndMain.Tree.js, it's what the CMS uses to update the tree when you save a page
535: [12:06:41] <marvanni> thanks
536: [12:07:21] <marvanni> does sitetree also provide a method to add extra css classes, based on certain userdefined status?
537: [12:31:35] <Zauberfisch23> marvanni: not sure what you are getting at
538: [12:31:53] <Zauberfisch23> are you talking about adding extra classes to the node in the CMS pages sidebar tree?
539: [12:32:43] <Zauberfisch23> public function CMSTreeClasses() {
540: [12:32:43] <Zauberfisch23> return parent::CMSTreeClasses() . ' zauberfisch-is-super-awesome';
541: [12:32:44] <Zauberfisch23> }
542: [12:33:46] <marvanni> yeah, thanks!
543: [12:33:51] <Zauberfisch23> if you want for example your custom page to also have the icon of the redirector page, you can add the class "class-RedirectorPage"
544: [12:37:59] <qlex> anybody got more ideas what could be causing this problem ?
545: [12:38:21] <Zauberfisch23> qlex: what problem?
546: [12:38:24] <qlex> and, can i remove userforms module in ftp, leaving a pagetype userforms in sitetree? ss .2.4 would be broken then
547: [12:38:43] <qlex> Zauberfisch23: got same ss+userforms in dev server and production server for client
548: [12:38:57] <qlex> clicking on userforms pagetype in sitetree, doesnt open it, shows error and reads:
549: [12:39:08] <qlex> 500
550: [12:39:09] <qlex> ERROR [User Warning]: None of these templates can be found in theme 'Base1': FieldEditor.ss IN GET /admin/pages/edit/show/25 Line 728 in /strona/framework/view/SSViewer.php
551: [12:39:30] <qlex> tried flushing, replaceing userforms with different tag from github
552: [12:39:33] <qlex> all ends with same error
553: [12:40:00] <Zauberfisch23> have you checked on the server that the file userforms/templates/FieldEditor.ss exists?
554: [12:40:09] * Shrike_Finland has joined #silverstripe
555: [12:43:06] <qlex> yes it does
556: [12:43:17] <qlex> i tried copying it also to themes/mynameoftheme/templates
557: [12:43:20] <qlex> no help
558: [12:43:38] <qlex> im only using ftp to upl;oad files (no acces s to ssh) so cant check permissions/ownership
559: [12:43:43] <qlex> could be the problem - but i doubt it
560: [12:43:52] <qlex> i used the same method on my dev server (which has ssh access)
561: [12:52:13] <Zauberfisch23> no idea
562: [12:59:33] <qlex> hmm, nobody had a problem like this ?
563: [12:59:42] <qlex> would it change if i chmodded userforms to 777 for test ?
564: [13:00:10] <qlex> it all works ok if i removbe userforms module and change then pagetype to page
565: [13:06:16] <qlex> is there an alternative to userdefind form - i just need a regular contact form on the page ??
566: [13:11:57] <Zauberfisch23> a regular contact form? why would you use userdefined form in the first place?
567: [13:12:25] <Zauberfisch23> I only use userforms if I really really have to because the customer needs to build complex forms himself
568: [13:13:21] <kinglozzer> Yeah you really don't need userdefinedforms for setting up a contact form
569: [13:14:03] <kinglozzer> qlex: http://doc.silverstripe.org/framework/en/topics/forms that pretty-much gives you all the info you need
570: [13:17:32] <qlex> i like the ability to build a form from "boxes"
571: [13:17:39] <qlex> im not a developer myself,
572: [13:19:07] <qlex> and also would like my cleint to change the forms herself
573: [13:19:46] * UndefinedOffset has joined #silverstripe
574: [13:25:40] * Shrike_Finland quit (Ping timeout: 264 seconds)
575: [13:25:52] <Zauberfisch23> qlex: very basic contact form: http://paste2.org/K3mat3cB
576: [13:31:47] <qlex> Zauberfisch23: thanx, i understand i just need then to create a ContactForm.ss and add $ContactForm in it besides $Content ?
577: [13:32:02] <Zauberfisch23> no, you don't need a ContactForm.ss
578: [13:32:28] <Zauberfisch23> just $ConteactForm into your Page.ss or what ever template you have
579: [13:33:16] <qlex> yes, but then i would see that contact form on each page
580: [13:35:15] <micmania1> qlex, it wouldn't show if you created a new ContactPage class and put the code in there.
581: [13:35:19] <Zauberfisch23> ah, then create a ContactPage and a template for that
582: [13:35:40] <micmania1> when you call $ContactForm it would check for ContactForm method in your class. As long as your other classes don't have a ContactForm method it won't show anything.
583: [13:35:40] <Zauberfisch23> and do ContactPage_Controller instead of Page_Controller
584: [13:36:14] <micmania1> but normally, your contact page will have a different layout to a general page anyway...
585: [13:37:51] <Zauberfisch23> or you just make a ContactPage.php and call the form function just "Form" instead of "ContactForm"
586: [13:39:03] <Zauberfisch23> this way $Form in your Page.ss will be the contact form on the contact page, but on other pages just an empty string
587: [13:40:08] <qlex> when i added a ContactForm.php in mysite/code/, should this pagetype show up in dropdown ?
588: [13:40:27] <micmania1> you need to dev/build?flush=1
589: [13:40:52] <qlex> ContactForm.php or ContactPage.php ?
590: [13:43:59] * jrthomer has joined #silverstripe
591: [13:45:26] <micmania1> In ContactPage.php you should have two classes: ContactPage extends Page and ContactPage_Controller extends Page_Controller
592: [13:47:25] * Shrike_Finland has joined #silverstripe
593: [13:51:41] <qlex> hey just last more quesiton please
594: [13:51:52] <qlex> if i pastie in whole error i got with this user defined form..
595: [13:52:21] <qlex> would anyone look through that message? when i see deeper, i dont fully understand it, but can see issue could be with silverstripe-cache folder
596: [13:52:41] <qlex> http://paste2.org/72YCdx2a see for example for 58 of that paste2
597: [13:53:09] * Shrike_Finland quit (Ping timeout: 248 seconds)
598: [13:55:36] <qlex> would deleting content of silverstripe-cache help ?
599: [13:56:10] <qlex> what is strange, i got two locations for tmp files
600: [13:56:16] <qlex> one is on /strona/silverstripe-caceh
601: [13:56:29] <qlex> one is in root, but i got a redirector for domain to go into /site/ so user doesnt see it
602: [14:03:41] <qlex> anyone, please ?
603: [14:03:48] <qlex> knowledge on silverstripe-cache ?
604: [14:08:52] * kinglozzer quit (Read error: Connection timed out)
605: [14:10:26] * kinglozzer has joined #silverstripe
606: [14:23:12] <qlex> deleting content of silverstripe-cache helped !!!!!!!!!!!!!!!!!!!!
607: [14:23:24] <qlex> could something like this be added to any wiki or documentation of silverstripe ?
608: [14:23:33] <qlex> it took me 2 days to figure this out and could help others
609: [14:31:20] * catcher has joined #silverstripe
610: [14:36:55] * qlex1 has joined #silverstripe
611: [14:39:12] * qlex1 will be back tomorrow
612: [14:39:16] <qlex1> need to run, bye !
613: [14:39:18] * qlex1 has left #silverstripe
614: [14:39:18] * qlex quit (Ping timeout: 246 seconds)
615: [14:47:49] * Shrike_Finland has joined #silverstripe
616: [14:55:13] <micmania1> is there an issue with jquery entwine and IE8?
617: [14:55:45] <micmania1> I'm using it on a non-ss project and its killing IE8 (unresponsive)
618: [15:11:53] * Alexwijn has joined #silverstripe
619: [15:12:56] <Alexwijn> How can I edit a assets/error-*.html through the admin panel?
620: [15:13:04] <Alexwijn> Not the contents, but the full layout
621: [15:17:41] * dbinkley has joined #silverstripe
622: [15:18:11] * dbinkley quit (Client Quit)
623: [15:18:29] * dbinkley has joined #silverstripe
624: [15:21:24] <kinglozzer> Alexwijn: You can't?
625: [15:21:33] <Alexwijn> oh
626: [15:21:43] <kinglozzer> At least, there's no way I know of for editing templates in the admin area
627: [15:22:43] <kinglozzer> You should be able to create an ErrorPage.ss template for those pages, but that of course won't be editable in the CMS
628: [15:24:39] * jeroen___ has joined #silverstripe
629: [15:24:53] * jeroen___ is now known as Jeroenem
630: [15:24:57] * kerosene quit (Quit: gn)
631: [15:27:17] * travis-ci has joined #silverstripe
632: [15:27:17] <travis-ci> [travis-ci] chillu/silverstripe-framework#119 (pulls/friendlyerror-contenttype - a0dbfc6 : Ingo Schommer): The build passed.
633: [15:27:17] <travis-ci> [travis-ci] Change view : https://github.com/chillu/silverstripe-framework/compare/14486902fb1e^...a0dbfc61b688
634: [15:27:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/chillu/silverstripe-framework/builds/14143622
635: [15:27:17] * travis-ci has left #silverstripe
636: [15:30:14] <micmania1> Zauberfisch: do you know if there are any issues with running entwine in IE8?
637: [15:32:12] <Zauberfisch23> well, IE8 has some limitations on the slector
638: [15:32:28] <Zauberfisch23> you can't run a fancy css3 selector with entwine in IE8
639: [15:32:34] <micmania1> hmmm, i'm not even getting that far.
640: [15:32:36] <Zauberfisch23> eg $('header') will not work
641: [15:32:59] <micmania1> Its breaking for me as soon as I include it, even when commenting all other js out
642: [15:33:07] <Zauberfisch23> you need to give the <header> a class, then you can sellect it with entwine
643: [15:33:35] <Zauberfisch23> I am using jquery and jquery entwine from the framework thirdparty folder
644: [15:33:51] <Zauberfisch23> maybe you are running a newer jquery version that breaks entwine in IE?
645: [15:36:56] <micmania1> I'm going to test some other versions & see if that helps.
646: [15:39:04] <kinglozzer> Oh ffs, is the insert media form working for everyone else? I keep getting a 400 bad request
647: [15:39:08] <kinglozzer> 3.1.2
648: [15:46:22] <micmania1> You know what it was? An unclosed span... FML!
649: [15:47:42] <micmania1> kinglozzer, haven't got anywhere to test it atm
650: [15:48:02] * Shrike_Finland quit (Quit: Leaving.)
651: [15:48:24] <kinglozzer> Mmm, seems like it's the media form to me - the assets section of the CMS will upload fine
652: [15:48:41] <kinglozzer> Hopefully not
653: [16:03:30] <catcher> Anyone have a trick to get the CMS cache to flush? Browser is hanging on to something for dear life.
654: [16:05:13] * lerni has joined #silverstripe
655: [16:05:59] <catcher> ideally, pinpointing a high-up include in the CMS I can append something meaningless to the filename.
656: [16:16:05] * abitran quit (Ping timeout: 248 seconds)
657: [16:28:10] * ARNHOE quit ()
658: [16:32:48] * lerni quit (Quit: lerni)
659: [16:33:35] * dbinkley quit (Remote host closed the connection)
660: [16:33:36] * zfmf has left #silverstripe
661: [16:35:11] <catcher> closing tab and/or browser seems to be the easiest.
662: [16:41:05] * travis-ci has joined #silverstripe
663: [16:41:05] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1563 (3.1 - cbc45c0 : Ingo Schommer): The build passed.
664: [16:41:05] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b48b08bb8d26...cbc45c0db395
665: [16:41:05] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/14146449
666: [16:41:05] * travis-ci has left #silverstripe
667: [16:44:42] * travis-ci has joined #silverstripe
668: [16:44:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1564 (3.0 - f59c47f : Ingo Schommer): The build passed.
669: [16:44:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/b5b8cb25e0ad...f59c47fd8e35
670: [16:44:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/14147388
671: [16:44:43] * travis-ci has left #silverstripe
672: [16:55:04] * jrthomer_ has joined #silverstripe
673: [16:58:40] * jrthomer quit (Ping timeout: 264 seconds)
674: [17:02:17] * Jeroenem quit (Ping timeout: 250 seconds)
675: [17:12:36] * kinglozzer quit ()
676: [17:24:54] * zfmf has joined #silverstripe
677: [17:31:37] <cloph> I'm apparently too stupid to use new configuration system regarding admin-email address. Thankfully old way is still supported, but of course I'd like to move to new configuration system. So instead of "Email::setAdminEmail('staging site <webmaster@example.com>');" in mysite/_config.php - what would I have to put in mysite/_config/config.yml ? »Email:<newline><two spaces>admin_email: 'staging site <webmaster@example.com>'« is
678: [17:31:38] <cloph> ignored.
679: [17:32:03] <cloph> (Also tried with just 'webmaster@example.com')
680: [17:32:25] <cloph> silverstripe 3.1.2 btw
681: [17:35:00] * abitran has joined #silverstripe
682: [17:35:28] * zfmf has left #silverstripe
683: [17:45:19] <catcher> cloph, looks like the static is called admin_email, on the Email class.
684: [17:46:16] <catcher> ...which you have. So after admin_email, I believe you'd want another newline, 2 additional spaces, and then the email address.
685: [17:46:17] <cloph> catcher: and I used "admin_email" - can you paste a snippet of how it should look like? I have "Email:" on one line, and " admin_email: 'webmaster@example.com'" in the next.
686: [17:46:23] <catcher> Don't forget to /dev/build
687: [17:47:22] <catcher> cloph, I'd think something like this: http://sspaste.com/paste/show/528a5090dd705
688: [17:47:22] <cloph> /dev/build is needed to update configuration from yml? Really? OK, then that's the problem... Should be stated in huge letters in the docs.. If it is written there, I did overlook that - do you have a pointer where this is mentioned?
689: [17:49:47] <catcher> cloph, looks like you should be fine without the extra newline & spaces too.
690: [17:51:25] <catcher> cloph, I *think* the intention is to remove the need to do that.
691: [17:51:37] <catcher> (the /dev/build or ?flush on yml config changes)
692: [17:53:42] <cloph> http://www.silverstripe.org/general-questions/show/22119 writes you need at least ?flush=1 - but maybe even dev/build .. I didn't expect that, as changes to old _config.php are picked up instantly, and also even after revisiting the configuration topic in the docs, I cannot find reference to having to flush
693: [17:56:34] <catcher> cloph, the new config system is more efficient, avoids loading them all dynamically as in _config.php. I agree the documentation should be improved.
694: [17:56:40] <cloph> but let's try... indeed ?flush=1 is needed... Thanks a lot catcher
695: [17:56:49] <catcher> cloph, np
696: [18:04:09] * SightUnseen has joined #silverstripe
697: [18:04:23] * SightUnseen has left #silverstripe
698: [18:19:41] <catcher> I have a class that needs ~20 boolean properties, along with a bunch of others. I hate to stick them right on the class (a has_one to a class with just the bools would be better design) but the administration should happen right on the main class (rather than a GridField). What's best?
699: [18:20:22] * AlphaCactus quit (Remote host closed the connection)
700: [18:28:01] <catcher> Render the fields and save them myself in onBefore / onAfterwrite()?
701: [18:44:43] * AlphaCactus has joined #silverstripe
702: [18:49:03] * mobiusnz`home has joined #silverstripe
703: [18:53:52] * Alexwijn quit ()
704: [18:55:12] * Alexwijn has joined #silverstripe
705: [18:55:48] <Alexwijn> How to regenerate a error page
706: [18:55:54] <Alexwijn> I thought by deleting them and flush it
707: [18:56:02] <Alexwijn> But now I have a empty page
708: [18:57:09] * antmas has joined #silverstripe
709: [18:59:03] <AlphaCactus> save and publish in site tree?
710: [18:59:13] <antmas> hai2all
711: [19:00:18] <Alexwijn> AlphaCactus, yeah got that now
712: [19:00:22] <Alexwijn> I was saving it on the wrong site:)
713: [19:00:35] * Alexwijn quit ()
714: [19:03:46] * mobiusnz`home quit (Quit: Leaving.)
715: [19:06:30] <catcher> does write() also call write() on all ORM-related objects?
716: [19:08:39] <AlphaCactus> no i don't think so
717: [19:09:01] <AlphaCactus> if you had a has many to a 100 objects, that would suck
718: [19:09:38] <catcher> I'm encountering an unexpected loop on onBefore/onAfterwrite(), and I can't think of any other explanation.
719: [19:10:39] <AlphaCactus> parent/child class maybe?
720: [19:15:35] <simon_w> catcher, onBeforeWrite() calling write() causes an infinite loop, as does always writing all your relations
721: [19:16:03] <catcher> simon_w, it's not calling write() on itself though, it's calling it on an object that will be related w/ has_one
722: [19:16:26] <simon_w> And does that object then go and call write() on the original object?
723: [19:17:03] <catcher> Not by my doing, but something seems to be calling the original object's write again.
724: [19:17:30] <catcher> Does anything else in the core do that?
725: [19:19:04] <simon_w> Nothing in the core does that
726: [19:22:01] <catcher> I must be overlooking something silly: http://sspaste.com/paste/show/528a66bb9d8d1
727: [19:22:21] * mojo5000 has joined #silverstripe
728: [19:23:21] <mojo5000> asdf
729: [19:23:29] <mojo5000> new to ss community
730: [19:23:49] <mojo5000> new site - fully localized
731: [19:24:00] <mojo5000> had everything going
732: [19:24:13] <mojo5000> then *poof* when i click on 'pages' in cms
733: [19:24:18] <mojo5000> it hangs
734: [19:24:46] <mojo5000> any tips?
735: [19:26:45] <AlphaCactus> catcher: do a stackdump on second call to onBeforeWrite?
736: [19:27:10] <AlphaCactus> mojo5000: when you say "had everything going" ...
737: [19:27:29] <mojo5000> created dataobjects and pages
738: [19:27:39] <mojo5000> and was successfully building a localized site
739: [19:27:53] <mojo5000> was playing with the myriad ways of translation
740: [19:28:08] <mojo5000> but i tried to rollback everything that might have had an effect
741: [19:28:10] <AlphaCactus> mojo5000: when you say hang, does it just never finish loading the page? does firebug report any useful errors in console or net tabs?
742: [19:28:19] <mojo5000> checking
743: [19:28:27] <mojo5000> i did remove _combinedfiles
744: [19:28:58] <AlphaCactus> brb
745: [19:29:01] * AlphaCactus quit (Remote host closed the connection)
746: [19:29:07] <mojo5000> as i had attempted to use a js file to control the preview
747: [19:29:10] <mojo5000> (function($) {
748: [19:29:11] <mojo5000> $.entwine('ss.preview', function($){
749: [19:29:11] <mojo5000> $('.cms-preview').entwine({
750: [19:29:12] <mojo5000> DefaultMode: 'content',
751: [19:29:14] <mojo5000> getSizes: function() {
752: [19:29:16] <mojo5000> var sizes = this._super();
753: [19:29:18] <mojo5000> sizes.mobile.width = '400px';
754: [19:29:20] <mojo5000> return sizes;
755: [19:29:22] <mojo5000> }
756: [19:29:24] <mojo5000> });
757: [19:29:26] <mojo5000> });
758: [19:29:28] <mojo5000> $.entwine('ss', function($){
759: [19:29:30] <mojo5000> $('.cms-container').entwine({
760: [19:29:32] <mojo5000> getLayoutOptions: function() {
761: [19:29:34] <mojo5000> var opts = this._super();
762: [19:29:36] <mojo5000> opts.minPreviewWidth = 600;
763: [19:29:38] <mojo5000> return opts;
764: [19:29:40] <mojo5000> }
765: [19:29:42] <mojo5000> });
766: [19:29:44] <mojo5000> });
767: [19:29:46] <mojo5000> });
768: [19:29:48] <mojo5000> }(jQuery));
769: [19:29:52] <mojo5000> but removed any reference to loading it
770: [19:29:54] <mojo5000> # LeftAndMain:
771: [19:29:56] <mojo5000> # extra_requirements_javascript:
772: [19:29:58] <mojo5000> # - mysite/javascript/MyLeftAndMain.Preview.js
773: [19:30:45] * AlphaCactus has joined #silverstripe
774: [19:32:56] <simon_w> mojo5000, sspaste.com
775: [19:33:05] <mojo5000> ah
776: [19:33:11] <mojo5000> yes, thr is a js err
777: [19:33:35] <mojo5000> i undid any of these items
778: [19:33:45] <mojo5000> delete and recreate the db
779: [19:33:48] <mojo5000> flush, etc
780: [19:34:13] <AlphaCactus> yuuup. detecting js errors or errors reported only via firebug or similar app is a biiiig part of coding in ss.
781: [19:34:26] <mojo5000> Sizzle.error
782: [19:35:06] <simon_w> That's a broken selector
783: [19:36:50] * CodeTrap has joined #silverstripe
784: [19:36:52] * camfindlay has joined #silverstripe
785: [19:37:24] <mojo5000> another item i did
786: [19:37:31] <mojo5000> i upgraded translatable
787: [19:37:38] <mojo5000> but then reverted back
788: [19:37:51] <mojo5000> i.e. - /translatable
789: [19:38:01] <mojo5000> had a slightly older build
790: [19:38:19] <mojo5000> but replaced fresh with master from github
791: [19:38:29] <mojo5000> but i reverted back still to no avail
792: [19:38:44] <mojo5000> what is curious - i click on 'Pages'
793: [19:38:49] <mojo5000> is when it hangs
794: [19:38:55] <mojo5000> but when i go to the url direct
795: [19:39:14] <mojo5000> http://foo.local/admin/pages
796: [19:39:28] <mojo5000> it works, and redirs to
797: [19:39:39] <mojo5000> http://foo.local/admin/pages/?locale=en_US
798: [19:40:30] * Ryan-Toast has joined #silverstripe
799: [19:41:12] <Ryan-Toast> Morning, guys
800: [19:41:15] <mojo5000> so would that have altered anything in cms
801: [19:41:28] <mojo5000> or in framework?
802: [19:41:59] <mojo5000> i'm at a loss here and feel like something could be cached
803: [19:53:27] * antmas quit (Ping timeout: 250 seconds)
804: [19:53:59] * r3v3rb has joined #silverstripe
805: [19:54:27] * nickmolhoek has joined #silverstripe
806: [19:55:02] <mojo5000> very similar to
807: [19:55:03] <mojo5000> http://www.silverstripe.org/upgrading-silverstripe/show/24791
808: [19:59:36] * zfmf has joined #silverstripe
809: [20:04:03] * UncleCheese has joined #silverstripe
810: [20:11:27] * Stomach has joined #silverstripe
811: [20:12:23] <Ryan-Toast> Anyone seen the new Wordderp UI? Looks pretty nice.
812: [20:13:56] * antmas has joined #silverstripe
813: [20:14:30] * zippy__ has joined #silverstripe
814: [20:20:16] <Pyromanik> Ryan-Toast: placebo pill.
815: [20:20:38] <Pyromanik> lusers lap that shit up, not realising that it's the same shit system beneath.
816: [20:20:56] <Ryan-Toast> Pyromanik: I'm not saying it's a good system, just saying it's a nice interface
817: [20:22:51] <Pyromanik> Ryan-Toast: you talking about this mp6 business? because apparently it's a plugin, not the default.
818: [20:23:13] <Ryan-Toast> Pyromanik: Nah, 3.8
819: [20:23:27] <Ryan-Toast> http://www.wpbeginner.com/news/whats-coming-in-wordpress-3-8-features-and-screenshots/
820: [20:23:59] <AlphaCactus> mojo5000: sorry i'm not familiar with the translatable module
821: [20:23:59] <Ryan-Toast> Pyromanik: I don't like how they're using the same red/pink I'm using for my website redesign ><
822: [20:24:44] <Pyromanik> Ryan-Toast: but that ui looks exactly like the current one
823: [20:24:47] <Pyromanik> only... 'flattened'
824: [20:24:56] <Ryan-Toast> Pyromanik: Yarp.
825: [20:25:04] <mojo5000> not sure if it's related to translatable
826: [20:25:26] <mojo5000> but there is somethin off in config...?
827: [20:25:33] <Ryan-Toast> Pyromanik: Flat design makes me wet.
828: [20:25:44] <Pyromanik> also, it appears to be this mp6 business, just come around to some kind of core bundle release rather than a plugin.
829: [20:25:59] <Pyromanik> Ryan-Toast: flat design makes 80% of the net wet :
830: [20:26:02] <Pyromanik> :<
831: [20:26:41] <Ryan-Toast> Pyromanik: I take it you're not a fan :P
832: [20:27:30] <antmas> not entirely sure how anyone can be a fan of Skeuomorphism
833: [20:29:01] <Ryan-Toast> antmas: Depends completely on your target audience.
834: [20:29:36] <Ryan-Toast> antmas: but I agree.
835: [20:31:47] <Pyromanik> Ryan-Toast: oh, no, even that link you gave initially says outright.
836: [20:32:15] <Pyromanik> "It is official now. The MP6 plugin will become part of the werdderp core in 3.8"
837: [20:32:39] <Ryan-Toast> Pyromanik: Ah, right. I don't use WP anymore so too far out of the loop
838: [20:32:49] <Ryan-Toast> Pyromanik: SS convert easy.
839: [20:32:52] <Pyromanik> Ryan-Toast: I'm not a fan of wordderp
840: [20:33:19] <Pyromanik> flat design can be done well, for sure. But it can also be overused by someone not well adjusted to the technique's subtle variances.
841: [20:33:39] <Ryan-Toast> Pyromanik: That could be said about any design technique.
842: [20:33:50] <Pyromanik> ie a novice designer can slap something up that drowns out all kind of contrast and focus.
843: [20:34:12] <Pyromanik> Ryan-Toast: true, all techniques have that misuse available.
844: [20:34:19] <Ryan-Toast> Pyromanik: Same as development.
845: [20:34:27] <Ryan-Toast> Pyromanik: It's all about experience.
846: [20:34:44] <Ryan-Toast> Pyromanik: I look at some of the stuff I "designed" years ago and it makes me vomit a little.
847: [20:34:50] <antmas> Ryan-Toast: what target audience would prefer Skeu?
848: [20:34:51] <Pyromanik> also, I find it a little annoying that CSS was basically designed with this in mind, and suddenly ~20 years later everyone's all WOW LOOK, A SOLID COLOUR!!!!!
849: [20:34:54] <antmas> over flat?
850: [20:35:03] <Ryan-Toast> antmas: Children.
851: [20:35:15] <Pyromanik> skeu?
852: [20:35:40] <antmas> Ryan-Toast: why children?
853: [20:35:48] <antmas> Pyromanik: skeumophism
854: [20:35:53] <antmas> morphism*
855: [20:36:02] <Pyromanik> what is?
856: [20:36:14] <Ryan-Toast> Pyromanik: Well design evolves with technology, so when graients and shit were easy to implement we saw them everywhere in design. I think flat is a knee jerk reaction to getting away from the web 2.0 look.
857: [20:36:19] <antmas> rounded buttons + gradients etc
858: [20:36:35] <Pyromanik> http://skeu.it/ ??
859: [20:36:40] <simon_w> That's not skeumophism
860: [20:36:53] <Pyromanik> Ryan-Toast: when people loved the shit out of gradients they weren't easy though.
861: [20:37:02] <Ryan-Toast> antmas: When you market a product to children, or a child friendly site there's usually big fuck off "fun" gradients, and colours.
862: [20:37:03] <Pyromanik> same with rounded corners.
863: [20:37:04] <simon_w> skeumophism is designing things to look like they're made of physical things
864: [20:37:33] <simon_w> Like the green felt in Game Center.app
865: [20:37:34] <Pyromanik> they were a way of introducing a big of a 'softer' touch with the design, and giving a little extra layer of definition (read: dimension).
866: [20:38:02] <Pyromanik> same sorta deal with wood panel backgrounds, etc.
867: [20:38:08] <Pyromanik> they're ploys to familiarity.
868: [20:38:09] <Pyromanik> etc.
869: [20:38:16] <Ryan-Toast> All I can say is I love flat design, because rite's putting the focus back on content.
870: [20:38:28] <Ryan-Toast> it's**
871: [20:38:28] <Pyromanik> Ryan-Toast: I like the content focus, yeh.
872: [20:38:37] * antmas isn't sure why web designers ever though the idea of making sites look like phyiscal things was a good idea
873: [20:38:41] <Ryan-Toast> And content is mother fucking king
874: [20:38:47] <Pyromanik> works well for 'mobile' design.
875: [20:38:51] <Pyromanik> 'responsive'
876: [20:38:52] <Pyromanik> etc.
877: [20:38:57] <Ryan-Toast> antmas: was an apple thing.
878: [20:39:03] <antmas> Ryan-Toast: true
879: [20:39:10] <Ryan-Toast> antmas: their default apps where skeu
880: [20:39:11] <Pyromanik> ah fuck, my stitches are pinging pains
881: [20:39:26] <Ryan-Toast> antmas: so people followed suit to match the theme.
882: [20:39:32] <Pyromanik> yeh well
883: [20:39:33] <simon_w> Flat design is horrible. Being able to tell the difference between content and everything else is good.
884: [20:39:39] <Pyromanik> people love teh shit out of snapple.
885: [20:39:53] <Ryan-Toast> simon_w: :( Just redesigned my website as flat.
886: [20:39:55] <antmas> simon_w: if you can't do that with flat, you're a shit designer
887: [20:40:02] <Pyromanik> also 'flat' wasn't an apple thing. arguably android.
888: [20:40:12] <simon_w> Windows Phone
889: [20:40:18] <Ryan-Toast> Metro.
890: [20:40:20] <Pyromanik> mmm, metroui
891: [20:40:39] <Pyromanik> I was referring to the trend of skinny fonts
892: [20:40:45] <Pyromanik> on solid backgrounds.
893: [20:40:58] <Pyromanik> like that ios7 thing that was floating around a while ago
894: [20:41:04] <Ryan-Toast> ha, my current site has skinny as fuck fonts
895: [20:41:16] <Pyromanik> ryan's toast.com
896: [20:41:29] <Ryan-Toast> nah, my http://ryanpotter.co.nz/
897: [20:41:39] <Pyromanik> Ryan-Toast: you lie, your real name's boyd, isn't it?
898: [20:41:42] <Pyromanik> http://theoatmeal.com/comics/design_hell
899: [20:41:53] <Ryan-Toast> lol!
900: [20:41:59] <Ryan-Toast> We have that printed on the wall.
901: [20:42:53] <zippy__> Morning
902: [20:43:01] <Ryan-Toast> Morning
903: [20:43:05] <simon_w> Oh good, the bootstrap docs have finally added some (limited) depth
904: [20:44:00] <Ryan-Toast> simon_w: 3x is pretty nice.
905: [20:44:17] <Ryan-Toast> simon_w: Though they dropped support for IE8
906: [20:44:26] <Pyromanik> ok, I understand now. THanks for the link guys (not) http://en.wikipedia.org/wiki/Skeuomorph
907: [20:45:17] * UncleCheese quit (Quit: UncleCheese)
908: [20:45:21] <simon_w> 3rc1 was entirely flat, with the titles merging into the header nav and the drop downs just looking completely wrong
909: [20:46:35] <Ryan-Toast> simon_w: Yeah, it was a little messed up forawhile.
910: [20:47:17] <Ryan-Toast> simon_w: I just wish they would offer a class on drop down nav to have show on :hover by default.
911: [20:49:59] * Shrike_Finland has joined #silverstripe
912: [20:50:54] <Ryan-Toast> Is there a reason why SS doesn't support uploading .svg by default?
913: [20:52:17] <simon_w> Because no one's made the two pull requests to allow it?
914: [20:53:30] <Ryan-Toast> simon_w: I'll do it when I get home tonight. That and get rid of outlines on buttons in the CMS
915: [21:00:38] <r3v3rb> morning Pyromanik simon_w
916: [21:04:31] * antmas quit (Ping timeout: 250 seconds)
917: [21:09:16] <shakesoda> anyone know the magical incantation to see if a user can edit the current page in a template
918: [21:13:04] <shakesoda> canEdit seems to do the job
919: [21:18:05] <Colin[pi]> good morning
920: [21:18:12] <simon_w> Morning Colin[pi]
921: [21:20:07] <simon_w> Hungry hungry Simon should start having breakfast
922: [21:25:35] * r3v3rb quit (Quit: r3v3rb)
923: [21:26:55] * UndefinedOffset quit (Quit: Leaving.)
924: [21:28:53] <camfindlay> morning
925: [21:30:42] <camfindlay> ss23 will be delighted that I will make an effort to jump on irc
926: [21:31:12] <simon_w> Careful, it's fragile
927: [21:34:25] * coldblooded01 has joined #silverstripe
928: [21:34:25] <simon_w> Oh noes, a bug in beatbox!
929: [21:34:40] * Shrike_Finland quit (Quit: Leaving.)
930: [21:52:13] <simon_w> Yay! Fixed it!
931: [21:55:56] * zfmf has left #silverstripe
932: [21:57:29] <ss23> :D
933: [21:57:37] <ss23> Yay, camfindlay is on! Lets make him write docs all today
934: [21:58:33] <simon_w> camfindlay, write docs!
935: [21:58:47] <simon_w> Or, better idea, delegate them to ss23
936: [21:59:03] <camfindlay> simon_w: I like your thinking
937: [22:00:13] <camfindlay> think for now i'll be doing a lot of observing rather than changing a bunch of the things.
938: [22:00:38] <simon_w> All docs changes have to go through PRs, so go for it :p
939: [22:00:58] <ss23> NU UH
940: [22:01:01] <ss23> I AIN'T GUNNA WRITE SHIT
941: [22:01:03] <ss23> I have *real* work to do
942: [22:01:04] <ss23> :D
943: [22:01:20] <simon_w> We're not trying to get you to write shit. We want good docs :p
944: [22:01:26] <ss23> hahahaha
945: [22:01:42] <ss23> Jokes on you! I fix bugs, all I do is write crap code
946: [22:01:42] <ss23> :D
947: [22:01:47] <AlphaCactus> who is this camfindlay person I've not met
948: [22:02:56] <simon_w> AlphaCactus, http://www.silverstripe.com/about-us/team/sales-and-marketing/cam-findlay/
949: [22:03:09] <camfindlay> Good point AlphaCactus…
950: [22:03:20] <simon_w> Ah, the new Kerstin
951: [22:03:26] <camfindlay> hopefully I can be a voice for you all inside the company
952: [22:03:47] * EasyCo has joined #silverstripe
953: [22:03:49] <camfindlay> organise meet ups and hackfests and the like… early days yet
954: [22:04:05] <EasyCo> Morning all
955: [22:04:11] <Colin[pi]> I've quite enjoyed the SS meetups in Oz so far :)
956: [22:04:15] <Colin[pi]> morning EasyCo
957: [22:04:24] <camfindlay> just finding may way around the ecosystem to get a good feel of whats going down in the SilverStripe hood yo!
958: [22:04:44] <Colin[pi]> KEEPIN IT REAL YO
959: [22:04:58] <camfindlay> Colin[pi]: nice one, what was the most interesting conversation you had at the meet ups?
960: [22:05:13] <Colin[pi]> camfindlay: probably about soccer with the british CTO
961: [22:05:15] <Colin[pi]> :D
962: [22:05:18] <camfindlay> lol
963: [22:05:19] <simon_w> Colin[pi], been to one with more than 3 people yet? :p
964: [22:05:27] <Colin[pi]> I think we had 4 at the last one :P
965: [22:06:09] <EasyCo> Any way in the ORM to select all rows but ignore rows where a column value already exists in a previously fetched row?
966: [22:06:11] <AlphaCactus> I think I meetup with every SS dev in this whole city every day I go to work...
967: [22:06:19] <Colin[pi]> lol
968: [22:06:39] <simon_w> EasyCo, nope
969: [22:06:55] <simon_w> Colin[pi], maybe I could go to the next one!
970: [22:07:03] <EasyCo> simon_w: Get onto it already!
971: [22:07:09] <EasyCo> ok thx
972: [22:07:16] <Colin[pi]> simon_w: in AU?
973: [22:07:32] <simon_w> Colin[pi], yeah. Just time it to be on while I'm over there :p
974: [22:07:44] <Colin[pi]> lol
975: [22:07:58] <Colin[pi]> contact Shane in SS Melb, he usually sets them up I think
976: [22:08:35] <EasyCo> Better yet, come to Byron Bay and have a holiday while you're at it :)
977: [22:09:40] <simon_w> EasyCo, way too far north :p
978: [22:10:05] <ss23> Better yet, come to Wellington and have a real hackfest
979: [22:10:28] <simon_w> Like the first one Pyromanik came too!
980: [22:10:29] <simon_w> *to!
981: [22:10:37] <ss23> :D
982: [22:10:46] <EasyCo> simon_w: Oh yah… the heat, I forgot you didn't like it's warm caress.
983: [22:10:52] <EasyCo> *its
984: [22:10:55] <ss23> man, someone is playing music but idk what it is
985: [22:10:56] <simon_w> EasyCo, the humidity
986: [22:11:00] <ss23> It's like... from Guitar Hero
987: [22:11:02] <Colin[pi]> lol simon_w was complaining about the heat in Canberra of all places
988: [22:11:03] <camfindlay> speaking of that… any ideas when we should do the next hackfest?
989: [22:11:21] <simon_w> camfindlay, hang on, will check when I'm free
990: [22:11:41] <simon_w> 21st December
991: [22:11:48] <simon_w> by next free Saturday
992: [22:12:23] <simon_w> *my
993: [22:13:16] <ss23> dude fuck that
994: [22:13:36] <simon_w> Jan 18? I think I'm around for that one
995: [22:13:47] <simon_w> When's Wellington Anniversary?
996: [22:14:16] <camfindlay> so now pre-xmas hack then?
997: [22:14:17] <simon_w> Nope, I'm away that weekend
998: [22:14:21] <camfindlay> *no
999: [22:14:34] <simon_w> Well, I could probably do the 14th too
1000: [22:14:59] <camfindlay> So maybe sometime mid-late Jan then?
1001: [22:16:08] <simon_w> Yup, can do Dec 14th
1002: [22:16:09] * abitran quit (Read error: Connection reset by peer)
1003: [22:16:21] <simon_w> Let's get sminnee in here and finalise it
1004: [22:17:06] <simon_w> camfindlay, this is how we organised the last one ;)
1005: [22:18:09] <camfindlay> i'll see what we can do :)
1006: [22:20:45] <simon_w> Ooh, I can spend that day getting SS working(-ish) in HHVM
1007: [22:21:00] * antmas has joined #silverstripe
1008: [22:21:40] <ss23> jan 18 better than december 21
1009: [22:21:51] <ss23> wait when do we stop working? ;_;
1010: [22:22:20] <simon_w> Probably the 20th
1011: [22:22:24] <simon_w> You slackers
1012: [22:22:38] <ss23> yep, 20th
1013: [22:22:38] <simon_w> Jan 18's a long weekend
1014: [22:22:39] * antmas is hanging out for the 20th dec
1015: [22:22:40] <ss23> so 21'st okay then
1016: [22:23:10] <simon_w> 14th will probably have a much cleaner office ;)
1017: [22:24:31] <ss23> Just had a client ask if their site was going to get hacked since Adobe got hacked and they use Typekit for fonts on their website :O
1018: [22:24:49] <simon_w> Yes, but it has nothing to do with Adobe
1019: [22:24:55] <simon_w> Muahahahaha
1020: [22:24:58] <ss23> Typekit from Adobe?
1021: [22:25:24] <Colin[pi]> ss23: rofl
1022: [22:25:34] <Colin[pi]> "Yes, you're doomed, DOOMED"
1023: [22:25:39] <simon_w> ss23, try with the other part of the sentence :p
1024: [22:25:40] <ss23> It's a kind of interesting question
1025: [22:25:57] <ss23> simon_w: What? o.o
1026: [22:26:16] <simon_w> Yes, your site will get hacked but it has nothing to do with Adobe
1027: [22:26:44] <ss23> I'm not sure I understand. They were asking specifically because they were aware that Adobe got hacked and Typekit is from Adobe
1028: [22:26:58] * Liquide has joined #silverstripe
1029: [22:27:57] <AlphaCactus> how far is SS from working on HHVM?
1030: [22:28:05] <ss23> AlphaCactus: Lots far
1031: [22:28:34] <simon_w> Yeah, though it may bootstrap at the end of the current lockdown
1032: [22:29:10] <AlphaCactus> seems like most of that is on HHVM side rather rather than SS side?
1033: [22:29:43] <simon_w> yes
1034: [22:37:22] <Colin[pi]> oops: http://www.youtube.com/
1035: [22:37:55] <Colin[pi]> ^ ss23 you broke it
1036: [22:38:10] <ss23> pls
1037: [22:39:01] <simon_w> Isn't decoding :(
1038: [22:39:58] <Colin[pi]> encrypted?
1039: [22:40:23] <Kolin> The youtube error code?
1040: [22:40:27] <Colin[pi]> aye
1041: [22:40:37] <simon_w> It looks like base64, but it isn't
1042: [22:40:42] <Kolin> Im prety sure its base 64 encoded randomness
1043: [22:40:48] <Kolin> http://www.cambus.net/decoding-youtube-http-error-500-message/
1044: [22:41:00] <Kolin> Randomness created by their teeam of monkeys
1045: [22:41:10] <Kolin> trying to recreate some shakespear
1046: [22:41:51] <Kolin> Yes i googled that last time it was down
1047: [22:41:52] <Kolin> :)
1048: [22:42:10] <Kolin> after base64 decoding failed
1049: [22:42:18] <simon_w> Just had to give Mark SFTP access. I feel dirty.
1050: [22:42:20] <antmas> Colin[pi]: !
1051: [22:42:22] <antmas> :D
1052: [22:42:47] * UncleCheese has joined #silverstripe
1053: [22:43:19] <ss23> UncleCheese broke youtube
1054: [22:43:20] <ss23> :(
1055: [22:43:37] <AlphaCactus> blame it on the americans
1056: [22:43:40] <UncleCheese> working for me
1057: [22:43:45] <Colin[pi]> ah HA!
1058: [22:43:47] <Colin[pi]> you see?
1059: [22:44:08] <simon_w> Well, my feed doesn't load but the homepage does
1060: [22:44:11] <ss23> a firetruck just went past
1061: [22:44:19] <ss23> dispatched to deal with the internet fires from Youtube being down
1062: [22:44:24] <antmas> ss23: the sirens are going off here too
1063: [22:44:29] <ss23> lol
1064: [22:44:31] <Colin[pi]> WOOP WOOP
1065: [22:44:40] <AlphaCactus> what r u guys doing down there
1066: [22:44:56] <Colin[pi]> its back
1067: [22:45:04] * antmas takes an instinctive look at the server room
1068: [22:45:11] <simon_w> http://www.youtube.com/feed/subscriptions isn't
1069: [22:45:22] <Kolin> ha, https://twitter.com/RichardCarter/status/402566647174922240
1070: [22:45:32] * Ryan-Toast quit (Quit: Ryan-Toast)
1071: [22:46:04] <simon_w> I can smell something tasty but I don't recognise where it's from
1072: [22:46:18] <antmas> simon_w: so can I, and it hurts :<
1073: [22:46:42] <simon_w> Usually I can recognise all the food smells we get here
1074: [22:46:48] <simon_w> Like the subway bread one this morning
1075: [22:47:07] <antmas> simon_w: does anyone there or at SS every BRING lunch to work? :P
1076: [22:47:07] <ss23> simon_w: ... someone farted.
1077: [22:47:17] <antmas> ever*
1078: [22:47:26] <simon_w> antmas, the three of us here don't
1079: [22:47:33] <simon_w> I should though, but effort
1080: [22:47:39] <ss23> antmas: Lots of people here at SS do!
1081: [22:48:00] <simon_w> antmas, I did when we were in the SS building and had a microwave
1082: [22:48:28] <antmas> I always assumed web shops just all eat out
1083: [22:48:54] <Colin[pi]> a steady diet of pizza and energy drinks, amirite
1084: [22:49:37] * mobiusnz1 has joined #silverstripe
1085: [22:49:39] <ss23> antmas: Lots of people here are old etc :P
1086: [22:49:56] <Colin[pi]> ss23: how old is old? ;P
1087: [22:50:24] <simon_w> Your age :p
1088: [22:50:37] * ajmitch is hungry now, but didn't bring lunch to work
1089: [22:50:37] <antmas> is this SS? https://maps.google.com/maps?q=google+maps+silverstripe+nz&ie=UTF-8&ei=WpmKUufJB-aFiQeuhYDAAg&ved=0CAoQ_AUoAg the welli spot
1090: [22:50:54] <ss23> Colin[pi]: How old are you?! :O
1091: [22:50:57] <ss23> antmas: Bad link
1092: [22:51:02] <antmas> fffff
1093: [22:51:03] <ss23> oh wiat I see
1094: [22:51:16] <Colin[pi]> ss23: 35 :P
1095: [22:51:36] <antmas> ss23: the wellington spot - is that the office?
1096: [22:51:46] <ss23> it has lots of it for me
1097: [22:51:59] <antmas> hmmm
1098: [22:52:06] <ss23> antmas: IDK WHICH ONE YOU'RE ASKING ABOUT THERE ARE LIKE 20 OF THEM
1099: [22:52:10] <ss23> antmas: We're on Courtenay Place though
1100: [22:52:12] <simon_w> antmas, 97-99 Courtenay Place
1101: [22:52:21] <antmas> ss23: that's it
1102: [22:52:29] <antmas> next to Saatchi?
1103: [22:52:33] <simon_w> I would link, but I've got no idea how to do that in a way that works with the new maps
1104: [22:52:35] <simon_w> yup
1105: [22:52:40] <ss23> Yeah :D
1106: [22:53:01] * mobiusnz quit (Ping timeout: 246 seconds)
1107: [22:53:22] * antmas now I miss Wellington
1108: [22:53:23] <antmas> :<
1109: [22:53:27] <simon_w> https://www.google.com/maps/preview#!q=30+Courtenay+Place%2C+Te+Aro%2C+Wellington%2C+New+Zealand&data=!4m15!2m14!1m13!1s0x6d38afda98a600b5%3A0xb673809cd938a7f6!3m8!1m3!1d3794!2d174.7791136!3d-41.2929168!3m2!1i1680!2i972!4f13.1!4m2!3d-41.293582!4d174.7824468
1110: [22:53:31] <simon_w> There's where I work!
1111: [22:54:03] <simon_w> That link is not likely to work, but fuck maps!
1112: [22:55:00] <Colin[pi]> wow you are pretty close
1113: [22:55:04] <antmas> I won't even bother linking mine - photos are old as shit
1114: [22:56:49] <antmas> simon_w: really? has the building changed because all I see is a dump :D
1115: [22:57:15] <simon_w> Nope, this building is horrible
1116: [22:57:38] <Colin[pi]> lol at the street view for SS Auckland: https://maps.google.co.nz/maps?q=8+Commerce+Street+Auckland&hl=en&ll=-36.845476,174.767756&spn=0.007212,0.013937&sll=-36.845474,174.767761&sspn=0.007246,0.013937&t=h&hnear=8+Commerce+St,+Auckland,+1010,+Auckland&z=17&layer=c&cbll=-36.845476,174.767756&panoid=TYD2HEhOECgo8QOze4Z9QQ&cbp=12,92.38,,0,15.24
1117: [22:59:21] <simon_w> Whoa, we actual get hits on http://xoxmobile.com
1118: [22:59:42] <antmas> Colin[pi]: SS tunneling to steal BBQ food
1119: [23:00:42] <Colin[pi]> lol
1120: [23:01:27] <simon_w> "1431: [14:57:23] <ss23> I AM THE CUNT, MASTER"
1121: [23:01:27] <antmas> simon_w: Kiss Hug Kiss mobile?
1122: [23:01:27] <simon_w> Ah, good times
1123: [23:01:39] <simon_w> antmas, no idea. We just build and host.
1124: [23:01:46] <simon_w> And charge lots
1125: [23:02:10] * Pyromanik quit (Read error: Connection reset by peer)
1126: [23:03:16] <ss23> simon_w: EDITED
1127: [23:03:18] <ss23> EDITED
1128: [23:03:26] * violetina quit (Read error: Connection reset by peer)
1129: [23:03:29] <simon_w> ss23, you have no proof!
1130: [23:03:40] <ss23> I have my logs!
1131: [23:04:02] <simon_w> And they differ from the public ones. How do we know yours aren't edited?
1132: [23:06:49] <Colin[pi]> <+ss23> I have my logs!
1133: [23:06:52] <Colin[pi]> and my axe!
1134: [23:07:26] <ss23> simon_w: HOW DO WE KNOW YOURS AREN'T?
1135: [23:07:39] <simon_w> You don't
1136: [23:07:47] * Pyromanik has joined #silverstripe
1137: [23:07:47] <Pyromanik> xox?
1138: [23:07:56] <ss23> xoxoxoxox
1139: [23:07:57] <ss23> <3
1140: [23:08:35] <simon_w> Hmm, smells like KFC now but the nearest is some distance away
1141: [23:09:03] <ss23> someone could've brought it over?
1142: [23:09:25] <simon_w> Not likely
1143: [23:11:57] <EasyCo> Ok ok, what am I doing here. I've extended CsvBulkLoader successfully to handle a a has_one relationship. But now the DO for that has_one relationship in ModelAdmin doesn't have import facilities anymore.
1144: [23:14:41] <EasyCo> Also, why the fuck is the code in this how to half english half german? http://doc.silverstripe.org/framework/en/3.1/howto/csv-import
1145: [23:17:30] <antmas> EasyCo: I only see like 4 german words, and those are string examples
1146: [23:18:26] <ss23> EasyCo: Not German for me
1147: [23:18:37] <EasyCo> antmas: Yes but they refer to those strings a lot
1148: [23:18:45] <EasyCo> But they refer to them in English
1149: [23:20:57] <EasyCo> Actually 'a lot' is an exaggeration, but yah. It just obscures the concept more then anything.
1150: [23:22:17] <antmas> EasyCo: I thought that's what the docs were supposed to do? :P
1151: [23:26:42] <Pyromanik> wholey shit I feel sorry for retarded people
1152: [23:26:55] <Pyromanik> it is not fun.
1153: [23:32:57] <antmas> Pyromanik: ?
1154: [23:38:12] * guzzlefry has joined #silverstripe
1155: [23:41:11] <guzzlefry> Hm
1156: [23:41:22] <guzzlefry> Will a ModelAdmin on BlogEntry actually work?
1157: [23:41:48] <guzzlefry> Seems like publishing would get messed up.
1158: [23:42:27] <Colin[pi]> if your program does not allow me to paste a hex color WITH the hash, you have failed as a developer
1159: [23:43:02] * guzzlefry guesses not.
1160: [23:48:23] <antmas> Colin[pi]: lol
1161: [23:48:59] <Colin[pi]> like seriously.. if you intend a field to receive html colors... I'm guessing that most of the time they're gonna come with a hash
1162: [23:49:34] * zippy__ quit (Quit: zippy__)
1163: [23:49:38] <Colin[pi]> and if I paste that value with a hash, and you go "OH SHIT OH SHIT WHAT IS THIS I DONT KNOW THIS IMA BLANK MYSELF FUCK" - you'll make me annoyed
1164: [23:51:59] <discorpia> Colin[pi]: i'd actually find it more acceptable if it _required_ hash, since that is the correct hex color format
1165: [23:52:24] <Colin[pi]> hehe
1166: [23:52:33] <Colin[pi]> I'm just bitching I know, but it's annoying
1167: [23:52:40] <discorpia> i mean if it had to be one or the other
1168: [23:53:09] <discorpia> hehe yeah
1169: [23:54:05] <discorpia> i've been annoyed with the direction software/computers in general are evolving for so long that i've built up huge reserves of bitterness/hatred that i often unleash on any minor annoyance that happens to come my way when coding/using other people's software
1170: [23:55:44] <Colin[pi]> lol
1171: [23:55:47] <Colin[pi]> yeah I know what you mean

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