#silverstripe IRC Log

IRC log for 2 May 2013

All timestamps are in UTC.

1: [00:00:00] * howardgrigg has joined #silverstripe
2: [00:43:00] * MichaelinWelling has joined #silverstripe
3: [00:44:00] <MichaelinWelling> Hey has anyone ever setup landing pages in silverstripe, I have a custom homeController so can't set action urls without HomeController/$action being the url, how can I get it to be just $action? thanks
4: [00:46:00] <Colin[pi]> i mean good morning
5: [00:46:00] <Colin[pi]> WHAT UP BEEATCHES
6: [00:46:00] * Colin[pi] has joined #silverstripe
7: [00:55:00] <MichaelinWelling> Afternoon here
8: [00:56:00] <Colin[pi]> show off
9: [01:01:00] <FrozenFire> Are you talking about a splash page?
10: [01:01:00] <FrozenFire> MichaelinWelling, Not sure what the question is.
11: [01:02:00] <MichaelinWelling> yea I guess you could call it that too
12: [01:02:00] <MichaelinWelling> I'm setting up multiple home pages
13: [01:02:00] <MichaelinWelling> the home page
14: [01:03:00] <MichaelinWelling> and I want to be able to create multiple home pages at urls like /home /otherhome
15: [01:03:00] <MichaelinWelling> so currently we have home at /
16: [01:06:00] <FrozenFire> Just create pages at those URLs
17: [01:06:00] <FrozenFire> So... Why don't you?
18: [01:10:00] <MichaelinWelling> I know that I can make custom strings in the cms
19: [01:10:00] * UncleCheese has joined #silverstripe
20: [01:10:00] <MichaelinWelling> I need custom strings in them and for it to use a specific template over the default
21: [01:10:00] <MichaelinWelling> I over think things bit???.
22: [01:11:00] <FrozenFire> You really are.
23: [01:11:00] <FrozenFire> Yep
24: [01:11:00] <FrozenFire> They're just a custom page type that you want at different URLs.
25: [01:12:00] <FrozenFire> Rubber ducking
26: [01:12:00] <MichaelinWelling> yea, I've actually got the code to base that off so I guess I'll go do that now. Sometimes you require someone to state the obvious.
27: [01:13:00] <MichaelinWelling> sounds good to me, buy one soon :D
28: [01:14:00] <FrozenFire> Interns also work
29: [01:14:00] <FrozenFire> :P
30: [01:14:00] <FrozenFire> I like to use my boss as a rubber duck
31: [01:15:00] <simon_w> Eh, using yourself is a lot faster
32: [01:16:00] <FrozenFire> That doesn't work. :P
33: [01:18:00] <simon_w> Yeah it does :p
34: [01:20:00] * howardgrigg quit (Remote host closed the connection)
35: [01:24:00] * folibis has joined #silverstripe
36: [01:24:00] <folibis> hi all
37: [01:29:00] * DesignerX has joined #silverstripe
38: [01:31:00] <Colin[pi]> fap?
39: [01:31:00] <Pyromanik> Someone mentioned using themselves?
40: [01:31:00] <Pyromanik> depends on the mood :P
41: [01:35:00] <Pyromanik> it's the j-word right?
42: [01:35:00] <Pyromanik> which one has the /administrator?
43: [01:35:00] <Pyromanik> or drupal?
44: [01:36:00] <irogue> the worst of them imo
45: [01:36:00] <Pyromanik> urgh, j-word :(
46: [01:36:00] <irogue> eww
47: [01:36:00] <Pyromanik> D:!
48: [01:37:00] <irogue> but if someone wanted me to do a j-word site i'd quit
49: [01:37:00] * Pyromanik sees the j-word pop up in his extraction log
50: [01:37:00] <Colin[pi]> I have a client trying to convince me to make a j-word site for him :(
51: [01:37:00] <Pyromanik> clients are stupid.
52: [01:37:00] <Colin[pi]> I said I wouldn't touch it with a forty foot pole
53: [01:37:00] <Pyromanik> make him a nice site instead.
54: [01:37:00] <Pyromanik> and then watch them go "oh, how do I make menus?"
55: [01:37:00] <irogue> i'd do drupal if specifically required (and paid enough)
56: [01:37:00] <Pyromanik> and then not believe you when shit is so easy
57: [01:38:00] <Colin[pi]> I am gently schooling him that it's a piece of shit
58: [01:38:00] <Colin[pi]> this guy has always thought j-word was the best thing ever
59: [01:38:00] <Pyromanik> and then 4 weeks later be glad they don't have the j-word anymore.
60: [01:38:00] <Pyromanik> hey is it possible to set up channel filters on freenode?
61: [01:39:00] <folibis> i need some help
62: [01:39:00] <folibis> hey guys is it silverstripe node?
63: [01:39:00] <Pyromanik> node?
64: [01:40:00] <Colin[pi]> careful he enjoys that
65: [01:40:00] <Pyromanik> ))
66: [01:40:00] <Pyromanik> folibis: yes, this is the silverstripe channel :)
67: [01:40:00] <folibis> or i dont khow .. room ))
68: [01:40:00] <Pyromanik> folibis: ask your question, can't help unless you do!
69: [01:40:00] <folibis> yeah irc node )
70: [01:40:00] * irogue pokes Pyromanik in the node
71: [01:41:00] <Colin[pi]> hello, yes this is dog
72: [01:41:00] * Pyromanik spies Russian smiley
73: [01:41:00] <folibis> ok i have a form in admin panel and i wont to validate one of field with ajax
74: [01:42:00] <irogue> though i suspect much less difficult in ss3 than in 2.4!
75: [01:42:00] <Pyromanik> folibis: hmm, injecting javascript into the admin can be difficult
76: [01:42:00] <folibis> hmm exactly this part was easy for me
77: [01:42:00] <Pyromanik> folibis: if it's reasonably simple code I usually just put <script> tags in with a LiteralField()
78: [01:43:00] <Pyromanik> (jquery plugin)
79: [01:43:00] <folibis> my problem - how can I call function in the controller
80: [01:43:00] <Pyromanik> folibis: otherwise one should look into jquery.entwine
81: [01:44:00] <Pyromanik> folibis: ah.
82: [01:44:00] <folibis> i mean - ok i binded function to my field, but what URL to pass to get()?
83: [01:45:00] <Pyromanik> you can use that to inject your javascript code
84: [01:45:00] <Pyromanik> folibis: the easiest way is to make a custom form field.
85: [01:46:00] <folibis> this is address of edited page - admin/pages/edit/show/7 ... my custom page of type ArticlePage ... it have of cource Controller
86: [01:46:00] <Pyromanik> and call it with something like admin/pages/edit/EditForm/field/Slides/item/new (this is an example from a gridfield)
87: [01:47:00] <folibis> really?
88: [01:47:00] <Pyromanik> folibis: page controllers dont' get called in the CMS
89: [01:47:00] <folibis> yeah ... custom field ... good idea
90: [01:47:00] <Pyromanik> )))
91: [01:47:00] <folibis> ((
92: [01:48:00] <folibis> so how can i call my function?
93: [01:48:00] <folibis> i need just to check received value and returned ok or no
94: [01:49:00] <Pyromanik> folibis: form fields are requesthandlers
95: [01:49:00] <folibis> all this night i was searching for decision )) nothing done
96: [01:50:00] <Pyromanik> if you make a function on it (rather than your page controller) to make the calculation, it should be goo.
97: [01:50:00] <Pyromanik> good*
98: [01:55:00] <folibis> ok. RequestHandler ... it is so dificult to understand how it works .... long time I was working with MODx
99: [01:56:00] <Pyromanik> modx is horrible
100: [01:56:00] <Pyromanik> folibis: basically requesthandler is a parent class of controller, it enables objects to be able to handle requests (from a browser)
101: [01:56:00] <Pyromanik> oh, I feel sorry for you :(
102: [01:57:00] <folibis> i have no idea how to access this RequestHandler ... make an extension? subclass?
103: [01:57:00] <Pyromanik> you can have admin/pages/edit/EditForm/field/FIELDNAME/check
104: [01:57:00] <Pyromanik> so form fields can be called from the browser with a request (like some gridfield components)
105: [01:58:00] <Pyromanik> folibis: subclass formfield (or subclass what ever form field you are using, textfield, dropdown field, etc)
106: [01:58:00] <Pyromanik> and implement a handler for your ajax call
107: [02:00:00] <Pyromanik> folibis: just ask if you get stuck
108: [02:00:00] <folibis> ok i am going to try it. thanks guys!!
109: [02:01:00] <folibis> is dropdownfield uses ajax?
110: [02:01:00] <Pyromanik> it uses ajax for things like managing a relation
111: [02:01:00] <Pyromanik> but as a hint, you can look at things like dropdownfield to see how it does things
112: [02:02:00] <Pyromanik> or treedropdownfield, uses ajax to populate the tree
113: [02:02:00] <folibis> ok thanks for the hint
114: [02:03:00] <Pyromanik> folibis: http://api.silverstripe.org/3.0/source-class-TreeDropdownField.html#3-347
115: [02:04:00] <Pyromanik> is an example of a method called by ajax
116: [02:04:00] <Pyromanik> http://api.silverstripe.org/3.0/source-class-TreeDropdownField.html#213
117: [02:05:00] <Pyromanik> through the public static $url_handlers at the top of the class definition
118: [02:06:00] <Colin[pi]> dumb question time, how do I move an asset file via code? tried setFilename() and write() but no dice
119: [02:06:00] <Colin[pi]> looks like the updateFilesystem() method should reflect that change
120: [02:08:00] <Pyromanik> Colin[pi]: open your network console in dev tools and see how assets manager does it?
121: [02:08:00] <Colin[pi]> hmm
122: [02:09:00] <simon_w> Colin[pi], set the Name (if it's changing) and ParentID (if it's moving)
123: [02:10:00] <Colin[pi]> let me give it a go
124: [02:10:00] <Colin[pi]> ah ha, the old ParentID trick
125: [02:11:00] <Colin[pi]> actually name isn't changing, but Filename is - will that auto generate?
126: [02:11:00] <simon_w> yes
127: [02:12:00] <Colin[pi]> mmkay, one sec
128: [02:12:00] <Colin[pi]> hmm ID changed but files didnt move
129: [02:13:00] <Colin[pi]> fixed it
130: [02:13:00] <Colin[pi]> wait
131: [02:13:00] <Colin[pi]> :)
132: [02:14:00] <Colin[pi]> should have thought more in DataObject terms re: folder/parent ID >_<
133: [02:14:00] <Colin[pi]> thank u sir, working fine now
134: [02:36:00] * priithansen quit (Quit: priithansen)
135: [02:56:00] * mobiusnz quit (Quit: Leaving.)
136: [03:02:00] * Colin[pi] quit (Read error: Connection reset by peer)
137: [03:03:00] * Colin[pi] has joined #silverstripe
138: [03:16:00] * howardgrigg has joined #silverstripe
139: [03:33:00] <simon_w> In 3.1, $obj doesn't have to be written either
140: [03:33:00] <simon_w> Name it the same as the relation, $form->saveInto($obj);
141: [03:33:00] <Colin[pi]> is there a nicer way?
142: [03:33:00] <Colin[pi]> question re: orm stuff, if associating many-many's via a form handler (front-end) that uses a checkboxset, is there a native way to do it, or is it just get the IDs, get the objects, and add to the ComponentSet?
143: [03:34:00] <Colin[pi]> coolio
144: [03:34:00] <simon_w> Yup
145: [03:34:00] * Jeremy_ is now known as clodeindustrie
146: [03:34:00] * Jeremy_ has joined #silverstripe
147: [03:34:00] <Colin[pi]> oh nice... so the checkboxset has the same name as the relation, and it automagically handles it?
148: [03:34:00] <clodeindustrie> yo
149: [03:35:00] <clodeindustrie> hey I'm trying to set up a task for calling from the command line
150: [03:35:00] <clodeindustrie> I serve my site from http://mysite.dev
151: [03:35:00] <clodeindustrie> so I set the $_FILE_TO_URL_MAPPING
152: [03:35:00] <clodeindustrie> but it;s giving me headache
153: [03:36:00] <simon_w> In what way does it fail?
154: [03:36:00] <clodeindustrie> but sake keeps failing
155: [03:36:00] <clodeindustrie> any idea?
156: [03:36:00] <clodeindustrie> to $_FILE_TO_URL_MAPPING['/home/sites/mysite'] = 'http://mysite.dev';
157: [03:37:00] <clodeindustrie> ERROR [User Warning]: Director::protocolAndHost() lacks sufficient information - HTTP_HOST not set. You probably want to define $_FILE_TO_URL_MAPPING in your _ss_environment.php as instructed on the "sake" p
158: [03:37:00] <clodeindustrie> extending ScheduledTask
159: [03:37:00] <clodeindustrie> age of the doc.silverstripe.com wiki
160: [03:37:00] <clodeindustrie> I have created my task in a sub-directory task
161: [03:37:00] <clodeindustrie> and overloaded process{}
162: [03:38:00] <clodeindustrie> my _ss???. file is at the root of my site directory
163: [03:43:00] * cloph_away has joined #silverstripe
164: [03:45:00] * cloph quit (Ping timeout: 252 seconds)
165: [03:53:00] <irogue> okay i'm so confused right now
166: [03:54:00] <simon_w> clodeindustrie, and your site's in /home/sites/mysite, same case and everything?
167: [03:54:00] <MichaelinWelling> I've had that issue, didn't find a solution
168: [03:54:00] <MichaelinWelling> whats the task clodeindustrie
169: [03:55:00] * howardgrigg quit (Remote host closed the connection)
170: [03:55:00] <MichaelinWelling> also the other problem you'll run into if you try to generate any html is permissions issues with the cache from tasks - does anyone have a solution to that one? that would be a real help for me
171: [03:56:00] <irogue> echo $params['ID']; outputs 7309
172: [03:56:00] <MichaelinWelling> lol
173: [03:56:00] * eikonos quit (Read error: Connection reset by peer)
174: [03:56:00] <irogue> echo (int)$params['ID']; gives no output
175: [03:56:00] <irogue> WHY YOU NO INT
176: [03:57:00] * eikonos quit (Changing host)
177: [03:57:00] * eikonos has joined #silverstripe
178: [03:57:00] * eikonos has joined #silverstripe
179: [03:58:00] <clodeindustrie> I'm just trying to insert some stuff in the db so I have a task that loops over a file and insert thing
180: [03:58:00] <clodeindustrie> I've created a task dir /home/sites/clode_site/mysite/tasks/
181: [03:58:00] <clodeindustrie> and put my task in there
182: [03:59:00] * clodeindustrie has joined #silverstripe
183: [03:59:00] * UncleCheese quit (Quit: UncleCheese)
184: [03:59:00] <clodeindustrie> then add the _ss_environment.php file at the root of my site
185: [03:59:00] * clodeindustrie has left #silverstripe
186: [04:00:00] <clodeindustrie> I can't even remember what I was saying
187: [04:00:00] <simon_w> clodeindustrie, then your $_FILE_TO_URL_MAPPING is wrong
188: [04:00:00] <clodeindustrie> whatever I'll create a new controller and do that ther
189: [04:00:00] <clodeindustrie> fucking retarded shortcut on mac osx
190: [04:01:00] <clodeindustrie> the doc is not really clear
191: [04:01:00] <simon_w> /home/sites/clode_site
192: [04:01:00] <clodeindustrie> where is it supposed to point to?
193: [04:02:00] <MichaelinWelling> irogue have you tried assigning it first?
194: [04:03:00] * howardgrigg has joined #silverstripe
195: [04:03:00] <irogue> $ID = $params['ID']; echo (int)$ID;
196: [04:03:00] <irogue> yeah
197: [04:04:00] <irogue> all the same thing
198: [04:04:00] <irogue> yeah that was my original code
199: [04:04:00] <MichaelinWelling> then echo $ID
200: [04:04:00] <MichaelinWelling> try $ID = (int)$params['ID']
201: [04:04:00] <irogue> same problem
202: [04:04:00] <irogue> am going to try it with some other values now
203: [04:04:00] <MichaelinWelling> oh right
204: [04:05:00] <irogue> nah
205: [04:05:00] <simon_w> irogue, does a var_dump($params['ID']) show anything weird? Like a non-visible leading character?
206: [04:06:00] <irogue> here's var_dump of $params
207: [04:06:00] <irogue> array(4) { ["Controller"]=> string(20) "StorePage_Controller" ["Action"]=> string(14) "catalog_notify" ["ID"]=> string(4) "7301" ["OtherID"]=> NULL }
208: [04:07:00] <MichaelinWelling> simon_w do you know how I can run a task and not cache the html output? I run an email email via a Task cronjob, the cache either fails on permissions or screws up the website due to overriding the permissions with sudo which crashes the website
209: [04:07:00] <simon_w> MichaelinWelling, run the task as the web user
210: [04:08:00] <MichaelinWelling> log in as the web user then set it?
211: [04:08:00] <MichaelinWelling> oh awesome thanks
212: [04:08:00] * irogue goes to play "find the difference"
213: [04:08:00] <simon_w> sudo cron -u www-data -e
214: [04:08:00] <irogue> *prod
215: [04:08:00] <irogue> only happening on dev
216: [04:08:00] <MichaelinWelling> right o
217: [04:08:00] <MichaelinWelling> how would I do that via cron?
218: [04:08:00] <simon_w> Make it a cron for that user
219: [04:08:00] <irogue> okay it's something weird and environmental, isn't happening on dev server
220: [04:09:00] <clodeindustrie> everything seemingly in the right place
221: [04:09:00] <clodeindustrie> yeah well no worky
222: [04:10:00] <clodeindustrie> can't even reach it
223: [04:10:00] <MichaelinWelling> does it actually stop your task?
224: [04:11:00] * Shrike_Finland quit (Quit: Leaving.)
225: [04:11:00] <MichaelinWelling> the alternative is php framework/cli-script yourtask
226: [04:12:00] <clodeindustrie> cli-script fails the same
227: [04:12:00] <howardgrigg> hey does anyone know of a good SS3 + mailchimp (or similar) module for managing sending newsletters to members?
228: [04:12:00] <MichaelinWelling> works for me regardless of the FILE_TO_URL_MAPPING issue
229: [04:12:00] <MichaelinWelling> yup, I have one for mandrill
230: [04:13:00] <howardgrigg> ah yea - that's for transactional email aye? not really newsletters
231: [04:13:00] <MichaelinWelling> and json api
232: [04:13:00] <MichaelinWelling> well actually its just a basic wrapper for mandrills smtp api
233: [04:14:00] <MichaelinWelling> well it is an extension of mailchimp
234: [04:15:00] <howardgrigg> do you have a lonk for it? sounds like itll be a good start!
235: [04:16:00] <MichaelinWelling> sure just a sec
236: [04:18:00] <MichaelinWelling> all you need to do is pop your api key in _config Mandrill::set_api_key(
237: [04:20:00] <MichaelinWelling> you can also use mandrill just for smtp instead if you wanted
238: [04:20:00] <howardgrigg> awesome thanks
239: [04:20:00] <MichaelinWelling> https://dl.dropboxusercontent.com/u/9538982/mandrill.zip
240: [04:21:00] <MichaelinWelling> anyway I'm sure you know what your doing :D
241: [04:22:00] <MichaelinWelling> btw howardgrigg I used to be in the same hall as you
242: [04:22:00] <howardgrigg> oh MichaelinWelling haha that's right you messaged me
243: [04:22:00] <MichaelinWelling> ya
244: [04:23:00] <MichaelinWelling> in LightningLab a business accelerator
245: [04:23:00] <howardgrigg> you're doing software dev stuff now aye
246: [04:23:00] <MichaelinWelling> took me a bit to realise who you were, yea
247: [04:26:00] <clodeindustrie> ok
248: [04:26:00] <clodeindustrie> I took too far
249: [04:26:00] <clodeindustrie> I went full retard
250: [04:26:00] <clodeindustrie> and I forgot the <?php tag in my files
251: [04:26:00] <MichaelinWelling> what are you up to these days?
252: [04:30:00] * UncleCheese has joined #silverstripe
253: [04:32:00] <irogue> hey simon_w
254: [04:33:00] <simon_w> Just only one of them
255: [04:33:00] <simon_w> You can do that already
256: [04:33:00] <irogue> ever haxxed in support for multiple many_many to the same class? :P
257: [04:34:00] <irogue> any tips for workarounds of the lack of reverse?
258: [04:34:00] <simon_w> Well, only one reverse
259: [04:34:00] <irogue> yeah
260: [04:35:00] <irogue> ^ for obvious reasons, this doesn't work
261: [04:35:00] <irogue> http://www.sspaste.com/paste/show/5181ecf4d0444
262: [04:35:00] <simon_w> If you only need two, have one going from Product to Member and the other from Member to Product
263: [04:35:00] <simon_w> You can probably build a ManyManyList pointing to the right table
264: [04:35:00] <irogue> Favourite and Notify both being a many_many between Member and Product
265: [04:37:00] <irogue> hmmm, that'll do for now :P
266: [04:41:00] <FrozenFire> I find that many-many to the same class is usually a complex relationship better represented as a separate DataObject
267: [04:42:00] <FrozenFire> The Facebook clone I did, for instance, represented friendships as a DataObject
268: [04:43:00] <irogue> i could probably create single generic relationship, tbh
269: [04:43:00] <irogue> yeah
270: [04:44:00] <irogue> but that'd require a bit of refactoring of existing Favourites shiz
271: [04:44:00] <irogue> and have bool columns for "Favourite", "Notify" etc
272: [04:56:00] <simon_w> Woo, GridFieldRelationHandler is down to two open issues and still supports 3.0 and 3.1
273: [04:58:00] <Colin[pi]> is there a trick to getting the datepicker to show on front-end date fields under 2.4?
274: [04:58:00] <Colin[pi]> it doesn't seem to want to work
275: [05:01:00] <simon_w> Are you using silverstripe's jquery?
276: [05:01:00] <Colin[pi]> I've tried with both SS's and a new version
277: [05:02:00] <Colin[pi]> $completion->setConfig('showcalendar',TRUE);
278: [05:02:00] <simon_w> And you're setting the right config value?
279: [05:02:00] * nickmolhoek quit (Quit: nickmolhoek)
280: [05:02:00] <simon_w> Getting any JS errors?
281: [05:04:00] <Colin[pi]> interesting, with SS's jQuery, I get a TypeError: $ is not a function (on blur), but latest jQuery, no errors
282: [05:05:00] <simon_w> That's all DateField does
283: [05:05:00] <Colin[pi]> guess I could use jquery-ui's datepicker?
284: [05:06:00] <Colin[pi]> hmm maybe datefield is not pulling in all of the requirements for the front-end?
285: [05:09:00] <Colin[pi]> heh jquery ui's version works
286: [05:11:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
287: [05:29:00] * EasyCo has joined #silverstripe
288: [05:31:00] * MichaelinWelling quit (Quit: MichaelinWelling)
289: [05:42:00] * folibis quit (Ping timeout: 245 seconds)
290: [05:51:00] * wmk has joined #silverstripe
291: [05:56:00] <simon_w> Woo, no open issues for GridFieldRelationHandler. Home time!
292: [06:00:00] * openbees has joined #silverstripe
293: [06:02:00] <openbees> does anyone have idea how to remove index.php from URL ... mod rewrite is working fine on same server with other site, tried to delete index.php but no luck.
294: [06:03:00] <openbees> without index.php getting 500 error
295: [06:05:00] <simon_w> Apache or SilverStripe error?
296: [06:05:00] <openbees> Apache
297: [06:06:00] <simon_w> Can you pastie you .htaccess file and check the apache error log for the message?
298: [06:06:00] <openbees> Internal Server Error
299: [06:06:00] <simon_w> And maybe someone will look, or I will when I get home in about half an hour
300: [06:07:00] <openbees> thanks simon_w http://sspaste.com/paste/show/518202a18abee
301: [06:13:00] * Shrike_Finland has joined #silverstripe
302: [06:14:00] <DesignerX> openbees: another , if you have set the mod_write in a php.ini, you need that file in the framework/ folder
303: [06:14:00] <ss23> simon_w: IT SHOULD GO IN THE TOPIC
304: [06:14:00] <DesignerX> openbees hi, something like this happened to me before when I moved the site from my localhost to the liver server, all i did was re-upload the original .htaccess file that comes with the ss .zip file
305: [06:14:00] * willr quit (Quit: willr)
306: [06:17:00] <openbees> DesignerX .. I am just using Arvixe cPanel ! and no luck even after uploading default .htacsess :(
307: [06:18:00] <EasyCo> openbees: What do you have in your error_log?
308: [06:20:00] <DesignerX> openbees: whats the url of the site?
309: [06:21:00] <openbees> EasyCo .. support says " apache logs are not directly accessible to users" :(
310: [06:22:00] * Colin[pi] hugs my Linode
311: [06:22:00] <Colin[pi]> weaksauce
312: [06:22:00] <EasyCo> That makes it a bit harder to troubleshoot!
313: [06:24:00] * UncleCheese quit (Quit: UncleCheese)
314: [06:27:00] * mrzero has joined #silverstripe
315: [06:28:00] * markeaston has joined #silverstripe
316: [06:29:00] <EasyCo> Can anybody point me in the right direction here. I'm trying to configure a page so that the url reflects its state
317: [06:30:00] * Bollig|DesignCty has joined #silverstripe
318: [06:30:00] <Bollig|DesignCty> hmmm
319: [06:30:00] <EasyCo> For exampe: site.com/course/mechanic/diesel site.com/course/mechanic is the actual page but the diesel bit is just the state of the page. So the mechanic page template should load
320: [06:31:00] <EasyCo> Then in the mechanic template I can just call check an action that verifies the next url param and returns the right info
321: [06:32:00] <markeaston> How - how can I loop through an array property of a Page in a controller? - In my page definition I've got static $has_many = array('KeyDateItems' => 'KeyDateItem'); then later in the a controller function I have foreach ($this->KeyDateItems as $kd){ ??? however I get 'invalid argument supplied for foreach()'
322: [06:33:00] <Bollig|DesignCty> $this->dbField vs $this->relationshipName()
323: [06:33:00] <EasyCo> Yah that Bollig said
324: [06:33:00] <EasyCo> Oops
325: [06:33:00] <EasyCo> markeaston: It's probably $this->KeyDateItems()
326: [06:33:00] <Bollig|DesignCty> markeaston: tried foreach ($this->KeyDateItems() as $kd){ ????
327: [06:34:00] <markeaston> thanks
328: [06:35:00] <markeaston> I mean hash
329: [06:35:00] <discorpia> multilingual with ss3, is it translatable module that's the preferred way?
330: [06:35:00] <markeaston> EasyCo - I've done something similar using has e.g. site.com/course/mechanic#diesel - I presume that's not an option - is much simpler as you don;t have to wrestle with routing
331: [06:36:00] <EasyCo> So that when you load a part of the page with ajax, the url is updated and you can take that url and share it
332: [06:36:00] <EasyCo> Hmm, I'm basically trying to find the best way to support html5 history.
333: [06:44:00] <openbees> yes
334: [06:44:00] <simon_w|air> openbees, you're using 2.4?
335: [06:44:00] <simon_w|air> ss23, Nope!
336: [06:45:00] <simon_w|air> And what happens if you uncomment the RewriteBase line?
337: [06:46:00] <openbees> nothing but when i deleted .htaccess I am able to browse home page without index.php , internal pages still comes with index.php
338: [06:46:00] <simon_w|air> Yeah, that's how a index.php works.
339: [06:47:00] <simon_w|air> Is there any difference in that .htaccess file and others you run on the same server?
340: [06:47:00] * Colin[pi] quit (Ping timeout: 264 seconds)
341: [06:47:00] <openbees> I tried uploading .htaccess of other working site but no luck
342: [06:50:00] <simon_w|air> Every cPanel I've used has an "Error log" bit in the "Logs" section. You don't have that at all?
343: [06:52:00] <openbees> :D I have that too .. but it says nothing about apache error ..
344: [06:53:00] <openbees> its ok simon_w| air .. I will create ticket with hosting .. thank you so much .!
345: [06:55:00] * NobrainerWeb has joined #silverstripe
346: [06:55:00] <markeaston> EasyCo - this could give you what you want http://www.balbus.tk/simulating-page-urls/ - basically goes through adding routing rules to the director
347: [06:56:00] <EasyCo> markeaston: Thanks I'll have a read
348: [07:00:00] <simon_w|air> EasyCo, that's for replacing pages. You're probably either after actions (public static $allowed_actions = array('diesel'); ) or just a page-specific matching (public static $url_handlers = array('$Type//$ID/$OtherID');)
349: [07:01:00] <EasyCo> simon_w|air: Yah that's correct
350: [07:04:00] <EasyCo> What would be the correct approach for nesting template within another? For example if you navigated to site.com/mechanic/diesel and mechanic is the overall template and diesel just gets loaded within? Cause you can't nest $Layout afaik.
351: [07:04:00] <simon_w|air> So you want to have mechanic.ss as a Layout, then diesel.ss as something inside it? Or mechanics as the outer one?
352: [07:04:00] <EasyCo> It feels dirty to do <% if Action = Diesel %><% include DieselPage.ss %><& end_if %>
353: [07:05:00] <EasyCo> Yah mechanic as the outer, diesel as the inner (layout)
354: [07:05:00] <simon_w|air> So make a Mechanic.ss main template and, assuming you're using actions, Mechanic_diesel.ss as the Layout one
355: [07:06:00] <simon_w|air> Well, Mechanic won't be a layout template
356: [07:06:00] <EasyCo> So I can just use $Layout again?
357: [07:07:00] <EasyCo> Hmm, alright thanks, I'll have a play
358: [07:07:00] <simon_w|air> If you want Mechanic to be a layout, then I suggest splitting it into a MechanicHeader.ss and MechanicFooter.ss includes, then have Mechanic_whatever.ss include the header and footer
359: [07:08:00] * zfmf has joined #silverstripe
360: [07:14:00] * EasyCo quit (Quit: EasyCo)
361: [07:14:00] * Shrike_Finland1 has joined #silverstripe
362: [07:15:00] * Shrike_Finland quit (Read error: Connection reset by peer)
363: [07:15:00] * Shrike_Finland1 quit (Client Quit)
364: [07:17:00] * ARNHOE has joined #silverstripe
365: [07:34:00] * OldTom has joined #silverstripe
366: [07:46:00] <NobrainerWeb> Hi, can someone help me get SS3.1. beta3 installed on my host, i run into safe_mode restriction in effect problems: http://www.silverstripe.org/installing-silverstripe/show/23611
367: [07:51:00] * Zauberfisch has joined #silverstripe
368: [07:54:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
369: [07:55:00] * Colin[pi] has joined #silverstripe
370: [07:57:00] * EasyCo has joined #silverstripe
371: [07:58:00] * kinglozzer has joined #silverstripe
372: [08:00:00] * willmorgan has joined #silverstripe
373: [08:02:00] * markeaston quit (Quit: markeaston)
374: [08:02:00] <simon_w|air> NobrainerWeb, if your host is still running with safe_mode, the best solution is to change host
375: [08:04:00] <NobrainerWeb> I got the same answer for 2.4 but after fixing a few small things SS was performing perfectly on safe_mode = on
376: [08:04:00] * Zauberfisch|idle has joined #silverstripe
377: [08:04:00] <NobrainerWeb> simon_w: that's really, really not what i want to do. I have previously talked to my host and they believe, and so do i, that the code needs to be able to handle safe_mode = on - it's not just a few hosts that runs like that
378: [08:05:00] <simon_w|air> Ask your host to upgrade to 5.4 then ;)
379: [08:06:00] <simon_w|air> Well, it gets rid of safe_mode
380: [08:06:00] <NobrainerWeb> Will that solve the problem?
381: [08:06:00] <NobrainerWeb> (see the end of my forum post)
382: [08:06:00] <NobrainerWeb> btw i just had the system running on the server - but i honestly don't know what i did different
383: [08:07:00] <NobrainerWeb> so server is able to run SS3, but there must be something that is buggy
384: [08:11:00] <simon_w|air> Well, the last error is because your host has a folder in the include path (/usr/local/lib/php/ by the looks of things) that isn't in the open_basedir list
385: [08:14:00] <willmorgan> NobrainerWeb: you know that safe_mode is deprecated right?
386: [08:15:00] <willmorgan> http://php.net/manual/en/features.safe-mode.php
387: [08:15:00] <willmorgan> http://www.mediawiki.org/wiki/Safe_mode
388: [08:16:00] <willmorgan> sorry, I just joined :)
389: [08:16:00] <NobrainerWeb> willmorgan: No, i don't know much about PHP - i just know that a lot of hosts have it on. But as i wrote, i just had the system running everything seemed ok, uploaded files and all, but after trying to install again - i'm stuck
390: [08:20:00] * EasyCo quit (Quit: EasyCo)
391: [08:21:00] * WillM has joined #silverstripe
392: [08:21:00] * willmorgan quit (Ping timeout: 276 seconds)
393: [08:23:00] <NobrainerWeb> simon_w|air: Well i guess i have to try installing again and see if it by magic will work again
394: [08:37:00] * feejin has joined #silverstripe
395: [08:42:00] * cloph_away is now known as cloph
396: [08:44:00] * waveydave has joined #silverstripe
397: [09:08:00] * mobiusnz has joined #silverstripe
398: [09:10:00] * Colin[pi] quit ()
399: [09:12:00] * openbees quit (Quit: Leaving)
400: [09:18:00] * willmorgan has joined #silverstripe
401: [09:18:00] * gelignite has joined #silverstripe
402: [09:19:00] * WillM quit (Ping timeout: 248 seconds)
403: [09:30:00] * osterlaus has joined #silverstripe
404: [09:33:00] * osterlaus quit (Client Quit)
405: [09:36:00] * osterlaus has joined #silverstripe
406: [09:36:00] * priithansen has joined #silverstripe
407: [09:36:00] * cloph is now known as cloph_away
408: [09:37:00] * ARNHOE quit (Remote host closed the connection)
409: [09:38:00] * ARNHOE has joined #silverstripe
410: [09:52:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
411: [10:00:00] * Zauberfisch|idle has joined #silverstripe
412: [10:09:00] <willmorgan> is there a locale helper function in SS 3.1?
413: [10:10:00] <willmorgan> something that'll take the HTTP_ACCEPT_LANGUAGE and give me the preferred
414: [10:10:00] <willmorgan> oh, i see now in i18n
415: [10:18:00] * martimiz has joined #silverstripe
416: [10:20:00] * k2 has joined #silverstripe
417: [10:21:00] <k2> but partially matching a string
418: [10:21:00] <k2> hey team - simple one (I hope)
419: [10:21:00] <k2> am trying to filter a datalist using filter()
420: [10:22:00] <zfmf> whats wrong here: http://www.sspaste.com/paste/show/51823ddd6119e i call the method from a template but its called two times, on second call the field where i add with $form->Fields()->push is missing
421: [10:22:00] <k2> eg. SELECT * FROM DataObject WHERE Title LIKE "%string%"
422: [10:26:00] * martimiz quit (Quit: Page closed)
423: [10:32:00] <kinglozzer> k2: And why can't you do it?
424: [10:32:00] <kinglozzer> k2: Here's one I'm using that's working fine: ->where("Title LIKE '%" . $name . "%'")
425: [10:33:00] <k2> ah sorry blonde moment - ->where is what I was after :)
426: [10:42:00] * popeshoe quit (Quit: Leaving)
427: [10:42:00] * ivoba has joined #silverstripe
428: [10:45:00] * osterlaus quit (Quit: Leaving.)
429: [10:50:00] * popeshoe has joined #silverstripe
430: [10:57:00] <priithansen> Is there a way to make Created date look nice in modeladmin without creating a new function and losing sortable header functionality?
431: [10:57:00] * folibis has joined #silverstripe
432: [11:00:00] <priithansen> static $casting doesn't seem to have any effect and not sure it should
433: [11:00:00] <folibis> sorry for stupid questions - how can I insert data into database table inSilverStripe?
434: [11:03:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
435: [11:09:00] <Zauberfisch> k2 kinglozzer you should also be able to do ->filter('Foo:PartialMatch', 'bar')
436: [11:10:00] * k2 quit (Ping timeout: 245 seconds)
437: [11:27:00] * ivoba quit (Quit: Leaving)
438: [11:46:00] <ss23> Maintaining tow branches is so horrible.
439: [11:46:00] <ss23> I seriously hate this bullshit with the modules not working between 3.1 and 3.0 now
440: [11:57:00] <priithansen> all this http://www.sspaste.com/paste/show/518254851b05a to make Created date look nice in modelAdmin. Surely I''m missing something?
441: [11:57:00] <ss23> :<
442: [11:57:00] <ss23> Oh fancy pants with your new array syntax
443: [11:58:00] <ss23> priithansen: If it's just a form, can't you just uh... getCompmentByType, then ->setFormat on it?
444: [11:58:00] <ss23> rather, ->Foramt
445: [11:58:00] <ss23> or somethign like that
446: [11:59:00] <priithansen> Was actually hoping to solve it in dataobject with $casting or summary_fields or something but nothing seems to make a difference
447: [12:00:00] <priithansen> not sure what you mean ss23
448: [12:01:00] * cloph_away is now known as cloph
449: [12:06:00] <ss23> I get this on some userforms stuff?
450: [12:06:00] <ss23> None of these templates can be found in theme '': FieldEditor.ss
451: [12:06:00] <ss23> what
452: [12:09:00] <ss23> ;_;
453: [12:09:00] <ss23> Oh, flush
454: [12:15:00] * howardgrigg quit (Remote host closed the connection)
455: [12:15:00] * UndefinedOffset has joined #silverstripe
456: [12:21:00] * Zauberfisch-idle has joined #silverstripe
457: [12:24:00] * Zauberfisch|idle quit (Ping timeout: 246 seconds)
458: [12:28:00] * osterlaus has joined #silverstripe
459: [12:32:00] * toebu has joined #silverstripe
460: [13:04:00] * folibis quit (Ping timeout: 245 seconds)
461: [13:18:00] * mobiusnz quit (Quit: Leaving.)
462: [13:22:00] * webguest has joined #silverstripe
463: [13:24:00] <webguest> i have one page, on that page i have multiple forms, devided in steps... im doubting to make it with jquery or like ?step=2 ...
464: [13:24:00] <webguest> could someone tell me more about this using SilverStripe
465: [13:25:00] <webguest> and how should i appoach this
466: [13:25:00] <webguest> is there a simple way to do both, a bullet proof way
467: [13:29:00] <Zauberfisch> I use that bridge way thing that you have as well :P
468: [13:41:00] * obobo has joined #silverstripe
469: [13:48:00] * mobiusnz has joined #silverstripe
470: [13:50:00] * NobrainerWeb quit (Quit: NobrainerWeb)
471: [13:53:00] <cloph> The documentation about user-roles/permissions http://3.0.userhelp.silverstripe.org/for-website-administrators/managing-roles-and-permissions/ talks about separating editors from publishers - but the default installation doesn't offer that distinction, or am I blind?
472: [13:56:00] * mobiusnz quit (Ping timeout: 252 seconds)
473: [14:02:00] * obobo quit (Quit: Page closed)
474: [14:05:00] <webguest> [2.4.x] how do i create an <a href=""> that calls a customs function in my controller
475: [14:11:00] <ss23> webguest: Probably just give the URL of like... controller/function?
476: [14:12:00] <ss23> And make sure it's int the allowed_actions
477: [14:12:00] <ss23> webguest: I'm not 100% though, you'll probably wanna test :O
478: [14:12:00] * Zauberfisch quit (Remote host closed the connection)
479: [14:12:00] <webguest> ok thx
480: [14:15:00] <cloph> it works that way, so no problem :-)
481: [14:16:00] <cloph> if you want to add it to another url than <pagetypewhereyouaddedthemethod>/methodname> you can add a custom mapping
482: [14:18:00] * Nivery has joined #silverstripe
483: [14:23:00] * mobiusnz has joined #silverstripe
484: [14:25:00] <webguest> can i do something like : Session::set('FormInfo.MCF_Bridge', $data, $newVar);
485: [14:25:00] <webguest> how do i append a new variable to my bridge?
486: [14:25:00] <webguest> Session::set('FormInfo.MCF_Bridge', $data);
487: [14:26:00] <kinglozzer> var_dump($data)
488: [14:26:00] <webguest> so dont know what it is
489: [14:26:00] <webguest> form results from step1
490: [14:26:00] <kinglozzer> webguest: Is $data a string or array?
491: [14:27:00] <kinglozzer> It'll tell you if it's an array
492: [14:28:00] <kinglozzer> $oldData = Session::get('FormInfo.MCF_Bridge'); Session::set('FormInfo.MCF_Bridge', array_merge($oldData, $newData));
493: [14:28:00] <kinglozzer> Or something like that
494: [14:29:00] <webguest> kinglozzer: its an array: array(16)
495: [14:31:00] <webguest> can i merge $newData if newData is like .... $newData = 'string'
496: [14:34:00] <UndefinedOffset> webguest if $newData is a string you cannot merge it with an array, you need array_push or one of the many other ways to add on to an array
497: [14:39:00] <webguest> ok thx
498: [14:40:00] * osterlaus has left #silverstripe
499: [14:42:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
500: [14:45:00] * wmk quit (Quit: nice to meet you ;))
501: [14:46:00] * toebu quit (Ping timeout: 256 seconds)
502: [15:07:00] * ARNHOE_ has joined #silverstripe
503: [15:09:00] * ARNHOE_ quit (Remote host closed the connection)
504: [15:10:00] * ARNHOE quit (Ping timeout: 268 seconds)
505: [15:12:00] * ARNHOE quit (Remote host closed the connection)
506: [15:12:00] * ARNHOE has joined #silverstripe
507: [15:31:00] * feejin quit (Remote host closed the connection)
508: [15:35:00] <kinglozzer> [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo *Click*
509: [15:36:00] <ss23> Needs more --no-preserve-root
510: [15:38:00] * zfmf has left #silverstripe
511: [15:43:00] <ss23> urgh
512: [15:43:00] <kinglozzer> Haha yeah good point, just pasted it from another channel :P
513: [15:44:00] <ss23> like "If I PUT THIS IN THE WRONG WINDOW OH GOD"
514: [15:44:00] <ss23> Just copying and pasting it makes me feel dirty
515: [15:51:00] * OldTom quit (Quit: leaving)
516: [15:52:00] <kinglozzer> Haha, check that terminal is closed, just in case
517: [15:53:00] <ss23> I IRC via SSH
518: [15:53:00] <ss23> :P
519: [15:58:00] <kinglozzer> Ah :P
520: [16:08:00] * kinglozzer quit (Remote host closed the connection)
521: [16:14:00] * Zauberfisch has joined #silverstripe
522: [16:35:00] * UndefinedOffset1 is now known as UndefinedOffset
523: [16:35:00] * UndefinedOffset quit (Disconnected by services)
524: [16:35:00] * UndefinedOffset1 has joined #silverstripe
525: [16:42:00] * waveydave has left #silverstripe
526: [16:45:00] * osterlaus1 has joined #silverstripe
527: [16:49:00] * osterlaus1 quit (Client Quit)
528: [16:51:00] * osterlaus has joined #silverstripe
529: [17:00:00] <willmorgan> https://github.com/BetterBrief/silverstripe-opauth
530: [17:00:00] <willmorgan> made some nice progress on the opauth module today
531: [17:00:00] <willmorgan> you can now map responses to create a member record
532: [17:03:00] <priithansen> So how many good practises have I broken with this wrapper thing? http://www.sspaste.com/paste/show/51829b9c7f558
533: [17:07:00] * willmorgan quit (Ping timeout: 252 seconds)
534: [17:14:00] * Nivery quit (Quit: Nivery)
535: [17:14:00] * osterlaus quit (Quit: Leaving.)
536: [17:16:00] <FrozenFire> It is obviously related to each instance, so having it global makes no sense.
537: [17:16:00] <FrozenFire> priithansen, These aren't to slam you, but just because you asked:
538: [17:16:00] <FrozenFire> The $uid should not be static
539: [17:17:00] <FrozenFire> Don't reference count like you are using the constructor
540: [17:17:00] <FrozenFire> If you need unique identifiers, use uniqid()
541: [17:18:00] <FrozenFire> You should also be supporting injection of an existing chart
542: [17:19:00] <FrozenFire> Also, while some here would strongly disagree with me, you shouldn't have those Requirements calls in your forTemplate.
543: [17:19:00] <FrozenFire> That should be part of the template itself, so that the requirements can vary depending on the template.
544: [17:22:00] <priithansen> FrozenFire: thanks for the frair criticism. Being self taught it's good to get an opinion on things that aren't that obvious since the code works :)
545: [17:23:00] <priithansen> and I blame UncleCheese https://github.com/unclecheese/silverstripe-dashboard/blob/master/code/DashboardChart.php#L13-L16 :)
546: [17:24:00] <FrozenFire> Heh. Yeah. Not a good way of producing unique IDs
547: [17:27:00] * Error404NotFound has joined #silverstripe
548: [17:35:00] <priithansen> FrozenFire: would that be also considered bad that the object can return itself or the chart object depending what function is found in what object?
549: [17:37:00] <FrozenFire> Somewhat. I don't like "magic" passthroughs using __call
550: [17:37:00] <FrozenFire> That way it's obvious that any call to that will be made on the chart itself
551: [17:37:00] <FrozenFire> I prefer something like function chartCall("method", $args)
552: [17:38:00] <FrozenFire> As opposed to possibly having a method replaced to call on the wrapper instead
553: [17:39:00] <priithansen> thanks, had a hunch that making concrete function to handle that would be better approach
554: [17:40:00] <FrozenFire> Though, just providing a getter for the chart is also probably better.
555: [17:57:00] * webguest quit (Ping timeout: 245 seconds)
556: [18:08:00] * terryapodaca has joined #silverstripe
557: [18:39:00] * UndefinedOffset quit (Quit: Leaving.)
558: [18:44:00] * ARNHOE has joined #silverstripe
559: [18:44:00] * ARNHOE quit (Remote host closed the connection)
560: [18:45:00] * ARNHOE has joined #silverstripe
561: [19:01:00] * UndefinedOffset has joined #silverstripe
562: [19:03:00] <ss23> Who is deploying anything like that to production anyway? :S
563: [19:03:00] <FrozenFire> Hrmm, the default .htaccess definitely needs to add rules to block access to composer.json and .git, .svn, etc
564: [19:03:00] * FrozenFire sheepishly raises his hand
565: [19:04:00] <FrozenFire> But seriously, I use git for deployment as a rule
566: [19:04:00] <ss23> lol
567: [19:05:00] <FrozenFire> Helps to detect things like tampering, and also smooths deployments by only having to replace files that have been modified
568: [19:11:00] * r3v3rb has joined #silverstripe
569: [19:12:00] <r3v3rb> hi, having trouble with URLParams messing up my %26 encoded character??? is there a way around this
570: [19:35:00] * wmk has joined #silverstripe
571: [19:36:00] <FrozenFire> Hrmm, this issue turns out to be more pervasive and more difficult to really fix than I'd thought.
572: [19:36:00] <r3v3rb> whats that FrozenFire
573: [19:36:00] <FrozenFire> Ended up adding this to my apache2.conf: http://pastebin.com/FEbghzRj
574: [19:37:00] <FrozenFire> r3v3rb, Apache failing to protect dotfiles
575: [19:37:00] <FrozenFire> Also, the availability of composer.json and composer.lock over HTTP
576: [19:37:00] <FrozenFire> So someone could feasibly hit composer.json to see what packages you're using on your site
577: [19:38:00] <r3v3rb> eek !
578: [19:39:00] <r3v3rb> nasty
579: [19:40:00] <r3v3rb> mine is being a pita too, have a database that produces the ID/OtherID/AnotherID to a controller - some of the entries have & in them??? so I figure urlencode will solve the issue. except $this->getURLParams(); screws with the encoded params and fails at the ampersand
580: [19:41:00] <r3v3rb> guess its time to alter the db to 'and' instead of '&'
581: [19:41:00] <r3v3rb> i get everything up to the first %26 in the encoded url then nothing after
582: [19:43:00] <wmk> anyone knows, if staticpublisher works in 3.1?
583: [19:45:00] <cloph> The default htaccess /does/ include rules to block composer.json (at least the one in 3.1beta2) - and it should not just ignore .git .svn, but everything starting with a dot
584: [19:46:00] <cloph> repost of my question from ~6h ago: The documentation about user-roles/permissions http://3.0.userhelp.silverstripe.org/for-website-administrators/managing-roles-and-permissions/ talks about separating editors from publishers - but the default installation doesn't offer that distinction, or am I blind?
585: [19:46:00] <cloph> And to check whether you have package xy, you can just request any static file from that package. Those are not blocked either, so no real difference.
586: [19:48:00] <UndefinedOffset> cloph on linux dot files should be blocked by apache by default if I remember correctly
587: [19:49:00] <FrozenFire> I thought that, but it's not true.
588: [19:49:00] <UndefinedOffset> oh nice...
589: [19:49:00] <FrozenFire> Apache on Ubuntu ships with /etc/apache2/conf.d/security with *commented out* security rules
590: [19:49:00] <FrozenFire> Nope
591: [19:50:00] <FrozenFire> Adding http://pastebin.com/FEbghzRj should suffice
592: [19:50:00] <FrozenFire> So it won't block shit like .svn or .git by default
593: [19:50:00] <FrozenFire> Has to be added to a core Apache conf file, though
594: [19:51:00] <UndefinedOffset> i always make a point of deploying without .git and .svn folders so much extra stuff not really needed on a production site
595: [19:51:00] <FrozenFire> Won't work in .htaccess on most servers
596: [19:52:00] <FrozenFire> How do you manage updates, then?
597: [19:53:00] * mobiusnz quit (Ping timeout: 268 seconds)
598: [19:54:00] <UndefinedOffset> less than elegantly but via good old ftp/sftp and logs of the changed files from using git/svn
599: [19:54:00] * FrozenFire doesn't feel *too* bad about not having gotten it right, though
600: [19:54:00] <FrozenFire> http://php.net/.git/config
601: [19:54:00] <FrozenFire> Chances are, no matter what mirror you hit, that'll be accessible. :P
602: [19:54:00] <UndefinedOffset> lol nice
603: [19:55:00] <lewellyn> they're only hidden by shell convention
604: [19:55:00] <UndefinedOffset> strange that apache serves "hidden" files
605: [19:56:00] <UndefinedOffset> true true
606: [19:58:00] * ARNHOE quit (Remote host closed the connection)
607: [20:03:00] * Pyromanik quit (Ping timeout: 256 seconds)
608: [20:03:00] <ss23> Anyone feeling like helping me with some CSS that I can't figure out? :D
609: [20:04:00] <cloph> only if it is in a jsfiddle / online somewhere... No theory-only talk :-)
610: [20:04:00] <ss23> lol
611: [20:05:00] <ss23> Just wanna make this work!
612: [20:05:00] <ss23> http://ss23.geek.nz/silverstripe/eats/SilverStripe-cms-v3.0.5/reserving/
613: [20:05:00] * cloph is no css-expert, just as a disclaimer
614: [20:05:00] <ss23> Mail and Telefoon, I want them on the same line
615: [20:05:00] <ss23> Yeah, I know, neither am I :P
616: [20:05:00] <FrozenFire> And set a width
617: [20:05:00] <FrozenFire> Float them left?
618: [20:06:00] <ss23> I mean, I got all the inputs to do it fine
619: [20:06:00] * Pyromanik has joined #silverstripe
620: [20:06:00] <ss23> What is "them", cause I've tried setting widths and flaoting left on everything I can find
621: [20:06:00] <ss23> I'm viewing in Chrome
622: [20:06:00] <cloph> that current one gives an "interesting" look in chromium :-)
623: [20:06:00] <ss23> Just these things for some reason don't seem to want to go on that line :/
624: [20:06:00] <simon_w> inline-block with a width if you don't want to deal with floats?
625: [20:07:00] <ss23> Userforms is damn annoying. Stupid client is all like "DURP WE WANNA BE ABLE TO EDIT IT"
626: [20:07:00] <ss23> But means I can't do crap to make it look nice normally :/
627: [20:07:00] <ss23> Messing around with it as we talk though (not the CSS)
628: [20:08:00] <FrozenFire> Err, form, not .form
629: [20:08:00] <FrozenFire> form .field#FieldName, .form .field#FieldName2 { float: left; }
630: [20:08:00] <ss23> FrozenFire: Sorry, what? I know how to specify the items, I just don't know which element you're talking about floating left. As I said, I tried in the inspector floating it all left and it didn't work
631: [20:08:00] <FrozenFire> :P
632: [20:09:00] <ss23> wah
633: [20:09:00] <simon_w> ss23, li.valMail
634: [20:09:00] <simon_w> that's what needs floating
635: [20:09:00] <ss23> ;_;
636: [20:09:00] <FrozenFire> Floating it left isn't all you need to do.
637: [20:09:00] <ss23> ty
638: [20:09:00] <ss23> idk
639: [20:09:00] <ss23> I thought I tried that, simon_w
640: [20:09:00] <FrozenFire> You have to specify them at widths such as they fit on the same line.
641: [20:09:00] <ss23> Now I feel dumb.
642: [20:09:00] <ss23> FrozenFire: Did you click the link? they're already specified.
643: [20:09:00] <FrozenFire> Yup. Float + width.
644: [20:10:00] <simon_w> ss23, wait until you try helping him :p
645: [20:10:00] <ss23> >.<
646: [20:10:00] <ss23> You are the most frustrating person to receive help from, FrozenFire
647: [20:10:00] <ss23> but ty guys
648: [20:10:00] <FrozenFire> :P
649: [20:10:00] * Zauberfisch_ has joined #silverstripe
650: [20:10:00] <FrozenFire> You have to float the field wrapper. Not just the input
651: [20:11:00] <FrozenFire> :P
652: [20:11:00] <FrozenFire> Heh. When I ask for help, it's either something deep in SS's bowels, or something where I just think it's been done shittily.
653: [20:12:00] <FrozenFire> I avoid using display: inline-block because it has shitty support on potato browsers.
654: [20:12:00] <cloph> ss23: I'd not use float left, but rather use display: inline-block;
655: [20:12:00] <ss23> The float: left works. I'm a fan of "holy crap it works I'm not going to change this again ever" :P
656: [20:13:00] * r3v3rb quit (Quit: r3v3rb)
657: [20:13:00] <FrozenFire> So you have to either jump through font-size hoops, or use really horrendous source comments
658: [20:13:00] * Zauberfisch quit (Ping timeout: 240 seconds)
659: [20:13:00] <FrozenFire> Also, inline-block is subject to issues with whitespace in between each element
660: [20:13:00] <FrozenFire> Which often means going back in and replacing all of the inline-blocks with floats.
661: [20:14:00] <cloph> IE 6 is nothing to care about anymore...
662: [20:14:00] <FrozenFire> IE7 lacks support
663: [20:14:00] <cloph> float: left has impact on lots of surrounding stuff, so choose your poison :-)
664: [20:14:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
665: [20:14:00] <FrozenFire> Kinda-sorta does.
666: [20:14:00] <FrozenFire> http://caniuse.com/#feat=inline-block
667: [20:15:00] <ss23> FIXED
668: [20:15:00] <FrozenFire> You just have to know how to bend to its whims
669: [20:15:00] <ss23> clear: both;
670: [20:15:00] <cloph> yeah, was about to write that :-)
671: [20:15:00] <FrozenFire> I have a CSS clearfix as a tab-completion
672: [20:15:00] <FrozenFire> E.g. .some .parent .element clearfix<tab>
673: [20:15:00] <ss23> chmod -R 777 /; # fixes all permissions issues ^.^
674: [20:15:00] <terryapodaca> simon_w how often does the Showcase get updated on ss.org? I submitted 3 new ones last month and haven't seen them get approved
675: [20:16:00] <ss23> Last time I said chmod 777 in here, someome waited 15 mins, then said "thanks ss23 that fixed it" and left
676: [20:16:00] <simon_w> Nope
677: [20:16:00] <terryapodaca> don't you work for SS?
678: [20:16:00] * mobiusnz has joined #silverstripe
679: [20:16:00] <ss23> Actually, I shouldn't say things like that
680: [20:16:00] <simon_w> terryapodaca, how am I supposed to know? :p
681: [20:16:00] <terryapodaca> who do you work for?
682: [20:16:00] <simon_w> Everyone does...
683: [20:16:00] <terryapodaca> oh, thought you did for some reason
684: [20:16:00] <ss23> :P
685: [20:16:00] <ss23> cloph: Only if you use SSH keys, right?
686: [20:16:00] <cloph> but ssh won't let you login anymore then :-)
687: [20:16:00] <ss23> :D
688: [20:16:00] <ss23> terryapodaca: He just *should* work for them
689: [20:17:00] * Zauberfisch_ quit (Ping timeout: 240 seconds)
690: [20:17:00] <ss23> Right?
691: [20:17:00] <ss23> terryapodaca: POCKETRENT!
692: [20:17:00] <simon_w> https://pocketrent.com
693: [20:17:00] <ss23> For when you want to rent a pocket
694: [20:17:00] <ss23> ^.^
695: [20:17:00] <ss23> :D
696: [20:17:00] <ss23> Sometimes I feel like simon_w must just sigh at me IRL
697: [20:17:00] <ss23> Like he reads something Is ay then he sighs and just tabs away from IRC
698: [20:19:00] <ss23> "Joke so bad even ss23 used it."
699: [20:19:00] <simon_w> ss23, well, there's some I could mention that are worse, but then you'd start using them
700: [20:19:00] <simon_w> terryapodaca, yup
701: [20:19:00] <terryapodaca> is that app built on SS?
702: [20:19:00] <ss23> It's the first time I've used it, simon_w!
703: [20:19:00] <ss23> hahaha
704: [20:19:00] <simon_w> After hearing that joke for the umpteenth time? Yes.
705: [20:19:00] <ss23> It should be a mile-stone
706: [20:20:00] * oddnoc has joined #silverstripe
707: [20:20:00] <ss23> simon_w: Oh come on! Induldge me :D
708: [20:21:00] <terryapodaca> I'd leave it alone
709: [20:21:00] <ss23> XD
710: [20:21:00] <terryapodaca> ss23: that could get way out of hand
711: [20:21:00] <ss23> :D
712: [20:21:00] <ss23> I'll just have to save up all my "wow, that's almost X!"s for the ahckfest
713: [20:21:00] <simon_w> Nope
714: [20:21:00] * Liquide has joined #silverstripe
715: [20:22:00] <ss23> ss23 is the master of jokes
716: [20:22:00] <ss23> Server Wars: Attack of the Clones
717: [20:22:00] <ss23> Server Wars: Revenge of the Sysadmin
718: [20:22:00] <ss23> Server Wars: The Botnet Wars
719: [20:22:00] <simon_w> I may have to invest in a physical banhammer?
720: [20:22:00] <ss23> hahah, simon_w
721: [20:22:00] <ss23> Speaking of jokes, I came up with this a few hours ago :O
722: [20:22:00] <ss23> Server Wars: A New Patch
723: [20:22:00] * Zauberfisch-idle has joined #silverstripe
724: [20:22:00] <ss23> Server Wars: The Kernel Strikes Back
725: [20:22:00] <ss23> Server Wars: Return of the Dedi
726: [20:22:00] <ss23> Server Wars: The Rootkit Menace
727: [20:23:00] <ss23> cloph: I don't think so? But it sounds lulz
728: [20:23:00] <cloph> ss23: you know the traceroute starwars trailer?
729: [20:23:00] <ss23> eh eh? Pretty good?
730: [20:24:00] <ss23> oh yes
731: [20:24:00] <simon_w> I still prefer telnet towel.blinkenlights.nl
732: [20:24:00] <cloph> traceroute 216.81.59.173
733: [20:24:00] <ss23> I have seen that
734: [20:25:00] <simon_w> Though I haven't watched the IPv6 version
735: [20:25:00] <ss23> ^^
736: [20:30:00] * wmk quit (Quit: nice to meet you ;))
737: [20:31:00] <lewellyn> i need crappier routing to that starwars ip.
738: [20:32:00] <lewellyn> i'm curious what happens if it's 15+ hops when you get to it.
739: [20:34:00] * nickmolhoek has joined #silverstripe
740: [20:34:00] * nickmolhoek has joined #silverstripe
741: [20:34:00] * nickmolhoek quit (Remote host closed the connection)
742: [20:37:00] <simon_w> You tell traceroute to allow more hops
743: [20:39:00] <Pyromanik> umm
744: [20:40:00] <Pyromanik> some wordpress retard pasted 15 hop limit, and now the internet at large has missed out on 2/3rds of it
745: [20:40:00] <Pyromanik> 15 hops?
746: [20:40:00] <Pyromanik> there's like 60 in the thing alone
747: [20:40:00] <Pyromanik> I don't understand.
748: [20:41:00] <lewellyn> oh. where mine cuts off looks like the end..
749: [20:42:00] <lewellyn> that should do it.
750: [20:42:00] <lewellyn> traceroute -m 100 -i dmfe1 216.81.59.173
751: [20:43:00] <Pyromanik> ... etc
752: [20:43:00] <Pyromanik> when I first saw it it was 60
753: [20:43:00] <Pyromanik> it tapers off at the end: .......
754: [20:43:00] <Pyromanik> .........
755: [20:43:00] <Pyromanik> ........
756: [20:43:00] <Pyromanik> ........
757: [20:43:00] <lewellyn> heh. i did see the end.
758: [20:44:00] <lewellyn> i was mostly wondering if it was smart enough to adjust the routes
759: [20:44:00] <lewellyn> all i gained was the credits ;)
760: [20:44:00] <Pyromanik> then pastes a little 'made by' iirc
761: [20:44:00] <lewellyn> 30 freedom.to.the.galaxy (206.214.251.89) 152.763 ms 160.473 ms 157.008 ms
762: [20:44:00] <lewellyn> i didn't miss anything.
763: [20:45:00] * UndefinedOffset quit (Quit: Leaving.)
764: [20:47:00] <Pyromanik> no idea
765: [20:47:00] <Pyromanik> every time I've seen it since I first saw it at 60 hops it's been at a limit of like 10.
766: [20:47:00] <ss23> Pyromanik sounds mad this morning
767: [20:47:00] <Pyromanik> which cuts off about 50% of the routing.
768: [20:47:00] * toebu has joined #silverstripe
769: [20:47:00] <ss23> Pyromadiak
770: [20:47:00] <Pyromanik> but my original point still stands
771: [20:48:00] <ss23> RELAX MAX
772: [20:48:00] <toebu> For a multilingual website we would like to translate the title strings for the Image objects ... how would you go about this ?
773: [20:48:00] <Pyromanik> shh, i'm eating.
774: [20:48:00] <ss23> CAlm your farm
775: [20:48:00] <Pyromanik> ss23: yes, dumb copy pasta bloggers wind me up.
776: [20:48:00] <ss23> lol
777: [20:48:00] <ss23> Take a chill pill, bill
778: [20:52:00] <ss23> Is it possible for a page to extend UserDefinedFormPage kind of thing and still like... do all the userdefinedform stuff plus more?
779: [20:52:00] <ss23> Tried class ContactPage extends UserDefinedFormPage, but it doesn't show up as a possible page on /dev/build or the CMS
780: [20:56:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
781: [20:57:00] <oddnoc> ss23: You have to define a ContactPage_Controller, even if it is empty.
782: [20:58:00] * Zauberfisch has joined #silverstripe
783: [20:59:00] <simon_w> ss23, that's because you're extending a non-existent class. You want UserDefinedForm
784: [21:01:00] <oddnoc> that, too
785: [21:01:00] <ss23> :D
786: [21:01:00] <ss23> Thought SS would give me an error if I got class name wrong, but works now o/
787: [21:01:00] <ss23> Ah, I see
788: [21:02:00] <ss23> I did a /dev/build, thought that would do it, but yeah
789: [21:02:00] <simon_w> Well, if you try to load it it will
790: [21:03:00] <simon_w> Well, you're not subclassing a DataObject, so nope
791: [21:08:00] <Pyromanik> gosh ss23, such a n00b move.
792: [21:12:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6833267
793: [21:12:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/131e21d777e3...7fbb9e3a9602
794: [21:12:00] <travis-ci> [travis-ci] silverstripe/sapphire#2119 (3.1 - 7fbb9e3 : Sean Harvey): The build has errored.
795: [21:12:00] * travis-ci has joined #silverstripe
796: [21:12:00] <ss23> Pyromanik: I am not a smart man :<
797: [21:12:00] * travis-ci has left #silverstripe
798: [21:13:00] <irogue> jenny
799: [21:14:00] <ss23> what?
800: [21:14:00] <ss23> yeah, jenny.
801: [21:16:00] <irogue> forrest gump reference
802: [21:17:00] <Pyromanik> stom... hmm
803: [21:17:00] <Pyromanik> anyone from Heyday in?
804: [21:17:00] <Pyromanik> n1 irogue
805: [21:17:00] <Pyromanik> haha
806: [21:20:00] <ss23> hmm
807: [21:20:00] <Pyromanik> nope :<
808: [21:21:00] <ss23> $fields->addFieldToTab('Root.Map', array(FieldList::create(array(TextField::create('rawr', 'boo')))));
809: [21:21:00] <ss23> no worky
810: [21:21:00] <ss23> $fields->addFieldToTab('Root.Map', array(FieldList::create(TextField::create('rawr', 'boo'))));
811: [21:21:00] <ss23> no worky either
812: [21:22:00] <Pyromanik> lol
813: [21:22:00] <simon_w> Duh, addField only wants a single field. What's with the array?
814: [21:22:00] <Pyromanik> derp derp
815: [21:22:00] <ss23> $fields->addFieldToTab('Root.Map', FieldList::create(array(TextField::create('rawr', 'boo'))));
816: [21:22:00] <ss23> [User Error] Uncaught Exception: Object->__call(): the method 'getname' does not exist on 'FieldList'
817: [21:22:00] <ss23> The array was "why is this happening to me maybe an array will fix it"
818: [21:22:00] <Pyromanik> swif
819: [21:23:00] <simon_w> Because a FieldList isn't a field
820: [21:23:00] <simon_w> CompositeField
821: [21:23:00] <ss23> simon_w: I take it you can see what I want to do. What should I be using?
822: [21:23:00] <ss23> ;_;
823: [21:24:00] <ss23> <3
824: [21:24:00] <Pyromanik> gawd what a mess
825: [21:24:00] <ss23> oh god
826: [21:24:00] <Pyromanik> get a haircut ss23
827: [21:25:00] <ss23> :D
828: [21:25:00] <ss23> That was scary... lucky I remembered to flush
829: [21:25:00] <ss23> Pyromanik: Assuming you're looking at my Github picture. Guess what -- that picture is like 2 years old and I haven't cut my hair since then
830: [21:30:00] <mobiusnz> is there a shortcut way to make all fields in a form required?
831: [21:31:00] * SightUnseen has joined #silverstripe
832: [21:31:00] * SightUnseen has left #silverstripe
833: [21:32:00] <simon_w> mobiusnz, new RequiredFields(array_keys($fields->dataFields()))
834: [21:37:00] <mobiusnz> thansk
835: [21:38:00] * willr has joined #silverstripe
836: [21:46:00] * Zauberfisch quit (Remote host closed the connection)
837: [21:50:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
838: [21:56:00] * Zauberfisch-idle has joined #silverstripe
839: [21:59:00] <irogue> yeah it's pretty scary
840: [21:59:00] <irogue> [09:24] <Pyromanik> get a haircut ss23
841: [22:00:00] <mobiusnz> what's the best way for a dataobject to return a link to itself, without coupling it too tightly to any particular controller?
842: [22:03:00] <FrozenFire> (That's a socratic method question. :P)
843: [22:03:00] <FrozenFire> A link to itself how?
844: [22:04:00] <mobiusnz> yeah, I've figured another way of doing it
845: [22:04:00] <FrozenFire> I typically have two methods. Link() and CMSEditLink()
846: [22:04:00] <mobiusnz> but basically I'm wondering if there is a nice way for the dataobject to find out who is currently controlling it
847: [22:05:00] <FrozenFire> Controller::curr()
848: [22:05:00] <mobiusnz> I've got: <% if ExternalLink %><a href="$Contact">Click here to register</a><% else %><a href="register/$ID">Click here to register</a><% end_if %>
849: [22:05:00] <mobiusnz> yeah
850: [22:05:00] <FrozenFire> Controller should control model, not the other way around
851: [22:05:00] <FrozenFire> Since that's in the controller, and DataObject is model.
852: [22:05:00] <mobiusnz> hmm, yeah
853: [22:05:00] <FrozenFire> Though you should really avoid that.
854: [22:05:00] <mobiusnz> interesting
855: [22:06:00] <mobiusnz> ExternalLink is just a function that looks to see if $Contact is a http address or an email
856: [22:06:00] <mobiusnz> which works around it
857: [22:07:00] <FrozenFire> Has anyone figured out a composer-only setup yet for SS?
858: [22:08:00] <FrozenFire> I find myself *needing* to created based on silverstripe/installer
859: [22:08:00] <FrozenFire> But I need the .htaccess and whatnot
860: [22:08:00] <FrozenFire> create-project, that is
861: [22:09:00] <oddnoc> composer-only as opposed to what? You get .htaccess with create-project. Not sure what you're getting at
862: [22:10:00] <FrozenFire> I'd like to be able to have composer templates like: http://www.sspaste.com/paste/show/5182e45ce5eeb
863: [22:11:00] <FrozenFire> Though silverstripe/installer sort of mucks things up for me, since it includes requirements like the simple theme
864: [22:11:00] <FrozenFire> Instead of creating projects *using* the silverstripe/installer
865: [22:11:00] <FrozenFire> Throw silverstripe/installer in as a requirement, with a specific version
866: [22:12:00] <FrozenFire> Yeah, thinking that I'll just create my own installer
867: [22:12:00] <oddnoc> OIC. No, I haven't done it that way. You can always remove the dependencies you don't want/need, though.
868: [22:17:00] <FrozenFire> Blegh. The simple theme should really be a "suggest"
869: [22:23:00] <Pyromanik> oh spronk
870: [22:23:00] <Pyromanik> gawd
871: [22:23:00] <Pyromanik> KF
872: [22:27:00] * terryapodaca quit (Quit: Leaving.)
873: [22:29:00] <irogue> holy shit
874: [22:30:00] <irogue> http://www.stuff.co.nz/national/crime/8626910/Predator-mode-scares-off-burglars
875: [22:30:00] <irogue> what a terrifying woman
876: [22:31:00] <ss23> rofl
877: [22:34:00] <unsignedint> In SS 2.4, how can I generate a link to a controller action? eg I have created an action called "vcard" and I now need to make it the target of an <a> tag
878: [22:34:00] <simon_w> $Link('vcard')
879: [22:34:00] <unsignedint> $Link('vcard') doesnt seem to do anything
880: [22:35:00] <unsignedint> Note its nested within a <% control Children%> structure, I tried $Parent.Link('vcard') too but that did nothing as well
881: [22:40:00] <unsignedint> actually I lie, its *madly* nested inside 3 <% control %> structures
882: [22:41:00] <unsignedint> this code is so messy I almost want to punch the guy who wrote it
883: [22:42:00] <unsignedint> ok so $Top.Link('vcard') works
884: [22:45:00] * simon_w quit (Ping timeout: 248 seconds)
885: [22:58:00] * simon_w has joined #silverstripe
886: [23:09:00] <unsignedint> simon_w: in SS 2.4, where is the composer autoload.php supposed to be included from?
887: [23:14:00] <FrozenFire> For SilverStripe's composer installer, is there a way to define the actual directory for a module, instead of using its name?
888: [23:15:00] <simon_w> FrozenFire, the 2.4 silverstripe-installer does that
889: [23:16:00] <FrozenFire> I have a package called mediadevils/silverstripe-fliqz
890: [23:16:00] <FrozenFire> I need it in fliqz
891: [23:16:00] <simon_w> Oh, you can't do that
892: [23:16:00] <unsignedint> simon_w: I mean in what file. It doesnt seem to be included unless I include it manually from my code
893: [23:16:00] <FrozenFire> simon_w, Wha?
894: [23:16:00] <simon_w> unsignedint, wherever it is?
895: [23:17:00] <spronk> Pyromanik: hmm??
896: [23:18:00] <oddnoc> Ugh. Just took me an hour to notice where I had a $$this->???
897: [23:18:00] <simon_w> unsignedint, yes, so include it in your code
898: [23:21:00] <spronk> Pyromanik: something funky happen that i don't know about?! :O
899: [23:28:00] <FrozenFire> simon_w, Hrmm, so apparently I *could*
900: [23:29:00] <FrozenFire> However, I'm using satis to do my private repository packages.json generation, and it doesn't copy extra attributes >.<
901: [23:29:00] <FrozenFire> If I define: "extra": { "installer-name": "fliqz" }
902: [23:31:00] <FrozenFire> Properly named
903: [23:31:00] <simon_w> You should be coding your modules to be able to be installed with any name anyway :p
904: [23:31:00] <FrozenFire> Wait, yes it does.
905: [23:31:00] <FrozenFire> Just took forever to refresh. :P
906: [23:31:00] <FrozenFire> Weeeee
907: [23:32:00] <FrozenFire> Meh
908: [23:32:00] <FrozenFire> Can't just go and rewrite a bunch of references
909: [23:32:00] <FrozenFire> This is a really rather gigantic module
910: [23:33:00] <simon_w> I did it to sapphire and cms. You can manage :p
911: [23:34:00] <FrozenFire> Or I can just use a documented feature. :)
912: [23:34:00] <Pyromanik> spronk: yeh, derps.
913: [23:34:00] <spronk> do tell
914: [23:35:00] <Pyromanik> nek minnit
915: [23:35:00] * oddnoc quit (Quit: bye!)
916: [23:35:00] <spronk> zomg.
917: [23:35:00] <spronk> who was this for?
918: [23:35:00] <Pyromanik> "need the a record updated, but make sure you change the mx record first because it points to the a record we want changed, and we don't want the emails changed"
919: [23:35:00] <Pyromanik> new website, no emails.
920: [23:38:00] <Pyromanik> client we transferred
921: [23:38:00] * Pyromanik just read about BEM methodolgy
922: [23:39:00] * Pyromanik thought everyone thought like that already
923: [23:41:00] <simon_w> Hehe, people on twitter posting 27 mbps "Yay UFB" speedtests
924: [23:42:00] <Pyromanik> lol
925: [23:42:00] * FrozenFire is quite proud of the setup he put together today
926: [23:42:00] <simon_w> I get that at work through a phone line while torrenting in the background
927: [23:42:00] <Pyromanik> derp
928: [23:43:00] <FrozenFire> Putting my satis.conf in the gitolite-admin repo directly
929: [23:43:00] <FrozenFire> I set up satis to work directly in parallel with my gitolite server to produce my own auto-updated composer repository
930: [23:44:00] <FrozenFire> So when I want to index a private repo on my server, I simply add it into satis.conf and commit it to my gitolite-admin repo
931: [23:44:00] <FrozenFire> Also set up a series of template repositories which automatically put together different common types of projects I do
932: [23:44:00] * Zauberfisch|idle has joined #silverstripe
933: [23:45:00] <FrozenFire> So I can do create-project mycompany/video-site <projectname> 3.1
934: [23:45:00] <simon_w> I'm getting more and more tempted to write a composer CLI that's actually aimed at users
935: [23:45:00] <FrozenFire> And it'll create a SS 3.1 video site project
936: [23:46:00] <irogue> yeah wtf at 27mbps UFB
937: [23:47:00] <simon_w> Well, Telecom's UFB plans are all capped at 30
938: [23:47:00] * Zauberfisch-idle quit (Ping timeout: 246 seconds)
939: [23:49:00] <Pyromanik> FrozenFire: what is satis?
940: [23:50:00] <FrozenFire> You give it a list of repositories which have composer.json in their refs, and it reads through them and indexes it into a packages.json
941: [23:50:00] <Pyromanik> simon_w: LOL srs?
942: [23:50:00] <FrozenFire> A tool for indexing your own private repositories into a packages.json
943: [23:50:00] <Pyromanik> derp
944: [23:50:00] <irogue> [11:47] <@simon_w> Well, Telecom's UFB plans are all capped at 30
945: [23:50:00] <irogue> qq telecom
946: [23:50:00] <irogue> they also are dynamic IPs
947: [23:51:00] <FrozenFire> Or as a repository in your project composer.json
948: [23:51:00] <Pyromanik> I dont' understand.
949: [23:51:00] <FrozenFire> So you can then give composer that packages.json location as a --repository-url and it'll let you install your own private packages
950: [23:51:00] <simon_w> http://www.telecom.co.nz/internet/ultrabroadband/pricing/?nid=mm409
951: [23:51:00] <simon_w> All 30/10 plans
952: [23:51:00] <FrozenFire> Pyromanik, Simple explanation is, create your own packagist
953: [23:51:00] <simon_w> Oh, there's the faster plans. They're nice and hidden
954: [23:51:00] <Pyromanik> FrozenFire: sounds legit.
955: [23:52:00] <spronk> lultelecom
956: [23:52:00] <FrozenFire> It's quite nice to be able to eliminate git submodules this way
957: [23:52:00] <FrozenFire> And also, as I say, create my own private project templates
958: [23:53:00] <spronk> well
959: [23:53:00] <spronk> fuck git
960: [23:53:00] <spronk> also, fuck composer
961: [23:54:00] <spronk> does that mean.
962: [23:54:00] <spronk> "fatal: Out of memory? mmap failed: No such device"
963: [23:54:00] <spronk> what the fuck
964: [23:54:00] <irogue> spronk: you sound like simon_w
965: [23:54:00] <irogue> ;)
966: [23:55:00] <FrozenFire> xcache probably
967: [23:55:00] <FrozenFire> Uses mmap shared memory
968: [23:55:00] <spronk> this is when running composer install

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