#silverstripe IRC Log

IRC log for 2 February 2015

All timestamps are in UTC.

1: [00:00:05] <micmania1> It will be both.
2: [00:00:11] <Motoservo> and not github, right?
3: [00:00:12] <irogue_> Motoservo: you should probably start by doing this: https://try.github.io/levels/1/challenges/1
4: [00:00:35] <irogue_> Motoservo: you'll need to understand Git before you get to the Composer- and SS-specific stuff
5: [00:00:54] <Motoservo> okay, good tips, all. I’ll try that link and also getting ss flowing.
6: [00:01:25] <Motoservo> been reading the git stuff but the composer stuff seemed to supercede a lot of that. And composer docs aren’t as thorough.
7: [00:03:07] <irogue_> composer only supercedes one very minor part of git (remotes)
8: [00:03:28] <irogue_> sorry, i mean submodules
9: [00:04:14] <irogue_> your own code goes nowhere near composer, it's only used for pulling in SilverStripe CMS/Framework and any modules
10: [00:05:02] <Motoservo> Okay.
11: [00:08:56] * zagoodwin_ has joined #silverstripe
12: [00:09:40] <Motoservo> Are the ignored bits still the same as the SS2 days? .htaccess, assets, and _config.php?
13: [00:09:56] <Motoservo> I realize this can change a lot, depending on your use. But, in general.
14: [00:10:41] <irogue_> generally you .gitignore assets, vendor and all of your module folders (including cms and framework)
15: [00:11:04] <Motoservo> and what about .htaccess?
16: [00:11:13] <Motoservo> the rewrite directive?
17: [00:11:15] <irogue_> you generally wouldn't want to ignore that?
18: [00:11:26] <irogue_> it's fairly important :P
19: [00:11:39] <Motoservo> I’d have two unversioned, and different copies.
20: [00:11:59] <Motoservo> production server not having the rewite line.
21: [00:12:01] <Motoservo> directive.
22: [00:12:16] * zagoodwin quit (Ping timeout: 246 seconds)
23: [00:13:12] <Motoservo> I used to just checkin after my basic local setup then checkout to the server and ftp up the htaccess and assetts and _myconfig.php
24: [00:13:23] <Hailwood> Hi guys, I have FulltextSearchable::enable(); in my _config.php so any ideas why the search is returning no results? The query running and row I am trying to match are here: https://gist.github.com/hailwood/ad167cfc1febda9a564b
25: [00:13:38] <Motoservo> I realize there’s lots of ways to skin that cat though.
26: [00:13:42] <irogue_> Motoservo: well there's no reason you can't do that, but _config.php and .htaccess shouldn't change between environments
27: [00:13:50] <irogue_> that's what _ss_environment.php is for
28: [00:14:09] <Motoservo> Oh, good to know. That wasn’t there before.
29: [00:14:27] <Motoservo> Something I’ll need to research.
30: [00:14:38] <irogue_> http://doc.silverstripe.org/en/getting_started/environment_management
31: [00:15:13] <irogue_> yeah, _ss_environment.php was in 2.4
32: [00:15:52] <Hailwood> Oh snap, about = stop word
33: [00:15:57] <Motoservo> Nice to see so much has developed. I was pretty deep in it back in around 09 or 10. Even patched a bug in restful api once. And a few UI suggestions were used, like the Pages name, used to be called Content.
34: [00:17:02] <Motoservo> And some other naming stuff. Lots has changed though. I don’t see any users here from those days that I remember.
35: [00:17:25] <irogue_> i've been here since 2007 ;)
36: [00:17:36] <Motoservo> But I don’t remember much.
37: [00:17:50] <Motoservo> Oh, sweet. That’s really long time ago.
38: [00:18:29] <Motoservo> Was that at change to open source?
39: [00:18:53] <irogue_> nah, was about 2.2 when I started using it (and came in here)
40: [00:18:58] <irogue_> 2.0 was first opensource
41: [00:19:07] <Motoservo> Gotcha.
42: [00:20:42] <irogue_> ugh, mondays
43: [00:20:48] <irogue_> 1pm and i'm already keen for a nap
44: [00:21:23] <Motoservo> Kiwi?
45: [00:21:24] <Stomach> irogue_ +1
46: [00:21:39] <irogue_> Motoservo: of course :P
47: [00:21:48] <irogue_> Stomach: you all ready for wednesday?
48: [00:21:55] <Stomach> irogue_ - nope
49: [00:21:58] <Stomach> haven't written it yet
50: [00:22:02] <irogue_> me neither :P
51: [00:22:10] <Stomach> she'll be right
52: [00:22:11] <Stomach> :D
53: [00:22:19] <ss23> hmm
54: [00:22:22] <irogue_> got the beer and the food sorted tho
55: [00:22:22] <ss23> my bed is right beside me
56: [00:22:24] <ss23> I could nap...
57: [00:22:25] <irogue_> so the important stuff is done
58: [00:23:22] <irogue_> friday night I went to a party and didn't end up sleeping til 4pm, and even then it was on a floor
59: [00:23:38] <irogue_> then had to be at work at 9:30am on saturday to run a hackfest
60: [00:24:44] <irogue_> then a coworker's 40th birthday party on sat night, again til ~4am, then sleeping in my car
61: [00:25:35] * glenn-bautista1 has joined #silverstripe
62: [00:25:35] * glenn-bautista quit (Read error: Connection reset by peer)
63: [00:25:47] <Stomach> how was the hackfest?
64: [00:26:40] <irogue_> all g
65: [00:26:45] <irogue_> just helping folk out with problems
66: [00:28:56] * glenn-bautista has joined #silverstripe
67: [00:28:56] * JeremyRoundill quit (Read error: Connection reset by peer)
68: [00:28:56] * glenn-bautista1 quit (Read error: Connection reset by peer)
69: [00:30:00] * glenn-bautista1 has joined #silverstripe
70: [00:30:00] * glenn-bautista quit (Read error: Connection reset by peer)
71: [00:31:23] * glenn-bautista1 quit (Client Quit)
72: [00:31:31] * zagoodwin_ quit (Ping timeout: 246 seconds)
73: [00:32:07] <Stomach> irogue_ - no real hacking going on then?
74: [00:36:42] <deadveb> IMADEAD
75: [00:36:55] <veb> sorry that was the bad veb
76: [00:36:58] <veb> he should be dead
77: [00:37:07] * veb fires off a few dozen rounds of .50s
78: [00:48:16] <irogue_> Stomach: negative
79: [00:48:28] <irogue_> Stomach: cos you weren't there :P
80: [00:50:16] <Motoservo> irogue_: where in environments is the htaccess difference accounted for?
81: [00:50:32] <irogue_> Motoservo: it isn't. but what would change in your .htaccess?
82: [00:50:33] <Stomach> irogue_ - haha yeah last time I was hungover and just merged franks prs :P
83: [00:53:03] <Motoservo> Well, I guess the workflow is different. I used to checkin my whole project, minus a few externals and ignores, and checkout on the server. Made server setup pretty simple, perhaps 5 or 6 svn commands. But I’m guessing you’re suggesting just cloning to local, settign up the adjustments, then repeating the same process on the server?
84: [00:53:50] <Motoservo> So the installer is ran on the server too?
85: [00:54:03] <Motoservo> production
86: [00:54:58] <Motoservo> I’ll try that, irogue_ .
87: [00:55:57] <irogue_> Motoservo: doesn't really matter, even if you just clone on the server, .htaccess shouldn't be any different between live and prod?
88: [00:56:02] <irogue_> *live and dev
89: [00:56:24] <Hailwood> Hi guys, is there any way to tell in "canView" if we are asking that in regards to search results?
90: [00:57:13] <Motoservo> irogue_: locall, there’s a rewtire directive on .htaccess… RewriteBase/site_name
91: [00:57:30] <Hailwood> Basically I have some product pages that should still be visible if browsed to directly, but I don't want them to show in the search results if they are not buyable in the current country
92: [00:58:05] * Colin[pi][a] has joined #silverstripe
93: [00:58:11] * Colin[pi][a] is now known as Colin[pi]
94: [00:58:58] <Motoservo> irogue_: That would cause my prod server to fail unless I deleted that line.
95: [00:59:30] <Motoservo> …not sure why, anymore. Shared host though.
96: [00:59:32] * coder_stu has joined #silverstripe
97: [01:00:57] <coder_stu> Hi, I have a question about CWP pdf links if anyone can help?
98: [01:02:01] <coder_stu> They state that the size of the file is automatically set into the download links
99: [01:02:22] <coder_stu> but that seems to work only intermittently in my experience
100: [01:02:24] <spronk2> do they?
101: [01:02:34] <spronk2> define intermittently, coder_stu ?
102: [01:02:51] <coder_stu> For some pages, not for others
103: [01:03:38] <coder_stu> Tried to see if it was a particular template, but they all inherit from teh same base templat
104: [01:04:18] <coder_stu> do you know if there a specific module that does the link generation for pdfs?
105: [01:10:46] <coder_stu> Bit more info, the links work on the 'news' pages, not for other pages of type 'Page'
106: [01:11:49] <Motoservo> ugh, sorry for all these basic questions, irogue_ . I just set about repeating everthing on the server but my server doesn’t allow the installing of composer because of the phar extension. My guess is, the manual downloads of composer and trying to ftp them over won’t work either, becasue the phar will still be there. So, is there an alternate workflow you recommend?
107: [01:19:55] * babak quit (Quit: Connection closed for inactivity)
108: [01:31:26] * joelpittet quit (Remote host closed the connection)
109: [01:31:31] <Hailwood> Hi guys, what's the syntactically correct way to do <% include ProductGroupItem $HidePrice=true %>
110: [01:31:46] * glenn-bautista1 has joined #silverstripe
111: [01:32:05] * glenn-bautista1 is now known as glenn-bautista
112: [01:33:08] <Stomach> like that
113: [01:35:04] <Motoservo> Found a workaround to get phar recognized, jeesh. The joys of programming.
114: [01:38:25] * spekulatius has joined #silverstripe
115: [01:41:04] * spronk2 quit (Ping timeout: 245 seconds)
116: [02:04:53] * benjhocking quit (Read error: Connection reset by peer)
117: [02:07:32] * glenn-bautista quit (Quit: Leaving.)
118: [02:10:19] * glenn-bautista has joined #silverstripe
119: [02:12:28] <adrexia> Hailwood> Hi guys, what's the syntactically correct way to do <% include ProductGroupItem $HidePrice=true %>
120: [02:12:37] <adrexia> like : <% include ProductGroupItem HidePrice=true %>
121: [02:12:54] <adrexia> <% include ProductGroupItem $HidePrice=true %> will throw an error
122: [02:13:04] * markcl has joined #silverstripe
123: [02:13:17] <markcl> What should be the DBField I use for PhoneNumber field?
124: [02:14:15] <markcl> There's this PhoneNumberField class, and I don't know what DBField I should use for it.
125: [02:17:22] <Hailwood> adrexia, Cheers, the PHPstorm SS template language support says that HidePrice is the error heh
126: [02:22:42] * nicolaas has joined #silverstripe
127: [02:28:10] <camfindlay> coder_stu - I think from memory there is a helper method you can call that was written into CWP recipe code check to make sure your content tags in the templates are using $Content.RichLinks
128: [02:38:03] <pippy> the hell. my old intern made a page using an raw text field and build the page using tables before he left
129: [02:38:17] <pippy> that's a final "fuck you guys" if i ever saw it
130: [02:38:36] <Colin[pi]> pippy: lol
131: [02:41:15] <Ryan-Toast> lol
132: [02:42:30] * veb quit (Quit: veb-irc: &)
133: [02:49:00] <Motoservo> that’s from Mork & Mindy.
134: [02:49:01] <Motoservo> yeah
135: [02:53:09] <Motoservo> whoops, wrong channel.
136: [02:55:51] * gordon_ quit (Read error: Connection reset by peer)
137: [03:16:21] * markcl quit (Ping timeout: 245 seconds)
138: [03:29:33] <Stomach> pippy - thats awesome
139: [03:29:33] <Stomach> :D
140: [03:44:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
141: [03:50:00] * r_hector has joined #silverstripe
142: [03:53:24] * markcl has joined #silverstripe
143: [03:53:32] * scott1702 has left #silverstripe
144: [03:57:21] * Stomach quit (Quit: zzz)
145: [03:57:29] <WandL> Hi guys has $default_sort changed in 3.1 on dataobjects for the life of me cannot get it working....
146: [03:58:19] <WandL> am using in the dataobject: private static $default_sort = 'Title ASC';
147: [03:59:13] * markcl1 has joined #silverstripe
148: [03:59:14] * markcl quit (Read error: Connection reset by peer)
149: [04:00:53] * jedateach quit (Quit: jedateach)
150: [04:04:13] * veb has joined #silverstripe
151: [04:11:52] <Motoservo> wowza. I was just getting a little momentum, after about my 6th or 8th complete removal and reinstallation of SS via composer. First time, today, so was having to start over for various reasons. Now though, no matther what I do, the installer is quitting at… AllowOverride All is set for the directory where SilverStripe is installed
152: [04:13:25] <Motoservo> I thought I saw that composer installs from a cache so I found the cache at .composer at my web root and deleted that. Also, confirmed there’s not an errant .htacess that appeared at my web root (I’ve had that happen before in a botched install). So, I’m at a loss to understand why the installer was working before then quit.
153: [04:14:27] <Motoservo> so, the installer thinks… Friendly URLs are not working.
154: [04:14:54] <Motoservo> ideas on my next troubleshooting step?
155: [04:15:11] <Motoservo> Other sites are still working okay. It’s weird.
156: [04:17:57] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
157: [04:18:34] * markcl has joined #silverstripe
158: [04:22:01] * markcl1 quit (Ping timeout: 264 seconds)
159: [04:22:36] * Ryan-Toast quit (Quit: Ryan-Toast)
160: [04:23:12] <Motoservo> Well, seems there’s still some cacheing going on somewhere. I removed the project dir. the database, and the cache file from .composer at my web root.
161: [04:23:13] * coder_stu quit (Ping timeout: 246 seconds)
162: [04:24:03] <Motoservo> then ran the command to install again. All went well, said “downloading” so thought I was clear of the cache issue. But on loading the page in my browser, expecting to see the installer, I’m seeing errors relating to the blog module I once had installer.
163: [04:24:06] * markcl1 has joined #silverstripe
164: [04:24:10] <Motoservo> Didn’t install that yet though.
165: [04:24:19] <Motoservo> Another cache somewhere I need to trash?
166: [04:24:36] * Hailwood quit (Remote host closed the connection)
167: [04:26:41] * markcl quit (Ping timeout: 256 seconds)
168: [04:27:05] <Motoservo> So strange. How would a fresh composer install, after trashing the database and project dir, and even the .composer cache, referrence the blog module I once had installed?
169: [04:31:52] * Colin[pi] quit (Ping timeout: 264 seconds)
170: [04:33:45] * markcl1 quit (Ping timeout: 250 seconds)
171: [04:33:49] <WandL> Regarding my earlier question on default sort, that is working my problem is that is not working on a ManyManyList, so when getting the DataObjects relation it does not take in account the default sort and even SomeRelation()->sort('Title', 'ASC') wont work any ideas?
172: [04:36:24] * markcl has joined #silverstripe
173: [04:36:27] * Colin[pi] has joined #silverstripe
174: [04:38:44] * cloph has joined #silverstripe
175: [04:39:12] * cloph_away quit (Ping timeout: 272 seconds)
176: [04:44:53] * glenn-bautista quit (Ping timeout: 240 seconds)
177: [04:45:38] <markcl> Is there a way to make a config file that is for a single Page only?
178: [04:45:51] <markcl> Motoservo: caching?
179: [04:46:13] <markcl> It's on the /tmp/(silverstripe-domain-name) something dir I think
180: [04:48:21] <Motoservo> markcl: Where would that be on a shared host?
181: [04:48:36] * camfindlay quit (Quit: camfindlay)
182: [04:51:21] * kerosene quit (Quit: brb)
183: [04:52:47] * kerosene has joined #silverstripe
184: [04:54:31] <Motoservo> I’m about to rip out every vestige of .composer and start over, I guess. Fresh everything and I still get… Warning: require_once(/home/teeroy/bitbeyond.com/blog/_config.php): failed to open stream: No such file or directory in /home/teeroy/bitbeyond.com/framework/core/manifest/ConfigManifest.php on line 141
185: [04:54:55] * veb quit (Quit: veb-irc: &)
186: [04:54:56] <Motoservo> The blog was on a few of my successful installations a couple hours back.
187: [04:57:35] <Motoservo> composer.phar is static, right? Won’t store any config info like the json?
188: [04:58:03] * markcl quit (Ping timeout: 246 seconds)
189: [05:00:54] * markcl has joined #silverstripe
190: [05:01:20] <markcl> Motoserva: it depends on your host. =/
191: [05:07:06] <micmania1> Motoservo: that doesn’t sound like composer - Have you flushed?
192: [05:13:32] <Motoservo> I deleted the whole project and database that went with it.
193: [05:14:32] <Motoservo> flush=all? If I remember right?
194: [05:14:43] <Motoservo> Where is that cached?
195: [05:14:47] <Motoservo> on a shared host?
196: [05:15:19] <Motoservo> Maybe it’s /tmp still, let me check.
197: [05:15:24] <Motoservo> if I have access.
198: [05:16:36] <Motoservo> Yeah, seems I do. Even down next to root. So, yeah. That did it.
199: [05:17:24] <Motoservo> I had forgotten about ss cache but coudln’t see anywhere in my web root that would apply. So, nothing jared my memory of that. Thanks for your tip!
200: [05:18:27] <Motoservo> I was beating myself up over that one. Didnt help matters that some bozo was cranking his lame country metal crap right outside my window.
201: [05:18:40] <Motoservo> The horror.
202: [05:18:58] <Motoservo> Was like a three hour beer commercial.
203: [05:20:03] * jedateach has joined #silverstripe
204: [05:28:36] <Motoservo> Well, now at least the installer runs. But only reverted back as far as the rewrite issue.
205: [05:28:39] <Motoservo> AllowOverride All is set for the directory where SilverStripe is installed
206: [05:29:06] * r_hector quit (Quit: Leaving.)
207: [05:43:03] <Motoservo> I guess the difference here is that all my other sites were puched up from my local copy via svn. I was thinking I had a composer install up earlier but with hindsite I think it was just my local copy that I remember.
208: [05:43:38] <Motoservo> If that’s the case, the SS installer doesn’t work on a Dreamhost shared host.
209: [05:45:21] <Motoservo> all my other sites I’d just install locally and after checking it in I’d check it out on the server. Then an svn up every now and then. And those sites are wll working. Just something funky with the SS, I’ll see if I can swap in one of my other .htaccess files.
210: [05:49:59] * veb has joined #silverstripe
211: [05:53:19] <Motoservo> I diffed the two htaccess and found these two lines that are on the site that won’t install
212: [05:53:33] <Motoservo> RewriteBase '/'
213: [05:53:34] <Motoservo> RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
214: [05:53:49] * joelpittet has joined #silverstripe
215: [05:57:18] <Motoservo> Was chatting with irogue_ earlier about this. The htaccess files differ and the ReWriteBase on my local box works as /project. I’ve always deleted it completely and it then works on my server. Can’t do that though when running the installer on the server.
216: [05:57:27] <Motoservo> Does anybody else run the installer on the server?
217: [06:02:12] * vanny has joined #silverstripe
218: [06:02:27] <Motoservo> Maybe if I go in and edit the .htaccess before I run the actual installer. I’ll try it.
219: [06:05:02] * r_hector has joined #silverstripe
220: [06:09:20] <Motoservo> Nope. Those rules are written by the installer itself.
221: [06:09:27] <Motoservo> The installer is choking itself.
222: [06:10:11] <Motoservo> Seems Silverstripe has new clothes but this is the same Silverstripe I met when I started back in 08. Jeesh.
223: [06:11:52] <Motoservo> Damn htaccess rewite issues. Maybe I can figure out how to get the workflow closer to what I had and just pull the already working and installed site from my repos.
224: [06:16:03] <markcl> Yeah, the installer is kinda buggy.
225: [06:16:34] <markcl> So I just either install it manually via composer and create the db manually
226: [06:16:50] <markcl> Or use an automated installer like Softaculous/AMPPS
227: [06:18:44] <Motoservo> I’ve been installing it using composer.
228: [06:18:58] <Motoservo> But that leaves the *other* web installer. Is there a way around that?
229: [06:20:19] <markcl> Just edit the config files manually
230: [06:20:35] <markcl> You'll just need to input database credentials stuff and your good to go
231: [06:20:39] <Motoservo> And trash the installer page?
232: [06:20:42] <markcl> Yeah
233: [06:20:54] <markcl> Just remove the installer files
234: [06:20:58] <markcl> Once your done
235: [06:21:43] <Motoservo> Sounds easier. And closer to how I’d been doing it. Which was just manually reconfiguring the svn checkout of my repos that was setup based on my local installation.
236: [06:22:19] <Motoservo> I appreciate your help, markcl. Days like today remind me of why I quit this racket. :P
237: [06:25:18] <markcl> You quit web dev?
238: [06:26:36] * Stomach has joined #silverstripe
239: [06:26:47] <markcl> (just asking out of curiosity)
240: [06:27:11] <markcl> or just Silverstripe
241: [06:27:27] <Motoservo> dev. Back in about 10.
242: [06:28:16] <Motoservo> took a stint working as a sysadmin in Okinawa last year, but that’s work any trained monkey can do.
243: [06:28:17] <markcl> Technically, I find Silverstripe refreshing to work in compared to other CMSs. Joomla was just horrible to code in, and Wordpress is just, not as flexible as I want it to be. and Drupal is too complicated.
244: [06:28:58] <Motoservo> I started in drupal a year earlier than SS after about two years of custom coding a site—30K lines.
245: [06:29:14] <markcl> Yeah, I remember my custom coding days too
246: [06:29:40] <Motoservo> frameworks were a welcome relief. But felt drupal looked a lot liek the code I’d just written for two years, a big plate of speghetti.
247: [06:29:47] <markcl> Haha
248: [06:29:56] <markcl> That's what I thought of it too
249: [06:30:11] <Motoservo> SS appeals to me like RoR does. And it’s that design coupling they shoot for that keeps me interested.
250: [06:30:13] <markcl> I stopped accepting Drupal projects and referred them to another guy after a few tasks.
251: [06:30:38] <markcl> Why not get a RoR job though
252: [06:30:44] <markcl> The RoR tools feel superior.
253: [06:30:56] <Motoservo> Yeah, I was hiring a kid in Bangledesh (and another in Packistan), each for about 10 or 12 bucks an hour and they were half bad drupal coders.
254: [06:31:00] <markcl> gem install is like so much faster than composer install on my machine.
255: [06:31:26] <Motoservo> I almost felt guilty that my billable rate was still a hundred an hour.
256: [06:31:37] <Motoservo> but hellz, that’s capitalism.
257: [06:31:43] <Motoservo> Thank god for oDesk.
258: [06:32:16] <markcl> Yeah, those central asian countries have lots of coders, but the quality is bad. I had several Indian clients giving me projects that their indian kin made a mess out of.
259: [06:32:25] * Shrike_Finland has joined #silverstripe
260: [06:32:37] <Motoservo> Yeah, RoR is great for anything lower level (application framework as opposed to CMS), for a CMS I don’t know of anything in the RoR world that competes. But I havne’t looked in a long while.
261: [06:33:06] * Sticks quit (Quit: Leaving)
262: [06:33:27] <Motoservo> I’ve hear stories like thatl, too. I’d just have to spot check them a lot. Easier to find good help when you can code yourself, and can ask the right questions.
263: [06:34:30] <Motoservo> My next site, if I can get over this newbie hump again, would require RoR, SS couldn’t do it. Not really content, per se.
264: [06:34:48] <markcl> What's it about?
265: [06:34:54] <Motoservo> Though I haven’t checked out the framework since it split, not really sure what that would get me.
266: [06:34:55] <markcl> Im curious why SS couldn't do it
267: [06:35:02] <vanny> If I do a groupList::create does the date I am groupedBy get changed to a string in output
268: [06:35:21] <Motoservo> barcodes, mostly.
269: [06:35:30] <Motoservo> SS probably could I just don’t have a need for a back end.
270: [06:35:42] <markcl> Ah, cool.
271: [06:35:45] <markcl> So it's just a js
272: [06:35:52] <Motoservo> and, like you said, RoR is far more advanced in general.
273: [06:35:52] <markcl> I made a QR code reader before
274: [06:35:55] <markcl> with just JS
275: [06:36:05] <Motoservo> ah, sweet.
276: [06:36:47] <Motoservo> I haven’t coded js since about 06, so have no clue how you’d build something like that with it.
277: [06:37:03] <markcl> Lots of JS libraries
278: [06:37:08] <markcl> out there that does it
279: [06:37:12] <markcl> Just need to interface with them
280: [06:37:23] <Motoservo> Yeah, I’m sure it’s way more advanced now.
281: [06:37:58] <markcl> Very much. You can even make a web server completely out of JS.
282: [06:38:07] <Motoservo> that’s pretty slick.
283: [06:38:31] <markcl> Yeah, NodeJS. Was pretty popular around the dev community where I'm in when it launched.
284: [06:40:55] <Motoservo> I dabbled with Jquery for awhile. At my last gig (before that sysadmin stuff for the Dept of Defense) I had to take on a lot of the markup and styling because the desigers were making a mess of it.
285: [06:41:17] <Motoservo> so after spending so much time with CSS Jquery was kind of fun.
286: [06:41:24] <markcl> Howd you get the $100/hr. jobs anyway?
287: [06:41:42] <markcl> I find people who need CMSs just need a simple editable page and don't have much of a budget.
288: [06:41:42] <Motoservo> word of mouth.
289: [06:42:11] <Motoservo> some were clients of a designer who freelanced with that employer.
290: [06:42:12] <markcl> I can code for you for less than half that price if you can sell yourself that much. =D
291: [06:42:34] <Motoservo> Good to know!
292: [06:43:17] <Motoservo> My billable rate at that place was 140 an hour. Crazy! And, of course, I only saw a small sliver of that.
293: [06:43:38] <Motoservo> It was my turn to be the Bangleseshi kid.
294: [06:43:49] <markcl> LOL.
295: [06:44:30] <Motoservo> That web shop was mostly in the ad business. They competed (in the top 10) with goodle and the like.
296: [06:44:43] <markcl> My portfolio site is not up yet, but it has a lot of work on it. I work on the Philippines and the tax here is too much I'd rather get freelance work online.
297: [06:45:25] <markcl> But had no time to find projects. Im currently working on a Netherlands company called ticketdome.nl along with my day job for an Australian Silverstripe company.
298: [06:45:35] <Motoservo> That had an interesting racket going. They would buy lots of traffic to our self built domains, for pennies a click, and they’d make a dollar for each for the video ads they sold.
299: [06:46:15] <Motoservo> Sounds like a good setup. Keeping you busy.
300: [06:46:22] <Motoservo> Have you tried oDesk?
301: [06:46:26] <markcl> Yeah, I did
302: [06:46:39] * joelpittet quit ()
303: [06:46:41] <Motoservo> any luck?
304: [06:46:47] <markcl> Quite a few
305: [06:46:53] <markcl> Lots of bad clients though
306: [06:47:01] <Motoservo> Sucks.
307: [06:47:20] <markcl> Indeed.
308: [06:47:43] <Motoservo> What nationality are you?
309: [06:48:45] <markcl> Philippines
310: [06:48:57] * spronk2 has joined #silverstripe
311: [06:49:09] <markcl> Yeah, that's an awesome SEO trick
312: [06:49:22] <markcl> My friend has a friend who earned $2M on Google ads using tricks like those
313: [06:49:26] <Motoservo> Ah, cool. So hot there.
314: [06:49:27] <markcl> But he got banned after awhile
315: [06:49:38] <markcl> No snow here
316: [06:49:42] <markcl> But it's cool where I'm in
317: [06:49:49] <Motoservo> I was living in Okinaawa most of last year, the humidy was off the charts.
318: [06:50:02] <markcl> I travelled to Thailand last year. It was sooo hot.
319: [06:50:11] <Motoservo> It’s on my list.
320: [06:50:12] <markcl> I felt like I'm on a desert.
321: [06:50:28] <markcl> Lots of lady boys
322: [06:50:31] <markcl> You have been warned
323: [06:50:36] <Motoservo> Ha!
324: [06:50:39] <markcl> Some look more beautiful than real girls
325: [06:50:54] <markcl> Overcompensating perhaps
326: [06:51:07] <Motoservo> I’ve heard.
327: [06:51:30] <Motoservo> Somemting about not reincarnating right, or something. Can’t remember.
328: [06:51:54] <markcl> I wish someone can train me how to reincarnate properly
329: [06:51:57] <Motoservo> So, more socially acceptable.
330: [06:52:06] <markcl> Id go reincarnate as a CEO of a multibillion dollar corporation.
331: [06:52:11] <Motoservo> (Y)
332: [06:52:49] <Motoservo> It’s an interesting thing to ponder.
333: [06:53:31] <Motoservo> I’m going to try again to get this installed. BRB
334: [06:54:38] <markcl> You can make me your Bangladeshi kid at $20 per hour =P
335: [06:54:57] <markcl> Tracked using toggl
336: [06:55:06] <Motoservo> Hell, I’d hire you for double that.
337: [06:55:20] * vanny quit (Quit: Page closed)
338: [06:55:37] <markcl> Yeah, you can contact me at xmarkclx@gmail.com
339: [06:55:51] <Motoservo> I’ll add that to my contacts.
340: [06:55:52] <markcl> I have made quite a lot of successful sites
341: [06:55:59] <markcl> My portfolio site is down atm.
342: [06:56:06] <markcl> I can show you the link once its up
343: [06:56:09] <Motoservo> No worries.
344: [06:56:21] <Motoservo> For sure. motoservo@bitbeyond.com
345: [06:56:25] <markcl> I updated it to look more fun and added lots of custom js
346: [06:56:31] <markcl> Cool
347: [06:56:34] <markcl> Nice meeting you
348: [06:56:38] <Motoservo> same.
349: [06:57:07] <Motoservo> I don’t know how far I’ll go with this push, I swore off all IT after my last gig. It was a sweet gig though, more money than I’ll probably ever make again.
350: [06:57:22] <Motoservo> The US gov has deep pockets.
351: [06:57:46] <Motoservo> But having to get through a military checkpoint just to get to my office was getting old.
352: [06:57:58] <Motoservo> It was one of the most secure bases in Okinawa.
353: [06:59:10] <markcl> Cool. I've added you on my professional contacts on Google+
354: [06:59:11] <Motoservo> I’ve been way happier living Bohemian and climbing and surfing a lot.
355: [06:59:20] <markcl> Yeah, I quit my last job because the commute was 2 hours
356: [06:59:22] <Motoservo> Sweet.
357: [06:59:27] * Colin[pi] quit (Ping timeout: 264 seconds)
358: [06:59:28] <markcl> I accepted my current one because it's 5 mins away from my home
359: [06:59:38] <markcl> and had the gym on the 1st floor
360: [06:59:43] <markcl> So I can go to the gym after working
361: [07:00:07] <Motoservo> That’s vital. I can’t commute. I live in downtown LA and would only take a job I could reach by one of our subways or here near me.
362: [07:00:09] <markcl> But the tax rate is too much, freelancing here has less tax rate
363: [07:00:20] <markcl> 32% of my salary goes to the gov. =/
364: [07:00:28] <Motoservo> I’d go crazy living like some of these people I know here, hour and half each way to work.
365: [07:00:57] <Motoservo> yeah, that’s probably about the same here.
366: [07:01:08] <markcl> Me too. I don't think it's worth it sacrificing so much time just for a few extra money so I just got a lesser paying job. It's only around 15% lesser.
367: [07:01:22] <Motoservo> But I hear a lot of countries are much higher, like Scandinavians.
368: [07:01:42] <Motoservo> But their quality of life is supposed be the best in the world.
369: [07:01:47] <markcl> But freelancing allows me to have less tax, which means I can charge less and still get 20-32% more.
370: [07:02:11] <Motoservo> That works out.
371: [07:03:09] <Motoservo> brb, I’ve got to get this thing installed before I hit the sack. It’s already 11 PM (23:00) here.
372: [07:03:31] <Motoservo> And jury duty in the morning. Lame.
373: [07:03:41] * wracu quit (Read error: Connection reset by peer)
374: [07:03:44] <markcl> Lame. Alright, have a good one.
375: [07:04:15] * wracu has joined #silverstripe
376: [07:04:22] <Motoservo> So, do I yank the installerframeworkmissing.php as well?
377: [07:04:30] <Motoservo> In addition to the installer.php?
378: [07:04:39] <markcl> I don't think youd be needing it
379: [07:05:30] <Motoservo> cool
380: [07:05:35] <markcl> .htaccess will redirect you to framework/main.php anyway when you do things right
381: [07:08:14] * WandL quit (Read error: Connection reset by peer)
382: [07:09:26] * Error404NotFound has joined #silverstripe
383: [07:09:52] * [Fate] quit (Ping timeout: 255 seconds)
384: [07:11:20] <Motoservo> I’ll let you know if it works...
385: [07:12:00] * [Fate] has joined #silverstripe
386: [07:12:29] * svandragt_ has joined #silverstripe
387: [07:13:32] * svandragt quit (Ping timeout: 244 seconds)
388: [07:14:34] * Eliseth quit (Ping timeout: 244 seconds)
389: [07:15:48] <Motoservo> It’s weird. But I *think* the installer.php changes the config in some interesting ways.
390: [07:15:51] <Motoservo> global $database;
391: [07:16:07] <Motoservo> becomes global $databaseConfig;
392: [07:16:54] <Motoservo> Guessing that has to do with the database check as opposed to the working config.
393: [07:17:53] * markcl quit (Ping timeout: 245 seconds)
394: [07:18:52] * jedateach quit (Quit: jedateach)
395: [07:20:07] * Stomach quit (Quit: zzz)
396: [07:21:16] * Kingy[a] is now known as Kingy
397: [07:21:50] <Kingy> Anyone have any idea why when I upload an image it's going to assets/assets/ folder
398: [07:26:08] * bemusedrat has joined #silverstripe
399: [07:38:27] * Shrike_Finland quit (Quit: Leaving.)
400: [07:53:55] * Kingy is now known as Kingy[a]
401: [07:55:12] * Eliseth has joined #silverstripe
402: [07:55:30] <Eliseth> Morning
403: [07:58:07] * nicolaas quit (Remote host closed the connection)
404: [07:59:43] * Cheddam has joined #silverstripe
405: [08:02:40] * spronk2 quit (Quit: I may need a longer sleep timer...)
406: [08:06:12] * veb quit (Read error: Connection reset by peer)
407: [08:06:23] * veb has joined #silverstripe
408: [08:06:58] * micmania1 quit (Quit: micmania1)
409: [08:14:22] * Frans_Amsterdam has joined #silverstripe
410: [08:16:17] * spronk2 has joined #silverstripe
411: [08:19:42] <Frans_Amsterdam> Hi there, can you help me with a Member registration I like to implement. I have a registration-form. The visitor applies it. Email and password is submitted. I store this in de the DB. Then I like to send a mail to confirm the mail-address. After the mail is confirmed the new user can use his email and password to login. How I prevent that the new user can login before the email is confirmed?
412: [08:23:18] * spronk2 quit (Ping timeout: 245 seconds)
413: [08:24:08] <Eliseth> Frans_Amsterdam: Extend member with a status field? (inactive/active)
414: [08:25:52] <Eliseth> Anyone have any experience with MS Azure instances?
415: [08:27:04] <Frans_Amsterdam> Eliseth That is possible, is it common/best practice?
416: [08:28:18] * Stomach has joined #silverstripe
417: [08:28:37] <Eliseth> That I wouldn't know. But we faced the same problem with a project a while back and that's how we solved it. Although that still being 3.0, I wouldn't know if there's a method in 3.1 that facilitates user activation (but I don't think so)
418: [08:29:21] <Eliseth> You could check out https://github.com/silverstripe-australia/silverstripe-memberprofiles
419: [08:29:42] <Eliseth> It enables user validation based on email clicks
420: [08:30:24] <Frans_Amsterdam> Eliseth Ha, thanks I go examine that.
421: [08:52:35] * oetiker quit (Read error: Connection reset by peer)
422: [08:52:49] * wmk has joined #silverstripe
423: [08:53:23] * oetiker has joined #silverstripe
424: [08:56:10] * Shrike_Finland has joined #silverstripe
425: [09:11:26] * kinglozzer has joined #silverstripe
426: [09:19:48] * Kingy[a] is now known as Kingy
427: [09:31:58] * veb quit (Quit: veb-irc: quit)
428: [09:44:01] * Shrike_Finland quit (Quit: Leaving.)
429: [09:44:22] * Shrike_Finland has joined #silverstripe
430: [09:47:52] * darjus01 has joined #silverstripe
431: [09:49:33] <darjus01> Hi all, I am new in silverstripe developing simple project about 4 mounths, now more advanced feature i have todo maybe some on can help me with little consultation I posted it in forum http://www.silverstripe.org/community/forums/form-questions/show/100460
432: [09:49:55] <wmk> hi darjus01
433: [09:52:35] * Kingy is now known as Kingy[a]
434: [09:52:45] <wmk> so you have one product and want to add one or two (or more?) documents to it?
435: [09:52:58] <darjus01> yes
436: [09:53:03] <wmk> darjus01, WHY do you want to add documents in a seperate modeladmi?
437: [09:53:08] <wmk> modeladmin
438: [09:53:13] <darjus01> it basicly same form once again
439: [09:53:17] <darjus01> in same window
440: [09:53:33] <wmk> from the screenshot i see you want a modeladmin.
441: [09:53:53] <wmk> where are products managed?
442: [09:53:58] <darjus01> it like virtual codument file is just attackemnt
443: [09:54:15] <darjus01> in modeladmin
444: [09:54:19] <darjus01> its not page
445: [09:54:27] <darjus01> its just dataobject
446: [09:54:41] <wmk> "product" is also a dataobject?
447: [09:54:52] <darjus01> ues
448: [09:54:55] <darjus01> yes
449: [09:55:00] <wmk> ok
450: [09:55:14] <wmk> and product -> document is a has_many?
451: [09:55:44] <darjus01> yes
452: [09:55:55] <darjus01> product is like category
453: [09:56:08] <darjus01> just client wants to call it product :D
454: [09:56:52] <wmk> well, i'd go and add a gridfield to produkt where you can add one document by another
455: [09:57:10] <wmk> using gridfieldbuttons module you have some button like "save and add another"
456: [09:57:15] <darjus01> in my code i already managed to make double save, but last thing to do is take second file upload id
457: [09:57:28] <darjus01> nop
458: [09:57:35] <darjus01> clients dont want that
459: [09:57:52] <wmk> switch clients
460: [09:58:39] <darjus01> client whats by creating document select product, category, and if product and more hi cana dd related document is nsame window
461: [09:58:41] * Pybzztk has joined #silverstripe
462: [09:58:49] <Pybzztk> "an electric shock away from being a window licker" - haha, I like it.
463: [09:58:58] <wmk> hmm,
464: [09:59:12] <darjus01> sorry for my bed english
465: [09:59:18] <darjus01> sorry for my bad english
466: [09:59:30] <wmk> darjus01, no problem
467: [09:59:42] <wmk> so you have an upload field but it's not associated to a field in the DataObject
468: [09:59:54] <wmk> how to get the value of the upload...
469: [10:00:03] <wmk> darjus01, the file is uploaded and added to File table?
470: [10:00:23] * Cheddam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
471: [10:00:51] <darjus01> yes Ihave second fileupload, and its created in database row I need after save take it ID and put in second document object
472: [10:01:10] <wmk> did you try $this->File2ID ??
473: [10:01:18] <darjus01> ok moment
474: [10:01:29] <wmk> as the UploadField is mapped to File2 it should be with ID added (as it's a has_one normally)
475: [10:02:42] <wmk> Pybzztk, i have someone else to clean the window
476: [10:10:49] <darjus01> nop its nor working even print_r($this) gives me only FileID only so it probably not seeing File2
477: [10:12:51] <wmk> i don't know if it gets lost somewhere...
478: [10:13:04] <wmk> darjus01, if you have xdebug installed give it a go
479: [10:13:41] <wmk> and maybe try onBeforeWrite() to generate the other DataObject, both files are not related directly?
480: [10:14:28] <darjus01> nop not related
481: [10:14:51] <wmk> Pybzztk, any idea: darjus01 is trying to use a form to add anther DO of the same type to something. File Upload makes problems - he doesn't find the FileID of the other DO. See http://www.silverstripe.org/community/forums/form-questions/show/100460
482: [10:18:37] <Pybzztk> gotta write before there'll be an ID
483: [10:18:58] <wmk> well, when is ID of File generated? on upload?
484: [10:20:01] <Pybzztk> write to database. I'd assume on upload, but what point specifically I'm not sure.
485: [10:20:34] <Pybzztk> http://www.silverstripe.org/assets/forum/attachments/logic.png - is this using has_one relation field or something?
486: [10:20:45] <wmk> no
487: [10:21:04] <wmk> just a form for another newly generated DO which has nothing to do with the current DO
488: [10:21:10] <Pybzztk> http://addons.silverstripe.org/add-ons/simonwelsh/hasoneedit
489: [10:21:24] <wmk> Pybzztk, nope, no has_one there
490: [10:21:29] <Pybzztk> I'm confused.
491: [10:22:00] <wmk> darjus01, hey man, you really need a second form on the same page?
492: [10:22:17] <wmk> or would a button like "add another document" which leads to the add new form do?
493: [10:22:18] <Pybzztk> so these just create 2 Document objects, it doesn't link them together or anything?
494: [10:22:36] <wmk> Pybzztk, it's product has_many document
495: [10:22:46] <Pybzztk> should be in a gridfield then
496: [10:22:48] <Pybzztk> IMO
497: [10:22:57] <wmk> Pybzztk, IMO2
498: [10:23:27] <Pybzztk> So... the first document attaches fine, but the second one fails?
499: [10:23:39] * sukirti has joined #silverstripe
500: [10:24:00] <wmk> it's more like: how to get the ID of the second Document in onAfterWrite() of the first DO
501: [10:24:48] <sukirti> I have an issue in silverstripe content WYSIWYG
502: [10:25:22] <sukirti> When I am adding bullet format.. it is not saving in the backend .. it is saving as paragraph
503: [10:26:38] <wmk> sukirti, really?
504: [10:26:41] <wmk> sound strange
505: [10:26:41] * UncleCheese has joined #silverstripe
506: [10:27:01] <wmk> no other error preventing from saving?
507: [10:27:14] <Pybzztk> sounds like mismatched tags
508: [10:27:27] <Pybzztk> sukirti: are you editing in the editor directly, or pasting from say... word?
509: [10:27:37] <Pybzztk> (msword)
510: [10:27:55] <wmk> Pybzztk, that was close to "what word should i say?"
511: [10:28:08] <Pybzztk> hehe
512: [10:28:31] <sukirti> actually in html button in content editor it is showing correct, but while saving it is removing the <li> and wrapping the whole content in <p>
513: [10:29:06] <wmk> sukirti, what version of SS, any configuration to HTMLEditorField done?
514: [10:30:27] <sukirti> SS 3,1
515: [10:30:32] <sukirti> 3.1
516: [10:30:40] <wmk> 3.1.WHAT?
517: [10:31:06] <darjus01> wmk, yes client wants it withount any nono, I also was telling him it would be faster to do is just make dropdown with parent document selection or something, but hi said no
518: [10:35:29] * micmania1 has joined #silverstripe
519: [10:37:33] <micmania1> Pybzztk: https://github.com/micmania1/silverstripe-blogger/blob/rework-blog-ui/code/model/BlogPost.php#L87
520: [10:38:05] <Pybzztk> weyhey!
521: [10:38:21] <Pybzztk> micmania1: I figured you'd have something like that, it was more a dig at cam's silly joke.
522: [10:38:32] <micmania1> lol
523: [10:38:54] <Pybzztk> You'd be pretty mental to try that kind of carry on with a dickload of composite fields!
524: [10:39:07] <micmania1> Yesterday I just used Element Inspector. Today I made it real XD
525: [10:39:28] <Pybzztk> eh?
526: [10:39:31] <micmania1> And I haven't used any extra JS yet either! All CSS :D
527: [10:39:41] <Pybzztk> nice
528: [10:39:54] <Pybzztk> o.0
529: [10:39:55] <micmania1> Yesterdays screenshot wasn't real. I used dev tools in chrome. Tonight i made it properly.
530: [10:39:59] <Pybzztk> my computer just dinged
531: [10:40:01] <Pybzztk> NFI why
532: [10:40:13] <Pybzztk> No message box nor dialog popped up
533: [10:40:58] * Shrike_Finland quit (Quit: Leaving.)
534: [10:42:24] * r_hector quit (Quit: Leaving.)
535: [10:42:56] <Pybzztk> Oh, it's because I forgot to log in with putty
536: [10:43:03] <Pybzztk> didn't take focus, heh.
537: [10:45:58] * Shrike_Finland has joined #silverstripe
538: [10:58:04] * Stomach quit (Quit: zzz)
539: [11:02:13] * sukirti quit (Ping timeout: 246 seconds)
540: [11:08:17] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
541: [11:08:54] * darjus01 quit (Quit: Page closed)
542: [11:09:21] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
543: [11:26:07] <Eliseth> Anyone here with experience running apps on heroku?
544: [11:36:06] <Eliseth> *running silverstripe on heroku
545: [11:40:09] <Pybzztk> It's been done I think Eliseth
546: [11:40:15] <Pybzztk> not by me though.
547: [11:43:57] * Frans_Amsterdam has joined #silverstripe
548: [11:44:06] <Frans_Amsterdam> Hi, does anyone knows how to show validation messages inn a form when using: $Fields.dataFieldByName(Company)? Now it only shows when using standard form.ss. I like to use a custom view.
549: [11:44:20] <Frans_Amsterdam> oops, that's twice
550: [11:45:02] * travis-ci has joined #silverstripe
551: [11:45:02] <travis-ci> dhensby/silverstripe-framework#77 (3.1 - 4e9f94f : Will Morgan): The build passed.
552: [11:45:02] <travis-ci> Change view : https://github.com/dhensby/silverstripe-framework/compare/83e64901c4ee...4e9f94f9fddf
553: [11:45:02] <travis-ci> Build details : http://travis-ci.org/dhensby/silverstripe-framework/builds/49168898
554: [11:45:02] * travis-ci has left #silverstripe
555: [11:45:39] * bemusedrat quit (Quit: Leaving)
556: [11:46:58] * NETim has joined #silverstripe
557: [11:47:29] <NETim> Morning, Trying to add a new function into modeladmin.
558: [11:47:31] <Pybzztk> Frans_Amsterdam: why a custom view?
559: [11:47:50] <Pybzztk> NETim: chances are, you're doing it wrong. ModelAdmin doesn't do 'functions'
560: [11:48:04] <Pybzztk> but, do go on. Might not be the case
561: [11:48:29] <NETim> Pybzztk, I'm starting out broad and we can finesse the description in a minute.
562: [11:48:38] <Pybzztk> righto
563: [11:48:51] <NETim> We want to add a button to trigger a 'runInvoices()' function.
564: [11:49:01] <NETim> Similar to the existing export and print buttons
565: [11:49:07] <Pybzztk> Frans_Amsterdam: the form itself is responsible for displaying the issues, not the field.
566: [11:49:10] <Pybzztk> iirc.
567: [11:49:17] <Pybzztk> so ... why the custom view?
568: [11:49:45] <Pybzztk> NETim: I'd start with the export button then. You're getting well into murky territory I'm afraid :<
569: [11:49:59] <NETim> I've managed to use getEditForm to mess with the existing buttons but I'd rather not have to include the definitions of the existing buttons just to add 1 new one.
570: [11:50:12] <Pybzztk> could you not put the button somewhere else? say like... a 'run task' tab or something?
571: [11:50:27] <NETim> Possibly but the client isn't too tech savvy.
572: [11:50:45] <Pybzztk> ModelAdmin isn't really for performing actions on a set.
573: [11:51:23] <NETim> Export?
574: [11:51:33] <NETim> Really just need to trigger an action.
575: [11:51:50] <Pybzztk> It also encourages questions from the client (especially if they're not tech savvy) that are hard to explain.
576: [11:52:05] <Pybzztk> like to do with ordering, limiting results, etc.
577: [11:52:07] <NETim> We just tell them that it's magic
578: [11:52:08] <NETim> :D
579: [11:52:14] <Pybzztk> export iirc exports ALL the things.
580: [11:52:29] <NETim> Only uses the summary fields though, unless extended.
581: [11:52:36] <Frans_Amsterdam> Pybzztk Thanks for reply First: because I need more control over layout. Second: When I use code from form.ss it shows my custom validation message. But it the style is not nice. So I thought I like to understand more how this works.
582: [11:52:48] <Pybzztk> if they filter the list in modeladmin then try to export, I can't recall but imagine that it still exports all matching records (not the filtered set)
583: [11:53:04] <NETim> Can't remember either.
584: [11:53:05] <Pybzztk> clients can get confused and upset.
585: [11:53:08] <Pybzztk> over this
586: [11:53:20] <Pybzztk> and other things like "why can't I reorder them?"
587: [11:53:24] <NETim> How would one push a new component to a listfield in a cmsform?
588: [11:53:38] <Pybzztk> NETim: make a component
589: [11:53:47] <Pybzztk> it's probably the easier idea.
590: [11:53:49] <NETim> (The whole process is a fire and forget anyway, no need for filter)
591: [11:53:55] <Pybzztk> righto
592: [11:54:21] <Pybzztk> that's why I suggest that perhaps a big shiny button under it's own heading (say like Settings or 'tasks' on the left menu) would do
593: [11:54:32] <NETim> At the moment, Parent::getEditForm returns a CMSForm, within which is a listfield which contains the existing buttons.
594: [11:54:34] <Pybzztk> NETim: but basically modeladmin is just a big gridfield.
595: [11:54:52] <Pybzztk> just add more components to the gridfield.
596: [11:54:59] <Pybzztk> making a component isn't hard :>
597: [11:55:18] <Pybzztk> but... it sounds like you want to call a function on a separate controller, etc. Sounds kinda troublesome.
598: [11:55:21] <NETim> Nope, just struggling to add the component to the gridfield.
599: [11:55:54] <NETim> Calling the function is the easy bit. Ironically it's harder to add the button...
600: [11:56:04] <Pybzztk> Frans_Amsterdam: 'control over layout' - this is why I'm asking. 9 times out of 10 what people REALLY want when they say this is already achievable, or achievable in a better (less interfering) manner
601: [11:56:48] <Pybzztk> say like changing FieldHolder.ss instead of Form.ss
602: [11:57:14] <Pybzztk> which just affects the fields (and just the div/middle column parts), not the whole form.
603: [11:57:19] <Pybzztk> field*
604: [11:57:35] <Pybzztk> NETim: just create a component
605: [11:57:44] <Pybzztk> GridField::addComponent
606: [11:57:47] <Pybzztk> job done.
607: [11:58:33] <Pybzztk> http://api.silverstripe.org/3.1/class-GridFieldComponent.html
608: [11:58:43] <Pybzztk> http://doc.silverstripe.org/en/developer_guides/forms/how_tos/create_a_gridfieldcomponent/
609: [11:58:54] <NETim> Ok, let's assume I'm not too experienced with modeladmin, how would i access/set the gridfield?
610: [11:59:27] <Pybzztk> http://doc.silverstripe.org/en/developer_guides/customising_the_admin_interface/modeladmin/
611: [11:59:49] <Frans_Amsterdam> Pybzztk I have a custom form that renders the custom view. What you are is that in some way I should use a modified version of FieldHolder.ss for that custom form?
612: [12:00:01] * micmania1 quit (Ping timeout: 256 seconds)
613: [12:00:04] <NETim> That's gotta be the first docs.silverstripe link I've seen that hasn't 404'd
614: [12:00:45] <Pybzztk> NETim: they updated a month or two back. Might be some references are dead because of this restructure
615: [12:00:52] <Pybzztk> especially if external
616: [12:00:52] <Frans_Amsterdam> Pybzztk now im using this: http://www.sspaste.com/paste/show/54cf631a3357a
617: [12:01:25] <NETim> Cool, thanks.
618: [12:01:51] <NETim> Didn't think I'd ever be happy about figuring out how to add a new button after all these years...
619: [12:02:00] <Pybzztk> Frans_Amsterdam: thought so. bootstrap classes are all you need to add?
620: [12:02:10] <Pybzztk> or is there more complex stuff your'e doing?
621: [12:02:41] <Pybzztk> NETim: gridfieldcomponents basically come down to just impelmenting the right interfaces.
622: [12:03:10] <Pybzztk> then adding it in the right place (I get a bit lost at this point, so I don't blame you for getting the confuse in ya)
623: [12:03:18] <Frans_Amsterdam> I think a bit more complex, though I like to know how the message is created and added to the form.
624: [12:04:13] <Pybzztk> Frans_Amsterdam: well, for a start, you can just <% loop Fields %>
625: [12:04:21] <Pybzztk> instead of manually hard coding each of them
626: [12:05:03] <Pybzztk> and for the most part fields have ->addClass function
627: [12:05:36] <kinglozzer> PigeonFriend: https://github.com/silverstripe/silverstripe-framework/issues/3842 is your relation name a typo? has_one is named "Member" but your summary fields is looking for "Person"
628: [12:06:46] <Pybzztk> Frans_Amsterdam: which can be used to add bootstrap classes to the fields
629: [12:06:47] <PigeonFriend> kinglozzer: thanks, good spot
630: [12:07:02] <PigeonFriend> I changed it to person late on to highlight the SQL error more clearly
631: [12:07:10] <kinglozzer> PigeonFriend: That should work :(
632: [12:07:34] <Frans_Amsterdam> Pybzztk Yes I do that first.
633: [12:08:18] <PigeonFriend> kinglozzer: well, it *should* in that we'd like it to. As the code is written it shouldn't (as Name is not a DB field) but DataObject::hasField reports pseudo fields (get[FieldName] functions) as real fields...
634: [12:08:30] <Pybzztk> Frans_Amsterdam: you're jsut including the field directly into the template.
635: [12:08:38] <kinglozzer> PigeonFriend: Ahh I see
636: [12:09:01] <kinglozzer> Didn't spot that it was pointing to a method not a field
637: [12:09:03] <Frans_Amsterdam> Pybzztk is that no good?
638: [12:09:12] <Pybzztk> to answer your original query (for more knowledge/understanding) - this calls forTemplate, which for what I recall simply calls $this->Field(), which gives the actual internal part of the form field
639: [12:09:13] <PigeonFriend> kinglozzer: I think we probably should have some spec for summary_fields that can point those getters to real DB fiels
640: [12:09:47] <kinglozzer> PigeonFriend: I'm not so sure. Doing that, all the sorting / filtering (if we apply this to the filter header component too) will be done in-memory
641: [12:09:57] <Pybzztk> the default form has FieldHolder, whcih contains div.field>label+div.middleColumn
642: [12:10:10] <PigeonFriend> there should be some wat to say "this pseudo field is the equivelent of this sort" eg: Name => 'FirstName ASC, Surname ASC'
643: [12:10:13] <Pybzztk> then $Field actually puts out the <input /> or whatever
644: [12:10:14] <PigeonFriend> type thing
645: [12:10:35] <Pybzztk> Frans_Amsterdam: so you're assuming that you're getting more than you are by calling FieldByName I think
646: [12:11:04] <Pybzztk> you are not including any disclaimers at any point in your field output (from your custom template)
647: [12:11:11] <Pybzztk> so any messages simply are not there.
648: [12:11:52] * Shrike_Finland quit (Quit: Leaving.)
649: [12:12:00] <Pybzztk> Frans_Amsterdam: default holder: https://github.com/silverstripe/silverstripe-framework/blob/3.1/templates/forms/FormField_holder.ss
650: [12:12:20] <Pybzztk> default template for $Field in above https://github.com/silverstripe/silverstripe-framework/blob/3.1/templates/forms/FormField.ss
651: [12:13:01] <kinglozzer> PigeonFriend: That makes more sense, like a $sortable_fields?
652: [12:13:29] <kinglozzer> Your second example can already be done (if you're not aware), albeit in a less simple way
653: [12:13:38] <Pybzztk> Frans_Amsterdam: if you don't want to <% loop Fields %> in your form, and need to hard code for some reason (you should avoid this), then you should <% with Fields.getFieldByName(...) %>
654: [12:13:44] <Pybzztk> that way you can access what you need
655: [12:13:58] <kinglozzer> Though you're right in that it should be possible using dot notation IMO
656: [12:13:58] <Pybzztk> as opposed to hard coding eg $FormName_Surname
657: [12:14:21] <Frans_Amsterdam> Pybzztk Great, I have been struggling a while with this, I use the loop again. But for my curiousity it cannot be done by rendering the fields with FieldByName and some extra's .
658: [12:14:39] <Pybzztk> Frans_Amsterdam: huh?
659: [12:15:13] <Pybzztk> what is 'it' and is that a question or a statement?
660: [12:16:18] <Frans_Amsterdam> Pybzztk Sorry I am planning to use <% loop Fields %> but the second solution I like to know about. <% with FieldsByName ....
661: [12:16:38] <PigeonFriend> kinglozzer: how?
662: [12:17:27] <Pybzztk> Frans_Amsterdam: what you have already (http://www.sspaste.com/paste/show/54cf631a3357a) but using <% with %> instead of just calling the field.
663: [12:17:43] <kinglozzer> PigeonFriend: $config->getComponentByType('GridFieldDataColumns')->setFieldCasting(array('Date' => 'Date.Nice'))
664: [12:18:55] <kinglozzer> PigeonFriend: Sorry, setFieldCasting(array('Date' => 'Datetime->Date'))
665: [12:19:29] <Frans_Amsterdam> Pybzztk Thanks I think I understand. Now I am going to experiment with both solutions.
666: [12:19:47] <kinglozzer> I only found that from the DMS module (of all modules!)
667: [12:20:27] <Pybzztk> Frans_Amsterdam: see your paste again (refresh it), I left a comment
668: [12:20:48] <Frans_Amsterdam> Pybzztk I go see it
669: [12:21:53] <Frans_Amsterdam> Pybzztk That's great, Thanks again.
670: [12:25:40] <PigeonFriend> kinglozzer: yer, but that's more of a hack
671: [12:25:54] <PigeonFriend> if FieldName.Format actually creates the column, the sorter should be able to work with it
672: [12:26:08] <kinglozzer> PigeonFriend: Well, it's not really a hack, but I agree that the dot notation for it should work
673: [12:26:28] <PigeonFriend> not really a hack, but kind of a hack
674: [12:26:29] <PigeonFriend> :P
675: [12:26:41] <PigeonFriend> it's code that really shouldn't be needed
676: [12:26:43] <kinglozzer> A hack for a lack
677: [12:26:44] <kinglozzer> :P
678: [12:26:47] <PigeonFriend> :P
679: [12:27:30] <PigeonFriend> ok, one *can* use setFieldSorting on the GridField
680: [12:27:36] <PigeonFriend> *GridFieldComponent
681: [12:27:47] <PigeonFriend> But I think it should work out of the box as much as possible
682: [12:28:25] <kinglozzer> Tbh looking at GridFieldSortableHeader, it's doing all the joins manually and stuff... could probably be refactored to use DataQuery or something a bit nicer
683: [12:28:48] <kinglozzer> I wonder which moron wrote that...
684: [12:28:49] <PigeonFriend> kinglozzer: oh wait, no, that doesn't do what I thought
685: [12:28:51] <kinglozzer> (spoiler: it was me)
686: [12:29:07] <PigeonFriend> wuh-oh - i'll stay quiet
687: [12:29:40] <PigeonFriend> I will say that `getHTMLFragments` has far too much responsibility
688: [12:30:06] <kinglozzer> PigeonFriend: Feel free to flame :P dot notation wasn't supported at all so figured I'd at least give it the basic ability to sort on a has_one
689: [12:30:42] <PigeonFriend> Dot notation is so central to SS that I'm surprised there's no utility class for dealing with it
690: [12:30:50] <PigeonFriend> like resolving the dot notation in a standard way
691: [12:31:25] <PigeonFriend> DotNotationResolver::resolve($notation, $baseObject); or something
692: [12:31:39] <PigeonFriend> there are SO MANY different parts of the CMS that work out their own resolution of dot notation
693: [12:31:59] <Pybzztk> oh?
694: [12:32:52] <Pybzztk> do go on
695: [12:34:17] <PigeonFriend> *parts of the framework
696: [12:34:40] * Shrike_Finland has joined #silverstripe
697: [12:35:11] <PigeonFriend> also, kinglozzer: thoughts on this https://github.com/silverstripe/silverstripe-framework/pull/3615
698: [12:36:41] <kinglozzer> Hmm, it's kinda half-way between API and bugfix. It's an "opt-in" bugfix :P
699: [12:40:51] <kinglozzer> If it's impossible to fix that bug in a BC way, I think it's probably okay to leave. I'd rather see bugs fixed like that than left until the next minor release
700: [12:41:13] <Frans_Amsterdam> Pybzztk Workzzzz!! Thanks.
701: [12:41:15] <kinglozzer> Though... is it explicitly against semver?
702: [12:44:26] <PigeonFriend> MINOR version when you add functionality in a backwards-compatible manner
703: [12:44:32] <PigeonFriend> PATCH version when you make backwards-compatible bug fixes
704: [12:45:18] <ss23> Strict adherence to semvar requires a frequent release cycle
705: [12:45:20] <PigeonFriend> The thing is, it's not a bug fix IMO, it's a feature
706: [12:45:56] <PigeonFriend> ss23: indeed, I've looked through the last 3 pages of commits against 3.1 and there are about 2 commits that aren't DOCS so I wouldn't say we need to release a patch version yet
707: [12:46:12] <ss23> There should b e a bunch of security ones coming through soon
708: [12:46:49] <PigeonFriend> also, there's no "strict" or "loose" adherence. either you are working semver or you're not. it may be "semver like versioning" but then it's not semver
709: [12:47:14] <PigeonFriend> but is that a bug? seems like a new feature being added in a BC way to me
710: [12:51:45] * jcwacky has joined #silverstripe
711: [12:55:30] <jcwacky> Is there anyway to allow a CMS user to move a folder in assets into another folder?
712: [12:56:33] <kinglozzer> PigeonFriend: Yeah, you're right that we shouldn't "loosely" adhere to it. Now I think about it, that bug can be resolved by adding a query string or something to the request anyway, right?
713: [12:57:44] <kinglozzer> Security will probably always be case-by-case - we can't delay critical security fixes for any reason really
714: [12:57:59] <kinglozzer> (imo)
715: [12:58:07] * kinglozzer lunches
716: [12:59:17] <kinglozzer> OH DERP
717: [12:59:27] <kinglozzer> The PR was to _enable_ ajax to be cached
718: [12:59:28] <kinglozzer> doh
719: [13:00:03] <PigeonFriend> kinglozzer: yer, I don't think QS will make any difference
720: [13:00:25] <kinglozzer> Yeah I was thinking the other way round ><
721: [13:00:46] <kinglozzer> But yeah, it's not really a bug fix - more an enhancement. Not having them cached isn't going to break anything at all
722: [13:01:04] <kinglozzer> bbl
723: [13:14:57] * spronk2 has joined #silverstripe
724: [13:20:13] <Pybzztk> huh, just counted change given to me at lunch.
725: [13:20:56] <Pybzztk> paid for £3 sandwich with £10, got £12 change.
726: [13:34:53] <zauberfisch> Pybzztk: good for you. now that you are a rich man, you could quiet your job and fix some of those anoying bugs in the framework :P
727: [13:34:55] <svandragt_> Pybzztk: hmm inflation increasing by a few 1000%?
728: [13:35:57] <Pybzztk> zauberfisch: hmm, annoying bugs/
729: [13:36:22] <Pybzztk> Are moths eating holes in the punch cards again?
730: [13:37:30] * UndefinedOffset has joined #silverstripe
731: [13:42:47] <PigeonFriend> svandragt_ isn't that deflation
732: [13:42:54] <PigeonFriend> if your money is worth more later, it's deflation
733: [13:43:19] <svandragt_> PigeonFriend: yeah
734: [13:47:24] * spronk2 quit (Quit: I may need a longer sleep timer...)
735: [13:56:19] <Pybzztk> PigeonFriend: if your money is worth more later, it's called stagnation. Aka Japan late 90's.
736: [13:56:38] <Pybzztk> culture of saving, great for GDP, shit for when it comes to actually getting stuff done :<
737: [13:56:51] <PigeonFriend> Pybzztk... no, it's deflation... stagnation is a term used about economic growth
738: [13:56:58] <Pybzztk> or something like that.
739: [13:57:10] <Pybzztk> PigeonFriend: yeah, but what I meant is that prolonged deflation leads to stagnation :>
740: [13:57:23] <Pybzztk> the only case that I'm aware of where deflation was ever a thing, is Japan.
741: [13:57:34] <PigeonFriend> the EU right now...
742: [13:57:41] <Pybzztk> Really/
743: [13:57:43] <Pybzztk> ? *
744: [13:57:57] <PigeonFriend> inflation is good because it means that you should buy things now because if you buy stuff later it'll cost you more. deflation is bad becase, as you say, it encourages saving because you'll have more later if you don't spend it
745: [13:58:02] <Pybzztk> Maybe I should invest in some Euros :>
746: [13:58:30] <PigeonFriend> yes, http://www.economist.com/blogs/freeexchange/2015/01/euro-zone-slides-deflation
747: [13:58:36] <Pybzztk> hmm, interesting
748: [13:58:40] <Pybzztk> I was not aware
749: [13:58:49] <PigeonFriend> haha, no.. the value of the euro is/has plumetting in global markets
750: [13:59:16] <PigeonFriend> it's not actually that bad because it's almost all because of energy prices going down
751: [13:59:20] <Pybzztk> yeah, that's value to external currencies though.
752: [13:59:31] <PigeonFriend> and the fact Germany stopped the ECB starting QE until last month
753: [13:59:40] <Pybzztk> but which usually leads to hyperinflation, like with the danger Russia is in presently
754: [14:00:10] <PigeonFriend> yes, so if you buy lots of euros, though you'll be able to buy more stuff in EU later, you'll lose money compared to the currencty you'll want to convert it back into
755: [14:00:43] <PigeonFriend> inflation/deflation only matters if all your spending is in that currency because you don't benefit from cheaper energy if you're not actually buying your energy in that economy
756: [14:01:25] <Pybzztk> I'm gonna use my deflated dosh to invest in a windmill.
757: [14:01:51] <Pybzztk> then I can tell scottishpower to go fuck themselves.
758: [14:02:17] <Pybzztk> have no record of us even being in the house until 3 months ago, then suddenly we get a bill that's 3x the same period the previous year.
759: [14:02:23] <Pybzztk> with no breakdown.
760: [14:02:39] <PigeonFriend> yay energy companies
761: [14:03:35] <Pybzztk> yeh
762: [14:04:12] <Pybzztk> I'm almost positive that if I call the support line they once again will still have no record of us living at the address.
763: [14:07:38] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
764: [14:24:10] * jcwacky quit (Quit: jcwacky)
765: [14:24:29] * blueman has joined #silverstripe
766: [14:30:17] * catcher has joined #silverstripe
767: [14:40:15] <NETim> Leftandmain _EditForm template, anyone know how $Message is set?
768: [14:42:35] * wmk quit (Ping timeout: 250 seconds)
769: [14:47:22] * Frans_Amsterdam has joined #silverstripe
770: [14:49:26] <NETim> Anyone?
771: [14:50:28] <NETim> Has the world ended and nobody has told me yet again?
772: [14:50:44] * babak has joined #silverstripe
773: [14:52:15] * lerni_ has joined #silverstripe
774: [14:55:44] <catcher> NETim, Yes.
775: [14:56:23] <catcher> NETim, that's a pretty specific thing, your best bet is probably tracing it backwards.
776: [14:59:34] <catcher> NETim, for example, I see it here: http://api.silverstripe.org/3.1/source-class-GridFieldDetailForm_ItemRequest.html#499-574
777: [15:00:42] <catcher> ...maybe
778: [15:07:58] <zauberfisch> oh, fuck it
779: [15:08:04] <zauberfisch> I hate frontend package managers D:
780: [15:08:13] <zauberfisch> just going to use composer now
781: [15:08:19] <NETim> catcher, thanks. I've used a leftandmain extension to generate a form, I've used $this->response->addHeader() to add the message.
782: [15:08:30] <Pybzztk> zauberfisch: frontend... oh like bower gulp grunt goober
783: [15:08:37] <kinglozzer> npm ^^
784: [15:08:38] <Pybzztk> npm*
785: [15:08:40] <kinglozzer> :P
786: [15:08:51] * Pybzztk goes to find that tweet
787: [15:09:04] <zauberfisch> while I like the community and the movement that makes node
788: [15:09:07] <zauberfisch> I hate that its node
789: [15:10:00] <zauberfisch> I am not a javascript hater per se, but couldn't we have done that in a shell script, makefile or some other language that is installed on an average webhosting or managed server
790: [15:11:09] <zauberfisch> and for package managers, why can't we have binaries? D:
791: [15:11:49] <Pybzztk> ffffffffff cannot find it
792: [15:12:22] <Pybzztk> zauberfisch: I don't like them either, but for different reasons.
793: [15:12:30] <Pybzztk> there was a tweet I saw that went something like:
794: [15:13:15] <Pybzztk> just use this library. How do I get it? grunt build file.js - What's grunt? - install it with bower - what's bower - install it with npm - what's npm ...
795: [15:13:16] <Pybzztk> etc
796: [15:13:34] <zauberfisch> Pybzztk: yeah
797: [15:13:35] <zauberfisch> that too
798: [15:14:20] <PigeonFriend> heh, same thing can be said for composer really
799: [15:14:22] <zauberfisch> and its not that bower is actually doing a good job
800: [15:14:46] <PigeonFriend> as with all these things, it's about whether the benefit vs the cons.
801: [15:15:20] <zauberfisch> PigeonFriend: well, while composer is not perfect, I like it far better than the ones I see in the frontend
802: [15:16:12] <PigeonFriend> I've found bower to be pretty ace
803: [15:16:14] <catcher> I have a site with this, and I have no idea how to manage the theme. https://github.com/rywa/silverstripe-foundation-theme
804: [15:16:28] <catcher> The theme is installed with composer, and the theme has foundation installed with bower.
805: [15:17:29] <catcher> You can upgrade foundation w/ bower, but then the composer package differs. Same is true for customizing the theme.
806: [15:19:20] <PigeonFriend> well, you're not meant to update the bower components independently of the theme, surely?
807: [15:19:33] <PigeonFriend> that's a bit like using SS-cms 3.2 with SS-framework 3.1
808: [15:19:47] <Pybzztk> zauberfisch: mostly I just hate with passion the 'fads' the internet 'development community' goes through.
809: [15:20:01] <PigeonFriend> I wouldn't be pulling in themes with composer... if you want to edit it, then it shouldn't be a resource managed by composer
810: [15:20:06] <catcher> PigeonFriend, it suggests to upgrade foundation right in the docs.
811: [15:20:14] <Pybzztk> each one as inane as the last, but the same stress is put on that if you don't follow the ever changing convention, you're doing it wrong, are not a real developer, etc.
812: [15:20:38] <Pybzztk> even though it's just some renamed concept from 1970 that someone has adopted to web development as is passing it off as some new revolutionary game changer.
813: [15:20:48] <Pybzztk> say like encapsulation.
814: [15:20:48] <kinglozzer> Pybzztk: Wasn't that tweet about python?
815: [15:20:50] <catcher> PigeonFriend, yeah, that's where I'm ending up. Manual updates if needed.
816: [15:20:54] <Pybzztk> kinglozzer: nope
817: [15:21:19] <Pybzztk> kinglozzer: I remember it specifically because bower always reminds me of super mario.
818: [15:21:25] <Pybzztk> ever single time.
819: [15:21:34] <PigeonFriend> composer (or any dependency mangager) should only be used for read-only includes
820: [15:21:44] <Pybzztk> 'herpa derpa, gotta install me some tertle enemies to mah webapps'
821: [15:22:04] <zauberfisch> damn it
822: [15:22:10] <zauberfisch> using composer won't really work either
823: [15:22:23] <Pybzztk> what are you up to zauberfisch ?
824: [15:22:42] * Pybzztk is busy with DROP DATABASE *
825: [15:22:50] <catcher> PigeonFriend, the goal was to have only parts of it managed, but that just isn't happening.
826: [15:23:00] <zauberfisch> there is an option to specify a repo url, and that even works for repos that don't have a composer.json, but it won't update those unless you manaully edit your own composer file to change the version number each time
827: [15:23:01] <PigeonFriend> anyway, you can use bower packages with composer
828: [15:23:03] <PigeonFriend> so no need to fret
829: [15:23:04] <zauberfisch> D:
830: [15:23:26] <zauberfisch> Pybzztk: was hoping to use composer to fetch a number of git repos that contain my frontend dependencies
831: [15:23:42] <zauberfisch> because bower is anoying me
832: [15:23:50] <zauberfisch> and bower is not running on my managed server
833: [15:23:56] <Pybzztk> kinglozzer: how do you get all of those things? INSTALL YEOMAN
834: [15:23:59] <PigeonFriend> zauberfisch: fxp/composer-asset-plugin
835: [15:24:00] <Pybzztk> OH GAWD ANOTHER ONE
836: [15:24:06] <Pybzztk> why did I try to google that tweet again :<
837: [15:24:07] <PigeonFriend> that's a composer plugin to use composer to manage bower deps
838: [15:24:09] <kinglozzer> Pybzztk: BREW
839: [15:24:15] <Pybzztk> yes!
840: [15:24:24] <kinglozzer> <3 brew
841: [15:24:25] <Pybzztk> brew bower npm yeoman gulp grunt
842: [15:24:26] <PigeonFriend> https://packagist.org/packages/fxp/composer-asset-plugin
843: [15:24:33] <PigeonFriend> broccoli.js is the latest thing
844: [15:24:35] <Pybzztk> INSTALL ALL THE REQUSITES
845: [15:24:41] <Pybzztk> then for your php app, also install ruby
846: [15:24:45] <Pybzztk> and python
847: [15:24:52] <Pybzztk> because SASS and Ansible
848: [15:24:56] <kinglozzer> lol, I love the naming of JS frameworks
849: [15:25:02] <Pybzztk> fuck'n... ALLLLLL OF THE DEPENDENCIES
850: [15:25:05] <Pybzztk> ALL OF THEM!
851: [15:25:13] <zauberfisch> PigeonFriend: wow, that might save my day
852: [15:25:16] <zauberfisch> PigeonFriend: thanks a lot
853: [15:25:17] <Pybzztk> I thought the idea was to make shit simpler, not more retarded :<
854: [15:25:32] <kinglozzer> Pick a noun, add .js and there's probably a framework named after it :P
855: [15:25:41] <zauberfisch> kinglozzer Pybzztk: brew? - apt-get or yum!
856: [15:26:19] <zauberfisch> Pybzztk: I actually have libsass already running on my managed server
857: [15:26:20] <zauberfisch> yay
858: [15:26:31] <zauberfisch> no ruby
859: [15:26:46] * elephat has joined #silverstripe
860: [15:26:56] <elephat> hi PigeonFriend
861: [15:27:13] <zauberfisch> and on compass there is currently an open issue being discussed to port compass to libsass
862: [15:27:16] <PigeonFriend> elephat: hi
863: [15:27:23] * Pydedk has joined #silverstripe
864: [15:27:25] <Pydedk> dem drops :<
865: [15:27:38] <Pydedk> pacman > GHOST
866: [15:27:46] <Pydedk> that was probably the best observation a colleague made.
867: [15:27:53] <PigeonFriend> zauberfisch: let's hope not, BUT we've started to decide compass is a bit overkill and it's better to use sometihng like bourbon
868: [15:27:56] <kinglozzer> zauberfisch: We're looking at libsass, but it's still kinda broken for a few features we use
869: [15:28:05] <Pydedk> Do I need to upgrade glibc on archlinux?
870: [15:28:17] <Pydedk> "No because pacman > ghost" :P
871: [15:28:21] <kinglozzer> It's getting there fast , though
872: [15:28:24] <Pydedk> who ya gonna call?
873: [15:28:55] <Pydedk> kinglozzer: me, personally, I just like to write CSS.
874: [15:29:00] <Pydedk> I find it easier.
875: [15:29:14] <Pydedk> http://grooveshark.com/#!/album/Lonely+Are+The+Brave/2844482
876: [15:29:37] * Pybzztk quit (Ping timeout: 246 seconds)
877: [15:30:01] <PigeonFriend> Pydedk: there is no way it is easier to write a large front-end with vanilla css
878: [15:30:08] <zauberfisch> PigeonFriend: hope not? :O
879: [15:30:12] <elephat> I agree
880: [15:30:14] <elephat> SASS > CSS
881: [15:30:28] <zauberfisch> PigeonFriend: so you enjoy the ruby dependency and waiting a few seconds for your css to compile?
882: [15:30:51] <elephat> zauberfisch: I think a few seconds is better than writing a 10000 line stylesheet
883: [15:30:52] <Pydedk> PigeonFriend: write it once, write it right!
884: [15:30:58] * DimiStripe has joined #silverstripe
885: [15:31:00] <Pydedk> xD
886: [15:31:10] <elephat> Pydedk: that's incredibly ironic given SASS lets you literally write things once and extend
887: [15:31:18] <svandragt_> add another tool in then to manage the tools http://livereload.com/
888: [15:31:21] <Pydedk> That's not irony.
889: [15:31:22] <zauberfisch> elephat: I am talking libsass vs sass. not sass vs css
890: [15:31:23] <svandragt_> ;)
891: [15:31:45] <elephat> if browsers supported sass natively though...
892: [15:31:48] <elephat> I bet you'd all flock to it
893: [15:31:52] <Pydedk> also I find it silly that people rip on and on about sass, when it's basically doing what every scripting language has been able to do for YEARS.
894: [15:31:53] <kinglozzer> IE8
895: [15:31:54] <kinglozzer> :P
896: [15:32:14] <zauberfisch> Pydedk: yeah, that is a good point
897: [15:32:14] <Pydedk> elephat: if browsers supported sass natively then that'd defeat the ENTIRE point of CSS.
898: [15:32:34] <PigeonFriend> "<elephat> Pydedk: that's incredibly ironic given SASS lets you literally write things once and extend" lol, +1
899: [15:32:35] <Pydedk> and so if I say "I don't use SASS" people get all mad at me, and almost have a mini rage at me.
900: [15:32:35] <zauberfisch> Pydedk: people have been doing that with php for years
901: [15:32:38] <Pydedk> when I could use LESS
902: [15:32:41] <Pydedk> I could use PHP
903: [15:32:55] <Pydedk> hell I could have my own DSL that I compile with C++
904: [15:32:58] <Pydedk> app
905: [15:33:04] <Pydedk> with a*
906: [15:33:11] <zauberfisch> Pydedk: but what makes sass +compass great are the pre defined mixins and functions
907: [15:33:26] <Pydedk> yeh, I get that. But those are functional.
908: [15:33:37] <Pydedk> as in, CSS is a declarative language.
909: [15:33:42] * Shrike_Finland quit (Quit: Leaving.)
910: [15:33:51] <Pydedk> I get it, I do.
911: [15:33:56] <PigeonFriend> zauberfisch: hmm, maybe I'm thinking of something else. I thought libsass was a layer on top of sass, not just a compiler.. if it's a better compiler, then cool
912: [15:34:07] <Pydedk> Having presets and vars and all that are good for maintainability.
913: [15:34:11] <kinglozzer> PigeonFriend: It's a faster, but currently less well featured compiler
914: [15:34:20] <Pydedk> but... I don't like how poeple rage at me for not using SASS, so I continue to not use it.
915: [15:34:21] <zauberfisch> PigeonFriend: its a port of the ruby code
916: [15:34:29] <zauberfisch> PigeonFriend: so its milliseconds instead of seconds
917: [15:34:36] <Pydedk> I've never encountered a project yet where it'd have benefitted me more than it'd have hindered me.
918: [15:34:42] <kinglozzer> http://sass-compatibility.github.io/
919: [15:34:46] <kinglozzer> PigeonFriend, zauberfisch ^^
920: [15:34:47] <PigeonFriend> well, I think that depends on your machine... i know people compiling sass in ms
921: [15:34:49] <Pydedk> Granted I've never made facebook though. So like meh.
922: [15:34:55] <PigeonFriend> my sass takes a while coz I'm using Vagrant
923: [15:35:03] <zauberfisch> though you have to build it yourself. which is super easy but might be a problem for the usual frontend devs
924: [15:35:04] <Pydedk> css files don't get that huge for me.
925: [15:35:50] * wmk has joined #silverstripe
926: [15:35:54] <Pydedk> Also mostly I hated having to install ruby, and whatever else is a dependency, just to generate some CSS.
927: [15:36:12] <Pydedk> 10 dependencies to let me set colours in a single place. whoopdee.
928: [15:36:27] <Pydedk> so it comes back to the frontend manager thing again.
929: [15:36:43] <Pydedk> hello wmk
930: [15:36:56] <zauberfisch> PigeonFriend: i7, ssd, 8gb ram, linux. so its certainly not a hardware or os problem
931: [15:36:57] <wmk> re
932: [15:37:22] <elephat> Pydedk: no... if browsers supported SASS (if it became a W3C standard) then it would simply be an enhanced version of CSS to work with
933: [15:37:22] <zauberfisch> PigeonFriend: I guess this project that I am working on has just to many style sheets
934: [15:37:37] <Pydedk> elephat: no, it wouldn't.
935: [15:37:39] * Frans_Am_ has joined #silverstripe
936: [15:37:40] <Pydedk> You don't get it.
937: [15:37:42] <elephat> that sounds like an awfully emotional argument, too
938: [15:37:46] <elephat> luddite, even
939: [15:38:21] <elephat> how would it "defeat the point" of CSS?
940: [15:38:31] <Pydedk> sass is functional.
941: [15:38:37] <Pydedk> css is declarative.
942: [15:38:41] <elephat> ...
943: [15:38:49] <elephat> right, and how does that defeat the point?
944: [15:38:52] <Pydedk> these are differing ideologies.
945: [15:39:01] <Pydedk> Mutually exclusive.
946: [15:39:29] <zauberfisch> PigeonFriend: so anyway. its a faster sass implementation. and has bindings for many languages, so you could integrate it in an application
947: [15:39:49] <elephat> oh my god
948: [15:39:53] <Pydedk> zauberfisch: which eliminates that 'you need ruby' dependency.
949: [15:39:57] <PigeonFriend> elephat: I agree with Pydedk that SASS support in browsers makes no sense as it's full of nested imports so would be very slow and counter productive to a site to have to server all the SASS files. Chrome does support SASS via a map file, though not embedded in the page and I think that's a good thing
950: [15:39:58] <Pydedk> which is good :>
951: [15:40:09] <zauberfisch> in fact, it would allow us to make a silverstripe module that comes with libsass and php bindings and performs a recompile of the css on ?flush=1
952: [15:40:13] <PigeonFriend> but Pydedk: you completely mis-understand the point of sass if you think it's about delcaring vars
953: [15:40:20] <elephat> the argument that one invalidates the other really doesn't hold
954: [15:40:31] <elephat> you can't just lob obscure phrases
955: [15:40:32] <Pydedk> PigeonFriend: I know it's more than that, it's just the most often and accessible point that people always raise.
956: [15:40:34] <elephat> reason with me, please
957: [15:40:39] <PigeonFriend> that's the most basic feature of sass and not really why anyone uses it. it's about approach and methodology
958: [15:41:47] <Frans_Am_> Hello, I have question on Routes. I have created a "ConfirmMember" method on 'ContactPage" controler and added it to allowed actions. This I can acces the method trough an url if I have added a routes.yml? in this moment I'm getting the following error: Uncaught ReflectionException: Class ContactPage/ConfirmMember/ does not exist. Anyone a clue what I do wrong?
959: [15:41:52] <PigeonFriend> Pydedk: that's probably because they are explaining it to someone with little to no experience. really it's about enabling good conventions
960: [15:42:01] <PigeonFriend> Frans_Am_: what, you want to talk about SS? pfft
961: [15:42:23] <PigeonFriend> Frans_Am_: code please
962: [15:42:28] <Frans_Am_> Yes, I would like that
963: [15:42:38] <Pydedk> PigeonFriend: conventions are... well just that. Conventions though.
964: [15:42:57] <Pydedk> One can use a so called outdated tech with good conventions.
965: [15:43:06] <PigeonFriend> indeed. I bet you use conventions for your vanilla css
966: [15:43:16] <Pydedk> as anyone does with anything really.
967: [15:43:43] <Pydedk> I haven't written css in a helluva long time either though, so I dunno.
968: [15:45:01] * elephat quit (Ping timeout: 246 seconds)
969: [15:48:56] <PigeonFriend> Frans_Am_ ?
970: [15:49:09] <Frans_Am_> PigeonFriend Hi Here is my code: http://www.sspaste.com/paste/show/54cf9c169ccfd
971: [15:49:44] <Pydedk> Frans_Am_: slash in route
972: [15:50:03] <Pydedk> also, got them backwards.
973: [15:50:15] <Pydedk> Controller: 'matching/rule'
974: [15:51:00] <Pydedk> and for the last part, you dont' need to define that rule.
975: [15:51:23] <Pydedk> if you load the page, it'll automatically look for the action that follows it
976: [15:52:13] <PigeonFriend> Frans_Am_: so if you just want it to work as an action on your page, you don't need the YML bit. you'll be able to get it as example.com/contact-page-url/ConfirmMember
977: [15:52:22] <Pydedk> ^
978: [15:52:30] <kinglozzer> How do you guys do deploys? git pull? Capistrano? CI server like Travis/Jenkins?
979: [15:52:52] <Pydedk> kinglozzer: I used to git pull.
980: [15:53:07] <PigeonFriend> but if you want to have a static url example.com/confirmation you'll need to point it at the controller so - 'confirmation': 'ContactPage_Controller'
981: [15:53:08] <Eliseth> We use beanstalkapp
982: [15:53:10] <PigeonFriend> but that's not a good idea
983: [15:53:10] <Pydedk> I wanted to do something with some kinda deployment thing, but just... never did.
984: [15:54:24] <zauberfisch> kinglozzer: depends on the server for me.
985: [15:54:39] <zauberfisch> 1) git hook triggers script that runs git pull + composer
986: [15:54:53] <zauberfisch> 2) manual ssh to git pull + composer
987: [15:55:04] <zauberfisch> 3) ftp (using phpstorm)
988: [15:55:31] <wmk> nr 2) could be automated with ansible...
989: [15:56:21] <Eliseth> Still haven't started with ansible...
990: [15:57:06] <zauberfisch> wmk: true, but its a bit of an overkill for my purpose
991: [15:57:12] <zauberfisch> its a 1 liner
992: [15:57:33] <Pydedk> I preferred manual pull, that way I had control over when it happened, as opposed to git push hook.
993: [15:57:35] <Eliseth> Was hoping anyone here would had experience with SS on Heroku, since Heroku can integrate nicely in our workflow with Beanstalkapp
994: [15:57:47] <zauberfisch> something like:
995: [15:57:49] <zauberfisch> ssh user@foo.bar "git pull && composer update --no-dev"
996: [15:57:58] <Pydedk> wmk: yeah, I like the sound of ansible. Just never got around to it.
997: [15:58:10] <Pydedk> zauberfisch: home is web root?
998: [15:58:14] <Pydedk> hmm.
999: [15:58:22] <zauberfisch> Pydedk: nah
1000: [15:58:26] <kinglozzer> Yeah we currently git pull, need to find time to try other things. I set up some Capistrano scripts once, never had time to properly look into it though (and I don't know Ruby, so was kinda fumbling around)
1001: [15:58:30] <kinglozzer> Thanks all
1002: [15:58:38] <zauberfisch> Pydedk: but for the example I don't include a cd
1003: [15:58:51] <Pydedk> kinglozzer: yeah, ansible has a similar approach to cap IIRC, but uses python
1004: [15:58:51] <Pydedk> afaik
1005: [15:59:02] <Pydedk> zauberfisch: ah, makes sense.
1006: [15:59:12] <Pydedk> home for me was vhost root.
1007: [15:59:17] <kinglozzer> Has anyone actually tried deploynaut? :P
1008: [15:59:20] <wmk> zauberfisch, do you know the git-merge hook i do?
1009: [15:59:33] <wmk> so "git pull" and composer update / sake dev/build is done automatically
1010: [15:59:59] <wmk> zauberfisch, https://gist.github.com/wernerkrauss/33dcb098c05ed063be22
1011: [16:00:28] <Frans_Am_> Pydedk PigeonFriend now I have this in the routes.yml: 'ContactPage_Controller' : 'confirmation' it says Page not found. There is no error. So I guess its working. I expected the var_dump to be displayed.
1012: [16:00:46] <Pydedk> Frans_Am_: I might have been wrong.
1013: [16:00:52] <Pydedk> it might be route: Controller
1014: [16:00:57] <Pydedk> you'll have to check it with docs.
1015: [16:01:18] <Frans_Am_> Pydedk I go check it.
1016: [16:01:30] <PigeonFriend> and remember to flush
1017: [16:01:38] <Pydedk> oh, yeah ^
1018: [16:01:50] <Pydedk> though to be fair PigeonFriend if he hadn't he'd still get the php fatal error
1019: [16:03:40] <PigeonFriend> touche
1020: [16:04:21] * lerni_ quit ()
1021: [16:04:38] <zauberfisch> PigeonFriend: have you used that asset module?
1022: [16:07:14] <PigeonFriend> "that asset module" being.....?
1023: [16:07:17] <PigeonFriend> oh, the composer one
1024: [16:07:26] <PigeonFriend> no, but it's been recommended highly to me :)
1025: [16:08:02] * Frans_Amsterdam quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1026: [16:09:25] <Frans_Am_> Pydedk PigeonFriend Thanks, sure for the flush part.
1027: [16:10:04] * Frans_Am_ quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1028: [16:14:13] <Pydedk> gawd
1029: [16:14:14] <Pydedk> "Each project created with yo will also pull in relevant Grunt tasks which the community feels is needed or useful for your workflow."
1030: [16:14:23] <Pydedk> "which the community feels"
1031: [16:14:28] <Pydedk> "community feels"
1032: [16:14:38] <Pydedk> "community your workflow"
1033: [16:14:58] <Pydedk> install all the unnecessary shite!
1034: [16:15:34] <wmk> PigeonFriend, what kind of asset module?
1035: [16:15:47] <Pydedk> the more I read about web app construction / libraries / deployment tools, the more I hate all of them :<
1036: [16:16:10] <Pydedk> I mean, I get their use. I'd be hard to use PHP over assembly to serve webpages if I didn't, but...
1037: [16:16:13] <Pydedk> seriously.
1038: [16:16:36] <Pydedk> this comes to mind: http://xkcd.com/927/
1039: [16:16:41] <Pydedk> reinvent ALL the wheels!
1040: [16:17:32] <PigeonFriend> wmk It's a plugin for composer to manage bower deps
1041: [16:18:09] * DimiStripe quit (Quit: DimiStripe)
1042: [16:18:30] <wmk> PigeonFriend, hmm, atm i put all bower'd javascript in my git repo
1043: [16:18:55] <wmk> though adding a bower install to the post-merge task would be easy
1044: [16:21:31] <PigeonFriend> just depends on your workflow I guess. but bringing the deps in with composer wouldn't change your workflow... it just means no need to install bower / node
1045: [16:23:56] <wmk> ah, so composer will install them itself... nice
1046: [16:24:13] * blueman quit (Ping timeout: 246 seconds)
1047: [16:24:25] <wmk> PigeonFriend, workflow, hmm, isn't it all in a flow?
1048: [16:27:56] <PigeonFriend> hmm?
1049: [16:32:10] * muskie9 has joined #silverstripe
1050: [16:43:08] * jenniferaslan has joined #silverstripe
1051: [16:43:16] * Shrike_Finland has joined #silverstripe
1052: [16:49:11] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1053: [16:54:31] <Pydedk> gotta be time ta get gone
1054: [16:54:32] * Pydedk quit ()
1055: [16:54:43] * Shrike_Finland1 has joined #silverstripe
1056: [16:54:43] * Shrike_Finland quit (Read error: Connection reset by peer)
1057: [17:03:55] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1058: [17:07:25] * gelignite has joined #silverstripe
1059: [17:27:33] * kinglozzer quit ()
1060: [17:33:36] * muskie9 has joined #silverstripe
1061: [17:33:48] * cloph is now known as cloph_away
1062: [18:07:36] * Shrike_Finland1 quit (Quit: Leaving.)
1063: [18:15:33] * jenniferaslan has joined #silverstripe
1064: [18:22:03] * Shrike_Finland has joined #silverstripe
1065: [18:27:06] * Vanny has joined #silverstripe
1066: [18:27:28] <Vanny> Howdy everyone
1067: [18:28:02] <wmk> hi Vanny
1068: [18:29:10] <Vanny> so groupedList is kicking my butt.
1069: [18:30:45] <Vanny> I am grouping by a date, but on the page it seems to be returning $Date as a string, I cant do $Date.Nice etc
1070: [18:41:41] <wmk> hmm, possible.
1071: [18:41:59] <wmk> did you try $Date.Debug, Vanny
1072: [18:42:00] <wmk> ?
1073: [18:43:29] <wmk> you could also try to use the Firtst element, e.g. $Children.First.Date.Nice
1074: [18:45:47] <Vanny> ok, look at that now
1075: [18:47:19] <Vanny> thanks, i've been stuck on that for hours :)
1076: [18:47:36] <wmk> Vanny, could be a bit hacky but it's a workaround
1077: [18:48:03] <wmk> maybe there is a nicer way to get it done ;)
1078: [18:48:07] <Vanny> yeah, its weird. it the group outputs 2015-02-01.
1079: [18:48:30] <Vanny> Im still learning SS, so I run into little roadblocks all the time
1080: [18:49:05] <wmk> well, the longer you do SS the more complicated get the roadblocks
1081: [18:49:11] <wmk> cause you'll dig in deeper
1082: [18:50:02] <Vanny> Im guessing that will happen, Im also new to PHP coming from a VB background, so I have double whamy,
1083: [18:51:55] * Frans_Amsterdam has joined #silverstripe
1084: [18:59:11] * Shrike_Finland quit (Quit: Leaving.)
1085: [19:03:57] * Stomach has joined #silverstripe
1086: [19:13:00] * Shrike_Finland has joined #silverstripe
1087: [19:24:56] * antmas has joined #silverstripe
1088: [19:25:05] * kinglozzer has joined #silverstripe
1089: [19:26:07] <antmas> morning all
1090: [19:29:49] <Vanny> howdy
1091: [19:30:33] <Stomach> hey hey
1092: [19:33:03] <Frans_Amsterdam> Hello, I am trying go understand routing and SS_HTTPRequest but I cannot retrieve params from the URL. I have pasted my code here : http://www.sspaste.com/paste/show/54cfcf4105928 I'm testing with this URL: http://example.com/confirmationmember/111 I expecting so get 111 back. But I'm not. Can someone see what's missing?
1093: [19:34:59] * jedateach has joined #silverstripe
1094: [19:37:48] <mobiusnz> Frans_Amsterdam: $request->latestParam('ID'); will get you 111
1095: [19:40:13] * Ryan-Toast has joined #silverstripe
1096: [19:42:15] * bemusedrat has joined #silverstripe
1097: [19:46:45] <Frans_Amsterdam> mobiusnz Thanks, I still have a problem getting the value. I think it is in my Route. I have pasted my route.yml in the comments http://www.sspaste.com/paste/show/54cfcf4105928
1098: [19:47:47] <Stomach> Frans_Amsterdam - that route will point to the index function of that controller
1099: [19:47:59] <Stomach> to get the action you've specified it would be confirmationmember/confirmationmember
1100: [19:48:00] <Stomach> :)
1101: [19:48:13] <Stomach> but why not just make it an actual page in the CMS?
1102: [19:50:20] <Frans_Amsterdam> Stomach This url is called to confirm a Member is "Confirmed" It only needs to run the method.
1103: [19:54:30] <Stomach> change your method name to index, and leave the routing as is then
1104: [19:57:26] <wmk> ain't there a possibility to route to a method directly?
1105: [19:58:06] <wmk> but as Frans_Amsterdam routs to a Page_Controller subclass changing to index is kinda contra productive.
1106: [19:58:35] <wmk> Frans_Amsterdam, but creating a new controller subclass with just a index method should work
1107: [19:58:59] <Stomach> wmk - yeah the whole setup is weird, but I'm just suggesting how to make it work :P
1108: [19:59:12] <wmk> Stomach, ic
1109: [19:59:43] <Stomach> btw do you mind if I thank you in a presentation at SS tomorrow? :)
1110: [20:00:49] * chillu_23 has joined #silverstripe
1111: [20:01:18] <Frans_Amsterdam> Stomach wmk I'm new and happy with all suggestions. makes me think how to solve these kind of things. So thanks both.
1112: [20:01:22] <Ryan-Toast> Stomach: ( ͡° ͜ʖ ͡°)
1113: [20:01:37] <wmk> Stomach, me? why?
1114: [20:01:50] <Stomach> you're werner arent you?
1115: [20:01:53] <wmk> yup
1116: [20:01:56] <wmk> still
1117: [20:02:01] <wmk> well, most of the time ;)
1118: [20:02:11] <Ryan-Toast> Where abouts in wynyard quarter are we going/
1119: [20:02:24] <wmk> Frans_Amsterdam, well, there are always plenty ways of solving a problem,...
1120: [20:02:27] * novaweb has joined #silverstripe
1121: [20:02:38] <wmk> go for the official silverstripe "my code is elegant" badge!
1122: [20:02:55] * muskie9 quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
1123: [20:03:08] <Frans_Amsterdam> wmk yep, that's my goal
1124: [20:03:45] <Ryan-Toast> Stomach: Where in wynyard quarter are we meeting?
1125: [20:03:53] <Frans_Amsterdam> wmk for now I go for the subclass. Makes most sense for me now.
1126: [20:04:18] <Stomach> Ryan-Toast - http://www.meetup.com/SilverStripe-Auckland/events/219791811/
1127: [20:04:30] <Ryan-Toast> Stomach: “The new location is in Wynyard Quarter. There's on-street parking on Madden St, and the free City Link bus is nearby.”
1128: [20:04:35] <Ryan-Toast> it’s a big place.
1129: [20:04:41] <Stomach> GridAKL
1130: [20:04:42] <Stomach> 132 Halsey St, at the corner of Madden St, Auckland (map)
1131: [20:05:19] <Ryan-Toast> Stomach: Ed Linklater said in the comment below that location changed.
1132: [20:05:37] <Stomach> yeah it used to be at the SS office
1133: [20:05:38] <Ryan-Toast> oh.
1134: [20:05:39] <Ryan-Toast> lol.
1135: [20:05:40] <Stomach> that is not the ss office
1136: [20:05:40] <Ryan-Toast> derp
1137: [20:05:54] <Ryan-Toast> YOU SAW NOTHING. NOTHING!
1138: [20:06:43] <Ryan-Toast> Stomach: I need to bring confetti to throw at you.
1139: [20:07:03] <Stomach> did i win the prize?
1140: [20:07:12] <Ryan-Toast> Stomach: after your presentation.
1141: [20:07:20] <Stomach> I WANT A PRIZE
1142: [20:07:32] <Ryan-Toast> Stomach: THEN GIVE A GOOD PRESENTATION!
1143: [20:07:43] <Stomach> MAYBE I WILL
1144: [20:07:46] <Stomach> BUT PROBABLY NOT
1145: [20:08:21] <Ryan-Toast> I’M ACTUALLY INTERESTED IN THE SUBJECT YOU’RE TALKING ABOUT.
1146: [20:08:31] <Stomach> OH SHIT
1147: [20:08:32] <Ryan-Toast> SINCE I DO A SIMILAR THING ON A SMALLER SCALE.
1148: [20:08:43] <Stomach> ss23 save me
1149: [20:09:01] <wmk> Stomach, will you upload the presentation anywhere?
1150: [20:09:12] <Stomach> yeah, it will be put up by SilverStripe
1151: [20:09:12] <wmk> or will there be a video?
1152: [20:09:20] * glenn-bautista has joined #silverstripe
1153: [20:10:06] <Stomach> I'm pretty certain there is no live stream
1154: [20:10:13] <Stomach> but there will be a video taken
1155: [20:10:15] <Stomach> well, there usually is
1156: [20:15:45] <antmas> no live stream?
1157: [20:15:46] * wmk quit (Read error: Connection reset by peer)
1158: [20:15:51] * Werner_2_ has joined #silverstripe
1159: [20:15:54] <antmas> WHAT IS THIS? 2014?
1160: [20:16:17] * willr has joined #silverstripe
1161: [20:16:19] <Ryan-Toast> LIVE STREAM IT WITH YOUR EYES.
1162: [20:18:02] * Werner_2_ is now known as wmk
1163: [20:20:07] * antmas quit (Ping timeout: 246 seconds)
1164: [20:20:52] <Stomach> tell cam to sort it out
1165: [20:27:36] * wmk quit (Ping timeout: 245 seconds)
1166: [20:27:54] * antmas has joined #silverstripe
1167: [20:28:41] * travis-ci has joined #silverstripe
1168: [20:28:41] <travis-ci> silverstripe/silverstripe-framework#3969 (3.1 - 34f0fd4 : Will Rossiter): The build passed.
1169: [20:28:41] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/4e9f94f9fddf...34f0fd439245
1170: [20:28:41] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49227007
1171: [20:28:41] * travis-ci has left #silverstripe
1172: [20:28:49] <antmas> fookin javascript
1173: [20:31:18] <adrexia> lol
1174: [20:31:56] <Ryan-Toast> alert(‘I quit’);
1175: [20:34:06] * micmania1 has joined #silverstripe
1176: [20:36:48] * veb has joined #silverstripe
1177: [20:38:47] * travis-ci has joined #silverstripe
1178: [20:38:47] <travis-ci> silverstripe/silverstripe-framework#3970 (3.1 - 5219cb0 : Will Rossiter): The build passed.
1179: [20:38:47] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/34f0fd439245...5219cb0f6b09
1180: [20:38:47] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49227384
1181: [20:38:47] * travis-ci has left #silverstripe
1182: [20:40:10] * glenn-bautista quit (Quit: Leaving.)
1183: [20:45:34] * muskie9 has joined #silverstripe
1184: [20:46:41] * willr quit (Quit: willr)
1185: [20:47:07] <antmas> ah event.preventDefault();
1186: [20:47:09] <antmas> you bastard
1187: [20:53:29] <Ryan-Toast> remember return false at the end too :)
1188: [20:53:44] * Colin[pi] has joined #silverstripe
1189: [20:54:00] <Colin[pi]> hai everybody!
1190: [20:54:13] <Ryan-Toast> hai
1191: [20:54:17] <antmas> Ryan-Toast: hmmm?
1192: [20:54:26] <Ryan-Toast> antmas: end of the function.
1193: [20:54:32] <antmas> Ryan-Toast: I thought you didn't need return false;
1194: [20:54:34] <Ryan-Toast> if you’re using e.preventDefault()
1195: [20:54:40] <antmas> :O
1196: [20:54:41] <Ryan-Toast> legacy
1197: [20:54:51] <antmas> ah yes
1198: [20:54:56] <antmas> dat legacy
1199: [20:55:57] <Colin[pi]> fucking legacy
1200: [20:56:34] <Colin[pi]> I have to dev a site where the client's office has JUST "upgraded".... to IE8
1201: [20:56:40] <Colin[pi]> >_____<
1202: [20:57:38] * willr has joined #silverstripe
1203: [20:58:14] <Stomach> haha Colin[pi] you poor bastartd
1204: [20:58:22] <MichalKleiner> poor yoou
1205: [21:00:13] <Colin[pi]> Stomach: ikr
1206: [21:00:17] <Colin[pi]> govt depts... the worst
1207: [21:01:47] <antmas> yeah I started here with iE8 2 years ago
1208: [21:02:00] <antmas> will be 11 in about a month
1209: [21:02:39] <Colin[pi]> antmas: jesus, that's quite cutting edge for govt!
1210: [21:02:48] <antmas> Colin[pi]: :P
1211: [21:02:52] <antmas> I had to 'force' it
1212: [21:03:37] <Colin[pi]> antmas: "bite the pillow neckbeards, I'm going in dry" ?
1213: [21:03:49] <antmas> I'd rather they spent a few grand upgrading than have the development with <IE9 by me cost then 10x more
1214: [21:04:03] <antmas> them*
1215: [21:04:07] <antmas> Colin[pi]: lol
1216: [21:04:11] <Colin[pi]> mm it makes sense
1217: [21:05:19] <Colin[pi]> antmas: it's so bad in this dept, that some of them use their devices from home to do web stuff
1218: [21:05:51] <antmas> eff that
1219: [21:06:46] <antmas> 99% of that problem is the admin staff not knowing how to properly adapt group policies on newer version of IE
1220: [21:06:54] <Colin[pi]> mm :\
1221: [21:06:54] * Frans_Amsterdam quit (Ping timeout: 245 seconds)
1222: [21:10:34] <deadveb> mr antmas
1223: [21:10:37] <deadveb> I am dead.
1224: [21:10:49] <deadveb> your buddy keeps looking at my linkedin
1225: [21:10:51] <deadveb> dafuq bro
1226: [21:14:13] * kinglozzer quit (Remote host closed the connection)
1227: [21:14:42] * kinglozzer has joined #silverstripe
1228: [21:14:52] * bemusedrat quit (Quit: Leaving)
1229: [21:29:08] * glenn-bautista has joined #silverstripe
1230: [21:31:46] <antmas> deadveb: ruhroh?
1231: [21:31:57] <antmas> deadveb: lol wait you mean dempsas?
1232: [21:32:26] <antmas> remind me never to get into a football argument with UC again o.O
1233: [21:32:31] * nicolaas has joined #silverstripe
1234: [21:34:16] <deadveb> dafuq
1235: [21:34:19] <deadveb> bro.
1236: [21:34:48] <antmas> deadveb: beeteedubs I don't know the guy at all and I unfollowed him weeks ago :P
1237: [21:36:10] * Frans_Amsterdam has joined #silverstripe
1238: [21:36:11] <deadveb> rofl
1239: [21:36:13] <deadveb> penis,
1240: [21:36:48] <antmas> there are only so many creep selfies I can take
1241: [21:36:55] <deadveb> lol
1242: [21:37:00] <veb> WTF
1243: [21:37:02] <veb> I died?!
1244: [21:37:03] <veb> ok.
1245: [21:37:31] * UndefinedOffset quit (Quit: Leaving.)
1246: [21:37:49] <Colin[pi]> wtf is going on
1247: [21:38:15] <antmas> idek
1248: [21:38:36] <veb> idk
1249: [21:38:47] <antmas> I think veb has lost the plot now that kingy is gone
1250: [21:39:16] <Colin[pi]> kingy's timing is great for me in the arvo now... he comes online just when everyone in NZ has finished for the day lol
1251: [21:39:18] <veb> yeah
1252: [21:39:28] <veb> I miss Kingy[a]
1253: [21:39:39] <veb> we spoke, 8 hours a day
1254: [21:39:42] <veb> since we were 12
1255: [21:39:44] <Colin[pi]> veb: lik dis if u cry evrytim
1256: [21:39:55] <antmas> lol
1257: [21:40:15] * glenn-bautista quit (Quit: Leaving.)
1258: [21:40:37] * Frans_Amsterdam quit (Client Quit)
1259: [21:41:01] * Frans_Amsterdam has joined #silverstripe
1260: [21:41:06] * Frans_Amsterdam quit (Client Quit)
1261: [21:41:26] * Frans_Amsterdam has joined #silverstripe
1262: [21:41:56] * Frans_Amsterdam is now known as Patxi
1263: [21:42:05] * glenn-bautista has joined #silverstripe
1264: [21:46:22] * Patxi quit (Quit: Textual IRC Client: www.textualapp.com)
1265: [21:46:42] * Frans_Amsterdam has joined #silverstripe
1266: [21:50:21] * Frans_Amsterdam quit (Client Quit)
1267: [21:52:50] <antmas> I shouldv'e take this week off
1268: [21:56:17] * glenn-bautista quit (Quit: Leaving.)
1269: [21:56:29] <antmas> taken*
1270: [21:56:39] <antmas> there are like 2 people in my office besides me
1271: [21:56:49] * kinglozzer quit (Remote host closed the connection)
1272: [21:57:11] <antmas> for the whole week :O
1273: [22:01:00] <Ryan-Toast> Why/
1274: [22:01:37] <antmas> Ryan-Toast: twas Nelson anniv. yesterday and Waitangi this Friday - people booked the 3 days in between off
1275: [22:01:44] <Ryan-Toast> antmas: Ah, nice :)
1276: [22:02:01] <antmas> my team booked it before me so I kinda have to be here :P
1277: [22:02:26] * spronk2 has joined #silverstripe
1278: [22:13:51] * Stomach quit (Ping timeout: 264 seconds)
1279: [22:14:25] * DimiStripe has joined #silverstripe
1280: [22:16:27] * Stomach has joined #silverstripe
1281: [22:16:29] * glenn-bautista has joined #silverstripe
1282: [22:16:38] * Shrike_Finland quit (Quit: Leaving.)
1283: [22:18:02] * DimiStripe quit (Client Quit)
1284: [22:19:39] <Stomach> Ryan-Toast WHAT IS SOCIAL COLORS
1285: [22:19:50] <Ryan-Toast> Stomach: Lol
1286: [22:19:56] <Ryan-Toast> Stomach: just fucking around
1287: [22:20:01] <Stomach> :(
1288: [22:25:23] * Colin[pi] quit (Ping timeout: 245 seconds)
1289: [22:25:40] * DimiStripe has joined #silverstripe
1290: [22:29:51] * Vanny quit (Quit: Page closed)
1291: [22:31:09] <Ryan-Toast> Stomach: http://rhym.github.io/social-colors/
1292: [22:31:20] <Stomach> awwww yeah
1293: [22:32:51] <antmas> XD
1294: [22:32:56] <antmas> guuuuuuuurl
1295: [22:33:32] * DimiStripe quit (Quit: DimiStripe)
1296: [22:34:05] * DimiStripe has joined #silverstripe
1297: [22:36:21] * Colin[pi] has joined #silverstripe
1298: [22:38:23] * DimiStripe quit (Client Quit)
1299: [22:39:00] * DimiStripe has joined #silverstripe
1300: [22:42:33] * DimiStripe quit (Client Quit)
1301: [22:44:04] * kinglozzer has joined #silverstripe
1302: [22:49:40] * JeremyRoundill has joined #silverstripe
1303: [22:49:44] * kinglozzer quit (Remote host closed the connection)
1304: [22:50:14] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1305: [22:51:24] <wracu> is there a quick way to tell if you're on the search page? Or should I define a function that checks to see if my current URL match '/search' ?
1306: [22:52:37] * DimiStripe has joined #silverstripe
1307: [22:52:56] <micmania1> wracu: how is your search page defined? Is it a page type?
1308: [22:55:23] <wracu> I have a search controller (extends page controller), and routes.yml Director is 'search': 'Search_Controller'
1309: [22:55:30] * catcher quit (Quit: Leaving)
1310: [22:56:07] * kinglozzer has joined #silverstripe
1311: [22:59:59] * DimiStripe quit (Quit: DimiStripe)
1312: [23:00:29] * kinglozzer quit (Ping timeout: 250 seconds)
1313: [23:00:51] * DimiStripe has joined #silverstripe
1314: [23:08:02] * DimiStripe quit (Quit: DimiStripe)
1315: [23:08:38] * DimiStripe has joined #silverstripe
1316: [23:08:42] <antmas> https://gfycat.com/PowerfulTatteredBrontosaurus
1317: [23:11:48] * DimiStripe quit (Client Quit)
1318: [23:11:52] <antmas> how I feel today with having to use Sharepoint Designer 2007 ^^^
1319: [23:18:30] * DimiStripe has joined #silverstripe
1320: [23:18:42] <Colin[pi]> antmas: lol
1321: [23:18:56] <Colin[pi]> caption "yayyyyyyy (please kill me)"
1322: [23:19:16] * WandL has joined #silverstripe
1323: [23:22:03] <Motoservo> Workflow question… the installer doesn’t work on my server so I’m attempting to setup a flow something like how I used to with svn export from SS to my local web root, adding all but the core ss directories (which I assign to externals back to SS) to my repos. Then logging into my server and checking out and adjusting a few ignored files (_config.php), etc). I tried for hours yesterday to get it to work as (I think) it w
1324: [23:22:04] <Motoservo> explained to me but the installer doesn’t work and I’m at a loss for just manually adusting all the things the installer would have been doing. Anybody have a suggestion I haven’t done yet or instructions for how to do this with git the way I would have done it with svn?
1325: [23:23:11] * micmania1 quit (Quit: micmania1)
1326: [23:23:15] <spronk2> err
1327: [23:23:16] <spronk2> eh
1328: [23:23:35] <WandL> Motoservo: we use git / dploy.io
1329: [23:23:39] <spronk2> you probably shouldn't be checking anything out on your server, really
1330: [23:24:06] <antmas> Colin[pi]: I dunno man, other gifs make it look like he's having the time of his life!
1331: [23:24:08] <Motoservo> Why? spronk2 ?
1332: [23:24:29] <spronk2> becuase it's not particularly good practice - all sorts of things can go wrong with it, exposure of source files, config problems
1333: [23:24:46] <spronk2> best way is to checkout on a staging machine, package up files, and deploy files
1334: [23:24:59] <WandL> Motoservo: dploy.io can run post commit scripts and also ignore files / directories etc... is pretty good and free... is made by the beanstalk people
1335: [23:25:13] <Motoservo> Well, been doing it for years with svn and it sure made things a cinch. just “svn up” every now and then was all that was needed.
1336: [23:25:18] * DimiStripe quit (Quit: DimiStripe)
1337: [23:25:24] <Motoservo> This is just a blog. Not worried too much about security.
1338: [23:27:20] <Motoservo> I’ll check into that, WandL
1339: [23:29:03] <WandL> Motoservo: so what you need is 'continuous integration' spronk2 is correct have a staging server and live the integration can deploy your git branches when they are pushed, if setup correctly it will not deploy project files such as .git directories grunt.js etc...
1340: [23:33:54] * Sticks has joined #silverstripe
1341: [23:34:33] * micmania1 has joined #silverstripe
1342: [23:35:44] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1343: [23:36:00] * DimiStripe has joined #silverstripe
1344: [23:37:20] * DimiStripe quit (Client Quit)
1345: [23:37:36] * glenn-bautista quit (Quit: Leaving.)
1346: [23:37:44] * DimiStripe has joined #silverstripe
1347: [23:41:23] <Ryan-Toast> Stomach: http://rhym.github.io/social-colors/
1348: [23:41:58] * DimiStripe quit (Client Quit)
1349: [23:42:01] <Ryan-Toast> Now I don’t have to find them anymore :P
1350: [23:44:10] <antmas> always thought vimeo was blue
1351: [23:45:00] <spronk2> vimeo is lue
1352: [23:45:04] <spronk2> blue
1353: [23:45:08] <Ryan-Toast> Your face bis blue
1354: [23:45:28] <spronk2> well really
1355: [23:45:30] <spronk2> they dont ahve a colouir
1356: [23:45:35] <antmas> Ryan-Toast: FIXITFIXITFIXITFIXIT
1357: [23:46:15] <spronk2> also, dont know hwether you can flickr as pink anymore
1358: [23:46:31] <Ryan-Toast> antmas: Fixed.
1359: [23:46:50] <antmas> so close to twitter blue
1360: [23:46:58] <Ryan-Toast> Yarp
1361: [23:47:05] <Ryan-Toast> It’s the blue in their brand guidelines.
1362: [23:47:18] <spronk2> 1ab7ea ?
1363: [23:47:24] <antmas> google is so close to salmon
1364: [23:47:31] <Ryan-Toast> spronk2: ?
1365: [23:47:38] <spronk2> http://vimeo.com/about/brand_guidelines
1366: [23:47:39] <spronk2> see
1367: [23:47:40] <spronk2> "Vimeo Blue"
1368: [23:47:42] <spronk2> as the colour
1369: [23:47:50] <Ryan-Toast> ah, fuck the input field.
1370: [23:48:24] <Ryan-Toast> There we go
1371: [23:48:38] <spronk2> wow
1372: [23:48:41] <spronk2> flickr died so hard
1373: [23:48:47] <Ryan-Toast> Yup.
1374: [23:48:53] <Ryan-Toast> All hail our imgur overlords.
1375: [23:48:57] <spronk2> yahoo killed it
1376: [23:48:57] <spronk2> lol
1377: [23:49:42] <antmas> I'm suprised vine has lasted so long
1378: [23:50:28] <spronk2> mm..
1379: [23:50:58] * glenn-bautista has joined #silverstripe
1380: [23:51:38] <Colin[pi]> the yahoo kiss of death
1381: [23:53:50] <antmas> can't get enough of left shark
1382: [23:53:56] <antmas> \o/
1383: [23:53:58] <antmas> o//
1384: [23:54:03] <antmas> o=
1385: [23:54:17] <Colin[pi]> and the facial expression looks so nonchalant
1386: [23:54:19] <Colin[pi]> "MEH"
1387: [23:54:25] <antmas> haha
1388: [23:54:47] <antmas> need someone to voice over the part where they're 'singing'
1389: [23:54:53] <Colin[pi]> I love how they were asking for an AMA on reddit like minutes after the game finished
1390: [23:54:58] <antmas> would be perfect for BLR sound bites
1391: [23:55:47] <Colin[pi]> BLR?
1392: [23:56:16] <antmas> bad lip reading
1393: [23:57:13] <Colin[pi]> ah I forgot about those, hilarious
1394: [23:57:57] * antmas leaves reddit before his laughing gets noticed

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