#silverstripe IRC Log

IRC log for 15 July 2014

All timestamps are in UTC.

1: [00:02:08] <simon_w|work> What are people's favourite PHP templating engines?
2: [00:02:19] <antmas> Smarty!
3: [00:03:06] * Colin[pi] slaps antmas with a brick
4: [00:03:59] <antmas> O>
5: [00:04:03] <simon_w|work> /kick antmas No
6: [00:04:06] * antmas rubs cheek
7: [00:04:12] <Colin[pi]> XD
8: [00:04:20] <antmas> is it on the cuss word list?
9: [00:05:55] <antmas> has anyone ever thought about buying gold/silver for investments or savings?
10: [00:06:36] <Colin[pi]> antmas: yes
11: [00:06:45] <Colin[pi]> but haven't as of yet
12: [00:07:02] <Colin[pi]> mainly because fiat currencies are such bullshit
13: [00:08:24] <Colin[pi]> there was a great youtube video about that, but it did have the unmistakenable smell of marketing for the gold/silver guy
14: [00:09:01] <Colin[pi]> this one: https://www.youtube.com/watch?v=iFDe5kUUyT0
15: [00:09:06] <Colin[pi]> great video, but... mmm I dunno
16: [00:09:35] <antmas> I have a mate who's going to buy some soon, I'm tempted to go halves
17: [00:11:57] <simon_w|work> antmas, and then you can sit there, stroking your gold blocks
18: [00:13:14] <antmas> simon_w|work: it would be pretty pimp I must say
19: [00:13:33] <Colin[pi]> the thing about gold is it has tangible value, where as fiat money only has value because we consider it to have value
20: [00:14:22] <Colin[pi]> but gold price wavers too
21: [00:14:24] <Colin[pi]> antmas: http://www.macrotrends.net/1333/gold-and-silver-prices-100-year-historical-chart
22: [00:15:01] <simon_w|work> Colin[pi], gold only has value because it's shiny
23: [00:15:15] <antmas> simon_w|work: not just that
24: [00:15:23] <antmas> it has some pretty useful properties
25: [00:15:57] <antmas> Colin[pi]: looks like it has stabilised somewhate recently
26: [00:16:26] <Colin[pi]> yeah it's leveled out over the past six months or so
27: [00:16:31] <Zauberfisch> simon_w|work: with the recent database layer changes, have there also been changes to the mysql one?
28: [00:16:32] <simon_w|work> antmas, main commercial value is because it's shiny and stays shiny
29: [00:16:42] <simon_w|work> Zauberfisch, yes
30: [00:16:53] <Colin[pi]> simon_w|work: and you can hammer out a small piece into a sheet the size of a room!
31: [00:17:00] <Colin[pi]> that's kinda cool right?
32: [00:17:17] <Colin[pi]> antmas could pimp his office
33: [00:17:24] <simon_w|work> Colin[pi], you can do the same with a person!
34: [00:17:27] <Colin[pi]> GOLD PLATED EVERYTHING
35: [00:17:34] <Colin[pi]> simon_w|work: yeah but that's not shiny
36: [00:17:45] <simon_w|work> Colin[pi], is until it dries...
37: [00:17:52] <antmas> simon_w|work: yeah I guess, which is a useful property
38: [00:18:17] <antmas> what the fuck is silver used for except anti-vampires and spoons?
39: [00:18:57] <Zauberfisch> simon_w|work: simon_w|work do you have a link to the changelog at hand?
40: [00:19:33] <simon_w|work> Zauberfisch, github.com/silverstripe/silverstripe-framework/blob/master/docs/en/changelog/3.2.0.md?
41: [00:19:40] <simon_w|work> I think that's the path anyway
42: [00:19:47] * simon_w|work may have just typed that directly into xchat
43: [00:20:19] <Zauberfisch> uhm, did those changes also land in 3.1.x?
44: [00:20:21] * Olliepop has joined #silverstripe
45: [00:20:36] <Olliepop> Is ORM fully implemented for model filters?
46: [00:20:51] <Olliepop> as in . relationships
47: [00:20:56] <simon_w|work> Zauberfisch, doubt it
48: [00:20:59] <Olliepop> like 'BrandPage.Title:PartialMatch'
49: [00:21:02] <simon_w|work> Olliepop, yes
50: [00:21:32] <simon_w|work> Zauberfisch, docs hasn't been pulled for a while. I'm blaming ss23.
51: [00:21:51] <Olliepop> Great, thanks Simon
52: [00:21:55] <Zauberfisch> ah, turns out I do have 3.2 here
53: [00:22:30] <ss23> simon_w|work: FUCKING
54: [00:22:33] * ss23 grumbles
55: [00:22:48] <Zauberfisch> I acatually specified >3.1.x but a module requires 3.2 so it pulled that right away
56: [00:22:54] <ss23> 12:22:51 up 522 days, 2:33, 1 user, load average: 0.35, 0.54, 0.54
57: [00:22:57] <ss23> SERVER LOOKS FINE TO ME, simon_w|work
58: [00:23:02] <ss23> I BLAME DODGY CODEBASE WHICH I DIDN'T WRITe
59: [00:23:31] <simon_w|work> ss23, http://docs.silverstripe.org/framework/en/trunk/changelogs/3.2.0 isn't current!
60: [00:23:32] <simon_w|work> FIX IT!
61: [00:23:41] <ss23> make: *** /sites/ss2doc-v2/www: No such file or directory. Stop.
62: [00:23:45] <ss23> okay so maybe it is my fault
63: [00:23:46] <ss23> :S
64: [00:24:28] <ss23> okay so I broke it
65: [00:24:29] <ss23> WHATEVER
66: [00:25:22] <Zauberfisch> ah, so silverstripe used php mysql_ functions as default until now? and only now switched to mysqli?
67: [00:25:39] <ss23> We're switching to PDO I thought?
68: [00:25:43] <ss23> Auto-merging view/SSTemplateParser.php
69: [00:25:44] <ss23> CONFLICT (content): Merge conflict in view/SSTemplateParser.php
70: [00:25:46] <ss23> FIX IT simon_w|work!
71: [00:25:52] <ss23> the docs server is telling me that
72: [00:25:56] <ss23> I dunno how it works or why it's trying to merge
73: [00:26:05] <simon_w|work> Zauberfisch, switched to MySQLi with 3.0
74: [00:26:27] <guzzlefry> hm, I'd expect more changes for a major release.
75: [00:26:28] <simon_w|work> ss23, it shouldn't have local changes
76: [00:26:30] <Zauberfisch> hmmm
77: [00:26:31] <Zauberfisch> odd
78: [00:26:44] <Zauberfisch> getting an error message that suggest missing driver
79: [00:26:54] <simon_w|work> guzzlefry, so make some?
80: [00:27:08] <guzzlefry> well I mean
81: [00:27:10] <Zauberfisch> and ss 3.1.5 ran fine on that system
82: [00:27:16] <guzzlefry> why the bump to 3.2?
83: [00:27:23] <Zauberfisch> btw, I like that I see in that commit, awesome stuff. DB::prepared_query <3
84: [00:27:27] <ss23> simon_w|work: Yeah, idk why it does
85: [00:28:09] <simon_w|work> guzzlefry, 3.2's the next version
86: [00:28:30] <guzzlefry> http://docs.silverstripe.org/framework/en/trunk/changelogs/3.2.0 Is that just really out of date? :P
87: [00:28:30] <simon_w|work> Zauberfisch, you know DataList already used prepared queries, right?
88: [00:28:40] <Zauberfisch> no, I did not
89: [00:28:43] <simon_w|work> guzzlefry, it's a commit or two behind
90: [00:28:44] <Zauberfisch> saw it for the first time
91: [00:28:47] * willr quit (Quit: willr)
92: [00:28:48] <antmas> guzzlefry: 3.1.x x is only for security updates (sorta)
93: [00:28:50] <Zauberfisch> cool
94: [00:28:53] <simon_w|work> Zauberfisch, filter() is emulated prepared statements
95: [00:28:57] <guzzlefry> ah
96: [00:29:06] <ss23> antmas: You mean for bug fixes and security updates
97: [00:29:10] <Zauberfisch> yeah, I know that
98: [00:29:13] <antmas> ss23: that's it
99: [00:31:16] * willr has joined #silverstripe
100: [00:32:03] <antmas> so one ounce (25 coins) of silver is about $740
101: [00:32:06] <antmas> not bad
102: [00:32:24] <simon_w|work> antmas, how many teaspoons does that make?
103: [00:32:30] <Zauberfisch> ok, I am confused, the deb package php5-mysql does contain mysqli, right?
104: [00:32:49] <simon_w|work> Zauberfisch, should do
105: [00:32:53] <antmas> simon_w|work: 25 really thin ones?
106: [00:32:57] <ss23> simon_w|work: Updated now?
107: [00:33:22] <simon_w|work> ss23, yup!
108: [00:33:29] <ss23> ^.^
109: [00:33:31] * ss23 is master fixeer!
110: [00:33:35] <simon_w|work> There you go guzzlefry, it has more in it now :p
111: [00:33:38] <ss23> Don't tell anyone it was me who broke it in the first place
112: [00:33:38] <ss23> :P
113: [00:34:09] <simon_w|work> ss23, fixed the cronjob too? :p
114: [00:35:09] <ss23> Yep
115: [00:35:10] <ss23> ^.^
116: [00:35:11] <ss23> I think
117: [00:35:15] <ss23> We'll find out if it keeps running :P
118: [00:35:28] <ss23> Someone moved it from ss2-doc to ssdoc and didn't update it
119: [00:35:30] <ss23> Might not have been me
120: [00:35:54] <simon_w|work> Just set cron to email Hamish? :p
121: [00:36:07] <Zauberfisch> hmmm, I am getting undefined method mysqli_stmt::get_result()
122: [00:36:29] <Zauberfisch> I just read that stmt is only in mysqlnd
123: [00:36:45] <simon_w|work> Zauberfisch, complain to mooman?
124: [00:37:12] <Zauberfisch> he never listens to me D:
125: [00:37:28] <simon_w|work> Well, he's broken postgres and has the CMS segfaulting
126: [00:37:31] <simon_w|work> He needs more work :p
127: [00:37:56] <Zauberfisch> ah, haha, missunderstanding
128: [00:38:04] <Zauberfisch> you mean tractorcow? :D
129: [00:38:04] <Zauberfisch> lol
130: [00:38:08] <simon_w|work> Yeah, mooman
131: [00:38:11] <Zauberfisch> yeah, will flame him in a second
132: [00:38:19] <Zauberfisch> already have skype open
133: [00:38:44] <Zauberfisch> anyway, I have just installed mysqlnd, but still getting the error
134: [00:38:53] <Zauberfisch> anyone using latest 3.2 and got it working?
135: [00:39:19] <simon_w|work> Travis
136: [00:39:52] <Zauberfisch> good point, I should have thought of that
137: [00:40:24] <simon_w|work> I made sure the MySQL ones were passing before spamming the green button ;)
138: [00:43:29] <ss23> 12:37:29 <@simon_w|work> Well, he's broken postgres and has the CMS segfaulting
139: [00:43:37] <ss23> hey, if you can trigger segfault from PHP code, it's a bug in PHP!
140: [00:44:26] <ss23> holy shit tests take so long to run
141: [00:44:44] <simon_w|work> ss23, use sqlite in memory
142: [00:44:47] <guzzlefry> ss23: That just means PHP is more advanced than you even know.
143: [00:44:50] <ss23> XD
144: [00:44:53] <ss23> What am I using at the moment?
145: [00:44:56] <ss23> I passed in no arguments
146: [00:45:07] <simon_w|work> If you haven't changed database, mysql
147: [00:45:40] <ss23> how do I do the fast one, simon_w|work/ :O
148: [00:46:19] <simon_w|work> ss23, switch to sqlite, with it running in memory
149: [00:46:28] <ss23> >switch to sqlite
150: [00:46:29] <ss23> how
151: [00:48:05] <simon_w|work> Install https://github.com/silverstripe-labs/silverstripe-sqlite3/tree/1.3
152: [00:48:22] <ss23> sounds like work
153: [00:48:23] <ss23> :(
154: [00:48:30] <simon_w|work> define('SS_DATABASE_CLASS', 'SQLite3Database');
155: [00:48:32] <ss23> I like how out of the box, heaps of tests fail
156: [00:48:34] <ss23> ty simon_w|work <3
157: [00:49:22] <simon_w|work> define('SS_DATABASE_MEMORY', true);
158: [00:49:38] <simon_w|work> Those are for _ss_environment.php. if you're not using it, change :p
159: [00:49:53] * jenniferaslan quit (Quit: jenniferaslan has left the room)
160: [00:50:11] <ss23> I am, but I use same environment file for all sites, but most sites I use mysql with
161: [00:50:14] <ss23> but yeah, I know
162: [00:50:17] <ss23> :P
163: [00:50:17] <ss23> I'm dumb, but not that dumb!
164: [00:50:43] <Colin[pi]> that memory flag is just for testing isn't it?
165: [00:50:52] <Colin[pi]> not a general use thing
166: [00:51:37] <ss23> - The requested package silverstripe/sqlite3 could not be found in any version, there may be a typo in the package name.
167: [00:51:41] <ss23> pls composer
168: [00:51:41] <ss23> wut r u doin
169: [00:51:49] <Stomach> silverstripe-labs ?
170: [00:51:54] <simon_w|work> Colin[pi], it's just for sqlite
171: [00:51:59] <Colin[pi]> yep yep
172: [00:52:20] <Colin[pi]> ss23 Stomach: mm it's labs
173: [00:52:26] <ss23> wut...
174: [00:52:34] <ss23> https://github.com/silverstripe-labs/silverstripe-sqlite3/blob/1.3/composer.json
175: [00:52:37] <Stomach> nah its not tagged like that
176: [00:52:42] <ss23> "name": "silverstripe/sqlite3",
177: [00:52:42] <Stomach> "silverstripe/sqlite3": "1.4.*@dev"
178: [00:52:43] <Stomach> ?
179: [00:52:50] <simon_w|work> Don't use 1.4
180: [00:53:02] <Stomach> there isnt even a 1.4
181: [00:53:04] <Stomach> wtf.
182: [00:53:14] <simon_w|work> dev-master is aliased to 1.4-dev
183: [00:53:29] <Stomach> why is master set as the stable then :S
184: [00:53:37] <ss23> ah
185: [00:53:41] <ss23> was prob my version constraint
186: [00:53:42] <Colin[pi]> o_O
187: [00:54:23] <simon_w|work> Stomach, it shouldn't be
188: [00:55:39] * Kingy is now known as Kingy[a]
189: [00:55:53] <Stomach> simon_w|work, you should tag 1.3.0 for the 1.3 branch then?
190: [00:56:16] <ss23> We need people to actually manage modules tbh
191: [00:56:43] <simon_w|work> Stomach, pfft, tagging. SilverStripe don't tag their modules! Everyone just uses -dev! :p
192: [00:56:48] <ss23> ^^
193: [00:56:51] <ss23> unfortunate truth
194: [00:57:27] <ss23> PHP Fatal error: Class 'SQLite3Database' not found in /sites/phpunit-tests-silverstripe-3.0/framework/model/DB.php on line 168
195: [00:57:34] <ss23> wait
196: [00:57:35] <ss23> my bad
197: [00:57:36] <Stomach> flush=all? :D :D :D
198: [00:57:36] <ss23> ignore
199: [00:57:36] <ss23> please
200: [00:57:38] <ss23> ;_;
201: [00:57:53] <Stomach> simon_w|work, yeah I know, its a massive problem
202: [00:58:13] <ss23> PHP Fatal error: Class 'Composer\Installers\Test\TestCase' not found in /sites/phpunit-tests-silverstripe-3.0/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php on line 14
203: [00:58:18] <ss23> ...
204: [00:58:20] <ss23> Thats... an.. improvement?
205: [00:58:22] <ss23> Well
206: [00:58:32] <ss23> Stupid phpunit running composer tests
207: [00:58:50] <Stomach> ss23, do you have the phpunit.xml file in your root?
208: [00:58:57] <Stomach> with the bootstrap etc
209: [01:00:32] <ss23> Yeah, it's fine, I just needed to phpunit framework/
210: [01:00:38] <ss23> I presume phpunit picked up composers tests somehow, idk
211: [01:01:59] <ss23> There were 44 errors:
212: [01:02:03] <ss23> feels good man
213: [01:02:08] <antmas> reuibld my database you fuck!
214: [01:02:10] <antmas> damnit
215: [01:02:11] <antmas> :<
216: [01:02:15] * Kingy[a] is now known as Kingy
217: [01:02:20] <ss23> iconv_set_encoding(): Use of iconv.internal_encoding is deprecated
218: [01:02:21] <ss23> WHAT THE HELL
219: [01:02:28] <ss23> It looks like at some point... I...
220: [01:02:33] <ss23> Accidently installed PHP 5.6RC2
221: [01:02:33] <ss23> :/
222: [01:02:35] <simon_w|work> ss23, I've fixed that
223: [01:02:44] <ss23> simon_w|work: this is 3.0
224: [01:02:49] <simon_w|work> Oh, well then.
225: [01:02:51] <simon_w|work> Screw that :p
226: [01:02:54] <ss23> lol
227: [01:02:55] <ss23> dammit
228: [01:02:57] <ss23> idek how I did this
229: [01:03:01] <ss23> anyway, I'll ignore these errors
230: [01:03:11] <ss23> thoguh
231: [01:03:12] <ss23> Zend_Translate_Exception: Locale "en_NZ" not found in file /sites/phpunit-tests-silverstripe-3.0/framework/thirdparty/zend_translate_railsyaml/tests/Translate/Adapter/_files/translation_en.yml
232: [01:03:16] <ss23> probably is importantish
233: [01:08:38] * peter_w has joined #silverstripe
234: [01:09:17] <peter_w> G'day everyone.....does anyone know of a module that can help me exclude parts on content from appearing in the search results
235: [01:09:45] <simon_w|work> peter_w, internal search or search engine?
236: [01:09:59] <ss23> There's a built in "exclude this page from search results" in CMS
237: [01:10:01] <ss23> But it depends on lots
238: [01:10:13] <Zauberfisch> ok, got it working using mysqli, had to install mysqlnd and reboot the syystem
239: [01:10:42] <Zauberfisch> so, that means currently 3.2 only supports php5-mysqlnd but NOT php5-mysql
240: [01:11:05] <Zauberfisch> just soke with "mooman", he will have a look at it at a later time
241: [01:11:28] <Zauberfisch> anyway. bed time, good night gents
242: [01:11:32] <peter_w> simon_w|work: the internal search engine...yeah I am using the "exclude this page from search results" but was wondering if there was a way to exclude certain sentences or words...,maybe wrapping that content in a tag or something
243: [01:14:23] <ss23> Night, Zauberfisch :)
244: [01:15:11] <Colin[pi]> nn Zauberfisch
245: [01:16:14] <simon_w|work> Run Selenium tests, generate ~600000 E_NOTICE
246: [01:16:23] <simon_w|work> Massive improvement!
247: [01:18:47] <Colin[pi]> 600000 E_NOTICE ?
248: [01:18:49] <Colin[pi]> :o
249: [01:19:12] <simon_w|work> Error log's only 81 MB!
250: [01:19:17] <Colin[pi]> :\
251: [01:19:27] <simon_w|work> Used to be several hundred from 11 page loads
252: [01:20:42] <ss23> nice
253: [01:20:47] <ss23> #fucksmarty? :D
254: [01:25:06] <simon_w|work> Oh, only 13% come from Smarty
255: [01:27:54] <Colin[pi]> lol
256: [01:28:51] * irogue_ has joined #silverstripe
257: [01:34:08] <ss23> You know waht would be really handy for linux? A one liner for "run this command whenever X file is saved/changed"
258: [01:35:13] <simon_w|work> ss23, incron
259: [01:35:33] <superspring> ss23: also, http://en.wikipedia.org/wiki/Inotify
260: [01:36:02] <irogue_> yeah, I was just thinking of inotify. there's likely also filesystem-level stuff if you want to go real low level ;)
261: [01:36:08] <ss23> superspring: I know inotify/dnotify, problem is stringing that together in a single line command
262: [01:36:35] <superspring> ss23: there's a ruby version of it... could turn that into a command...
263: [01:36:51] <ss23> lol
264: [01:36:52] <ss23> pass
265: [01:37:21] <ss23> Will look at incron
266: [01:37:26] <irogue_> yeah incron looks pretty close
267: [01:37:35] <simon_w|work> incron's a cron interface to inotify
268: [01:37:39] <simon_w|work> rather useful
269: [01:37:50] <irogue_> and having it in cronish format probably makes the most sense from maintenance point of view
270: [01:38:03] <irogue_> sysadmins (should!) already know how to cron
271: [01:38:34] <Stomach> irogue_, most programmers should
272: [01:38:57] <Stomach> one of my team started writing a node server to ping a task the other day
273: [01:38:59] <Stomach> facepalm
274: [01:39:01] <irogue_> even most windows sysadmins i've met know how to cron, as it's such a common thing they end up having to fuck with on the few linux machines they haven't managed to move to windows yet...
275: [01:39:18] <irogue_> Stomach: please direct them to come and visit silverstripe
276: [01:39:21] <irogue_> I would like to hurt them
277: [01:39:37] <Stomach> dont worry, I had a wee tirade
278: [01:40:23] <ss23> inron doesn't look quite right, as I dont' want the cron part of it -- I don't want it daemonized
279: [01:40:28] <irogue_> I'll just tell Aaro that this guy said scandanavians are all rude heartless people and lock the two in the small meeting room together
280: [01:40:41] <Stomach> bahahaha
281: [01:41:00] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
282: [01:41:25] <irogue_> Aaro doesn't seem the violent type, but he'd talk him to death about how great scandanavians are ;)
283: [01:42:21] <simon_w|work> One of the annoying things about being in Australia is that most people don't realise how insulting it is when I call them an aussie
284: [01:43:48] <Stomach> man the silverstripe.org site is so out of date >_<
285: [01:43:58] <ss23> Stomach: NOT FOR MUCH LONGER
286: [01:43:59] <ss23> MUAHHAHAHA
287: [01:44:03] <Stomach> http://www.silverstripe.org/framework-faqs/
288: [01:44:19] <Stomach> :(
289: [01:44:24] <ss23> XD
290: [01:44:55] <Colin[pi]> simon_w|work: I do :D
291: [01:47:11] <Colin[pi]> that client just paid ;)
292: [01:47:19] <Stomach> only 26 hours!
293: [01:47:27] <Colin[pi]> yeah I know! longer than I thought
294: [01:48:09] <simon_w|work> Fastest payment from them ever?
295: [01:48:32] <Colin[pi]> simon_w|work: yes ;)
296: [01:49:16] <Stomach> +10 points those guys
297: [01:49:32] <Stomach> thats okay, I have one client who hasn't paid for hosting for 27 months
298: [01:49:37] <Stomach> but, its my uncle
299: [01:49:38] <Stomach> sigh
300: [01:50:03] <simon_w|work> Stomach, turn his site off?
301: [01:50:29] <Stomach> nah, he cant just have it for free
302: [01:50:44] <Stomach> its on my personal VPS so not a big deal
303: [01:50:44] <simon_w|work> Aww, where's the fun in that? :p
304: [01:50:58] <Stomach> well, he wouldn't notice for 6 months or so
305: [01:51:02] <Stomach> lol
306: [01:51:12] <Colin[pi]> my mate has a site on mine, he paid with pizza and beer
307: [01:51:33] <Colin[pi]> actually
308: [01:51:36] <Colin[pi]> wait a minutwe
309: [01:51:41] <Colin[pi]> he's due for a pizza and beer renenwal
310: [01:51:49] <Colin[pi]> *renewal
311: [01:52:37] <simon_w|work> I should figure out how to get money out of my VPS
312: [01:53:00] <Colin[pi]> crack it open! it's like a piggy bank!
313: [01:53:56] <simon_w|work> I'm paying something around $200/month for mine
314: [01:54:09] <Colin[pi]> simon_w|work: !!!
315: [01:54:22] <Colin[pi]> that must be a pretty bitchin VPS
316: [01:54:31] <simon_w|work> It's 9 of them
317: [01:54:34] <Stomach> thats like 5 of mine
318: [01:54:35] <simon_w|work> Or so
319: [01:54:37] <Stomach> oh, okay
320: [01:54:49] <Colin[pi]> ah k, I pay about half that for 4
321: [01:55:00] <simon_w|work> Most of the cost's from nz1.php.net
322: [01:55:07] <simon_w|work> NZ VPSs are expensive
323: [01:55:39] <Stomach> "OMException {message: "Failed to execute 'postMessage' on 'Window': Inval…gin 'javascript://""' in a call to 'postMessage'.", name: "SyntaxError", code: 12, stack: "Error: Failed to execute 'postMessage' on 'Window'…mb/2.9.2_0/generated/extension_properties.js:59:3", INDEX_SIZE_ERR: 1…}"
324: [01:55:40] <Stomach> wat
325: [01:55:43] <Stomach> :S
326: [01:57:29] <irogue_> yeah, everyone's giving up on NZ due to all the VPS providers either being (a) expensive as hell, (b) at HostingDirect, or (c) both
327: [01:58:21] <Colin[pi]> I use Linode in the Japan data center, but would prefer something closer
328: [01:58:32] <Colin[pi]> these guys are not *too* bad: http://mammoth.net.au
329: [01:58:39] <simon_w|work> Colin[pi], DO in Singapore?
330: [01:58:40] <irogue_> I'm just using AWS Sydney
331: [01:58:46] <simon_w|work> Though use my referral link :p
332: [01:59:02] <irogue_> from NZ at least, Singapore and US are roughly same latency
333: [01:59:11] <ss23> antmas: Do you deal with The Prow at all?
334: [01:59:11] <irogue_> but AU is of course damn low latency
335: [01:59:26] <Colin[pi]> simon_w|work: DO?
336: [01:59:34] <simon_w|work> Colin[pi], Digital Ocean
337: [01:59:37] <Colin[pi]> oh k
338: [02:00:27] <Stomach> does anyone know how to detect when a tab is changed in the CMS UI?
339: [02:00:32] <simon_w|work> https://www.digitalocean.com/?refcode=c6bd41b8b2f5
340: [02:00:42] <simon_w|work> Stomach, click event on one of the tabs?
341: [02:00:48] <simon_w|work> Fairly sure it's just jQuery UI tabs
342: [02:01:07] <Stomach> ah it is
343: [02:01:12] <Stomach> with an entwine wrapper
344: [02:01:15] <Stomach> thanks
345: [02:04:10] * peter_w quit (Ping timeout: 246 seconds)
346: [02:04:13] <irogue_> simon_w|work: I used your referral link, not signing up for anything yet but created an account, hopefully it'll still count as a referral later on
347: [02:07:16] <simon_w|work> irogue_, thanks :)
348: [02:07:30] <simon_w|work> It does. Once you spend $25, I get the reward
349: [02:09:40] <irogue_> simon_w|work: sweet. hopefully they'll get into sydney sometime soon ;)
350: [02:11:10] * pixelboy_ quit (Ping timeout: 272 seconds)
351: [02:12:59] <Olliepop> Is it possible to do a PartialMatch filterAny against all elements in an array without using foreach?
352: [02:14:21] <ss23> I ham having trouble with a test. Can someone please help?
353: [02:15:21] <Olliepop> P.S. Digital Ocean san fran boxes are great. < 140ms from Auckland
354: [02:15:38] <ss23> https://gist.github.com/ss23/e82475d95db2558cc332 has test and output
355: [02:15:44] <ss23> Why the fuck does changing the reading mode not change the ParentID?
356: [02:16:33] <ss23> I do $page3->ParentID = $page2->ID; $page3->write(); $page3->publish("Stage", "Live"); $page3->ParentID = $page1->ID; $page3->write();, yet $page3->ParentID while in live mode has ParentID = $page1->ID, not $page2->ID
357: [02:16:38] <ss23> Why does it not take the Live value?
358: [02:17:58] <Kingy> is there anyway to easily manipulate a string in a template file? For instance if I had a $ProductType and I want to make it lowercase and replace spaces with hyphens?
359: [02:18:42] <ss23> Kingy: You can use $Field.LowerCase afaik
360: [02:18:55] <ss23> But replacing spaces with hyphens... not 100%. Might need to add a decorator or w/e for it
361: [02:19:23] <Kingy> damn ok
362: [02:19:26] <Kingy> thanks ss23
363: [02:20:42] <antmas> ss23: le Prow
364: [02:20:54] <ss23> antmas: Do you guys control it, or whats the haps there?
365: [02:21:01] <antmas> ss23: ummmmmm
366: [02:21:11] <ss23> Or have nothing to do with it etc?
367: [02:21:14] <antmas> yes we do, not me personally (or I haven't need to yet)
368: [02:21:17] <ss23> I remember you mentioned it one time or something, idk
369: [02:22:08] * veb has joined #silverstripe
370: [02:24:33] <antmas> ss23: why's that?
371: [02:27:02] <irogue_> Olliepop: yeah, but AWS Sydney is <30ms from auckland ;)
372: [02:33:14] <simon_w|work> irogue_, but really confusing
373: [02:33:27] <simon_w|work> I had a look at it and was all "What do I actually need? I have no idea"
374: [02:33:41] <irogue_> simon_w|work: yeah, it's a lot like that
375: [02:33:47] <irogue_> oh yeah
376: [02:33:55] <irogue_> ss23: you doing the private AWS training?
377: [02:35:49] <ss23> Olliepop: yeah
378: [02:35:53] <ss23> antmas: just wondering
379: [02:37:37] <antmas> ss23: :P
380: [02:37:56] <antmas> ss23: I think we host it
381: [02:38:01] <antmas> ss23: or you maybe you do?
382: [02:38:03] <antmas> idk
383: [02:39:03] <irogue_> looks like it's in snap's DC
384: [02:39:33] <irogue_> aaand the IP belongs to TDC
385: [02:39:37] <irogue_> guess you host it antmas :P
386: [02:42:08] * irogue_ quit (*.net *.split)
387: [02:42:09] * simon_w|work quit (*.net *.split)
388: [02:43:11] * simon_w|work has joined #silverstripe
389: [02:44:35] * Turnerj has joined #silverstripe
390: [02:46:58] * irogue_ has joined #silverstripe
391: [02:48:10] <antmas> irogue: the more you know :)
392: [02:48:31] <antmas> I think it's only recent though, I think SS had it before
393: [02:51:29] <Turnerj> @willr: I was browsing the silverstripe-mollom repo on github (which you've merged some PRs for me in the past) and noticed the audio captcha is commented out. Is that intentional?
394: [02:52:14] * ss23 hacks antmas and takes down the prow
395: [02:52:15] <ss23> :D
396: [02:52:27] <antmas> ss23: :O
397: [02:52:31] * antmas covers eyes
398: [02:52:37] <antmas> I CAN'T SEE ALALALALALALLALAL
399: [02:53:09] <ss23> XD
400: [02:55:07] <willr> Turnerj nope
401: [02:56:38] <Turnerj> @willr: Ahhhh ok, cheers. I might uncomment it and test that it is working correctly and do a PR sometime soon
402: [02:58:12] <willr> sweet
403: [02:58:40] <simon_w|work> Aww, I'm out of jet planes
404: [03:00:08] <irogue_> dammit now i want jet planes
405: [03:00:19] <Stomach> irogue_ bring me jet planes
406: [03:00:22] <ss23> Worst candy
407: [03:00:48] <irogue_> Stomach: i only just went out to buy V
408: [03:00:52] <irogue_> might just raid the pantry instead
409: [03:01:33] <Stomach> I just finished my V ;(
410: [03:03:33] <ss23> Guys, if apache is hanging, presumably because of too many connections, any way to see which URLs are being hit?
411: [03:03:56] <Stomach> access log just prior to crash?
412: [03:04:44] <ss23> access_log isn't written until requests are complete, and it isn't crashing, it's hanging
413: [03:05:36] <irogue_> ss23: PCAP!
414: [03:06:04] <Stomach> that wont show you which host they are hitting though will it?
415: [03:06:17] <Stomach> if its a shared env.
416: [03:06:18] <Stomach> ?
417: [03:06:42] <irogue_> as long as it's not HTTPS, PCAP will show you all the headers, including Host:
418: [03:06:55] <Stomach> ooo fancy
419: [03:07:29] * irogue_ opens the last pack of Stomach-supplied biscuits
420: [03:08:23] <ss23> pcap won't work either
421: [03:08:30] <ss23> The problem is I need to see which requests have *stalled*
422: [03:08:31] <ss23> Like
423: [03:08:38] <ss23> apache using 0% CPU, but has no slots left
424: [03:08:44] <ss23> I can't load /server-status because it has no slots left
425: [03:08:48] <ss23> how do you see which requests are stalled?
426: [03:08:57] <irogue_> idk
427: [03:09:00] <irogue_> i don't even apache :P
428: [03:09:16] <ss23> meh
429: [03:09:19] * ss23 iignores it
430: [03:11:06] <Stomach> thats the spirit! :D
431: [03:12:19] * irogue_ quit (*.net *.split)
432: [03:12:20] * firefox2kx quit (*.net *.split)
433: [03:12:20] * Stomach quit (*.net *.split)
434: [03:12:20] * ajmitch_ quit (*.net *.split)
435: [03:12:21] * willr quit (*.net *.split)
436: [03:12:22] * TRB143 quit (*.net *.split)
437: [03:12:23] * irogue quit (*.net *.split)
438: [03:12:23] * guzzlefry quit (*.net *.split)
439: [03:12:23] * Blacklite quit (*.net *.split)
440: [03:12:24] * Zauberfisch quit (*.net *.split)
441: [03:12:24] * simon_w|work quit (*.net *.split)
442: [03:12:24] * Cheddam quit (*.net *.split)
443: [03:12:24] * Ryan-Toast quit (*.net *.split)
444: [03:12:24] * cloph quit (*.net *.split)
445: [03:12:25] * jrthomer quit (*.net *.split)
446: [03:12:25] * mrzero quit (*.net *.split)
447: [03:12:25] * veb quit (*.net *.split)
448: [03:13:36] * cloph_away has joined #silverstripe
449: [03:13:57] * antmas quit (Quit: Page closed)
450: [03:14:32] <spronk> heh
451: [03:14:43] <spronk> bad time to ask whether anyone has integrated amazon product advertising api..
452: [03:15:04] <spronk> also
453: [03:15:06] <spronk> WTF no search on addons
454: [03:15:06] <spronk> ffs.
455: [03:15:09] <spronk> ss23: fix it
456: [03:15:24] * simon_w|work has joined #silverstripe
457: [03:16:27] * antmas has joined #silverstripe
458: [03:17:10] * irogue_ has joined #silverstripe
459: [03:17:45] <irogue_> spronk: until ss23 finds time to fix it, search on packagist
460: [03:18:06] <irogue_> perhaps in the meantime we should just make the search box on addons send you to a packagist search with silverstripe appended :P
461: [03:19:23] <ss23> spronk: I'm doing it this week!
462: [03:19:23] <ss23> :(
463: [03:20:45] * jrthomer has joined #silverstripe
464: [03:20:46] * mrzero has joined #silverstripe
465: [03:20:46] * irogue has joined #silverstripe
466: [03:20:46] * Blacklite has joined #silverstripe
467: [03:20:46] * guzzlefry has joined #silverstripe
468: [03:20:46] * Zauberfisch has joined #silverstripe
469: [03:20:46] * TRB143 has joined #silverstripe
470: [03:20:46] * ajmitch_ has joined #silverstripe
471: [03:20:46] * Stomach has joined #silverstripe
472: [03:20:46] * firefox2kx has joined #silverstripe
473: [03:20:46] * Ryan-Toast has joined #silverstripe
474: [03:20:46] * Cheddam has joined #silverstripe
475: [03:20:46] * willr has joined #silverstripe
476: [03:20:46] * veb has joined #silverstripe
477: [03:20:47] <spronk> heh
478: [03:21:01] <spronk> why did you break in the first place!? :P
479: [03:24:31] * simon_w|work is now known as Guest7117
480: [03:25:15] * Guest7117 is now known as simon_w|work
481: [03:26:22] <antmas> what's with the network splitting?
482: [03:26:53] <Stomach> the connection between the server nodes went out
483: [03:26:56] <Stomach> :P
484: [03:27:13] <simon_w|work> First one was from a SIGTERM to ircd
485: [03:27:14] <ss23> Or a server itself died
486: [03:27:34] <antmas> ah
487: [03:27:35] <Turnerj> I just thought NZ was trying to separate from the rest of the internet :P
488: [03:27:43] <antmas> freedom!
489: [03:27:43] <simon_w|work> --- Server Terminating. Received SIGTERM
490: [03:27:46] <spronk> we're still trying
491: [03:28:27] <ss23> lol
492: [03:28:38] <spronk> though
493: [03:28:50] <spronk> we're trying to get rid of ss23 from nznet too, but he just won't go away
494: [03:28:50] <spronk> :P
495: [03:29:14] <ss23> 2degrees is so bad
496: [03:29:19] <ss23> var data = "&newpassword=" + document.getElementById('newpassword').value;
497: [03:29:24] <Turnerj> lol
498: [03:29:25] <ss23> WHAT IF MY PASSWORD HAS SPECIAL CHARACTERS IN IT MOTHER FUCKER?
499: [03:29:38] <Stomach> then it will not work
500: [03:29:41] <Stomach> :D
501: [03:30:08] <Turnerj> Makes you wonder what the serverside validation would be like
502: [03:30:36] <spronk> sheesh
503: [03:30:43] <spronk> then again
504: [03:30:45] <Turnerj> eg. newpassword=' OR 1=1
505: [03:30:45] <ss23> yeah
506: [03:30:47] <ss23> idk how to work around this
507: [03:30:48] <spronk> anyone who validates a password vs a policy
508: [03:30:50] <spronk> should die a horrible death
509: [03:30:57] <Turnerj> hahaha
510: [03:31:03] <spronk> let my put
511: [03:31:05] <spronk> whatever the fuck i want
512: [03:31:07] <spronk> however weak or strong it is.
513: [03:31:12] <Turnerj> Yeah, I agree
514: [03:31:20] <Stomach> if (isset($data['password')) $db->query('INSERT INTO passwords ' . sha1($data['password']));
515: [03:31:30] <spronk> lol
516: [03:31:32] <spronk> sif, stomach
517: [03:31:36] <spronk> remove the if
518: [03:31:38] <spronk> and
519: [03:31:39] <spronk> remove the sha1
520: [03:31:44] <Turnerj> lol
521: [03:31:47] <spronk> BAST PRECTICES!
522: [03:31:53] <Turnerj> YUP
523: [03:32:00] <Stomach> sorry
524: [03:32:27] <Stomach> $salt = 'salt'; $db->query('INSERT INTO passwords ' . sha($password . $salt));
525: [03:32:34] <Turnerj> md5 > sha1 *sarc*
526: [03:32:46] <Stomach> salt with pepper, you fool!
527: [03:33:07] <spronk> man
528: [03:33:07] <spronk> you guys
529: [03:33:15] <spronk> just store your password in plain text as is
530: [03:33:26] <spronk> hashes are too slow
531: [03:33:27] <spronk> :p
532: [03:33:32] <Turnerj> base64 it! Super secure!
533: [03:33:33] <antmas> spronk: yolo
534: [03:33:36] <spronk> disclaimer for idiots: DO NOT FUCKING DO THAT.
535: [03:33:48] <spronk> (for the benefit of the logs)
536: [03:34:21] <ss23> lol
537: [03:34:23] <Turnerj> Yeah, always salt your hash
538: [03:34:24] <antmas> won't somebody please think of the logs!
539: [03:34:26] <ss23> I once told someone to chmod 777 -R . in here
540: [03:34:27] <ss23> They did it
541: [03:34:28] <ss23> :(
542: [03:34:42] <ss23> irogue: yeah ik about that :P
543: [03:34:51] <Turnerj> I've told people sudo rm -rf /
544: [03:34:52] <Turnerj> :(
545: [03:35:01] <Turnerj> It was in my sarcastic typing though
546: [03:35:08] <Stomach> Turnerj, that doesn't work anymore
547: [03:35:09] <Turnerj> You know, how that is heaps different from normal typing
548: [03:35:21] <Turnerj> Stomach: What? Awwww :(
549: [03:35:37] <Turnerj> Please don't say it stopped working in the 90s
550: [03:35:39] <Stomach> rm -rf / --no-preserve-root
551: [03:35:45] <antmas> that's like telling someone to delete system32
552: [03:35:50] <Stomach> or as simon_w|work said the other day, rm -rf /*
553: [03:36:01] <Turnerj> system32 is invalid on 64-bit systems *sarc*
554: [03:36:10] <antmas> -_-
555: [03:36:29] <spronk> on a side note
556: [03:36:35] <spronk> .. should not be treated as an argument in *
557: [03:37:50] <Turnerj> When you run out of HDD space on windows, make sure you remove large programs like ntoskrnl.exe
558: [03:38:10] <Turnerj> Should give you a few floppy disks worth of space
559: [03:40:00] <ss23> Seriously, whoever makes the 2degrees site currently is so incompettent that I couldn't write code as bad as that if I was trying
560: [03:40:04] <ss23> To write code so bad in so many ways...
561: [03:40:16] <Stomach> ss23, yes you could
562: [03:40:25] <ss23> I doubt it
563: [03:40:26] <ss23> I mean
564: [03:40:34] <Stomach> just get blind drunk and write it by only copy pasting from stackoverflow
565: [03:40:36] <ss23> It's worse to have lots of subtle errors than strauight out XSS/SQLi right?
566: [03:40:39] <ss23> XD
567: [03:41:00] <irogue_> ss23: afaik it's a combination of in-house and Oracle
568: [03:41:15] <ss23> so bad
569: [03:41:21] <antmas> it's an Oracle db?
570: [03:42:16] <irogue_> antmas: not just db, oracle web systems, desktop software etc too
571: [03:42:59] <antmas> expensive
572: [03:43:11] <irogue_> based on a convo i heard at a geek get-together where a 2degrees guy was all ORACLE ALL THE THINGS
573: [03:43:36] * antmas has never dealt with anything Oracle and hopes not too
574: [03:43:53] <irogue_> companies like telcos and utilities will all be using some "enterprise" (read: shit) system
575: [03:44:03] <irogue_> whether it's Oracle, Lotus Notes or SAP
576: [03:45:54] <antmas> arrggghghhh there is a grad student here that won't stop saying 'like' every few words
577: [03:45:57] <antmas> ffffffffffff
578: [03:46:54] <ss23> Fatal error: Maximum function nesting level of '200' reached, aborting! in /sites/phpunit-tests-silverstripe-3.0/framework/core/Object.php on line 543
579: [03:46:59] <ss23> A TEST CASE THAT TRIGGERS THE ERROR YAAAY
580: [03:47:01] <irogue_> i don't, like, know what you're talking about, like, huh?
581: [03:48:18] <antmas> It gets to me so badly
582: [03:48:29] <Turnerj> What the like are you liking about antmas? :P
583: [03:48:31] <antmas> you can see the older people they talk to are just cringing so hard
584: [03:48:43] <ss23> antmas: like....
585: [03:48:48] <antmas> -_-
586: [03:48:49] <antmas> guis
587: [03:48:51] <ss23> just like, uh... like refresh the dataobject?
588: [03:48:56] <ss23> like, it's not that hard, antmas
589: [03:49:06] <antmas> ;___________; staaaahahhhp
590: [03:49:36] <Turnerj> C'mon guys, like, this is getting out of control. I mean I like to say like but like, I don't even know what to, like, type anymore
591: [03:50:15] <Turnerj> Apart from like, what he is saying. Is the grad student good?
592: [03:50:33] <antmas> yeah she's fine
593: [03:50:36] <antmas> really smart
594: [03:50:43] <antmas> just marred by this need to say like
595: [03:50:45] <antmas> :O
596: [03:50:53] * pippy has joined #silverstripe
597: [03:51:08] <Turnerj> It eventually goes away antmas :P
598: [03:51:54] <Stomach> its like, amazing when it does
599: [03:52:28] <Turnerj> Potential job at FB in the future if she continues though?
600: [03:54:33] <irogue_> o_O
601: [03:54:43] <irogue_> is there sportsing going on
602: [03:54:50] <irogue_> or is there just a giant orgy on Fort St right now
603: [03:55:18] <Turnerj> http://i1.ytimg.com/vi/vqgSO8_cRio/hqdefault.jpg
604: [03:55:35] <Colin[pi]> lol
605: [03:55:49] <antmas> lol nice Turnerj
606: [03:55:54] <irogue_> the latter
607: [03:56:06] <Stomach> http://cloudfront-assets.reason.com/assets/mc/_external/2014_03/winning.jpg
608: [03:56:23] <antmas> haha
609: [03:56:30] <Stomach> that came up when searching for "fort st orgy" in google, which looking back at it was a bad search idea at work
610: [03:56:41] * caamic30 has joined #silverstripe
611: [03:56:45] <irogue_> bunch of drunk girls have climbed out an apartment window and are yahooing and screaming on the overhang above Subway
612: [03:56:50] <Turnerj> Stomach: hahahahaha
613: [03:56:57] <antmas> irogue_: join them
614: [03:57:03] <antmas> pics or it didn't happen
615: [03:57:15] <irogue_> antmas: they seem to have climbed back inside now
616: [03:57:28] <Stomach> irogue_, frank and I saw a guy casually having a cone over that side during the meetup
617: [03:57:35] <Stomach> *hackfest
618: [03:57:57] <irogue_> naturally, the english guy here said "we should go join them", the chinese guy said "that looks unsafe", and the finn said "new zealand people are so crazy"
619: [03:58:04] <antmas> 'causually'
620: [03:58:19] <irogue_> Stomach: and you didn't ask him to pass it?
621: [03:58:52] <Stomach> irogue_, was a bit too far over the road :(
622: [03:58:57] <irogue_> naww
623: [03:59:23] <irogue_> Stomach: i popped in during the meetup to pick up some of my stuff for the LAN
624: [03:59:30] <irogue_> you weren't here yet at the time, in fact barely anyone was
625: [03:59:48] <Stomach> yeah I only got in at like 11.30, had a big friday
626: [04:00:01] <irogue_> only damo and 2 randoms were here
627: [04:00:03] <antmas> all you guys and your late starts
628: [04:00:08] <antmas> :(
629: [04:00:15] <irogue_> lol
630: [04:00:28] <Stomach> antmas, it was a saturday
631: [04:00:34] <Stomach> hah, babies!
632: [04:00:37] <Stomach> lolololol
633: [04:00:39] <antmas> exactly
634: [04:00:47] * antmas cries
635: [04:01:00] <Stomach> that was the first time ive gotten up after 9am in like a year though
636: [04:01:05] <irogue_> still, ss23 has turned up to work after 11:30 on weekdays :P
637: [04:01:15] <Stomach> stupid body getting all "WAKE UP AND GOTO WORK" in the mornings all the time
638: [04:01:48] <ss23> ppls!
639: [04:01:49] <ss23> :(
640: [04:02:06] <antmas> no excuses
641: [04:02:07] * Kingy is now known as Kingy[a]
642: [04:02:09] <antmas> no fear
643: [04:02:49] <Stomach> dirty dog
644: [04:02:55] <antmas> FUBU
645: [04:03:05] <antmas> lol fubu
646: [04:04:45] <antmas> if I ever get up post 10am I'm all like 'uggghhh it's so dark, what's for dinner?'
647: [04:04:58] <irogue_> hahahaha
648: [04:05:23] <irogue_> my previous flatmate often didn't get up til 2pm on weekends... after going to bed at 2am
649: [04:05:30] <irogue_> HOW DO YOU EVEN SLEEP FOR 12 HOURS ON A REGULAR BASIS
650: [04:05:42] <Stomach> easy
651: [04:05:52] <antmas> ss23: ?
652: [04:06:24] <Colin[pi]> haha I remember sleeping in late.... *looks lovingly at photo of son with twitching eyelid*
653: [04:06:31] <irogue_> also, I've discovered a downside of living by myself
654: [04:06:46] <irogue_> I have my desk in the van, and no way to get it into my house, as it needs 2 people to lift :P
655: [04:07:01] <ss23> antmas: ?
656: [04:07:37] <irogue_> ss23, antmas: ?
657: [04:08:37] <antmas> ss23: how do you do it?
658: [04:08:47] <antmas> if I sleep more than 7 hours I end up like this http://www.superiorairinc.com/air-conditioning-articles/wp-content/uploads/2011/12/spongebob.jpg
659: [04:08:58] <ss23> Australia! https://pbs.twimg.com/media/BsjoLroCcAAMYUd.png:large
660: [04:09:01] <ss23> cc simon_w|work
661: [04:09:05] <ss23> XD
662: [04:09:19] <ss23> antmas / irogue_ : I do 12 hour weekend sleeps
663: [04:09:40] <antmas> sleepy mc sleeps
664: [04:09:47] <Colin[pi]> lol ss23
665: [04:09:56] * Colin[pi] goes to cry in the corner a little
666: [04:10:35] <simon_w|work> Colin[pi], have I mentioned that I've got NBN recently? :p
667: [04:10:52] <Colin[pi]> simon_w|work: as in... the good one
668: [04:10:55] <antmas> no balls nelly
669: [04:11:03] <Colin[pi]> not the Liberal piece of shit one
670: [04:11:11] <simon_w|work> Yup
671: [04:11:19] <simon_w|work> The more than ADSL speeds one :p
672: [04:11:35] <antmas> no bum nigel
673: [04:12:21] <antmas> I should stop
674: [04:12:23] <Colin[pi]> simon_w|work: take one of these, http://www.gardensonline.com.au/Uploads/Plant/2751/AnanasComosusMs700Main.jpg, gently insert into rectum pls
675: [04:12:24] <antmas> infact
676: [04:12:28] * irogue_ listens to the inaccurately named Mt Eden DupStep
677: [04:12:28] <antmas> home time!
678: [04:12:34] <irogue_> *DubStep even
679: [04:12:35] <ss23> irogue_: WHAT?!
680: [04:12:38] <ss23> Are they not from Mt Eden?
681: [04:13:05] <antmas> laters all!
682: [04:13:11] <ss23> cyao
683: [04:13:12] <Colin[pi]> cya d00d
684: [04:13:18] <ss23> Meanwhile I've worked on a single bug all day
685: [04:13:18] <ss23> :/
686: [04:13:29] <Colin[pi]> ss23: I hate those days
687: [04:13:37] <irogue_> ss23: me too, though thats cos I've done major new features under the guise of fixing this bug
688: [04:13:48] <irogue_> deploynaut was in need of some UX overhaul :P
689: [04:14:46] <irogue_> ss23: they're far more DnB than dubstep
690: [04:15:47] <irogue_> hell, they called themselves Mt Eden DnB originally before jumping on the dubstep bandwagon
691: [04:19:57] <Stomach> ss23, shouldn't swear in the repo :\
692: [04:20:14] <ss23> What do you mean ?:O
693: [04:20:17] <ss23> My PR? :P
694: [04:20:20] <ss23> #fuckthapolice
695: [04:20:41] <Stomach> lol
696: [04:20:49] <simon_w|work> ss23, you know you can run Travis on your own forks?
697: [04:20:50] <Stomach> if I was your boss you would owe the company some cupcakes
698: [04:21:03] <ss23> simon_w|work: Yeah, but who cares?
699: [04:21:14] <ss23> Stomach: I wouldn't work for someone that wouldn't allow swearing in teh code :3
700: [04:21:16] <simon_w|work> ss23, so stop opening pointless PRs
701: [04:21:21] <Colin[pi]> would you eat ss23's cupcakes?
702: [04:21:23] <ss23> simon_w|work: Make me! :D
703: [04:21:28] <simon_w|work> ss23, okay.
704: [04:21:30] <ss23> simon_w|work: The ones I opened just now were mistakes :P
705: [04:21:41] <ss23> Apart from the latest one, that should/could be meregd
706: [04:21:45] <ss23> At least, merged once I figure out a fix for it
707: [04:22:14] <Stomach> ss23, didn't say we didn't allow it, just that there is a cupcake fine :P
708: [04:22:21] <ss23> hah
709: [04:22:24] <ss23> Fair enough :P
710: [04:25:00] <Stomach> anyone ever done recurring payments with dps?
711: [04:26:10] <simon_w|work> Stomach, kinda
712: [04:26:42] * caamic30 quit (Quit: caamic30)
713: [04:26:52] <Stomach> how much work was there in it? a few days?
714: [04:27:06] <simon_w|work> I dunno, aatch did it
715: [04:27:19] <simon_w|work> We had lots of fun though, since the amount each time changes
716: [04:27:55] <Stomach> yeah we have changing recurrence dates, which shouldnt be that bad compared to changing amounts :P
717: [04:33:17] <ss23> simon_w|work: Waiting to have that re-opened so I can link it to the other PR
718: [04:33:20] <ss23> :)
719: [04:33:31] <simon_w|work> ss23, not going to happen
720: [04:33:41] <simon_w|work> ss23, you can link to the commit easy enough
721: [04:33:43] <ss23> It should, if it doesn't, I'll propose a rule change to allow it to
722: [04:34:11] <simon_w|work> Why?
723: [04:34:30] <ss23> There's no pratical reason not to allow it. It serves a purpose being open and allowing comments, discussion, being ready to merge if someone else makes the fix, etc
724: [04:34:44] <ss23> Being closed means it won't show up by default etc, which means anyone trying to look for that particular test case won't find it
725: [04:34:52] <ss23> It's pendantic to a fault to close it because "We don't merge failing tests"
726: [04:34:56] <simon_w|work> Which is why you include it in the issue
727: [04:35:01] <ss23> So, if there's any kind of "rule" stopping it reamining open, I propose to change it
728: [04:35:17] <simon_w|work> It clutters up the tracker
729: [04:35:18] * peter_w has joined #silverstripe
730: [04:35:30] <ss23> I can't include code direectly on that issue, it'll be a textual link, meaning extra work for anyone, and it's not direclty linked against the repo ready to merge, if it could be (e.g. someone else fixes the issue and wants the test case merged)
731: [04:35:31] <simon_w|work> You then have two places to discuss the issue, not one
732: [04:35:44] <ss23> There are already many interlinked issues that rely on each other, etc
733: [04:36:01] <simon_w|work> And, it will never be merged
734: [04:36:08] <ss23> It will if the bug is fixed
735: [04:36:11] <peter_w> Can anyone tell me how I can remove an extension from an object.....I use to use Object::remove_extension("GridFieldBetterButtonsItemRequest");
736: [04:36:20] <simon_w|work> ss23, no, since the fix will have to include the test case
737: [04:36:40] <ss23> If you won't merge two seperate commits, one with a test, one with the fix, then I also propose a rule change there, because once again, it's pedantic to a fault
738: [04:36:54] <ss23> If someone already has a PR for the tests, it's less work for everyone involved to just merge that
739: [04:37:31] <ss23> Using circular reasoning of "Well I refuse to let hte PR be open because someone else will have to include the test case, and they have to do that because I don't allow PRs open with the test case" is stupid too
740: [04:37:33] <simon_w|work> ss23, the test has to be merged first to see if the fix actually fixes it. Which is why the PR for the fix has to include the test, not rely on some other one.
741: [04:37:43] <Turnerj> peter_w: What version of SS?
742: [04:37:49] <ss23> I think that's stupid, personally
743: [04:38:01] <peter_w> SS 3.1.5
744: [04:39:22] <Turnerj> What you has peter_w should work according to the API docs
745: [04:39:27] <Turnerj> ie. Object::remove_extension("GridFieldBetterButtonsItemRequest");
746: [04:40:17] <Turnerj> http://api.silverstripe.org/3.1/class-Object.html
747: [04:44:28] * Olliepop quit (Ping timeout: 246 seconds)
748: [04:47:09] * caamic30 has joined #silverstripe
749: [04:47:30] <peter_w> Turnerj: Maybe I am going the wrong way about it, but I want to remove the betterbuttons module when the object is being managed in the modeladmin
750: [04:49:16] <Turnerj> Depending at what point in your code you want to remove the extension, you could try checking whether the current controller inherits model admin
751: [04:49:28] <Turnerj> And if it does, then call the remove_extension method
752: [04:58:12] * mobiusnz quit (Quit: Leaving.)
753: [05:05:16] * r_hector has joined #silverstripe
754: [05:05:35] * nickmolhoek quit (Quit: nickmolhoek)
755: [05:08:19] <Turnerj> antmas: Have you finished the .net port of SS? :P
756: [05:16:25] * irogue_ quit (Quit: Textual IRC Client: www.textualapp.com)
757: [05:20:04] * mobiusnz has joined #silverstripe
758: [05:22:35] * Ryan-Toast quit (Quit: Ryan-Toast)
759: [05:23:33] <firefox2kx> good morning
760: [05:24:41] * anselmdk has joined #silverstripe
761: [05:33:13] <caamic30> Hello SS! I’d like to extend the default login form of SS to add username for authentication. It’s going to be username or email & password authentication
762: [05:34:48] <caamic30> may I request someone to englighten me please :)
763: [05:35:34] * antmas quit (Ping timeout: 246 seconds)
764: [05:36:03] * Tanger has joined #silverstripe
765: [05:38:04] * Cheddam quit (Quit: My Mac Mini has gone to sleep. ZZZzzz…)
766: [05:38:22] * peter_w quit (Ping timeout: 246 seconds)
767: [05:55:28] <spronk> le sigh
768: [05:55:34] <spronk> can't understand why anyone would want to use oracle
769: [05:56:11] <ss23> trudat
770: [06:01:45] <Turnerj> spronk: Is it just Oracle DB?
771: [06:15:32] * guci0 has joined #silverstripe
772: [06:15:39] <guci0> Hello World!
773: [06:18:41] <caamic30> when I extended the MemberLoginForm, it created a 2 login forms.
774: [06:26:24] * Robke has joined #silverstripe
775: [06:26:32] <Robke> good morning ;)
776: [06:27:28] <Robke> is it possible to load youtube VEVO channel on ss? because i integrated youtube's iframe... but if the link is from VEVO channel it dosnt play at my web... need to go straight to youtube to see it...
777: [06:31:51] <mobiusnz> so you can specify multiple $has_manys to the same class using dot notation, what about multiple $many_manys?
778: [06:34:25] <simon_w|work> mobiusnz, nope
779: [06:34:36] <mobiusnz> simon_w|work: sadface
780: [06:34:38] <simon_w|work> mobiusnz, though, it only matters for belong_many_many
781: [06:35:46] <mobiusnz> hmm
782: [06:35:52] <mobiusnz> it seems to be creating my database fields
783: [06:36:01] <mobiusnz> I guess I might have to do some manual accessors?
784: [06:36:03] <mobiusnz> http://www.sspaste.com/paste/show/53c4c79dcc7b1
785: [06:37:14] <simon_w|work> mobiusnz, first, you'd use them in belongs_many_many, not many_many. And second, it doesn't work
786: [06:37:18] <simon_w|work> There's no support for it
787: [06:37:59] * Shrike_Finland has joined #silverstripe
788: [06:39:00] <mobiusnz> well that's no fun
789: [06:42:49] <Colin[pi]> you know if you try to use a jquery plugin without first loading jquery, you're gonna have a bad time
790: [06:46:20] * jasf has joined #silverstripe
791: [06:46:56] <jasf> Hi guys, is there any way to enable dragging and dropping of things in the Files section of the CMS? For organising images into sub-folders etc, which is a pain for a client with hundreds of images
792: [06:50:05] * Turnerj quit (Quit: Page closed)
793: [06:50:32] * ARNHOE has joined #silverstripe
794: [06:53:05] * marvanni has joined #silverstripe
795: [07:07:48] <jasf> hmm or at least a checkbox that you can tick multiple files with and select a folder to drop into? Anything core or addons like that? FTP is not a good option for client's day to day use. Thanks :)
796: [07:16:33] * Marvanni2 has joined #silverstripe
797: [07:20:02] * marvanni quit (Ping timeout: 250 seconds)
798: [07:21:36] * Cheddam has joined #silverstripe
799: [07:25:43] * spronk quit (Read error: Connection reset by peer)
800: [07:26:03] * spronk has joined #silverstripe
801: [07:26:18] <Cheddam> wat: http://addons.silverstripe.org/add-ons?type=theme&view=expanded
802: [07:30:23] <simon_w|work> Cheddam, ss23 broke it
803: [07:31:25] <Cheddam> Oh dear :P
804: [07:31:27] <simon_w|work> https://packagist.org/search/?type=silverstripe-theme
805: [07:32:11] * Sj0hn has joined #silverstripe
806: [07:32:33] <Cheddam> Helpful!
807: [07:32:55] <Cheddam> Scoping out how easy theme building on SS is.
808: [07:44:48] <jasf> easy as pancakes
809: [07:45:14] <simon_w|work> Mmm, pancakes
810: [07:46:11] <mobiusnz> is it possible to have dataobjects with a "Title" field (eg Mr, Mrs) and have something useable in modeladmin?
811: [07:47:14] <mobiusnz> overriding getTitle() breaks things
812: [07:49:42] * anselmdk quit (Quit: anselmdk)
813: [07:50:13] <simon_w|work> mobiusnz, looks like GridFieldDetailForm is hardcoded to use Title
814: [07:50:18] * willr_ has joined #silverstripe
815: [07:50:42] <mobiusnz> simon_w|work: true that, I think it'll be easier for me to change Title to Prefix in my dataobject
816: [07:51:04] * ss23 quit (Ping timeout: 240 seconds)
817: [07:53:38] <mobiusnz> simon_w|work: incidentally, I got the multiple many_many things to work satisfactorily by breaking out the relationships into classes
818: [07:59:45] * kinglozzer has joined #silverstripe
819: [08:00:56] * spronk2 has joined #silverstripe
820: [08:04:19] * Robke quit (Ping timeout: 246 seconds)
821: [08:12:19] * ocm has joined #silverstripe
822: [08:12:25] <ocm> howdy
823: [08:12:58] * micmania1 has joined #silverstripe
824: [08:18:03] * marvanni has joined #silverstripe
825: [08:19:41] * Marvanni2 quit (Ping timeout: 256 seconds)
826: [08:29:39] * guci0_ has joined #silverstripe
827: [08:30:58] * caamic30 quit (Quit: caamic30)
828: [08:30:59] <mobiusnz> haha. the wonders of recursive relationships. "http://localhost/familydb/admin/familydb/Person/EditForm/field/Person/item/3/ItemEditForm/field/Relationships/item/2/ItemEditForm/field/Members/item/3/ItemEditForm/field/Relationships/item/2/ItemEditForm/field/Members/item/3/ItemEditForm/field/Relationships/item/2/ItemEditForm/field/Members/item/3/edit" is a valid modeladmin link
829: [08:31:34] <ocm> awesome
830: [08:31:58] * guci0 quit (Ping timeout: 246 seconds)
831: [08:32:17] <mobiusnz> I'm amazed that it doesn't break
832: [08:35:14] * caamic30 has joined #silverstripe
833: [08:54:59] * willr_ quit (Quit: willr_)
834: [08:55:43] * spronk2 quit (Remote host closed the connection)
835: [08:56:26] * spronk2 has joined #silverstripe
836: [08:57:52] * ARNHOE_ has joined #silverstripe
837: [08:59:03] * Colin[pi] quit (Ping timeout: 240 seconds)
838: [09:00:38] * Tanger quit (Quit: Tanger)
839: [09:01:34] * ARNHOE quit (Ping timeout: 272 seconds)
840: [09:01:54] * willr_ has joined #silverstripe
841: [09:03:00] * marvanni quit (Read error: Connection reset by peer)
842: [09:03:17] * marvanni has joined #silverstripe
843: [09:11:20] <ocm> willr_ : Fatal error: Class 'Facebook\FacebookSession' not found :'(
844: [09:11:43] <willr_> what file?
845: [09:11:57] <willr_> need to use the use syntax
846: [09:12:17] <ocm> FacebookControllerExtension.php on line 138
847: [09:12:34] <ocm> what use syntax should I use?
848: [09:12:48] <ocm> oh wait, this was causing the error
849: [09:12:48] <ocm> FacebookControllerExtension.php on line 100
850: [09:13:11] * simon_w has joined #silverstripe
851: [09:13:31] <willr_> Used composer?
852: [09:13:56] <ocm> nah, git clone
853: [09:14:03] <ocm> should it work better with composer?
854: [09:14:14] <ocm> thought composer require does a git clone?
855: [09:14:15] <willr_> yep, you need the facebook SDK
856: [09:14:21] <ocm> ahw :)
857: [09:14:26] <willr_> yeah but it’ll get dependancies :P
858: [09:14:26] <ocm> fair enough, thnx :)
859: [09:14:34] <ocm> I don't like to be dependant :(
860: [09:14:39] <ocm> I am a mature and grown up adult!
861: [09:17:37] * Marvanni2 has joined #silverstripe
862: [09:18:18] * marvanni quit (Ping timeout: 240 seconds)
863: [09:19:10] <Zauberfisch> anyone used bootstrap forms from unclecheese?
864: [09:19:13] * jasf quit (Ping timeout: 246 seconds)
865: [09:20:03] * r3v3rb has joined #silverstripe
866: [09:20:30] <Zauberfisch> seems like its calling Config::inst()->set
867: [09:20:35] <Zauberfisch> but that never was a thing, was it?
868: [09:20:42] <Zauberfisch> I thought there is only update
869: [09:22:22] <r3v3rb> hmm, scss - is there a way to do a negation as in !.homepage for example?
870: [09:22:32] <r3v3rb> completely OT I know!
871: [09:23:34] <willr_> Zauberfisch nope, set() exists
872: [09:24:20] <simon_w> r3v3rb, so, anything but that class?
873: [09:26:03] <r3v3rb> simon_w: I think it will actually be easier if I can get my site just to determine the current controller $ClassName isn’t working as its a controller based site not sitetree at all
874: [09:26:19] <simon_w> r3v3rb, $class
875: [09:26:22] <r3v3rb> so no <% if $ClassName ===
876: [09:26:39] <r3v3rb> simon_w: thanks!
877: [09:29:12] <r3v3rb> hmm, <% if $class == “Home” %> not working
878: [09:30:06] <willr_> Isn’t it $ClassName or on home you can use $URLSegment != “home”
879: [09:31:12] <r3v3rb> simon_w: it is working my bad :\ I tested with the wrong case!
880: [09:31:39] <r3v3rb> willr framework site only - $ClassName doesn’t return a thing
881: [09:31:41] <simon_w> willr_, not ContentController
882: [09:31:45] <r3v3rb> but $class is fine
883: [09:38:56] * UncleCheese has joined #silverstripe
884: [09:39:46] <mobiusnz> what would be the easiest way to get two fields side-by-side in modeladmin?
885: [09:55:10] * ed89 has joined #silverstripe
886: [09:56:04] * Shrike_Finland quit (*.net *.split)
887: [09:56:05] * firefox2kx quit (*.net *.split)
888: [09:56:05] * Stomach quit (*.net *.split)
889: [09:56:05] * ajmitch_ quit (*.net *.split)
890: [09:56:05] * willr quit (*.net *.split)
891: [09:56:06] * TRB143 quit (*.net *.split)
892: [09:56:07] * mobiusnz quit (*.net *.split)
893: [09:56:08] * irogue quit (*.net *.split)
894: [09:56:08] * guzzlefry quit (*.net *.split)
895: [09:56:08] * Blacklite quit (*.net *.split)
896: [09:56:08] * Zauberfisch quit (*.net *.split)
897: [09:56:09] * jrthomer quit (*.net *.split)
898: [09:56:10] * mrzero quit (*.net *.split)
899: [09:56:10] * veb quit (*.net *.split)
900: [09:56:39] * willr_ is now known as willr
901: [09:59:28] * ed89 quit (Ping timeout: 246 seconds)
902: [10:00:49] * Shrike_Finland has joined #silverstripe
903: [10:00:50] * firefox2kx has joined #silverstripe
904: [10:00:50] * Stomach has joined #silverstripe
905: [10:00:50] * ajmitch_ has joined #silverstripe
906: [10:01:49] * mobiusnz has joined #silverstripe
907: [10:01:50] * 7F1AAQY70 has joined #silverstripe
908: [10:01:50] * TRB143 has joined #silverstripe
909: [10:03:12] * irogue has joined #silverstripe
910: [10:03:12] * Blacklite has joined #silverstripe
911: [10:03:12] * guzzlefry has joined #silverstripe
912: [10:03:12] * Zauberfisch has joined #silverstripe
913: [10:03:58] * veb has joined #silverstripe
914: [10:03:59] * mrzero has joined #silverstripe
915: [10:04:34] <simon_w> Bah, stupid default HTMLEditorConfig
916: [10:05:48] * ss23 has joined #silverstripe
917: [10:08:43] * desperate has joined #silverstripe
918: [10:08:45] * jrthomer has joined #silverstripe
919: [10:09:07] <desperate> morning everyone I need your input
920: [10:09:20] <desperate> I am about to start on a project to develop a relatively simple site
921: [10:09:30] <desperate> hiring of people for small jobs
922: [10:09:53] <desperate> you search, you are presented with a list, you view candidate, you make an offer
923: [10:10:05] <desperate> requires a backend dashboard for admin to seatrch and look aup candidates
924: [10:10:21] <desperate> my boss is pushing me towards CakePHP
925: [10:10:24] <desperate> why shoul dUI se Ss
926: [10:10:33] <desperate> I know I should but need some arguments
927: [10:14:57] * Pylk has joined #silverstripe
928: [10:16:08] <willr> If it’s a simple site it depends what you’re fastest in
929: [10:16:19] <Pylk> Show user the work in progress of a redesigned interface that mirrors exactly what they currently have in functionality. User proceeds to get all confused about why this feature and that feature aren't there, and how do we export to spreadsheet?
930: [10:16:31] <willr> SilverStripe would give you the backend dashboard for free via ModelAdmin.
931: [10:16:48] * marvanni has joined #silverstripe
932: [10:17:40] <Pylk> your simple site doesn't sound all _THAT_ simple.
933: [10:18:38] * Pylk looks at a job site he once made for a recruiter.
934: [10:18:41] * Marvanni2 quit (Ping timeout: 256 seconds)
935: [10:18:44] <Pylk> NO jobs are listed.
936: [10:18:50] * Pylk smacks head.
937: [10:19:11] <desperate> That's my point..SS will have the admin dshboard half done out of the box right?
938: [10:19:34] <Pylk> desperate: all done even.
939: [10:19:34] <simon_w> Time to see how well user forms works with my framework fork
940: [10:19:41] <Pylk> If you're simply listing memers.
941: [10:19:50] <Pylk> or even if they're not members.
942: [10:20:07] <Pylk> simon_w: your hack fork?
943: [10:20:13] <simon_w> Pylk, in part
944: [10:20:15] <Pylk> lol, that pun.
945: [10:20:17] <Pylk> :P
946: [10:21:58] <desperate> need to list members, be able to search and change attributes on members
947: [10:22:26] * willr quit (Quit: willr)
948: [10:25:13] * SphereSilver has joined #silverstripe
949: [10:27:40] <simon_w> Well, it's a tad broken: https://files.app.net/2fp3nqrxd
950: [10:27:47] * Shrike_Finland quit (Quit: Leaving.)
951: [10:30:39] <mobiusnz> is it possible to use that "Link Existing" form field outside of a gridfield context?
952: [10:31:22] * Shrike_Finland has joined #silverstripe
953: [10:41:48] <Zauberfisch> UncleCheese: oh noes
954: [10:41:55] <UncleCheese> hi
955: [10:41:59] <Zauberfisch> UncleCheese: bootstrapforms is broken
956: [10:42:04] <UncleCheese> version?
957: [10:42:12] <Zauberfisch> there are 2 methods that user Config::inst()->set
958: [10:42:16] * SphereSilver quit (Ping timeout: 272 seconds)
959: [10:42:19] <Zauberfisch> when it should be Config::inst()->update
960: [10:42:22] <Zauberfisch> dev-master
961: [10:42:27] <UncleCheese> oh, dev-master is shit
962: [10:42:32] <Zauberfisch> they are deprecated though
963: [10:42:33] <Zauberfisch> but still
964: [10:42:34] <UncleCheese> ok
965: [10:42:39] <Zauberfisch> wait, I'll pull request
966: [10:42:44] <UncleCheese> 1.0.* for BS2 and 1.1.* for BS3
967: [10:43:48] <Pylk> desperate: well you'd just use the 'Security' interface for that (ie, they're proper members, with a signup, etc)
968: [10:44:07] <Pylk> desperate: hell it sounds almost like you could use 'memberprofiles' module and be done with it.
969: [10:44:08] <Zauberfisch> UncleCheese: I pull requested to dev-master
970: [10:44:13] <UncleCheese> i saw
971: [10:44:17] <UncleCheese> sweet as bro
972: [10:44:58] <Pylk> UncleCheese is assimilating.
973: [10:45:28] <UncleCheese> my kid puts marmite on his crackers :(
974: [10:46:16] <Pylk> hahaahah
975: [10:46:18] <r3v3rb> Pylk: desperate yep memberprofiles is great until clients ask for ajax signup forms/logins etc then it gets a bit messy :\ however the site I did that in was 2.4.3 I think and I was pretty messy then…
976: [10:46:39] <Pylk> r3v3rb: ajax anything can get messy.
977: [10:46:45] <Pylk> desperate: https://github.com/ajshort/silverstripe-memberprofiles
978: [10:46:47] <r3v3rb> Pylk: not wrong ^^
979: [10:46:59] <Pylk> fuck, they forgot my egg :(
980: [10:47:19] <Pylk> bacon egg mushroom tomato and onion, get back, open, bite, no egg :<
981: [10:47:23] <r3v3rb> Pylk: course site is now fully functional :) another site down and out!
982: [10:47:32] <Pylk> wd r3v3rb
983: [10:47:37] <r3v3rb> Pylk: ta
984: [10:48:01] <r3v3rb> now onto site that will cost alot of money and produce none, but client is happy to pay!
985: [10:48:16] <Pylk> haha, so nothing out of the ordinary?
986: [10:48:32] <Pylk> half the clients you meet think they've got the next facebook.
987: [10:49:20] <r3v3rb> Pylk: got to reproduce something like this: http://celebratelife.rbge.org.uk/
988: [10:49:40] <Pylk> idgi
989: [10:49:45] <simon_w> Whoa, I get to build an image map
990: [10:49:52] <simon_w> Haven't done that for some time
991: [10:49:54] <r3v3rb> check this: http://celebratelife.rbge.org.uk/donations/product/tree-adoption-E06 <— look at suggested donation
992: [10:50:03] <Pylk> haha, sounds like a legit as site simon_w
993: [10:50:12] <Pylk> last image map I made was pretty snazzy like
994: [10:50:12] <r3v3rb> simon_w: use illustrator thats nice an easy
995: [10:50:16] <simon_w> Pylk, it's my wedding site!
996: [10:50:19] <Pylk> use imgmapmaker
997: [10:50:22] <simon_w> r3v3rb, so does Dreamweaver :p
998: [10:50:32] * r3v3rb gags
999: [10:50:33] <Pylk> KDE
1000: [10:50:35] <Pylk> tools!
1001: [10:51:02] <Pylk> KImageMapEditor
1002: [10:51:09] <r3v3rb> actually thats not fair, whats DW like these days - I havent used for over five years
1003: [10:51:14] <simon_w> No idea
1004: [10:51:25] <simon_w> Last time I opened it, Macromedia still existed
1005: [10:51:26] <r3v3rb> mwhahahaa
1006: [10:51:35] <r3v3rb> those were the days!
1007: [10:51:44] <simon_w> Freehand existed!
1008: [10:51:47] <r3v3rb> Freehand was much better than Illustrator
1009: [10:52:06] <Pylk> http://www.pica.org.nz/ <-- last image map I made
1010: [10:52:08] <spronk2> irogue: you a consumer member aswell?
1011: [10:52:46] <Pylk> (choose a region)
1012: [10:53:08] <Pylk> css3 and layers of image maps.
1013: [10:53:17] <Pylk> or something funky like that.
1014: [10:53:23] <UncleCheese> Zauberfisch in 1.1.3
1015: [10:53:33] <Pylk> I can't actually remember, but I was pretty proud of it when I made it... over 2 years ago, haha
1016: [10:53:37] <spronk2> man
1017: [10:53:44] <spronk2> consumer.org.nz is now a steaming pile of absolute shit, from a UX perspective
1018: [10:54:36] <r3v3rb> Pylk: last one I made looks similar : http://www.twpwines.com/ map of italy
1019: [10:55:12] <Pylk> yea but that's just a standard image map r3v3rb !
1020: [10:55:21] <Pylk> Mine is snazzy as fuck! :P
1021: [10:55:58] <mobiusnz> last image map type thing I made was created from svg text
1022: [10:56:00] <simon_w> You lot should test http://wedding.welsh-au.com in more than just Safari for me :p
1023: [10:56:02] <Pylk> cut and edited with GIMP, because fuck photoshop, then image map made with KImageMapEditor
1024: [10:56:07] <Pylk> on windows.
1025: [10:56:30] <r3v3rb> Pylk: it is :) with some snazzy as fuck (LOL) jQuery!
1026: [10:56:30] <Pylk> cool simon_w :>
1027: [10:56:54] <Pylk> r3v3rb: nah see... mine is snazzyer because no jquery, or jscript, or even javascript.
1028: [10:57:04] <Pylk> just some + selectors and transition.
1029: [10:57:10] <r3v3rb> Pylk: links don’t count as snazzy mate!
1030: [10:57:27] <Pylk> after careful inspection of the spec, dumping spans in a <map> isn't illegal.
1031: [10:57:33] <Pylk> so I won.
1032: [10:57:38] <Pylk> I won so hard I coudn't believe it.
1033: [10:57:41] <r3v3rb> simon_w: tested in FF latest, looks like a little babies bottom sitting on a voucher code entry input :)
1034: [10:57:45] <Pylk> for once, HTML let me do something cool.
1035: [10:58:10] * caamic30 quit (Quit: caamic30)
1036: [10:58:18] <Pylk> that's because firefox you dirty heathen, obviously if you're invited you use safari.
1037: [10:58:20] <Pylk> :P
1038: [10:58:24] <simon_w> r3v3rb, good enough
1039: [10:58:28] <Pylk> keek
1040: [10:58:30] <Pylk> keke*
1041: [10:58:41] <mobiusnz> simon_w: needs moar media queries
1042: [10:58:59] <r3v3rb> simon_w: :D
1043: [10:59:00] <simon_w> mobiusnz, naaaah
1044: [10:59:01] <Pylk> So I sat in a meeting all morning and it removed my will to do anything. I thought a bacon snadwich would fix it... but they forgot my egg :<
1045: [10:59:17] <r3v3rb> Pylk: not a great day then
1046: [10:59:22] <mobiusnz> see the one I made, when you resize the window/view on different devices http://irvine-twohill.co.nz
1047: [11:00:08] <Pylk> oh yeah, you're with Scotty's sister.
1048: [11:00:09] <simon_w> No such domain?
1049: [11:00:20] <Pylk> I forgot
1050: [11:00:25] <mobiusnz> err, should be a domain
1051: [11:00:46] <Pylk> works for me
1052: [11:01:03] <mobiusnz> hmm
1053: [11:01:05] <Pylk> who designed the site mobiusnz?
1054: [11:01:08] <simon_w> I'm not getting an A record
1055: [11:01:18] <Pylk> sux2bu simon_w :/
1056: [11:01:27] <mobiusnz> hmm, might've dropped a nameserver somewhere
1057: [11:01:30] <mobiusnz> I should look into that
1058: [11:01:52] <mobiusnz> Pylk: it was a team effort between me and my now wife
1059: [11:02:06] <mobiusnz> she's pretty good at illustrations
1060: [11:02:16] <r3v3rb> muhahaha, just checked and the consultant who said he’d be finished well before my site was finished ( with his user management system in .NET and aspx ) still hasn’t managed to upload any code yet - over a month after my site went live and three months after his own self proclaimed deadline… CONSULTANTS!!! HA!!! MOFOS!!!!
1061: [11:02:34] <Pylk> mobiusnz: doesn't surprise being the big fellas sister.
1062: [11:02:40] <r3v3rb> then again, he’s still getting paid and I am not!!!
1063: [11:03:11] <Pylk> mobiusnz: how are the brother in law and the wife? Did they move to WLG like they were thinking?
1064: [11:03:35] <mobiusnz> Pylk: yeah they're up on the kapiti coast. sweet spot
1065: [11:03:46] <Pylk> nice
1066: [11:03:57] <Pylk> still chargin'n away on their own thing?
1067: [11:04:05] <mobiusnz> yeah
1068: [11:04:11] <Pylk> sweet.
1069: [11:04:51] <Pylk> So I saw some pics taken at Plato the other day. Taken after I left... in one shot, the angle it was taken at... it looks like I was replaced by a roadcone.
1070: [11:05:04] <Pylk> at my old desk.
1071: [11:05:06] <Pylk> lol
1072: [11:05:07] <r3v3rb> sounds about right :)
1073: [11:05:19] <r3v3rb> same level of code output ;)
1074: [11:05:20] <Pylk> but nah, they'd rearranged the office and all sorts by that point.
1075: [11:05:24] <simon_w> Oh no, I'm opening Dreamweaver
1076: [11:05:25] <Pylk> r3v3rb: shhhh
1077: [11:05:29] <r3v3rb> Pylk: :D
1078: [11:05:33] <Pylk> simon_w: uh oh. See you in 40 mins then?
1079: [11:05:42] <r3v3rb> simon_w: don’t press the button!
1080: [11:06:02] <simon_w> Too late!
1081: [11:08:36] <desperate> guys a quick newbie question... I know Page.ss contains the basic structure of a page, links ot css and js, page setup etc
1082: [11:08:50] <desperate> but why is there a Page.ss in layouts also?
1083: [11:09:34] <Pylk> because you already know why you just forgot.
1084: [11:09:40] <Pylk> see tutorial... 1 I think.
1085: [11:09:55] <mobiusnz> desperate: the $Layout in the outer folder calls the template in the Layout folder, based on the page type and action
1086: [11:10:27] <Pylk> desperate: yep, tutorial #1: http://doc.silverstripe.org//src/framework_3.1/docs/en/tutorials/_images/tutorial1_subtemplates-diagram.jpg
1087: [11:10:30] <desperate> so the flow would go Page.ss->Page.ss
1088: [11:10:44] <Pylk> well
1089: [11:10:51] <Pylk> it's heirarical, just like classes.
1090: [11:10:56] <Pylk> because it's based on classes.
1091: [11:11:04] <Pylk> AboutPage extends Page
1092: [11:11:26] <Pylk> templates: Page.ss, Layout/
1093: [11:11:36] <Pylk> Layout: Page.ss, AboutPage.ss
1094: [11:11:45] <desperate> Ok so in my case I have HomePage.php hich extends page so the flow is Page.ss->HomePage.ss
1095: [11:11:46] <Pylk> 'flow' would be Page.ss -> AboutPage.sss
1096: [11:11:52] <Pylk> yes
1097: [11:11:55] <simon_w> I'm surviving so far!
1098: [11:12:10] <desperate> thank you
1099: [11:12:12] <mobiusnz> well building this form was fun… http://cl.ly/image/1Z053m1a0q00
1100: [11:12:17] <Pylk> but if you put HomePage.ss in the tempaltes folder, it would be a 'main' template, and Page.ss would be ignored.
1101: [11:12:20] <Pylk> desperate: ^
1102: [11:12:54] <Pylk> well fuck that mobiusnz :<
1103: [11:13:07] <r3v3rb> mobiusnz: you insane?
1104: [11:13:27] <Pylk> So who is your Koro?
1105: [11:13:28] <mobiusnz> "mother" and "father" become really weird words when you type them that many times
1106: [11:13:59] <mobiusnz> they break apart in weird ways like "mot-her" and "fat-her"
1107: [11:14:01] <Pylk> yeah, especially when uder the title 'whakapapa'
1108: [11:14:17] <r3v3rb> right, time to have a break - no emails received for over half an hour - so all is well
1109: [11:14:28] <Pylk> mobiusnz: really? because to me it always became 'moht-er' and 'fat-her'
1110: [11:14:33] <Pylk> err, moth*
1111: [11:14:55] <mobiusnz> http://cl.ly/image/0m3R1g0R0T0j
1112: [11:14:59] <Pylk> r3v3rb: so you're building a botanic gardens website?
1113: [11:15:15] <Pylk> mobiusnz: lolwholeyfuckingshit
1114: [11:15:35] <r3v3rb> Pylk: not botanics but for an arm of the forestry commission
1115: [11:16:01] * SphereSilver has joined #silverstripe
1116: [11:16:07] <Pylk> r3v3rb: so what's so special about the site?
1117: [11:16:15] <Pylk> it just looks like any old site to me
1118: [11:16:26] <r3v3rb> pylk, nothing really - online donations and a login system to leave comments
1119: [11:16:38] * ss23 quit (Ping timeout: 250 seconds)
1120: [11:16:47] <mobiusnz> now I just need to make all those text fields into those fancy gridfield searchfields and I'll be laughing
1121: [11:16:52] * Marvanni2 has joined #silverstripe
1122: [11:16:59] <Pylk> [11:49] <r3v3rb> check this: http://celebratelife.rbge.org.uk/donations/product/tree-adoption-E06 <— look at suggested donation
1123: [11:17:02] <r3v3rb> got about two months to produce from start (blank design) to finished site
1124: [11:17:05] <Pylk> lol, but remember... that's about right.
1125: [11:17:10] <Pylk> most trees are older than you are!
1126: [11:17:11] <r3v3rb> for a tree!
1127: [11:17:17] <Pylk> a tree older than you!
1128: [11:17:30] <r3v3rb> that you can’t even plant in your own facking garden!
1129: [11:17:41] <r3v3rb> or use for a wood burner!
1130: [11:17:53] <mobiusnz> only trouble is GridFieldAddExistingAutocompleter seems to be fairly well tied into GridField
1131: [11:18:06] <r3v3rb> mobiusnz: stop right now… ;)
1132: [11:18:19] <r3v3rb> your pain will only multiple exponentially
1133: [11:18:24] <r3v3rb> multiply*
1134: [11:18:29] <mobiusnz> yeah I'm starting to think that
1135: [11:19:19] <mobiusnz> but it upsets me that I've built a beautiful linked database, and then there's this page with a gazzilion unlinked text fields in them
1136: [11:19:19] * marvanni quit (Ping timeout: 256 seconds)
1137: [11:19:51] <r3v3rb> mobiusnz: but what you planning on using the info for...
1138: [11:20:40] <mobiusnz> well it means if you added a child to the database, you wouldn't have to fill in their whole family tree
1139: [11:20:48] * r3v3rb might take a look at symfony 2 later
1140: [11:21:13] <spronk2> hoooly fuck
1141: [11:21:17] <spronk2> you can't even make this shit up
1142: [11:21:18] <spronk2> https://twitter.com/spronkey/status/489006632433496064
1143: [11:22:00] <r3v3rb> spronk2: nice kodak logo :)
1144: [11:22:04] <spronk2> :D
1145: [11:22:12] <r3v3rb> I used to work for them :)
1146: [11:22:16] <spronk2> awesome.
1147: [11:22:22] <spronk2> their old logo was the shit
1148: [11:22:24] <r3v3rb> not really :|
1149: [11:22:28] <spronk2> :(
1150: [11:22:31] <r3v3rb> they took the piss!
1151: [11:22:45] <r3v3rb> but their sales reps get facking everything!
1152: [11:22:48] <spronk2> ugh, gay
1153: [11:23:02] <r3v3rb> indeed
1154: [11:23:03] * Marvanni2 quit ()
1155: [11:23:11] <spronk2> but hopefully you notice the obvious LOL with that comparison
1156: [11:23:24] <mobiusnz> spronk2: is anything actually compared?
1157: [11:23:45] <spronk2> mobiusnz: so, they have a page on smoke alarms and batteries
1158: [11:23:49] <mobiusnz> apart from the "overall score"
1159: [11:23:57] <spronk2> and the "interactive test browser" defaults to showing you both smoke alarms and batteries
1160: [11:24:01] <spronk2> and sure enough, you can compare
1161: [11:24:02] <spronk2> a smoke alarm
1162: [11:24:03] <Pylk> spronk2: flaming fire response?
1163: [11:24:05] <spronk2> to a battery.
1164: [11:24:10] <Pylk> oh, I see
1165: [11:24:11] <mobiusnz> wow
1166: [11:24:12] <mobiusnz> that's
1167: [11:24:14] <mobiusnz> um
1168: [11:24:21] <Pylk> amazing
1169: [11:25:04] <spronk2> this is a pretty minor thing really compared to some of the other UX atrocities on their new site
1170: [11:25:52] <Pylk> spronk2: well, it doesn't actually compare relatively does it? It's simply showing two item's stats side by side
1171: [11:26:28] <spronk2> Pylk: no, you're right it doesn't
1172: [11:26:34] <spronk2> but you can sort a list of smoke alarms and batteries by overall score
1173: [11:26:40] <spronk2> and by price
1174: [11:26:41] * simon_w survived Dreamweaver!
1175: [11:26:44] <simon_w> It is still crap
1176: [11:26:46] * r_hector quit (Quit: Leaving.)
1177: [11:28:05] <Pylk> never wasn't
1178: [11:28:30] * Cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1179: [11:34:09] <spronk2> it was pretty good compared to Allaire HomeSite
1180: [11:34:12] <spronk2> and FrontPage Express
1181: [11:34:20] <spronk2> :P
1182: [11:34:25] * spronk2 shows his age.
1183: [11:34:38] * simon_w used FrontPage Express!
1184: [11:34:47] <spronk2> i had almost all but forgot about it
1185: [11:42:04] * SphereSilver quit (Ping timeout: 240 seconds)
1186: [11:44:26] * pixelboy_ has joined #silverstripe
1187: [11:45:52] * ARNHOE_ quit (Remote host closed the connection)
1188: [11:46:23] * SphereSilver has joined #silverstripe
1189: [11:46:28] * ARNHOE has joined #silverstripe
1190: [11:48:32] * simon_w does like using XHP
1191: [11:52:17] <r3v3rb> got to go, bbl
1192: [11:52:21] * r3v3rb quit (Quit: r3v3rb)
1193: [11:58:22] <Sj0hn> any1 here ever experienced IE going to black with a pause icon in the middle?
1194: [12:02:21] <Pylk> Sj0hn: sounds like you're loading a video.
1195: [12:03:12] * ss23 has joined #silverstripe
1196: [12:05:24] * UndefinedOffset has joined #silverstripe
1197: [12:12:08] * simon_w quit (Quit: This computer has gone to sleep)
1198: [12:19:43] <Sj0hn> nope xD
1199: [12:22:43] <Sj0hn> It's like a transparent black screen that freezes the site. It gives some random errors in the console and I cant replicate it
1200: [12:23:18] <Sj0hn> a college of mine has it.
1201: [12:32:55] * SphereSilver quit (Remote host closed the connection)
1202: [12:36:34] <Pylk> yay, went back to shop and got a free croissant because of the egg left out of sandwich earlier :> chuffed.
1203: [12:36:46] <Pylk> All is right with the world again :D
1204: [12:39:25] <spronk2> https://www.youtube.com/watch?v=esMnme69t2M
1205: [12:47:32] * krofek quit (Ping timeout: 260 seconds)
1206: [12:55:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1207: [12:57:58] <Pylk> haha spronk2
1208: [12:58:06] <Pylk> sandstorm lulz
1209: [12:58:51] * caamic30 has joined #silverstripe
1210: [12:59:45] * krofek has joined #silverstripe
1211: [13:02:03] * Sj0hn quit ()
1212: [13:03:27] <firefox2kx> how long is this irc channel cached?
1213: [13:03:54] <ss23> Its logged forever, it's not "cached" in any sense I know of
1214: [13:03:56] <firefox2kx> or logged whatever
1215: [13:04:42] <Pylk> firefox2kx: see topic.
1216: [13:05:04] <Pylk> and the message from the bot every time you join (as required by freenode)
1217: [13:05:29] <firefox2kx> can someone please get rid of anyone who knows me? ^^
1218: [13:05:38] <Pylk> what?
1219: [13:06:27] <ss23> firefox2kx: You're going to have to... explain what it is you want
1220: [13:06:36] <Pylk> only what you say in channel is logged. Every private query, other channel, all the things, not logged.
1221: [13:08:33] <firefox2kx> it's only that collegues, boss, wife, parents - all are overflooding me with problems I never knew or wanted to know about and I wanted to make some fun about that with the question if anyone could make them disappear
1222: [13:08:53] <Pylk> firefox2kx: uhh... nope.
1223: [13:08:58] <kinglozzer> lol
1224: [13:09:03] <Pylk> just go to another channel.
1225: [13:09:08] <Pylk> or use a pseudonym
1226: [13:09:20] <Pylk> https://webchat.freenode.net
1227: [13:09:21] <kinglozzer> /nick definitelynotfirefox2kx
1228: [13:09:29] <Pylk> lol kinglozzer, nope.
1229: [13:09:31] <firefox2kx> and for reason no one gets this wrong I asked how long it's saved. anyway. I've spoken now about it. it's better now xDDDD
1230: [13:10:02] <Pylk> Still not sure I understand, but ok :>
1231: [13:10:31] <kinglozzer> Pylk: Too long? :P
1232: [13:11:07] <Pylk> kinglozzer: no, just also logged.
1233: [13:11:24] <Pylk> YourUsualNickHere IS NOW KNOWN AS notSoSecretChap
1234: [13:11:47] * Pylk KMFDMs all the things.
1235: [13:12:07] * firefox2kx is fleeing
1236: [13:12:28] <Pylk> :<
1237: [13:12:43] <Pylk> just make a channel and have a go in there :P
1238: [13:13:02] * firefox2kx rethinks it and decides not to flee
1239: [13:13:08] <Pylk> /join #notloggedsoletswhingeaboutallthethings
1240: [13:13:10] <Pylk> :P
1241: [13:15:47] <kinglozzer> I have a Varchar field which can have bold/regular font. I usually do something like StringFieldExtension, and replace "[" / "]" with <strong> / </strong>. Just curious if anyone has a better/alternative way?
1242: [13:16:11] <Pylk> kinglozzer: yeah, HTMLVarchar
1243: [13:16:21] <Pylk> define own fieldtype
1244: [13:16:28] <kinglozzer> Pylk: Sorry, meant the FormField side of things, rather than field type
1245: [13:16:32] <Pylk> yeah
1246: [13:16:34] <Pylk> formfieldtype
1247: [13:16:43] <firefox2kx> lol
1248: [13:16:44] <Pylk> that needs to be less confusing :<
1249: [13:17:13] <Pylk> kinglozzer: or you mean just generally wherever between /bold/ ?
1250: [13:17:47] <kinglozzer> Okay :P. I have Varchar(255). CMS user needs to be able to bold parts of the string. How easiest to do it?
1251: [13:17:49] <Pylk> I'd just make a MarkdownField and parse it out in Value (save as is in dataValue) or something (extends stringfield obv)
1252: [13:18:13] <Pylk> that way it's backwards compat for existing values.
1253: [13:18:40] <Pylk> oh shit, now I went dun gon confused dbfield and formfield
1254: [13:18:46] <Pylk> but you get the idea I hope
1255: [13:19:15] <Pylk> probably just extend Varchar.
1256: [13:19:17] <Pylk> easiest
1257: [13:19:30] <Pylk> MDVarchar(255) //win
1258: [13:19:38] <Pylk> or something
1259: [13:20:29] <kinglozzer> Yeah Pylk, that's sorta what I'm doing (except with extension instead of field type, though I prefer your suggestion so will probably switch it over). Just trying to think of any way of avoiding having to tell the client to use markdown (clients gonna client), besides HTMLEditorField which would be overkill for a small string
1260: [13:20:29] * muskie9 has joined #silverstripe
1261: [13:21:07] <Pylk> yeh, know the feels.
1262: [13:21:13] <kinglozzer> But then again, cba with building a new field type sp
1263: [13:21:16] <Pylk> but yeh, mini markdowns.
1264: [13:21:16] <kinglozzer> so
1265: [13:21:19] <Pylk> you don't have to go all out.
1266: [13:21:29] <Pylk> besides, tehre's no standard on markdown anyway
1267: [13:21:46] <kinglozzer> Mm, will go for that and ->setDescription('USE THE MARKDOWNS')
1268: [13:21:57] <Pylk> yeah well you can probably MD through Extension and call $DatVarchar.MarkDerp
1269: [13:23:28] * spronk23 has joined #silverstripe
1270: [13:24:33] * spronk2 quit (Ping timeout: 256 seconds)
1271: [13:24:33] * spronk23 is now known as spronk2
1272: [13:24:58] * spronk quit (Ping timeout: 240 seconds)
1273: [13:33:30] <Pylk> kinglozzer: but then of course you have to alter tempaltes in every place it's used. Unless there's a hook on ForTemplate or something
1274: [13:34:24] <kinglozzer> Pylk: Yeah that's the thing, I'm never gonna /not/ want to parse it so a new field type probably makes more sense
1275: [13:37:21] <Pylk> yeh, if there's no hook.
1276: [13:37:27] <Pylk> to be fair a hook probably makes MORE sense.
1277: [13:37:36] <Pylk> but that requires review and pull requests, and all that.
1278: [13:37:48] <Pylk> and you'd have to wait until 3.2
1279: [13:38:02] <Pylk> phpne tonight
1280: [13:38:10] <Pylk> who wants to come?
1281: [13:45:44] <Pylk> kinglozzer: SS_HTTPRequest doesn't auto parse request vars into likely types does it?
1282: [13:45:59] <Pylk> eg &blah=123 === '123' !== 123 ?
1283: [13:46:11] <kinglozzer> Pylk: Not that I'm aware of
1284: [13:46:20] <Pylk> cool, just making sure (as I'm not testing it)
1285: [13:46:21] <Pylk> cbf
1286: [13:46:38] <kinglozzer> Would URL handlers do it? Can't remember if you can specify int or something
1287: [13:46:50] <Pylk> don't think so
1288: [13:47:11] <Pylk> url handlers just parse params though, not request vars (like query params)
1289: [13:47:22] <Pylk> ie, url params, not &param=var
1290: [13:47:34] <Pylk> the /param type
1291: [13:47:35] <Pylk> :P
1292: [13:49:06] <kinglozzer> forTemplate() { return nl2br(preg_replace('/\[([^\]]+)\]/', "<strong>$1</strong>", $this->value)); }
1293: [13:49:11] <kinglozzer> izzi
1294: [13:52:43] <Pylk> \bold\ ?
1295: [13:52:54] <Pylk> [bold] ?
1296: [13:53:04] <Pylk> mm, [bold] innit?
1297: [13:53:20] <Pylk> kinglozzer: now do /italics/ and _underlined_ :P
1298: [13:57:30] <kinglozzer> Pylk: D:
1299: [13:57:46] <kinglozzer> Regular expressions still scare me, so I’d just do 3 separate replacements :P
1300: [13:57:50] * svandragt has joined #silverstripe
1301: [13:59:01] <svandragt> Question: when I set $DO->canEdit() and ->canDelete to false, this only stops access to object via ModalAdmin, if I guess the URL I can still save and delete. why?
1302: [13:59:39] <svandragt> and how do I stop this
1303: [14:08:24] <svandragt> public function canDelete($member = null) {return false; } doesn't do the trick.
1304: [14:13:22] * desperate quit (Quit: Page closed)
1305: [14:14:29] <Pylk> kinglozzer: well... yeah.
1306: [14:14:57] <Pylk> but you don't need to be fancy with regex, you can supply preg_replace with arrays of strings & replacements
1307: [14:14:59] <Pylk> :P
1308: [14:15:50] <kinglozzer> Pylk: oic, I thought you were setting a challenge to do it with regex :P
1309: [14:16:02] <Pylk> ha, nope :<
1310: [14:16:15] <Pylk> regex is FSM, so it would be a bit silly.
1311: [14:16:16] * catcher has joined #silverstripe
1312: [14:16:36] <Pylk> regex is for collecting tokens, NOT parsing itself.
1313: [14:17:01] <catcher> Anyone here familiar with the security / reset password routines? Will I break someone else's password reset link if I visit it?
1314: [14:17:14] <Pylk> a mistake every newbie or webernet retard makes.
1315: [14:17:26] <Pylk> 'how can I parse all this html with a single regex?' derp derp derp
1316: [14:17:39] <Pylk> catcher: probably
1317: [14:28:04] <Pylk> fuck you php, how to get a number _maintaining type_ out of a string? is_numeric returns true for 3.2, but intval(string) is obviously just 3, which is shit.
1318: [14:28:17] <Pylk> I could floatval() but then I wouldn't have ints (i only want ints)
1319: [14:28:36] <Pylk> fuckit, I'm using a closure.
1320: [14:29:03] * spronk2 quit (Quit: spronk2)
1321: [14:33:26] <Pylk> $ids = array_filter($ids, function($n){return preg_match('/^\d+$/', $n);}); all the complicate :<
1322: [14:39:25] <catcher> I have recurring issues with the emailed password reset link directing people to the login page, or the password reset form that prompts for their old password.
1323: [14:39:44] <catcher> anyone else encounter this or know how to address?
1324: [14:40:15] <Pylk> svandragt: because you're in control of the flow.
1325: [14:40:21] <Pylk> sorry didn't see your question bfore.
1326: [14:40:38] <Pylk> canEdit and canDelete are only effective if they're called!
1327: [14:40:54] <Pylk> if you have a function that deletes them without checking, then so be it.
1328: [14:41:00] <Pylk> deletes/edits
1329: [14:41:13] <svandragt> Pylk: So they are not checked by the editform's save/delete button or the editform when displaying fields?
1330: [14:41:32] <Pylk> svandragt: in the cms?
1331: [14:41:40] <svandragt> Pylk: because I have to manually remove the action buttons and make all fields readonly. Yes. (3.0 though)
1332: [14:41:43] <Pylk> catcher: nfi sorry
1333: [14:42:00] <svandragt> Pylk: modeladmin :)
1334: [14:42:08] <Pylk> svandragt: well you're doing the wrong thing.
1335: [14:42:26] <Pylk> modeladmin should prevent someone from opening the edit form IIRC if they can't edit it.
1336: [14:42:31] <Pylk> it won't show the edit button.
1337: [14:42:48] <Pylk> only view, and view is readonly anyway.
1338: [14:42:58] <Pylk> you shouldn't have to do anything except manage user permissions.
1339: [14:43:18] <Pylk> iirc
1340: [14:43:32] <Pylk> been a while since I did any of that jazz
1341: [14:44:52] <svandragt> Pylk: ok thanks well in 3.0.15 it's not working like that or I'm doing something else wrong :)
1342: [14:46:35] <svandragt> Pylk: in the "list view" modeladmin correctly removes the edit/delete button but if I know the URL or use the dashboard module to get into the dataobject then it's acting as if I've got edit/delete permissions. When I try and delete the item it fails but editing works ok. weird.
1343: [14:46:45] <svandragt> *editing succeeds
1344: [14:47:04] <Pylk> svandragt: list view isn't model admin.
1345: [14:47:11] <Pylk> it's list view.
1346: [14:47:35] <Pylk> should have the same permissions as that user would normally have when editing the page through tree view.
1347: [14:48:44] <svandragt> $this->canEdit() is false I guess tomorrow I will check the forums or the bug trackers
1348: [14:48:58] <Pylk> svandragt: as you describe there (manually entering edit link and having it succeed) the I'd ensure that it's right (perhaps make a new user, set it up with limited permissions, use another browser to log in and test) - then if it is I'd make an issue on github - that's a reasonably serious security issue.
1349: [14:49:13] <Pylk> svandragt: is this a Page you're talking about, yeah?
1350: [14:49:32] <svandragt> Pylk: no a dataobject
1351: [14:49:57] <Pylk> svandragt: well then you've completely confused me, because only pages are in list view.
1352: [14:50:01] <Pylk> you're confusing your terms.
1353: [14:50:14] <Pylk> perhaps a peek or summary of code would help.
1354: [14:50:45] <svandragt> Pylk: sorry ok hold on
1355: [14:53:04] * ocm has joined #silverstripe
1356: [15:00:49] <svandragt> Pylk: This exampple is derived from my codebase: https://gist.github.com/svandragt/b151bbf2efd0138d5e04
1357: [15:02:05] <Pylk> svandragt: permission provider interface isn't being implemented.
1358: [15:02:13] <svandragt> Pylk: No i took that out
1359: [15:02:43] <svandragt> Pylk: to make the example shorter
1360: [15:02:49] <Pylk> ah yeh
1361: [15:03:14] <Pylk> but you don't need that for canEdit, etc is what I was going to point out, but if you are implementing it further down then OK
1362: [15:04:08] <Pylk> svandragt: yeah, weird. I'd log an issue on that, especially if you change canEdit to { return false; } and it still lets you do it directly via url.
1363: [15:05:08] <svandragt> Pylk: added the canView which returns true in the example. Yeah I will verify this on a blank 3.0.latest and then proceed.
1364: [15:07:42] <Pylk> cool, cheers :)
1365: [15:12:13] * Shrike_Finland quit (Quit: Leaving.)
1366: [15:13:51] * ARNHOE quit ()
1367: [15:27:29] * jenniferaslan has joined #silverstripe
1368: [15:44:19] * ThePeach has joined #silverstripe
1369: [15:45:08] <ThePeach> hi all, I've changed the name of one of the extensions but now when I try to execute a task it complains about the config missing of the old name of the extension
1370: [15:45:22] <Pylk> did you build?
1371: [15:45:25] <ThePeach> yup
1372: [15:45:34] <ocm> Rename the name in config.yml ?
1373: [15:45:36] <ThePeach> I get the error only when executing the task from the cli
1374: [15:45:42] <Pylk> by extension do you mean module?
1375: [15:45:44] <ThePeach> ocm, good point, let me have a look
1376: [15:45:53] <Pylk> ocm: irrelevant
1377: [15:45:59] <ocm> oh is it?
1378: [15:46:03] <Pylk> yes.
1379: [15:46:05] <ocm> I though it was necesarry to be picked up
1380: [15:46:16] <Pylk> name your config blocks whatever the hell you want :>
1381: [15:46:20] <Pylk> nope.
1382: [15:46:39] <ocm> will do, next time I name it: whateverthehelliwant
1383: [15:46:41] <Pylk> they require a name so the system can build a DAG to get the ordering right.
1384: [15:46:57] <Pylk> so long as names are unique, it should be fine.
1385: [15:47:26] <Pylk> even if they're not, I'm not sure what would happen. It might do some weird merge type thing. IDK.
1386: [15:47:34] <Pylk> I'd hope it'd error though.
1387: [15:47:43] <ThePeach> module, anyway
1388: [15:47:52] <ThePeach> and no it's not in the _config.yml
1389: [15:47:53] * NETim has joined #silverstripe
1390: [15:48:09] <Pylk> ThePeach: right, say module then, because extension can be class yourExtension extends Extension
1391: [15:48:13] <ThePeach> sorry
1392: [15:48:27] <Pylk> or if we're being technical, class yoursubclass extends superclass
1393: [15:48:30] <Pylk> etc.
1394: [15:48:36] <ThePeach> fair enough
1395: [15:48:41] <Pylk> :>
1396: [15:49:01] <Pylk> so what is the actual error, verbatim?
1397: [15:49:08] <ThePeach> let me pastebin it
1398: [15:49:15] <NETim> Anyone know of a way to increase the number of dataobjects shown in the default model admin scaffolding in SS2.4?
1399: [15:49:15] <Pylk> well, cut out paths if they contain sensitive stuff.
1400: [15:49:28] <Pylk> NETim: yes, there's a static for it iirc.
1401: [15:49:33] <Pylk> or an instance setting.
1402: [15:49:38] <Pylk> one of them.
1403: [15:49:46] <Pylk> api.silverstripe.org/2.4
1404: [15:49:46] <NETim> Thought it would be something.
1405: [15:50:39] <Pylk> public static set_page_length()
1406: [15:51:27] <NETim> cheers.
1407: [15:51:47] <Pylk> NETim: if you want to do it per instance rather than all of them, then you need to get the tablefield and modify it's settings.
1408: [15:52:39] <Pylk> $tablefield->setPageSize($size)
1409: [15:52:53] <ThePeach> http://pastebin.com/5GdkP9EC
1410: [15:53:00] <ThePeach> Pylk: ^
1411: [15:53:34] <Pylk> ThePeach: didn't build.
1412: [15:53:44] <ThePeach> let me try again
1413: [15:53:48] <ThePeach> odd
1414: [15:54:19] <Pylk> [16:45] <ThePeach> I get the error only when executing the task from the cli
1415: [15:54:33] <Pylk> ThePeach: works now?
1416: [15:54:43] <NETim> Thanks Pylk.
1417: [15:54:51] <Pylk> NETim: no bother
1418: [15:55:17] <Pylk> NETim: where do you hail from then?
1419: [15:55:19] <ThePeach> Pylk: I'm running http://site/dev/build but I keep getting the error _and_ the changes
1420: [15:55:30] <ThePeach> I must be doing something wrong
1421: [15:55:47] <Pylk> ThePeach: haha, what version are you running?
1422: [15:55:53] <ThePeach> 3.1 I presume
1423: [15:55:54] <ThePeach> let me check
1424: [15:55:59] <Pylk> 3.1.?
1425: [15:56:05] <NETim> UK
1426: [15:56:11] <Pylk> NETim: yes I know that.
1427: [15:56:17] <NETim> Northants, you?
1428: [15:56:17] <ThePeach> yup 3.1
1429: [15:56:29] <Pylk> NETim: where is that?
1430: [15:56:43] <NETim> the glorious county of northamptonshire
1431: [15:56:45] <Pylk> Oh northamton
1432: [15:56:47] <Pylk> yeh
1433: [15:57:07] <NETim> what about you?
1434: [15:57:16] <Pylk> I hail from where the only shire has hobbits in it.
1435: [15:57:29] <NETim> ah, new zealand
1436: [15:58:16] <NETim> or middle earth...
1437: [15:58:53] <ThePeach> Pylk: and I'm logged in as admin
1438: [15:58:54] <Pylk> Silverstripe, hailing from the middle of middle earth (so declareith the airport terminal)
1439: [15:59:07] <Pylk> ThePeach: yeah, well that's not going to stop a php error though.
1440: [15:59:27] <ThePeach> Pylk: no I'm referring to /dev/build not actually doing anything
1441: [15:59:29] * shellbackpacific has joined #silverstripe
1442: [15:59:51] <Pylk> ThePeach: probably because there's a great big error cancelling it from execution
1443: [16:00:02] <Pylk> require_once
1444: [16:00:45] <Pylk> fatal error
1445: [16:01:08] <Pylk> ThePeach: just go the cheat way, delete the cache folder.
1446: [16:01:23] <Pylk> rm -rf /tmp/whateveritis
1447: [16:01:50] <Pylk> or rm -rf /installation/root/silverstripe-cache
1448: [16:02:15] <Pylk> depending on your setup
1449: [16:02:50] <ThePeach> k
1450: [16:03:16] <ThePeach> I still don't get why dev/build will not apply the changes, without giving me any error
1451: [16:03:23] <Pylk> hell for all I know it could be delete c:\windows\temp\whatevers
1452: [16:03:32] <Pylk> because it's trying to load the manifest first I'd say.
1453: [16:03:36] <Pylk> the current one.
1454: [16:03:43] <Pylk> to see what's changed.
1455: [16:03:46] <ThePeach> ah ok
1456: [16:03:52] <ThePeach> make sense
1457: [16:03:58] <ThePeach> ok anyway now the cli works fine
1458: [16:04:01] <Pylk> it probably shouldn't... idk.
1459: [16:04:26] <ThePeach> what are the consequences of deleting the cache folder? I'm going to do the same on the live environment if the same thing happens
1460: [16:04:51] <ThePeach> I mean, users will have some errors I presume
1461: [16:04:52] <Pylk> ThePeach: depending on the version (and I'm not sure when/if it's changed yet, could be 3.2 which is unreleased) there are different manifests for different environments. ie. CLI gets it's own manifest, unaltered by web requests (which have their own manifest too)
1462: [16:05:18] <Pylk> that stops things like www-data blocking cli script from running because it has ownership of all the files, etc.
1463: [16:05:35] <Pylk> but I dunno if that's an active thing yet. If not, it's coming.
1464: [16:05:55] <ThePeach> k
1465: [16:05:59] <ThePeach> thanks for the info
1466: [16:06:02] <Pylk> but that's also a gotcha in that http://yoursite/dev/build won't affect cli dev/build
1467: [16:06:09] <Pylk> so yeah.
1468: [16:06:20] * Pylk shrugs
1469: [16:07:31] <ThePeach> Pylk: I've tried on another environment, and the dev/build from the command line actually worked
1470: [16:07:42] <ThePeach> magic
1471: [16:10:49] * NETim quit (Ping timeout: 246 seconds)
1472: [16:10:51] <ThePeach> Pylk: thanks for the help
1473: [16:11:16] * fdrechsler has joined #silverstripe
1474: [16:16:53] * caamic30 quit (Quit: caamic30)
1475: [16:19:39] * daslicht has joined #silverstripe
1476: [16:23:55] * daslicht quit (Client Quit)
1477: [16:31:08] * kinglozzer quit ()
1478: [16:32:00] * stnvh quit ()
1479: [16:33:12] <Pylk> you're welcome ThePeach
1480: [16:33:16] * Pylk quit ()
1481: [16:42:58] * muskie9 quit (Ping timeout: 240 seconds)
1482: [16:46:59] * muskie9 has joined #silverstripe
1483: [17:02:28] * meow--- has joined #silverstripe
1484: [17:03:38] * meow-- quit (Ping timeout: 240 seconds)
1485: [17:10:47] * ThePeach quit (Quit: leaving)
1486: [18:03:18] * pixelboy_ quit (Ping timeout: 240 seconds)
1487: [18:10:33] * gelignite has joined #silverstripe
1488: [18:26:56] <shellbackpacific> how do i manually retrieve a form field from a form object to validate it?
1489: [18:27:11] <shellbackpacific> tried: getField
1490: [18:27:39] <catcher> shellbackpacific, $form->Fielst()->fieldByName()
1491: [18:27:47] <catcher> Fields() rather
1492: [18:27:49] <catcher> which is a FieldList
1493: [18:29:12] <shellbackpacific> so: $form->Fields()->fieldByName('Email'); ?
1494: [18:29:17] <shellbackpacific> field name is 'Email'
1495: [18:33:43] <shellbackpacific> nevermind..i think i mangled something which is the root of my issue. thanks catcher
1496: [18:34:59] <catcher> shellbackpacific, np, and yes
1497: [19:12:48] * pixelboy_ has joined #silverstripe
1498: [19:29:06] * UndefinedOffset quit (Quit: Leaving.)
1499: [19:52:00] * scpi has joined #silverstripe
1500: [19:55:03] * wilson has joined #silverstripe
1501: [19:55:04] <wilson> wilson
1502: [19:55:27] * wilson is now known as Guest35828
1503: [19:55:27] <Guest35828> Hi, how to bypass date.timezone for the install? I dont have access to php.ini
1504: [19:56:31] <muskie9> Guest35828 have you tried htaccess: php_value date.timezone "Time/Zone"
1505: [19:56:54] * travis-ci has joined #silverstripe
1506: [19:56:55] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2870 (master - 80270c5 : Damian Mooyman): The build is still failing.
1507: [19:56:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/50a2816c6941...80270c521db1
1508: [19:56:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/30011987
1509: [19:56:55] * travis-ci has left #silverstripe
1510: [19:57:16] <Guest35828> Hi Muskie, everytime i try to add a .htacess BEFORE the install, it gives me an error. How to write that .htaccess
1511: [19:57:55] <muskie9> is the install failing due to the date.timezone
1512: [19:58:14] <Guest35828> Yes. I mean, where to add php_value date.timezone "Montreal/America" in .htaccess SS code?
1513: [19:58:23] * UndefinedOffset has joined #silverstripe
1514: [19:58:32] <shellbackpacific> how do i validate a form server side w/o turning on html5 validation?
1515: [19:58:57] <shellbackpacific> do i have to do it all manually?
1516: [19:59:38] <Guest35828> muskie9 => go see http://www.college-st-paul.qc.ca/new/install.php or http://www.college-st-paul.qc.ca/new/phpinfo.php for server details
1517: [20:00:54] <muskie9> Guest35828, I've never seen that pop up... do you have shell access?
1518: [20:01:07] <muskie9> shellbackpacific: http://doc.silverstripe.com/framework/en/topics/forms#using-form-fields
1519: [20:01:28] <Guest35828> muskie9 => what pop-up? Shell access? Only Cpanel from Funio.
1520: [20:01:30] <muskie9> line 12 delcares RequiredFields for a custom form
1521: [20:01:42] <catcher> Does SearchContext support related objects?
1522: [20:01:48] <catcher> Dot notation and whatnot?
1523: [20:02:13] <muskie9> catcher, I think so... sometimes, have had mixed success
1524: [20:02:18] <Guest35828> muskie9 and cather => isnt there a way top disable timezone requirements in the install.php? Remember doing that once.
1525: [20:03:43] <shellbackpacific> muskie9: right…the problem is that using that turns on html5 validation
1526: [20:05:03] * antmas has joined #silverstripe
1527: [20:05:49] <muskie9> shellbackpacific, might be something with the setAttribute function: http://api.silverstripe.org/3.1/class-Form.html#_setAttribute
1528: [20:06:03] <muskie9> but I do recall seeing that ability somewhere
1529: [20:06:55] <muskie9> Guest35828, the installer uses ini_get(), not sure if using ini_set somewhere would do it: http://php.net/manual/en/function.ini-set.php
1530: [20:07:05] <shellbackpacific> yeah i set $form->setAttribute('novalidate', 'novalidate'); and now the php handler doesn't get called :/
1531: [20:07:10] <muskie9> https://github.com/silverstripe/silverstripe-framework/blob/3.1/dev/install/install.php5#L585
1532: [20:08:16] <shellbackpacific> tried it on the form field too…not sure adding 'required' in the html is a good idea
1533: [20:10:34] <Guest35828> muskie9 => do i comment all function? or what inside?
1534: [20:11:36] <Guest35828> muskie9 => do i simple add the correct timezone instead of ini_get('date.timezone')
1535: [20:13:11] * mobiusnz quit (Quit: Leaving.)
1536: [20:13:14] <muskie9> Guest35828 not sure commenting it out is the right way to do it... something else in the framework may need the timezone... maybe add ini_set('date.timezone', 'YourTimeZone'); at the beginning of the file... similar to https://github.com/silverstripe/silverstripe-framework/blob/3.1/dev/install/install.php5#L20
1537: [20:14:52] <Guest35828> Nope. Didnt work. This is freaky sh....
1538: [20:15:14] <Guest35828> How does something so small stalls an install.
1539: [20:15:59] * Kingy[a] is now known as Kingy
1540: [20:16:43] <Guest35828> muskie9 => funny thing is that phpinfo.php shows that date.timezone is applied.
1541: [20:17:13] <muskie9> I see it as no value in local and master
1542: [20:17:45] <Guest35828> muskie9 => how about this? http://www.silverstripe.org/installing-silverstripe/show/15398?start=16 as i said if modify .htaccess BEFORE install, it returns an error. I mispelled somethng?
1543: [20:18:48] <muskie9> could be, if it was erroring before when you tried it you may have a spelling error or something
1544: [20:19:00] <Guest35828> Youre right: it says Deflau Value. Not enough for SS?
1545: [20:19:28] <antmas> wasn't there a release last night or early this morning?
1546: [20:19:53] <muskie9> default is set, but SS looks below that (Directive) date.timezone => no value => no value
1547: [20:20:27] <Guest35828> muskie9 => lets say i have the basic .htaccess http://pastebin.com/eu2BMBVt where and how to add date.timezone
1548: [20:21:45] <muskie9> I would guess something like this: http://pastebin.com/FwmsupkK
1549: [20:21:51] <Stomach> you cant set the timezone via htaccess
1550: [20:22:12] * Cheddam has joined #silverstripe
1551: [20:22:32] <Stomach> you can set it at the start of the install script though: http://php.net/manual/en/function.date-default-timezone-set.php
1552: [20:24:25] <Guest35828> stomach => which script? install.php5 ? can you PasteBin something for me? Really stuck on this and host provider isnt avalaible (holidays)...
1553: [20:26:16] * mobiusnz has joined #silverstripe
1554: [20:27:24] <Guest35828> muskie9 and stomach => ive tried this ini_set('date.timezone', 'Montreal/America'); at the beginning of install.php5 to no results. Do i have to comment the date.timezone function below?
1555: [20:28:03] <muskie9> try http://pastebin.com/xFwWLE1X but with your timezone: line 17
1556: [20:29:43] <Guest35828> muskie9 => same results. But this is default. Havent you said we need local and server?
1557: [20:33:22] * r3v3rb has joined #silverstripe
1558: [20:33:32] <r3v3rb> evening
1559: [20:34:26] <muskie9> that method should set the default timezone used by all date/time functions in a script... so in theory it should do what is needed
1560: [20:34:34] <r3v3rb> in this: $this->dbObject(“EmailText”) will ‘EmailText’ have the default shortcode parsers applied when emailed using setTemplate?
1561: [20:35:38] <r3v3rb> for example if I add a link to a page on the site, or should I use ShortcodeParser::get(‘default’)->parse(‘EmailText’) explicitly before sending the DO to the setTemplate call?
1562: [20:38:01] * nickmolhoek has joined #silverstripe
1563: [20:38:20] * srixon has joined #silverstripe
1564: [20:38:25] <srixon> srixon
1565: [20:38:30] <Stomach> r3v3rb, I'm not sure of that one
1566: [20:38:37] <Stomach> try it and see?
1567: [20:38:38] <srixon> muskie9 => ive been sigbned off.
1568: [20:38:56] <srixon> stomach and muskie9 => still stucked with the isntall.
1569: [20:39:13] <r3v3rb> Stomach: yeh, first couple of tests show it needs an explicit parse called before being sent to template
1570: [20:40:01] <muskie9> srixon, do you have your database ready to go (no tables built, but the database created)?
1571: [20:40:40] * Guest35828 quit (Ping timeout: 246 seconds)
1572: [20:41:24] * Ryan-Toast has joined #silverstripe
1573: [20:42:12] <srixon> muskie9 => i am migrating a site from one server to another, so the DB is stuffed.
1574: [20:43:11] <srixon> muskie9 => your trick (coupled with commenting the date.timezone function) installs but returns error. It is not safe to rely on the system's timezone settings
1575: [20:43:12] <muskie9> k, so no need to do a fresh install if you can import the database... have you used _ss_environment.php before?
1576: [20:43:40] <srixon> have you used _ss_environment.php nope. Its a SS3.1.2 install. The old site is build on this.
1577: [20:45:32] <srixon> muskie9 => it has installed buit with weird errorsd : [Warning] strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/D
1578: [20:45:43] <muskie9> that's fine... here's a boilerplate environment file, I've added the timezone setting at line 17 http://pastebin.com/X8zfnn18
1579: [20:46:15] <muskie9> we'll need to adjust your config.php file, but first update the defines in the environment file to match the db settings in your config.php file
1580: [20:47:03] <srixon> is it compatible with SS3.1.2?
1581: [20:47:17] <muskie9> yes, all the way back through 2.4
1582: [20:47:35] <muskie9> essentially we're doing this: http://doc.silverstripe.org/framework/en/topics/environment-management#setting-up-your-development-machine-with-ss-environment-php
1583: [20:51:25] * r3v3rb_ has joined #silverstripe
1584: [20:52:33] * r3v3rb quit (Ping timeout: 240 seconds)
1585: [20:52:34] * r3v3rb_ is now known as r3v3rb
1586: [20:52:51] <srixon> muskie9 => ok files are in place. What to do? run mysite/install.php?
1587: [20:53:47] <muskie9> you'll need to update your mysite/_config.php file to require the _ss_environment.php file you just created, unless you've already done that
1588: [20:54:46] <srixon> muskie9 => gives me this Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID 'Montreal/America' is invalid in /home/colleges/public_html/new/_ss_environment.php on line 17
1589: [20:55:31] <muskie9> try America/Montreal
1590: [20:55:39] <srixon> _config.php includes this require_once("_ss_environment.php");
1591: [20:56:02] <muskie9> your require should be: require_once("conf/ConfigureFromEnv.php");
1592: [20:56:04] <srixon> But do i run mysite/install.php?
1593: [20:56:27] <srixon> _ss_environment.php is at root level? COrrect?
1594: [20:57:01] <muskie9> can be, or can be above root, but if your database settings are correct you shouldn't have to install... just run dev/build
1595: [20:57:57] <muskie9> install writes/updates the _config.php file... since we've set the database settings in _ss_environment.php there's no need to run the installer
1596: [20:58:06] <srixon> muskie9 -> [User Error] Couldn't run query: CREATE DATABASE "(colleges_db2014)" whats the path to the DB?
1597: [20:58:25] <srixon> or is it just db2014
1598: [20:59:02] <muskie9> should be whatever the database name is
1599: [20:59:49] <srixon> yeah but like this colleges_us2014 or like this us2014
1600: [21:00:58] * irogue_ has joined #silverstripe
1601: [21:01:40] <srixon> this is driving me insane...... all this shit for the date.timezone? What do other people do in that situation?
1602: [21:01:51] <Kingy> hey guys, instead of doing a <% loop Products.GroupedBy(ProductType) %> is there some way to get a specific Product.ProductType?
1603: [21:02:39] <srixon> muskie9 => do i need this in _config.php => global $database; $database = '(colleges_db2014)';
1604: [21:03:18] <muskie9> not if you set the SS_DATABASE_NAME in the environment file
1605: [21:06:19] <srixon> muskie9 -=> it plainly just not working.... it says that it cant find the database. But with traditionnal install, it does.
1606: [21:06:43] <srixon> try it => http://www.college-st-paul.qc.ca/new/dev/build
1607: [21:08:48] <antmas> Ryan-Toast: you see Keisha Castle-Hughes is going to play one of the sand vipers?
1608: [21:08:58] <Stomach> srixon, thats giving me access denied?
1609: [21:09:17] <Ryan-Toast> antmas: I saw that :)
1610: [21:09:33] <Stomach> srixon, Access denied for user 'us2014'@'localhost' (using password: YES)
1611: [21:09:34] <antmas> Ryan-Toast: Awesome. Awesome indeed.
1612: [21:10:16] <Ryan-Toast> antmas: Wonder who she’ll play
1613: [21:10:33] <antmas> Ryan-Toast: hmmmm, not somebody super young
1614: [21:10:37] <antmas> maybe a Sand?
1615: [21:10:48] <Ryan-Toast> antmas: Probs
1616: [21:11:32] <srixon> stomach => i know. But myPHPAdmin clearly identifies the DB and USER as colleges_db2014 and colleges_us2014. As i said, the standard install procedures correclty find thos items
1617: [21:12:20] <Stomach> the user is set as 'us2014' not 'colleges_us2014' though?
1618: [21:12:32] <muskie9> ^^
1619: [21:13:04] <srixon> stomach and muskie9 => in _ss_environment, should it be define('SS_DATABASE_USERNAME', 'colleges_us2014'); or define('SS_DATABASE_USERNAME', 'us2014'); knowing that colleges_ is a prefix. Ive tried adding DATABASE PREFIX to no avail.
1620: [21:13:11] * shellbackpacific quit (Ping timeout: 264 seconds)
1621: [21:13:19] <Stomach> use define('SS_DATABASE_USERNAME', 'colleges_us2014');
1622: [21:13:32] <Stomach> the database prefix is only for the database name, not the user/password
1623: [21:14:05] * catcher quit (Quit: Leaving)
1624: [21:17:32] <srixon> Dont ask me why. It works now...... i can access the admin...
1625: [21:18:29] <muskie9> anymore timezone error
1626: [21:18:59] <srixon> last question (hopefully).... the site is in mysite/new when gong live, i modify .htaccess and remove rewrite rule /new ???
1627: [21:19:52] <srixon> muskie=> no error. But date.timezone still shows no value in phpinfo.php
1628: [21:20:35] <muskie9> right, cause the ini isn't set, but the line in ss environment should set it at runtime (I think)
1629: [21:20:50] * r3v3rb quit (Read error: No route to host)
1630: [21:21:22] * r3v3rb has joined #silverstripe
1631: [21:22:47] <muskie9> re: the rewrite rule, if you end up moving the installation into the root then yes, rewrite would become '/' I believe
1632: [21:24:41] <srixon> muskie9 => thanks fopr your time. All this for a mere date.timezone. In fact, the problem is more that i dont have access to php.ini on that shared server. Nothing to do with SS.
1633: [21:25:27] <srixon> muskie9 => what advantages using _ss_envrironment.php vs a standard install.php ?
1634: [21:26:51] <Stomach> install.php sets up the _ss_environment for you I believe
1635: [21:27:17] <muskie9> Stomach, no... writes/re-writes _config.php with database info... unfortunately
1636: [21:27:25] <Stomach> oh, dumb
1637: [21:28:19] <srixon> So, its a do or a dont (using _ss_envrironment) ?
1638: [21:28:30] * r3v3rb quit (Ping timeout: 250 seconds)
1639: [21:28:31] <muskie9> I tend to use the boilderplate environment file I posted above, adjust the database settings and dev/build... rather than go through the installer, and you can place it a dir above root so your db info is more secure
1640: [21:28:41] * fdrechsler quit (Remote host closed the connection)
1641: [21:28:52] <Stomach> yeah we do the same as what muskie9 has outlined
1642: [21:29:53] <muskie9> handy if you use something like vagrant... can spin up instances w/the environment file all set so once your server's ready the installation is pretty much taken care of and you're off
1643: [21:30:22] <srixon> I am not even using Composer.... i always develop on the real server (in a secured folder - not this time though)...
1644: [21:30:54] <muskie9> srixon, using git I hope
1645: [21:31:13] <muskie9> if not, I'd recommend starting there at least
1646: [21:32:18] * simon_w has joined #silverstripe
1647: [21:32:25] <srixon> I FTP the files to the /new folder. Run mysite/install.php then run. This way,m i am sure there is no server discrepacies between my MAMP and the local server. Who can i emulate Windows IISS on my Mac.....
1648: [21:33:42] <muskie9> you lost me at Windows :P
1649: [21:33:47] * r3v3rb has joined #silverstripe
1650: [21:35:18] <muskie9> I'm trying to figure out how to handle that sort of thing... have a couple projects coming up where I'll have to run SS on IIS
1651: [21:35:38] * UncleCheese has joined #silverstripe
1652: [21:35:39] * gelignite quit (Quit: http://bit.ly/nkczDT)
1653: [21:37:32] <simon_w> You'll need to install IIS locally if you want to test the server setup, which requires Windows
1654: [21:38:40] * scpi quit (Quit: scpi)
1655: [21:39:27] <muskie9> that or a cheap host to practice on... primarily a mac shop with maybe one windows machine... might need to convince the higher ups to get a test machine
1656: [21:40:04] <srixon> muskie9 => my eyes still soar about that install.... I mean, i once had to run a site on a Windows IISS server. I could never emulate a Windows IIs server on my Mac. So i couldnt develop locally.
1657: [21:40:45] <muskie9> anyone know of a vagrant instance for local IIS development???
1658: [21:41:21] <srixon> Believe me, running SS on Windows IIs server is doable, but requires a LOT of ducktape.... as with all MS product. Not my idea to bash MS, but their products are eay too heavey. How can Word wieght 3 GB is still a mystery to me...
1659: [21:42:13] * Colin[pi] has joined #silverstripe
1660: [21:45:53] <Colin[pi]> moin moin
1661: [21:46:05] <mobiusnz> why isn't there an English (New Zealand) locale option in silverstripe-installer?
1662: [21:47:05] <Colin[pi]> mobiusnz: there was, in 2.4 at least
1663: [21:47:24] <Colin[pi]> woah wtf, five ops?
1664: [21:47:27] <antmas> what icon would represent 'cultural heritage'?
1665: [21:47:44] <mobiusnz> Colin[pi]: there's English UK and US, and Maori NZ
1666: [21:48:01] <Colin[pi]> antmas: depends on the culture
1667: [21:48:17] <antmas> Colin[pi]: this is nz specific
1668: [21:48:37] <antmas> it's for an app/db that pertains to cultural heritage sites in nz
1669: [21:49:42] <Colin[pi]> antmas: hmm some sort of maori symbol? or is that problematic/incorrect?
1670: [21:49:45] <simon_w> antmas, sounds like something whatever ministry's in charge of culture should have
1671: [21:50:11] <antmas> simon_w: true, I'll check the govt. one
1672: [21:50:27] <antmas> Colin[pi]: yeah I was thinking that, but it's not all maori site related
1673: [21:50:34] <Colin[pi]> antmas: mm
1674: [21:51:01] <Colin[pi]> that's a tough one because cultural heritage can mean a lot of different things
1675: [21:51:26] <antmas> yeah and Tasman (this district) has a pretty diverse one
1676: [21:51:33] <antmas> I'll come back to it
1677: [21:52:16] <Colin[pi]> 7F1AAQY70 = willr ?
1678: [21:52:32] <7F1AAQY70> Don’t think so
1679: [21:52:45] <antmas> it's a bot
1680: [21:52:48] <antmas> :)
1681: [21:52:59] <Colin[pi]> 7F1AAQY70 what movies are playing in my area?
1682: [21:53:31] <mobiusnz> the ministry of culture and heritage has a pretty rubbish logo
1683: [21:54:02] <antmas> it needs to be simple too
1684: [21:54:09] <mobiusnz> http://www.mch.govt.nz/files/MCH_rgb.eps
1685: [21:54:18] * antmas_ has joined #silverstripe
1686: [21:54:41] <Colin[pi]> mobiusnz: I've seen worse
1687: [21:54:43] <mobiusnz> I guess you could take the words out if that and keep the circle and line emblem, but it's not immediately obvious that it means culture or heritage
1688: [21:54:51] <antmas_> all my icons are white on a coloured background
1689: [21:54:59] <antmas_> mobiusnz: link?
1690: [21:55:11] <mobiusnz> antmas_: http://www.mch.govt.nz/files/MCH_rgb.eps
1691: [21:55:14] <antmas_> wait, nvm
1692: [21:55:29] <antmas_> hmmmm
1693: [21:55:40] <Colin[pi]> there's something about Westnet's logo that.... reminds me of something: http://www.blues.westnet.com.au/Westnet_Logo_01.jpg
1694: [21:55:57] <UncleCheese> does anyone know how to get a DataList to use disjunctive grouping?
1695: [21:55:57] <antmas_> Colin[pi]: Goetze
1696: [21:56:02] <Colin[pi]> ^ lol
1697: [21:56:10] <UncleCheese> i see it in the api, but it looks scary
1698: [21:56:45] <simon_w> UncleCheese, filterAny()
1699: [21:56:53] <UncleCheese> yessssssss
1700: [21:57:05] <UncleCheese> i was looking at disjunctiveGroup()
1701: [21:57:15] <antmas_> Colin[pi]: yeah whenever I see his name in the news, I can't help but see it
1702: [21:57:42] <Colin[pi]> antmas_: it was all over twitter after the goal... GOATSE WIN THE WORLD CUP
1703: [21:58:01] * mediabeast has joined #silverstripe
1704: [21:58:22] * antmas quit (Ping timeout: 246 seconds)
1705: [21:58:43] <antmas_> lol
1706: [21:58:47] <simon_w> Colin[pi], also, Westnet's site reminds me of another one
1707: [21:58:50] <r3v3rb> in a modeladmin is it possible to get the value of a field before anything has been written - I have a drop down menu and a modeladmin action that needs to know what the user selected - but the field might not have been saved before they try clicking the action!
1708: [21:58:51] * antmas_ is now known as antmas
1709: [21:58:55] <simon_w> Perhaps, a more well known ISP
1710: [21:59:16] <Colin[pi]> simon_w: goatse was an ISP also?
1711: [21:59:28] <simon_w> r3v3rb, if the action's a form button, you've got the POST data
1712: [21:59:35] <simon_w> Colin[pi], yup: http://www.westnet.com.au/home/
1713: [21:59:38] <r3v3rb> simon_w: of course! lol
1714: [21:59:43] <r3v3rb> looking to deep again!
1715: [22:00:00] <mediabeast> hey, just wondering if something like laravels "beforeFilter" is on the cards for future releases of SS?
1716: [22:00:24] <Colin[pi]> simon_w: I'm confused, what site does it remind you of?
1717: [22:00:32] <simon_w> Colin[pi], http://www.iinet.net.au/home/
1718: [22:00:56] <simon_w> mediabeast, if someone wants to add it and say why it's needed
1719: [22:01:08] <Colin[pi]> simon_w: woah... wait, they're the same company now?
1720: [22:01:22] <antmas> they must be
1721: [22:01:26] <antmas> that is way too similar
1722: [22:01:37] <Colin[pi]> otherwise it's a blatant ripoff
1723: [22:01:47] <simon_w> Colin[pi], looks like they are
1724: [22:01:53] <Colin[pi]> ah yep "Now owned 100% by iiNet"
1725: [22:01:56] <Colin[pi]> http://www.westnet.com.au/about/
1726: [22:01:59] <Colin[pi]> phew
1727: [22:02:20] <simon_w> Lol, iiNet own goats
1728: [22:02:26] <Colin[pi]> copy + paste, ctrl + r iinet -> westnet
1729: [22:02:30] <Colin[pi]> DONE
1730: [22:02:34] <simon_w> *goatse
1731: [22:02:35] <antmas> $$$$$$
1732: [22:06:55] <antmas> great
1733: [22:07:07] <antmas> sent an email to someone with the last name Fletcher
1734: [22:07:23] <antmas> and started by saying 'Hey, Mr Feltch!'
1735: [22:07:34] <antmas> :<
1736: [22:07:40] <Colin[pi]> ROFL!
1737: [22:07:44] <Stomach> why does a cronjob just send me the content of the sake file
1738: [22:07:45] <Stomach> :S
1739: [22:07:53] <Colin[pi]> hahahaha that's something I would do antmas
1740: [22:08:04] <antmas> Colin[pi]: I hope he doesn't notice :O
1741: [22:08:44] <antmas> yup, he did
1742: [22:08:53] <antmas> he laughed about it though :)
1743: [22:09:14] <Colin[pi]> oh no, ahahaha
1744: [22:09:17] <Colin[pi]> oh shit
1745: [22:09:37] <Colin[pi]> digging a hole to crawl into now antmas?
1746: [22:09:58] <antmas> yeah I have a meeting with him tomorrow
1747: [22:10:03] <antmas> should be interesting :P
1748: [22:10:33] <Colin[pi]> "nah dont worry about it mate, happens all the time, five times today already!"
1749: [22:11:01] <Stomach> ugh, was running /usr/bin/php on framework/sake
1750: [22:11:03] <Stomach> silly stevie
1751: [22:11:25] <antmas> I've also sent more than one to our helpdesk guy saying 'Hey, Mr Weasel!' and his last name is Weaver
1752: [22:11:29] <antmas> fail antmas
1753: [22:11:50] <Colin[pi]> ahhaha
1754: [22:12:34] <Colin[pi]> in my yr 12 computing final project (programming) I left in a dialog box that called the teacher a complete bitch
1755: [22:12:48] <antmas> ooohhhh no!
1756: [22:12:49] <Colin[pi]> it was really difficult to trigger and I forgot about it
1757: [22:12:58] <Colin[pi]> guess who triggered it during the review of the program
1758: [22:13:02] <Colin[pi]> DATS RIGHT THU TEACHER
1759: [22:13:03] <Colin[pi]> :D
1760: [22:13:04] <Colin[pi]> :D
1761: [22:13:33] <Colin[pi]> but luckily she saw the light hearted side and had a laugh
1762: [22:13:45] <simon_w> Go time!
1763: [22:13:51] * simon_w quit (Quit: This computer has gone to sleep)
1764: [22:14:22] <antmas> 50 doge coin ss23 starts at 10.30 today
1765: [22:14:45] <Colin[pi]> he was up late/early?
1766: [22:14:58] <antmas> Colin[pi]: no idea lol
1767: [22:15:49] <antmas> that 15 min git tut is really good
1768: [22:15:57] <antmas> I went from n00b to nub
1769: [22:15:59] <antmas> :)
1770: [22:16:12] <Colin[pi]> which one?
1771: [22:17:26] <antmas> Colin[pi]: Icons_Env
1772: [22:17:28] <antmas> bah
1773: [22:17:34] <antmas> Colin[pi]: https://try.github.io/levels/1/challenges/1
1774: [22:18:04] <Colin[pi]> awesome thanks, I need to improve my git too
1775: [22:18:17] <antmas> it's very simple, but well explained for the basics
1776: [22:19:01] * mediabeast quit (Ping timeout: 246 seconds)
1777: [22:19:09] * UndefinedOffset quit (Quit: Leaving.)
1778: [22:23:27] <Stomach> Ryan-Toast, did you watch newbee bubble up yesterday? $450,000 day for them
1779: [22:24:00] <Ryan-Toast> Stomach: Don’t talk to me about that agame
1780: [22:24:18] <Stomach> what one? there were lots :P
1781: [22:24:21] <Ryan-Toast> fucking iG throws
1782: [22:24:48] <Stomach> game 3? that wasnt a throw
1783: [22:24:59] <Ryan-Toast> game one was
1784: [22:25:07] <Ryan-Toast> game three kind of was with their draft.
1785: [22:25:18] <Ryan-Toast> didn’t even expect them to last 20 minutes
1786: [22:25:18] <Stomach> nah they just missed their window
1787: [22:25:26] <Stomach> newbee just backed off from 15 - 35 minutes
1788: [22:25:35] <Ryan-Toast> theur window was so small.
1789: [22:25:42] <Ryan-Toast> Void comes online too early.
1790: [22:25:49] <Ryan-Toast> they should know that
1791: [22:26:12] <Stomach> 60 second ults is OP as shit
1792: [22:26:13] <Ryan-Toast> Teams keep letting Doom through the banning phase, drop a game and then ban him.
1793: [22:26:15] <Ryan-Toast> so dumb
1794: [22:27:14] <Ryan-Toast> ChuaN had some very questionable arrows
1795: [22:27:47] <Stomach> chuan was missing so many arrows
1796: [22:27:51] <Stomach> from easy setups
1797: [22:28:02] <Ryan-Toast> Literally non moving targets
1798: [22:28:28] <Colin[pi]> it's like the channel has suddenly changed to a different language
1799: [22:28:29] <Ryan-Toast> Bet on Newbee, and they lose to LGD, bet against them and iG throws. Rabble Rabble http://i.imgur.com/HbWBw6f.gif
1800: [22:29:04] <Stomach> lost the box
1801: [22:29:05] <Stomach> ruts.
1802: [22:31:22] <Stomach> Zauberfisch, sorry I didnt fix the emogrifier thing, I'll have a look at it later today once work calms down a bit :D
1803: [22:36:53] * srixon quit (Quit: Page closed)
1804: [22:39:14] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1805: [22:40:32] <Colin[pi]> things that make me rage: the cost of stock photos. things that make me rage more: that your credit with them EXPIRES.
1806: [22:41:11] <antmas> stock photos are a rip off
1807: [22:42:05] <Colin[pi]> I should have started a stock photo business :o
1808: [22:42:08] <ss23> antmas: BZZZZZZ
1809: [22:42:13] <ss23> antmas: You were off by 12 minutes
1810: [22:42:18] <antmas> ss23: :O
1811: [22:42:20] <Colin[pi]> lol
1812: [22:42:35] <antmas> ss23: wait, wha time did you enter the office?
1813: [22:44:32] <ss23> hmm
1814: [22:44:35] <ss23> probably ~35
1815: [22:45:11] <antmas> ;)
1816: [22:46:41] * zippy__ has joined #silverstripe
1817: [22:46:44] <zippy__> good mornings
1818: [22:47:05] <antmas> zippy__: howdies
1819: [22:47:37] <Ryan-Toast> Clash of clans is taking more and more of my time
1820: [22:48:37] <zippy__> Ryan-Toast: !
1821: [22:50:09] <Ryan-Toast> zippy__: !
1822: [22:50:32] <zippy__> I see that game advertised all the time
1823: [22:50:54] <Ryan-Toast> zippy__: I enjoy it.
1824: [22:51:00] <Ryan-Toast> zippy__: Just check on it twice a day.
1825: [22:51:17] <Zauberfisch> Stomach: no worries
1826: [22:51:24] <Zauberfisch> Stomach: fix should be rather easy though
1827: [22:51:29] <Zauberfisch> especially if we use composer
1828: [22:51:40] <Zauberfisch> just delete the thirdparty folder and add 1 line to composer.json
1829: [22:52:44] <zippy__> Ryan-Toast: http://www.shiningrocksoftware.com/game/ still play that?
1830: [22:52:56] <Ryan-Toast> zippy__: My mrs plays all the time.
1831: [22:53:01] <Ryan-Toast> Mod support is coming soon.
1832: [22:53:04] <antmas> anyone know how much it is to replace a glass door on a fire?
1833: [22:53:04] <Ryan-Toast> Which will be cool.
1834: [22:53:04] <zippy__> :)
1835: [22:53:26] <Ryan-Toast> zippy__: Inc brothel mod
1836: [22:53:33] <zippy__> Ryan-Toast: looks like he will do osx support first, which is cooler
1837: [22:53:41] <zippy__> antmas: there is the place just down by the car company, go and ask them
1838: [22:53:57] <Ryan-Toast> I forget about Macs sometimes.
1839: [22:54:32] <antmas> zippy__: thanks tah
1840: [22:54:33] <zippy__> antmas: or ring richmond glass, it's just tempered glass so they might be able to do it..
1841: [22:54:43] <Stomach> Zauberfisch, famous last words ;)
1842: [22:55:41] <zippy__> Metro fires use a 5mm thick ceramic glass
1843: [22:57:07] <zippy__> I have a model admin, and I want to import a list of items via a txt file. Just a bunch of codes. There is the csv importer but this file is not going to have a header at the top
1844: [22:57:15] <zippy__> Is there a way to use model admins import to import this?
1845: [22:58:31] <Ryan-Toast> Stomach: is your hype level appropriate? https://www.youtube.com/watch?v=55fBpL1IFvU
1846: [22:58:31] <antmas> zippy__: awesome, tah
1847: [23:00:40] * guci0_ quit (Ping timeout: 246 seconds)
1848: [23:05:13] <Stomach> Ryan-Toast, no
1849: [23:05:22] <Stomach> my girlfriends is getting up there
1850: [23:05:42] <Stomach> she screamed out "just exorcism those fuckers" during game 3 last night
1851: [23:05:44] <Stomach> I was shocked
1852: [23:05:52] <Colin[pi]> :o
1853: [23:06:19] <irogue_> zippy__: I play Banished :)
1854: [23:06:19] <ss23> lol @ IG lastpicking druid
1855: [23:06:30] <irogue_> also, I hope y'all play Mini Metro :-P
1856: [23:06:45] <Ryan-Toast> Stomach: You have done well, my son.
1857: [23:07:09] <Stomach> the brainwashing is getting there ;)
1858: [23:07:17] <Ryan-Toast> Stomach: Mine was hungover on Sunday so she watched a few games with me. She only plays Drow, so she didn’t know what was going on.
1859: [23:08:19] <Stomach> mines only just starting to get it
1860: [23:08:25] <Stomach> has a few favourite characters
1861: [23:08:27] <Stomach> fucking loves tinker
1862: [23:08:37] <Stomach> she doesnt play though, just watches
1863: [23:08:51] <ss23> >only plays drow
1864: [23:08:53] <ss23> QQQQQQQQQ
1865: [23:09:02] <ss23> Show her sniper, she'll *love* him
1866: [23:15:45] <Ryan-Toast> Stomach: Tinker picker!
1867: [23:15:58] <antmas> zippy__: just told the property manager to sort it :P
1868: [23:16:01] <Ryan-Toast> ss23: She likes the non reliance on items, as she’s terribad
1869: [23:16:11] <antmas> zippy__: what would you expect it to cost roughyl?
1870: [23:16:15] <antmas> roughly*
1871: [23:16:17] <zippy__> antmas: :) the joys of renting
1872: [23:16:40] <Cheddam> LOL, just got given an hour to prep for presenting SS in a meeting 1.5 hours from now (y)
1873: [23:17:23] <antmas> Cheddam: you got given time to prep?!? :O
1874: [23:17:28] <Colin[pi]> lucky bastard
1875: [23:17:43] <zippy__> antmas: dunno…
1876: [23:17:49] <Cheddam> antmas Better than no time at all I guess :P
1877: [23:17:58] * pixelboy_ quit (Ping timeout: 240 seconds)
1878: [23:18:09] <7F1AAQY70> Is it just me simon_w|work or does config’s ‘Only’ flag for environment doesn’t work at all?
1879: [23:18:25] <antmas> zippy__: we have $250 insta spend apparently, might be covered by that I hope
1880: [23:19:08] <zippy__> I was thinking $200 but it's a guess based on 0 data :)
1881: [23:19:20] <simon_w|work> 7F1AAQY70, supposed to have been fixed in a recent-ish version where those with an Only/Except go and get applied again after _config.php
1882: [23:19:50] <antmas> zippy__: you'd think it'd be cheap given it's just tempered glass help in by screews and a cloth seal :P
1883: [23:20:17] <zippy__> yea if it's just the glass it could be $80~ + $40~ labour
1884: [23:20:52] <antmas> zippy__: hopefully :P
1885: [23:20:59] <zippy__> don't worry.. I used to pump gas, so I know what Im talking about ;-)
1886: [23:21:17] <antmas> lol!
1887: [23:21:18] <antmas> :P
1888: [23:21:24] <Colin[pi]> antmas: some cockjockey broke my car's window to steal a $50 GPS a few years back, they quoted $530 to replace the window. A mate of mine is a mechanic, and did it for cost, which was $90 for the window, and it took him about 10 minutes to replace
1889: [23:21:46] <antmas> Colin[pi]: markups eh?
1890: [23:21:51] <Colin[pi]> dat markup, indeed
1891: [23:23:21] <zippy__> With the model admin and csv imports, it has a "Show specification" on the left hand side. Is it possible to turn that off, or change the contents of what is listed there? It doesn't seem to follow the column map
1892: [23:25:09] <Colin[pi]> zippy__: could through css? it has an id of "SpecFor{$ModelName}"
1893: [23:25:38] <Colin[pi]> I can't see another option for disabling it
1894: [23:29:28] <ss23> old-but-not-oldest-www old-www www
1895: [23:29:31] <ss23> PAST ME WHY DID YOU DO THIS ;_;
1896: [23:29:53] <irogue_> bahahahaha
1897: [23:30:23] <irogue_> this is why I always 20140716-www
1898: [23:31:39] * boytikz has joined #silverstripe
1899: [23:31:56] <ss23> well ls -lah tells me that
1900: [23:31:58] <ss23> I don't cp -a
1901: [23:32:31] <boytikz> Hi guys, I need to implement a dataobject with hierarchy, does ModelAdmin supports this?
1902: [23:33:43] <boytikz> How can I limit the records showing up in the grid to just the root records first?
1903: [23:34:29] <Ryan-Toast> What’s the best way to join two DataObject->get()->toArray()?
1904: [23:34:40] <Stomach> array_merge
1905: [23:34:49] <Stomach> oh no that wont work
1906: [23:35:02] <Ryan-Toast> hmm, actually nvm.
1907: [23:35:06] <Ryan-Toast> thought of a better way
1908: [23:35:31] <irogue_> [11:16:40] <Cheddam> LOL, just got given an hour to prep for presenting SS in a meeting 1.5 hours from now (y)
1909: [23:35:34] <irogue_> sounds joyous
1910: [23:36:34] <boytikz> basically what I want is quite similar to the Pages admin in List View, anyone have tried implementing something like this?
1911: [23:39:51] <antmas> YOU TAKE THE HIIIIGHHH ROAD DOWN
1912: [23:40:00] <antmas> I'LL TAKE THE ROOOAD BELOW YOOOUUU
1913: [23:40:50] <ss23> Show off, listening to your English songs so you can type lyrics
1914: [23:40:59] <ss23> YOU JUST WAIT FOR THE SONG TO CHANGE TO SOMETHING IN ENGLISH, THEN I'LL SHOW YOU
1915: [23:41:05] <antmas> Ryan-Toast: is it ok to have a <figure> nested insite a <ul>?
1916: [23:41:23] <Stomach> STEVIE SAYS YES
1917: [23:41:24] <Ryan-Toast> antmas: no.
1918: [23:41:26] <Cheddam> irogue_ indeeeeed. wish me luck
1919: [23:41:28] <ss23> lol
1920: [23:41:28] <antmas> :(
1921: [23:41:31] <Stomach> damn.
1922: [23:41:33] <Ryan-Toast> :P
1923: [23:41:37] <ss23> Why the nick change by the way, 7F1AAQY70?
1924: [23:41:38] <antmas> but it works!
1925: [23:41:41] <Ryan-Toast> well you can, but sematicaly you shouldn't.
1926: [23:41:42] <Stomach> i mean inside the li of a ul
1927: [23:41:49] <Ryan-Toast> I know.
1928: [23:41:52] <Stomach> what if you have a list of figures
1929: [23:41:58] <Stomach> what then!
1930: [23:42:00] <ss23> <li><figure>
1931: [23:42:02] <Ryan-Toast> then it shouldn’t be a list :P
1932: [23:42:08] <ss23> <li> is a block level item, right?
1933: [23:42:13] <Ryan-Toast> should be articles
1934: [23:42:16] <Ryan-Toast> yes
1935: [23:42:16] <ss23> or w/e the term is
1936: [23:42:19] <mobiusnz> I don't know what this is, but it terrifies me http://www.ebaumsworld.com/video/watch/84117998/
1937: [23:42:24] <ss23> >ebaumsworld
1938: [23:42:28] * ss23 does not click
1939: [23:42:36] <irogue_> whoa, have we gone back to the year 2000?
1940: [23:42:45] <irogue_> Cheddam: luck
1941: [23:42:45] <ss23> ebaumsworld did it.
1942: [23:42:48] <Stomach> trogdor says yes
1943: [23:42:54] <irogue_> Cheddam: did you get your underwear back? :P
1944: [23:43:04] <antmas> I have <ul><figure><li><img></li></figure></ul>
1945: [23:43:33] <Stomach> thats not right
1946: [23:43:42] <antmas> but no other way works :O
1947: [23:43:45] <Stomach> Ryan-Toast says no
1948: [23:43:48] <antmas> wha tis 'right' in that case?
1949: [23:44:39] <Ryan-Toast> <article><figure><img /><figcaption></figcaption></figure></article>
1950: [23:44:40] <ss23> shouldn't the figure be inside the li?
1951: [23:44:43] <zippy__> Colin[pi]: yea.. looks like it
1952: [23:44:45] <ss23> psh
1953: [23:44:55] <ss23> css/html is hard
1954: [23:45:03] <ss23> why did I even get into this industry :O
1955: [23:45:03] <antmas> Ryan-Toast: but these need to be in a <ul>
1956: [23:45:12] <Ryan-Toast> antmas: why?
1957: [23:45:23] <antmas> Ryan-Toast: they are icons for a toolbox
1958: [23:45:44] <Cheddam> irogue_ Not yet :P Is SS unit tested?
1959: [23:46:01] <irogue_> Cheddam: mostly :P
1960: [23:46:01] <Ryan-Toast> antmas: PICTURES
1961: [23:46:10] <antmas> Ryan-Toast: 2 secs
1962: [23:46:34] <irogue_> Cheddam: and behat for behaviour-driven
1963: [23:47:55] <Stomach> but beware, only passing tests are included
1964: [23:47:58] <Stomach> right ss23? :D :D :D
1965: [23:48:05] <Cheddam> irogue_ Okay. Seems to work fine on PHP 5.5 also, not that that is a concern around here lol
1966: [23:48:34] <Cheddam> My dev environment for personal projects is Homestead
1967: [23:48:42] <antmas> Ryan-Toast: http://gfycat.com/GoodCompassionateBug
1968: [23:48:42] <simon_w|work> Cheddam, unit tests get run on 5.3-5.6
1969: [23:48:45] <ss23> haha simon_w|work :P
1970: [23:48:47] <ss23> ah
1971: [23:48:49] <ss23> Stomach*
1972: [23:48:53] <ss23> stupid client >.<
1973: [23:48:56] <antmas> each icon is a <li>
1974: [23:49:03] <antmas> Ryan-Toast: ^^
1975: [23:49:56] <Ryan-Toast> And they have to be lis?
1976: [23:50:22] <antmas> Ryan-Toast: what else? as lis they are reponsive to the width of the div they sit in which helps
1977: [23:50:37] <antmas> if they don't HAVE to be, that'd be great
1978: [23:50:55] <simon_w|work> ss23, don't worry, my failing unit tests don't get merged either :p
1979: [23:50:55] <Ryan-Toast> Yeah that should be fine then
1980: [23:51:12] <antmas> Ryan-Toast: ok, cool
1981: [23:51:13] <Ryan-Toast> nav > ul > li > fig > figcaption
1982: [23:51:27] <Stomach> simon_w|work, shouldn't they be merged and then block releases? seems so weird the current system
1983: [23:51:31] <Ryan-Toast> bit of a markup nest, but meh
1984: [23:51:34] <antmas> but is that semantically correct Ryan-Toast ?
1985: [23:51:41] <ss23> simon_w|work: Yeah yeah :P
1986: [23:51:46] <Cheddam> @simon_w|work Good to know. How is 3.2 coming along?
1987: [23:52:02] <simon_w|work> Stomach, no. Then they also block all other PRs, or travis just gets ignored again
1988: [23:52:23] <Ryan-Toast> antmas: No, not technically
1989: [23:52:37] <antmas> Ryan-Toast: it's close though :P
1990: [23:52:51] <simon_w|work> Stomach, we have had failing tests in Travis before. Then they just compound (kinda like what's happened with scrutinizer)
1991: [23:52:51] <Ryan-Toast> antmas: you can use all spans if you want, it doesn’t really matter.
1992: [23:53:14] <Stomach> fair enough I guess, although I'd feel more confident if someone produces a test which should be passing and is marked as a must-merge for release or something
1993: [23:53:20] <Stomach> which then means it has to be fixed
1994: [23:53:25] <Stomach> fucking code
1995: [23:53:28] <Stomach> who needs it
1996: [23:54:26] <simon_w|work> Sec robots
1997: [23:54:28] <simon_w|work> *Sex
1998: [23:54:34] <simon_w|work> stupid lack of autocorrect
1999: [23:54:58] <Stomach> ah yes, sex robots. my bad :D
2000: [23:55:01] <Colin[pi]> simon_w|work: http://instantostrich.com/
2001: [23:56:10] * r3v3rb quit (Quit: r3v3rb)
2002: [23:56:27] <antmas> awesome
2003: [23:56:34] <antmas> zippy__: just told the property manager
2004: [23:56:47] <antmas> and the question they reply with is 'where is the fire door in the property?'
2005: [23:56:50] <antmas> o.O
2006: [23:56:55] <zippy__> :)
2007: [23:57:20] <Stomach> maybe "fireplace door" would have confused them less
2008: [23:57:25] <Stomach> or confused them sass
2009: [23:57:28] <Stomach> ahahaha css jokes
2010: [23:57:32] <Stomach> I need to go outside.
2011: [23:57:34] <antmas> lol
2012: [23:57:39] <antmas> I sent them a photo
2013: [23:57:47] <antmas> pretty hard to get that confused
2014: [23:58:04] <irogue_> Stomach: lunch plans?
2015: [23:58:06] <antmas> and you think the PROPERTY MANAGER would know where the fucking fire was
2016: [23:58:31] <Stomach> irogue_, going out with the misses for some japanese something
2017: [23:58:36] <ss23> 11:57:20 < Stomach> maybe "fireplace door" would have confused them less
2018: [23:58:36] <ss23> 11:57:26 < Stomach> or confused them sass
2019: [23:58:38] <ss23> ...
2020: [23:58:40] <ss23> that was... bad
2021: [23:58:43] <irogue_> Stomach: boring :P
2022: [23:58:59] <ss23> antmas: lunch?
2023: [23:59:00] <Stomach> irogue_, yeah I know, especially as I'm seaweed intolerant
2024: [23:59:02] <ss23> burgerfuel?
2025: [23:59:03] <ss23> :)
2026: [23:59:17] <Stomach> ss23, it was awesome, you just arent up with the latest technology and stuff
2027: [23:59:44] * pixelboy_ has joined #silverstripe

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