#silverstripe IRC Log

IRC log for 28 August 2013

All timestamps are in UTC.

1: [00:02:24] * chillu quit (Quit: chillu)
2: [00:02:38] <Pyromanik> there's a route rule for redirection isn't there?
3: [00:02:55] <Pyromanik> ss23: something like urlmatch: ->otherurl?
4: [00:03:16] <NitinShah> What I am looking for is a way to have a standard url for a particular tag
5: [00:03:28] <ss23> No idea, Pyromanik ;_;
6: [00:03:56] <Pyromanik> balls :<
7: [00:04:39] <NitinShah> so tag123 can be reached via siteurl/tag/123 only instead of siteurl/company/tag/123 and siteurl/About-Us/tag/123
8: [00:05:26] <Pyromanik> NitinShah: then you'll need to make a controller.
9: [00:05:47] <Pyromanik> or set up a director rule.
10: [00:06:06] <Pyromanik> but I don't think director rules allow for actions yet still, so controller is easiest bet.
11: [00:06:58] <NitinShah> Any suggestions for the code to make a controller
12: [00:07:29] <Pyromanik> ss23: it's your favourite doodacky: http://api.silverstripe.org/3.0/source-class-Director.html#97
13: [00:07:33] <Pyromanik> NitinShah: read the docs.
14: [00:07:37] <ss23> ;__;
15: [00:07:44] <ss23> fuck tinymce
16: [00:07:49] <Pyromanik> also, fuck tinymce.
17: [00:07:52] <ss23> lolwut @ that, Pyromanik
18: [00:07:53] <ss23> like
19: [00:08:19] <Pyromanik> xD
20: [00:08:24] <Pyromanik> nice pun!
21: [00:08:28] <ss23> lol
22: [00:08:29] <ss23> fuck
23: [00:08:30] <ss23> wasn't intentional
24: [00:08:34] <Pyromanik> :P
25: [00:08:36] <ss23> GODDAM IT SHIT IS BROKEN
26: [00:08:37] <ss23> FUCK TINYMCE
27: [00:08:53] <Pyromanik> put your hands above your head and flail them.
28: [00:09:00] * ss23 flials wildly
29: [00:09:07] <spronk> lawl
30: [00:09:08] <spronk> yeah
31: [00:09:08] <spronk> fuck tiny
32: [00:09:14] <Pyromanik> fuck editors.
33: [00:09:17] <Pyromanik> fuck users.
34: [00:09:24] <Pyromanik> fuck users who don't get editors.
35: [00:09:27] <Pyromanik> fuck msword.
36: [00:09:40] <ss23> ^^^^^^^^
37: [00:09:43] <Pyromanik> fuck the dreaded copy and paste an then "why doesn't my site work?"
38: [00:09:54] <ss23> Anyone backported latest tinymce to 2.4.x?
39: [00:10:05] <Pyromanik> "because you type your content out TWICE WHY OH EFFING WHY!?"
40: [00:10:08] <NitinShah> I have tried reading the docs but could not understand some parts of it, maybe because its 5.30 in the morning and I should really sleep. So will try again and check back if I need any help.
41: [00:10:25] <Pyromanik> NitinShah: class Tags extends Controller
42: [00:11:04] <Pyromanik> public function index() {}
43: [00:11:05] <Pyromanik> etc
44: [00:11:44] <NitinShah> Pyromanik, Thank you.... Will try this once I get up
45: [00:12:18] <Pyromanik> ss23: YUS
46: [00:12:20] <Pyromanik> http://api.silverstripe.org/3.0/source-class-Director.html#266
47: [00:12:35] * Pyromanik booms like sirocco the kakapo
48: [00:13:31] * NitinShah quit (Quit: Leaving)
49: [00:13:54] * zippy__ quit (Ping timeout: 264 seconds)
50: [00:15:47] <Pyromanik> Director:
51: [00:15:48] <Pyromanik> rules:
52: [00:15:48] <Pyromanik> '': 'Dashboard'
53: [00:15:48] <Pyromanik> 'Dashboard': '->'
54: [00:15:55] <Pyromanik> Take that tricky url beastie!
55: [00:16:01] <Pyromanik> :D
56: [00:20:34] <ss23> Did anyone say yes to backporting tinymce to 2.4.x?
57: [00:30:46] * nickmolhoek has joined #silverstripe
58: [00:30:47] * nickmolhoek quit (Remote host closed the connection)
59: [00:31:01] * nickmolhoek has joined #silverstripe
60: [00:43:47] * Colin[pi] has joined #silverstripe
61: [00:55:58] * Stomach quit (Quit: Leaving.)
62: [01:00:24] * Trooy quit (Ping timeout: 276 seconds)
63: [01:05:03] * joelpittet quit (Remote host closed the connection)
64: [01:09:58] * Trooy has joined #silverstripe
65: [01:16:11] * UncleCheese quit (Quit: UncleCheese)
66: [01:17:11] * Bollig|DesignCty has joined #silverstripe
67: [01:22:43] * nhorstmeier quit (Remote host closed the connection)
68: [01:23:04] * Stomach has joined #silverstripe
69: [01:23:31] * mirrors has joined #silverstripe
70: [01:27:18] <mirrors> Hey everyone...is there a way I can automatically redirect to a trailing slash version of a page
71: [01:27:47] <mirrors> silverstripe adds a trailing slash by default, but the user can still go to the same URL without a trailing slash
72: [01:30:18] * Trooy quit (Ping timeout: 276 seconds)
73: [01:34:43] <Colin[pi]> wat? no silverstripe: http://www.cmscritic.com/critics-choice-cms-awards/
74: [01:38:11] * zippy__ has joined #silverstripe
75: [01:39:38] * Trooy has joined #silverstripe
76: [01:39:46] * Trooy quit (Client Quit)
77: [01:42:18] * nickspiel quit (Read error: Connection reset by peer)
78: [01:43:12] <Stomach> mirrors: http://stackoverflow.com/questions/7780859/htaccess-rewrite-to-force-trailing-slash-at-the-end
79: [01:43:55] <mirrors> Stomach: that is exactly what i tried
80: [01:44:01] <mirrors> it works but then I cannot log in
81: [01:44:15] <Stomach> heh, it rewrites the login urls and everything thats why :D
82: [01:44:18] * nickspiel has joined #silverstripe
83: [01:44:21] <Stomach> I didnt think about that
84: [01:44:44] <mirrors> which I found a post that explained that POST are converted to GET when you add a trailing slash
85: [01:44:45] <mirrors> http://www.silverstripe.org/general-questions/show/17083
86: [01:45:09] <mirrors> so adding in the condition to not rewrite post. kinda works
87: [01:45:39] <mirrors> but once i submit the form I am redirected to example.com/Security/%2Fadmin%2Fpages%2F
88: [01:45:46] <mirrors> which is a 404 not found
89: [01:46:46] <mirrors> simon_w|air: you commented on the above post...do you have any ideas?
90: [01:50:31] * UncleCheese has joined #silverstripe
91: [01:50:46] <mirrors> if I try to log in directly from /Security/login ... then I can log in with no worries
92: [01:57:01] <zippy__> mirrors: the reason for the POST getting converted to a GET is the post url doesn't have a tailing / to it redirects to it having a / and the POST data is not carried through
93: [01:57:21] <zippy__> mirrors: you might be better of to put a rewrite cond of !^/Security
94: [01:57:33] <zippy__> so any URI starting with security doesn't get re-written
95: [01:57:41] <zippy__> or, handle it in code in your page controller
96: [01:58:49] <zippy__> if empty($_POST) and SERVER['REQUEST_URI'] doesn't end with / then redirect perhaps
97: [02:00:06] * joelpittet has joined #silverstripe
98: [02:07:39] * joelpittet quit (Read error: Connection reset by peer)
99: [02:08:12] * joelpittet has joined #silverstripe
100: [02:09:33] * joelpittet quit (Remote host closed the connection)
101: [02:14:28] <mirrors> zippy__: thanks sooooooooo much...that works a charm...this SEO changes are killing me
102: [02:14:38] <mirrors> these*
103: [02:17:23] <zippy__> mirrors: probably more important is canonical urls really...
104: [02:17:42] <zippy__> otherwise you get /content?foo
105: [02:21:03] <Pyromanik> 13:34 < Colin[pi]> wat? no silverstripe: http://www.cmscritic.com/critics-choice-cms-awards/
106: [02:21:21] <Pyromanik> Colin[pi]: anyone who even consideres ModX instantly loses all credibility.
107: [02:21:26] <Pyromanik> let alone give it an award.
108: [02:21:42] <Pyromanik> SUPER USER FRIENDLY, JUST TYPE PHP DIRECTLY INTO YOUR EDITOR!
109: [02:25:28] <batbadger> i find ss pretty userfriendly
110: [02:25:53] <Pyromanik> yeh, because it is better than pretty much 100% of the alternatives.
111: [02:26:00] <batbadger> it's just a shame there are lots of archived email threads and blog posts and tutorials against ambiguous ss api versions
112: [02:26:13] <batbadger> which i found confusing at first
113: [02:26:22] <Pyromanik> and lots of tutorials enacted by people who don't even properly understand the framework
114: [02:26:51] <Pyromanik> like the form one that gives ?success=1 as a query string on successful contact send.
115: [02:27:03] <batbadger> yeah exactly
116: [02:27:11] <Pyromanik> hurry, this is what Controller/$Action/$ID/$OtherID is all about.
117: [02:27:16] <Pyromanik> hurro*
118: [02:27:32] <Pyromanik> etc.
119: [02:29:33] <batbadger> let no one say you are not an eloquent man
120: [02:29:55] * aragonne quit (Read error: Connection reset by peer)
121: [02:37:09] <Colin[pi]> adobe experience manager... so wanky
122: [02:38:44] <Pyromanik> Colin[pi]: dem wankys get paid well though I'd imagine.
123: [02:39:23] <batbadger> actually it looks useful
124: [02:39:30] <batbadger> most of the agencies i work for have something home made that does that
125: [02:39:40] <batbadger> or have shit sitting all over the net on dropbox, usendit, etc
126: [02:39:44] <batbadger> with no coherent management
127: [02:39:46] <Colin[pi]> no I'm just talking about the name
128: [02:39:53] <batbadger> oh for sure
129: [02:40:21] <batbadger> should be called Manalanawanalr
130: [02:40:26] <Colin[pi]> it'd be like adobe synergy flow scene builder
131: [02:40:29] <batbadger> like a hip web project
132: [02:40:51] <Pyromanik> mm, gotta have that lr on the end!
133: [02:41:04] <ss23> SELECT (1468840814<<32)|"SiteTree_Live"."ID" as "id","SiteTree_Live"."ID" as "_id",1468840814 as "_b
134: [02:41:05] <Pyromanik> ballsacklr.net
135: [02:41:06] <batbadger> i wish i was batbadglr
136: [02:41:06] <batbadger> :<
137: [02:41:09] <ss23> Why SilverStripe doing this? o.o
138: [02:41:18] <ss23> I haven't seen anyone use a syntax like that in SQL ever
139: [02:41:48] <batbadger> have you read a lot of ORM / autogenerated SQL?
140: [02:42:00] * mirrors quit (Quit: Page closed)
141: [02:47:36] <ss23> batbadger: Nope, thankfully
142: [02:47:36] <ss23> :D
143: [02:49:21] <batbadger> orms man
144: [02:50:10] <batbadger> manipulating what amounts to a DSL template generator written in a general language to produce content for the DSL, it's such a bizarre activity
145: [02:50:24] <batbadger> the whole point of the DSL is to provide the right syntax for the problem domain
146: [02:52:39] <Colin[pi]> but by now everyone should be using object oriented databases, right guys?? guise??
147: [02:58:39] * aragonne has joined #silverstripe
148: [03:00:37] <Pyromanik> rofl
149: [03:01:00] * ss23 rewrites into MongoDB
150: [03:01:40] <Pyromanik> "Hmm, firefox running super slow": firefox memory usage: 1.8Gb. "Wholey crap, must be time for a restart." *close firefox* firefox memory usage 1m after closing: 2Gb. It's gone UP since closing.
151: [03:02:27] <Colin[pi]> LOL
152: [03:02:35] <ss23> rofl Pyromanik
153: [03:02:46] <Colin[pi]> Oh Firefox
154: [03:03:32] <Pyromanik> HOORAY, it finally just closed the process.
155: [03:03:44] <Pyromanik> ~5min after closing.
156: [03:06:11] * cloph_away quit (Read error: Operation timed out)
157: [03:11:02] * cloph_away has joined #silverstripe
158: [03:13:03] <zippy__> wow… people still use firefox..
159: [03:13:12] <zippy__> I got tired of it sucking all my rams
160: [03:14:14] <batbadger> i think the ff linux user base is pretty high, and for a while there repair shops were dumping ff onto machines in place of ie
161: [03:14:19] <batbadger> so those people will still be using like ff2
162: [03:15:55] <Colin[pi]> I use ff, I like firebug the best for dev, but no I don't like it's memory hogging
163: [03:21:19] <batbadger> i find firebug to be really poor compared to chromes inspector + fiddler
164: [03:21:36] <batbadger> for example working on facebook stuff the dom interpreter is super slow in FF
165: [03:21:42] * nickspiel quit (Ping timeout: 264 seconds)
166: [03:21:42] <batbadger> /FB
167: [03:22:17] <Colin[pi]> I've tried to get used to Chrome's but FB still wins for me
168: [03:22:34] <Colin[pi]> also the Chrome font rendering is woefully bad on Windows (but they're fixing that I think in the next version)
169: [03:24:05] <Pyromanik> I find not working with FB the best.
170: [03:24:28] <Pyromanik> I prefer FF both as a browser and it's dev tools (firebug). It's just a shame that firebug isn't native, so is slow as shit.
171: [03:24:31] <ss23> 15:22:33 < Colin[pi]> also the Chrome font rendering is woefully bad on Windows (but they're fixing that I think in the next version)
172: [03:24:35] <ss23> omg yes
173: [03:24:40] <ss23> Pyromanik: Why? It suits Firefox
174: [03:24:43] <ss23> guise
175: [03:24:47] <ss23> lets build a browser in JAVASCRIPT
176: [03:24:48] * ss23 runs around
177: [03:24:49] <Pyromanik> troll!
178: [03:24:49] <ss23> :3
179: [03:24:58] <Pyromanik> ss23: been there, done that.
180: [03:25:04] <ss23> Pyromanik: Hardly, compared Firefox 3.5 speed with Chrome at the same time
181: [03:25:05] <Pyromanik> building dom in the dom... a bit circular :<
182: [03:25:15] <ss23> protip: the only reason Firefox got any faster than how horribly shit it was is cause Chrome
183: [03:25:29] <Pyromanik> probably true.
184: [03:26:41] <Pyromanik> http://www.youtube.com/watch?v=0_EW8aNgKlA
185: [03:28:05] <ss23> bacon pancakes
186: [03:28:08] <ss23> makin bacon pancakes
187: [03:28:30] * nickspiel has joined #silverstripe
188: [03:30:01] <guzzlefry> I used to make bacon waffles at work, so delicious.
189: [03:30:31] <guzzlefry> They were legitimate waffles also, I was back in the prep room milling flour most of my time. :P
190: [03:37:34] <ss23> :D
191: [03:37:35] <ss23> Nice
192: [03:37:42] <ss23> LETS HIRE YOU!
193: [03:46:16] * nickspiel quit (Ping timeout: 245 seconds)
194: [03:47:16] * nickspiel has joined #silverstripe
195: [03:53:33] <zippy__> Pyromanik: I wonder how many people did the full 10m of that
196: [03:54:10] * nickspiel quit (Read error: Connection reset by peer)
197: [03:55:35] <guzzlefry> ss23: A job?!
198: [03:56:23] * nickspiel has joined #silverstripe
199: [04:01:17] <ss23> guzzlefry: If I was rich, I would hire a chef tbh
200: [04:01:28] <ss23> What the fuck, 100kb left on a reasonable sized upload? BETTER DISCONNECT NOW
201: [04:01:31] <ss23> WHY
202: [04:03:28] <guzzlefry> haha
203: [04:03:31] <guzzlefry> I love that. :P
204: [04:04:00] <guzzlefry> Or when Firefox's downloads silently fail, so I'm left with half of a video clip.
205: [04:09:21] <ss23> lol yes, hate that too
206: [04:11:54] * nickspiel quit (Ping timeout: 256 seconds)
207: [04:12:30] * zippy__ quit (Ping timeout: 245 seconds)
208: [04:14:09] * nickspiel has joined #silverstripe
209: [04:38:00] * nickspiel quit (Read error: Connection reset by peer)
210: [04:39:16] * nickspiel has joined #silverstripe
211: [04:40:16] * nickspiel quit (Read error: Connection reset by peer)
212: [04:42:46] * nickspiel has joined #silverstripe
213: [04:55:57] * atmos quit (Quit: Page closed)
214: [05:00:27] * nickspiel quit (Ping timeout: 260 seconds)
215: [05:01:21] * nickspiel has joined #silverstripe
216: [05:03:25] * UncleCheese quit (Quit: UncleCheese)
217: [05:07:49] * aznain has joined #silverstripe
218: [05:07:55] * nickmolhoek quit (Quit: nickmolhoek)
219: [05:12:41] * Stomach quit (Quit: Leaving.)
220: [05:13:17] * Stomach has joined #silverstripe
221: [05:20:39] * priithansen has joined #silverstripe
222: [05:25:23] * Shrike_Finland has joined #silverstripe
223: [05:29:35] * sminnee quit (Ping timeout: 245 seconds)
224: [05:30:06] * Shrike_Finland quit (Read error: Connection reset by peer)
225: [05:30:10] * Shrike_Finland1 has joined #silverstripe
226: [05:38:11] * Stomach quit (Quit: Leaving.)
227: [05:45:18] * nickspiel quit (Read error: Connection reset by peer)
228: [05:45:43] * nickspiel has joined #silverstripe
229: [05:49:01] * aznain quit (Ping timeout: 250 seconds)
230: [05:52:44] * nickspiel quit (Read error: Connection reset by peer)
231: [05:56:58] * nickspiel has joined #silverstripe
232: [05:59:39] * willr quit (Quit: willr)
233: [06:12:22] <simon_w|air> ss23, no
234: [06:12:53] <ss23> What was my question, simon_w|air?
235: [06:13:06] <ss23> simon_w|air: I literally had a nother one and only checked IRC to ask you :<
236: [06:13:15] * Pyromanik quit (Quit: leaving)
237: [06:13:24] <simon_w|air> ss23, back scroll :p
238: [06:13:39] <ss23> simon_w|air: The backporting tinymce? ;_;
239: [06:13:49] <simon_w|air> No, the one you actually asked me
240: [06:14:22] <ss23> simon_w|air: Did I ask it lsat night? I don't see it easily in my scrollback...
241: [06:14:38] <ss23> ;__;
242: [06:14:48] <simon_w|air> [10:07:41] <ss23> simon_w|air: Do you have permission to mark forum users on .org as not spam if they've been marked as it accidently etc?
243: [06:14:53] <ss23> simon_w|air: isChanged only tells you if fields specifically changed. What about if you want like isChangedorSomeoneUpdatedTheHasOneTooEither
244: [06:14:56] <ss23> simon_w|air: oic, sweet
245: [06:15:49] <simon_w|air> So, you want to know if the ID field changed?
246: [06:15:55] <ss23> No no
247: [06:16:16] <ss23> simon_w|air: The specific example is that a cache is rengeerated, currently, when $this->isChanged == true, however, if the image on this object changes, it should also regenerate
248: [06:16:24] <ss23> So if $this->PhotoID I guess
249: [06:16:31] <ss23> It's done via a has_one field
250: [06:16:49] <ss23> simon_w|air: Should isChanged already be returning true if you update the photo?
251: [06:16:57] <simon_w|air> Yes
252: [06:17:03] <ss23> Okay, I will invesitgate then!
253: [06:18:33] <ss23> weird, it's saying it's changed even when I edit no fields
254: [06:18:33] <ss23> :<
255: [06:20:47] * nickspiel quit (Read error: Connection reset by peer)
256: [06:21:26] <ss23> simon_w|air: I'm confused -- array(2) { ["SecurityID"]=> array(3) { ["before"]=> NULL ["after"]=> string(40) "ce5c4ad3c5ab5be0dff983751ffd0bb0d5e51cb5" ["level"]=> int(2) } ["LastStaticUpdate"]=> array(3) { ["before"]=> string(19) "2013-08-28 18:18:04" ["after"]=> string(19) "2013-08-28 18:18:22" ["level"]=> int(2) }}
257: [06:21:35] <ss23> simon_w|air: It updates... SEcurityID regarldess of whether any *fields* have changed?
258: [06:22:30] <simon_w|air> Apparently
259: [06:23:09] <ss23> Hmm
260: [06:23:11] <ss23> That seems... wrong
261: [06:23:19] <ss23> But at the very least, there's another bug here I guess
262: [06:23:21] <ss23> Unless
263: [06:23:23] <ss23> eh
264: [06:23:24] <ss23> lame
265: [06:23:25] * nickspiel has joined #silverstripe
266: [06:23:28] <ss23> SilverStripe is fiddly.
267: [06:42:42] * ARNHOE has joined #silverstripe
268: [07:01:16] * Trooy has joined #silverstripe
269: [07:13:21] * simoncarter323 has joined #silverstripe
270: [07:14:25] * simoncarter323 quit (Client Quit)
271: [07:18:32] <wmk> g'morning
272: [07:22:50] * spronk quit (Ping timeout: 241 seconds)
273: [07:23:36] * DesignerX has joined #silverstripe
274: [07:24:17] * violetina has joined #silverstripe
275: [07:25:04] * Guits quit (Ping timeout: 264 seconds)
276: [07:30:00] * priithansen quit (Quit: priithansen)
277: [07:33:24] * Guits has joined #silverstripe
278: [07:39:11] * nickspiel quit (Ping timeout: 245 seconds)
279: [07:48:17] * ARNHOE quit (Remote host closed the connection)
280: [07:54:04] * chillu has joined #silverstripe
281: [07:59:31] * kinglozzer has joined #silverstripe
282: [08:01:39] <kinglozzer> OSX guys: what method do you use for showing/hiding 'hidden' files? I have a keyboard shortcut that enables them and kills finder, annoyingly slow though. Must be something faster?
283: [08:03:15] <ss23> Windows
284: [08:03:18] <ss23> :)
285: [08:03:28] <kinglozzer> ><
286: [08:04:45] <simon_w|air> kinglozzer, turn it on and leave it on
287: [08:05:18] <simon_w|air> It just hang around in Terminal all day
288: [08:05:33] <simon_w|air> Or, just for folders, just use Go To.. (cmd-shift-G)
289: [08:05:58] <kinglozzer> Yeah I use that for the folders, just for copying .htaccess mainly
290: [08:06:12] <kinglozzer> Could stop being lazy and use terminal to do it I suppose
291: [08:06:24] <simon_w|air> Or leave hidden files on :p
292: [08:06:46] <kinglozzer> But it makes things slightly ugly :(
293: [08:07:46] <simon_w|air> Haha, seriously?
294: [08:08:38] <kinglozzer> I'm OCD about the grey on hidden files :P
295: [08:09:52] <ss23> I go for the terminal option on OSX truthfully
296: [08:10:00] <ss23> I'm pretty sure everyone here at work has been like "Wtf u use vim?!"
297: [08:10:03] <simon_w|air> OCD. Right.
298: [08:10:38] <ss23> I'm OCD about the usage of OCD
299: [08:10:43] <ss23> I'm also retarded
300: [08:10:44] <ss23> And dumb
301: [08:10:46] <ss23> And a moron
302: [08:10:52] <ss23> And (insert any other medical term here)
303: [08:11:12] <simon_w|air> Other options: AppleScript or Automater actions as services/toolbar items that ask for a folder, and copies the .htaccess from that folder to the current one
304: [08:11:18] <simon_w|air> ss23, retarded
305: [08:11:24] <ss23> I said retarded!
306: [08:11:33] <simon_w|air> And I said it again!
307: [08:11:36] <ss23> :<
308: [08:11:37] <ss23> I found the bug
309: [08:11:40] <simon_w|air> Disabled
310: [08:12:04] <ss23> Someone accidently array_unique($url); when the array is like $url['URL HERE GUISE'] = 60; // 60 = priority
311: [08:12:16] <ss23> The live site is probably so fucked right now with this bug
312: [08:12:35] <kinglozzer> simon_w|air: Are you on 10.8?
313: [08:14:19] <simon_w|air> 10.9
314: [08:15:17] <kinglozzer> Ah cool, no issues with upgrading to either? We (office) are going to upgrade but read some 'horror stories'
315: [08:15:31] <simon_w|air> From what?
316: [08:16:00] <kinglozzer> 10.7
317: [08:16:07] <kinglozzer> Only to 10.8 though
318: [08:16:56] <simon_w|air> Well, yeah. 10.9's not out yet :p
319: [08:17:06] * drama has joined #silverstripe
320: [08:17:14] <kinglozzer> Yeah I'm guessing you're on the developer programme? :P
321: [08:17:16] <simon_w|air> I had no problems with 10.8 and I've been running it since DP2
322: [08:17:53] <ss23> No problems?
323: [08:17:55] * ss23 looks at simon_w|air
324: [08:17:57] <ss23> Hows your GPU going? :)
325: [08:18:01] <kinglozzer> Great thanks
326: [08:18:04] <ss23> lol
327: [08:18:07] <simon_w|air> ss23, great :p
328: [08:18:18] <drama> well hello i've been routing more excitement and I see why it is this way,
329: [08:18:30] <drama> if i do '//$Action/$DecisionID/$Name': 'HomePage_Controller' and then try to run dev/build from the command line it tells me
330: [08:18:41] <drama> $ php framework/cli-script.php dev/build flush=1 Action 'build' isn't available on class HomePage_Controller.
331: [08:19:24] <drama> wait maybe i need to just have a plain rule '/' : 'HomePage_Controller'
332: [08:19:43] <simon_w|air> '': 'HomePage_Controller'
333: [08:19:52] <simon_w|air> The base route's the empty one, not /
334: [08:21:23] <drama> thanks simon_w|air that is good and loading now
335: [08:21:41] <drama> is there any way to pass parameters to that base route
336: [08:23:43] <drama> or maybe the idea is that i should have multiple rules that point back to the same controller
337: [08:24:58] <ss23> If it has a parameter, it's going to have to look like /home-page/foo or something, right? So use that?
338: [08:25:18] <ss23> Otherwise if it looks like... site.com/parametershere, you can use /parametershere or w/e? idk
339: [08:25:21] <ss23> routing is hard
340: [08:25:30] <drama> yes it is indeed no matter which way you slice it
341: [08:26:04] <drama> i've got it hooked up a lot better now that i've cleared away the url_handler stuff i had
342: [08:26:16] <drama> but something to do with Link() is making things not clear
343: [08:27:37] <drama> i've got a Link() on my controller and I think its working now if I keep a urlSegment set there. It seems like doing public function Link() { return '/'; } is not a good idea :D
344: [08:31:23] * Guits quit (Ping timeout: 245 seconds)
345: [08:31:55] * lobarvaz has joined #silverstripe
346: [08:44:12] <aragonne> Hi guys/gals, anyone know if scaffoldformfields() can return the relational fields of a DataObject? e.g., Solution has_one Company and if I use Solution->scaffoldformfields(), I was hoping to also get the fields of Company
347: [08:45:26] <wmk> hmm, $this->record['Content'] has a value, $this->dbObject('Content') not
348: [08:45:43] <wmk> aragonne, afaik there is a parameter for this
349: [08:46:44] <simon_w|air> aragonne, given that you can't directly edit the fields of a has_one by default, it seems a little flawed to support that
350: [08:47:18] <simon_w|air> What you can get though, is a drop down for select the object on the has_one
351: [08:49:08] <wmk> simon_w|air, your hasOneEdid saved me a lot of work.
352: [08:49:21] <simon_w|air> Yeah, there's also that
353: [08:49:31] <simon_w|air> Though I need to change the separator again sometime
354: [08:49:34] <aragonne> wmk: there is a $_params arg in the definition of DataObject->scaffoldformfields(), but I'm not sure what's supposed to go into that array
355: [08:49:38] * wmk changed it...
356: [08:49:38] <simon_w|air> Should probably do it sooner rather than later
357: [08:49:45] <simon_w|air> I know :p
358: [08:49:52] <wmk> aragonne, see DO source: http://api.silverstripe.org/3.1/source-class-DataObject.html#1952-1982
359: [08:50:15] <wmk> i could rant the docs are bad, i could also write some docs...
360: [08:50:55] <wmk> man, a decent IDE with source scanning saves SO much time. Don't have to call SS api docs so often
361: [08:51:19] <wmk> however, simon_w|air any hint on my problem some lines above with $this->record and $this->dbObject ??
362: [08:51:41] <simon_w|air> You've got a getContent() method?
363: [08:51:52] <aragonne> simon_w: so, if I'm following correctly, I need to manually construct whatever fields I need for the relations and add that to the fields returned from scaffoldformfields()?
364: [08:52:15] <simon_w|air> aragonne, you also need to then handle the submission of those fields
365: [08:52:22] <simon_w|air> (hint hint https://packagist.org/packages/simonwelsh/hasoneedit)
366: [08:52:28] <wmk> simon_w|air, i try to overwrite the getContent method
367: [08:52:44] <simon_w|air> wmk, dbObject() tries to use getContent
368: [08:53:01] <simon_w|air> and will probably end up getting null if called from inside it
369: [08:53:18] * travis-ci has joined #silverstripe
370: [08:53:18] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#880 (master - 0bdb81f : Simon Welsh): The build passed.
371: [08:53:18] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/ec9f2e12843c...0bdb81f718b4
372: [08:53:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10703826
373: [08:53:18] * travis-ci has left #silverstripe
374: [08:53:36] <wmk> simon_w|air, ok. the same for obj()??
375: [08:53:41] <simon_w|air> Yes
376: [08:53:47] <wmk> it try to automagically return parsed content
377: [08:54:08] <ss23> simon_w|air: o.o
378: [08:54:15] <ss23> simon_w|air: Why is there a branch for 3.1.0?
379: [08:54:25] <simon_w|air> ss23, do you even read ss-dev?
380: [08:54:29] <ss23> Nope! :D
381: [08:54:39] <simon_w|air> Well, maybe you should
382: [08:54:42] <wmk> so inside getContent i can put the string from $this->record and return a Text Object
383: [08:54:44] <aragonne> simon_w: thanks! I'll check it out
384: [08:54:51] <ss23> :<
385: [08:55:02] <simon_w|air> wmk, well, you'd probably want HTMLText
386: [08:55:50] <wmk> good point
387: [08:56:04] <aragonne> wmk: the description in the API isn't too clear on what $_params is supposed to contain. A hash of the DO's fields to return? What should the keys and values be of this hash?
388: [08:56:49] <wmk> aragonne, did you look at the code?
389: [08:57:15] <wmk> i'd try an array('includeRelations' => true)
390: [08:57:21] <simon_w|air> ss23, https://groups.google.com/d/msg/silverstripe-dev/8qVhW3Iohb4/HTUafYHPOI0J
391: [08:58:20] <aragonne> wmk: ooops, only read the description in the comments … let me try your suggestion
392: [08:58:41] * ARNHOE has joined #silverstripe
393: [08:59:03] <ss23> simon_w|air: Yeah, I got it
394: [08:59:08] <ss23> I read it when y ousaid!
395: [08:59:14] <ss23> blargh, bluetack just stuck my thumb down
396: [08:59:14] <ss23> :<
397: [08:59:19] <simon_w|air> Haha!
398: [09:00:32] <ss23> Timesheet, then hooooome
399: [09:00:53] * pippy_ quit (Ping timeout: 240 seconds)
400: [09:02:33] * Peter has joined #silverstripe
401: [09:02:57] * Peter is now known as Guest16912
402: [09:03:04] * pippy has joined #silverstripe
403: [09:06:12] * Guest16912 quit (Client Quit)
404: [09:09:33] <aragonne> wmk: just tried to pass 'includeRelations' => true to scaffoldformfields(), but that didn't seem to return any relation fields.
405: [09:10:31] * SightUnseen has joined #silverstripe
406: [09:10:33] * SightUnseen has left #silverstripe
407: [09:10:51] <simon_w|air> [20:47:18] <simon_w|air> What you can get though, is a drop down for select the object on the has_one
408: [09:10:58] <simon_w|air> Told you :p
409: [09:12:43] <aragonne> simon_w: haha … just wanted to be sure I exhausted all possible solutions before doing the manual field constructs for relational fields -or- using your hasoneedit module
410: [09:13:04] <simon_w|air> Well, with the module, you still need to manually create them
411: [09:13:10] <simon_w|air> It just lets you actually save them
412: [09:14:28] <aragonne> simon_w: OK, I will take a closer look … just wanted to be sure I wasn't re-inventing the wheel; wmk's suggestion seemed so promising … what a tease!
413: [09:20:59] * Guits has joined #silverstripe
414: [09:23:58] <wmk> ;)
415: [09:24:23] <aragonne> thanks anyways, wmk!
416: [09:24:38] <wmk> i wrote a loop that included me all fields from $this->MyHasOne()->frontendfields() via hasOneEdit
417: [09:25:07] <wmk> a bit customised to my environment but it saved a lot of time...
418: [09:27:03] * travis-ci has joined #silverstripe
419: [09:27:03] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#516 (master - ef21906 : Ingo Schommer): The build passed.
420: [09:27:03] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/c62f992dc356...ef2190606304
421: [09:27:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/10704548
422: [09:27:03] * travis-ci has left #silverstripe
423: [09:27:59] <simon_w|air> chillu, looks like the problem with most of the poorly ranked methods is there's a lot of execution paths
424: [09:28:17] <chillu> Yeah, cyclomatic complexity right?
425: [09:28:58] <simon_w|air> About 50/50 with craptons of branches
426: [09:30:49] <chillu> Not surprised that DO->write() shows up in the top 10 ;)
427: [09:32:11] <simon_w|air> Massively outdone by GridField::FieldHolder() in terms of npaths though
428: [09:33:18] <simon_w|air> 3.2: The Refactoring? :p
429: [09:33:21] * Hattori_Suzuki has joined #silverstripe
430: [09:34:20] * travis-ci has joined #silverstripe
431: [09:34:20] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#882 (3.1 - fad8005 : Ingo Schommer): The build passed.
432: [09:34:20] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/0ac9eff8299b...fad800550df2
433: [09:34:20] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10704660
434: [09:34:20] * travis-ci has left #silverstripe
435: [09:34:28] * zippy__ has joined #silverstripe
436: [09:34:57] <Hattori_Suzuki> Test the keyboard!
437: [09:37:24] <zippy__> a;sfsdfsdaf
438: [09:37:25] <zippy__> works
439: [09:42:42] * simon_w|air quit (Ping timeout: 264 seconds)
440: [09:45:54] * travis-ci has joined #silverstripe
441: [09:45:54] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#883 (3.1 - f23526d : Ingo Schommer): The build passed.
442: [09:45:54] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/fad800550df2...f23526d08f69
443: [09:45:54] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10704735
444: [09:45:54] * travis-ci has left #silverstripe
445: [09:48:16] * travis-ci has joined #silverstripe
446: [09:48:17] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#517 (3.1 - 6d694a5 : Ingo Schommer): The build passed.
447: [09:48:17] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/010869a9b552...6d694a550a2b
448: [09:48:17] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/10704884
449: [09:48:17] * travis-ci has left #silverstripe
450: [09:49:43] * Hattori_Suzuki quit ()
451: [09:50:10] * Shrike_Finland1 quit (Read error: Connection reset by peer)
452: [09:50:31] * Shrike_Finland has joined #silverstripe
453: [09:55:41] * r3v3rb has joined #silverstripe
454: [09:57:15] * travis-ci has joined #silverstripe
455: [09:57:15] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#884 (3.0 - 71b987e : Ingo Schommer): The build is still failing.
456: [09:57:15] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/54edc0ddacd4...71b987edb2c5
457: [09:57:15] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10704913
458: [09:57:15] * travis-ci has left #silverstripe
459: [09:57:16] <r3v3rb> hi everyone, i'm trying to get a site running using just the framework again (latest github pull) and I want to know how to route '/' to a specific class - I try '/' : 'class' in routes.yml but when I try to use an action on that class later it always redirects to '/' still...
460: [10:01:45] * violetina quit (Remote host closed the connection)
461: [10:03:23] * r3v3rb quit (Quit: r3v3rb)
462: [10:06:03] * Hattori_Suzuki has joined #silverstripe
463: [10:07:31] * Colin[pi] quit (Ping timeout: 260 seconds)
464: [10:12:51] * Trooy_ has joined #silverstripe
465: [10:15:00] * Trooy quit (Ping timeout: 245 seconds)
466: [10:17:08] * simon_w|air has joined #silverstripe
467: [10:17:56] <drama> haha r3v3rb i was having that same thing
468: [10:18:06] <drama> actually what you want is to not use /
469: [10:18:36] <drama> it is like '' : 'MyName_Controller'
470: [10:18:39] <drama> just blank
471: [10:19:01] <drama> oh whoops reading where r3v3rb left...
472: [10:23:19] * drama quit (Ping timeout: 250 seconds)
473: [10:25:07] * Sjohn has joined #silverstripe
474: [10:25:12] <Sjohn> Hi
475: [10:27:44] * Nightjar has joined #silverstripe
476: [10:30:56] <Sjohn> I'm looking for a way to create a another paddedResize function were you can change the background. So i can do something like this by example: $Myimage.PaddedResizeBgcolorgrey(210,210). Can someone point me in the right direction please :)
477: [10:33:27] <Nightjar> heyday image module
478: [10:33:29] <Nightjar> on github
479: [10:40:56] <Zauberfisch> Sjohn: padded img alredy supports color
480: [10:41:03] <Zauberfisch> its the third argument
481: [10:41:47] <Zauberfisch> just do PaddedImage(200,200,'#000000')
482: [11:11:02] * unculture has joined #silverstripe
483: [11:23:28] * zippy__ quit (Quit: zippy__)
484: [11:24:33] * chillu quit (Quit: chillu)
485: [11:26:14] <Hattori_Suzuki> @Zauberfisch: is it able to use PaddedImage function with the 3rd argument in the template?
486: [11:31:04] * micmania1 quit (Quit: Leaving)
487: [11:36:03] <Sjohn> Thanks Zauberfisch :)
488: [11:43:37] * NobrainerWeb has joined #silverstripe
489: [11:47:10] * Nightjar has left #silverstripe
490: [11:49:19] <NobrainerWeb> Hi
491: [11:49:22] <NobrainerWeb> Hi guys, in a SS2.4 project, i have some ModelPages (Pagetype ModelPage), that has many_many ModelFeatures (DO ModelFeature).
492: [11:49:22] <NobrainerWeb> I can get the features attached to a Model by a simple control in the template <% control ModelFeatures %>.
493: [11:49:23] <NobrainerWeb> But is it possible to loop all the ModelFeatures printing the info to template, and printing if the ModelFeature is active for the current ModelPage?
494: [11:49:24] <NobrainerWeb> I hope it makes sence :-)
495: [11:53:11] <Hattori_Suzuki> NobrainerWeb you mean listing all ModelFeatures in database to any ModelPage?
496: [11:54:06] <NobrainerWeb> I found an example by UC, i hope it works (as i read it, the question is exactly what i need) testing it now
497: [11:54:10] <NobrainerWeb> http://www.silverstripe.org/dataobjectmanager-module-forum/show/15400
498: [12:04:02] * UndefinedOffset has joined #silverstripe
499: [12:35:11] * chillu has joined #silverstripe
500: [12:39:26] * guci0 has joined #silverstripe
501: [12:39:30] <guci0> Hello World!
502: [12:47:00] <jon-shape> Error 101: World not found.
503: [12:50:17] <guci0> :)
504: [12:53:34] * Trooy_ quit (Quit: Leaving)
505: [12:57:51] * Hattori_Suzuki quit ()
506: [13:02:36] * hans__ has joined #silverstripe
507: [13:04:02] <hans__> hi, one question: i want to add a field in mein CommonPage.php where a link can be added, what type do i have to use ?
508: [13:06:47] <kinglozzer> hans__: Either use a text field where they enter the link, or if it's a link to a page on the site use TreeDropdownField
509: [13:07:31] <hans__> ah cool, thx!
510: [13:07:35] <kinglozzer> If you use TreeDropdownField you'll need to create a has_one relation , for example 'LinkedPage' => 'SiteTree', then use 'LinkedPageID' as the first argument to new TreeDropdownField(...
511: [13:08:20] <NobrainerWeb> hans__: If you are one ss3, have a look at https://github.com/nathancox/silverstripe-linkfield
512: [13:09:17] <hans__> sounds good, i will try it!
513: [13:09:18] <hans__> thx
514: [13:21:13] * NobrainerWeb quit (Quit: NobrainerWeb)
515: [13:22:02] <hans__> hm, is there a good module for sharestuiff (fb, g+, email)
516: [13:27:02] * swordsmanz has joined #silverstripe
517: [13:29:15] * mento has joined #silverstripe
518: [13:30:01] * Shrike_Finland quit (Quit: Leaving.)
519: [13:30:01] <mento> Hey there, is there anyone around with experience on translating their silverstripe site to chinese?
520: [13:51:21] <mento> anyhow, if you set your languages in the allowed_locales array in the config file, it should be visible in the language dropdown CMS right? The other languages show, the Chinese doesn't for some reason... http://www.sspaste.com/paste/show/521dff341d19c
521: [13:54:26] * travis-ci has joined #silverstripe
522: [13:54:27] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#518 (3.0 - 2b20a02 : Ingo Schommer): The build passed.
523: [13:54:27] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/d7d0cb45ae34...2b20a027358b
524: [13:54:27] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/10713188
525: [13:54:27] * travis-ci has left #silverstripe
526: [13:58:24] <hans__> another thing: i have a page and i want teaser to other pages to be displayed on it, no in the backend i want to make a ref to these pages, how can i mange this?
527: [14:05:19] * Shrike_Finland has joined #silverstripe
528: [14:05:35] * cloph_away is now known as cloph
529: [14:06:41] * travis-ci has joined #silverstripe
530: [14:06:41] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#886 (3.1 - eaa78b9 : Ingo Schommer): The build passed.
531: [14:06:41] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f23526d08f69...eaa78b98b895
532: [14:06:41] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/10713363
533: [14:06:41] * travis-ci has left #silverstripe
534: [14:08:35] * Shrike_Finland quit (Client Quit)
535: [14:17:30] * Sedat has joined #silverstripe
536: [14:17:59] <Sedat> Anyone able to help ?
537: [14:35:40] * Sedat quit (Quit: Page closed)
538: [14:56:24] * ARNHOE quit (Remote host closed the connection)
539: [14:56:27] * Shrike_Finland has joined #silverstripe
540: [15:04:07] * Sjohn quit (Ping timeout: 250 seconds)
541: [15:17:33] <DesignerX> hi guys, i' having problem managing subclasses of the member class with GF . when I click "Create" it get stuck on that page and doesnt move to the next strp (doesnt refresh the page & show the "save" button) but the object is created & I can see it after I go back to the GF .. any ideas to why its getting stuck ?
542: [15:18:16] * mento quit (Quit: Page closed)
543: [15:24:17] * inadream has joined #silverstripe
544: [15:27:18] <DesignerX> I judt did a small test regarding manging Members (and sub-classes of Member) in a GF, I'm unable to create a new member. It gets stuck on creating the Member for somer eason & doesnt move to the next page (doesnt open the Editing page & there is no 'save' button)
545: [16:02:22] <kinglozzer> q
546: [16:02:29] <kinglozzer> *cmd+q :)
547: [16:02:30] * kinglozzer quit (Remote host closed the connection)
548: [16:05:01] * Hattori_Suzuki has joined #silverstripe
549: [16:05:44] * Hattori_Suzuki quit (Client Quit)
550: [16:32:24] * inadream quit (Quit: Ex-Chat)
551: [16:32:29] * chillu quit (Quit: chillu)
552: [16:39:41] * hans__ quit (Quit: Page closed)
553: [16:51:04] * lobarvaz quit (Remote host closed the connection)
554: [17:00:04] * Colin[pi] has joined #silverstripe
555: [17:02:56] * catcher has joined #silverstripe
556: [17:40:46] <unculture> Hey people. I'm looking for a way to have registration flows (inc. login page, forgotten password, etc) for two different classes of user. They will have access to separate parts of the site and will have completely different information related to them. Is there a solution to this with Silverstripe? I notice that authentication is all about the Member class. Can I have two different subclasses of Member (eg Foo extends Member and Bar extends Mem
557: [17:40:46] <unculture> ber) and have them both work re authentication and roles. I want to be able to manage them in their own ModelAdmin.
558: [17:48:22] * ARNHOE has joined #silverstripe
559: [18:06:14] * Colin[pi] quit (Ping timeout: 264 seconds)
560: [18:11:04] <wmk> unculture, that's some work.
561: [18:11:17] <wmk> have a look at the memberprofiles module
562: [18:11:46] <wmk> guess you'll have to subclass or tweak it a bit.
563: [18:11:55] <unculture> Yes, I thought it might be. I can't seem to find any easy solution. Even with a framework like Laravel, it is assumed that you want to authorise against only one model.
564: [18:12:15] <wmk> or write your own controller with frontendforms and registration
565: [18:12:44] <wmk> at my current project i didn't subclass member directly but a related contact object.
566: [18:12:53] <unculture> It says in the docs that when subclassing that you'll need to check for email clashes, but looking at the authenticator, it isn't clear how you'd go about telling it to use your subclass instead of Member.
567: [18:12:54] <wmk> and i gave each member type an own group
568: [18:12:55] <unculture> Right.
569: [18:12:59] <guzzlefry> ss23: you around?
570: [18:13:27] * Nivery has joined #silverstripe
571: [18:13:56] <wmk> unculture, as the subclass uses member table you can instanciate also subclasses by Member::get()->byID(xy)
572: [18:14:32] <wmk> unculture, check if you really need subclasses of member or just different groups assigned to them
573: [18:14:42] <wmk> depends on your datamodel
574: [18:15:42] <unculture> It's a recruitment site, with organisations and candidates. The orgs post jobs and the candidates register to upload their CVs.
575: [18:16:16] * wmk wonders why this sounds so familiar
576: [18:16:18] <unculture> But... It's also a content heavy site apart from that, so I'd like to use a CMS rather than build with a framework.
577: [18:17:05] <wmk> well, silverstripe is both, cms and framework. well, more a framework with a very good cms attached. or more a cms with a very good framework under? dunno
578: [18:17:51] <unculture> It's probably the best CMS that I have worked with.
579: [18:18:00] * chillu has joined #silverstripe
580: [18:22:25] <unculture> Thanks for your help wmk. I'll look into that solution.
581: [18:26:28] <wmk> unculture, glad i could help you
582: [18:28:06] * BPower has joined #silverstripe
583: [18:28:33] * unculture quit (Quit: Leaving)
584: [18:29:49] <BPower> How could I delete ALL traces of data in SomePage()? E.g. SomePage()->get()->delete(); but I also want to make sure (1) all many_many relationships have been destroyed and (2) all versioned copies (stage, and older) have been destoryed.
585: [18:45:08] * SightUnseen has joined #silverstripe
586: [18:50:20] * SightUnseen has left #silverstripe
587: [19:39:51] * gelignite has joined #silverstripe
588: [19:54:04] * Shrike_Finland has left #silverstripe
589: [20:03:00] * chillu quit (Quit: chillu)
590: [20:16:46] * chillu has joined #silverstripe
591: [20:19:47] * Stomach has joined #silverstripe
592: [20:29:50] * ARNHOE quit (Remote host closed the connection)
593: [20:32:26] * lerni has joined #silverstripe
594: [20:38:49] * DigNZ1 has joined #silverstripe
595: [20:39:47] * robert_ quit (Read error: Connection reset by peer)
596: [20:40:10] * robert_ has joined #silverstripe
597: [20:40:10] * robert_ quit (Changing host)
598: [20:40:10] * robert_ has joined #silverstripe
599: [20:47:12] * UndefinedOffset quit (Quit: Leaving.)
600: [20:47:57] * violetina has joined #silverstripe
601: [20:49:00] * nickmolhoek has joined #silverstripe
602: [20:49:01] * nickmolhoek quit (Remote host closed the connection)
603: [20:49:18] * nickmolhoek has joined #silverstripe
604: [20:49:56] * Pyromanik has joined #silverstripe
605: [20:51:37] * zippy__ has joined #silverstripe
606: [20:51:58] * simon_w has joined #silverstripe
607: [20:56:56] * gelignite quit (Quit: http://bit.ly/nkczDT)
608: [20:57:20] * Nivery quit (Quit: Nivery)
609: [20:58:06] <zippy__> Morning
610: [20:58:08] <Pyromanik> so
611: [20:58:10] <Pyromanik> Emails
612: [20:59:03] <Pyromanik> host <shit mail server> said: 550 5.6.0 Lone CR or LF in headers (see RFC2822 section 2.2) (in reply to end of DATA command)
613: [20:59:18] <Pyromanik> didn't know there was a DATA command.
614: [20:59:48] <Pyromanik> oh
615: [20:59:52] <zippy__> yes ;)
616: [21:00:04] <zippy__> and it's ended with a . on it's own line
617: [21:00:21] <Pyromanik> message body
618: [21:00:28] <simon_w> Headers are \r\n separated
619: [21:00:30] <Pyromanik> no Data: header though
620: [21:00:47] <simon_w> That's saying you've only got one of them
621: [21:00:49] <Pyromanik> simon_w: I know.
622: [21:00:59] <Pyromanik> and must not contain crlf
623: [21:02:45] <Pyromanik> this is email sent by SS and forwarded by another server
624: [21:08:45] * BPower quit (Ping timeout: 276 seconds)
625: [21:17:20] <zippy__> no software patients for nz eh!
626: [21:17:30] <zippy__> patents rather :)
627: [21:25:10] * UncleCheese has joined #silverstripe
628: [21:38:58] <Pyromanik> oh, DATA is actually a protocol command.
629: [21:39:12] <Pyromanik> zippy__: is this news or a protest?
630: [21:39:22] <zippy__> news
631: [21:39:25] <Pyromanik> fuck yes!
632: [21:39:30] <Pyromanik> celebration time!
633: [21:39:40] * Pyromanik doesn't feel so bad for beer this early
634: [21:40:14] <zippy__> http://www.zdnet.com/new-zealand-bans-software-patents-7000019955/ -> New Zealand has finally passed a new Patents Bill that will effectively outlaw software patents after five years of debate, delay and intense lobbying from multinational software vendors.
635: [21:41:06] * Trooy has joined #silverstripe
636: [21:41:44] <Pyromanik> excellent
637: [21:41:53] * Nivery has joined #silverstripe
638: [21:41:53] <Pyromanik> now we'll get all the pirates to NZ!
639: [21:41:55] <Pyromanik> xD
640: [21:41:57] <Pyromanik> ermm
641: [21:42:04] <Pyromanik> cheap knockoff creators
642: [21:42:05] <Pyromanik> :P
643: [21:43:24] <zippy__> PlatinumStripe v1 coming up ;-)
644: [21:43:45] <Pyromanik> solid name
645: [21:43:49] <Pyromanik> OH DAT PUN
646: [21:43:59] * Pyromanik booms
647: [21:44:04] <guzzlefry> You can't legally fork SilverStripe?
648: [21:45:32] <Pyromanik> rofl, of course you can.
649: [21:45:45] <Pyromanik> we're making fun of your country.
650: [21:45:50] <guzzlefry> oh :(
651: [21:46:06] <Pyromanik> want to make a product but someone already patented something similar? Move to NZ!
652: [21:46:19] <Pyromanik> because software patents are bullshit.
653: [21:46:19] <guzzlefry> Software patents here are horrible.
654: [21:46:47] <guzzlefry> Software industry moves too fast for those to do anything but stiffle. :P
655: [21:46:49] <Pyromanik> Software patents anywhere are horrible
656: [21:47:04] <Pyromanik> Patents in general are just bullshit.
657: [21:47:27] <guzzlefry> I don't mind short ones.
658: [21:47:38] <guzzlefry> Like maybe a 10-15 year existence.
659: [21:47:47] * atmos has joined #silverstripe
660: [21:47:59] <guzzlefry> Long enough to put a product out. :P
661: [21:52:06] * UncleCheese quit (Quit: UncleCheese)
662: [21:55:08] <simon_w> 3D printers are about to have their core patents expire
663: [21:55:44] * willr has joined #silverstripe
664: [21:55:45] <simon_w> And then you get people who don't understand what a design patent is, and then they right these hilariously incorrect blog posts about them!
665: [21:55:59] * violetina quit (Remote host closed the connection)
666: [22:00:50] <atmos> bah - IE8 making all the fonts XXXXXXL
667: [22:04:50] <atmos> hmmm, anyone know why IE might randomly switch browser/document mode?
668: [22:05:03] <ss23> Nope!
669: [22:05:33] <atmos> Yay for corporate reliance on IE!
670: [22:06:35] <simon_w> Because the alternatives are so much better!
671: [22:07:52] <simon_w> The usual reason for IE to switch modes is a missing doctype, or a meta tag that tells it to
672: [22:09:24] <atmos> simon_w: :P yeah I believe there is a missing doctype
673: [22:10:08] * UncleCheese has joined #silverstripe
674: [22:10:24] * nickspiel has joined #silverstripe
675: [22:12:06] * Stomach quit (Read error: Connection reset by peer)
676: [22:12:18] * Stomach has joined #silverstripe
677: [22:13:17] <zippy__> simon_w: or a http header
678: [22:19:46] <atmos> looks like it just ignores all inhereted stylings
679: [22:19:58] <atmos> inheretid*
680: [22:20:04] <atmos> ugggghh
681: [22:23:54] * lerni quit (Remote host closed the connection)
682: [22:27:32] * nickspiel123 has joined #silverstripe
683: [22:28:19] <atmos> commented out doctype -_-
684: [22:29:55] * nickspiel quit (Ping timeout: 264 seconds)
685: [22:29:57] * nickspiel86 has joined #silverstripe
686: [22:32:06] * UncleCheese quit (Quit: UncleCheese)
687: [22:32:40] * nickspiel123 quit (Ping timeout: 256 seconds)
688: [22:34:20] * UncleCheese has joined #silverstripe
689: [22:38:33] <atmos> is that snow on the hills?
690: [22:41:10] <ss23> There's rain on the windows
691: [22:41:49] <atmos> ss23: connndennnsaaationnn
692: [22:42:04] <ss23> :D
693: [22:42:13] <simon_w> There's people wishing, once again, than the wall in front of them didn't have holes in it and the windows were double glazed
694: [22:42:37] * simon_w misses working in an actual office building
695: [22:42:49] <ss23> haha
696: [22:42:57] <ss23> I have no idea about the windows here, but IMO it's really warm inside
697: [22:43:25] <simon_w> They're at least double glazed
698: [22:43:25] <atmos> tis here too, although my desk faces away from the windows
699: [22:43:41] <simon_w> You also have rather decent zircon
700: [22:44:46] <atmos> the problem is most offices don't have sound proofing in the server rooms
701: [22:44:53] <atmos> THAT sucks
702: [22:45:41] <atmos> *first world problems
703: [22:45:45] <ss23> Server room? You mean meeting room with a lock on the door right?
704: [22:45:46] <ss23> :D
705: [22:45:57] <ss23> actually, tbh, our server room is pretty well soundproofed
706: [22:46:18] <simon_w> Cause that's what it was designed for
707: [22:46:28] <ss23> cool :D
708: [22:46:31] <simon_w> Rather than a spare closet
709: [22:46:34] <atmos> ss23: yeah ours is pretty sweet - the whole wall is a window with sound proofing
710: [22:46:45] <ss23> lol
711: [22:47:19] <atmos> I like to stand next to it and pretend I know what the lights mean
712: [22:47:46] <simon_w> Green is good :p
713: [22:49:44] <simon_w> Bah, keep forgetting to change the user Apache runs as when doing an OS update
714: [22:50:08] <atmos> simon_w: osx?
715: [22:50:17] <simon_w> yes
716: [22:50:57] <Pyromanik> is there a permission definition for logged in?
717: [22:51:03] <zippy__> simon_w: don't like using MAMP?
718: [22:51:06] <Pyromanik> LOGGED_IN?
719: [22:51:26] <simon_w> zippy__, ewwwwww
720: [22:51:28] <atmos> anyone here work solely on an Air?
721: [22:51:33] <zippy__> atmos: yes
722: [22:51:42] <atmos> zippy__: size?
723: [22:51:47] <zippy__> Pyromanik: Member::currentUser() ?
724: [22:51:49] <zippy__> 13"
725: [22:52:06] <zippy__> the 11" feels to much like a childs toy
726: [22:52:10] <atmos> zippy__: how does that work for you? I'm considering one for my freelance stuff
727: [22:52:11] <Pyromanik> zippy__: allowed_actions: mustbeloggedinfor: ??
728: [22:52:45] <zippy__> atmos: fine for me
729: [22:52:45] <simon_w> Pyromanik, 2.4?
730: [22:53:11] <zippy__> atmos: I do wish I had gone for the 256 hdd thou, but I use this lappy for everything
731: [22:53:22] <simon_w> *ssd
732: [22:53:30] <Pyromanik> simon_w: 3.1
733: [22:53:53] <atmos> zippy__: are they fairly easy to DIY? surely you could atleast get at the SSD...
734: [22:54:14] <simon_w> atmos, ahahahahahahahahaha
735: [22:54:29] <simon_w> The SSD chips are soldered directly to the logic board
736: [22:54:42] <atmos> simon_w: even the SSD? I knew the RAM was but...
737: [22:54:47] <simon_w> Yes
738: [22:54:50] <Pyromanik> it's an Air.
739: [22:54:53] <Stomach> i have a 11" air
740: [22:54:55] <Stomach> its great
741: [22:55:01] <ss23> I have a 6"
742: [22:55:03] <Stomach> but I also have a file server
743: [22:55:14] <simon_w> Why have something with a case that takes up a crapton of space when you can just solder the chips directly?
744: [22:55:23] <Pyromanik> ss23: 5:1/2" floppy?
745: [22:55:27] <atmos> simon_w: MAKES PERFECT SENSE
746: [22:55:30] <ss23> simon_w: For the case we're literally discussing right now, being able to upgrade it.
747: [22:55:33] <ss23> Like
748: [22:55:35] <ss23> You didn't even have to think hard for that
749: [22:55:52] <Pyromanik> ss23: IT'S AN AIR.
750: [22:55:56] <simon_w> Pyromanik, public function amLoggedIn() { return Member::logged_in_session_exists(); } allowed_actions ['blah' => '->amLoggedIn']
751: [22:56:08] <ss23> Pyromanik: I never said SPECIFIC TO THE AIR
752: [22:56:13] <ss23> Pyromanik: I said generally
753: [22:56:19] <Pyromanik> simon_w: so... that's a no on a pre-existing permissions code.
754: [22:56:20] <Pyromanik> tal
755: [22:56:22] <Pyromanik> ta*
756: [22:56:24] <zippy__> atmos: you can replace them, on the 2012 model which I have, it's $400usd thou
757: [22:56:30] * Pyromanik wonders how sitetree doesit
758: [22:56:45] <simon_w> ss23, you're talking generally in a conversation about something specific?
759: [22:56:45] * simon_w slow claps
760: [22:56:51] <simon_w> Pyromanik, canView()
761: [22:57:12] <Pyromanik> simon_w: yeh, I know, but I mean how as in how, not how as in which method :P
762: [22:57:24] * Pyromanik reads code
763: [22:57:37] <atmos> no thunderbolt SSD cases around the place?
764: [22:57:41] <simon_w> if($this->CanViewType == 'LoggedInUsers' && $member) { return true; }
765: [22:57:53] * nickspiel86 quit (Quit: Leaving)
766: [22:57:55] <simon_w> the falls down to return false;
767: [22:58:23] <ss23> atmos: Thunderbolt? Firewire? :3
768: [22:58:52] <simon_w> ss23, both better for external storage than USB
769: [22:58:59] <ss23> Agree
770: [22:59:05] <atmos> ss23: I don't know anymore, they're all just kerjjiggers to me now
771: [23:00:06] <simon_w> atmos, http://store.apple.com/nz/product/HA676ZM/A/lacie-256gb-ssd-rugged-thunderboltusb-30-solid-state-drive?fnode=5f&fs=f%3Dthunderbolt%26fh%3D3783%252B309a
772: [23:00:26] <atmos> simon_w: nice
773: [23:00:52] <simon_w> Though usually you want external storage to be big, so don't have SSDs
774: [23:01:21] <Pyromanik> how to make framework give a 404 on non match controller?
775: [23:01:40] * nhorstmeier has joined #silverstripe
776: [23:01:50] <simon_w> Pyromanik, it does?
777: [23:01:52] <atmos> simon_w: true - although I'm just thinking of an Air interms of somehow cheaply extending it's storage
778: [23:01:54] <simon_w> Just not a pretty one
779: [23:02:03] <Pyromanik> it tells me there's no URL
780: [23:02:10] <Pyromanik> But I want it to just issue 404 no content
781: [23:02:42] * spronk has joined #silverstripe
782: [23:02:49] <simon_w> Edit the return at the end of Director::handleRequest?
783: [23:03:06] <simon_w> Bitch at ajshort for not making it translatable?
784: [23:03:08] <Pyromanik> hacking core :<
785: [23:03:25] <Pyromanik> there should just be a hook eh
786: [23:03:34] <Pyromanik> ss23: didnt' you do something with this?
787: [23:03:47] <simon_w> Have a '$Blah': 'Handle404Controller' base route?
788: [23:04:04] <Pyromanik> I suppose I could
789: [23:04:25] <Pyromanik> but then wouldn't that override '*': Controller ?
790: [23:04:48] <Pyromanik> ie, I'd have to set up hard routes to all my other controllers?
791: [23:05:00] <simon_w> Well, you're going to have to do that with 3.2 anyway
792: [23:05:05] <Pyromanik> o.0
793: [23:05:23] <Pyromanik> so site/ControllerClassName will no longer work?
794: [23:05:37] <simon_w> Yes
795: [23:05:50] <Pyromanik> yes it won't work :<
796: [23:06:03] <ss23> Pyromanik: I didn't work on this :O
797: [23:06:13] <ss23> Pyromanik: I worked on old page redirector, which I still need to finish the patch for
798: [23:06:19] <Pyromanik> which you do!
799: [23:07:49] <ss23> SO CALL ME MAYBE~
800: [23:07:55] <spronk> HEY
801: [23:07:56] <ss23> IT'S HARD TO LOOK RIGHT AT YOU BABY
802: [23:07:58] <ss23> BUT HERE'S MY BABY
803: [23:07:59] <spronk> I JUST MEWT YOU
804: [23:08:03] <ss23> SO CALL ME MAYBE
805: [23:08:10] <ss23> AND ALL THE OTHER BOYS TRY TO CHASE ME~
806: [23:08:15] <ss23> BUT HERE'S MY NUMBER, SO CALL ME MAYBE
807: [23:08:17] * spronk DANCES FANATICALLY
808: [23:08:18] <ss23> goddam office speakers.
809: [23:09:18] <atmos> *reaches for headphones+metal playlist*
810: [23:09:32] <ss23> ^^^^^^
811: [23:09:45] <simon_w> Ha, iTunes started playing Rebecca Black have way through your butchering of that song
812: [23:10:20] <ss23> It's all fine when people pay music like this, but I start some Opeth and everyone is like "WAH"
813: [23:10:20] <Pyromanik> Today is Thursday, tomorrow will be FRIDAY FRIDAY FRIDAY
814: [23:10:31] <Pyromanik> Opeth!
815: [23:10:41] <Pyromanik> ss23: give them some plauge of butterflies
816: [23:10:44] <simon_w> Wrong song :p
817: [23:10:53] * nhorstmeier quit (Remote host closed the connection)
818: [23:11:02] <Pyromanik> ss23:
819: [23:11:03] <Pyromanik> http://vimeo.com/14875835
820: [23:11:19] <atmos> Revocation!
821: [23:11:30] <atmos> *no one matches highfive*
822: [23:11:34] <Pyromanik> Or better, just chuck on some dimmu
823: [23:12:27] * ss23 listens
824: [23:12:27] <spronk> SERIOUSLY SIMON_W
825: [23:12:34] <spronk> why do you a) have rebecca black songs
826: [23:12:34] <spronk> and
827: [23:12:37] <spronk> b) have MORE THAN ONE
828: [23:12:42] <simon_w> spronk, I have them all!
829: [23:12:43] <ss23> spronk: simon_w is pop incarnate
830: [23:12:45] <simon_w> Because I like them
831: [23:12:50] <atmos> wait, there ARE more songs?
832: [23:12:52] <spronk> GET OUT!
833: [23:12:57] <Pyromanik> I do like Fridays.
834: [23:13:22] <Pyromanik> ss23: it starts out mellow, you could sneak it on and people would think it's great...
835: [23:13:28] <Pyromanik> AN DEN...
836: [23:13:59] <atmos> screaming isn't singing guys
837: [23:14:09] <simon_w> spronk, https://files.app.net/hq6coFyX.png
838: [23:14:13] * guci0 quit (Ping timeout: 250 seconds)
839: [23:14:54] <spronk> you disgust me.
840: [23:15:15] <simon_w> Good for you!
841: [23:15:24] <batbadger> :O
842: [23:15:26] <Pyromanik> atmos: it's not screaming, it's growling.
843: [23:15:32] <batbadger> i thought u was hardcore simon_w
844: [23:15:50] <Pyromanik> he is.
845: [23:16:51] <simon_w> My music tastes would make me a good Stig
846: [23:17:07] <spronk> Rebecca black?
847: [23:17:14] * spronk disagrees vehemontly
848: [23:17:22] <spronk> e*
849: [23:17:50] <simon_w> Yes, my entire music tastes consists of six songs
850: [23:17:53] <atmos> Pyromanik: ;)
851: [23:18:07] <atmos> No breakdowns? NOT MUSIC
852: [23:18:09] <spronk> My point was more, the inclusion of any Rebecca Black at all nulls anything ever.
853: [23:18:14] <batbadger> i'm looking at this 2.6k ipad speaker
854: [23:18:17] <batbadger> and going wtf
855: [23:18:20] <Pyromanik> dat doof doof
856: [23:18:30] <batbadger> if i went and bought it, i'd probably need a roundhouse to the face
857: [23:18:39] <batbadger> http://www.beoplay.com/Products/BeoplayA9
858: [23:18:47] <ss23> Pyromanik: pretty good song you linked on vimeo
859: [23:19:20] <simon_w> spronk, have you listened to any of her later songs without confirmation bias?
860: [23:20:05] <Pyromanik> URGH CIRCULAR DOCS
861: [23:20:10] <Pyromanik> ss23: ikr
862: [23:20:14] <Pyromanik> it's completely amazeballs
863: [23:21:58] <Pyromanik> ss23: Perfection or Vanity is also good.
864: [23:22:24] <Pyromanik> a little more intense though.
865: [23:22:25] <Pyromanik> http://www.youtube.com/watch?v=zoA2xYmNS1k
866: [23:22:47] <atmos> never was a dimmu fan
867: [23:23:10] <Pyromanik> www.youtube.com/watch?v=09gAPZ2g0T4
868: [23:23:14] <Pyromanik> atmos: neither was I
869: [23:23:38] <atmos> now, Altar of Plagues... :D
870: [23:23:48] <Pyromanik> ol SilverSphere put me onto InFlames
871: [23:23:50] <Pyromanik> so good
872: [23:24:06] <atmos> Darkest Hour > InFlames
873: [23:24:30] <Pyromanik> Jorn
874: [23:24:36] <Pyromanik> man that guy got lungs.
875: [23:24:45] <ss23> In Flames has yucky vocals imo
876: [23:25:00] <Pyromanik> Deamons and Wizards
877: [23:26:57] <Pyromanik> why does framework create permissions CMS_ACCESS_CMSMain
878: [23:27:02] <atmos> http://www.youtube.com/watch?v=3Ti9j_2J56k
879: [23:27:03] <Pyromanik> CMS_ACCESS_AssetAdmin
880: [23:27:09] <Pyromanik> CMS_ACCESS_ReportAdmin
881: [23:27:10] <Pyromanik> etc
882: [23:27:11] <Pyromanik> :<
883: [23:28:51] <guzzlefry> damnit
884: [23:29:00] <guzzlefry> Giant headache because I forgot to flush!
885: [23:29:20] <Pyromanik> SITETREE_REORGANISE :<
886: [23:29:27] <Pyromanik> y u clutter my permissions
887: [23:29:30] <Pyromanik> :S
888: [23:30:17] * DigNZ1 quit (Quit: DigNZ1)
889: [23:34:31] * mirrors has joined #silverstripe
890: [23:36:00] <Pyromanik> does it possible to use YAML to hook up permissions instead of implenting an interface that basically just returns K:V pairs?
891: [23:36:48] <mirrors> hey everyone...does anyone know how I can import recipients into a particular mailing list when using the newsletter module....I can only imprort from CSV into the "All Recipients" tab...but then i need to go through 500 recipients manually and associate then to the mailinglist
892: [23:37:25] * chillu quit (Quit: chillu)
893: [23:55:15] <Pyromanik> allowed_actions, gets checked in request rather than controller huh?
894: [23:55:44] * Colin[pi] has joined #silverstripe
895: [23:56:16] * zippy__ quit (Ping timeout: 264 seconds)

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