#silverstripe IRC Log

IRC log for 5 April 2013

All timestamps are in UTC.

1: [00:06:00] * chillu quit (Quit: chillu)
2: [00:07:00] * terryapodaca has left #silverstripe
3: [00:11:00] * oddnoc quit (Quit: bye!)
4: [00:15:00] * LoveDuckie quit (Ping timeout: 260 seconds)
5: [00:28:00] * priithansen quit (Quit: priithansen)
6: [00:45:00] * Bollig|DesignCty has joined #silverstripe
7: [00:47:00] <terryapodaca> so there's no more DataObjectSet in ss3
8: [00:47:00] * terryapodaca has joined #silverstripe
9: [00:47:00] <terryapodaca> which is better?
10: [00:47:00] <terryapodaca> need to use DataList or ArrayList?
11: [00:48:00] <simon_w> For what?
12: [00:49:00] <Pyromanik> DataList is the new DataObjectSet
13: [00:50:00] <Pyromanik> ArrayList is like a better ArrayData.
14: [00:54:00] <simon_w> Nope :p
15: [00:55:00] <simon_w> DataList is a database-backed list of objects, ArrayList is an array-backed list of objects
16: [00:55:00] <simon_w> ArrayData is like ArrayData
17: [00:55:00] <simon_w> Which could also be an associative-array backed map of objects
18: [01:09:00] <terryapodaca> I am trying to create a calendar event
19: [01:09:00] <terryapodaca> i have an event
20: [01:10:00] <terryapodaca> i just can't get it to my front end calendar
21: [01:14:00] <terryapodaca> http://thefray.stricklandapps.com/class-schedule/
22: [01:14:00] <simon_w> Just a single event?
23: [01:15:00] <terryapodaca> right now there is just one (and the page isn't fully CSSed yet so no scowling
24: [01:15:00] <terryapodaca> but there's just one for today at 8pm and i can't figure out where i doing it wrong
25: [01:16:00] <terryapodaca> hang on, i will try to sspaste it
26: [01:19:00] <terryapodaca> Event DO: http://www.sspaste.com/paste/show/515e26905009f
27: [01:20:00] <terryapodaca> Calendar Page: http://www.sspaste.com/paste/show/515e26d2e31eb
28: [01:21:00] <terryapodaca> template: http://www.sspaste.com/paste/show/515e270224046
29: [01:23:00] <simon_w> You're calling the thing Events in the Page, and Event in the template
30: [01:25:00] <simon_w> Nothing to do with the current template scope
31: [01:25:00] <terryapodaca> Scroll down to line 180 in Calendar.php (Calendar Page)
32: [01:25:00] <simon_w> Look at line 172
33: [01:26:00] <simon_w> You're inside that ArrayList
34: [01:27:00] <terryapodaca> now all i have to do is style it tomorrow and boom, site done!
35: [01:27:00] <terryapodaca> you are correct as always
36: [01:27:00] <terryapodaca> thanks
37: [01:28:00] <terryapodaca> thanks simon_w
38: [01:29:00] <Pyromanik> simon_w, yeah, I know
39: [01:29:00] <Pyromanik> but
40: [01:30:00] <Pyromanik> couldn't think of a better way to phrase it
41: [01:30:00] * terryapodaca quit (Quit: Leaving.)
42: [01:49:00] * willr_ quit (Ping timeout: 240 seconds)
43: [01:55:00] * willr_ has joined #silverstripe
44: [01:55:00] * UncleCheese has joined #silverstripe
45: [02:01:00] * UncleCheese quit (Quit: UncleCheese)
46: [02:24:00] * mirrors has joined #silverstripe
47: [02:24:00] <mirrors> hey...if my page has a $has_one dataobject and that dataobject has $has_one image is it possible to save directly into the image from the page
48: [02:25:00] <mirrors> I tried new FileIframeField('dataobject.Image');
49: [02:26:00] * nickmolhoek1 quit (Quit: nickmolhoek1)
50: [02:34:00] <Pyromanik> (nope not possible)
51: [02:34:00] <Pyromanik> mirrors, nope.
52: [02:41:00] <Pyromanik> how to make it pick up?
53: [02:41:00] <Pyromanik> I MUST define it?
54: [02:41:00] <simon_w> yes
55: [02:41:00] <Pyromanik> simon_w, can I put a controller action in an extension?
56: [02:41:00] <simon_w> yes
57: [02:41:00] <simon_w> $allowed_actions static
58: [02:42:00] <Pyromanik> oh sweet
59: [02:42:00] <Pyromanik> k, thx
60: [02:42:00] <Pyromanik> simon_w, oh, on the controller or can I do it via the Extension?
61: [02:42:00] <simon_w> in the Extension
62: [02:43:00] <Pyromanik> cool ta
63: [02:43:00] <simon_w> yup
64: [02:43:00] <Pyromanik> I must also allow form factory methods in that case too right?
65: [02:44:00] <Zauberfisch> anything I should be on the lookout for?
66: [02:44:00] <Pyromanik> FFFFFFFFFFF
67: [02:44:00] <Zauberfisch> (besides the obvious problem: its typo3)
68: [02:44:00] <Zauberfisch> anyone ever migrated a old typo3 website to a new server?
69: [02:49:00] <Zauberfisch> yeah ..
70: [02:49:00] <Zauberfisch> but until its done he wants to keep the old one
71: [02:49:00] <Pyromanik> Zauberfisch, never used typo at all
72: [02:49:00] <Zauberfisch> client is actually getting a new website
73: [02:50:00] <Pyromanik> GOSH SILLY CLIENT
74: [02:50:00] <Pyromanik> turned out the reason they wanted to transfer it while we made them a new one
75: [02:50:00] <Zauberfisch> and I am having troubles migrating it
76: [02:50:00] <Pyromanik> Zauberfisch, I hate clients like that
77: [02:50:00] <Pyromanik> like, what's the big deal? just leave old site where it is until new one is ready
78: [02:50:00] <Pyromanik> got one at the moment
79: [02:51:00] <Pyromanik> is because it kept going down
80: [02:51:00] <Pyromanik> so then it turned out it keeps going down because some cracker keeps targeting it
81: [02:51:00] <Pyromanik> and I was like F NO, NOT PUTTING THAT ON MY SERVER.
82: [02:51:00] <Pyromanik> so now they ring us up whenever it goes down, even though we have nothing to do with it :<
83: [02:52:00] <Pyromanik> and I'm under pressure to get new one done
84: [02:53:00] <mirrors> Pyromanik: cheers
85: [02:58:00] <Zauberfisch> (yes, I set error reporting to on)
86: [02:58:00] * mirrors quit (Quit: Page closed)
87: [02:58:00] <Zauberfisch> hmmm
88: [02:58:00] <Zauberfisch> just getting a blank page :/
89: [03:00:00] <Zauberfisch> ah, display errors was off
90: [03:06:00] <Pyromanik> not layout template
91: [03:06:00] <Zauberfisch> then nothing should happen
92: [03:06:00] <Pyromanik> Zauberfisch, what happens if there is no Layout found?
93: [03:06:00] <Zauberfisch> in ss?
94: [03:06:00] <Pyromanik> is it unset in chosenTemplates?
95: [03:06:00] <Zauberfisch> no $Layout or no template at all?
96: [03:06:00] <Pyromanik> eg templates/Page.ss and no templates/Layout/Page.ss
97: [03:07:00] <Zauberfisch> or it might tell you "none of these templates could be found "Page.ss"
98: [03:07:00] <Zauberfisch> I think it would render with t/Page.ss and $Layout will be blank
99: [03:07:00] <Pyromanik> well it would render with templates/Page.ss
100: [03:07:00] <Pyromanik> but I wonder what the chosenTemplates array would look like
101: [03:08:00] <Pyromanik> mm
102: [03:08:00] <Pyromanik> but the SSViewer's internal $chosenTemplates
103: [03:08:00] <Pyromanik> array('main' => 'blah', 'Layout' => 'blah')
104: [03:08:00] <Pyromanik> $Layout the variable will be
105: [03:09:00] <Pyromanik> yes but I'm using PHP
106: [03:09:00] <clodeindustrie> I can't get it to use the auto-suggestion
107: [03:09:00] * Jeremy_ has joined #silverstripe
108: [03:09:00] <Pyromanik> if there's no layout, will it be an empty string, or unset?
109: [03:09:00] <Pyromanik> clodeindustrie, sounds terrible
110: [03:09:00] <Pyromanik> I can't even find where it does get set in the code :<
111: [03:09:00] * Jeremy_ is now known as clodeindustrie
112: [03:09:00] <Zauberfisch> well, empty string or unset is the same thing in ss templates
113: [03:09:00] <clodeindustrie> hey there anyone using the TagField module?
114: [03:10:00] <Pyromanik> willr_, ?
115: [03:10:00] <Pyromanik> probably broken since 3.0
116: [03:10:00] <Zauberfisch> Pyromanik hmmm, I guess empty string
117: [03:10:00] <clodeindustrie> yeah I know
118: [03:10:00] <Zauberfisch> Pyromanik but not sure
119: [03:10:00] <Pyromanik> Zauberfisch, yeh, me either :< how about you simon_w ?
120: [03:10:00] <clodeindustrie> no info or nothing about it and lots of different versions around
121: [03:10:00] <Zauberfisch> Pyromanik but I know you can overwrite $Layout with $object->customise(array('Layout' => ''));
122: [03:10:00] <willr_> Pyromanik!
123: [03:10:00] <Pyromanik> Zauberfisch, yeah, but my usecase is more obscure than that
124: [03:11:00] <Pyromanik> I only want to override if one doesn't exist.
125: [03:11:00] <Pyromanik> and I need to know whether or not I should override main or layout
126: [03:11:00] <Pyromanik> and it's through an extension, so needs to work for any controller
127: [03:13:00] <Pyromanik> simon_w, be too clever for my own good :<
128: [03:13:00] <simon_w> Pyromanik, what are you trying to do?
129: [03:13:00] <Pyromanik> err, render a form IN a custom template
130: [03:13:00] <Pyromanik> simon_w, render a form with a custom template
131: [03:14:00] <Pyromanik> ie apply my form extension to a controller
132: [03:14:00] <Pyromanik> but support the default template selection at the same time
133: [03:14:00] <Pyromanik> have it render with it's normal template, but with my extensions Layout
134: [03:15:00] <Pyromanik> or render with the form's own Controller_action.ss if it exists where action == the extension applied action.
135: [03:15:00] <Pyromanik> or only with my extensions' Layout, in the case of only a main.
136: [03:17:00] <simon_w> On any controller? Or just ContentControllers?
137: [03:17:00] <Pyromanik> simon_w, intending for ContentController, but ideal any.
138: [03:17:00] <Pyromanik> ideally*
139: [03:17:00] <Pyromanik> Layout is unset, not empty fyi Zauberfisch, just tested
140: [03:18:00] <Pyromanik> hmm, I thought about that, don't know why I decided not to :<
141: [03:18:00] <simon_w> Well, you can make a ContentController_action.ss that'll happen after <class>_action, but before a straight <class>
142: [03:18:00] <Zauberfisch> bloody hell, this typo3 is driving me crazy
143: [03:19:00] <Pyromanik> thanks simon_w
144: [03:19:00] <Pyromanik> uncertainty around include order I guess
145: [03:25:00] <Pyromanik> oh
146: [03:25:00] <Pyromanik> LAME
147: [03:25:00] * cloph_away has joined #silverstripe
148: [03:25:00] <Pyromanik> so <% if isAjax %> is deprecated :<
149: [03:26:00] * cloph quit (Ping timeout: 240 seconds)
150: [03:29:00] <Zauberfisch> bed time it is
151: [03:29:00] <Zauberfisch> good night gents
152: [03:48:00] * DigNZ quit (Quit: DigNZ)
153: [03:50:00] * DigNZ has joined #silverstripe
154: [03:50:00] <Pyromanik> good morning Zauberfisch!
155: [03:55:00] <simon_w> So, http://xkcd.com/1190/ is still going
156: [03:56:00] <Pyromanik> http://imgs.xkcd.com/static/time07.min.js
157: [03:56:00] * DigNZ quit (Quit: DigNZ)
158: [03:57:00] <simon_w> It started as two people, sitting on a flatfish beach
159: [03:57:00] <simon_w> Yes, I know about that
160: [03:57:00] <Pyromanik> first I've seen this. What does it do?
161: [03:58:00] <Pyromanik> oh
162: [03:58:00] <Pyromanik> I got a half made beach.
163: [04:00:00] <simon_w> He moved!
164: [04:03:00] <Pyromanik> mmm
165: [04:04:00] <perverse`h> ls -la
166: [04:04:00] * nickmolhoek has joined #silverstripe
167: [04:04:00] * perverse`h has joined #silverstripe
168: [04:04:00] * nickmolhoek quit (Remote host closed the connection)
169: [04:04:00] * nickmolhoek has joined #silverstripe
170: [04:05:00] <simon_w> I don't have sl install, so no train for you! :p
171: [04:05:00] <simon_w> -rw-r--r-- 1 simon staff 13 4 Apr 13:22 data.txt
172: [04:05:00] <Pyromanik> sl -al
173: [04:05:00] <simon_w> total 64
174: [04:05:00] <simon_w> drwx------ 5 simon staff 170 5 Apr 16:27 .
175: [04:05:00] <simon_w> drwxr-xr-x+ 80 simon staff 2720 5 Apr 17:05 ..
176: [04:05:00] <simon_w> -rw-r--r--@ 1 simon staff 6148 5 Apr 16:27 .DS_Store
177: [04:05:00] <simon_w> -rw-r--r--@ 1 simon staff 18378 5 Apr 13:52 Screen Shot 2013-04-05 at 1.51.59 PM.png
178: [04:06:00] <perverse`h> hey guys - what data does ParentID store in relation to the File table?
179: [04:06:00] <perverse`h> I'm trying to work out how the system is linking my image objects to my other arbitrary dataobjects in the system
180: [04:07:00] <perverse`h> so i have to have a wrapper object for the images?
181: [04:07:00] <simon_w> The parent folder
182: [04:07:00] <perverse`h> I have a model called "Feature" that has_many images
183: [04:07:00] <simon_w> That's not going to work
184: [04:07:00] <simon_w> many_many to Image
185: [04:07:00] <perverse`h> hmm, has to be many-many?
186: [04:08:00] * willr_ quit (Quit: willr_)
187: [04:08:00] <perverse`h> ok that's cool
188: [04:08:00] <simon_w> Well, means you don't need the has_one
189: [04:08:00] <perverse`h> ok cool, thanks heaps simon
190: [04:10:00] <simon_w> belongs_many_many isn't required in the way a has_one is
191: [04:10:00] <perverse`h> simon - would i have to have a belongs_many_many on the Image class, too... or is there magic to take care of that part?
192: [04:10:00] * nickmolhoek quit (Quit: nickmolhoek)
193: [04:10:00] <simon_w> You can have a many_many without the belongs
194: [04:10:00] <perverse`h> ah ok
195: [04:10:00] <perverse`h> excellent
196: [04:14:00] <simon_w> Home time!
197: [04:15:00] <perverse`h> have a good weekend mate
198: [04:17:00] * clodeindustrie quit (Quit: Textual IRC Client: www.textualapp.com)
199: [04:31:00] <Pyromanik> perverse`h, it just means you can't do reverse lookups (ie, if you have an image you can't see which objects it belongs to)
200: [04:40:00] <perverse`h> yup yup
201: [04:57:00] * Error404NotFound has joined #silverstripe
202: [05:05:00] * Shrike_Finland has joined #silverstripe
203: [05:26:00] * Shrike_Finland quit (Quit: Leaving.)
204: [05:52:00] * willr_ has joined #silverstripe
205: [06:50:00] * ajshort has joined #silverstripe
206: [07:01:00] * joelpitt_ has joined #silverstripe
207: [07:03:00] * joelpittet quit (Ping timeout: 245 seconds)
208: [07:19:00] * willr_ quit (Read error: Connection reset by peer)
209: [07:20:00] * willr_ has joined #silverstripe
210: [07:33:00] * EasyCo has joined #silverstripe
211: [07:34:00] <EasyCo> Hey guys, is there a way to add the .stacked class to an added field in the CMS?
212: [07:35:00] <EasyCo> Like $fields->addFieldToTab('Root.Main', new HTMLEditorField('Blah')); but the generate label is floated to the left unlike the default Content field.
213: [07:41:00] * perverse`h quit (Read error: Connection reset by peer)
214: [07:43:00] <willr_> EasyCo you can add extra classes to a field using $field->addExtraClass('stacked')
215: [07:43:00] <EasyCo> Thanks!
216: [07:43:00] <EasyCo> Just saw that just then!
217: [07:57:00] * zfmf has joined #silverstripe
218: [08:03:00] * SightUnseen has joined #silverstripe
219: [08:10:00] * SightUnseen has left #silverstripe
220: [08:11:00] * kinglozzer has joined #silverstripe
221: [08:19:00] <guest_____> hello ppl
222: [08:19:00] <guest_____> have a question to you not sure it's realy SS related
223: [08:19:00] <guest_____> but i have a SS website :p
224: [08:19:00] * guest_____ has joined #silverstripe
225: [08:20:00] <guest_____> my developer asked me to expand/enlarge the website memory
226: [08:20:00] <guest_____> but i'm not sure on how to do this
227: [08:22:00] * osterlaus has joined #silverstripe
228: [08:23:00] <Zauberfisch> good morning Pyromanik
229: [08:26:00] <Zauberfisch> off to work i go
230: [08:26:00] * Zauberfisch quit (Remote host closed the connection)
231: [08:30:00] * chillu has joined #silverstripe
232: [08:38:00] <chillu> willr_: < is on a roll! :)
233: [08:39:00] * LoveDuckie has joined #silverstripe
234: [08:39:00] <chillu> ss23: Hey, any plans to do another one of your awesome bug triaging sessions in the old tracker? :) We could use some help to get the module tickets checked and moved over
235: [08:39:00] <willr_> Just glad to help out :)
236: [08:40:00] <willr_> chillu started to triage on some of the moved tickets but then figured it would be a decent hack day thing, Framework is down to 399 issues at least..
237: [08:40:00] * guest_____ quit (Quit: Page closed)
238: [08:41:00] <chillu> Oh github has redesigned their issues view a bit - tag colors are more subdued
239: [08:41:00] <kinglozzer> Quick question, how can I give each image a 'prefix_' to it's filename when uploading to attach to a dataobject?
240: [08:43:00] * Vogels has joined #silverstripe
241: [08:43:00] <Vogels> question about memory_limit
242: [08:43:00] <Vogels> hello
243: [08:44:00] <Vogels> :p
244: [08:44:00] <Vogels> is 64M normal voor a website
245: [08:44:00] <Vogels> voor = for
246: [08:49:00] <ss23> chillu: Yeah, but I've got real work to do for a while, so not sure when I'll get a chance :<
247: [08:49:00] * Vogels quit (Quit: Page closed)
248: [08:51:00] <chillu> pffft bug triage is real work. For real men! A tough job which requires the mental strength of Yoda! :D
249: [08:54:00] <ss23> All of those are true, but unless you wanna pay me for it, then it has to wait!
250: [08:54:00] <ss23> XD
251: [08:55:00] <ss23> $10 per bug closed and I'll work on it first thing tomorrow!
252: [08:55:00] <ss23> willr_: But but, they say our love, won't pay the rent...
253: [08:55:00] <willr_> ss23 you're meant to do it for the love of it
254: [08:56:00] <willr_> some love costs the rent
255: [08:58:00] <ss23> HEYYOOOO
256: [08:58:00] <willr_> snap
257: [08:58:00] <ss23> Luckily for me, your mother is cheap
258: [08:58:00] <ss23> haha
259: [09:00:00] <chillu> You'll get 128 virgins in the open source after life
260: [09:01:00] <ss23> XD
261: [09:02:00] <ss23> Given the proportions I see, 127 of them would be male!
262: [09:02:00] <EasyCo> Who wants virgins, they don't know what they're doing
263: [09:04:00] * Zauberfisch has joined #silverstripe
264: [09:06:00] * waveydave has joined #silverstripe
265: [09:08:00] <EasyCo> This is true
266: [09:08:00] <ss23> EasyCo: Beggars can't be choosers!
267: [09:09:00] * Zauberfisch_ has joined #silverstripe
268: [09:09:00] * Zauberfisch_ quit (Read error: Connection reset by peer)
269: [09:09:00] * Zauberfisch_ has joined #silverstripe
270: [09:13:00] * Zauberfisch quit (Ping timeout: 240 seconds)
271: [09:18:00] <travis-ci> [travis-ci] silverstripe/sapphire#1887 (3.0 - a1e7f25 : Will Rossiter): The build has errored.
272: [09:18:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/a0f0e9bce381...a1e7f2559870
273: [09:18:00] * travis-ci has joined #silverstripe
274: [09:18:00] * travis-ci has left #silverstripe
275: [09:18:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6075639
276: [09:22:00] <chillu> willr_: https://travis-ci.org/silverstripe/sapphire/jobs/6075640 ah the fun of relying on third parties working together
277: [09:22:00] <willr_> that commit got reverted anyway
278: [09:22:00] <willr_> wrong branch :P
279: [09:24:00] * travis-ci has joined #silverstripe
280: [09:24:00] <travis-ci> [travis-ci] silverstripe/sapphire#1888 (3.1 - 05d4dd8 : Will Rossiter): The build passed.
281: [09:24:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/65cb182c98ce...05d4dd863d7e
282: [09:24:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6075731
283: [09:24:00] * travis-ci has left #silverstripe
284: [09:25:00] <willr_> woot.
285: [09:25:00] <simon_w|air> willr_, stop breaking things! :p
286: [09:27:00] * qlex says hi
287: [09:27:00] * qlex has joined #silverstripe
288: [09:28:00] <qlex> i can still find untranslated content in ss3.0.5 eventhough getlocalization says "nothing more to translate" in polsih
289: [09:28:00] * ARNHOE has joined #silverstripe
290: [09:28:00] <simon_w|air> Are they in the 3.0 branch?
291: [09:28:00] <qlex> if we're deploying a serious website this month, how about do i get to get the missing translations ?
292: [09:29:00] <simon_w|air> Or look at the post chillu made about the translation on ss-dev
293: [09:31:00] <chillu> qlex: The translations are collected from master, since getlocalization doesn't support any versioning. They should be additive though, so entities previously added from the 3.0 codebase, but since removed from the master codebase shoudl stick around. Which entity name are we talking about?
294: [09:33:00] <qlex> asking my engineer. hold on..
295: [09:34:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6075859
296: [09:34:00] <qlex> simon_w|air: is this SS Core development google group i should look for ?
297: [09:34:00] <chillu> willr_: Any tickets you find that are still valid, can you please add a "migrate-todo" keyword to them?
298: [09:34:00] * travis-ci has joined #silverstripe
299: [09:34:00] <travis-ci> [travis-ci] silverstripe/sapphire#1889 (master - 97819b3 : Ingo Schommer): The build passed.
300: [09:34:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/ef3d974821e8...97819b3f211c
301: [09:34:00] * travis-ci has left #silverstripe
302: [09:35:00] <willr_> chillu widgets have a few, was going to do them by hand. Payment also has a few. Don't know if you've talked to Jez about moving those
303: [09:35:00] <willr_> I've emailed him twice last time I was going through cleaning up module tickets to get him to move them and no like ha
304: [09:35:00] <chillu> Yeah, "migrate-todo" only for core bugs - i'll filter by those then and run the migration script again at some point
305: [09:36:00] <qlex> chillu: when in silverstripe cms, Security setting... im looking at tabs that says in english: Users, Groups, Role
306: [09:37:00] <qlex> actually, polish language is specific, Role is also in polish
307: [09:37:00] <chillu> I need an entity name from the _t() call
308: [09:38:00] <qlex> its missing polish translation
309: [09:38:00] <qlex> ok, found another one.
310: [09:38:00] <qlex> chillu: how can i find out entity name when im viewing the CMS ?
311: [09:38:00] <qlex> found another button which is still in english
312: [09:40:00] <EasyCo> When you define a has_one relationship for a data object, is there a way to hide the drop down for the page it's has_one relationship is with?
313: [09:41:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
314: [09:42:00] <chillu> http://www.getlocalization.com/sapphire/m_translate/5144/#793931 - the "roles" text is in fact translated, but it just reads "roles". So it has content in the translation, its just not polish ;)
315: [09:43:00] <chillu> See SecurityAdmin.ROLES and TABROLES in http://translate.silverstripe.org/download.php?project=sapphire&locale=pl (which is the current state). Keep in mind that the 3.0 codebase will only get new translations every couple of weeks, the current status if five weeks old because the updater is broken
316: [09:45:00] <qlex> chillu: sorry about confusion, Role is ok translation for Roles :)
317: [09:45:00] <EasyCo> simon_w|air: But you have to select the has_one relationship.
318: [09:45:00] <simon_w|air> EasyCo, getCMSFields() and remove it?
319: [09:46:00] <qlex> when editing a standard Page type, where i can see name of page, navigation name etc.
320: [09:46:00] <EasyCo> Basically i just made a simple image gallery tacked onto a new page type
321: [09:46:00] <EasyCo> When you click on add new image from the page it brings you to the ImageGal data object for you to upload your image
322: [09:46:00] <qlex> but another example is better
323: [09:47:00] * willr_ quit (Quit: willr_)
324: [09:47:00] <EasyCo> But it's kind of weird that you have to reselect the has_one relationship from the ImageGal data object to the Page
325: [09:50:00] <simon_w|air> EasyCo, This for a has_many managed by a GridField_RelationEditor?
326: [09:50:00] * guci0 has joined #silverstripe
327: [09:50:00] <EasyCo> Yep
328: [09:51:00] <qlex> its untranslated and still reads Edit
329: [09:51:00] <qlex> i understand i should use getlocalization to provide translations, which wont get lost ?
330: [09:51:00] <EasyCo> has_many from the Page and has_one from the ImageGal
331: [09:51:00] <simon_w|air> so getCMSFields() on ImageGal and remove the drop down
332: [09:51:00] <qlex> there's a button called Edit to edit the URL
333: [09:51:00] <qlex> how can i find that string in getlocalization ?
334: [09:52:00] <qlex> but i guess the "Edit" button for URL of page is in CMS and not in sapphire ?
335: [09:52:00] <qlex> i only have Silverstripe CMS as projects in getlocalization, but not sapphire
336: [09:54:00] <EasyCo> simon_w|air: That works great, thanks
337: [09:55:00] * travis-ci has joined #silverstripe
338: [09:55:00] <EasyCo> *worked
339: [09:55:00] <qlex> struggling mostly with translations for modules
340: [09:55:00] <simon_w|air> qlex, I have a feeling that's a JavaScript-inserted string, so isn't done in get localisation
341: [09:55:00] <travis-ci> [travis-ci] silverstripe/sapphire#1890 (master - 4d36b97 : Ingo Schommer): The build passed.
342: [09:55:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/97819b3f211c...4d36b9754348
343: [09:55:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6076271
344: [09:55:00] * travis-ci has left #silverstripe
345: [09:55:00] <qlex> when there's a _t function its ok, for blog and event calendar
346: [09:56:00] <simon_w|air> qlex, compare https://github.com/silverstripe/silverstripe-cms/blob/3.0/javascript/lang/en_US.js with https://github.com/silverstripe/silverstripe-cms/blob/3.0/javascript/lang/pl_PL.js
347: [09:56:00] <qlex> for example when adding a new page, and i select Blog Holder...
348: [09:56:00] <qlex> it says: Blog Holder - Displays listing of blog entries.
349: [09:57:00] <qlex> but in pl.yml i can see SINGULARNAME: "Blog Lista" for BlogHolder
350: [09:57:00] <qlex> i can see this description in blogholder.php static $description = "Displays listings of blog entries";
351: [09:57:00] <qlex> and also static $singular_name = 'Blog Holder Page';
352: [09:57:00] <chillu> qlex: You know about http://doc.silverstripe.org/framework/en/trunk/misc/contributing/translation and http://doc.silverstripe.org/framework/en/trunk/misc/translation-process right?
353: [09:58:00] <qlex> so how is singular_name in BlogHolder.php linked to SINGULARNAME in pl.yml of blog
354: [09:58:00] <qlex> i cannot see any _t function, but somehow the singular name is translted and description is not there...
355: [10:00:00] <qlex> and then can only hope this will be picked up soon ?
356: [10:00:00] <qlex> simon_w|air: thanks, im forking the pl_PL.js file, updating it and hitting Propose File Change..
357: [10:00:00] <qlex> and in the meantime, just manually replace that file in my SS deployment - correct ?
358: [10:01:00] <qlex> chillu: i knew about getlocalization, but didnt know about forking in github
359: [10:01:00] * ivoba has joined #silverstripe
360: [10:07:00] * jcwacky quit (Quit: jcwacky)
361: [10:09:00] * Zauberfisch_ quit (Read error: Connection reset by peer)
362: [10:09:00] * Zauberfisch_ has joined #silverstripe
363: [10:11:00] * travis-ci has left #silverstripe
364: [10:11:00] * travis-ci has joined #silverstripe
365: [10:11:00] <travis-ci> [travis-ci] silverstripe/sapphire#1891 (3.1 - bc6f188 : Ingo Schommer): The build passed.
366: [10:11:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/05d4dd863d7e...bc6f18849f91
367: [10:11:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6076558
368: [10:12:00] <qlex> simon_w|air: done with adding new trnslations to that pl_PL.js and proposed the change
369: [10:13:00] <qlex> anyway i can track the requirement to provide more translations once new en_US strings become available? or when im forking this file, i would see this automatically on my github ?
370: [10:13:00] * g4b0 has joined #silverstripe
371: [10:16:00] <qlex> could you guys help with that blog localization issue ?
372: [10:17:00] <qlex> how can i provide the translation to description of Blogholder and blog entry, so that description appears in polish in cms ?
373: [10:21:00] <simon_w|air> qlex, should just be BlogHolder.DESCRIPTION
374: [10:22:00] * lx-berlin_ has joined #silverstripe
375: [10:27:00] * lx-berlin_ has left #silverstripe
376: [10:30:00] * g4b0 quit (Quit: Sto andando via)
377: [10:34:00] <qlex> simon_w|air: works! how does it know that singular_name in blogholder.php is the same as SINGULARNAME in pl.yml ?
378: [10:38:00] * zlincoln has joined #silverstripe
379: [10:41:00] <simon_w|air> One of the singular_name methods on DataObject
380: [10:47:00] <kinglozzer> chillu: I said (fixes CMS #..) because the issue is open on silverstripe/sapphire when it applies to silverstripe/silverstripe-cms. Didn't know if it would point to the wrong issue or something. My last (broken) commit used (fixes #1570) and it didn't associate the commit with the issue
381: [10:48:00] <chillu> Oooh, good point. In that case, don't use the # notation at all, github will close the wrong ticket if they have overlapping identifiers. I had that before, and decided to put the full ticket URL to the respective other tracker in the commit message body
382: [10:49:00] <kinglozzer> Okay will do
383: [10:50:00] <lewellyn> can't you use repo/project#ticket syntax?
384: [10:51:00] <chillu> lewellyn: good question, any github docs for that?
385: [10:52:00] <lewellyn> lemme see where i've done it.
386: [10:52:00] <chillu> If its indeed possible, could you update the contributing/issues.md docs and submit a pull request?
387: [10:52:00] <lewellyn> no, but i've done it before.
388: [10:54:00] <lewellyn> hrmpf. i'm on xp with ie 8 right now, so github is unhappy with me.
389: [10:54:00] <lewellyn> lemme try something though.
390: [10:55:00] <kinglozzer> 404 and 500 work fine
391: [10:55:00] <kinglozzer> Hmm. I can't create a 403 error page, creates /assets/error-403.html but it has a filesize of 0 bytes :/
392: [10:59:00] <lewellyn> chillu: looks like it should work. https://github.com/lewellyn/testing2/commit/2e29e9d6a584d90ece50a7d8f96ec378f63dfe48
393: [11:01:00] <lewellyn> chillu: where are the contributing/issues.md docs?
394: [11:01:00] <qlex> simon_w|air: when you mentioned https://github.com/silverstripe/silverstripe-cms/blob/3.0/javascript/lang/pl_PL.js...
395: [11:01:00] <chillu> https://github.com/silverstripe/sapphire/blob/master/docs/en/misc/contributing/issues.md its fine to just edit in master (we redirect all /misc docs there)
396: [11:02:00] <qlex> why can this be ?
397: [11:02:00] <qlex> also made it locally on my SS install, did dev/build, logged in to CMS and still see "Edit" rather than "Edytuj" on that button
398: [11:02:00] <lewellyn> ah. i was almost there. :)
399: [11:02:00] <qlex> i have provided a patch to include that translation for "Edit" button
400: [11:04:00] <lewellyn> wouldn't contributing/code.md be more appropriate?
401: [11:09:00] * Zauberfisch quit (Remote host closed the connection)
402: [11:09:00] * Zauberfisch has joined #silverstripe
403: [11:09:00] * Zauberfisch_ quit (Read error: Connection reset by peer)
404: [11:10:00] <lewellyn> also, is there an issue regarding this that i missed? :)
405: [11:24:00] * lx-berlin_ has joined #silverstripe
406: [11:26:00] * cloph_away is now known as cloph
407: [11:32:00] <EasyCo> Is there a slug method tha thou can append to template variables?
408: [11:33:00] <EasyCo> Stirng.slug
409: [11:33:00] <EasyCo> kinda thing
410: [11:34:00] <lewellyn> chillu: i'll leave the editor up while i nap. i have my changes ready to commit, if code.md is appropriate. i don't know if i should be referencing any issues though.
411: [11:36:00] <chillu> lewellyn: Of course, code.md is the place, sorry
412: [11:37:00] <lewellyn> chillu: so just send the PR as-is?
413: [11:37:00] <chillu> Yep
414: [11:39:00] <lewellyn> stupid github 404ed on me.
415: [11:39:00] <lewellyn> gah!
416: [11:39:00] <lewellyn> i knew i should have saved my changes.
417: [11:39:00] * lewellyn retypes, probably not as well.
418: [11:40:00] * lx-berlin_ quit (Ping timeout: 245 seconds)
419: [11:41:00] * qlex wonders about that "Edit" button in CMS still saying "Edit" rather than "Edytuj" which he replaced in pl_PL.js in cms/javascript/lang/ locally ?
420: [11:58:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/4d36b9754348...b3db70fcbdad
421: [11:58:00] * travis-ci has joined #silverstripe
422: [11:58:00] <travis-ci> [travis-ci] silverstripe/sapphire#1893 (master - b3db70f : Ingo Schommer): The build was broken.
423: [11:58:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6078361
424: [11:58:00] * travis-ci has left #silverstripe
425: [11:59:00] * lewellyn grumbles at github
426: [11:59:00] <lewellyn> ok. third time's the charm.
427: [12:00:00] <chillu> That's OK, thanks!
428: [12:00:00] * ivoba quit (Quit: Leaving)
429: [12:00:00] <lewellyn> chillu: i'm sorry for the terse PR, but it's 0500 here now. i need sleep. :)
430: [12:00:00] * lewellyn can rest in peace for an hour now :)
431: [12:00:00] <lewellyn> that was fast :)
432: [12:02:00] <chillu> Haha - have a good rest! (I actually typed "reset", freudian slip)
433: [12:07:00] * UndefinedOffset has joined #silverstripe
434: [12:09:00] * popeshoe quit (Quit: This computer has gone to sleep)
435: [12:10:00] <qlex> has designerX showed up here recently ?
436: [12:13:00] * popeshoe has joined #silverstripe
437: [12:20:00] * travis-ci has joined #silverstripe
438: [12:20:00] <travis-ci> [travis-ci] silverstripe/sapphire#1895 (master - d042b38 : Ingo Schommer): The build is still failing.
439: [12:20:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/b3db70fcbdad...d042b380c0c2
440: [12:20:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6078781
441: [12:20:00] * travis-ci has left #silverstripe
442: [12:25:00] * lx-berlin_ has joined #silverstripe
443: [12:41:00] * EasyCo quit (Quit: EasyCo)
444: [13:08:00] * lx-berlin_ is now known as lx-berlin
445: [13:10:00] <kinglozzer> lewellyn, chillu: https://github.com/silverstripe/silverstripe-cms/pull/676 What have I done wrong with the fixes #id there? :P
446: [13:10:00] <lewellyn> kinglozzer: Not here.
447: [13:11:00] <chillu> kinglozzer: Presumably it'll only have an effect on the referenced issues once its *merged*
448: [13:12:00] <kinglozzer> Ah okay.
449: [13:16:00] * qlex has left #silverstripe
450: [13:23:00] <chillu> Yep
451: [13:23:00] <UndefinedOffset> chillu got a sec for a 3.1 question/possible bug?
452: [13:25:00] <UndefinedOffset> looking at the docs here http://doc.silverstripe.org/framework/en/3.1/reference/preview for adding extra js requirements to left and main, but the script doesn't get loaded. when I dump out the $file variable here https://github.com/silverstripe/sapphire/blob/3.1/admin/code/LeftAndMain.php#L361 it's a 0 and $config is the path?
453: [13:27:00] * feejin has joined #silverstripe
454: [13:31:00] <chillu> Note the double colon at the end. It has to be the key, with an empty value. I'll fix the docs.
455: [13:31:00] <chillu> Right: mysite/javascript/MyLeftAndMain.Preview.js:
456: [13:31:00] <chillu> Wrong: - mysite/javascript/MyLeftAndMain.Preview.js
457: [13:34:00] <UndefinedOffset> ah ok cool :)
458: [13:35:00] <chillu> https://github.com/silverstripe/sapphire/commit/1dda9ae45fbe02bfcc0d07390ec757142ebf5370
459: [13:39:00] <UndefinedOffset> sweet that worked :)
460: [13:44:00] * priithansen has joined #silverstripe
461: [13:47:00] <travis-ci> [travis-ci] silverstripe/sapphire#1897 (3.1 - 1dda9ae : Ingo Schommer): The build passed.
462: [13:47:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/bc6f18849f91...1dda9ae45fbe
463: [13:47:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6080901
464: [13:47:00] * travis-ci has left #silverstripe
465: [13:47:00] * travis-ci has joined #silverstripe
466: [13:54:00] * travis-ci has joined #silverstripe
467: [13:54:00] <travis-ci> [travis-ci] silverstripe/sapphire#1898 (master - 9147761 : Ingo Schommer): The build was fixed.
468: [13:54:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/d042b380c0c2...91477617e696
469: [13:54:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/6081048
470: [13:54:00] * travis-ci has left #silverstripe
471: [14:01:00] <svandragt> Hmm is UploadField broken on 3.0.5?
472: [14:02:00] <svandragt> I get [Warning] array_merge(): Argument #2 is not an array: Line 154 in /home/administrator/projects/beryllium.dev/public/framework/forms/UploadField.php and the same code was working on 3.0.3
473: [14:04:00] <feejin> UploadField behaves fine on my 3.0.5 stuff
474: [14:05:00] <svandragt> line 154 = $this->ufConfig = array_merge($this->ufConfig, Config::inst()->get('UploadField', 'defaultConfig'));
475: [14:06:00] * Zauberfisch has joined #silverstripe
476: [14:07:00] <UndefinedOffset> svandragt Are you using a custom config for upload field? sounds like an issue with your yml config file, mind pasteing that uploadfield section so we can have a peek?
477: [14:07:00] <svandragt> must be my uploadfield code then
478: [14:08:00] <svandragt> UndefinedOffset: I've not changed any yml config, I just have this: http://www.sspaste.com/paste/show/515edadaa5b1a
479: [14:09:00] * Zauberfisch_ has joined #silverstripe
480: [14:10:00] <waveydave> Guise! How do I specify a route and forward it to a particular action in the controller?
481: [14:11:00] <waveydave> I have at present `'classifieds/$Category!/cities' : 'ClassifiedCategory_Controller'`, which I want to forward to cities action (it's in $allowed_actions)
482: [14:13:00] * Zauberfisch quit (Ping timeout: 240 seconds)
483: [14:23:00] * Shrike_Finland has joined #silverstripe
484: [14:26:00] * feejin quit (Remote host closed the connection)
485: [14:27:00] * zfmf quit (Ping timeout: 256 seconds)
486: [14:27:00] * lx-berlin has left #silverstripe
487: [14:32:00] * UncleCheese has joined #silverstripe
488: [14:35:00] * zfmf has joined #silverstripe
489: [14:38:00] <jon-shape> What is the best way to query out a page based on it's title?
490: [14:50:00] * Nivery has joined #silverstripe
491: [14:59:00] <Zauberfisch_> jon-shape well, there is no best way to do such a stupid thing
492: [15:00:00] <Zauberfisch_> but if there was, it would be Page::get()->filter('TItle', 'My Super Awesome Page');
493: [15:06:00] * Shrike_Finland quit (Quit: Leaving.)
494: [15:09:00] * Zauberfisch has joined #silverstripe
495: [15:13:00] * Zauberfisch_ quit (Ping timeout: 245 seconds)
496: [15:26:00] * osterlaus quit (Quit: Leaving.)
497: [15:27:00] * ajshort quit (Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344])
498: [15:32:00] * Dynamic_Nic has joined #silverstripe
499: [15:32:00] * svandragt quit (Ping timeout: 256 seconds)
500: [15:33:00] <ARNHOE> chillu: I wonder I see that most of the functions are named "set_source_file_comments", "flush_template_cache". Would it be worth if I would pull request a change for (Security::)setDefaultAdmin ?
501: [15:34:00] <chillu> There's a couple of dozen APIs which need to be changed to fit those conventions. So far, everybody has shied away from the upgrade hassles this will cause.
502: [15:35:00] <chillu> static methods, that is
503: [15:35:00] <chillu> I think its about time though, but should be done in one swoop rather than piecemeal. So if you want to go through *all* camelCased statics and change them to underscored_lowercase, with Deprecation::notice(), in master, we'll likely merge it :)
504: [15:36:00] <ARNHOE> Oke, uhm. Is there a file who has this notice atm? What you mean exactly by static methods? Changing public to private or?
505: [15:40:00] <Zauberfisch> - static methods are all_lowercase_with_underscores
506: [15:40:00] <Zauberfisch> ARNHOE the ss coding conventions specify:
507: [15:40:00] <Zauberfisch> - normal methods are lowerCamelCase
508: [15:41:00] <Zauberfisch> so yes, Securtiy::setDefaultAdmin() should actually be Security::set_default_admin()
509: [15:42:00] <Zauberfisch> but for example Member->getTimeFormat() has to stay getTimeFormat() because its a normal method
510: [15:42:00] <ARNHOE> Oke, now I understand what a static method means
511: [15:43:00] <ARNHOE> Zauberfisch: Member->getTimeFormat() is what I would call a function, right? The public static function is still seen as a static method, so it needs to all_lowercase etc?
512: [15:44:00] <Zauberfisch> ARNHOE well, speaking in OOP terms, Member->getTimeFormat() is a method, not a function
513: [15:44:00] <Zauberfisch> functions that are members of objects are called methods
514: [15:44:00] <Zauberfisch> php is just stupid
515: [15:45:00] <ARNHOE> oke :)
516: [15:45:00] <ARNHOE> thanks for clearing this up
517: [15:47:00] * Dynamic_Nic quit (Remote host closed the connection)
518: [15:49:00] * catcher has joined #silverstripe
519: [15:52:00] * kinglozzer quit (Remote host closed the connection)
520: [16:03:00] * UncleCheese quit (Quit: UncleCheese)
521: [16:09:00] * Zauberfisch quit (Read error: Connection reset by peer)
522: [16:28:00] * Zauberfisch has joined #silverstripe
523: [16:29:00] * ARNHOE quit (Remote host closed the connection)
524: [16:40:00] * Shrike_Finland has joined #silverstripe
525: [16:49:00] * Nivery quit (Quit: Nivery)
526: [17:09:00] * Zauberfisch quit (Read error: Connection reset by peer)
527: [17:09:00] * Zauberfisch_ has joined #silverstripe
528: [17:09:00] * waveydave has left #silverstripe
529: [17:10:00] * waveydave has joined #silverstripe
530: [17:13:00] * waveydave has left #silverstripe
531: [17:30:00] * Shrike_Finland quit (Quit: Leaving.)
532: [17:37:00] * Nivery has joined #silverstripe
533: [17:44:00] * Nivery quit (Quit: Nivery)
534: [18:00:00] * chillu quit (Quit: chillu)
535: [18:09:00] * Zauberfisch has joined #silverstripe
536: [18:13:00] * Zauberfisch_ quit (Ping timeout: 240 seconds)
537: [18:28:00] * Zauberfisch quit (Remote host closed the connection)
538: [18:40:00] * rohitbanerjee has joined #silverstripe
539: [18:41:00] <rohitbanerjee> hi everyone
540: [18:42:00] <rohitbanerjee> Im creating a site for a photographer
541: [18:42:00] <rohitbanerjee> each photograph image is a jpeg with a lot of exif data
542: [18:42:00] <rohitbanerjee> needed help with Images
543: [18:44:00] <rohitbanerjee> is it possible that these jpeg image when uploaded with the dataobjects, the exif data is pushed in the dataobjects automatically
544: [18:52:00] <catcher> rohitbanerjee, sure, I'd say the easiest way is to make a custom class that has_one Image & exif data, and extract & write in onBeforeWrite()
545: [19:00:00] * SightUnseen has joined #silverstripe
546: [19:01:00] * SightUnseen has left #silverstripe
547: [19:17:00] * rohitbanerjee quit (Ping timeout: 245 seconds)
548: [19:25:00] * Zauberfisch has joined #silverstripe
549: [19:55:00] * joelpitt_ quit (Remote host closed the connection)
550: [20:01:00] * joelpittet has joined #silverstripe
551: [20:15:00] * jkaunisv has joined #silverstripe
552: [20:15:00] <jkaunisv> Hey all. Why does SiteTree::get()->where('')->sort(''); only ever return the Home page and no other pages?
553: [20:23:00] * UndefinedOffset quit (Quit: Leaving.)
554: [20:49:00] <Zauberfisch^idle> jkaunisv you do an actuall empty where('') ?
555: [21:04:00] <FrozenFire> Hrmm, what's the composer installer version for 3.1-dev?
556: [21:04:00] <FrozenFire> Tried 3.1-dev, but no dice
557: [21:05:00] <FrozenFire> Gah
558: [21:05:00] <FrozenFire> Bah, actually, I think I'll go stable this project.
559: [21:05:00] <FrozenFire> Don't think it'll be one of those projects.
560: [21:05:00] <FrozenFire> I usually use 3.1 just because it fixes some shit that's infuriating, but I don'
561: [21:10:00] * zlincoln quit (Ping timeout: 245 seconds)
562: [21:26:00] <Zauberfisch> :P
563: [21:26:00] <Zauberfisch> FrozenFire there is a stable release? :O
564: [21:27:00] <Zauberfisch> stable is usually at least as buggy as edge
565: [21:27:00] <FrozenFire> That's why I don't normally use 3.0, even for new client projects.
566: [21:27:00] <FrozenFire> Yeah, I agree.
567: [21:28:00] <FrozenFire> I typically just go with 3.1-dev
568: [21:28:00] <Zauberfisch> yeah
569: [21:28:00] <Zauberfisch> and it works out fine for me
570: [21:28:00] <Zauberfisch> I have several clients, all running edge
571: [21:28:00] <jkaunisv> Zauberfisch: yeah, empty where. But it fails just as hard with a valid condition in that where clause
572: [21:29:00] <jkaunisv> I'm trying to get Translatable working with 3.0, and it's not finding any of the pages when it checks to rewrite the url, so everything's showing a 404
573: [21:30:00] * FrozenFire considers forking silverstripe/installer
574: [21:30:00] <jkaunisv> (using Balbuss' TranslatableModelAsController from here http://www.balbuss.com/translatable-and-the-url/)
575: [21:30:00] <Zauberfisch> jkaunisv I think I remember something about argumentSQL not working any longer in ss3
576: [21:30:00] <Zauberfisch> that could be the reason
577: [21:30:00] <jkaunisv> Hmm, ok
578: [21:30:00] <FrozenFire> :P
579: [21:31:00] <Zauberfisch> haven't the time yet to upgrade my boilerplate to compose
580: [21:31:00] <FrozenFire> Zauberfisch, I do. Unless there's a better way of getting a new project created with composer
581: [21:31:00] <Zauberfisch> :/
582: [21:31:00] <Zauberfisch> compose
583: [21:31:00] <Zauberfisch> oh
584: [21:31:00] <Zauberfisch> !
585: [21:31:00] <Zauberfisch> https://github.com/Zauberfisch/silverstripe-boilerplate
586: [21:31:00] <FrozenFire> Tired of getting a bunch of unrelated shit in my new projects
587: [21:31:00] <Zauberfisch> but sorry, no idea, haven't done a multi language website in a while
588: [21:31:00] <Zauberfisch> FrozenFire people still use that thing?
589: [21:32:00] <FrozenFire> Yeah, I want to be able to just do something like composer create-project mediadevils/installer myproject 3.1
590: [21:33:00] <FrozenFire> And not have themes/tutorial and themes/simple and all of the require-dev shit, and the stupid Page.php
591: [21:33:00] <FrozenFire> And numerous other things. :P
592: [21:33:00] <FrozenFire> And the stupid _config.php
593: [21:34:00] <FrozenFire> And the installer, for that matter
594: [21:35:00] <FrozenFire> E.g. install.php
595: [21:35:00] * jkaunisv quit (Ping timeout: 245 seconds)
596: [21:35:00] <Zauberfisch> FrozenFire thats why I created the boilerplate
597: [21:35:00] <Zauberfisch> but its a bit out of date, I have 3 important things to upgrade:
598: [21:35:00] <Zauberfisch> - get rid of _config.php
599: [21:35:00] <lewellyn> i swear i need to give install.php some love. no one seems to want to touch it, and for most users it's their first experience.
600: [21:35:00] <Zauberfisch> - use composer
601: [21:36:00] <Zauberfisch> anyway, its bed time
602: [21:36:00] <Zauberfisch> good night guys
603: [21:36:00] <Zauberfisch> - and something else was there that I can't remember
604: [21:37:00] <FrozenFire> And use a custom configuration scheme
605: [21:37:00] <FrozenFire> lewellyn, I don't actually mind it. It's just that it's useless for me 99% of the time.
606: [21:37:00] <FrozenFire> Since I do everything in _ss_environment.php
607: [21:37:00] <lewellyn> yeah. but the same for most of the channel regulars.
608: [21:37:00] * Zauberfisch quit (Remote host closed the connection)
609: [21:38:00] <FrozenFire> Well, I think that the packaged installation should be a separate branch on silverstripe/installer
610: [21:38:00] <lewellyn> (it's on my todo list, actually, but about a dozen items above it)
611: [21:38:00] <lewellyn> there are known issues with the install script which shouldn't be that hard to fix, if anyone ever bothered :)
612: [21:39:00] <FrozenFire> I mean, don't need the simple installer to
613: [21:39:00] <FrozenFire> The master branch and its tags, for composer, should be a fairly minimalist installation
614: [21:39:00] <FrozenFire> Then have a branch which adds stuff to it for "simple" installs
615: [21:39:00] <FrozenFire> E.g. installing the latest stable, installing the simple theme, etc.
616: [21:39:00] <lewellyn> "first-time-install" :)
617: [21:39:00] <FrozenFire> Don't need the main installer tags/branches to have a bunch of version options
618: [21:39:00] <FrozenFire> Err
619: [21:40:00] <FrozenFire> Don't need the main tags/branches to have that additional crap
620: [21:40:00] <FrozenFire> Since most of my install time is spent removing it
621: [21:40:00] <lewellyn> that'd not be terrible, actually. silverstripe/first-time-install which pulls in everything a new user would expect.
622: [21:40:00] <lewellyn> then the needs are met for everyone, since those who want installer to be more minimal could still have that.
623: [21:43:00] <FrozenFire> Indeed
624: [21:44:00] <lewellyn> it'd also make it easier to pay attention to newcomers' experiences, since that stuff would be all together.
625: [21:47:00] <FrozenFire> Hrmm, I wish SS had a more reasonable boilerplate for creating simple administrative interfaces, akin to ModelAdmin, but not specifically relating to the model.
626: [21:47:00] <FrozenFire> I know there's LeftAndMain, but it's a real bitch.
627: [21:48:00] <FrozenFire> I'm finding myself needing to create an interface for generating a particular token from a third-party service
628: [21:48:00] <FrozenFire> And no way to sensibly make that interface
629: [21:51:00] * UncleCheese has joined #silverstripe
630: [21:52:00] * zfmf has left #silverstripe
631: [21:54:00] * willr_ has joined #silverstripe
632: [21:54:00] * willr_ has joined #silverstripe
633: [21:54:00] * willr_ quit (Changing host)
634: [22:08:00] * UncleCheese quit (Quit: UncleCheese)
635: [22:32:00] * UncleCheese has joined #silverstripe
636: [22:47:00] * UncleCheese quit (Quit: UncleCheese)
637: [23:18:00] * ss-log quit (Ping timeout: 245 seconds)
638: [23:18:00] * Liquide quit (Read error: Connection reset by peer)

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