#silverstripe IRC Log

IRC log for 8 April 2013

All timestamps are in UTC.

1: [00:00:00] <Pyromanik> ah
2: [00:00:00] <Pyromanik> $lang['fr_FR']['???']
3: [00:00:00] <Pyromanik> ?
4: [00:00:00] <Pyromanik> sweet thanks
5: [00:00:00] <Pyromanik> so main and layout's of the same name share the same scope./
6: [00:01:00] <Pyromanik> simon_w, doesn't seem to work :(
7: [00:02:00] <simon_w|air> global $lang; ? mysite/lang/fr_FR.php? flushed?
8: [00:09:00] <Pyromanik> cheers
9: [00:09:00] <Pyromanik> ah, forgot the global.
10: [00:10:00] <simon_w> Run, Time Machine, run!
11: [00:10:00] <Pyromanik> heh
12: [00:11:00] <Pyromanik> backing up?
13: [00:11:00] <simon_w> simon_w|air has ~7 GB of changes since last backup
14: [00:11:00] <Pyromanik> restoring?
15: [00:11:00] <simon_w> backing up
16: [00:13:00] <Pyromanik> simon_w, still appears to not work :<
17: [00:14:00] <Pyromanik> mysite/lang/fr_FR.php: <?php global $lang; $lang['fr_FR']['Page.ss']['SITEMAP'] = 'plan du site';
18: [00:14:00] * EasyCo has joined #silverstripe
19: [00:15:00] <Pyromanik> still
20: [00:15:00] <EasyCo> Hey guys, how do you guys manage different branches that have different databases? In rails you just change your schema.rb and rake it but is there s similar tool or approach in PHP that SilverStrupe uses?
21: [00:15:00] <Pyromanik> argh
22: [00:15:00] <Pyromanik> forgot to remove the namespace from the template
23: [00:15:00] <Pyromanik> oh man
24: [00:15:00] <Pyromanik> wut
25: [00:16:00] <Pyromanik> right yeah?
26: [00:16:00] <Pyromanik> built, flushed no worky :(
27: [00:16:00] <Pyromanik> <% _t('SITEMAP','Site Map') %>
28: [00:16:00] <simon_w|air> Pyromanik, yeah
29: [00:17:00] <Pyromanik> /home-fr-FR/?locale=fr_FR&flush=1
30: [00:17:00] <Pyromanik> in your git repo?
31: [00:17:00] <Pyromanik> EasyCo, different branches?
32: [00:18:00] <Pyromanik> well
33: [00:18:00] <Pyromanik> or detect at runtime in _config.php
34: [00:18:00] <simon_w> EasyCo, SS_DATABASE_PREFIX and SS_DATABASE_SUFFIX
35: [00:18:00] <EasyCo> Yes, for example, if I branch off to work on a new feature the DB will change. So when I checkout back into Master the DB with reflect the branch I was in.
36: [00:18:00] <Pyromanik> either what simon_w said using _ss_environment.php
37: [00:19:00] <EasyCo> I know this isn't SS specific. I was just wondering if anybody had a better way of handling that issue instead of just exporting the DB all the time.
38: [00:19:00] <Pyromanik> which is a little more nasty
39: [00:19:00] <simon_w> And rails is a framework, so can't really compare to PHP :p
40: [00:19:00] <Pyromanik> EasyCo, another approach would be to commit your config fiels
41: [00:19:00] <EasyCo> simon_w: Yah I was more wondering if anybody used any tools to assist in tat task.
42: [00:19:00] <Pyromanik> change them on branches
43: [00:20:00] <Pyromanik> which can have different dbs
44: [00:20:00] <Pyromanik> just like rails, afaik
45: [00:20:00] <EasyCo> I'll have a looksie
46: [00:20:00] <simon_w|air> _ss_environment, in your ignore thing, with database prefix/suffix
47: [00:20:00] <Pyromanik> you can set environment types
48: [00:20:00] <Pyromanik> test, dev, live
49: [00:21:00] <Pyromanik> In rails you just change your schema.rb and rake
50: [00:21:00] <Pyromanik> well I'm wondering what the use case here is
51: [00:21:00] <EasyCo> It's not so much an environment issue.
52: [00:21:00] <Pyromanik> test env type, set db details
53: [00:21:00] <EasyCo> Pyromanik: Fair enough but in dev you could have 20 different branches
54: [00:22:00] <Pyromanik> that's what I read out of that.
55: [00:22:00] <Pyromanik> in sapphire you just change your _config.php and /dev/build
56: [00:24:00] <EasyCo> simon_w: So what you're saying is you'd change the suffix of prefix depending on the branch so you're using a different DB?
57: [00:24:00] <EasyCo> Capiche
58: [00:24:00] <simon_w|air> yes
59: [00:26:00] <Pyromanik> you can't see anything I've done wrong?
60: [00:26:00] <Pyromanik> simon_w, no it's in a theme
61: [00:26:00] <Pyromanik> yeah, it'll modify the DB name
62: [00:26:00] <Pyromanik> simon_w, I can't get that translation business to work.
63: [00:26:00] <simon_w|air> Pyromanik, is the template in my site?
64: [00:27:00] <simon_w|air> It may need to be in mysite to force the mysite lang folder to be used
65: [00:27:00] * Pyromanik just goes to lunch instead.
66: [00:27:00] <Pyromanik> does it need to be in mysite?
67: [00:27:00] <Pyromanik> :<
68: [00:27:00] <Pyromanik> oh gawd
69: [00:28:00] <simon_w|air> Yay, translatable :p
70: [00:29:00] <EasyCo> Thanks for the input.
71: [00:30:00] * chillu quit (Quit: chillu)
72: [00:31:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
73: [00:40:00] * simon_w|air quit (Quit: This computer has gone to sleep)
74: [00:42:00] * DigNZ quit (Quit: DigNZ)
75: [00:48:00] * Bollig|DesignCty has joined #silverstripe
76: [00:49:00] * simon_w|air has joined #silverstripe
77: [00:56:00] * joelpittet is now known as joelpittet|socce
78: [00:57:00] * simon_w|air quit (Quit: This computer has gone to sleep)
79: [01:01:00] <simon_w> ss23 is trying to troll. So cute.
80: [01:02:00] * UncleCheese has joined #silverstripe
81: [01:03:00] * LoveDuckie quit (Ping timeout: 256 seconds)
82: [01:04:00] <Pyromanik> simon_w, eh?
83: [01:04:00] <simon_w> https://twitter.com/ss2342/status/321063287301222401
84: [01:05:00] <Pyromanik> oh gawd, babyface
85: [01:05:00] <Pyromanik> is that beiber?
86: [01:05:00] * dd has joined #silverstripe
87: [01:06:00] <dd> hello. is there a way i can programmatically update a db field on a Page without it automatically creating a version?
88: [01:06:00] <Pyromanik> yes
89: [01:07:00] <dd> Pyromanik: is it something in SiteTree API or some workaround?
90: [01:07:00] <simon_w> ->writeWithoutVersion(), or something on Versioned
91: [01:07:00] <Pyromanik> ^
92: [01:07:00] <dd> ah, ok thanks
93: [01:08:00] <Pyromanik> the other way would be to work around it with DB::Query, very unrecommended
94: [01:08:00] <dd> do i still need to $this->publish() afterwards?
95: [01:08:00] <Pyromanik> or SQLQuery
96: [01:08:00] <simon_w> If you want the change in both stages
97: [01:12:00] <Pyromanik> simon_w, mysite/templates should override themes/templates, yes?
98: [01:13:00] <simon_w> Soemtimes?
99: [01:13:00] <simon_w> Can't remember if $project gets higher
100: [01:13:00] <simon_w> (Or in which version it changed)
101: [01:15:00] <Pyromanik> simon_w, been up to here? http://imgs.xkcd.com/comics/time/485789ac7acd0fe59e6059be22f5b07b73dc1866dd5b16e7a809eee9f835d873.png
102: [01:15:00] <dd> simon_w: still writes to versions table. $this->Name = 'updated'; $this->writeWithoutVersion();
103: [01:15:00] <simon_w> That's what I've currently got, yes
104: [01:16:00] <ss23> simon_w: Wahaha, you noticing makes it all worth it <3
105: [01:16:00] <ss23> Pyromanik: I am Justin Beiber. Didn't you know?
106: [01:16:00] <Pyromanik> cool story bro.
107: [01:16:00] <ss23> Pyromanik: I spend my days entertaining preteen females, and my nights writing pimpin' PHP
108: [01:16:00] <ss23> Bitches be jelllyyy
109: [01:17:00] <simon_w> mmm, jelly
110: [01:18:00] <simon_w> What flavour jelly?
111: [01:18:00] <ss23> grape
112: [01:18:00] <ss23> Always grape jelly
113: [01:21:00] <simon_w> eh
114: [01:22:00] <simon_w> Why's googlebot-mobile pretending to be iOS 4.1?
115: [01:24:00] <Pyromanik> simon_w, that would explain it
116: [01:24:00] <ss23> Maybe it's part of their research on checking whether people are doing UA sniffing?
117: [01:24:00] <Pyromanik> mysite/lang/* not being included
118: [01:25:00] <Pyromanik> is there some kind of registration doofer thing that I need to put in somewhere to make it pick up?
119: [01:28:00] <Pyromanik> so even with include_once('../mysite/lang/fr_FR.php'); the correct locale doofus still doesn't show up.
120: [01:28:00] <Pyromanik> _t() U FAIL ME
121: [01:29:00] <Pyromanik> man
122: [01:29:00] <Pyromanik> f this
123: [01:29:00] <simon_w> Pyromanik, hmm, it may just be ['TemplateName']['Blah']
124: [01:29:00] <Pyromanik> <% if Locale = fr_FR %>
125: [01:29:00] <simon_w> no .ss
126: [01:29:00] <ss23> Pyromanik too noob, needs the beiber power.
127: [01:29:00] <Pyromanik> simon_w, but
128: [01:29:00] <Pyromanik> I have:
129: [01:29:00] <Pyromanik> lang['fr_FR']['Page.ss']['SITEMAP'] = 'plan du site';
130: [01:29:00] <Pyromanik> $lang['fr_FR']['Page']['SITEMAP'] = 'plan du site';
131: [01:29:00] <Pyromanik> $lang['fr-FR']['Page.ss']['SITEMAP'] = 'plan du site';
132: [01:29:00] <Pyromanik> with a $ on first one too
133: [01:30:00] <Pyromanik> bad copy
134: [01:30:00] <Pyromanik> ss23, sif, world needs less jackass power
135: [01:30:00] <ss23> "There's a Facebook group for people who want to "live off the grid". It has 46k likes. Umm... wut?" ahaha
136: [01:30:00] <ss23> Pyromanik: Whats jackass power? :S
137: [01:31:00] <simon_w> Pyromanik, do other french things work? (You're calling i18n::set_locale('fr_FR')?)
138: [01:31:00] <Pyromanik> ss-log, for people who WANT to live off the grid.
139: [01:31:00] <Pyromanik> ss23, ^
140: [01:31:00] <ss23> Pyromanik: Yes
141: [01:31:00] <ss23> Pyromanik: :S
142: [01:31:00] <ss23> thats what I said!
143: [01:31:00] <Pyromanik> simon_w, ?locale=fr_FR
144: [01:32:00] <Pyromanik> ss23, these are the same kind of people who donate to charity in order to gain community status, rather than because they want to help
145: [01:32:00] <Pyromanik> like politicians.
146: [01:33:00] <ss23> Pyromanik: You've completely lost me.
147: [01:33:00] <Pyromanik> ss23, not hard.
148: [01:33:00] <ss23> :<
149: [01:33:00] <Pyromanik> :>
150: [01:33:00] * DigNZ has joined #silverstripe
151: [01:33:00] <simon_w> And you've added Translatable to SiteTree?
152: [01:34:00] <Pyromanik> Translatable::set_default_locale('en_US');
153: [01:34:00] <Pyromanik> Object::add_extension('SiteTree', 'Translatable');
154: [01:34:00] <Pyromanik> Object::add_extension('SiteConfig', 'Translatable');
155: [01:34:00] <Pyromanik> i18n::set_locale('en_US');
156: [01:35:00] * dd quit (Quit: Page closed)
157: [01:35:00] <Pyromanik> 2.4 remember
158: [01:35:00] <Pyromanik> include_once('../mysite/lang/fr_FR.php');
159: [01:35:00] <Pyromanik> in my _config
160: [01:35:00] <Pyromanik> .php
161: [01:36:00] <simon_w> Translatable::set_current_locale(), stick in i18n::set_locale($locale);
162: [01:36:00] <Pyromanik> simon_w, from the translatable switch?
163: [01:36:00] <simon_w> yeah
164: [01:36:00] <simon_w> Yeah. Do you care about editing sapphire?
165: [01:36:00] <Pyromanik> simon_w, nup
166: [01:36:00] <simon_w> (The problem is i18n::set_locale() isn't being called)
167: [01:37:00] <Pyromanik> what is file plx?
168: [01:37:00] <Pyromanik> but $ContentLocale comes back with fr-FR
169: [01:37:00] <Pyromanik> (in template)
170: [01:37:00] <simon_w> Yes, Translatable and i18n have different locales
171: [01:37:00] <Pyromanik> oic
172: [01:37:00] <simon_w> i18n does the _t, Translatable does the content
173: [01:37:00] <simon_w> sapphire/core/model/Translatable.php
174: [01:38:00] <simon_w> Falls back to it, uses the content's locale first
175: [01:38:00] <Pyromanik> yeah but doesn't $ContentLocale run off i18n>?
176: [01:40:00] <Pyromanik> right
177: [01:40:00] <Pyromanik> ah I see
178: [01:40:00] <Pyromanik> lots of if in the config.php :D
179: [01:40:00] <Pyromanik> well, one
180: [01:40:00] <Pyromanik> I think I can do this without hacking core
181: [01:41:00] <Pyromanik> no?*
182: [01:41:00] <Pyromanik> if(isset($_GET['locale']))i18n::set_locale('$_GET['locale']);
183: [01:41:00] <Pyromanik> no/
184: [01:44:00] <Pyromanik> thanks simon_w, I'll dig into it from here :D
185: [01:44:00] <Pyromanik> hmm, yes and no.
186: [01:44:00] <Pyromanik> yes, but doesn't persist between requests :<
187: [01:45:00] <simon_w> Hmm, nope. It's not cookied any more
188: [01:45:00] * howardgrigg has joined #silverstripe
189: [01:45:00] <simon_w> Pyromanik, i18n::set_locate(Translatable::choose_site_locale())
190: [01:49:00] <simon_w> Yeah, unique urls and all that
191: [01:49:00] <Pyromanik> yeh
192: [01:49:00] <Pyromanik> 2.4
193: [01:49:00] <Pyromanik> still not cookied as it loads page directly eh?
194: [01:50:00] <Pyromanik> hmm good point
195: [01:50:00] <simon_w> Just edit your init() to set it
196: [01:51:00] * willr_ has joined #silverstripe
197: [01:54:00] <Pyromanik> hooray!
198: [01:55:00] <simon_w> Yay, translatable is kinda working!
199: [01:55:00] <Pyromanik> ?
200: [01:55:00] <Pyromanik> thanks for that simon_w, much appreciated
201: [01:56:00] <simon_w> It's translatable, it only kinda works
202: [02:06:00] <EasyCo> Is there a list of built in has_one types? Like Image and File?
203: [02:07:00] * LoveDuckie has joined #silverstripe
204: [02:07:00] <simon_w> Run dev/build
205: [02:09:00] <EasyCo> That works
206: [02:10:00] <EasyCo> What's the deal with the Image table. In dev/build it lists it but in the actual DB it's non existent (as far as I can see)
207: [02:11:00] <EasyCo> Yah, k so just an alias really
208: [02:11:00] <simon_w> It's a File, with no extra fields
209: [02:12:00] * UncleCheese quit (Quit: UncleCheese)
210: [02:12:00] <simon_w> No, it has a lot of image specific functionality, and means you only get images
211: [02:12:00] * LoveDuckie quit (Ping timeout: 276 seconds)
212: [02:12:00] <EasyCo> Yah gotcha, thanks for your help again.
213: [02:12:00] <EasyCo> but with different class methods...
214: [02:19:00] <Pyromanik> a-la Tutorial 2
215: [02:19:00] <Pyromanik> EasyCo, think of the DB tables like Object instances.
216: [02:19:00] <Pyromanik> if you subclass something but define nothing, it just uses everything from the upstream definitions
217: [02:20:00] <Pyromanik> EasyCo, this picture will help. http://doc.silverstripe.org//src/framework_3.0/docs/en/tutorials/_images/tutorial2_data-collation.jpg
218: [02:21:00] <Pyromanik> hence image has no extra fields, but a heap of extra functionality.
219: [02:21:00] <Pyromanik> but just like serialized objects, only the fields get stored. Functions are shared at class level.
220: [02:59:00] <ss23> http://thejh.net/misc/website-terminal-copy-paste
221: [03:07:00] <EasyCo> Pyromanik: Thx
222: [03:08:00] * SightUnseen has joined #silverstripe
223: [03:09:00] <EasyCo> That's actually a pretty clever way to forge the copy request.
224: [03:11:00] <ss23> More reliable than JS
225: [03:11:00] * SightUnseen has left #silverstripe
226: [03:18:00] * DigNZ quit (Quit: DigNZ)
227: [03:21:00] * cloph_away has joined #silverstripe
228: [03:23:00] * cloph_away1 quit (Ping timeout: 256 seconds)
229: [03:27:00] * DigNZ has joined #silverstripe
230: [03:34:00] <simon_w> willr_, you're only using 3.0 versions of our modules, right?
231: [03:36:00] * joelpittet|socce is now known as joelpittet
232: [03:38:00] <willr_> simon_w using the version from 8 months ago forked
233: [03:39:00] <simon_w> Well, I can change how all the information's stored then
234: [03:40:00] <simon_w> belongs_to all the things!
235: [04:15:00] <ss23> You need something at the bottom of your template to allow for REquirements::javascript stuff, right?
236: [04:15:00] <ss23> Hmm
237: [04:17:00] <ss23> HALP ME Pyromanik
238: [04:17:00] <ss23> Requirements::javascript("https://maps.googleapis.com/maps/api/js?sensor=false");
239: [04:17:00] <ss23> NONE OF THIS FILE IN MY TEMPLATEs
240: [04:17:00] <ss23> HOW TO MAKE IT WORK
241: [04:17:00] <Pyromanik> [User Error] Uncaught Exception: Object->__call(): the method 'iscomposite' does not exist on 'FieldList'
242: [04:17:00] <Pyromanik> wtf
243: [04:18:00] <ss23> Should I do it in my page?
244: [04:18:00] <Pyromanik> could do
245: [04:18:00] <simon_w> You don't. Stick it in your page or the view
246: [04:18:00] <Pyromanik> duh
247: [04:18:00] * Shrike_Finland quit (Quit: Leaving.)
248: [04:18:00] <Pyromanik> you need to call said function
249: [04:18:00] <ss23> I tried init()
250: [04:18:00] <ss23> How do I get a dataobject to be able to inject Javascript?
251: [04:18:00] <ss23> Hmm, no, it's not being called.
252: [04:18:00] <simon_w> ss23, Is that being called? Do you have a </body>?
253: [04:19:00] <Pyromanik> What does it I don't even.
254: [04:19:00] <Pyromanik> but yeh
255: [04:19:00] <Pyromanik> what simon_w said
256: [04:19:00] <Pyromanik> nothing happens magically
257: [04:19:00] <Pyromanik> should be in your controller, not DO
258: [04:19:00] <Pyromanik> or the view
259: [04:19:00] <Pyromanik> <% require javascript() %>
260: [04:19:00] <Pyromanik> view better place for it
261: [04:19:00] <Pyromanik> simon_w, halp?
262: [04:19:00] <Pyromanik> [User Error] Uncaught Exception: Object->__call(): the method 'iscomposite' does not exist on 'FieldList'
263: [04:20:00] <Pyromanik> yep, thanks
264: [04:20:00] <ss23> ty guise, works now ^.^
265: [04:20:00] <simon_w> You're nesting FieldLists?
266: [04:20:00] <Pyromanik> simon_w, n...wait...
267: [04:20:00] <Pyromanik> f'n mondays code blind
268: [04:21:00] <Pyromanik> :)
269: [04:24:00] <simon_w> Time to try to get 'UPDATE "Member" SET "LastVisited" = '2013-04-08 04:23:57' WHERE "ID" = 7;' out of the slow-log
270: [04:25:00] <simon_w> Yes
271: [04:25:00] <ss23> That should be fast, shouldn't it...?
272: [04:25:00] <ss23> Like, it's an ID, which is primary key?
273: [04:25:00] <simon_w> It's, at times, taking upwards of 0.5 seconds
274: [04:25:00] <simon_w> To update a non-indexed field on a single row, using a primary key
275: [04:25:00] <ss23> o.o
276: [04:26:00] <simon_w> So I'm currently making the table narrower
277: [04:26:00] <ss23> That sounds bad!
278: [04:27:00] <ss23> Narrower? Is it too fat?
279: [04:27:00] <simon_w> Only reason I can think of
280: [04:29:00] <ss23> Would be nice if there was an API for "Do this query but return straight away and make it low priority" etc...
281: [04:29:00] <ss23> Does it update every page load, or just when a member logs in?
282: [04:30:00] <ss23> Or does the async query stuff already do that?
283: [04:30:00] <ss23> OMG SO MANY QUESTIONS
284: [04:30:00] * Cam_ has joined #silverstripe
285: [04:30:00] * Cam_ is now known as camb
286: [04:30:00] <ss23> Or does that stuff stop the query if you close the connection?
287: [04:31:00] <simon_w> It's every page load, not sure if UPDATE has a DELAYED to match INSERT, async stuff still has to finish (it's async wrt PHP, not the database)
288: [04:33:00] <simon_w> camb, you grab the 3.1 compat version, not the 3.0 one
289: [04:33:00] <camb> Anyone here familiar with the userforms module? I'm just trying to install this on my SS3.0.5 site and when I try to dev build I get an error: PHP Fatal error: Access level to UserDefinedForm_EmailRecipient::$db must be public (as in class DataObject) in /Users/Cameron/Sites/sisters/userforms/code/model/UserDefinedForm.php on line 1142
290: [04:34:00] <camb> ah
291: [04:34:00] <simon_w> willr_, fix userforms/master! It still has 3.1 stuff :p
292: [04:34:00] <camb> I just downloaded the master zip off github
293: [04:34:00] <camb> I see
294: [04:35:00] <ss23> Isn't master meant to have 3.1 stuff?
295: [04:35:00] <simon_w> camb, grab the 1.0 branch
296: [04:35:00] <camb> hehe.
297: [04:35:00] <camb> cool thanks :)
298: [04:35:00] <simon_w> willr_, or decide if it requires 3.1 already.
299: [04:35:00] <ss23> oic
300: [04:36:00] <ss23> sm
301: [04:36:00] <ss23> I twitterz him
302: [04:36:00] <ss23> he's not on IRC :<
303: [04:36:00] <ss23> simon_w: Whats the news on hackfest btw?
304: [04:36:00] <simon_w> ss23, bug sminnee
305: [04:38:00] <camb> thanks guys
306: [04:38:00] <camb> Awesome it looks like that branch is working
307: [04:48:00] <simon_w> willr_, so update the readme
308: [04:48:00] <willr_> simon_w user forms master is 3.1 only
309: [04:48:00] <willr_> and the composer.json!
310: [04:49:00] <willr_> simon_w pull requests welcome
311: [04:49:00] <simon_w> Effort :p
312: [04:49:00] <willr_> :P
313: [04:58:00] <ss23> "I feel sad whenever I see??? someone too poor for an iPad or iPhone and have to get something with Android."
314: [04:59:00] <spronk> guys
315: [04:59:00] <spronk> hmm
316: [04:59:00] <spronk> adding custom styles to editor
317: [04:59:00] <spronk> still just add classes in typography.css ?
318: [04:59:00] <spronk> or has something changed in ss3?
319: [04:59:00] <ss23> simon_w: If you mean the styles dropdown, works for me with ss3
320: [04:59:00] <ss23> spronk*
321: [04:59:00] <ss23> spronk: But remmeber your editor.css
322: [04:59:00] <ss23> tinymce looks for editor.css, not typography.css
323: [04:59:00] <spronk> ah
324: [04:59:00] <ss23> I just @import typography.css in my editor
325: [05:00:00] <spronk> the hell isn't this working :@
326: [05:00:00] <spronk> ugh
327: [05:00:00] <spronk> mm
328: [05:00:00] * DigNZ quit (Quit: DigNZ)
329: [05:01:00] <ss23> Is editor.css being loaded? You can check with the network tab
330: [05:02:00] <spronk> nope
331: [05:02:00] <spronk> hmm
332: [05:03:00] <spronk> ugh
333: [05:04:00] <spronk> maybe a cache or something
334: [05:04:00] <spronk> working now. dno wtf that was all about
335: [05:05:00] * Pyromanik quit (Quit: Leaving)
336: [05:05:00] * nickmolhoek quit (Remote host closed the connection)
337: [05:07:00] * eikonos1 has joined #silverstripe
338: [05:07:00] * eikonos quit (Read error: Connection reset by peer)
339: [05:09:00] * eikonos has joined #silverstripe
340: [05:09:00] * eikonos quit (Changing host)
341: [05:09:00] * eikonos1 quit (Read error: Connection reset by peer)
342: [05:09:00] * eikonos has joined #silverstripe
343: [05:13:00] * jnbek has joined #silverstripe
344: [05:13:00] * irogue has joined #silverstripe
345: [05:14:00] <jnbek> ;-)
346: [05:14:00] * jnbek is licked
347: [05:14:00] <ss23> jnbek: sicko
348: [05:14:00] * irogue licks jnbek
349: [05:16:00] * jnbek has left #silverstripe
350: [05:23:00] * priithansen has joined #silverstripe
351: [05:29:00] * camb quit (Quit: Textual IRC Client: www.textualapp.com)
352: [05:35:00] * willr_ quit (Quit: willr_)
353: [05:37:00] * EasyCo has left #silverstripe
354: [05:37:00] * EasyCo has joined #silverstripe
355: [05:40:00] <ss23> The best anti SQL injection you will ever see - http://codepad.viper-7.com/FxGiWp
356: [05:45:00] * joelpittet quit (Remote host closed the connection)
357: [05:54:00] <Bollig|DesignCty> version 7!
358: [06:04:00] <lewellyn> ss23: i broke it :)
359: [06:04:00] <ss23> lol lewellyn
360: [06:06:00] <lewellyn> ss23: anyhow, http://codepad.viper-7.com/fT2G2y
361: [06:06:00] <lewellyn> i keep seeing <br> in the code area. that makes it annoying to work with.
362: [06:07:00] <lewellyn> it's not foolproof :)
363: [06:07:00] * howardgrigg quit (Remote host closed the connection)
364: [06:11:00] <simon_w> lewellyn, it's escaping it, then unescaping it. You don't have to do anything to break it.
365: [06:11:00] <lewellyn> i wasn't sure if serious or not. :)
366: [06:13:00] <ss23> It's right up there with: $query = $db->query('select * from users where username = "' . $_POST['username'] . '"'); // Safe from SQLi cause prepared statements!
367: [06:16:00] <lewellyn> "I thought that Bobby Tables thing was just a joke! Who'd even use a username like that!?" :)
368: [06:18:00] <ss23> mm
369: [06:18:00] * Error404NotFound has joined #silverstripe
370: [06:18:00] <simon_w> This office gets dark noticeably earlier now
371: [06:18:00] <simon_w> It's usually light when I leave for home
372: [06:19:00] <ss23> WEll, amlost
373: [06:19:00] <simon_w> Not really
374: [06:19:00] <ss23> Yeah, but weather changed fast too!
375: [06:19:00] <simon_w> I think it's more that DST end, but you know :p
376: [06:19:00] <ss23> Duvet on top half of me, sheet for feet
377: [06:19:00] * gordon is now known as elgrodo
378: [06:19:00] <ss23> IT's nice, I can actually put on a duvet at night now :D
379: [06:19:00] <ss23> Summer ended fast :O
380: [06:19:00] * gordon has joined #silverstripe
381: [06:20:00] <ss23> http://www.metservice.com/towns-cities/hamilton
382: [06:20:00] <simon_w> Still no rain, still around the same temperature
383: [06:20:00] <ss23> Way colder here
384: [06:20:00] <ss23> Rain here too
385: [06:21:00] <ss23> lewellyn: :P
386: [06:21:00] * Error404NotFound quit (Read error: Connection reset by peer)
387: [06:21:00] <ss23> last 30 days, went from 28 31, 28, to 25's, and now in 20's
388: [06:21:00] <lewellyn> 28 is in the 20s.
389: [06:21:00] <simon_w> Doing a Canberra, I see
390: [06:21:00] <ss23> biggest change was ~15th
391: [06:21:00] <ss23> WHATEVER
392: [06:21:00] * Error404NotFound has joined #silverstripe
393: [06:22:00] <simon_w> lewellyn, be nice, ss23 is in Hamilton after all.
394: [06:22:00] <lewellyn> and i'm in .us.
395: [06:22:00] * lewellyn pedants.
396: [06:23:00] * howardgrigg has joined #silverstripe
397: [06:23:00] <lewellyn> ss23: i don't believe they've evolved enough to be a threat yet.
398: [06:23:00] <simon_w> Hmm, I'm not sure who's worse off now
399: [06:23:00] <ss23> I saw a study showing 1 out of every 20 Americans believes in lizard people
400: [06:23:00] <ss23> lewellyn: Do you believe in lizard people?
401: [06:23:00] <ss23> simon_w: Harsh
402: [06:24:00] * Error404NotFound quit (Read error: Connection reset by peer)
403: [06:24:00] <ss23> haha lewellyn
404: [06:25:00] <simon_w> Home time!
405: [06:25:00] <ss23> simon_w: Yay!
406: [06:25:00] * Error404NotFound has joined #silverstripe
407: [06:29:00] * DigNZ has joined #silverstripe
408: [06:30:00] <ss23> I just said to my mother "DON'T YOU KNOW YOUR REGEXES?"
409: [06:37:00] * DrCuriosity quit (Ping timeout: 245 seconds)
410: [06:48:00] * DigNZ quit (Quit: DigNZ)
411: [06:49:00] <EasyCo> ss23:In what context?
412: [06:52:00] * osterlaus has joined #silverstripe
413: [06:57:00] * Shrike_Finland has joined #silverstripe
414: [07:09:00] * Error404NotFound quit (Ping timeout: 264 seconds)
415: [07:11:00] * EasyCo quit (Quit: EasyCo)
416: [07:22:00] * Error404NotFound has joined #silverstripe
417: [07:33:00] * simon_w|air has joined #silverstripe
418: [07:36:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6145210
419: [07:36:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/fb17f43878de...d04ead65b86e
420: [07:36:00] <travis-ci> [travis-ci] silverstripe/sapphire#1929 (3.1 - d04ead6 : Will Rossiter): The build passed.
421: [07:36:00] * travis-ci has joined #silverstripe
422: [07:36:00] * travis-ci has left #silverstripe
423: [07:41:00] * travis-ci has left #silverstripe
424: [07:41:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#329 (3.1 - da515b8 : Ingo Schommer): The build passed.
425: [07:41:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/915582a54c53...da515b8f6523
426: [07:41:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6145263
427: [07:41:00] * travis-ci has joined #silverstripe
428: [07:45:00] * zfmf has joined #silverstripe
429: [07:46:00] <ss23> In the context of "Don't you know ytour cheeses?!" but you accdeitnyl say regex cause you're reading regex at the time
430: [07:48:00] * Zauberfisch quit (Remote host closed the connection)
431: [07:51:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6145429
432: [07:51:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d04ead65b86e...f296439a243e
433: [07:51:00] * travis-ci has joined #silverstripe
434: [07:51:00] <travis-ci> [travis-ci] silverstripe/sapphire#1930 (3.1 - f296439 : Ingo Schommer): The build passed.
435: [07:51:00] * travis-ci has left #silverstripe
436: [07:52:00] <ss23> WoW players lol me -- "I don't even play outside of raiding!"
437: [07:54:00] <onre> hm
438: [07:54:00] <simon_w|air> Silly Stuff commenter. It's always been like that.
439: [07:54:00] <simon_w|air> "Does this mean Android devices are used primarily as nothing more than as a cheap phone or media player?"
440: [07:55:00] <ss23> simon_w: Y U GO ON STUFF
441: [07:55:00] <onre> phones are used as phones, news at eleven?
442: [07:55:00] <ss23> simon_w: I thought you routed stuff to localhost or something?
443: [07:55:00] <simon_w|air> ss23, other laptop. And to lol
444: [07:55:00] <simon_w|air> This is in regards to Android not featuring (and Linux on 1%) in web usage stats
445: [07:55:00] <simon_w|air> With iOS on 7%
446: [07:56:00] * travis-ci has joined #silverstripe
447: [07:56:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6145463
448: [07:56:00] * travis-ci has left #silverstripe
449: [07:56:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a0f0e9bce381...8e82ef186d71
450: [07:56:00] <travis-ci> [travis-ci] silverstripe/sapphire#1931 (3.0 - 8e82ef1 : Will Rossiter): The build passed.
451: [07:57:00] <simon_w|air> Like this one: "Telecom has received 242 orders for ultrafast broadband"
452: [07:58:00] <ss23> lol
453: [07:59:00] <ss23> 242?!
454: [07:59:00] <ss23> So many!
455: [07:59:00] * osterlaus quit (Quit: Leaving.)
456: [08:00:00] <simon_w|air> Out of about 100,000 potential customers!
457: [08:02:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6145503
458: [08:02:00] * travis-ci has joined #silverstripe
459: [08:02:00] * travis-ci has left #silverstripe
460: [08:02:00] <travis-ci> [travis-ci] silverstripe/sapphire#1932 (3.1 - 3768c24 : Ingo Schommer): The build passed.
461: [08:02:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/f296439a243e...3768c247b4ef
462: [08:03:00] * svandragt has joined #silverstripe
463: [08:05:00] * popeshoe has joined #silverstripe
464: [08:06:00] * SightUnseen has joined #silverstripe
465: [08:07:00] * EasyCo has joined #silverstripe
466: [08:08:00] * travis-ci has left #silverstripe
467: [08:08:00] * SightUnseen has left #silverstripe
468: [08:08:00] * travis-ci has joined #silverstripe
469: [08:08:00] <travis-ci> [travis-ci] silverstripe/sapphire#1933 (3.1 - d94a6a5 : Will Rossiter): The build passed.
470: [08:08:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/3768c247b4ef...d94a6a540763
471: [08:08:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6145722
472: [08:09:00] * kinglozzer has joined #silverstripe
473: [08:11:00] * ocm has joined #silverstripe
474: [08:11:00] <ocm> howdy!
475: [08:12:00] <ocm> I have a function that does $member->logOut(); in my pagecontroller, but it doesnt log the user out
476: [08:12:00] <ocm> am I doing anything wrong here? http://sspaste.com/paste/show/51627bd55ad63
477: [08:12:00] <lewellyn> kinglozzer: btw, it looked like you did your commit message correctly. did the travis build ever finish?
478: [08:13:00] * lx-berlin has joined #silverstripe
479: [08:14:00] <kinglozzer> Ah cool lewellyn, I haven't checked yet!
480: [08:14:00] <lewellyn> kinglozzer: i lost the info for the commit so i can't look again.
481: [08:15:00] * lewellyn pokes simon_w|air :)
482: [08:15:00] <ss23> simon_w|air: Could be worse. Personaly testing has taught me that if your website lets you use a password of abitary length + characters, you're in the minority
483: [08:15:00] <lewellyn> that's problematic.
484: [08:15:00] <kinglozzer> lewellyn: https://github.com/silverstripe/silverstripe-cms/pull/676 says the build is still in progress
485: [08:15:00] * lewellyn doesn't know enough about travis.
486: [08:15:00] <kinglozzer> Well when I click through, it says the build has passed :S
487: [08:16:00] <ss23> simon_w|air: Gotten some awesome crazy errors. "your account has no account associated with it" with one site. Cookine ivalidating itself right after login on another
488: [08:18:00] <simon_w|air> Why am I being poked?
489: [08:19:00] <simon_w|air> is rather sad
490: [08:19:00] <lewellyn> simon_w|air: any idea what's up with that PR?
491: [08:19:00] <simon_w|air> ss23, I've had so many sites failing on a +
492: [08:20:00] <lewellyn> i should start using + in passwords.
493: [08:20:00] * waveydave has joined #silverstripe
494: [08:20:00] <ss23> simon_w|air: My old work does. When I talked about fixing it, I got a "We don't care, no one uses a +"
495: [08:20:00] <ss23> lewellyn: I would *hope* that would work fine, but like I said, experience tells me it's not
496: [08:21:00] <ss23> Like, I don't think PHP would be more succeptible to stupidity in this particular case
497: [08:21:00] <ss23> Why PHP?
498: [08:21:00] <ss23> lewellyn: Hmm?
499: [08:21:00] <lewellyn> i bet most of the problems are with php sites.
500: [08:21:00] <ss23> I was surprised when Zonomi (rimuhosting) messed up on my password
501: [08:21:00] <lewellyn> ss23: yeah. i can guess lots of reasons why.
502: [08:21:00] <lewellyn> then moan at support that the site won't let me log in after it lets me change my password.
503: [08:21:00] <lewellyn> because my experience is that people using other languages seem to have a bit of a clue about non-alphanumeric characters
504: [08:22:00] <simon_w|air> Rimu is mostly jsp, from what I can tell
505: [08:22:00] <ss23> ah yep
506: [08:22:00] <ss23> Well actually though, the two worst sites I had for issues, neither were PHP
507: [08:22:00] <ss23> One was JSP (tvtorrents) and Rimu was... dunno?
508: [08:22:00] <lewellyn> i've run into lots of fun with sites and unicode characters in various places ;)
509: [08:22:00] <lewellyn> anyhow. gf is on her way over. time for anime and sleep.
510: [08:23:00] <lewellyn> i watch Sexy Commando while she sleeps.
511: [08:23:00] <lewellyn> she can't stand the premise of that one.
512: [08:23:00] * lewellyn hopes kinglozzer's travis build eventually passes per github.
513: [08:23:00] <ss23> There we are, two failures, both JSP!
514: [08:23:00] <ss23> lewellyn: What anime?
515: [08:23:00] <ss23> lewellyn: Wanna watch Boku no Pico with me?
516: [08:23:00] <lewellyn> ss23: we're watching Polar Bear Cafe.
517: [08:23:00] * lx-berlin quit (Remote host closed the connection)
518: [08:23:00] * lx-berlin has joined #silverstripe
519: [08:23:00] <lewellyn> then we'll go back to Pretty Cure.
520: [08:23:00] <ss23> haha
521: [08:24:00] <ss23> Cya
522: [08:24:00] <lewellyn> anyhow, back in some hours!
523: [08:25:00] <simon_w|air> lewellyn, welcome to travis and github :p
524: [08:27:00] * Error404NotFound quit (Ping timeout: 264 seconds)
525: [08:32:00] * Zauberfisch has joined #silverstripe
526: [08:39:00] * Error404NotFound has joined #silverstripe
527: [08:43:00] * qlex has joined #silverstripe
528: [08:43:00] * howardgrigg quit (Remote host closed the connection)
529: [08:43:00] * qlex says hi
530: [08:44:00] <qlex> i implemented it on my local 3.0.5 install on dev server and still those translated strings appear in english and not polish
531: [08:44:00] * svandragt quit (Read error: Connection reset by peer)
532: [08:44:00] <qlex> simon_w|air: did u see my message regarding the patch of cms/javascript/lang/pl_PL.js ?
533: [08:45:00] * chillu has joined #silverstripe
534: [08:46:00] <ss23> simon_w|air: lol @ snaps reply. They're good ISP :P
535: [08:52:00] * zrfi has joined #silverstripe
536: [08:52:00] <zrfi> hey guys
537: [08:53:00] <zrfi> is there a way to get through the ORM the unbublished pages
538: [08:53:00] <zrfi> since now it only returns those published?
539: [08:54:00] <zrfi> it always looks into the live table, so how to get them?
540: [08:56:00] <simon_w|air> ss23, I know, and they're probably what I'd go with if I didn't have cable
541: [08:56:00] <simon_w|air> zrfi, Versioned::get_by_stage('SiteTree', 'Stage')->filter...
542: [08:57:00] <zrfi> @simon_w|air will give it a try now, thanks
543: [08:58:00] <simon_w|air> qlex, is the CMS including the file?
544: [08:59:00] <zrfi> @simon_w|air thanks a lot, fixed my problem
545: [09:01:00] <qlex> simon_w|air: yes
546: [09:01:00] <qlex> URLSEGMENT.Edit
547: [09:01:00] <qlex> How can i check if that button in CMS is actually linked to that ?
548: [09:01:00] <ss23> simon_w|air: Can you get fibre yet?
549: [09:02:00] <ss23> Wouldn't you rather fibre?
550: [09:02:00] <simon_w|air> qlex, fine the _t call that builds it
551: [09:02:00] <simon_w|air> ss23, No, but I have cable
552: [09:03:00] <simon_w|air> ss23, Why?
553: [09:04:00] <ss23> simon_w|air: Faster
554: [09:08:00] <qlex> and i can see:
555: [09:08:00] <qlex> 'text': ss.i18n._t('URLSEGMENT.Edit', 'Edit'), on line 169 of that file SiteTreeURLSegmentField.js
556: [09:08:00] <simon_w|air> ss23, only up, which I barely use at home
557: [09:08:00] <qlex> simon_w|air: i have found that this _t function is called in SiteTreeURLSegmentField.js
558: [09:08:00] <qlex> but its not taking the "Edytuj" value from pl_PL.js
559: [09:08:00] <qlex> its being loaded when i refresh that page
560: [09:09:00] * EasyCo quit (Ping timeout: 248 seconds)
561: [09:10:00] <simon_w|air> qlex, what does putting javascript:alert(ss.i18n.getLocale()) in the location bar give?
562: [09:11:00] <Zauberfisch> qlex I talked to uncle cheese yesterday, he says his event calendar module works with 3.0
563: [09:12:00] <Zauberfisch> question: the i18n _t() collector task, does it merge existing lang files with results or just overwrite?
564: [09:12:00] <Zauberfisch> its overwrite, isn't it? :S
565: [09:13:00] <simon_w|air> Zauberfisch, should only change en_US
566: [09:14:00] <simon_w|air> Unless you've changed your default locale, in which case change it back to en_US
567: [09:15:00] <Zauberfisch> yes yes, i know which file it changes
568: [09:16:00] <Zauberfisch> because I actually do have it set to de_DE so I would like it to merge the new strings into de.yml
569: [09:16:00] <Zauberfisch> but I am wondering if it can take the existing en.yml and only add the new strings and leave the already existing ones in
570: [09:16:00] <qlex> simon_w|air: adding to location bar doesnt work, but adding alert(ss.18n.getLocale())) to that js file shows up pl_PL popup when i open the edit page
571: [09:19:00] <qlex> Zauberfisch: thanks for info. I know it works, but we're struggling to display the widget showing the current month (where you can see quickly if there are any events in cufrrent month)
572: [09:20:00] <Zauberfisch> sorry
573: [09:20:00] <Zauberfisch> I see, no idea about that
574: [09:21:00] <qlex> np
575: [09:21:00] * lx-berlin has left #silverstripe
576: [09:21:00] <simon_w|air> qlex, and other things in the JS file are working properly?
577: [09:23:00] <simon_w|air> qlex, and are you getting anything in the console?
578: [09:30:00] <qlex> ok
579: [09:31:00] <qlex> so i didnt add the comma
580: [09:31:00] <qlex> found a missing comma
581: [09:31:00] * priithansen_ has joined #silverstripe
582: [09:31:00] <qlex> it was the last string in that file before i was adding my trnslations
583: [09:31:00] <qlex> after previous translation
584: [09:31:00] <qlex> adding it now in github
585: [09:32:00] * priithansen_ is now known as priithansen
586: [09:32:00] * priithansen quit (Ping timeout: 245 seconds)
587: [09:33:00] <qlex> ok, i upaded that file in my repo of silverstripe-cm
588: [09:33:00] <qlex> do i click pull request ?
589: [09:33:00] <qlex> s
590: [09:34:00] <simon_w|air> https://github.com/silverstripe/silverstripe-cms/commit/6482eeb13711744477b7bef5d5a370925fc881c2
591: [09:34:00] <simon_w|air> No point
592: [09:34:00] <qlex> its picked up automatically ?
593: [09:35:00] <qlex> cool, thanx
594: [09:35:00] <qlex> ah ok, i can see it going to 3.1 while im on 3.0.5 :)
595: [09:36:00] <simon_w|air> Well, so did the other commit
596: [09:38:00] * travis-ci has left #silverstripe
597: [09:38:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/da515b8f6523...6482eeb13711
598: [09:38:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#330 (3.1 - 6482eeb : Simon Welsh): The build passed.
599: [09:38:00] * travis-ci has joined #silverstripe
600: [09:38:00] * Error404NotFound quit (Ping timeout: 276 seconds)
601: [09:38:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6147566
602: [09:51:00] * Error404NotFound has joined #silverstripe
603: [10:07:00] * ocm quit (Read error: Connection reset by peer)
604: [10:13:00] <simon_w|air> Someone sounds butthurt (and doesn't understand market share != usage)
605: [10:13:00] <simon_w|air> "the stats are still impossible because no matter how the stats are collected, Android is either ahead or a lot closer to iOS than these stats show"
606: [10:25:00] * LoveDuckie has joined #silverstripe
607: [10:36:00] * hubertusanton has joined #silverstripe
608: [10:37:00] * Zauberfisch quit (Ping timeout: 245 seconds)
609: [10:39:00] * Liquide^2 quit (*.net *.split)
610: [10:44:00] * Error404NotFound quit (Ping timeout: 264 seconds)
611: [10:52:00] * DrCuriosity has joined #silverstripe
612: [10:54:00] <ss23> oh I accidently clicked something, my bad
613: [10:54:00] <ss23> Twitter interface just changed for me
614: [10:56:00] * Error404NotFound has joined #silverstripe
615: [11:04:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
616: [11:20:00] * zrfi quit (Ping timeout: 245 seconds)
617: [11:24:00] * gordon_ has joined #silverstripe
618: [11:26:00] * elgrodo quit (Ping timeout: 256 seconds)
619: [11:29:00] * C10ne quit (Ping timeout: 245 seconds)
620: [11:42:00] * ARNHOE has joined #silverstripe
621: [11:42:00] <kinglozzer> Can someone who knows yaml tell me what's wrong with this? http://pastie.org/7369015
622: [11:45:00] <qlex> kinglozzer: dont know yaml but maybe you should use 0,6 instead of 0.6 ? happened to me once (locale setting etc)
623: [11:52:00] * Error404NotFound has joined #silverstripe
624: [12:03:00] * ARNHOE quit (Remote host closed the connection)
625: [12:04:00] * ARNHOE has joined #silverstripe
626: [12:08:00] * lx-berlin_ has joined #silverstripe
627: [12:19:00] * ARNHOE quit (Remote host closed the connection)
628: [12:20:00] * UncleCheese has joined #silverstripe
629: [12:20:00] <qlex> for an important client, should we stick with 3.0.5 or already go for 3.1 ? i know that this would require installation of different blog and widget modules too
630: [12:21:00] * ARNHOE has joined #silverstripe
631: [12:22:00] <ss23> qlex: I would use 3.0, because 3.1 still isn't in feature-lock yet, so still API changes to deal with etc
632: [12:24:00] <lx-berlin_> hi guys. i noticed a problem in SS3. I created a new Pagetype "PressReleasePage", then added some pages of this type. Then i deleted all of these pages again (unpublish + delete draft). Now i deleted the PressReleasePage.php but when i load the cms i get an error "ERROR [User Error]: Uncaught ReflectionException: Class PressReleasePage does not exist"
633: [12:24:00] <lx-berlin_> hmm, let me see :)
634: [12:24:00] <ss23> lx-berlin_: You didn't /dev/rebuild?
635: [12:27:00] <lx-berlin_> but i still get this error in the cms
636: [12:27:00] <lx-berlin_> ok, now i did and PressReleasePage was removed from the enums of SiteTree.ClassName, SiteTree_Live.ClassName and SiteTree_versions.ClassName
637: [12:27:00] * ARNHOE quit (Remote host closed the connection)
638: [12:27:00] * UncleCheese quit (Quit: UncleCheese)
639: [12:28:00] <ss23> I really don't know the 3.1 release schedule, but I would *guess* it's at least another month before a stable release
640: [12:28:00] <qlex> ss23: thanx for info. do you know how much longer will this be in beta ?
641: [12:28:00] <qlex> we need to go-live mid next week
642: [12:29:00] <qlex> another question...
643: [12:29:00] * UncleCheese has joined #silverstripe
644: [12:30:00] <qlex> }
645: [12:30:00] <qlex> how about should we i18n that ?
646: [12:30:00] <qlex> in ss3, whenever there's .Action in the css (so any form that appears)...
647: [12:30:00] <qlex> i can see * Indicates a required field
648: [12:30:00] <qlex> this cannot be selected as its set in Css
649: [12:30:00] <qlex> ?? ??color: #B94A48;
650: [12:30:00] <qlex> .Actions:after {
651: [12:30:00] <qlex> ?? ??content: "* Indicates a required field";
652: [12:30:00] <qlex> ?? ??display: inline-block;
653: [12:30:00] <qlex> ?? ??font-weight: normal;
654: [12:30:00] <qlex> ?? ??margin-top: 9px;
655: [12:31:00] <qlex> form Action always display this css, even if there's only dropdowns (see Event Calendar)
656: [12:32:00] * UndefinedOffset has joined #silverstripe
657: [12:35:00] * gelignite has joined #silverstripe
658: [12:36:00] <lx-berlin_> thanks ss23
659: [12:36:00] <lx-berlin_> ok, i found the problem: I also have a PressReleasesPage (which was meant to be a holder of those pages). I forgot to remove static $allowed_children = array("PressReleasePage"); Now the CMS is working again
660: [12:37:00] <ss23> Sweet :)
661: [12:38:00] <qlex> is that done on purpose that this is done in css of silverstripe and thus, its hardcoded in english only ?
662: [12:38:00] <qlex> sorry for using so many rows to display the issues with "* Indicates a required field"
663: [12:46:00] * Error404NotFound quit (Ping timeout: 245 seconds)
664: [12:46:00] * Error404NotFound has joined #silverstripe
665: [12:48:00] * Error404NotFound quit (Max SendQ exceeded)
666: [12:48:00] * Error404NotFound has joined #silverstripe
667: [12:48:00] * Shrike_Finland quit (Quit: Leaving.)
668: [12:49:00] * qlex1 has joined #silverstripe
669: [12:50:00] * feejin has joined #silverstripe
670: [12:51:00] * qlex quit (Read error: Connection reset by peer)
671: [12:52:00] <qlex1> sorry, bumping this, as i got disconnected for a while
672: [12:52:00] <qlex1> could any1 eloborate on this in-built SS3 feature of Form Action ?
673: [13:07:00] * qlex1 is struggling to install phpunit on his centos VPS...
674: [13:10:00] <lx-berlin_> ok, noob question: how can i get all urlparams in my modelclass ?
675: [13:12:00] <kinglozzer> lx-berlin_: Not 100% sure, but I think it's Controller::curr()->request->getVar()
676: [13:13:00] <lx-berlin_> aha
677: [13:20:00] <lx-berlin_> thanks kinglozzer
678: [13:20:00] <kinglozzer> No problem :)
679: [13:23:00] <qlex1> guys, could any1 help out with this hardcoded in css(!) - * Indicates a required field in css .Actions ?
680: [13:34:00] * biggie has joined #silverstripe
681: [13:34:00] <biggie> Hi, does anybody have an idea how to change a theme dynamically in the myside/code/...php file when detecting a mobile client.
682: [13:40:00] <feejin> Silverstripe mobile module should sort that
683: [13:41:00] * Error404NotFound quit (Excess Flood)
684: [13:41:00] <feejin> biggie - here: https://github.com/silverstripe/silverstripe-mobile
685: [13:41:00] * Error404NotFound has joined #silverstripe
686: [13:52:00] <biggie> thank you
687: [14:00:00] * UncleCheese quit (Quit: UncleCheese)
688: [14:03:00] * biggie quit (Quit: Page closed)
689: [14:12:00] * UncleCheese has joined #silverstripe
690: [14:12:00] <kinglozzer> chillu: Any chance you could look at my YAML if you get a minute? http://pastie.org/7369015 $dataobjects is a static array() in the GoogleSitemap class, I guess my array isn't formatted correctly or something
691: [14:13:00] <chillu> looks good, haven't checked whitespace use though
692: [14:13:00] <ss23> yaml is a hard config language for humans to read :<
693: [14:13:00] <chillu> Personally haven't used nested keyed arrays within a config var, should work in theory though
694: [14:14:00] * UncleCheese quit (Client Quit)
695: [14:14:00] <kinglozzer> I don't get any errors, it just doesn't pick it up
696: [14:14:00] <kinglozzer> I looked at the YAML website, but I still don't understand how to structure an associative array ><
697: [14:21:00] * Zauberfisch has joined #silverstripe
698: [14:23:00] * qlex1 has left #silverstripe
699: [14:38:00] * Nivery has joined #silverstripe
700: [14:46:00] * lx-berlin_ has left #silverstripe
701: [14:54:00] <kinglozzer> chillu: My pull request build status won't update on github, travis page says it's passed. https://github.com/silverstripe/silverstripe-cms/pull/676 I wondered if you also need me to add a translation entity to en_GB.yml for the SiteTreeURLSegmentField.EMPTY I added
702: [14:57:00] <chillu> kinglozzer: tested in IE8+?
703: [14:58:00] <chillu> Translations only through getlocalization.com, so no thanks :)
704: [14:58:00] * osterlaus has joined #silverstripe
705: [14:59:00] <kinglozzer> chillu: Nope, very good point, will ask my colleague to test it when he gets a chance and will let you know
706: [14:59:00] <chillu> I've merged it now, but in general, always indicate on which browser you tested - particularly for non-trivial frontend changes
707: [15:03:00] <kinglozzer> chillu: Will do. lewellyn: seems your suggestion for linking to the issue in /sapphire didn't work in my case :( https://github.com/silverstripe/silverstripe-cms/pull/676. Strange because it definitely worked on your test, and I'm sure I used the correct syntax for it
708: [15:04:00] <kinglozzer> Unless the issue needs to be closed, perhaps
709: [15:06:00] * Error404NotFound quit (Ping timeout: 252 seconds)
710: [15:07:00] * robert_ quit (Changing host)
711: [15:07:00] * robert_ has joined #silverstripe
712: [15:07:00] * robert_ has joined #silverstripe
713: [15:16:00] * travis-ci has left #silverstripe
714: [15:16:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/6482eeb13711...d7435cde719e
715: [15:16:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/6155463
716: [15:16:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#331 (3.1 - d7435cd : Ingo Schommer): The build passed.
717: [15:16:00] * travis-ci has joined #silverstripe
718: [15:18:00] * robert_ quit (Ping timeout: 245 seconds)
719: [15:18:00] * Error404NotFound has joined #silverstripe
720: [15:29:00] * Shrike_Finland has joined #silverstripe
721: [15:29:00] * Zauberfisch quit (Remote host closed the connection)
722: [15:30:00] * Zauberfisch^idle quit (Read error: Connection reset by peer)
723: [15:30:00] * Zauberfisch^idle has joined #silverstripe
724: [15:34:00] * osterlaus has left #silverstripe
725: [15:42:00] * osterlaus1 has joined #silverstripe
726: [15:43:00] * osterlaus1 has left #silverstripe
727: [15:45:00] <kinglozzer> chillu: feejin has just confirmed it's fine in IE8 :)
728: [15:48:00] <chillu> kinglozzer: thanks!
729: [15:50:00] <UndefinedOffset> chillu ever seen this error in travis? https://travis-ci.org/webbuilders-group/silverstripe-forum/jobs/6156899 tinkering with the forum module but the build craps out
730: [15:50:00] <ss23> That is, with Silverstripe, T&C cehckbox must be ticked etc
731: [15:50:00] <ss23> Is there a simple way of requiring a checkbox to be ticked in a Form?
732: [15:52:00] <chillu> UndefinedOffset: Hmm, looking at https://github.com/silverstripe-labs/silverstripe-travis-support/blob/master/travis_setup.php#L73
733: [15:53:00] <chillu> https://github.com/silverstripe-labs/silverstripe-travis-support#testing-travis_setupphp-locally
734: [15:53:00] <UndefinedOffset> k will do
735: [15:53:00] <chillu> += array(???) might choke if $package isn't an array? Try running it locally and see what $package contains?
736: [15:58:00] <UndefinedOffset> fixed now :)
737: [15:58:00] <UndefinedOffset> chillu typo in the composer.json
738: [15:59:00] <chillu> arr arr. Maybe you can submit a more verbose check to the travis support script?
739: [16:01:00] * Error404NotFound quit (Ping timeout: 252 seconds)
740: [16:10:00] * kreeves has joined #silverstripe
741: [16:16:00] * zfmf quit (Ping timeout: 264 seconds)
742: [16:18:00] <ss23> Am I meant to be able to see template errors if I'm in dev mode?
743: [16:19:00] <ss23> Cause I can't :<
744: [16:19:00] <ss23> Makes it hard to debug
745: [16:21:00] <ss23> For example, I have "<% if !$getActiveDeal.stockLeft %>" in a template and it just stops right there, nothing else
746: [16:21:00] <UndefinedOffset> ss23 silverstripe 3.0 should show template compile errors, i assume 3.1 does as well
747: [16:21:00] * kinglozzer quit (Remote host closed the connection)
748: [16:21:00] <ss23> 3.0 isn't for me. Ideas?
749: [16:22:00] <UndefinedOffset> oops
750: [16:22:00] <UndefinedOffset> try <% if no $getActiveDeal.stockLeft %>
751: [16:22:00] <ss23> Yeah
752: [16:22:00] <UndefinedOffset> <% if not $getActiveDeal.stockLeft %>
753: [16:22:00] <ss23> I know I can fix it
754: [16:22:00] <UndefinedOffset> :)
755: [16:22:00] <ss23> But I'm not getting an error
756: [16:22:00] <ss23> Makes for painful debugging
757: [16:23:00] <UndefinedOffset> so fatal even the template parser cant catch it
758: [16:23:00] <ss23> Even if it can't, it should show, because display_errors is on because dev mode is on, right?
759: [16:24:00] <ss23> Well, if it isn't, that seems stupid, to purposfully prevent errors in dev mode >.<
760: [16:24:00] <UndefinedOffset> not nessicarily display_errors i don't think is touched by silverstripe, try turning that on in say _config.php see if that helps
761: [16:25:00] <UndefinedOffset> that's server config level its not silverstripe surpressing them
762: [16:25:00] <ss23> My server is configured to show errors
763: [16:26:00] <ss23> Anyway, it's fine, I can work around it and figure out why Silverstripe won't give me errors another day
764: [16:27:00] <UndefinedOffset> chillu any way to force travis to use 3.0? I setup the composer.json like so https://github.com/webbuilders-group/silverstripe-forum/blob/master/composer.json but it pulled dev-master https://travis-ci.org/webbuilders-group/silverstripe-forum/jobs/6157702 (probably got something simple wrong in the composer.json)
765: [16:28:00] <chillu> https://github.com/silverstripe-labs/silverstripe-travis-support#travis-setup
766: [16:28:00] <chillu> you need to alter the CORE_RELEASE env var in .travis.yml
767: [16:29:00] <ss23> Silverstripe is rewriting a ' in my template to a "
768: [16:29:00] <UndefinedOffset> >_> i should really read more before diving into this lol, ty again
769: [16:29:00] <chillu> forum master isn't compat with 3.0 any more though, you'll want the 0.4 branch
770: [16:29:00] * ss23 cries
771: [16:30:00] <chillu> Erm, no bullshit, 0.4 is 2.x compat, currently there is no branch for 3.0 compat - doh
772: [16:31:00] <UndefinedOffset> :)
773: [16:33:00] * zfmf has joined #silverstripe
774: [16:34:00] * feejin quit (Remote host closed the connection)
775: [16:42:00] <FrozenFire> simon_w, ping
776: [16:43:00] <ss23> He won't be up for probably 1-2 hours!
777: [16:43:00] <ss23> I don't see it called, and it doesn't seem to be called automatically by Silverstripe in my test
778: [16:43:00] <ss23> Why can we assume that?
779: [16:43:00] <ss23> http://doc.silverstripe.org/framework/en/topics/form-validation "// At this point, RequiredFields->validate() will have been called already,"
780: [16:43:00] <FrozenFire> Heh, wish I had the time. Every single person I know wants my dick today.
781: [16:43:00] <FrozenFire> Yeah, figured. He's sometimes around, though. :P
782: [16:43:00] <ss23> FrozenFire: Wanna help me instead?
783: [16:43:00] <ss23> FrozenFire: he's sleeping ;_;
784: [16:47:00] <ss23> Why are forms so hard
785: [16:47:00] <ss23> In fact, for me, the second argument, $form, isn't even sent, FrozenFire :<
786: [16:47:00] <ss23> Are the docs all out of date or something?
787: [16:59:00] * popeshoe quit (Quit: This computer has gone to sleep)
788: [17:04:00] * waveydave has left #silverstripe
789: [17:05:00] * chxn has joined #silverstripe
790: [17:06:00] * Nivery has left #silverstripe
791: [17:07:00] * Error404NotFound has joined #silverstripe
792: [17:07:00] * Error404NotFound quit (Read error: Connection reset by peer)
793: [17:08:00] * Error404NotFound has joined #silverstripe
794: [17:09:00] <ss23> Is "static $indexes = array('UniqueID' => array('type' => 'unique', 'value' => 'UniqueID'));" the 'right' way of making UniqueID unique?
795: [17:12:00] <ss23> Also, is there a faster way to do DealLock::get()->filter(array('LastEdited:LessThan' => date('Y-m-d H:i:s', strtotime('-5 minutes')))); and loop over the results one by one? Does Silverstripe have a syntax for "delete the entire result set" in one bulk delete?
796: [17:21:00] * UndefinedOffset quit (Quit: Leaving.)
797: [17:36:00] * zfmf has left #silverstripe
798: [17:39:00] * UndefinedOffset has joined #silverstripe
799: [18:09:00] * UndefinedOffset has joined #silverstripe
800: [18:09:00] * UndefinedOffset quit (Quit: Leaving.)
801: [19:02:00] * catcher has joined #silverstripe
802: [19:10:00] <simon_w|air> ss23, ->removeAll()
803: [19:11:00] * azureKnight has joined #silverstripe
804: [19:12:00] <azureKnight> So, quick question. I'm doing a Page::get(); and I'm trying to do a call where on that page it excludes that page from the list of a recent item on the side.
805: [19:13:00] <azureKnight> My code is Page::get->exclude("Title", $this->Title); and that works, but, I need to add it to also exclude another parameter.
806: [19:13:00] <azureKnight> Actually. Yeah. You're right.
807: [19:13:00] <simon_w|air> azureKnight, first, you should exclude based on ID
808: [19:13:00] <azureKnight> Ah.
809: [19:14:00] <azureKnight> So, ID, $this->ID
810: [19:15:00] <azureKnight> But, when I try and do an array format exclude(array("Guy" => "Sam", "ID" => $this->ID)) seems to not be a happy method.
811: [19:17:00] <simon_w|air> In what way?
812: [19:17:00] <azureKnight> It literally just doesn't do anything. Everything shows as if the function doesn't exist.
813: [19:18:00] <simon_w|air> Because the page with that ID has Guy set to something other than Sam?
814: [19:18:00] <azureKnight> Rather, it just doesn't exclude at all.
815: [19:19:00] <azureKnight> No, just no exclusion. It seems that writing exclude(array("ID" => $this->ID)) makes it not work. But, I don't think the $this->ID should be in quotes seeing as it's needing to be processed.
816: [19:21:00] <azureKnight> The Doc says to use commas to separate the variable and it's value, and that works. But in exclude it wants the =>, and that doesn't work with the $this->ID statement.
817: [19:22:00] <azureKnight> I'm probably not doing the brackets appropriately, let me try that.
818: [19:22:00] <simon_w|air> So ->exclude('ID', $this->ID) works but ->exclude(['ID' => $this->ID]) doesn't?
819: [19:23:00] <simon_w|air> The brackets are shorthand for array(...), nothing fancy
820: [19:23:00] <azureKnight> Aha. I like minimal stuff. :)
821: [19:23:00] <azureKnight> And yes. Like that, it doesn't work.
822: [19:23:00] <azureKnight> The first works, second doesn't.
823: [19:24:00] <azureKnight> 3.0.5
824: [19:24:00] <simon_w|air> On which version?
825: [19:26:00] <azureKnight> Yeah.
826: [19:26:00] <simon_w|air> And you're only passing in ID when using an array?
827: [19:27:00] <azureKnight> Maybe I should make that call into a variable that it uses.
828: [19:27:00] <azureKnight> Originally I was trying my second exclusion item, but noticed it wasn't working. I tried ID alone and that's where it seems to have issue is the use of $this->id
829: [19:27:00] <simon_w|air> So, ->exclude('ID', $this->ID) gets turned into ['ID' => $this->ID] before processing
830: [19:28:00] <azureKnight> One second.
831: [19:28:00] <simon_w|air> What's the actual call that you're using?
832: [19:28:00] <azureKnight> }
833: [19:28:00] <azureKnight> return MediaPage::get()->exclude(['ID' => $this->ID]);
834: [19:28:00] <azureKnight> public function getMediaAudios() {
835: [19:30:00] <azureKnight> And it looks like when it's alone in the array, it's working actually.
836: [19:31:00] <azureKnight> Ignore the $specialid, that didn't work and I'm not actually calling it now.
837: [19:31:00] <azureKnight> But when I give it the second parameter, neither exclusion works.
838: [19:31:00] <azureKnight> public function getMediaAudios() {
839: [19:31:00] <azureKnight> $specialid = $this->ID;
840: [19:31:00] <azureKnight> return MediaPage::get()->exclude(['MediaType' => 'Live', 'ID' => $this->ID ]);
841: [19:31:00] <azureKnight> }
842: [19:32:00] <azureKnight> I was wondering that, but didn't see it in the docs, or maybe overlooked it.
843: [19:32:00] <simon_w|air> Use two exclude calls instead
844: [19:32:00] <azureKnight> I didn't know I could use two.
845: [19:32:00] <simon_w|air> That's because that'll only exclude the current page, if it's not set to Live
846: [19:32:00] <azureKnight> Oh!
847: [19:33:00] <azureKnight> Ah. Of course. It's setting the conditions for that specific one.
848: [19:33:00] <azureKnight> It's stacking the excludes per that item.
849: [19:34:00] <azureKnight> Thanks simon_w|air
850: [19:34:00] <azureKnight> That was it.
851: [19:35:00] <azureKnight> :)
852: [19:39:00] * ARNHOE has joined #silverstripe
853: [19:49:00] * terryapodaca has joined #silverstripe
854: [19:54:00] * SightUnseen has left #silverstripe
855: [19:54:00] * SightUnseen has joined #silverstripe
856: [20:06:00] * UndefinedOffset quit (Quit: Leaving.)
857: [20:09:00] <simon_w> FrozenFire, pong
858: [20:10:00] <FrozenFire> Sort of solved it myself. Was just going to ask if you'd made any updates to your Facebook auth module for the recent 3.1 Config changes.
859: [20:10:00] <FrozenFire> Had a private static error that I had to resolve in my fork of your code.
860: [20:13:00] <simon_w> Oh right, haven't really touched the SS3 versions since b1
861: [20:13:00] * simon_w is going on the record as not liking those changes in 3.1
862: [20:13:00] <FrozenFire> Haha
863: [20:14:00] <simon_w> Seriously, having to maintain three versions of modules is a royal PITA
864: [20:14:00] <FrozenFire> Indeed. 3.0 -> 3.1 is going to be a *huge* PITA
865: [20:15:00] <simon_w> And then getting people to install the right version, bleugh
866: [20:15:00] <FrozenFire> So much so that I always just use 3.1 by default, since I know much of my pre-written code doesn't work on 3.0 any more.
867: [20:16:00] <simon_w> (composer isn't an option, since they're not supporting SVN over https)
868: [20:18:00] * DigNZ quit (Remote host closed the connection)
869: [20:18:00] * DigNZ quit (Remote host closed the connection)
870: [20:18:00] * DigNZ has joined #silverstripe
871: [20:18:00] * DigNZ has joined #silverstripe
872: [20:19:00] <simon_w> Must be earlier. No one telling me to switch to git(hub)
873: [20:19:00] * DigNZ has joined #silverstripe
874: [20:20:00] * ARNHOE quit (Read error: Connection reset by peer)
875: [20:20:00] <simon_w> *early
876: [20:21:00] * ARNHOE has joined #silverstripe
877: [20:26:00] <irogue> simon_w: haha
878: [20:29:00] <terryapodaca> how do i format the TimeField in the template
879: [20:29:00] <terryapodaca> i dont' want seconds
880: [20:30:00] <simon_w> terryapodaca, .Format
881: [20:31:00] <terryapodaca> Time
882: [20:31:00] <simon_w> What DB type is EventTime?
883: [20:31:00] <terryapodaca> but nothing shows up
884: [20:31:00] <terryapodaca> I tried this: $EventTime.Format(h:i A)
885: [20:32:00] <terryapodaca> 3
886: [20:32:00] <simon_w> And which version?
887: [20:32:00] * kreeves quit (Quit: kreeves)
888: [20:33:00] <simon_w> So $EventTime works, but $EventTime.Format('h:i A') doesn't?
889: [20:34:00] <terryapodaca> no
890: [20:34:00] <terryapodaca> nope
891: [20:34:00] <simon_w> You're not getting the value through a getter or anything?
892: [20:35:00] <simon_w> Any chance you're doing something like $EventTime.Format('h:i A'). ?
893: [20:36:00] <terryapodaca> no period
894: [20:36:00] * popeshoe has joined #silverstripe
895: [20:36:00] <terryapodaca> if that's what you are asking
896: [20:36:00] <simon_w> Can you try with the format string quoted?
897: [20:37:00] <terryapodaca> $EventName - $EventTime.Format('h:i A') - $EventTime
898: [20:37:00] <terryapodaca> I am
899: [20:38:00] <terryapodaca> http://thefray.stricklandapps.com/class-schedule/
900: [20:38:00] <terryapodaca> you'll see the middle one doesn't show in the calendar
901: [20:39:00] <simon_w> Hang on, is your code still building up all those ArrayData instances instead of using the actual objects?
902: [20:40:00] * nickmolhoek has joined #silverstripe
903: [20:40:00] * nickmolhoek has joined #silverstripe
904: [20:40:00] * nickmolhoek quit (Remote host closed the connection)
905: [20:40:00] <terryapodaca> yeah, so i guess that means i need to format this in the code, not the template
906: [20:40:00] <terryapodaca> duh!
907: [20:41:00] <simon_w> Or use the object over ArrayData with exactly the same field names
908: [20:42:00] * ARNHOE_ has joined #silverstripe
909: [20:42:00] * ARNHOE quit (Read error: Connection reset by peer)
910: [20:49:00] * SightUnseen has joined #silverstripe
911: [20:53:00] * SightUnseen quit (Ping timeout: 256 seconds)
912: [20:56:00] * Pyromanik has joined #silverstripe
913: [21:07:00] * ARNHOE_ quit (Remote host closed the connection)
914: [21:08:00] * SightUnseen has left #silverstripe
915: [21:08:00] * SightUnseen has joined #silverstripe
916: [21:38:00] * joelpittet has joined #silverstripe
917: [21:40:00] * zfmf has joined #silverstripe
918: [21:44:00] <catcher> Anyone used a load balancer on an aws ec2 or something similar with an SS site?
919: [21:49:00] * SightUnseen1 has joined #silverstripe
920: [21:49:00] <Pyromanik> like nginx?
921: [21:50:00] <Pyromanik> or like a server load balancer?
922: [21:52:00] <catcher> more like the latter - I'm setting up an amazon elastic cloud server. Specifically, I want to have a database common to several EC2 instances, and wondering how that's gone for others.
923: [21:53:00] * SightUnseen1 quit (Ping timeout: 245 seconds)
924: [22:13:00] * Error404NotFound quit (Ping timeout: 256 seconds)
925: [22:17:00] <irogue> catcher: if you're using an RDS database it'll be fine, but you'll need to set up unison or similar to sync the two assets folders
926: [22:18:00] <simon_w> Syncing assets folders? Overrated! :p
927: [22:20:00] * SightUnseen1 has joined #silverstripe
928: [22:24:00] * SightUnseen1 quit (Ping timeout: 260 seconds)
929: [22:26:00] <catcher> actually in this application, I could get away without it, assets are static. Good to know for other projects though.
930: [22:26:00] * zfmf has left #silverstripe
931: [22:27:00] * azureKnight_ has joined #silverstripe
932: [22:27:00] * travis-ci has left #silverstripe
933: [22:27:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6167960
934: [22:27:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d94a6a540763...4c6047908521
935: [22:27:00] <travis-ci> [travis-ci] silverstripe/sapphire#1940 (3.1 - 4c60479 : Sam Minn??e): The build passed.
936: [22:27:00] * travis-ci has joined #silverstripe
937: [22:27:00] <catcher> irogue, so they just both need to point to the same RDS db, and the RDS will work out all the nastiness? race conditions, etc.?
938: [22:28:00] <simon_w> catcher, it's just like running on a server that can handle more than one request at a time
939: [22:28:00] * azureKnight quit (Ping timeout: 245 seconds)
940: [22:28:00] * azureKnight_ is now known as azureKnight
941: [22:28:00] <catcher> simon_w, that makes sense
942: [22:31:00] <catcher> can they each have their own silverstripe-cache? Any issues with that?
943: [22:32:00] * travis-ci has left #silverstripe
944: [22:32:00] <simon_w> They will each have their own cache folder
945: [22:32:00] * travis-ci has joined #silverstripe
946: [22:32:00] <travis-ci> [travis-ci] silverstripe/sapphire#1941 (3.1 - 322b00e : Sam Minn??e): The build passed.
947: [22:32:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/4c6047908521...322b00ece0aa
948: [22:32:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6168127
949: [22:33:00] <simon_w> Code updates get a little more complicated
950: [22:33:00] <catcher> Seems too good to be true..
951: [22:33:00] <catcher> cool, so anything else that isn't straightforward except assets?
952: [22:36:00] <catcher> ah, sure
953: [22:41:00] <simon_w> Oh, depending on how you load balance, sessions
954: [22:42:00] <travis-ci> [travis-ci] silverstripe/sapphire#1942 (3.0 - ff2f755 : Sam Minn??e): The build passed.
955: [22:42:00] * travis-ci has joined #silverstripe
956: [22:42:00] <lewellyn> chillu: it's weird. i've seen that work as desired before. (kinglozzer's issue)
957: [22:42:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/8e82ef186d71...ff2f75535bc9
958: [22:42:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6168150
959: [22:42:00] * travis-ci has left #silverstripe
960: [22:44:00] <catcher> simon_w, oh yeah, how is that normally handled?
961: [22:44:00] * EasyCo has joined #silverstripe
962: [22:45:00] <simon_w> Either having your load balancer always send the same IP to the same server, or use a shared session store like memcache
963: [22:46:00] * azureKnight quit (Ping timeout: 256 seconds)
964: [22:46:00] <simon_w> You tell PHP, SS doesn't care
965: [22:46:00] <catcher> simon_w, is it complicated telling SS to write the sessions to that shared store?
966: [22:47:00] <catcher> ah
967: [22:50:00] <catcher> thanks for the info, sys
968: [22:50:00] * catcher quit (Quit: Leaving)
969: [22:51:00] * SightUnseen has joined #silverstripe
970: [22:52:00] <Pyromanik> HONEY BADGER DOESN'T CARE
971: [22:56:00] * SightUnseen quit (Ping timeout: 264 seconds)
972: [22:57:00] * travis-ci has joined #silverstripe
973: [22:57:00] <travis-ci> [travis-ci] silverstripe/sapphire#1943 (3.1 - 88d77db : Sam Minn??e): The build passed.
974: [22:57:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/322b00ece0aa...88d77db9e01e
975: [22:57:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6168229
976: [22:57:00] * travis-ci has left #silverstripe
977: [22:59:00] <FrozenFire> HONEY BADGER DOESN'T GIVE A SHIT
978: [23:01:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
979: [23:01:00] * travis-ci has joined #silverstripe
980: [23:01:00] <travis-ci> [travis-ci] silverstripe/sapphire#1945 (3.1 - 0d8f99f : Sam Minn??e): The build passed.
981: [23:01:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/01f46d039f0d...0d8f99f72b59
982: [23:01:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6168503
983: [23:01:00] * spronk has left #silverstripe
984: [23:01:00] * travis-ci has left #silverstripe
985: [23:03:00] * travis-ci has left #silverstripe
986: [23:03:00] <travis-ci> [travis-ci] silverstripe/sapphire#1944 (3.1 - 01f46d0 : Ingo Schommer): The build passed.
987: [23:03:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/88d77db9e01e...01f46d039f0d
988: [23:03:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6168404
989: [23:03:00] * travis-ci has joined #silverstripe
990: [23:05:00] * spronk has joined #silverstripe
991: [23:12:00] * EasyCo quit (Ping timeout: 245 seconds)
992: [23:13:00] * EasyCo has joined #silverstripe
993: [23:14:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6169371
994: [23:14:00] * travis-ci has joined #silverstripe
995: [23:14:00] <travis-ci> [travis-ci] silverstripe/sapphire#1946 (3.0 - a6929f1 : Sam Minn??e): The build passed.
996: [23:14:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ff2f75535bc9...a6929f11b2aa
997: [23:14:00] * travis-ci has left #silverstripe
998: [23:15:00] <FrozenFire> Is there an existing component for performing HTMLText transformations before output?
999: [23:15:00] <FrozenFire> Something cached, that is.
1000: [23:22:00] * Jeremy_ is now known as clodeindustrie
1001: [23:22:00] * Jeremy_ has joined #silverstripe
1002: [23:22:00] <clodeindustrie> hey there
1003: [23:23:00] <clodeindustrie> s/use/sure/
1004: [23:23:00] <clodeindustrie> I'm trying to add a "section" on the admin menu but I'm not use on how to do that
1005: [23:23:00] <clodeindustrie> do I need to create and register an extension?
1006: [23:23:00] <clodeindustrie> or just subclass LeftAndMain the right way?
1007: [23:24:00] * joelpittet quit (Remote host closed the connection)
1008: [23:25:00] * travis-ci has left #silverstripe
1009: [23:25:00] * travis-ci has joined #silverstripe
1010: [23:25:00] <travis-ci> [travis-ci] silverstripe/sapphire#1947 (3.0 - 6dec059 : Sam Minn??e): The build passed.
1011: [23:25:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a6929f11b2aa...6dec0592e833
1012: [23:25:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6169415
1013: [23:26:00] * travis-ci has left #silverstripe
1014: [23:26:00] * travis-ci has joined #silverstripe
1015: [23:26:00] <travis-ci> [travis-ci] silverstripe/sapphire#1948 (3.0 - 39a4aab : Sam Minn??e): The build was broken.
1016: [23:26:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/6dec0592e833...39a4aabcdc8b
1017: [23:26:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6169441
1018: [23:33:00] <clodeindustrie> ah I found out
1019: [23:40:00] * terryapodaca quit (Quit: Leaving.)
1020: [23:51:00] * EasyCo quit (Ping timeout: 246 seconds)
1021: [23:53:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6170138
1022: [23:53:00] * travis-ci has left #silverstripe
1023: [23:53:00] * travis-ci has joined #silverstripe
1024: [23:53:00] <travis-ci> [travis-ci] silverstripe/sapphire#1949 (3.1 - e6d8280 : Sam Minnee): The build passed.
1025: [23:53:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/0d8f99f72b59...e6d8280296b7
1026: [23:55:00] * priithansen quit (Quit: priithansen)
1027: [23:56:00] * chxn quit (Quit: Computer has gone to sleep.)
1028: [23:57:00] <Pyromanik> FrozenFire, transformations how?
1029: [23:58:00] <FrozenFire> A complex transformation, so I ended up just creating a getter for something else.
1030: [23:58:00] <Pyromanik> HTML -> plain?
1031: [23:58:00] <Pyromanik> manip'n the dom fragment?
1032: [23:58:00] <FrozenFire> Ended up just caching it myself.
1033: [23:58:00] <FrozenFire> I just wanted to transform the Content field
1034: [23:58:00] <Pyromanik> yeah but what do you mean 'transform' ?
1035: [23:59:00] <FrozenFire> I needed to do DOMDocument stuff
1036: [23:59:00] <Pyromanik> ah right

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