#silverstripe IRC Log

IRC log for 31 March 2014

All timestamps are in UTC.

1: [00:00:48] <Zauberfisch> nicolaas: perhaps this module might also contain some interesting parts for you:
2: [00:00:51] <Zauberfisch> https://github.com/arambalakjian/DataObject-as-Page
3: [00:01:17] <nicolaas> thank you... ZF!
4: [00:02:38] <nicolaas> I am sure I can do it , but I dont want to take like five hours just to add a button and an action ;-)
5: [00:02:49] <nicolaas> I wish it was like 10 minutes.
6: [00:04:02] * nickmolhoek has joined #silverstripe
7: [00:08:08] * an_Eskimo quit (Ping timeout: 245 seconds)
8: [00:10:51] * UncleCheese_ has joined #silverstripe
9: [00:15:08] * UncleCheese_ quit (Ping timeout: 246 seconds)
10: [00:19:27] <Colin[pi]> hay Ryan-Toast
11: [00:19:34] <Ryan-Toast> Colin[pi]: What’s up?
12: [00:19:43] <simon_w> Mmm, toast
13: [00:19:52] <Colin[pi]> hai! ^_^ do u know of a good site to grab some nicely tiling textured bgs?
14: [00:19:59] <Colin[pi]> subtle background images
15: [00:20:07] <Colin[pi]> like paper, parchment etc.
16: [00:20:07] <Ryan-Toast> http://subtlepatterns.com/
17: [00:20:10] <Colin[pi]> LOL
18: [00:20:17] <Colin[pi]> srsly?
19: [00:20:20] <Colin[pi]> wow srsly
20: [00:20:21] <Ryan-Toast> yes
21: [00:20:30] <Ryan-Toast> :P
22: [00:20:38] <Colin[pi]> perfect
23: [00:20:40] <Colin[pi]> thank you good sir
24: [00:20:48] <Ryan-Toast> They have a photoshop brush plugin too.
25: [00:20:57] <Ryan-Toast> which is baller out of control.
26: [00:21:07] <Colin[pi]> exactly what I was after, nailed it sir
27: [00:21:55] <Ryan-Toast> Man, they’ve added heaps since I last went there. Got some cool stuff.
28: [00:22:02] <Colin[pi]> nice, in browser preview
29: [00:22:25] <Ryan-Toast> Anyone going to the Auckland meetup this week?
30: [00:23:43] <Colin[pi]> yes... no
31: [00:23:43] * UncleCheese quit (Quit: UncleCheese)
32: [00:23:46] <Colin[pi]> I would like
33: [00:24:15] <simon_w> Colin[pi], have a Canberra meet-up in a month. It will be noticeably bigger!
34: [00:24:25] <Colin[pi]> is there?
35: [00:24:36] <simon_w> If someone organises one
36: [00:24:40] <Colin[pi]> oh
37: [00:24:41] <Colin[pi]> :D
38: [00:24:50] <Colin[pi]> it's usually when Shane is in town
39: [00:24:58] <Colin[pi]> he pays for the drinks ;P
40: [00:25:17] <simon_w> We should have a Canberra hackfest! :p
41: [00:25:50] <Colin[pi]> last time I talked with him he was saying about the increasing SS activity here
42: [00:26:14] <Ryan-Toast> what woud you do at a SS hackfest?
43: [00:26:21] <simon_w> Build stuff
44: [00:26:24] <Colin[pi]> eat pizza
45: [00:26:27] <Ryan-Toast> Like what?
46: [00:26:32] <simon_w> Whatever you wanted
47: [00:26:38] <simon_w> New features, bug fixes
48: [00:26:49] <simon_w> Ponies
49: [00:26:58] <Colin[pi]> Ryan-Toast: it's basically a social thing for devs to get together with food/drink and build whatever they want as quickly as poss
50: [00:27:13] <Colin[pi]> sometimes that stuff will turn into something more, sometimes not
51: [00:27:16] <Ryan-Toast> I’ve just never been to one is all.
52: [00:27:25] <Ryan-Toast> So they don’tr have a theme or anything?
53: [00:27:28] <Ryan-Toast> You just build something
54: [00:27:32] <Colin[pi]> yep!
55: [00:27:36] <Colin[pi]> well, sometimes there is a theme
56: [00:28:33] <Ryan-Toast> Id remake squatbattles
57: [00:30:51] <Ryan-Toast> I’m so glad I need a microsoft account for skype now, makes things SO EASY TO DO WHEN YOU DON’T KNOW YOUR PASSWORD
58: [00:31:47] <ss23> past themes have been 3.1 release!
59: [00:32:54] <Ryan-Toast> all of them?
60: [00:33:45] <ss23> XD
61: [00:33:48] <ss23> one of them! :P
62: [00:42:38] <Zauberfisch> gents, I am stuck
63: [00:42:54] <Zauberfisch> I am trying to curl something (POST) to 127.0.0.1
64: [00:43:07] <Zauberfisch> but it never gets there
65: [00:43:16] <Zauberfisch> result is 500 with empty body
66: [00:43:36] <Zauberfisch> is there something obvious that I am missing?
67: [00:43:46] <ss23> Hmm
68: [00:43:51] <ss23> I would check error logs and talk to sysadmin
69: [00:43:54] <ss23> Unless you are sysadmin
70: [00:43:58] <Zauberfisch> like "don't curl to 127.0.0.1 because it can't handle it"
71: [00:44:05] * joelpittet has joined #silverstripe
72: [00:44:08] <Zauberfisch> well, local test VM
73: [00:44:14] <Zauberfisch> so I sortof am the sysadmin
74: [00:46:23] <Zauberfisch> great, when I do curl by hand the status code is 0
75: [00:46:33] <Zauberfisch> feels like backwards progress
76: [00:46:48] <Zauberfisch> by hand I mean not using bloody restfulservice
77: [00:47:32] <Zauberfisch> hold on
78: [00:49:51] <Zauberfisch> no, I do have curl installed
79: [00:49:53] <Zauberfisch> ok, confirmed. curl is installed an loaded
80: [00:55:11] <Zauberfisch> omg ...
81: [00:55:17] <Zauberfisch> wrong port
82: [00:55:21] <Zauberfisch> I am a bloody idiot
83: [00:58:37] * k_fish quit (Quit: Leaving)
84: [01:01:30] <Zauberfisch> hooray
85: [01:01:32] <Zauberfisch> its working
86: [01:19:39] * ss-log has joined #silverstripe
87: [01:24:22] * joelpittet quit ()
88: [01:26:24] * spronk has joined #silverstripe
89: [01:28:57] <danfo> hey zippy__
90: [01:30:44] <danfo> worked out my /admin login issue !# I was using Director::setBaseURL to set my domain, for stuff to load from the right protocol
91: [01:31:25] <Zauberfisch> Jakx: hmmm
92: [01:31:28] <Zauberfisch> running out of ideas
93: [01:31:42] <danfo> not realising that it would break my cookies by changing the path
94: [01:31:57] <danfo> boom! success :)
95: [01:33:20] <Jakx> Zauberfisch, yeah I just added an if statement to a custom with statement in the template
96: [01:33:38] <Jakx> Disappointing that the framework didn't manage it on it's own, but I don't have time to debug sadly.
97: [01:35:33] * Tanger has joined #silverstripe
98: [01:36:51] <simon_w> Jakx, is this inside the CMS?
99: [01:36:54] * Tanger quit (Client Quit)
100: [01:37:18] * Tanger has joined #silverstripe
101: [01:38:36] <Colin[pi]> rofl: http://i.imgur.com/hhJMykD.jpg
102: [01:39:00] <Jakx> simon_w, nah it's not
103: [01:39:13] <Jakx> Zauberfisch, simon_w, solved it.
104: [01:39:22] <Jakx> I had typed ?fush
105: [01:39:32] <Jakx> *facepalm
106: [01:40:30] <Zauberfisch> :)
107: [01:40:59] <simon_w> Go for some chups next? :p
108: [01:41:05] <Colin[pi]> lol
109: [01:41:57] <Jakx> simon_w, lol
110: [01:43:05] <Zauberfisch> what are chups? :O
111: [01:43:21] <Colin[pi]> New Zealand chips
112: [01:43:32] <Colin[pi]> goes together with fish (fush)
113: [01:43:34] <zippy__> Jakx: Zauberfisch: perhaps you forgot to flush after adding them
114: [01:43:35] <Jakx> i.e fush & chups
115: [01:43:36] <Colin[pi]> fush und chups
116: [01:43:39] <Ryan-Toast> For ghosts only
117: [01:43:56] <Jakx> zippy__, I believe we have established that I didn't flush after adding them :(
118: [01:43:58] <Zauberfisch> haha
119: [01:44:06] <Jakx> zippy__, appreciate the suggestion none the less :)
120: [01:44:15] <Ryan-Toast> Why would you flush chups?
121: [01:44:48] <zippy__> Jakx: now you must stay here and anyone that comes in with a problem you check they're flushed :) solves 9/10 issues. Makes ya wonder if the whole flush thing should just be dropped altogether
122: [01:45:09] <Zauberfisch> actually a good point
123: [01:45:19] <Zauberfisch> simon_w: can we make the bot ask people to flush on join?
124: [01:45:29] <simon_w> Zauberfisch, no
125: [01:45:38] <Jakx> lol
126: [01:46:04] <zippy__> Zauberfisch: Bot: Before asking a question please make sure you flush, dev/build and then flush again
127: [01:46:12] <zippy__> Then restart, and flush again
128: [01:46:22] <Jakx> Would there be a redundancy check for typos... e.g "Have you typed ?fush by mistake?"
129: [01:48:15] <Colin[pi]> "It looks like you're trying to flush, would you like help with that?"
130: [01:48:21] <Colin[pi]> SS clippy
131: [01:48:49] * UncleCheese has joined #silverstripe
132: [01:49:16] <Zauberfisch> I am going for a walk, cya later
133: [01:50:37] * an_Eskimo has joined #silverstripe
134: [01:51:13] <an_Eskimo> has anyone had an issue where the save and publish buttons disappear?
135: [01:51:39] <simon_w> an_Eskimo, that happens when you're not allowed to save/publish the page
136: [01:52:24] <an_Eskimo> Okay, sweet.
137: [01:52:36] <an_Eskimo> Thank you simon_w
138: [01:56:53] * an_Eskimo quit (Ping timeout: 245 seconds)
139: [02:17:32] <simon_w> ss23, Damian really doesn't know how to do releases, does he? Pull requests for translation updates and everything
140: [02:21:08] <Ryan-Toast> why can I get the croppedImage() of a many_many => image but not the link?
141: [02:24:11] <Ryan-Toast> or normal $Image for that matter?
142: [02:25:53] * danfo quit (Quit: danfo)
143: [02:26:56] <ss23> simon_w: Indeed he does not. This is first time, and I don't see you helping him! :P
144: [02:32:40] * Stomach quit (Read error: Connection reset by peer)
145: [02:37:35] * UncleCheese_ has joined #silverstripe
146: [02:45:29] <Zauberfisch> UncleCheese_: did you get the timefield working yesterday?
147: [02:48:10] <simon_w> Yay! pocketrent.com's now on HHVM!
148: [02:49:57] <ss23> Nice!
149: [02:49:57] <ss23> :D
150: [02:50:03] <ss23> live?
151: [02:50:05] <Jakx> simon_w, how great is the performance difference?
152: [02:50:11] <simon_w> Yes
153: [02:50:13] <simon_w> Jakx, lots
154: [02:50:24] <ss23> >500ms home page load
155: [02:50:29] <ss23> so speedy
156: [02:50:29] <ss23> NOT
157: [02:50:30] <ss23> LOOOOL
158: [02:50:47] <ss23> 650ms that time!
159: [02:50:48] <Ryan-Toast> simon_w: #FooterLinks text-align center when not in mobile.
160: [02:50:57] <ss23> aw *snap* 1.55s
161: [02:51:03] <ss23> simon_w: Thought you said this was faster?
162: [02:51:04] <simon_w> Ryan-Toast, bitch to Mark
163: [02:51:06] <ss23> How slow was it before! :O
164: [02:51:11] <simon_w> ss23, what's wrong with your connection?
165: [02:51:19] <ss23> Nothing, IRC is mega fast, so is everything else
166: [02:52:12] <simon_w> I regularly get <250ms
167: [02:53:16] * Azure has joined #silverstripe
168: [02:55:45] <simon_w> ss23, fixed your connection yet? :p
169: [02:57:22] <ss23> Can't fix your slow site with my connection sorry, simon_w!
170: [02:57:23] <ss23> :3
171: [02:57:39] <simon_w> Yeah, it's not the site's that slow
172: [02:57:52] <ss23> Yeah yeah
173: [02:57:53] <ss23> :P
174: [03:04:44] * violetina quit (Remote host closed the connection)
175: [03:06:00] * UncleCheese_ quit (Quit: UncleCheese_)
176: [03:08:38] <zippy__> wow so the solution to my poor facebook and wikipedia loading… was to disable ipv6 on the router...
177: [03:09:33] <zippy__> simon_w: getting 1 second response for just the html on https://pocketrent.com/
178: [03:10:35] <zippy__> even https://pocketrent.com/themes/pocketrent2/images/logo.png is 800ms :S
179: [03:18:13] * travis-ci has joined #silverstripe
180: [03:18:13] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2239 (3.0 - 21f50f4 : Damian Mooyman): The build passed.
181: [03:18:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3e05ccb9b795...21f50f44e5d7
182: [03:18:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21911720
183: [03:18:13] * travis-ci has left #silverstripe
184: [03:24:38] <Colin[pi]> no pls client, pls call me to give me a hurry up on something I've already said will be coming later today, pls continue to call, I love it
185: [03:25:37] * CodeTrap quit (Ping timeout: 240 seconds)
186: [03:26:34] * CodeTrap has joined #silverstripe
187: [03:26:38] <zippy__> Colin[pi]: It's motivational
188: [03:27:15] <Colin[pi]> zippy__: I should return the favour when it's invoice time
189: [03:27:28] <Colin[pi]> "have you paid the bill yet? have you? have you paid yet?"
190: [03:28:38] <Ryan-Toast> Colin[pi]: Please send me emails with multiple font sizes and colors, RED REALLY MAKES ME READ WHAT YOU’RE SAYING
191: [03:29:31] <Colin[pi]> >_<
192: [03:38:41] * cloph_away has joined #silverstripe
193: [03:38:56] * cloph quit (Ping timeout: 245 seconds)
194: [03:43:35] * travis-ci has joined #silverstripe
195: [03:43:35] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#815 (3.1 - 4d48c48 : Ingo Schommer): The build passed.
196: [03:43:35] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/ab78198946e5...4d48c48aa8b5
197: [03:43:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21912231
198: [03:43:35] * travis-ci has left #silverstripe
199: [03:44:44] * travis-ci has joined #silverstripe
200: [03:44:45] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2240 (3.1 - 7d0f03a : Ingo Schommer): The build passed.
201: [03:44:45] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/1d5706f15ced...7d0f03a45465
202: [03:44:45] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21912297
203: [03:44:45] * travis-ci has left #silverstripe
204: [03:49:57] * travis-ci has joined #silverstripe
205: [03:49:57] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2241 (3.0 - cf2a314 : Damian Mooyman): The build passed.
206: [03:49:57] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/21f50f44e5d7...cf2a314a50a2
207: [03:49:57] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21912484
208: [03:49:57] * travis-ci has left #silverstripe
209: [03:57:50] <ss23> hueheuhueh https://github.com/opencart/opencart/issues/1269
210: [04:02:35] <Colin[pi]> ss23: ITT devs being butthurt?
211: [04:03:02] <Zauberfisch> ss23: haha
212: [04:04:02] <zippy__> ITT?
213: [04:04:07] <ss23> in this thread
214: [04:04:08] <Colin[pi]> "in this thread"
215: [04:04:37] * UncleCheese quit (Quit: UncleCheese)
216: [04:08:11] * nickmolhoek1 quit (Quit: nickmolhoek1)
217: [04:23:16] * Ryan-Toast quit (Quit: Ryan-Toast)
218: [04:32:31] * travis-ci has joined #silverstripe
219: [04:32:31] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2242 (tmp-3.0.10 - cf2a314 : Damian Mooyman): The build passed.
220: [04:32:31] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/tmp-3.0.10
221: [04:32:31] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21915076
222: [04:32:31] * travis-ci has left #silverstripe
223: [04:37:53] * travis-ci has joined #silverstripe
224: [04:37:53] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#816 (tmp-3.0.10 - 2804331 : Damian Mooyman): The build passed.
225: [04:37:53] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/tmp-3.0.10
226: [04:37:53] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21915088
227: [04:37:53] * travis-ci has left #silverstripe
228: [04:38:01] <Colin[pi]> holy hell tractorcow's parameterised ORM PR is abso-frickin-lutely huge
229: [04:38:27] * DesignerX has joined #silverstripe
230: [04:38:31] <Colin[pi]> (old I know, just looking at it on github)
231: [04:38:32] <simon_w> That's one way of putting it
232: [04:38:58] <Colin[pi]> 169 changed files :o
233: [04:45:24] * travis-ci has joined #silverstripe
234: [04:45:24] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2243 (3.0.10-rc1 - cf2a314 : Damian Mooyman): The build passed.
235: [04:45:24] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/3.0.10-rc1
236: [04:45:24] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21915398
237: [04:45:24] * travis-ci has left #silverstripe
238: [04:49:19] * Shrike_Finland has joined #silverstripe
239: [04:49:59] * travis-ci has joined #silverstripe
240: [04:50:00] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#817 (3.0.10-rc1 - 2804331 : Damian Mooyman): The build passed.
241: [04:50:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/3.0.10-rc1
242: [04:50:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21915404
243: [04:50:00] * travis-ci has left #silverstripe
244: [04:50:33] * Shrike_Finland quit (Client Quit)
245: [04:54:45] <ss23> hmm
246: [04:54:55] <ss23> /dev/build is stalling without an error message when run from CLI
247: [04:55:27] <Zauberfisch> sake /dev/build flush=1 runs just fine for me
248: [04:55:49] <ss23> Yeah, this is probably project specific, just weird
249: [04:55:52] <ss23> I'm not sure how best to debug
250: [04:55:56] <ss23> I bet xdebug would tell me...
251: [04:56:11] <ss23> Then again, it is using 100% CPU, maybe I should leave it for 15 minutes...
252: [04:58:59] <Colin[pi]> no timeout?
253: [04:59:15] <ss23> Oh it finished
254: [04:59:15] <ss23> :D
255: [04:59:19] <Colin[pi]> \o/
256: [04:59:24] <ss23> s/stalled/taking a long time/
257: [04:59:30] <Colin[pi]> how long is long?
258: [05:00:32] <ss23> no idea
259: [05:01:47] <Colin[pi]> no but how long did it run for?
260: [05:03:24] <Colin[pi]> holy shit my ajax worked
261: [05:03:29] <Colin[pi]> that like, never happens
262: [05:03:34] <Colin[pi]> :o
263: [05:04:16] * chrisrio has joined #silverstripe
264: [05:04:42] <ss23> XD
265: [05:04:43] <ss23> No idea
266: [05:04:46] <ss23> I think maybe like 5 mins
267: [05:04:51] <ss23> slow vm is slow!
268: [05:04:52] <chrisrio> i've got a weird one. :/
269: [05:04:55] <Colin[pi]> hmm kinda long isn't it?
270: [05:04:59] <ss23> I hate weird ones, chrisrio :(
271: [05:05:04] <chrisrio> same G, same :P
272: [05:05:17] <chrisrio> ive got an ecom store using swipestripe - some prices for some products vanished
273: [05:05:22] <chrisrio> so I check the DB - theyre still there
274: [05:05:30] <chrisrio> so I copy the DB and flat files, and make a local copy
275: [05:05:37] <chrisrio> and boom, the prices are there on the local copy
276: [05:05:39] <chrisrio> riddle me that!
277: [05:05:39] <Colin[pi]> draft/live probs?
278: [05:05:57] <chrisrio> hrm..
279: [05:06:25] <chrisrio> if that was the case im not sure why a clone wouldnt display the same problems
280: [05:06:33] <chrisrio> these are products that have been published for some time
281: [05:06:49] <chrisrio> I feel like its a swipestripe bug,.
282: [05:06:54] <Colin[pi]> dunno man that's the first thing that came to mind
283: [05:07:03] <chrisrio> yeah, sorta makes sense :P
284: [05:07:20] <Colin[pi]> I'm also building a shop, but in ss-shop.. had a similar prob
285: [05:07:24] <Colin[pi]> was draft/live
286: [05:07:25] <Colin[pi]> :D
287: [05:08:31] <chrisrio> just had a bunch of unpublished products?
288: [05:08:41] <chrisrio> or did you just republish em?
289: [05:09:06] <chrisrio> I junda dont want to hit the publish button on these products incase it writes the 0 prices to the db :P
290: [05:09:11] <chrisrio> even though ive backed it up..
291: [05:09:45] <Colin[pi]> I was running an importer that was just going to draft but not live, so was "wtf" for a while when it didn't seem to appearing on the site
292: [05:09:55] <Colin[pi]> then realised... "ahhhh, that's why"
293: [05:10:42] <jedateach> the staging/versioning of products has pros and cons
294: [05:11:04] <chrisrio> ahh right yeah
295: [05:11:07] <Colin[pi]> speak of the devil, here's jedateach :D
296: [05:11:13] <jedateach> :)
297: [05:11:14] <chrisrio> tbh im pretty sure its a SWS bug
298: [05:11:25] <chrisrio> its my variation prices that are borked
299: [05:11:47] <Colin[pi]> jedateach: while I have you, does ss-shop currently have the ability to show the price of selected variations before adding to cart?
300: [05:12:19] <jedateach> it can give a range, or display a table of prices
301: [05:12:25] <jedateach> but no javascript based selection
302: [05:12:35] <Colin[pi]> jedateach: cool, cause I'm doing that atm
303: [05:12:44] <Colin[pi]> wanted to make sure I wasn't doing something that I didn't need to
304: [05:14:27] <jedateach> @Colin[pi] : fyi: https://github.com/burnbright/silverstripe-shop/issues/232
305: [05:15:10] <Colin[pi]> cool I'll check it out
306: [05:18:04] <chrisrio> nevermind Gz
307: [05:18:05] <chrisrio> sorted it.
308: [05:22:46] * chr1stopher has joined #silverstripe
309: [05:25:01] <ss23> showtemplate=1 isn't showing any templates! :(
310: [05:25:04] <ss23> ;_;
311: [05:25:05] <ss23> Help me Colin[pi]
312: [05:25:07] <ss23> What's wrong?!
313: [05:25:09] <ss23> WHY IS IT DOING THIS TO ME?
314: [05:25:25] * Colin[pi] holds ss23
315: [05:25:36] <ss23> Baby don't hurt me
316: [05:25:38] <Colin[pi]> sshh shh shh, there there now
317: [05:25:52] <ss23> srsly idk why this isn't working I hate the SS templating system it sucks
318: [05:25:53] <ss23> :(
319: [05:26:56] <Colin[pi]> is it that, or is it that it's not seeing the showtemplate getvar for some reason?
320: [05:33:34] <ss23> It looked like some weird issue where set_theme was being set on a theme that didn't exist so it was defaulting to another theme but the showtemplate was doing weird stuff
321: [05:33:46] <ss23> Long story short, the theme was set incorrectly, and as a result, I couldn't use showtemplate=1
322: [05:33:50] <ss23> I vote "bad code" on whoever made it
323: [05:42:10] * chrisrio quit (Quit: Page closed)
324: [05:52:32] * chr1stopher has left #silverstripe
325: [05:54:16] * Shrike_Finland has joined #silverstripe
326: [06:04:37] <Colin[pi]> which ajax loader gif do I use
327: [06:04:40] <Colin[pi]> SO MANY CHOICES
328: [06:04:45] <ss23> XD
329: [06:04:56] <ss23> I'm sure you could find a billion conflicting UX studies telling you which one to use
330: [06:05:00] <ss23> :P
331: [06:05:08] <Colin[pi]> ehhh I just went for the spinning circular arrows
332: [06:09:06] <ss23> psh
333: [06:09:15] <ss23> but this new study shows that users think it goes faster if you use the sliding sausageS!
334: [06:15:22] <Colin[pi]> sliding sausages? where did that start, bangbros?
335: [06:15:28] <simon_w|air> Paint it red. Then it goes faster!
336: [06:15:58] <ss23> XD
337: [06:26:55] * lab-notes quit (Ping timeout: 255 seconds)
338: [06:29:30] * lab-notes has joined #silverstripe
339: [06:32:24] * Colin[pi] quit (Ping timeout: 255 seconds)
340: [06:32:39] * zippy__ quit (Ping timeout: 265 seconds)
341: [06:34:07] * Guest_____ has joined #silverstripe
342: [06:37:08] <Guest_____> Hi all. I've problems with file uploads from cms. The response I get is a 403: Not logged in. Any clue what may cause this?
343: [06:37:17] <ss23> Not being logged in!
344: [06:37:37] <ss23> Guest_____: Refresh the page and try again. If it still happens, no idea
345: [06:38:12] <Guest_____> I'm logged in. Reloaded and all. No luck.
346: [06:38:59] <Guest_____> tmp_upload_dir has no value, can that has anything to do with this_
347: [06:39:09] <ss23> Maybe, but I wouldn't think so
348: [06:39:27] <ss23> Sorry, I really don't know off hand. Maybe checking webserver logs might turn up something interesting though
349: [06:40:38] * Shrike_Finland quit (Quit: Leaving.)
350: [06:41:16] <ss23> bah
351: [06:41:28] <ss23> Mr Mooman did a 3.0.10-rc1 release but not a 3.1.4-rc1
352: [06:41:29] <ss23> :/
353: [06:41:30] <Guest_____> Thanks anyway. Logs doesn't show anything interesting.
354: [06:59:35] * zippy___ has joined #silverstripe
355: [06:59:59] * zippy___ is now known as Guest96642
356: [07:00:03] <Guest96642> ffuu
357: [07:00:21] * Guest96642 is now known as zippy__
358: [07:07:12] * UncleCheese has joined #silverstripe
359: [07:09:34] <Guest_____> Anyone knows where the cms does auth check on file upload?
360: [07:09:48] <ss23> Doesn't have a specific one on file upload, it's just the normal spinup stuff
361: [07:09:55] <ss23> I have no idea where it is off hand though sorry
362: [07:11:30] <Guest_____> quite irritating this...
363: [07:13:24] <Guest_____> Guess the easy way would be to change hosting. They havn't really made a great impression to me at all so far.
364: [07:14:39] <ss23> Does it work locally or on one of your development machines? That might help narrow it down (weird code issue, or hosting etc)
365: [07:15:23] * Shrike_Finland has joined #silverstripe
366: [07:15:58] <Guest_____> Yeah it works, locally and on another shared host. So I guess it's some kind of config issue at this particular server.
367: [07:25:29] * babak has joined #silverstripe
368: [07:48:51] * ARNHOE has joined #silverstripe
369: [07:51:18] * chr1stopher has joined #silverstripe
370: [07:55:55] * kinglozzer has joined #silverstripe
371: [07:56:33] * kerosene quit (Ping timeout: 255 seconds)
372: [07:59:19] * greseky has joined #silverstripe
373: [08:01:09] <greseky> hey guys, does anybody knows why i can get Children() in frontend of some object only if i am logged in cms?
374: [08:02:26] * yuka has joined #silverstripe
375: [08:06:04] <greseky> anybody?
376: [08:06:06] <greseky> hey guys, does anybody knows why i can get Children() in frontend of some object only if i am logged in cms?
377: [08:07:29] <simon_w|air> greseky, because they're set to only be viewable by people that are logged in?
378: [08:08:22] <greseky> hmm, i will check this..
379: [08:08:25] <greseky> :)
380: [08:12:25] <greseky> yes, that it! LOL
381: [08:12:53] <greseky> many thanks!!!
382: [08:13:14] <ss23> lol
383: [08:13:22] <ss23> simon_w|air: did you see my gist from earlier re: testing silverstripe?
384: [08:18:46] <simon_w|air> ss23, I ended up only doing dev-ops today. Link?
385: [08:18:57] <ss23> devops!
386: [08:19:01] <ss23> HHVM totally counts as sysadmin
387: [08:19:01] <ss23> :P
388: [08:19:06] <ss23> simon_w|air: https://gist.github.com/ss23/9852996
389: [08:19:08] * micmania1 has joined #silverstripe
390: [08:19:37] <simon_w|air> HHVM was already set up :p
391: [08:20:33] <ss23> Aw, lucky! We're not rocking it in any of our prod boxes
392: [08:21:47] <simon_w|air> This wasn't one of our prod boxes, but it is now!
393: [08:21:53] <ss23> XD
394: [08:22:54] <simon_w|air> ss23, explain where request data comes from?
395: [08:23:14] <simon_w|air> Also, ->where(). Most people using where() do it wrong (it's a raw WHERE clause, no auto escaping)
396: [08:23:26] <ss23> okay, will add where to leftjoin part
397: [08:23:36] <ss23> what about the request data though? (probably something I don't know too :D)
398: [08:23:49] <simon_w|air> $request->getVar/postVar/param
399: [08:24:04] <simon_w|air> What I greped for when I found the bugs in 3.1.3
400: [08:24:06] <ss23> Uh, what/how does it fit in do you mean? :O
401: [08:24:09] <ss23> oh uh
402: [08:24:17] <ss23> You mean just like "how to find user input"
403: [08:24:17] <ss23> yes
404: [08:24:18] <simon_w|air> It's how user data gets accessed
405: [08:24:18] <ss23> that's good
406: [08:24:19] <ss23> :D
407: [08:26:27] <ss23> simon_w|air: If you're more inclined to just look at the user input areas and wing it, the input can be accessed as both $_REQUEST/$_GET/$_POST, and $request->getVar/postVar/param. It's another good way to find places people are messing with user input.
408: [08:26:31] <ss23> sounds good?
409: [08:26:41] <simon_w|air> Yup
410: [08:26:57] <ss23> Thank you very much, simon_w|air!
411: [08:27:54] <simon_w|air> Hmm, should I do a basic audit of forum? :p
412: [08:28:09] <ss23> NO
413: [08:28:09] <ss23> I mean
414: [08:28:10] * ss23 coughs
415: [08:28:19] <ss23> You... you wouldn't find anything... right?
416: [08:28:21] <ss23> ;_;
417: [08:28:47] <simon_w|air> Forum has got to be some of the worst code released under the silverstripe name
418: [08:29:03] <ss23> Seriously, the lack of CSRF tokens
419: [08:29:06] <ss23> Blew my fucking *mind*
420: [08:29:26] <ss23> Like willr said, when the report came in, "what is he smoking? How could we have forgotten CSRF tokens"
421: [08:29:29] <ss23> :(
422: [08:33:29] <simon_w|air> Well, I just found a phising type place. Not a very good one, but it's there
423: [08:33:57] * wmk has joined #silverstripe
424: [08:34:05] <simon_w|air> As in, you submit a form and then get redirected to some other site
425: [08:34:37] <ss23> Seems like an unlikely vektor
426: [08:34:39] <ss23> vector*
427: [08:34:49] <ss23> Damn Vektor, making me use it incorrectly :(
428: [08:34:58] <simon_w|air> Yeah
429: [08:35:04] * violetina has joined #silverstripe
430: [08:35:05] <simon_w|air> Especially since it involves the registration form
431: [08:35:50] * jedateach has left #silverstripe
432: [08:36:04] * yuka quit (Ping timeout: 245 seconds)
433: [08:38:08] * Guest_____ quit (Ping timeout: 245 seconds)
434: [08:41:33] <simon_w|air> ss23, you missed some CSRF places!
435: [08:41:45] <ss23> I blame everyone who reviewed my code!
436: [08:41:48] <ss23> I'm aware of some places
437: [08:41:48] * Pylonk has joined #silverstripe
438: [08:41:54] <simon_w|air> unsubscribe
439: [08:41:55] <ss23> The ones I missed and knew about were low risk
440: [08:41:56] <ss23> yeah
441: [08:41:57] <ss23> :P
442: [08:42:01] <ss23> simon_w|air: Problem is... how do you add it?
443: [08:42:08] <ss23> That one was intentional, it's even in the annoucement!
444: [08:42:25] <ss23> hmm, we didn't publish it yet
445: [08:42:26] <ss23> :O
446: [08:42:27] <Pylonk> Your face is an announcement
447: [08:42:46] <simon_w|air> Require either a unique, random id (which is included in the email links) or the CSRF token
448: [08:42:57] <ss23> simon_w|air: I know how to fix it, but it's not something I'm willing to do
449: [08:43:00] * simon_w quit (Ping timeout: 265 seconds)
450: [08:43:19] <ss23> simon_w|air: You can report it if you want, but honestly, it's known and about to be published to the entire internet when I mark this annoucement as live
451: [08:43:22] <ss23> :D
452: [08:45:06] <ss23> http://www.silverstripe.org/ss-2014-008-lack-of-csrf-tokens-in-forum-module/
453: [08:45:10] <ss23> There it is!
454: [08:45:15] <ss23> Please ignore the gap between 003 and 008
455: [08:45:20] <ss23> that is nothign to worry about, dear citizen!
456: [08:48:31] * simon_w has joined #silverstripe
457: [08:53:31] * zippy__ wonders what SS isn't telling us…. feels like the gourvenment..
458: [08:53:42] <zippy__> ss23 out of interest, where are the missing numbers?
459: [08:54:40] <ss23> XD
460: [08:54:45] <ss23> They're the issues for the core release, zippy__!
461: [08:54:54] <ss23> They're all commited, just waiting on Mr Mooman to learn to release them :)
462: [08:55:05] <zippy__> ss23: tomorrow still?
463: [08:55:13] <ss23> Not sure
464: [08:55:16] <ss23> I'm not really handling it anymore
465: [08:55:30] <zippy__> ss23: not passing the buck are you?
466: [08:55:34] <ss23> lol
467: [08:55:44] <ss23> I needed a core dev to be able to do the release anyway
468: [08:55:52] <ss23> It was either find a coredev to help or do it for me, or make me a core dev
469: [08:56:02] <ss23> I'm sure simon_w|air has a few words about making me a core dev, so this is the best option!
470: [08:56:06] <ss23> :D
471: [09:00:49] * ocm has joined #silverstripe
472: [09:00:57] <ocm> howdy!
473: [09:01:08] <ss23> oh no
474: [09:01:09] * ss23 runs away
475: [09:01:56] <ocm> such hospitality!
476: [09:02:36] * Trieste_ has left #silverstripe
477: [09:03:08] * Shrike_Finland quit (Quit: Leaving.)
478: [09:03:27] <greseky> I feel so stupid, I am playing with actions and no luck, I have News page with url "/news" and want achieve action : www.mydomain/news/year/2010
479: [09:04:14] * Shrike_Finland has joined #silverstripe
480: [09:04:24] <greseky> so i can then show news for year 2010
481: [09:06:34] <micmania1> Has anybody been able to get on sspaste lately? I always get bandwidth limit exceeded
482: [09:06:55] <micmania1> Is that hostng issues?
483: [09:07:05] * yuka has joined #silverstripe
484: [09:08:37] <micmania1> greseky: Here's a template for the simplest solution to what you need: http://pastie.org/private/wdoanngk3ozgv2ktffw71a
485: [09:08:55] <micmania1> Your $allowed_actions won't register unless you ?flush=1
486: [09:10:15] <greseky> micmania1: thanks, I will check this right now :)
487: [09:10:17] <kinglozzer> micmania1: Yeah crap hosting, it's been down a lot lately
488: [09:11:19] * zri has joined #silverstripe
489: [09:11:42] <zri> Hello folks
490: [09:11:55] <wmk> hi zri
491: [09:12:06] <zri> anyone has an idea how to retrieve params
492: [09:12:10] <zri> from the model admin stack like
493: [09:12:11] <zri> admin/main-admin/MainObject/EditForm/field/MainObject/item/1/ItemEditForm/field/Channels/item/1/ItemEditForm/field/ChannelLogoID/item/1/edit
494: [09:12:22] <zri> main-admin is the custom model admin I have
495: [09:12:35] <zri> MainObject is the first managed model
496: [09:12:45] * danfo has joined #silverstripe
497: [09:12:55] <zri> so I want on the third model I am managing to know the ID of the mainObject we are on to assign it automaticaly
498: [09:13:04] <zri> the third model being ChannelLogo
499: [09:13:30] <simon_w|air> zri, this is for a has_many, right?
500: [09:13:48] <zri> last one is has_one
501: [09:14:10] <zri> mainObject has many channels, channels has one channelLogo
502: [09:14:38] <zri> mission is to have the MainObject ID on before write on ChannelLogo
503: [09:15:32] <Pylonk> should be in the request params somewhere right?
504: [09:15:46] <zippy__> ss23: is the current master what would be 3.1.4?
505: [09:16:08] <Pylonk> zippy__: master is always bleeding edge
506: [09:16:21] <micmania1> zippy__: master is 3.2. 1.0 is 3.1.4
507: [09:16:29] <micmania1> 3.0*
508: [09:16:37] <micmania1> 3.1!!!!!
509: [09:16:48] <zri> well
510: [09:16:52] <Pylonk> mmm, see other branches or tags
511: [09:17:38] <zri> I am in the ChannelLogo getCMSFields now debuging and got current controler $contr = Controller::curr(); did $contr->getURLParams()
512: [09:18:07] <zri> but getting only MainObject and action EditForm
513: [09:18:09] <zri> no ID
514: [09:18:35] <Pylonk> because controller is leftandmain, nothing special there.
515: [09:19:01] <Pylonk> you need the most recent one, probably the one you're on.
516: [09:22:21] <zri> how do I get to the most recent one?
517: [09:22:32] <zri> I tried in onBeforeWrite method also
518: [09:23:08] <greseky> micmania1: yeas, i can get parameter, but how can i render news for this year - which got from param?
519: [09:25:24] <zri> any ideas how to get the stack of controllers?
520: [09:26:18] <zri> I am pretty sure I am missign somethign really obvious here only don;t know where to lok
521: [09:26:20] <zri> I am pretty sure I am missign somethign really obvious here only don;t know where to look
522: [09:27:05] * chr1stopher quit (Ping timeout: 246 seconds)
523: [09:27:50] <Pylonk> zri: there is no stack.
524: [09:28:24] <Pylonk> well there is, but not like you're wanting. And it's a pretty useless stack too (the top of it is what Controller::curr() returns)
525: [09:28:40] <micmania1> greseky: $this->NewsArticles()->where("YEAR(Created) = '" . Convert::raw2sql($year) . "'");
526: [09:29:00] <Pylonk> micmania1: not sure if srs
527: [09:29:08] <Pylonk> just filter man
528: [09:29:18] <micmania1> by year?
529: [09:29:25] <zri> ok so the solution is to parse the url param, it is sort of ugly but will work for sure
530: [09:29:41] <Pylonk> hmm, might have a point yeh.
531: [09:29:56] <Pylonk> not sure if the SS_Datetime auto parses partial dates
532: [09:30:12] <Pylonk> I now it converts things like 'NOW' on the fly.
533: [09:30:16] <Pylonk> know*
534: [09:30:33] <micmania1> You could do GreaterThan/LessThan but then you'd have to do 2 filters.
535: [09:30:53] <Pylonk> well, yeh you would.
536: [09:32:59] <Pylonk> 'Created:GreaterThan' => $year.'-01-01', 'Created:LessThan' =>( (int)$year+1).'-01-01'
537: [09:34:07] <Pylonk> but with a raw where you'd also need to know the table name wouldn't you?
538: [09:34:35] <micmania1> Nope, you'd already know it with $this->NewsArticles()
539: [09:34:45] <micmania1> If you're doing a join, then it may be a problem
540: [09:36:40] <greseky> micmania1: yhanks, OK, I have related objects, but how to render these news, how to make output? set placeholder?
541: [09:38:13] <Pylonk> greseky: look up docs for customise
542: [09:38:20] <Pylonk> viewabledata::customise iirc
543: [09:38:31] <Pylonk> basically you return an array
544: [09:38:37] <Pylonk> of variablenames => values
545: [09:38:44] <Pylonk> then use $variablename in your template
546: [09:38:54] <Pylonk> to get value (if value is a list, you can use it with loop)
547: [09:40:04] <greseky> thanks, man! you rock!
548: [09:40:19] * Shrike_Finland quit (Quit: Leaving.)
549: [09:40:24] <greseky> Pylonk: many thanks for your help!
550: [09:41:06] <Pylonk> greseky: return array('ArticlesForYear' => $this->NewsArticles::get()->filter('YEAR(NewsArticle.Created) = ' . Convert::raw2sql($this->request->param('ID')));
551: [09:41:22] <Pylonk> then you can <% loop ArticlesForYear %> ...
552: [09:41:32] * chr1stopher has joined #silverstripe
553: [09:44:54] * Tanger quit (Quit: Tanger)
554: [10:00:05] <Pylonk> micmania1: [10:34] <micmania1> Nope, you'd already know it with $this->NewsArticles()
555: [10:00:27] <Pylonk> Yeah but I mean does the ORM insert it automatically? It doesn't excape of the clauses in a where()
556: [10:01:34] <Pylonk> also if it were a subclass the Created column may not necessarily be on the class's table, but rather a parent classes
557: [10:02:10] * Shrike_Finland has joined #silverstripe
558: [10:02:15] <micmania1> $this->NewsArticles()->where("YEAR(TableName.Created) = '" . Convert::raw2sql($year) . "'");
559: [10:02:19] <Pylonk> On such a simple query it's unlikely to cause ambiguity erros anyway
560: [10:02:24] <Pylonk> but yeh
561: [10:02:42] <Pylonk> micmania1: yeh but my point is you'd have to know and hard code the table name.
562: [10:03:07] <micmania1> Not in this case though. Only if its becomes more complicated.
563: [10:03:12] <Pylonk> mmm
564: [10:06:10] * cloph_away is now known as cloph
565: [10:06:11] <Pylonk> does $ have any special meaning in SQL?
566: [10:06:21] <Pylonk> err, mysql, specifically?
567: [10:08:05] <Pylonk> Doesn't appear to...
568: [10:11:55] <micmania1> not that i'm aware of
569: [10:12:09] <micmania1> I think it uses @variables for its variables
570: [10:14:38] <Pylonk> yeh it does.
571: [10:15:03] <Pylonk> I'm just going to build a regex derp search replace type template system :<
572: [10:15:43] <Pylonk> already built one using implode, but that means I can't sit keys in multiple places :<
573: [10:16:24] <Pylonk> although, maybe I can avoid this by using IFNULL instead of just IF
574: [10:17:52] <Pylonk> mm yeh, sweet. DATE('01/01/2014') returns NULL :D
575: [10:19:44] <Pylonk> lol, hack.
576: [10:20:07] <Pylonk> instead of fixing issue just put in an inflexible minor change to delay what will probably need to be done in the future anyway :P
577: [10:20:20] * Pylonk hacks
578: [10:21:00] * Shrike_Finland quit (Quit: Leaving.)
579: [10:23:23] * wmk quit (Quit: nice to meet you ;))
580: [10:43:08] * chr1stopher quit (Ping timeout: 240 seconds)
581: [10:43:30] * zippy__ quit (Quit: zippy__)
582: [10:46:36] * anselmdk has joined #silverstripe
583: [10:47:52] <anselmdk> Is anyone using TreeMultiselectField for ownd DataObjects? I see it needs the Hierarchy extension, but it seems not to work...
584: [10:49:09] <micmania1> anselmdk: Have you applied the Hierarchy extension and done a dev/build?flush=1
585: [10:50:03] <anselmdk> I didn't use the flush part (ss3.1.3) but yes - let me try once more
586: [10:52:03] * UncleCheese quit (Quit: UncleCheese)
587: [10:52:24] <anselmdk> micmania1: no, it's not working
588: [10:52:37] <micmania1> are you getting an error?
589: [10:52:54] <anselmdk> micmania1: It seems to me the TreeMultiselectField is not prepared to be used by anything else than Group or SiteTree
590: [10:53:19] <Pylonk> link to evidence?
591: [10:54:35] <anselmdk> micmania1: Yeah, Unknown column 'ParentID' in 'where clause' - I'm having a has_one on parent, but extending another dataobject (DataObjectAsPageCategory) that extends DataObject
592: [10:55:18] <anselmdk> just wanted to know if anyone is sucessfully using TreeMultiselectField anywhere else than in the core
593: [10:55:37] <Pylonk> anselmdk: hierarchy applies the parentID relation.
594: [10:56:05] <anselmdk> ahh, let me get rid of that one
595: [10:56:14] <Pylonk> check first, I'm not sure.
596: [10:56:26] <anselmdk> it didn't seem to me it does
597: [10:56:45] <micmania1> yes, it should do if its being applied correctly.
598: [10:57:26] <anselmdk> okay, nice, that's a lead
599: [10:57:40] <micmania1> How are you applying the extension?
600: [10:58:25] <anselmdk> was checking how it was applied in group, so I used the extensions array
601: [10:58:46] <anselmdk> I think I'll make a fresh example without clutter, and see if I can get it to work
602: [10:59:16] <micmania1> andylockran: In something like getCMSFields try var_dump($this->hasExtension("Hierarchy")); exit;
603: [10:59:25] <Pylonk> anselmdk: http://api.silverstripe.org/3.1/source-class-Hierarchy.html#50-54
604: [10:59:26] <micmania1> anselmdk: even.
605: [11:00:05] <anselmdk> Pylonk: thanks
606: [11:01:12] <Pylonk> always gotta check if something goes wrong, code doesn't lie ;)
607: [11:17:34] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
608: [11:30:06] <Pylonk> http://www.theregister.co.uk/2014/03/27/webscalesql_launch/
609: [11:30:12] <Pylonk> urgh, I dunno what to make of this.
610: [11:30:25] <Pylonk> Why didn't they base it on PgSQL :<
611: [11:30:32] * chr1stopher has joined #silverstripe
612: [11:30:49] * chr1stopher has left #silverstripe
613: [11:36:28] * zri quit (Ping timeout: 245 seconds)
614: [11:39:33] * chr1stopher has joined #silverstripe
615: [11:46:55] <micmania1> Every article should end like that: "In other words, feel free to get involved, but it's not for newbs running a Wordpress ripoff."
616: [11:51:14] <Pylonk> hahaha
617: [11:51:38] <Pylonk> wholey shit, I didn't see that. I lost interest after about the first paragraph :<
618: [11:52:10] <Pylonk> Whole article has that whole "why polish a turd?" ring to it :<
619: [11:55:11] * anselmdk_ has joined #silverstripe
620: [12:05:25] * chr1stopher has left #silverstripe
621: [12:19:00] * Shrike_Finland has joined #silverstripe
622: [12:21:20] * Motoservo_ has joined #silverstripe
623: [12:21:54] * Motoservo quit (Read error: Connection reset by peer)
624: [12:21:54] * Motoservo_ is now known as Motoservo
625: [12:25:51] * UndefinedOffset has joined #silverstripe
626: [12:34:04] * Alfirin has joined #silverstripe
627: [12:35:17] <Alfirin> Greetings, gentlemen
628: [12:35:40] <Alfirin> I'm having some problems with my blogger widgets, they refuse to bow down to my locale
629: [12:39:50] <micmania1> Alfirin: more info?
630: [12:40:29] <Alfirin> It only shows finnish categories and posts even when on the english side
631: [12:41:01] <Alfirin> Backend looks fine, the blog in question and the categories look fine
632: [12:47:39] * Shrike_Finland quit (Quit: Leaving.)
633: [12:57:43] <Alfirin> specifically I'm using this module and its widgets http://addons.silverstripe.org/add-ons/micmania1/silverstripe-blog
634: [12:57:54] <Alfirin> Otherwise I'd sort it out myself but I'm in a bit of a hurry
635: [13:01:43] <Pylonk> so the default locale is set?
636: [13:01:50] <Pylonk> not just your user's locale?
637: [13:02:40] <Pylonk> a site will default to default language if no information is supplied to tell it otherwise
638: [13:02:40] <Alfirin> default locale's set, and that's what the widget is using
639: [13:03:15] <Pylonk> So the widget is displaying in Finnish when it should be in English?
640: [13:06:25] <Alfirin> Yes
641: [13:06:47] <Pylonk> which translation module are you using?
642: [13:07:14] <Pylonk> and which widget is it?
643: [13:07:15] <Alfirin> I assume I need to add the translatable extention to the widgets, like I have with sitetree, but I can't find any evidence to my hypothesis
644: [13:07:26] <Alfirin> translatable, and the widgets that come with the blogger module
645: [13:07:30] <Alfirin> mainly categories
646: [13:08:32] <micmania1> Does this happen with other widgets outside of the module?
647: [13:09:26] <Alfirin> Well, I don't have any other widgets
648: [13:10:46] <Pylonk> ClassNameOfWidget:
649: [13:10:50] <Pylonk> extensions:
650: [13:10:59] <Pylonk> - Translatable
651: [13:11:03] <Pylonk> at a guess.
652: [13:11:11] <Pylonk> Not done this for a long time sorry.
653: [13:11:50] <Alfirin> your guess is more informed than mine
654: [13:11:58] <micmania1> Do you have to add Translatable to all DataObject classes? If so, i'd suggest adding it to the Widget class.
655: [13:12:36] <micmania1> Like Pylonk has done above. You should probably apply it to the base Widget class though
656: [13:12:37] <Pylonk> NOt sure how it works micmania1, it may require knowledge of the specific class it's applied to, as it fiddles with the fields directly, or something.
657: [13:12:51] <Pylonk> Alfirin: using yml config that is
658: [13:13:27] <Alfirin> I'll try that
659: [13:13:35] <Alfirin> I also found this http://www.silverstripe.org/widgets-2/show/11375 but I assume it's out of date
660: [13:13:38] <Pylonk> I'd guess that the information is entered in Finnish, and there is no translation.
661: [13:13:52] <Pylonk> thus it displays Finnish when the site is in English.
662: [13:14:07] <Pylonk> It doesn't matter what language you put the site in, what's stored as content in the DB isn't affected by that.
663: [13:14:26] <Pylonk> unless you've specifically stored it in two or more languages.
664: [13:14:37] <Pylonk> (via translatable)
665: [13:18:35] * babak quit (Quit: Connection closed for inactivity)
666: [13:22:04] * SphereSilverNL has joined #silverstripe
667: [13:22:32] * catcher has joined #silverstripe
668: [13:23:01] * Shrike_Finland has joined #silverstripe
669: [13:23:09] <anselmdk_> so this is where all the cool SS kids hang out
670: [13:23:27] <SphereSilverNL> Hmm, the ManyManyList filter seems a bit broken :(
671: [13:23:51] <SphereSilverNL> Couldn't run query LEFT JOIN "SiteTree" {blablabla, joins and such} WHERE (("Page"."ID"
672: [13:24:11] <SphereSilverNL> No, ofcourse you can't filter by Page.ID, since you're joining on SiteTree, not on Page
673: [13:24:39] * Shrike_Finland quit (Client Quit)
674: [13:24:49] <SphereSilverNL> Hey Anselm
675: [13:26:38] <anselmdk_> hey!
676: [13:27:14] <danfo> anselmdk: definitely. mega helpful folks
677: [13:31:22] <SphereSilverNL> Pro tip: When running the debugger, don't try to debug a foreach() method with a few hundred records. Clicking "continue" all the time is a bit... ehm... yea :/
678: [13:38:15] <Alfirin> ok so after a few crashes, I got this error "Uncaught ValidationException: Object is of class 'ArchiveWidget' which doesn't exist"
679: [13:40:20] * UndefinedOffset quit (Quit: Leaving.)
680: [13:41:50] * UndefinedOffset has joined #silverstripe
681: [13:42:32] <SphereSilverNL> "GitHub treats newlines in paragraph-like content as real line breaks, which is usually what you intended." No Github, you're not :(
682: [13:42:59] <Zauberfisch> SphereSilverNL: depends on where you write
683: [13:43:01] <Zauberfisch> in comments yes
684: [13:43:05] <Zauberfisch> in markdown files no
685: [13:43:15] <SphereSilverNL> Yeah, I figured. It sucks.
686: [13:43:29] <Zauberfisch> hmmm, I acutally like it
687: [13:43:44] <SphereSilverNL> I don't, I'd rather see md newlines be handled the same
688: [13:44:22] * muskie9 has joined #silverstripe
689: [13:46:57] <Zauberfisch> if you look at markdown files like a simplified html
690: [13:46:59] <Zauberfisch> it makes sense
691: [13:47:06] <SphereSilverNL> That's true
692: [13:47:13] * chr1stopher has joined #silverstripe
693: [13:47:14] <Zauberfisch> so you can keep the 80 chars per line rule easily
694: [13:47:19] <SphereSilverNL> Hmmm, What's markdown <br /> equiv actually?
695: [13:47:25] <Zauberfisch> 4 spaces
696: [13:47:38] <Zauberfisch> just put 4 spaces at the end of the line and it will create a <br>
697: [13:47:42] <SphereSilverNL> Really? Not 2 dots?
698: [13:48:23] <Pylonk> ..
699: [13:48:25] <Alfirin> Zauberfisch, my hero!
700: [13:48:47] <SphereSilverNL> I'm used to using two dots :(
701: [13:48:50] <Zauberfisch> or perhaps just 2
702: [13:48:54] <chr1stopher> hi, is it ok to move files in assets/uploads and push "synch data" in the backend or will i break all links? i would love to clean up a bit but doing it filebased would be much faster then file by file in the backend
703: [13:49:30] <SphereSilverNL> chr1stopher: You'll loose the linked files. As they are considered Deleted, the link to e.g. pages is gone.
704: [13:50:07] <Pylonk> chr1stopher: just use the admin to move them.
705: [13:50:09] <SphereSilverNL> They are correctly imported with their new path, but the server has (obviously) no way of knowing it should be connected to something
706: [13:50:38] <Zauberfisch> Alfirin: greetings
707: [13:51:17] <Zauberfisch> chr1stopher: you can rename files in the cms, this way they will be moved and keep the links in tact
708: [13:51:44] <chr1stopher> i thought moving all files with h-* into a folder header e.g. and then put synch would find these files again
709: [13:51:51] <chr1stopher> i just would love to move files into subfolders
710: [13:52:05] <Pylonk> chr1stopher: that's what assetadmin is for
711: [13:52:06] <Zauberfisch> it will find them again, but it will create new DB records and delete the old records
712: [13:52:11] <Zauberfisch> so the IDs will all be wrong
713: [13:52:18] <chr1stopher> ah ok damnit
714: [13:52:20] <Pylonk> use the admin
715: [13:52:30] <chr1stopher> ok ok ^^ just didnt want to move 30 files manually ...
716: [13:52:43] <Zauberfisch> chr1stopher: if you want to move the files in the file system, you will also have to change the database by hand before doing anything in the cms that causes a sync
717: [13:52:45] <Pylonk> if you're lucky there might be a bulk action you can apply to a bunch at once.
718: [13:54:22] <chr1stopher> hm ok thank you all. i ll do it manually ^^
719: [13:54:22] <Pylonk> I'm not sure if assetadmin has one though
720: [13:54:28] <chr1stopher> i cant see something like that
721: [13:54:33] <Pylonk> it would be nice
722: [13:54:34] <chr1stopher> and no chance to select several files at once
723: [13:54:40] <Zauberfisch> SphereSilverNL: and if you prefer <br> / <br /> then you can type that as well
724: [13:54:47] <Zauberfisch> markdown usually also allows html
725: [13:54:56] <Pylonk> although if you hold down control you might be able to select more than one at once chr1stopher, then drag and drop them to a new folder.
726: [13:55:00] <Pylonk> But again, not sure.
727: [13:55:17] <Zauberfisch> there is drag&drop file reordering?
728: [13:55:19] <chr1stopher> no actually shift or ctrl doesnt change something
729: [13:55:21] <Zauberfisch> I was not aware of that
730: [13:55:23] <chr1stopher> i guess there is not
731: [13:55:41] <Pylonk> Zauberfisch: well... I dunno. I thought there was :/
732: [13:55:55] <Pylonk> must be some other gridfield extension or something that allows it
733: [13:57:06] <SphereSilverNL> Maybe KickAssets might be of help?
734: [13:57:22] <Zauberfisch> kickassets is not 3.x though, is it?
735: [13:57:28] <SphereSilverNL> Yeah it is
736: [13:57:32] <Zauberfisch> :O
737: [13:58:20] <chr1stopher> oh that looks nice
738: [13:58:25] <SphereSilverNL> Although UncleCheese needs to update his git workflow :P
739: [13:58:33] <chr1stopher> but usually i try to avoid plugins as far at possible ...
740: [13:58:55] <SphereSilverNL> Most addons for Silverstripe are actually written by people who know what they're doing ;)
741: [13:59:05] <chr1stopher> hm ok ^^
742: [13:59:08] <SphereSilverNL> As opposed to... say... Wordpress "plugins" ;)
743: [13:59:13] <chr1stopher> maybe it s because i was using wordpress ;D
744: [13:59:43] <SphereSilverNL> Wordpress has become scriptkiddy-world. Every kid thinks it can write a plugin.
745: [13:59:46] <micmania1> no swearing please.
746: [14:00:07] <SphereSilverNL> Have a look at a few Silverstripe modules, see how they're written (and often also documented)
747: [14:00:54] <Zauberfisch> https://github.com/ajshort/silverstripe-gridfieldextensions is a very fine example of a good module
748: [14:00:58] <Zauberfisch> and its also very useful
749: [14:01:04] <chr1stopher> is it yours? ;D
750: [14:01:13] <chr1stopher> this is already installed at our project
751: [14:01:32] <SphereSilverNL> Andrew J Short
752: [14:01:38] <SphereSilverNL> No, that's Andrew's :P
753: [14:02:49] <SphereSilverNL> ok, joking aside :) , Most here go by the same name on Github as here in the channel.
754: [14:03:02] <SphereSilverNL> (I'm probably one of the few that doesn't)
755: [14:03:41] <SphereSilverNL> Ow come on, this is just stupid: 1 tests run [] Total time: 77.775 seconds
756: [14:03:50] <SphereSilverNL> Browser-based unittesting is SLOW!
757: [14:04:01] <micmania1> use cli!
758: [14:06:19] <SphereSilverNL> I'm on Windows currently. Getting PHPUnit to run is already a hell :P
759: [14:07:11] <micmania1> It takes a brave man to unit test on windows.
760: [14:07:27] <micmania1> why windows?
761: [14:07:39] <SphereSilverNL> It takes a very lazy man to not replace his development server that crashed as well :P
762: [14:07:43] <Pylonk> micmania1: it totally does :<
763: [14:07:51] <Pylonk> it takes a braver man to composer on windows :/
764: [14:08:00] <SphereSilverNL> Well... Ehm, because I've also been gaming... http://goat-simulator.com/
765: [14:08:07] <SphereSilverNL> Composer works perfectly fine on Windows :)
766: [14:08:30] <Pylonk> admittedly it was about a year ago I last tried it
767: [14:08:39] <Pylonk> and yeah, it didn't even a thing.
768: [14:08:52] <SphereSilverNL> I hate OSX, it's not my thing
769: [14:08:55] <micmania1> i've used composer on windows and it works quite nicely.
770: [14:09:17] <SphereSilverNL> and since I want to play Goat every few hours, I am currently working in Windows :)
771: [14:09:25] <Pylonk> yeah well I've done unit tests on windows and had no issue :P
772: [14:09:27] <SphereSilverNL> It's not like I get paid to develop this thing
773: [14:09:39] <Pylonk> but it's certainly not the best environment
774: [14:09:57] <SphereSilverNL> It's the best "person-testing" environment though :D
775: [14:10:06] <SphereSilverNL> with most of the world actually using Windows :P
776: [14:10:23] <Pylonk> SphereSilverNL: I find osx just as testing.
777: [14:10:49] <micmania1> I've used a mac about 3 times in my life. I learnt to scroll last time.
778: [14:10:56] <Pylonk> hahahahah
779: [14:10:59] <SphereSilverNL> My MBP can't find my desktop and vice-versa
780: [14:11:06] <Pylonk> micmania1: so long as you can click, you're doing better than ss23 :P
781: [14:11:13] <micmania1> haha
782: [14:11:20] <Pylonk> ps, don't forget to wind him up about that when you first get sat in front of your mac.
783: [14:11:21] <SphereSilverNL> I have a program installed on my MBP for that, to support middle-click on the magic-mouse and such.
784: [14:11:35] <Pylonk> go to him and say "oi bro, watch this: I can click!"
785: [14:11:35] <SphereSilverNL> MagicPrefs for the win
786: [14:12:06] <micmania1> Pylonk: haha, they asked me about it when I was talking to them. I was like "I have no idea how to use a mac" lol
787: [14:12:21] <Pylonk> micmania1: no shit, the words "how do you click" came out of his mouth when he borrowed one of simon_w|air 's mac books at a hackfest once. It was magic.
788: [14:12:31] <micmania1> hahaha
789: [14:12:42] <Pylonk> And he wasn't even kidding.
790: [14:12:53] <micmania1> In fairness, I think I said the same thing when I used one
791: [14:12:59] <Pylonk> haha
792: [14:13:02] <SphereSilverNL> You haven't seen me using an OSX device I guess?
793: [14:13:17] <Pylonk> SphereSilverNL: they're all just massive touch screens right?
794: [14:13:21] <micmania1> I was just like "keyboard shortcuts - oh the keys are different."
795: [14:13:24] <Pylonk> if it doesn't respond to finger, try fist.
796: [14:13:27] <SphereSilverNL> With 4 monitors, it's always a guess where tha stupid dock is
797: [14:13:36] <Pylonk> micmania1: yeh, ctrl -> 'command'
798: [14:13:44] <micmania1> yeah, that's basically what I did
799: [14:13:46] <Pylonk> but otherwise pretty much the same, unless you're adobe.
800: [14:13:56] <SphereSilverNL> micmania1, Pylonk, I type on Dvorak layout...
801: [14:13:58] <Pylonk> in which case they're entirely different
802: [14:14:03] <Pylonk> SphereSilverNL: sweet.
803: [14:14:08] <SphereSilverNL> That's also awesome when someone tries to use one of my devices :D
804: [14:14:09] <Pylonk> I cbf'd learning
805: [14:14:12] <SphereSilverNL> Hilarity ensues!
806: [14:14:15] <Pylonk> keke
807: [14:14:38] <SphereSilverNL> It's like, they sit down and go "Well, you type this and then do WTF IS THIS SHIT?!?!?"
808: [14:14:49] <SphereSilverNL> And I'm like... probably rolling over the floor laughing
809: [14:16:15] <SphereSilverNL> On another note.... I've got two weeks off left.
810: [14:16:25] <SphereSilverNL> And I'm working on my newsmodule.
811: [14:16:31] <SphereSilverNL> And a website for a friend of mine.
812: [14:16:40] <SphereSilverNL> And another website I get big money for.
813: [14:16:55] <Pylonk> nice
814: [14:16:58] <Pylonk> big money always nice.
815: [14:17:09] <Pylonk> provided stress isn't overly large
816: [14:17:14] <SphereSilverNL> Yeah, but no free time in my "free time" isn't that nice.
817: [14:17:25] <SphereSilverNL> Na, no stress, I'm working at my own pace ;)
818: [14:17:26] <Pylonk> yeh, cf stress statement :P
819: [14:17:30] <Pylonk> mmm
820: [14:17:38] <Pylonk> but no free time adds stress
821: [14:17:41] <anselmdk_> Pylonk and micmania1 thanks for the help with TreeMultiselectField and hierarchy earlier today, it actually works, and it’s pretty nice!
822: [14:17:46] <SphereSilverNL> As I said, I'm playing Goat Simulator between some working sessions :D
823: [14:17:46] <Pylonk> of a form
824: [14:17:55] <Pylonk> anselmdk_: sweet :>
825: [14:18:05] <Pylonk> goat sim looks pretty hilarious
826: [14:18:13] <SphereSilverNL> Can you post a pasty of issue + solution anselmdk_?
827: [14:18:13] <kinglozzer> Pylonk: want
828: [14:18:18] <kinglozzer> :P
829: [14:18:20] <Pylonk> kinglozzer: ?
830: [14:18:23] <kinglozzer> Goat sim
831: [14:18:30] <Pylonk> kinglozzer: So I saw the first round of the BTDC yesterday.
832: [14:18:40] <SphereSilverNL> kinglozzer: Goat Simulator is hilariously fun to play
833: [14:18:43] <kinglozzer> BTDC?
834: [14:18:44] <Pylonk> On the TV though, brans hatch too far away :<
835: [14:18:50] <kinglozzer> Pylonk: Oh BTCC
836: [14:19:01] <Pylonk> kinglozzer: yeh, British Trouring Dogem Championship
837: [14:19:11] <Pylonk> kinglozzer: no, definitely a D
838: [14:19:12] <kinglozzer> SphereSilverNL: It looks like the sort of game I'd play for 30 mins, really enjoy, then never touch again :P
839: [14:19:15] <SphereSilverNL> No real goals, just a goat, running around, destroying things, becoming satan's ofspring, flying with a jetpack, becoming a -giraffe- no, "large" goat
840: [14:19:26] <kinglozzer> Pylonk: True, "no contact"
841: [14:19:50] <Pylonk> kinglozzer: how the whole field simply isn't black flagged by the end of the race I just don't even.
842: [14:19:53] <SphereSilverNL> kinglozzer: depends on what games you like I guess :)
843: [14:20:01] <SphereSilverNL> but for 10US$, I couldn't let it go :P
844: [14:20:19] <kinglozzer> Yeah I might get it just 'cause it's so cheap
845: [14:20:36] <Pylonk> LIKE YO MOMMA
846: [14:20:41] <Pylonk> xD
847: [14:20:48] <micmania1> LMAO just watched the goat sim video. WHAT A GAME!
848: [14:21:07] * Shrike_Finland has joined #silverstripe
849: [14:21:12] <Pylonk> oh, there's a video? I just saw a picture of a goat on the side of a house
850: [14:21:32] <micmania1> taht's the video. Press play
851: [14:21:36] <SphereSilverNL> Pilonk
852: [14:21:41] <micmania1> Its mayhem!
853: [14:21:43] <SphereSilverNL> http://goat-simulator.com
854: [14:21:59] <SphereSilverNL> It has a video. They have multiple videos and screenshots on their FB-page as well
855: [14:22:56] <SphereSilverNL> Yesterday, I collected as much explosives as I could possible find at the gasstation.
856: [14:23:06] <Pylonk> goatstation?
857: [14:23:08] <SphereSilverNL> Headbutting it ended up in me being blown off the map :D
858: [14:23:16] <Pylonk> xD
859: [14:23:20] <Pylonk> like a goat!
860: [14:23:37] * greseky quit (Quit: Page closed)
861: [14:24:25] <SphereSilverNL> Here's a good trailer of the gameplay: https://www.youtube.com/watch?v=JN2QUhaKN2Q
862: [14:24:33] <SphereSilverNL> And yes, they kept the bugs in.... :D
863: [14:25:40] <Pylonk> haha, classic
864: [14:27:21] <SphereSilverNL> "PHPUnit_Util_ErrorHandler::handleError(2,substr() expects parameter 1 to be string, array given,D:\wamp\www\ss3modules\framework\dev\FixtureBlueprint.php,269,Array) "
865: [14:27:33] <SphereSilverNL> I'm not entirely sure what array I'm giving PHPUnit though :P
866: [14:29:16] <Pylonk> I don't give it anything.
867: [14:29:23] <Pylonk> I live life on the edge.
868: [14:29:39] <Pylonk> And by edge I mean 2004, when testing wasn't a thing.
869: [14:30:20] <SphereSilverNL> I'm used to testing with Codeception, but for my modules, I want PHPUnit and Behat tests... Appearantly, I suck at both :P
870: [14:30:48] <micmania1> I need to do some behat stuff as well. I willl one day
871: [14:31:06] <Pylonk> I need to do some testing stuff, I will one day.
872: [14:31:21] <Pylonk> there was a talk on behat and gherkin at phpne micmania1
873: [14:31:35] <Pylonk> It's... interesting.
874: [14:31:36] <SphereSilverNL> I'm used to TDD, but getting it with PHPUnit and Behat... That's a whole different story :(
875: [14:31:36] * Shrike_Finland quit (Quit: Leaving.)
876: [14:31:55] <Pylonk> BDD it was, more specifically. But Behat was the tool of use.
877: [14:32:16] <micmania1> SphereSilverNL: You setting it up with Travis?
878: [14:32:29] <SphereSilverNL> micmania1: Gotta get my tests working manually first :D
879: [14:32:52] <SphereSilverNL> My Codeception tests are all green, but getting them to work in PHPUnit is aweful
880: [14:33:01] <Pylonk> hmm
881: [14:33:13] <Pylonk> I must look up what codeception is, sounds intriguing
882: [14:33:29] <SphereSilverNL> It's a more "natural" way of writing tests.
883: [14:33:41] <SphereSilverNL> And it's in PHP
884: [14:33:49] <SphereSilverNL> but no export to Behat or PHPUnit though :(
885: [14:33:51] <micmania1> Its just behat in PHP
886: [14:33:55] <SphereSilverNL> at least, as far as I know
887: [14:33:59] * Shrike_Finland has joined #silverstripe
888: [14:34:06] <SphereSilverNL> not only behat, also PHPUnit and the works.
889: [14:34:11] <micmania1> I thought codeception supported PHPunit?
890: [14:34:20] <SphereSilverNL> Yes, it does
891: [14:34:27] <Pylonk> but behat is php, no?
892: [14:34:34] <micmania1> They pass in codeception but not phpunit?
893: [14:34:56] <micmania1> Pylonk: You write feature files for behat. 2 secs
894: [14:34:56] <SphereSilverNL> I can't get it ported to PHPUnit
895: [14:35:23] <SphereSilverNL> Holiday season I guess.
896: [14:35:33] <micmania1> Pylonk: https://github.com/silverstripe/silverstripe-framework/tree/3.1/tests/behat/features
897: [14:36:59] * wmk has joined #silverstripe
898: [14:38:04] <Pylonk> yeh, I kinda get behat.
899: [14:38:14] <Pylonk> kinda.
900: [14:42:27] <SphereSilverNL> Life of a programmer: http://www.bumperstickerz.com/images/1000058-00-00-00-00_lg.png
901: [14:42:58] <Pylonk> I love it
902: [14:44:33] <SphereSilverNL> Hmmmm, My phpunit tests crash on Zend_Currency
903: [14:44:38] <chr1stopher> grrrrrrrr i moved all the files now; 3 files had duplicates; i deleted both and uploaded the file again and set it up fresh; but now something happend and i always get "internal server error" when i upload files ... any idea?
904: [14:44:46] <SphereSilverNL> I'm somehow unaware of me using any currency-method though :P
905: [14:44:59] <Pylonk> chr1stopher: check the error logs
906: [14:45:05] <SphereSilverNL> File too big? Out of space on the server?
907: [14:45:27] <Pylonk> permissions in folder, etc?
908: [14:45:41] <chr1stopher> well it worked before so i wonder why it doesnt now ...
909: [14:45:56] <Pylonk> deleted/moved .htaccess
910: [14:46:17] <chr1stopher> well i only worked in the backend ...
911: [14:46:31] <Pylonk> :S
912: [14:46:44] <Pylonk> ?isDev=1 && F12
913: [14:46:46] <chr1stopher> well i try to finde the log
914: [14:48:00] <Pylonk> depends on the kind of error
915: [14:49:56] <chr1stopher> hm i m not sure if the webhost is saving the error log
916: [14:50:01] <chr1stopher> and where
917: [14:50:10] <Pylonk> might not be an apache error
918: [14:50:14] <Pylonk> as I said
919: [14:50:22] <Pylonk> [15:46] <Pylonk> ?isDev=1 && F12
920: [14:50:23] <chr1stopher> i tried to add your info on url
921: [14:50:27] <chr1stopher> but i cant see a difference
922: [14:50:32] <Pylonk> you need to open def tools
923: [14:50:41] <Pylonk> and inspect the response to the request
924: [14:50:54] <chr1stopher> well i have done that and there was something like fileexisting
925: [14:51:02] <chr1stopher> but i renamed the file and it didnt work neither
926: [14:51:04] <chr1stopher> moment i try again
927: [14:51:13] <chr1stopher> so in chrome i should see it in the console, or?
928: [14:51:35] <Pylonk> probably
929: [14:51:42] <chr1stopher> ../admin/assets/add/?isDev=1
930: [14:51:51] <Pylonk> I don't use chome, i don't like it.
931: [14:52:04] <SphereSilverNL> Sigh, clients that think Dropbox is a versioning system
932: [14:52:05] <chr1stopher> Failed to load resource: the server responded with a status of 500 (Internal Server Error)
933: [14:52:14] <SphereSilverNL> Firefox has a console too :D
934: [14:52:18] <Pylonk> chr1stopher: any more info in it?
935: [14:52:21] <Pylonk> SphereSilverNL: I know.
936: [14:52:23] <chr1stopher> ‏‎/admin/assets/add/EditForm/field/AssetUploadField/fileexists?file
937: [14:52:27] <Pylonk> prefer firebug though.
938: [14:52:42] <Pylonk> despite it being a memory hungry bastard
939: [14:53:57] <chr1stopher> you mean chrome i guess, not the image ^^
940: [14:55:29] <Pylonk> well, firebug, yeh ^.^
941: [14:56:08] * r3v3rb has joined #silverstripe
942: [14:56:12] <r3v3rb> hi all
943: [14:56:19] <Pylonk> sup
944: [14:56:23] <r3v3rb> nada
945: [14:56:44] <r3v3rb> swishing my way through a little 3 page affair for a cruddy client
946: [14:56:48] <kinglozzer> chr1stopher: Which version of SilverStripe are you using? 3.1.3?
947: [14:57:34] <r3v3rb> btw, in css is it possible to have a <br> with :after { content: '\ABCD' } because I cannot get it to work
948: [14:57:45] <Pylonk> no
949: [14:57:51] <Pylonk> :after isn't like it is in javascript.
950: [14:58:08] <Pylonk> and secondly, br does not hold content, so you're well poked.
951: [14:58:15] <Pylonk> well, javascript I mean jQuery
952: [14:58:23] <chr1stopher> kinglozzer: 3-1-3
953: [14:58:48] <kinglozzer> chr1stopher: Known issue, downgrade to 3.1.2 for now (3.1.4 should be out v. soon)
954: [14:58:59] <Pylonk> r3v3rb: think of :before and :after like adding a <span> in before or after content in a box (more like append/prepend in jQuery)
955: [14:59:12] <r3v3rb> Pylonk thought so... grrr how to split line and then add '-' when in @media (max-width: 480)
956: [14:59:13] <chr1stopher> kinglozzer: serious? i did the upgrade just 2 hours before ;D
957: [14:59:35] <chr1stopher> kinglozzer: there is no other workaround or?
958: [14:59:36] <kinglozzer> chr1stopher: Yep :P either downgrade or manually patch the issue
959: [14:59:40] <Pylonk> r3v3rb: br + *:before(' - ')
960: [14:59:42] <Pylonk> maybe
961: [14:59:43] <r3v3rb> was hoping to cheat and append an hyphen to the <br> tag and display: block
962: [14:59:56] <r3v3rb> a hyphen*
963: [15:00:07] <Pylonk> r3v3rb: that'd rely on tehre being a span or osme other element immediately afterwards though
964: [15:00:14] <Pylonk> otherwise inject one with JS
965: [15:00:24] <r3v3rb> hmm, could just use a span and hide tbh
966: [15:00:29] <r3v3rb> ;)
967: [15:00:30] <Pylonk> yup, exactly
968: [15:00:39] <kinglozzer> chr1stopher: If you want to manually patch the issue, apply the changes here: https://github.com/silverstripe/silverstripe-framework/pull/2903/files
969: [15:00:41] <r3v3rb> then br still display: inline
970: [15:00:52] <Alfirin> Update to my earlier problem: It's not about the widget locale, the widget just doesn't understand there's two blogs instead of one
971: [15:00:52] <chr1stopher> kinglozzer: oh great just wanted to search for it ;D
972: [15:00:52] <SphereSilverNL> Hmmm, how to test a relation that isn't there yet...
973: [15:01:06] <r3v3rb> for single line version with span display: none when br is breaking line
974: [15:01:46] <Pylonk> r3v3rb: sounds like you want a list tbh
975: [15:02:02] * Shrike_Finland quit (Quit: Leaving.)
976: [15:02:29] <micmania1> Alfirin: ow do you mean? There is a dropdown on the widget to select which blog to look at. Is that not working?
977: [15:02:29] <chr1stopher> kinglozzer: thanks. i hope i dont brake it even more ^^
978: [15:02:33] <r3v3rb> nooooo, this is for a title in a 'Recent Work' column
979: [15:02:37] <r3v3rb> Pylonk
980: [15:02:43] * Shrike_Finland has joined #silverstripe
981: [15:03:13] <r3v3rb> so the title splits in a 4 column view, then in a single mobile view becomes a hyphenated title
982: [15:03:38] <Pylonk> r3v3rb: I think there might be a css thing for injecting hyphens
983: [15:03:40] <Pylonk> on broken words
984: [15:03:47] <Pylonk> with justify, idk.
985: [15:03:59] <r3v3rb> for example Dungeness 'A' <br/>Power Station becomes Dungeness 'A' - Power Station in a single line
986: [15:04:17] <r3v3rb> then again I could just write it twice and hide show based on query
987: [15:04:29] * r3v3rb doesn't like to clutter html though
988: [15:04:39] <r3v3rb> with wasted versions of the same text
989: [15:04:41] <Pylonk> pffft, fuck that. Do it.
990: [15:04:55] <Pylonk> client's don't give a shit about code.
991: [15:05:18] <micmania1> or you could just hide the <br /> and swap it for :after ' - '
992: [15:05:34] <Pylonk> all a single text node though micmania1.
993: [15:05:44] <micmania1> yep, 2 secs
994: [15:06:01] <SphereSilverNL> Is there a way to test a dev/build action with existing objects already there, to test migrations?
995: [15:06:53] <micmania1> ah, I see. This might still work...
996: [15:07:32] <Alfirin> micmania1, apparently it doesn't work. I mean it works fine to separate two blogs of the same language
997: [15:09:13] <r3v3rb> Pylonk, br + span hide/show based on query works a treat
998: [15:10:14] <Pylonk> r3v3rb: yeh, it will... but populating such a thing can be a bit of a poke.
999: [15:10:36] <r3v3rb> Pylonk its a cruddy static site so once finished wont ever change
1000: [15:10:44] <Pylonk> oic, not SS then
1001: [15:10:45] <Pylonk> I see.
1002: [15:10:48] <Pylonk> ezy pzy
1003: [15:10:53] <r3v3rb> I can just hack this together quick and be done :)
1004: [15:10:58] <Pylonk> :>
1005: [15:10:59] <micmania1> r3v3rb: does this work? http://pastie.org/private/hnxasuj4efgbiaxbrk8kmq
1006: [15:11:19] <Pylonk> oh micmania1 br:after :<
1007: [15:11:23] <r3v3rb> br:after doesn't do anything micmania1 I tried :(
1008: [15:11:30] <micmania1> :(
1009: [15:11:33] <r3v3rb> as Pylonk suggested it isnt a container
1010: [15:11:39] <micmania1> I wasn't sure if it would sure anyway with the br being hdiden
1011: [15:11:40] <r3v3rb> so holds no content
1012: [15:11:48] <chr1stopher> kinglozzer: do i need this as well? tests/forms/uploadfield/UploadFieldTest.php
1013: [15:11:59] <Pylonk> [15:57] <Pylonk> :after isn't like it is in jquery. [15:58] <Pylonk> and secondly, br does not hold content, so you're well poked.
1014: [15:12:00] <kinglozzer> chr1stopher: Nope
1015: [15:12:05] <chr1stopher> kinglozzer: ok thanks ;D
1016: [15:12:08] <kinglozzer> Unless you have a CI server or something
1017: [15:12:13] <Pylonk> micmania1: [15:58] <Pylonk> r3v3rb: think of :before and :after like adding a <span> in before or after content in a box (more like append/prepend in jQuery)
1018: [15:12:15] <chr1stopher> kinglozzer: lets see what i have broken now ;D
1019: [15:12:15] <Pylonk> :>
1020: [15:12:54] <r3v3rb> Pylonk I don't like thinking though..
1021: [15:12:55] <r3v3rb> .
1022: [15:13:59] <Pylonk> I don't like JS hacks either.
1023: [15:14:25] <Pylonk> people that write jquery plugins, no matter how nice, are often hacks. Like WP based devs :<
1024: [15:14:46] <Pylonk> like this table plugin
1025: [15:14:55] <Pylonk> puts field name on the element as an abbr
1026: [15:15:20] <Pylonk> however have just found that it only does it for sortable elements, and therefore the export scritp doesn't work propers
1027: [15:15:25] <Pylonk> because ffffffffffuuuuuuuuuuuuuuu
1028: [15:15:42] <chr1stopher> kinglozzer: thanks a lot. working again ;-)
1029: [15:16:05] <kinglozzer> chr1stopher: No problem, you should be able to upgrade to 3.1.4 when it comes out without any issues
1030: [15:16:13] <chr1stopher> kinglozzer: ok thanks
1031: [15:16:44] <kinglozzer> Pylonk: About 95% of jQuery plugins are written by wordderp developers
1032: [15:16:49] * Shrike_Finland quit (Quit: Leaving.)
1033: [15:16:54] <kinglozzer> I don't have statistics to back that up, I'm just sure of it :P
1034: [15:17:09] <Pylonk> kinglozzer: mmm
1035: [15:17:21] <Pylonk> it shows in code quality
1036: [15:17:28] * yuka quit (Quit: Page closed)
1037: [15:17:44] <kinglozzer> Yup
1038: [15:17:50] <chr1stopher> kinglozzer: oh no :D new issues i cant edit pages now ^^
1039: [15:17:52] * Shrike_Finland has joined #silverstripe
1040: [15:18:05] <kinglozzer> If I see inconsistent indentation, it's out the window
1041: [15:18:23] <kinglozzer> chr1stopher: Unrelated to the file upload issue, more likely a code error somewhere
1042: [15:18:35] <kinglozzer> Anything in the HTTP response?
1043: [15:18:41] <chr1stopher> internal server error
1044: [15:18:43] <chr1stopher> popup
1045: [15:18:56] <chr1stopher> i just edited the files from the commit
1046: [15:19:17] <chr1stopher> with ?isDev=1 it is working ...
1047: [15:19:20] <chr1stopher> caching problem ?
1048: [15:19:42] <Pylonk> environment problem.
1049: [15:20:13] <chr1stopher> hm that means what?
1050: [15:20:43] <Pylonk> dev/test/live = environments#
1051: [15:21:06] <chr1stopher> ?
1052: [15:21:08] * anselmdk quit (Quit: Page closed)
1053: [15:21:09] * anselmdk_ is now known as anselmdk
1054: [15:21:42] <Pylonk> chr1stopher: switch back to live, see if the problem persists.
1055: [15:22:08] <Pylonk> if not, maybe caching, yeh. If so, figure out what the difference is between the 2 environments.
1056: [15:22:30] <chr1stopher> switched back and error still there
1057: [15:22:40] <chr1stopher> ah no
1058: [15:22:45] <chr1stopher> it didnt work because of dev
1059: [15:22:52] <chr1stopher> it worked because i entered /admin/pages/edit/show/55
1060: [15:23:05] <chr1stopher> but when i click on a page directly it doesnt work
1061: [15:23:16] <r3v3rb> anyone tried mr cheeses event calendar ?
1062: [15:23:47] * Shrike_Finland quit (Quit: Leaving.)
1063: [15:27:35] * ARNHOE quit ()
1064: [15:28:18] <Pylonk> r3v3rb: slice your throat before trying that.
1065: [15:28:26] <Pylonk> Save yourself the pain in the middle.
1066: [15:28:47] <r3v3rb> ok, i guess it's easier to start fresh then?
1067: [15:28:50] <r3v3rb> Pylonk
1068: [15:28:55] <Pylonk> yes.
1069: [15:29:19] <Pylonk> Depending on the complexity even some thing like the blog can be repurposed into events
1070: [15:29:22] <SphereSilverNL> I don't think there's a really good event calendar yet. Just saying *cough* create it *cough*
1071: [15:29:41] <Pylonk> SphereSilverNL: I was making one. I had a great plan and everything. Then I moved and the plan got left behind.
1072: [15:30:01] <Pylonk> well, washed away, since it was all in (my head) memory :<
1073: [15:30:06] * Shrike_Finland has joined #silverstripe
1074: [15:31:03] * Alfirin quit (Ping timeout: 245 seconds)
1075: [15:33:19] <chr1stopher> Pylonk: hm you got any more idea what could have broken because i cant click pages in backend?
1076: [15:33:45] <chr1stopher> i wonder if this happend only because of the upload bug changes
1077: [15:33:50] <chr1stopher> because uploading files worked
1078: [15:34:17] <chr1stopher> so i should not have inserted crucial errors
1079: [15:34:20] <Pylonk> because js error
1080: [15:34:31] <Pylonk> it's all js dependent
1081: [15:34:45] <Pylonk> an error somewhere kills most or all of it
1082: [15:34:47] <chr1stopher> well i tried to understand the things in console but it looks wiered
1083: [15:35:07] <Pylonk> It's a complex beast :<
1084: [15:35:17] <chr1stopher> and how could i try to find a solution?
1085: [15:35:23] <Pylonk> dunno sorry
1086: [15:35:26] <chr1stopher> hm ok
1087: [15:35:34] <Pylonk> I've not done anything in SS for some time :/
1088: [15:35:39] <chr1stopher> ^^ ok
1089: [15:35:53] <chr1stopher> i hope 3.1.14. will come out soon and fix this maybe ;D
1090: [15:36:02] <Pylonk> 14?
1091: [15:36:05] <Pylonk> o.0
1092: [15:36:13] <chr1stopher> 4 ^^ or?
1093: [15:36:26] <Pylonk> mm. 3.1.4
1094: [15:36:35] <chr1stopher> yes
1095: [15:36:38] <Pylonk> if not 3.2 first
1096: [15:41:32] <chr1stopher> haha when i open a private window and login it works ...
1097: [15:41:42] <chr1stopher> but when i do ctrl f5 it still doesnt
1098: [15:43:23] * Shrike_Finland quit (Quit: Leaving.)
1099: [15:43:39] <kinglozzer> chr1stopher: Try deleting the files in /assets/_combinedfiles
1100: [15:43:55] <chr1stopher> logged out and logged in again
1101: [15:43:58] <chr1stopher> now it seams to work
1102: [15:44:52] <chr1stopher> are these js files generated again durling loadup?
1103: [15:44:54] * Shrike_Finland has joined #silverstripe
1104: [15:50:18] <chr1stopher> so my girlfriend came, need to leave the pc. thank you for all your help! cya
1105: [15:50:34] * chr1stopher has left #silverstripe
1106: [15:51:29] <Pylonk> ha, fancy that.
1107: [15:52:24] <micmania1> lol
1108: [15:52:27] * Alfirin has joined #silverstripe
1109: [15:59:35] <kinglozzer> lmao
1110: [16:02:07] <SphereSilverNL> I might have miscalculated the size of these flags a bit... https://www.dropbox.com/sh/ihx49jyrzc4awjx/u586sGkcS3
1111: [16:02:08] <Alfirin> I did some more detective work on my issue, and it turns out that the last thing I edit, works. So the different languages keep overwriting each other,
1112: [16:03:38] * Shrike_Finland quit (Quit: Leaving.)
1113: [16:03:55] <Pylonk> The Dropbox website requires JavaScript.
1114: [16:04:07] <Pylonk> Why? Die in a fire. Just serve files dammit.
1115: [16:04:17] <SphereSilverNL> It's a gallery-share ;)
1116: [16:04:49] <SphereSilverNL> hmmm, and the Gallery thingy makes it look fugly.
1117: [16:04:55] <SphereSilverNL> Well, this should be better, just a sec.
1118: [16:05:21] <Pylonk> ha, are you redecorating with a camping type feel SphereSilverNL ? :P
1119: [16:05:47] <SphereSilverNL> I miscalculated, image 1: https://dl.dropboxusercontent.com/u/2043802/2014-03-31%2017.58.11.jpg
1120: [16:05:56] <SphereSilverNL> Image 2: https://dl.dropboxusercontent.com/u/2043802/2014-03-31%2017.58.25.jpg
1121: [16:05:58] <SphereSilverNL> Pylonk:
1122: [16:05:59] <SphereSilverNL> no
1123: [16:06:13] <Pylonk> What is that even, the union jak?
1124: [16:06:55] <SphereSilverNL> This is my hallway, it's legacy, in 2004, me and my best friend went on a hike from London, up to Scotland, then we went to (Northern-)Ireland, down Ireland back to Wales and cross the sea again to England
1125: [16:07:10] <Pylonk> cool
1126: [16:07:15] <Pylonk> all on foot?
1127: [16:07:20] <SphereSilverNL> The flags "symbolize" our journey. It was one of the best experiences I ever had, I met so many people.
1128: [16:07:26] <Pylonk> cool :>
1129: [16:07:32] <SphereSilverNL> Yea, hitchhiking and walking
1130: [16:07:43] <Pylonk> madness. Epic.
1131: [16:08:29] <SphereSilverNL> It was a 3 month journey and if I could, I'd do it again :D
1132: [16:08:47] <Alfirin> That sounds amazing!
1133: [16:09:46] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1134: [16:12:58] <Pylonk> FFFFFFFFFFFUUUUUUUUUUUUUUUUU hacking core code< FULL MAD
1135: [16:13:20] <Pylonk> dammit people stop writing shit jquery plugins :<
1136: [16:18:24] <SphereSilverNL> jquery is becoming the ehm.... Wordpress of Javascript?
1137: [16:20:26] * r3v3rb has joined #silverstripe
1138: [16:21:47] <Alfirin> Well said
1139: [16:30:39] <Alfirin> So, can anyone assist me?
1140: [16:30:56] * kinglozzer quit ()
1141: [16:32:32] <Pylonk> SphereSilverNL: yeh, pretty much. Except jQuery is actually reasonably well constructed.
1142: [16:32:54] <Pylonk> Just... pretty monolithic. Although v2 and AMD work well I hear.
1143: [16:33:10] <Pylonk> Alfirin: depends on whether or not you ask a question!
1144: [16:33:57] <Alfirin> Well alright, I'll rephrase my earlier statement. How can I prevent the widget in other languages from overwriting eachother?
1145: [16:34:04] <SphereSilverNL> Pylonk: Well, yeah, but a well constructed framework with developers that create shit, is still shit for the end-user ;)
1146: [16:34:34] <Pylonk> Alfirin: you need some funky logic that translatable would hopefully provide.
1147: [16:34:57] <Pylonk> SphereSilverNL: yeh. It's the module makers more than the core. But then that's true of about anything.
1148: [16:35:38] <Pylonk> wholey shit, daylight savings. 5:30pm already.
1149: [16:36:14] * muskie9_ has joined #silverstripe
1150: [16:36:30] * Pylonk quit (Quit: Page closed)
1151: [16:37:16] <SphereSilverNL> 6:37 PM you mean?
1152: [16:39:06] * muskie9 quit (Ping timeout: 265 seconds)
1153: [16:47:39] * SphereSilverNL quit (Remote host closed the connection)
1154: [17:00:32] * SphereSilverNL has joined #silverstripe
1155: [17:07:47] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1156: [17:08:03] * r3v3rb has joined #silverstripe
1157: [17:12:14] * muskie9_ quit (Remote host closed the connection)
1158: [17:19:19] * Shrike_Finland has joined #silverstripe
1159: [17:19:48] * Shrike_Finland1 has joined #silverstripe
1160: [17:23:31] * Shrike_Finland quit (Ping timeout: 245 seconds)
1161: [17:34:17] <catcher> how can I force a controller 404 return to actually happen?
1162: [17:35:21] * r3v3rb quit (Quit: My iMac has gone to sleep. ZZZzzz…)
1163: [17:35:42] <catcher> I'm 404'ing, and something is still redirecting it somewhere else. I suspect CMS.
1164: [17:38:31] <catcher> Yep, onbeforehttperror404
1165: [17:40:23] <SphereSilverNL> Eh, never had that happen, there's a 404 returned, but ALSO the requested page, thus it might look like a 200 to the visitor's eye
1166: [17:40:27] <SphereSilverNL> as far as I know
1167: [17:40:40] <catcher> It's a 301
1168: [17:40:48] <catcher> to what it thinks the 'new' page is
1169: [17:41:15] <catcher> I can bypass by extending Controller directly instead of ContentControllers, but then my 404s aren't rendered through the template.
1170: [17:41:31] <SphereSilverNL> That's odd, just to make sure, you're not redirecting in an if, and also redirecting outside given if?
1171: [17:41:51] * Shrike_Finland1 quit (Quit: Leaving.)
1172: [17:42:24] <catcher> SphereSilverNL, my 404 makes it through fine, then CMS's onBeforeHTTPError404 says "hmm, I know where this should go" and 301s it
1173: [17:42:55] <SphereSilverNL> It shouldn't do that! Never had that happen to me!
1174: [17:43:22] <catcher> http://api.silverstripe.org/3.1/source-class-OldPageRedirector.html#5-30
1175: [17:43:58] <SphereSilverNL> Ahhh, there's a bug.
1176: [17:43:58] <catcher> SphereSilverNL, you probably just haven't had a situation where you have a page with the url that actually exists (or previously existed)
1177: [17:44:18] <SphereSilverNL> What it's trying to do, is find an old version of the page, with given parameters, and redirect to that.
1178: [17:44:33] <SphereSilverNL> And your parameters appearantly match some old version of said page
1179: [17:44:38] <catcher> SphereSilverNL, right.
1180: [17:44:47] <catcher> SphereSilverNL, not a bug, just a feature that I really don't want in this case
1181: [17:45:03] <SphereSilverNL> Create an override then :)
1182: [17:45:09] <SphereSilverNL> Just for this case :)
1183: [17:45:59] <SphereSilverNL> Or, maybe easier, check your database and remove all history that refers to your specific scenario
1184: [17:47:06] <catcher> SphereSilverNL, Unfortunately the structure b/n the old URL & new URL have the same base, so it's grabbing it
1185: [17:47:11] <catcher> The same segment
1186: [17:48:46] <SphereSilverNL> Than you'll have to override for this specific case I guess, sucks, but I don't know what else there is.
1187: [17:49:02] <SphereSilverNL> Anyone here using my newsmodule and willing to go beta?
1188: [17:50:07] * Shrike_Finland has joined #silverstripe
1189: [17:50:31] <SphereSilverNL> Hey Shrike_Finland, are you having connection issues? You're on/off'ing a lot!
1190: [17:50:53] <SphereSilverNL> Wow, I just farted and my cat passed out. This better not be related.
1191: [17:54:21] <catcher> SphereSilverNL, are you talking about useCustomClass?
1192: [17:55:14] <catcher> OldPageRedirector is an extension, I can't just re-declare onBeforeHTTPError404() in my ContentController subclass
1193: [17:58:12] <SphereSilverNL> Yeah, I'm talking DataExtension :)
1194: [17:59:57] <catcher> SphereSilverNL, can't override methods in an extension, only add them
1195: [18:01:52] <SphereSilverNL> Depends on the method
1196: [18:04:31] <catcher> You can never override them, some happen to provide hooks though.. and since OldPageRedirector is an extension itself, it seems to be registered before mine and thus called before mine. rhm.
1197: [18:04:33] <catcher> hrm*
1198: [18:05:38] * Alfirin quit (Ping timeout: 245 seconds)
1199: [18:08:05] * Motoservo quit (Read error: Connection reset by peer)
1200: [18:08:14] * Motoservo has joined #silverstripe
1201: [18:10:13] * muskie9 has joined #silverstripe
1202: [18:13:18] * TRB143 quit (Ping timeout: 240 seconds)
1203: [18:30:44] * Liquide has joined #silverstripe
1204: [18:32:45] * lab-notes quit (Read error: Operation timed out)
1205: [18:37:17] * DesignerX quit (Ping timeout: 252 seconds)
1206: [18:41:35] * alfirin has joined #silverstripe
1207: [18:48:30] <alfirin> in this (http://www.silverstripe.org/widgets-2/show/11375) post, it talks of WidgetExtension.php, but where should it be located? Or should it already exist somewhere by default?
1208: [18:48:37] <alfirin> I mean, assuming I have the widgets installed
1209: [18:49:46] <simon_w|air> There's a WidgetPageExtension, but no WidgetExtension
1210: [18:50:37] <alfirin> What a world.
1211: [18:50:41] <simon_w|air> alfirin, ah, there's code in the post. That code's for 2.4, so would need upgrading
1212: [18:51:18] <alfirin> I assumed so. More than making the function public?
1213: [18:51:39] <alfirin> All more recent posts about the subject link back to that
1214: [19:00:31] <catcher> any recommendations for bypassing ContentController's onBeforeHTTPError404 method, (without subclassing Controller instead)?
1215: [19:01:13] * Stomach[Ache] has joined #silverstripe
1216: [19:01:25] * Stomach[Ache] is now known as Stomach
1217: [19:14:52] * TRB143 has joined #silverstripe
1218: [19:20:58] * UncleCheese has joined #silverstripe
1219: [19:26:13] * UncleCheese quit (Quit: UncleCheese)
1220: [19:27:34] * Shrike_Finland quit (Quit: Leaving.)
1221: [19:33:05] * zippy___ has joined #silverstripe
1222: [19:35:50] * UncleCheese has joined #silverstripe
1223: [19:42:05] * nickmolhoek has joined #silverstripe
1224: [19:42:07] <zippy___> Morning UncleCheese
1225: [19:42:23] <UncleCheese> hi
1226: [19:44:12] * Ryan-Toast has joined #silverstripe
1227: [19:45:59] * UncleCheese quit (Quit: UncleCheese)
1228: [19:46:29] <zippy___> Morning Ryan-Toast
1229: [19:48:55] * micmania1 has joined #silverstripe
1230: [19:50:29] <Ryan-Toast> morning
1231: [19:50:34] * kerosene has joined #silverstripe
1232: [19:50:39] <Ryan-Toast> God, was up so late last night.
1233: [19:50:44] <Ryan-Toast> Just want to go back to bed.
1234: [19:52:42] <SphereSilverNL> Morning????
1235: [19:52:51] <SphereSilverNL> It's almost 10PM!
1236: [19:52:58] <SphereSilverNL> https://www.youtube.com/watch?v=4YMD6xELI_k <-- I'm signing up!
1237: [19:53:01] <Stomach> 8.52am in the motherland
1238: [19:53:22] <SphereSilverNL> United Kingdom for Stomach I guess?
1239: [19:53:32] <Stomach> new zealand :P
1240: [19:53:43] <zippy___> :)
1241: [19:54:00] <zippy___> the UK would be almost 10pm wouldn't it?
1242: [19:54:04] <Stomach> yeah
1243: [19:54:08] <SphereSilverNL> AM, not PM /fail here
1244: [19:54:10] <Stomach> almost the same as the Dutchies
1245: [19:54:10] <Ryan-Toast> they are way behind the times...
1246: [19:54:25] <Stomach> lololol time zone jokes
1247: [19:55:02] <Ryan-Toast> BIG JOKES, LITTLE ISLANDS
1248: [19:56:05] <SphereSilverNL> The Dutchies are cool, they're ahead of the English teatime
1249: [20:00:06] * UncleCheese has joined #silverstripe
1250: [20:00:56] <SphereSilverNL> I'm off folks. Sleep tight.
1251: [20:00:58] * SphereSilverNL quit (Quit: bye)
1252: [20:01:15] <Ryan-Toast> I’m half dutch
1253: [20:01:20] <Ryan-Toast> …annnnd he’s gone
1254: [20:03:30] * wmk quit (Quit: nice to meet you ;))
1255: [20:04:24] * UndefinedOffset quit (Quit: Leaving.)
1256: [20:08:53] <alfirin> I appreciate your half-dutchness
1257: [20:10:21] <Ryan-Toast> alfirin: <3
1258: [20:11:03] <alfirin> I've never met a dutch i didn't like
1259: [20:11:33] <alfirin> Then again, I've only ever met one
1260: [20:13:32] * travis-ci has joined #silverstripe
1261: [20:13:32] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#820 (3.1 - 7adbf81 : Damian Mooyman): The build passed.
1262: [20:13:32] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/4d48c48aa8b5...7adbf81c74c6
1263: [20:13:32] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/21968412
1264: [20:13:32] * travis-ci has left #silverstripe
1265: [20:14:03] <alfirin> eh?
1266: [20:14:22] <Ryan-Toast> Too bad I don’t know shit about Holland.
1267: [20:14:32] <Ryan-Toast> I really should though.
1268: [20:15:41] <alfirin> Where is your other half from?
1269: [20:16:50] <Ryan-Toast> NZ
1270: [20:17:05] <Stomach> eww.
1271: [20:17:18] <alfirin> You're like some sort of hybrid of awesomeness
1272: [20:18:23] <Ryan-Toast> You seeem like a guy who knows what he’s talking about.
1273: [20:20:13] <alfirin> Well both of your sources are on my top 10 best countries in the world
1274: [20:20:21] <alfirin> What's there not to like?
1275: [20:22:34] <simon_w> The Netherlands? :p
1276: [20:24:21] * micmania1 quit (Ping timeout: 252 seconds)
1277: [20:26:47] * travis-ci has joined #silverstripe
1278: [20:26:48] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2245 (3.1 - 6ae7d43 : Damian Mooyman): The build passed.
1279: [20:26:48] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/7d0f03a45465...6ae7d43a5d14
1280: [20:26:48] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21968420
1281: [20:26:48] * travis-ci has left #silverstripe
1282: [20:28:01] <alfirin> simon_w, I like all nationalies
1283: [20:28:05] <alfirin> Unless, you know, I don't
1284: [20:28:26] <simon_w> I make tautologies, except for when I don't
1285: [20:31:56] * Ryan-Toast googles tautologies
1286: [20:32:31] <simon_w> A statement that's always true
1287: [20:32:58] <Ryan-Toast> simon_w: the great google has already expanded my knowledge on the subject.
1288: [20:32:59] <simon_w> http://xkcd.com/703/
1289: [20:33:40] <Ryan-Toast> IRC needs a relevant xkcd bot.
1290: [20:36:16] <zippy___> god damn ANZ so honkey
1291: [20:37:05] <alfirin> Why doesn't my widget have unique id? :(
1292: [20:37:18] <alfirin> he is without identity
1293: [20:40:43] <unsignedint> zippy___: Im waiting for it to go out of business for failure to keep up with the times
1294: [20:40:57] <unsignedint> zippy___: I swear its running COBOL systems or something :p
1295: [20:41:08] <simon_w> unsignedint, most banks are
1296: [20:41:50] <unsignedint> "if it aint broke, dont fix it, even if its slow and inconvenient for our entire customer base" - the people making money
1297: [20:42:35] <zippy___> unsignedint: yea it makes me rage so fucking hard. I cried when I realised the kiwisaver scheme I wanted to go with is with them, god freaking damn it
1298: [20:42:37] <unsignedint> seriously, its 2014, why do I have to wait one BUSINESS day for a cross-bank transaction. I mean, its a freaking computer, it can work 24/7 and on sundays
1299: [20:43:01] <zippy___> unsignedint: agree! I hit them up about that everytime I am on the phone. "Why are you guys so backwards"
1300: [20:43:03] <unsignedint> zippy___: ahh bugger. Mines with ASB
1301: [20:43:30] <Ryan-Toast> unsignedint: I used to work for a company that made banking software for American banks. By default they had a 4 day transfer time between accounts, or you could pay a fee for it to be same day.
1302: [20:43:38] <Ryan-Toast> Literally just fuck you give us money.
1303: [20:43:39] <unsignedint> assholes
1304: [20:44:12] <simon_w> Ryan-Toast, did your software print the cheques that were posted between the banks so inter-bank transfers could happen too?
1305: [20:44:42] <Ryan-Toast> simon_w: you could take a picture of your cheque, and it would do the deposit automatically.
1306: [20:44:59] <Ryan-Toast> because Americans don’t trust direct payments to their bank accounts.
1307: [20:45:20] <Ryan-Toast> Because they don’t want to give out their bank numbers… but it’s on their fucking cheques ><
1308: [20:45:49] <Ryan-Toast> Literally getting a piece of paper every fortnight or whatever is so dumb, I just don’t understand.
1309: [20:46:22] <simon_w> It's the way inter-bank transfers work too. The banks write out a cheque and then send it to the other one
1310: [20:46:31] <Ryan-Toast> yup
1311: [20:46:35] <zippy___> never has a bank made me rage as much as anz
1312: [20:46:50] <unsignedint> seriously? what about the internet and APIs? surely it must be automated by now
1313: [20:47:06] <Ryan-Toast> unsignedint: Some do, most don’t.
1314: [20:47:45] <unsignedint> I reckon that the first bank to provide a CUSTOMER api would become very popular. It would be able to be integrated very well into accounting software, and also people would be able to use it to automatically process direct credit payments for goods
1315: [20:48:16] <unsignedint> Ryan-Toast: really? wow. well I suspect that will change as the older generation dies off
1316: [20:48:50] <Ryan-Toast> unsignedint: ITo be fair it costs them an absolute shitload to update.
1317: [20:49:21] <Ryan-Toast> Our contracts for little banks for just a WAP, and smartphone app was something like 10 million.
1318: [20:49:56] <unsignedint> wow
1319: [20:50:39] <Ryan-Toast> Which is why we got bought by an american company.
1320: [20:50:50] <simon_w> Also, you're dealing directly with people's money. Good luck getting a consumer API for that.
1321: [20:50:50] <Ryan-Toast> for upwards of 200 million or something.
1322: [20:53:46] <unsignedint> simon_w: what about my own money? I would love to have programatic access to my bank account
1323: [20:54:13] <unsignedint> also, you could just use something like oauth, as Xero does and that allows you access to peoples money
1324: [20:54:55] <simon_w> Xero doesn't give you access to the money
1325: [20:55:37] <simon_w> And the amount of crap you have to go through just to get the read-only bank feeds is rather large
1326: [20:56:14] <unsignedint> yeah I know. its shit
1327: [20:56:34] <unsignedint> I looked up how to start your own bank and you pretty much cant
1328: [20:57:06] <unsignedint> you have to buy an existing bank
1329: [20:57:27] <UncleCheese> The widespread use of electronic banking here has been a bit of a shock to me
1330: [20:57:37] <simon_w> Or get the government to pass laws allowing you to make a new one
1331: [20:57:42] * anselmdk quit (Quit: anselmdk)
1332: [20:57:44] <simon_w> UncleCheese, that's because the US is fucked in the head
1333: [20:57:45] <UncleCheese> i still can't get over the fact that no one uses cheques
1334: [20:58:01] <UncleCheese> yup
1335: [20:58:06] <unsignedint> UncleCheese: seriously? cheques bounce, they are less useful than cash
1336: [20:58:22] <unsignedint> internet banking is simple and can be done from anywhere
1337: [20:58:45] <pippy> The US has a love affair with paperwork
1338: [20:58:51] <UncleCheese> yeah
1339: [20:58:52] <UncleCheese> it's nuts
1340: [20:59:00] <UncleCheese> and everyone says electronic banking is so insecure
1341: [20:59:03] <unsignedint> I only hate cheques because one of my previous employers tried to pay me with a cheque once and it bounced (they had cashflow problems)
1342: [20:59:09] <UncleCheese> but what's less secure than a piece of paper with a handwritten number on it?
1343: [20:59:15] <unsignedint> exactly
1344: [20:59:16] <UncleCheese> and a squiggly line that supposedly authenticates me?
1345: [20:59:16] <simon_w> Cheques still get used, though mostly by places that require multiple signatures since it's easier to get two people to sign a cheque than to get two people together to approve bank transfers
1346: [20:59:42] <unsignedint> electronic banking can of course be implemented in an insecure fashion, but its not inherently insecure
1347: [21:00:40] * muskie9 quit (Remote host closed the connection)
1348: [21:01:47] * Pyromanik has joined #silverstripe
1349: [21:03:49] <alfirin> aight, imma give up for today
1350: [21:04:38] <alfirin> 16 hours of barely moderate progress is too much for me at this hour
1351: [21:05:47] <alfirin> night
1352: [21:05:50] <UncleCheese> MURCA!!!!!!!!
1353: [21:06:38] * Jakx has left #silverstripe
1354: [21:08:28] <Pyromanik> urgh, that moment when you inspect someone else's HTML and you experience a sudden urge to take their ego apart with a slegehammer.
1355: [21:08:47] <UncleCheese> <blink> tags?
1356: [21:08:58] <Pyromanik> Nah, I could respect that.
1357: [21:09:23] <Pyromanik> Just... things like using the same ID twice -.-
1358: [21:09:53] <Pyromanik> copied and hacked apart wordderp theme I think.
1359: [21:10:13] * alfirin quit (Ping timeout: 245 seconds)
1360: [21:11:34] <Pyromanik> ss23, micmania1 said he even knows how to click already.
1361: [21:12:06] <spronk> lol
1362: [21:12:19] <spronk> like my old employers website
1363: [21:12:25] <Pyromanik> ha, yeh.
1364: [21:12:28] <Pyromanik> only not that bad.
1365: [21:12:33] <Pyromanik> or maybe, I dunno.
1366: [21:12:38] <Pyromanik> dat kev.
1367: [21:12:46] <Ryan-Toast> <body>Ready</body>
1368: [21:12:54] <ss23> Didn't micmania also say he wanted to use windows? ^.^
1369: [21:13:50] <Pyromanik> pffft, don't be silly Ryan-Toast. The new web 3.0 obviously requires that you device friendly everything with <html><head><script src="site.js"></script></head><body></body>
1370: [21:13:51] <Pyromanik> JOB DONE
1371: [21:14:18] <Pyromanik> IT CREATES A SYNERGY WITH THE INTERNET OF THINGS
1372: [21:14:20] <Ryan-Toast> My body is ready was my joke :P
1373: [21:14:37] <Pyromanik> yeah I get it like
1374: [21:15:01] <Pyromanik> but I wanted an excuse to think up as many retarded buzzwords as I could.
1375: [21:15:09] <Ryan-Toast> To be fair I’m guiltiy of a little too much div nesting.
1376: [21:15:10] <Pyromanik> but instead it's given me physical pain
1377: [21:15:14] <Pyromanik> in the form of indigestion.
1378: [21:15:20] <Pyromanik> or acid reflux rather.
1379: [21:15:30] <Pyromanik> fuck
1380: [21:16:11] <Pyromanik> Ryan-Toast, can't be as bad as this
1381: [21:16:42] <Ryan-Toast> Probs not :P
1382: [21:18:40] <Ryan-Toast> ugh, only having 70% of a design is annoying.
1383: [21:19:24] <catcher> Ryan-Toast, better than having a design that's 70% annoying.
1384: [21:19:32] <Ryan-Toast> catcher: This is very true.
1385: [21:19:41] <Ryan-Toast> I approve the designs though.
1386: [21:20:36] * Pyromanik quit (Ping timeout: 252 seconds)
1387: [21:22:57] <SMaction> I am trying to fill in some of the gaps in my Silverstripe knowledge. I decided to start the tutorials from the beginning. I hit a snag on installation. I get this http://i.imgur.com/5Zk3aIe.png instead of a home page with the simple theme. The admin pages have the simple theme. Google did not provide an answer that was on point for me.
1388: [21:26:18] <Ryan-Toast> SMaction. Try /dev/build
1389: [21:26:23] <Ryan-Toast> then a ?flush=all
1390: [21:26:35] <Ryan-Toast> on the root of your site.
1391: [21:28:12] <SMaction> tried that and no change
1392: [21:28:51] <spronk> SMaction: check file perms
1393: [21:29:41] * Pyromanik has joined #silverstripe
1394: [21:30:49] <SMaction> spronk: it is on a local windows machine I am the only user on it.
1395: [21:31:20] <Pyromanik> Ryan-Toast: div#slide6.slide>div.container>div.content>h1^div.grid_8>div#content>div.grid_4>div.block>div.text>p
1396: [21:31:37] <Ryan-Toast> Pyromanik: heh
1397: [21:31:37] <Pyromanik> ALLL the things
1398: [21:32:29] <Pyromanik> I think the worst fun comes from converting werdderp themes to SS
1399: [21:33:25] <Ryan-Toast> yeah.
1400: [21:33:33] <Ryan-Toast> That guy yesterday was doing one./
1401: [21:33:39] <Ryan-Toast> all the JS
1402: [21:35:30] <Pyromanik> ffs interwebs
1403: [21:36:17] <Pyromanik> Ryan-Toast, guy yesterday?
1404: [21:36:52] <Ryan-Toast> just someone I was trying to help, but he didn’t understand how JS worked, so couldn’t do anything for him.
1405: [21:37:15] <Pyromanik> lol
1406: [21:37:22] <Pyromanik> that's a werdderpy alright.
1407: [21:37:46] <Ryan-Toast> I used to be a wordderpy :P
1408: [21:37:53] <Pyromanik> I work with a medium that requires me to know code! Luckily for me, I've no interest in code at all@
1409: [21:38:09] <Pyromanik> said most wordderpies.
1410: [21:38:31] <Ryan-Toast> 40+ plugins are slowing down my site, what do?
1411: [21:38:37] <SMaction> spronk: I checked I am running WAMP as admin and I have given everyclass of user full rights to the root directory and down of my site. Still no change. Any other things to check?
1412: [21:39:19] <Pyromanik> SMaction, what is issue?
1413: [21:39:29] <Ryan-Toast> SMaction: Was there any warnings on the install page when you ran your install?
1414: [21:39:39] <Pyromanik> urgh, gawd, installing.
1415: [21:39:53] <Pyromanik> There's something I've not used in about 2 years.
1416: [21:40:13] <Ryan-Toast> Pyromanik: How do you start a fresh site then?
1417: [21:40:49] <Pyromanik> well, if one was too cool for school, they'd type "composer create-project" and a bunch of other crap
1418: [21:40:54] <Pyromanik> job done.
1419: [21:41:14] <Ryan-Toast> So you create your database manually?
1420: [21:41:47] <Pyromanik> Personally I have a copy of 3.1.whatever locally, and just copy framework and cms (if needed) to a new folder, along with assets, mysite and themes
1421: [21:41:58] <Pyromanik> Ryan-Toast, fuck no, screw that noise.
1422: [21:42:10] <Pyromanik> see, the beauty of dev/build is that it builds it for you.
1423: [21:42:13] <SMaction> Pyromanik my site looks like this instead of having a theme. http://i.imgur.com/5Zk3aIe.png I got no warnings when I installed
1424: [21:42:37] <Ryan-Toast> Pyromanik: I need to learn more composer.
1425: [21:43:13] <Ryan-Toast> Pyromanik: is there a generic composer.json you use?
1426: [21:43:21] <catcher> SMaction, are you in dev mode?
1427: [21:44:30] <Ryan-Toast> Pyromanik: I have this but I’m not sure wtf to do with it: https://github.com/Rhym/ss_boilerplate/blob/master/composer.json
1428: [21:45:21] * Colin[pi] has joined #silverstripe
1429: [21:45:55] <Ryan-Toast> Colin[pi]: aye, gurl
1430: [21:46:01] * muskie9 has joined #silverstripe
1431: [21:46:10] <Colin[pi]> oi gatinha
1432: [21:46:26] <Pyromanik> SMaction, theme works fine! You can see "theme by Sara"
1433: [21:46:51] <Pyromanik> what you're lacking are stylesheets.
1434: [21:46:52] <spronk> just loioks like some missing css, really
1435: [21:47:02] <Pyromanik> yep
1436: [21:48:02] <SMaction> Pyromanik spronk thanks for the observation. What could cause the CSS to be missing in the site but not the admin pages?
1437: [21:48:09] <Ryan-Toast> Pyromanik: can you have a wee looksie at my composer above?
1438: [21:48:32] <SMaction> catcher I am not in dev mode
1439: [21:49:26] <catcher> SMaction, it'll help you debug, that display can be caused by an error.
1440: [21:49:29] <spronk> SMaction: look to see whether the css files actually exist in your themes/simple/css/... folder
1441: [21:50:07] <SMaction> spronk yes
1442: [21:50:41] <spronk> check your browser's networ activity to see whether the file loads or is errored
1443: [21:51:23] <Pyromanik> SMaction, incorrectly set up .htaccess ruels
1444: [21:52:11] <Pyromanik> Ryan-Toast, I don't do composer, but I can tell you that it's pretty much probably not what you're after, unless you pull that entire repo directly into your SS root (Bootstrap is a module?)
1445: [21:53:14] <Ryan-Toast> Bootstrap is a thing
1446: [21:53:21] <Ryan-Toast> I don’t even know what to call it.
1447: [21:53:27] <Ryan-Toast> Part module, part theme.
1448: [21:53:30] <Pyromanik> Ryan-Toast, but yeh. I have an _ss_environment.php in my web root, then I plonk assets, cms, framework, mysite, themes, .htaccess into a folder named after the project,then visit the site.
1449: [21:53:30] <Ryan-Toast> part stuff.
1450: [21:53:32] <Pyromanik> JOB DONE.
1451: [21:53:38] <Pyromanik> install, no sir.
1452: [21:53:38] <Stomach> we have a clone of https://github.com/silverstripe/silverstripe-installer with the composer in there set up with includes we use
1453: [21:53:55] <SMaction> spronk I am getting 404 not found on the CSS files. Pyromanik is there a default .htacess I can copy somewhere, if mine is messed up?
1454: [21:54:30] <Stomach> so you can do "composer create-project littlegiant/installer SITENAME dev-master" and it sets it all up for me
1455: [21:54:37] <Stomach> very handy
1456: [21:54:39] <Pyromanik> Ryan-Toast, well I'm not sure about how composer gets on with sharing spaces with other repos, but yeh. It's basically a package manager type thing (ruby's gem, rails' bundler, or whatver_
1457: [21:54:43] <Pyromanik> )*
1458: [21:55:04] <Pyromanik> SMaction, see the git repo for installer
1459: [21:55:06] <Ryan-Toast> I just have no experiance with it, but it seems swish.
1460: [21:55:22] <Pyromanik> SMaction, Stomach just pasted the link
1461: [21:55:31] <zippy___> damn, is there a way to disable the preview on a specific page?
1462: [21:55:43] <Pyromanik> Ryan-Toast, yeh. I'm yet to dive in, but I get the basic concept.
1463: [21:56:00] <Ryan-Toast> I wish you could have themes inside modules.
1464: [21:56:06] <Pyromanik> You can.
1465: [21:56:09] <Ryan-Toast> wat
1466: [21:56:13] <Pyromanik> well, default ones.
1467: [21:56:18] <Pyromanik> to some extent
1468: [21:56:27] <Pyromanik> templates, css folder, etc.
1469: [21:56:37] <Ryan-Toast> well that’s not really a theme.
1470: [21:56:53] <Pyromanik> not particularly, but it would be 100% pointless to have a theme IN a module
1471: [21:57:18] <Ryan-Toast> No, because then you could create a child theme in your actual themes folder to oveerride it.
1472: [21:57:24] <Pyromanik> You can modularise a theme, the ThemeName_module naming convention
1473: [21:57:29] <Pyromanik> (folder)
1474: [21:57:55] <Pyromanik> Ryan-Toast, but that's exactly how the template system works now.
1475: [21:58:18] <Ryan-Toast> your theme would override templates set in your module though.
1476: [21:58:22] <Ryan-Toast> wouldn’t they?
1477: [21:58:28] <Ryan-Toast> layout/page.ss for example
1478: [21:58:34] <Pyromanik> yes, of course.
1479: [21:58:47] <Pyromanik> otherwise making a theme would be pointless.
1480: [21:58:52] <Ryan-Toast> yeah.
1481: [21:59:08] <Pyromanik> but making multiple themes in a module is a silly idea.
1482: [21:59:12] <Ryan-Toast> I just wish you could add fields to the cms with only a theme
1483: [21:59:22] <Pyromanik> You give some sensible defaults, and then the rest is up to the developer
1484: [21:59:29] <Pyromanik> yeah, no.
1485: [21:59:44] <Pyromanik> Because then you're getting into wordderp terrortory.
1486: [21:59:49] <Ryan-Toast> Like I have my boilerplate module, and then I have a boilerplate theme.
1487: [22:00:04] <Pyromanik> Ryan-Toast, also, you're exactly describing mysite
1488: [22:00:07] <Ryan-Toast> I know, but it would incourage growth for new devs.
1489: [22:00:12] <Pyromanik> or whatever you name your $project
1490: [22:00:24] <Pyromanik> Ryan-Toast, no, it would encourage derp by new devs.
1491: [22:00:32] <Ryan-Toast> Yes, I just have it seperated into a module so you can update it without having to re-write shizz.
1492: [22:00:43] <Pyromanik> half / themajority of the reason wordderp is so derpy.
1493: [22:01:26] <Pyromanik> SS is a single site monolithic style system.
1494: [22:01:40] <Pyromanik> so really you only use one theme at a time.
1495: [22:02:21] <Pyromanik> and adding things to your site is dead easy, especially when you've got modules. Those modules provide template bits, and if done well just work with minimal coding.
1496: [22:02:23] <Ryan-Toast> I know, it’s just annoying because I want to make themes fr SS.
1497: [22:03:18] <Pyromanik> Yeah, but in all reality, you've no idea what a site might have on it.
1498: [22:03:44] <Ryan-Toast> Which is why boilerplate has so many customisation options
1499: [22:03:44] <Pyromanik> Ryan-Toast, and also, with a few composer lines you can achieve what you're talking about anyway
1500: [22:04:02] <Ryan-Toast> old version but e.g http://webdough.co.nz/~boilerpl/
1501: [22:04:05] <Pyromanik> you choose the theme, theme pulls dependencies (modules) and boom.
1502: [22:04:14] <Pyromanik> JOB DONE
1503: [22:04:21] <Pyromanik> so it turns into a single line.
1504: [22:04:27] <Pyromanik> problem solved.
1505: [22:04:54] <Ryan-Toast> Yes, you and I could do it, but jonny-buy-a-theme can't.
1506: [22:05:01] <Pyromanik> sure they can.
1507: [22:05:12] <Pyromanik> jonny-buy-a-theme is a dickhead anyway.
1508: [22:05:16] <Ryan-Toast> Well they don’t want to.
1509: [22:05:32] <Pyromanik> exactly. If they buy a wordderp theme they want someone else to install it anyway.
1510: [22:06:25] * kerosene quit (Quit: WeeChat 0.4.3)
1511: [22:06:32] <Ryan-Toast> Does a theme need anything in it to be regarded as a theme by the framework, or just a folder?
1512: [22:09:43] * UncleCheese_ has joined #silverstripe
1513: [22:10:17] <simon_w> Ryan-Toast, just needs to be in the themes folder
1514: [22:10:50] <Ryan-Toast> Interesting.
1515: [22:13:38] * kerosene has joined #silverstripe
1516: [22:17:30] <zippy___> is there a fancy tool you can use, to take a repeating image and slice it up so it repeats nicely?
1517: [22:17:47] <zippy___> ie I got a fairly large image, but I could create just a fraction of it to use for the background
1518: [22:18:41] * [1]Pyromanik has joined #silverstripe
1519: [22:19:24] <simon_w> zippy___, Xcode!
1520: [22:19:30] <zippy___> rly?
1521: [22:19:42] <simon_w> Yes, but that's not going to help you :p
1522: [22:20:59] <zippy___> ss23: SS 3.1.4 getting released today was just an april fools wasn't it...
1523: [22:21:19] * Pyromanik quit (Ping timeout: 265 seconds)
1524: [22:21:19] * [1]Pyromanik is now known as Pyromanik
1525: [22:22:03] <ss23> zippy___: Well the RC for 3.0 is already out
1526: [22:22:09] <ss23> I'm told the RC for 3.1 is coming out today, yes
1527: [22:22:18] <zippy___> RC oh mannn
1528: [22:22:34] <Ryan-Toast> This is pretty cool: https://github.com/gabrielecirulli/2048
1529: [22:23:55] * catcher quit (Quit: Leaving)
1530: [22:32:10] * joelpittet has joined #silverstripe
1531: [22:33:16] <Ryan-Toast> Anyone know of a good booking module?
1532: [22:34:58] <Colin[pi]> read that as "good looking"
1533: [22:35:09] <Colin[pi]> as in, bookings for what?
1534: [22:35:33] <Ryan-Toast> for events or whatever, just looking for an example so I can make my own
1535: [22:36:18] <Pyromanik> wow
1536: [22:36:37] <Colin[pi]> Ryan-Toast: I rolled my own for a project last year, was just registrations though, no payments
1537: [22:36:38] <Pyromanik> there's some wordderpyesque stuff already. There are three unfinished blocks modules.
1538: [22:36:48] <Pyromanik> as well as the one I did 2 years ago
1539: [22:37:14] <Pyromanik> although I never got around to releasing that because it was too basic and basically pointless
1540: [22:37:27] <Pyromanik> anyway, evaluation a job for another day.
1541: [22:37:27] <Ryan-Toast> Colin[pi]: I don’t need payments, just wanted to see the best way of implementing bvookings for members
1542: [22:37:33] <Pyromanik> ciao chaps
1543: [22:37:39] <Ryan-Toast> Bai
1544: [22:37:41] <Colin[pi]> cyas
1545: [22:38:12] <simon_w> Man, Monday's going to be so long next week
1546: [22:38:57] <Colin[pi]> Ryan-Toast: I had a three level hierarchy of Pages in mine: Calendar > Event > EventSession
1547: [22:39:20] <Ryan-Toast> Colin[pi]: did you have something like members many_many bookings?
1548: [22:39:32] <Colin[pi]> I believe so yes
1549: [22:39:35] <simon_w> 43 hours of Monday
1550: [22:39:44] <simon_w> Could make for an interesting horror movie
1551: [22:40:54] <Colin[pi]> Ryan-Toast: actually I had an EventRegistration DO
1552: [22:41:03] <Colin[pi]> as it wasn't using Member
1553: [22:41:18] <Ryan-Toast> a DO?
1554: [22:41:24] <Colin[pi]> DataObject
1555: [22:41:39] <Ryan-Toast> Oh.
1556: [22:41:40] <Ryan-Toast> lol
1557: [22:42:34] <Colin[pi]> so the registration had a has_one to the session, and the session has_many registrations
1558: [22:43:55] <Ryan-Toast> Why did you do it that way over extending the members to have “bookings”?
1559: [22:44:19] <Colin[pi]> can't remember!
1560: [22:44:20] <Colin[pi]> lol
1561: [22:44:24] <Colin[pi]> I guess they didn'
1562: [22:44:25] <Ryan-Toast> :P
1563: [22:44:26] <Colin[pi]> oops
1564: [22:44:28] <Colin[pi]> didn't need logins
1565: [22:44:33] <Ryan-Toast> fair enough :)
1566: [22:44:40] <Colin[pi]> so I think at the time I just went ehhh registration object
1567: [22:46:29] <Ryan-Toast> Technically what’s a member? Are they a DO?
1568: [22:46:42] <simon_w> Yes
1569: [22:47:06] <Colin[pi]> yeah they are, and you can certainly do it by extending member as you suggest
1570: [22:47:13] <Ryan-Toast> Coolio
1571: [23:00:06] <zippy___> Panda just saved you - 57% - 59 KB total
1572: [23:00:20] <zippy___> fuck panda you so awesome! https://tinypng.com/
1573: [23:01:35] <Ryan-Toast> Get dat lugin, son.
1574: [23:01:39] <Ryan-Toast> plugin
1575: [23:01:51] <zippy___> yea, but I just like looking at the panda
1576: [23:01:57] <Ryan-Toast> paaaanda
1577: [23:02:12] <Ryan-Toast> http://i.imgur.com/x7TEL.gif
1578: [23:02:38] <zippy___> mascot aint getting a pay rise this year huh
1579: [23:03:09] <Ryan-Toast> All of those ads are great. Panda cheese as I remember.
1580: [23:03:21] <Ryan-Toast> https://www.youtube.com/watch?v=XYz3sl0LEA4
1581: [23:03:53] <Colin[pi]> zippy___: cool site, thanks zippy
1582: [23:04:19] <zippy___> Colin[pi]: I use it often, it is god.
1583: [23:04:25] <zippy___> well, good, maybe not god
1584: [23:04:37] <Colin[pi]> love me some png... gif can go eat a dick
1585: [23:04:59] <Ryan-Toast> unless you have like 20 colours.
1586: [23:05:19] <zippy___> or want some animation
1587: [23:05:35] <Ryan-Toast> mm, sprites are better for animation.
1588: [23:05:35] <Colin[pi]> gfycat!
1589: [23:05:40] <Colin[pi]> ;)
1590: [23:06:05] <Ryan-Toast> I love that bot
1591: [23:06:09] <Ryan-Toast> call it all the time.
1592: [23:07:45] * Motoservo quit (Read error: Connection reset by peer)
1593: [23:07:46] * Motoservo_ has joined #silverstripe
1594: [23:10:13] * muskie9_ has joined #silverstripe
1595: [23:10:14] * muskie9 quit (Read error: Connection reset by peer)
1596: [23:10:15] * muskie9_ quit (Read error: Connection reset by peer)
1597: [23:10:44] * muskie9 has joined #silverstripe
1598: [23:15:52] * UncleCheese_ quit (Quit: UncleCheese_)
1599: [23:19:56] <zippy___> anyone use anything for time / project tracking which also intergrats into Xero?
1600: [23:22:37] * Bollig|DesignCty has joined #silverstripe
1601: [23:24:08] <Colin[pi]> zippy___: nah I use HourGuard as a fairly simple time tracker
1602: [23:24:39] <Colin[pi]> it integrates with NCH's software, but it's much more simple than Xero
1603: [23:24:42] <zippy___> I use toggl.com normally, but this client I do some work for using something really terrible
1604: [23:27:16] <spronk> #node.js has... orders of magnitude more users than this channel yet is 1/10th as useful.
1605: [23:27:17] <spronk> sigh
1606: [23:27:48] <Colin[pi]> that's because they don
1607: [23:27:52] <Colin[pi]> have simon_w
1608: [23:27:54] <Colin[pi]> ;)
1609: [23:28:01] <spronk> haha
1610: [23:28:09] <spronk> they don't even tal
1611: [23:28:09] <spronk> k
1612: [23:28:29] <simon_w> Yeah, #hhvm is nice and helpful too!
1613: [23:29:06] <spronk> i'm pretty sure nobody writes anything large in javascript
1614: [23:29:16] <spronk> and that node.js is actually not real
1615: [23:29:21] <Colin[pi]> lol
1616: [23:32:02] <Colin[pi]> look at me, writing ajax stuff like a superstar
1617: [23:32:08] <Colin[pi]> I used to loathe ajax
1618: [23:32:15] <Colin[pi]> but in SMALL DOSES it's useful
1619: [23:32:39] <simon_w> And then there's the CMS
1620: [23:34:41] <Colin[pi]> lol you had to mention the gigantic elephant in the room
1621: [23:35:21] <spronk> every time i do something nontrivial in javascript i start out thinking it'll be sweet, javascript has some good bits, new js tools and frameworks are cool
1622: [23:35:41] <spronk> then i always, without fail, and up at a point where all I can think is: JESUS FUCKING CHRIST THIS IS THE WORST WAY TO WRITE PROGRAMS IN THE HISTORY OF EVER
1623: [23:36:00] * joelpittet quit ()
1624: [23:36:23] <spronk> it's like choosing to walk on a tiny tightrope above a massive shark pit, when there's a perfectly good, safe bridge right next to it.
1625: [23:37:43] * travis-ci has joined #silverstripe
1626: [23:37:43] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2252 (3.1 - f540e5b : Ingo Schommer): The build has errored.
1627: [23:37:43] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/6ae7d43a5d14...f540e5bd1880
1628: [23:37:43] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/21980772
1629: [23:37:43] * travis-ci has left #silverstripe
1630: [23:37:58] <Colin[pi]> spronk: lolol so true
1631: [23:38:06] <simon_w> Ingo broke the build!
1632: [23:39:31] <Colin[pi]> uh oh spaghettios!
1633: [23:53:39] * UncleCheese quit (Quit: UncleCheese)
1634: [23:54:14] <Stomach> come on 3.1.4
1635: [23:54:24] <Stomach> just release candidate yourself already
1636: [23:54:46] <ss23> lol
1637: [23:54:50] <ss23> Blame moonmn!

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