#silverstripe IRC Log

IRC log for 5 September 2014

All timestamps are in UTC.

1: [00:00:04] <Ryan-Toast> antmas: going to make my own form generator.
2: [00:00:09] <antmas> Kingy: dabass?
3: [00:00:17] <antmas> Ryan-Toast: nice
4: [00:00:20] <antmas> userforms works
5: [00:00:21] <ss23> Drop dabass.
6: [00:00:33] <antmas> but you need to flush the userforms page inside the cms
7: [00:00:35] <Ryan-Toast> antmas: well not a froint end one, but one that just works from a siple array
8: [00:00:36] <antmas> which is retarded
9: [00:01:17] <antmas> Ryan-Toast: how does the food menu work?
10: [00:01:27] <antmas> as that would be useful for a new client ;)
11: [00:01:29] <Ryan-Toast> antmas: pretty basic
12: [00:01:58] <ss23> AW HELLS BELLZ
13: [00:02:01] <antmas> Ryan-Toast: I was going to use the portfolio system for it
14: [00:02:14] <Ryan-Toast> antmas: http://webdough.co.nz/~boilerpl/menu/
15: [00:02:36] <antmas> Ryan-Toast: that looks awesome
16: [00:02:44] <antmas> Ryan-Toast: also, I'm now hungry
17: [00:02:58] <Ryan-Toast> antmas: Chur, was having a play with rendering with different templates via the iundex() function
18: [00:04:16] <antmas> ah I see
19: [00:04:25] <antmas> Ryan-Toast: any progress on the mailchimp stuffs/
20: [00:04:27] <antmas> ?*
21: [00:04:32] <Ryan-Toast> antmas: did a little bit
22: [00:04:58] <antmas> might have to add another $100 for the menu bit :D
23: [00:05:07] <Ryan-Toast> lol
24: [00:05:35] <antmas> has anyone here dealt with point of sales systems before?
25: [00:05:45] <Ryan-Toast> piece of shit systems
26: [00:05:50] <antmas> pretty much
27: [00:05:55] <simon_w|work> I built one!
28: [00:06:20] <antmas> simon_w|work: if it's called WizBang!, then consider yourself on my kill list
29: [00:06:33] <simon_w|work> antmas, nope. Rare Steak.
30: [00:06:40] <antmas> :P nice
31: [00:07:00] <antmas> I'm going to try and hook up a way to view loyalty points
32: [00:07:06] <antmas> which is stored on a local server
33: [00:07:17] <antmas> under the bar
34: [00:07:20] <antmas> -_-
35: [00:08:56] * jedateach has left #silverstripe
36: [00:16:54] * jenniferaslan quit (Quit: jenniferaslan has left the room)
37: [00:28:17] * Ryan-Toast quit (Quit: Ryan-Toast)
38: [00:38:28] <pippy> Kingy: get that problem all the time, use pgadmin to delete the key
39: [00:38:48] <pippy> it happens often when you create, then delete then create the same dataobject
40: [00:38:51] <pippy> in postgresql
41: [00:41:00] * micmania1 quit (Quit: micmania1)
42: [00:48:44] * oddnoc quit (Quit: oddnoc)
43: [00:48:49] <Kingy> thanks pippy
44: [00:54:16] * camfindlay quit (Quit: camfindlay)
45: [00:55:20] * jedateach has joined #silverstripe
46: [00:55:56] * Azure quit (Quit: My MBP went to sleep.)
47: [00:59:07] * Azure has joined #silverstripe
48: [00:59:28] * micmania1 has joined #silverstripe
49: [01:00:24] * jedateach has left #silverstripe
50: [01:00:42] * micmania1 quit (Client Quit)
51: [01:01:44] * maxer quit (Quit: maxer)
52: [01:09:57] * micmania1 has joined #silverstripe
53: [01:21:07] * camfindlay has joined #silverstripe
54: [01:24:08] * camfindlay quit (Client Quit)
55: [01:25:20] * Bosie has joined #silverstripe
56: [01:27:18] <Bosie> Hello guys. Can anyone point me to a way to get to some resources that can help me cache a load of data for a specific Member - eg, if Member with ID 356 comes back today, get this load of data from them rather than run this huge set of queries?
57: [01:27:33] * camfindlay has joined #silverstripe
58: [01:28:13] <Bosie> is it SS_Cache, or is there a better way?
59: [01:28:35] * camfindlay quit (Client Quit)
60: [01:29:07] <Bosie> was thinking I could build SS_Cache::factory('member_cache_'.$member->ID) or something?
61: [01:31:42] <simon_w|work> Bosie, that's basically what you'd do
62: [01:31:57] <simon_w|work> Though, I tend to add the ID to the key rather than the cache name
63: [01:32:15] <simon_w|work> (so, ->get('item' . $member->ID) instead of as part of factory())
64: [01:32:18] <Kingy> where the hell to pgadmin database backups go on a mac
65: [01:33:11] <Bosie> brilliant thanks simon_w :)
66: [01:34:04] <simon_w|work> pgadmin? People actually use that?
67: [01:34:17] <Kingy> yessir :)
68: [01:34:34] <simon_w|work> Just use psql :p
69: [01:34:51] * camfindlay has joined #silverstripe
70: [01:35:06] <Kingy> well yes, hindsight simon_w|work
71: [01:36:05] * Kingy just restores mays backup
72: [01:37:54] <Bosie> simon_w are there any performance/other reasons why you don't have unique caches for members? or is that a style thing?
73: [01:38:22] <simon_w|work> Bosie, it's still a unique cache
74: [01:38:30] <simon_w|work> Just makes it easier to invalidate them all at once
75: [01:39:18] <Bosie> If each member has, say, 30 cache items, thought it might be easier to clear the entire cache rather than each item?
76: [01:39:32] <Bosie> clear the entire member cache I mean
77: [01:40:04] <simon_w|work> Yes, which is why I put the member's ID on the cache key (the thing passed to get) rather than the cache name (the thing passed to factory)
78: [01:47:00] <Bosie> ok thanks again simon_w :)
79: [01:51:31] * joelpittet has joined #silverstripe
80: [01:54:46] * Ryan-Toast has joined #silverstripe
81: [01:54:53] * camfindlay quit (Quit: camfindlay)
82: [01:56:37] * Kingy is now known as Kingy[a]
83: [01:57:22] * Kingy[a] is now known as Kingy
84: [02:07:11] <antmas> gifs?
85: [02:07:14] <antmas> gifs
86: [02:11:10] <Ryan-Toast> http://i.imgur.com/sXQlEOv.gif
87: [02:11:31] <zippy> not 3pm yet
88: [02:11:48] <Ryan-Toast> gifs do not conform to your sheeple timeframe
89: [02:17:07] <zippy> god damn csrf tokens!
90: [02:17:27] <zippy> 20 mins typing in a box and click save, page refreshes 'Invalid CSRF token'
91: [02:17:33] <zippy> hit back - data not there
92: [02:17:39] <zippy> must be a gif for that!
93: [02:17:58] <Ryan-Toast> zippy: http://i.imgur.com/UhZGQ.gif
94: [02:18:14] <Ryan-Toast> http://i.imgur.com/IvlVl.gif
95: [02:18:20] <Ryan-Toast> http://i.imgur.com/x7TEL.gif
96: [02:18:30] <Ryan-Toast> http://i.imgur.com/uudTwgd.gif
97: [02:18:41] <Ryan-Toast> http://i.imgur.com/U70ha.gif
98: [02:19:02] <Ryan-Toast> http://i.imgur.com/siA7C.gif <— personal favorite
99: [02:19:16] <Ryan-Toast> http://i.imgur.com/KBNcZ.gif
100: [02:19:28] <Ryan-Toast> http://i.imgur.com/HydkU.gif
101: [02:19:43] <Ryan-Toast> http://i.imgur.com/0wmSG.gif
102: [02:19:52] <Ryan-Toast> So yes, there are some gifs.
103: [02:21:40] * Kingy is now known as Kingy[a]
104: [02:22:32] * willr_ has joined #silverstripe
105: [02:27:00] <zippy> that all
106: [02:28:31] * Colin[pi] has joined #silverstripe
107: [02:28:35] <Ryan-Toast> zippy...
108: [02:28:41] <Ryan-Toast> I CAN GO FOR DAYS, SON
109: [02:28:57] * willr_ quit (Ping timeout: 255 seconds)
110: [02:28:59] <Ryan-Toast> but y’know http://i.imgur.com/V5H79.gif
111: [02:29:24] * antmas is pleased
112: [02:29:43] <antmas> http://i.imgur.com/siA7C.gif is great
113: [02:30:18] <Ryan-Toast> Does everyone use $MenuTitle.XML over $MenuTitle?
114: [02:30:32] <Colin[pi]> good mor... uh, afternoon!
115: [02:31:19] * JeremyRoundill has joined #silverstripe
116: [02:31:42] <Ryan-Toast> Caolin[pi]: hai, how’sa the new car?
117: [02:31:49] <Ryan-Toast> Caolin, lol.
118: [02:32:53] <simon_w|work> Late Colin[pi]!
119: [02:33:10] <antmas> Carolin[pi]
120: [02:33:14] <Ryan-Toast> simon_w: do you use MenutTitle.XML or just MenuTitle?
121: [02:33:28] * joelpittet quit ()
122: [02:33:34] <antmas> Colin[pi]: has been out hunting bitches in his new wagon
123: [02:33:34] <simon_w|work> Ryan-Toast, I don't do frontend
124: [02:33:52] <simon_w|work> Or, if I do, I use XHP
125: [02:33:57] <Ryan-Toast> simon_w|work: I think I may just do .XML on everything
126: [02:35:09] <Stomach> $JSONString.XML
127: [02:37:19] <spronk> rootfs 96G 90G 1.4G 99%
128: [02:37:21] <spronk> how the fuck doesthat work
129: [02:37:29] <spronk> (total, used, avail)
130: [02:37:34] <spronk> 96-90 > 1.4
131: [02:37:52] <Stomach> some of it is in swap and not getting counted?
132: [02:39:28] <spronk> ah
133: [02:39:33] <spronk> 5% superuser reserved space
134: [02:39:34] <spronk> fucks sakes
135: [02:39:40] <spronk> fuck you new relic for not taking this into account
136: [02:41:17] <Colin[pi]> antmas: lol, I wish
137: [02:42:14] <Colin[pi]> antmas: it drives freakin sweet though
138: [02:42:19] <Colin[pi]> dem flappy paddles
139: [02:42:20] <Ryan-Toast> I just spent 45 minutes changing the.wrong.fucking.repo
140: [02:42:30] <Colin[pi]> Ryan-Toast: lollers
141: [02:42:48] <Ryan-Toast> FUUUUK
142: [02:43:44] <Stomach> time for another epic commit message?
143: [02:44:25] <Ryan-Toast> I’m planning on “.XML all the things!"
144: [02:45:52] * Bosie quit (Ping timeout: 246 seconds)
145: [02:49:29] <JeremyRoundill> Hmm
146: [02:49:30] <JeremyRoundill> Hey guys.
147: [02:50:03] <JeremyRoundill> Still slightly confused by the problem I had yesterday.
148: [02:50:09] * wilsonstaff has joined #silverstripe
149: [02:50:16] <wilsonstaff> \NICK wilsonstaff
150: [02:50:43] <JeremyRoundill> I've got 3 objects which have relationships like this
151: [02:51:03] <JeremyRoundill> ProductPage <1--1> Album <1--n> AlbumImage
152: [02:51:09] <wilsonstaff> HI to all, the following link is not redirecting once logged. http://acmq.qc.ca/Security/login?BackURL=%2Facces-aux-membres%2Fphotos Any reason why?
153: [02:51:53] <JeremyRoundill> And I'm having a bit of trouble adding AlbumImages.
154: [02:52:16] <JeremyRoundill> Because when I save a new ProductPage the Album isn't created.
155: [02:52:46] <JeremyRoundill> Hmm
156: [02:52:52] <JeremyRoundill> Actually, I've got something to try first
157: [02:55:33] <Stomach> JeremyRoundill - if you want there to always be an album created then throw it into an onBeforeWrite
158: [02:55:52] <zippy> JeremyRoundill: the album wont be created, you'd have to create it
159: [02:56:00] <zippy> my js always ends up in a shitty heap
160: [02:56:04] <zippy> there must be a better way
161: [02:57:16] <Stomach> zippy, there is! :P
162: [02:57:24] <Stomach> pick one of 30 different ways
163: [02:57:25] <zippy> mm?
164: [02:57:27] <zippy> lol
165: [02:57:49] <Stomach> commonjs, browserify, webpack, requirejs, yeoman
166: [02:58:01] <Stomach> UncleCheese signal
167: [03:02:45] * Kingy[a] is now known as Kingy
168: [03:03:04] <Kingy> so I'm pretty sure even the SS test site knows it's friday
169: [03:03:46] <Kingy> 13 minutes to untar a file
170: [03:03:52] <Kingy> and the flush command has been going for 5
171: [03:04:27] <zippy> Stomach: not sure I need a system like that, just a better way of writing my js code
172: [03:05:41] <simon_w|work> zippy, easiest option: stop writing JS :p
173: [03:05:55] <Stomach> zippy - by following a system it forces you to write better code :P
174: [03:06:02] <Stomach> but you could start by linting your code
175: [03:06:21] <Stomach> at least then you will have a nicely laid out scramble.
176: [03:06:22] <wilsonstaff> HI to all, the following link is not redirecting once logged. http://acmq.qc.ca/Security/login?BackURL=%2Facces-aux-membres%2Fphotos Any reason why?
177: [03:06:25] <antmas> who writes js?
178: [03:06:52] <antmas> dat image slider
179: [03:06:55] <zippy> mmmm i Stomach I lint already
180: [03:07:58] <Ryan-Toast> I would have the moving ones goover the middle two, so you don’t get the whitespace
181: [03:08:04] <zippy> wilsonstaff: the BackURL is (hard coded?) with the wrong url
182: [03:08:15] <zippy> wilsonstaff: <input type="hidden" name="BackURL" value="/admin/security/" class="hidden" id="MemberLoginForm_LoginForm_BackURL" />
183: [03:10:01] <wilsonstaff> <zippy>The url comes from an HTML email. It links to a page that is visible only by connected members. So when they arrive at the page, they see a message THIS PAGE IS SECURED, PLEASE.... but once logged it gives back to home page.
184: [03:10:40] <simon_w|work> wilsonstaff, sounds like you've got something that's specifically doing that
185: [03:10:48] <simon_w|work> default login destination isn't the home page
186: [03:11:23] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
187: [03:12:48] <wilsonstaff> <@simon_w|work> So that link http://www.acmq.qc.ca/acces-aux-membres/photos turns into http://acmq.qc.ca/Security/login?BackURL=%2Facces-aux-membres%2Fphotos as the target page is secured. Right?
188: [03:13:04] <simon_w|work> Yes
189: [03:13:26] <wilsonstaff> Shouldn't logged people be redirected to the http://www.acmq.qc.ca/acces-aux-membres/photos page?
190: [03:13:48] <wilsonstaff> <@simon_w|work> Shouldn't logged people be redirected to the http://www.acmq.qc.ca/acces-aux-membres/photos page?
191: [03:14:00] <simon_w|work> yes
192: [03:20:19] <wilsonstaff> But they are not. I am wondering if its nit related to group permissions.... its set toy CONTENT - SEE ALL PAGE
193: [03:20:40] <wilsonstaff> <@simon_w|work> But they are not. I am wondering if its nit related to group permissions.... its set toy CONTENT - SEE ALL PAGE
194: [03:21:20] <simon_w|work> wilsonstaff, being redirected to the home page on login requires custom code
195: [03:22:28] <wilsonstaff> <@simon_w|work> Just tested. Once logged, it goes back to http://acmq.qc.ca/admin/security/ from http://acmq.qc.ca/Security/login?BackURL=%2Facces-aux-membres%2Fphotos
196: [03:26:38] <Stomach> http://i.imgur.com/98DlknV.gif
197: [03:28:49] <Kingy> [2014-09-05 14:47:50] Deploying
198: [03:28:50] <Kingy> [2014-09-05 15:26:45] Deploy done
199: [03:28:55] * wilsonstaff quit (Ping timeout: 246 seconds)
200: [03:29:04] <Kingy> wow that took a while
201: [03:29:25] <simon_w|work> Need better deploys
202: [03:29:33] <simon_w|work> Do it via bittorrent
203: [03:29:47] <Kingy> this is on SS test server
204: [03:29:51] <Kingy> using deploynaut
205: [03:30:00] <Kingy> so i don't really have much say in how they do it :P
206: [03:30:19] * antmas quit (Ping timeout: 246 seconds)
207: [03:31:08] <simon_w|work> Change host :p
208: [03:31:14] <simon_w|work> Switch to one that doesn't suck :p
209: [03:31:25] <ss23> SHHH
210: [03:34:01] * Phlunk3 has joined #silverstripe
211: [03:34:31] * Olliepop quit (Ping timeout: 246 seconds)
212: [03:36:02] <simon_w|work> But, insulting irogue's team is fun! :p
213: [03:36:44] <adrexia> I like deploynaut
214: [03:37:19] <adrexia> think its one of the best things about cwp. that and gitlab
215: [03:37:38] <Stomach> both opensource!
216: [03:37:40] <Stomach> oh wait...
217: [03:37:48] <Stomach> ss23 >_<
218: [03:38:44] <Kingy> i like deploynaut as well
219: [03:38:54] <Kingy> the test server i could give away though :P
220: [03:39:46] <simon_w|work> Is the CWP gitlab some really old version?
221: [03:39:55] <simon_w|work> *still
222: [03:41:42] <Kingy> what version would you consider old
223: [03:42:10] <simon_w|work> Well, it's 6.3 or something, isn't it?
224: [03:42:41] <Kingy> i'm not on cwp (I don't think) and it's 6.5
225: [03:43:39] <simon_w|work> That was released in January
226: [03:43:47] <simon_w|work> There's monthly releases
227: [03:43:47] <ss23> Stomach: IT'S ON MY TODO LIST
228: [03:45:21] <Stomach> <3
229: [03:45:58] <simon_w|work> ss23, is updating gitlab on that list too?
230: [03:46:50] <Kingy> lol
231: [03:47:36] <Ryan-Toast> To do a fresh re-install you csan delete the config file or something, right?
232: [03:47:52] <simon_w|work> Ryan-Toast, delete the database
233: [03:47:56] <simon_w|work> run dev/build
234: [03:47:58] * wilsonstaff has joined #silverstripe
235: [03:48:05] * cloph has joined #silverstripe
236: [03:48:12] <wilsonstaff> ?NICK wilsonstaff
237: [03:48:22] * cloph_away quit (Ping timeout: 240 seconds)
238: [03:48:49] <Ryan-Toast> simon_w|work: there is no database
239: [03:48:53] <Kingy> right almost 4
240: [03:48:55] <Ryan-Toast> simon_w|work: but the code is from another suite
241: [03:48:56] <Kingy> hometime bishes
242: [03:48:58] <Ryan-Toast> site**
243: [03:49:00] <wilsonstaff> <@simon_w|work> Ive been logged out.
244: [03:49:58] <ss23> simon_w|work: No, I only spend time doing things that matter
245: [03:49:58] <ss23> :)
246: [03:50:05] <simon_w|work> Ryan-Toast, so change the values in _config.php, then run dev/build
247: [03:50:20] <Ryan-Toast> did, may be a permissions issue
248: [03:51:06] * Kingy is now known as Kingy[a]
249: [03:51:45] <simon_w|work> ss23, so SilverStripe is knowingly running software with publicly known security issues? Good to know.
250: [03:52:05] <ss23> simon_w|work: Every peice of software is a known security issue :P
251: [03:52:09] <ss23> simon_w|work: Hack us and we'll talk
252: [03:53:14] <Stomach> uh oh
253: [03:54:12] * micmania1 quit (Quit: micmania1)
254: [04:05:01] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
255: [04:11:10] <simon_w|work> ss23, well, that was easy
256: [04:11:12] <simon_w|work> HELLO XSS
257: [04:13:01] * pippy quit (Quit: Page closed)
258: [04:16:24] <gordon__> 'Error: Syntax error, unrecognized expression:' < I am getting this when I click on the pages section on the left hand side. All others work
259: [04:16:24] <simon_w|work> ss23, so, is upgrading GitLab on your list now?
260: [04:16:31] * wilsonstaff quit (Ping timeout: 246 seconds)
261: [04:16:50] <gordon__> googling seems to suggest whitespace related, just wondering if anyone has seen a similar issue
262: [04:17:54] <gordon__> similar, http://www.silverstripe.org/upgrading-silverstripe/show/24791
263: [04:18:58] <Stomach> gordon, you might have a <?php tag somewhere without a newline after it
264: [04:20:05] <gordon__> same issue mentioned here, line 422 http://logs.simon.geek.nz/index.php?date=2014-02-26
265: [04:33:35] <gordon__> Stomach: No leading white space and I dont see any files with likes of <?php blah blah blah
266: [04:33:44] <gordon__> think this is a git bisect job
267: [04:39:23] * willr quit (Quit: willr)
268: [04:47:44] * r_hector has joined #silverstripe
269: [04:50:15] * micmania1 has joined #silverstripe
270: [04:54:53] <ss23> simon_w|work: Not on my list :D
271: [04:57:28] * micmania1 quit (Quit: micmania1)
272: [04:59:11] <simon_w|work> ss23, so, whose list is it on then?
273: [05:03:38] <gordon__> oooh, my syntax error bug occurred in the last ten commits
274: [05:04:31] * Phlunk3 quit (Quit: Leaving)
275: [05:06:11] * Shrike_Finland has joined #silverstripe
276: [05:07:18] * Ryan-Toast quit (Quit: Ryan-Toast)
277: [05:08:44] * SightUnseen has joined #silverstripe
278: [05:09:13] * SightUnseen has left #silverstripe
279: [05:15:35] * Stomach quit (Quit: bye)
280: [05:18:12] * hailwood quit (Quit: Leaving.)
281: [05:32:16] * Ryan-Toast has joined #silverstripe
282: [05:32:24] * Ryan-Toast quit (Client Quit)
283: [05:56:32] * Shrike_Finland quit (Quit: Leaving.)
284: [05:57:17] * CodeTrap has joined #silverstripe
285: [06:30:29] * gordon__ is now known as elgrodo
286: [06:31:28] * Kingy[a] is now known as Kingy
287: [06:32:35] <elgrodo> Stomach: There appears to be rogue space in front of one recent commit for the initial ' <?php' stanza but it's not showing in my text editor
288: [06:32:54] <elgrodo> oops, yes it is
289: [06:42:47] * wmk has joined #silverstripe
290: [06:50:52] * vebb has joined #silverstripe
291: [06:55:25] * vebb quit (Ping timeout: 252 seconds)
292: [06:57:53] * Stomach has joined #silverstripe
293: [06:59:23] <simon_w|work> WEEKEND TIEM
294: [06:59:31] * simon_w|work quit (Quit: Ping timeout: your mum)
295: [06:59:36] * Colin[pi] quit (Ping timeout: 246 seconds)
296: [07:00:49] * spronk quit (Ping timeout: 260 seconds)
297: [07:04:46] * wmk quit (Ping timeout: 252 seconds)
298: [07:08:46] <elgrodo> tie 'em up at the weekend!
299: [07:14:41] * ARNHOE has joined #silverstripe
300: [07:20:58] * ocmnt has joined #silverstripe
301: [07:22:51] <ocmnt> howdy
302: [07:24:24] * wmk has joined #silverstripe
303: [07:32:21] <elgrodo> any known issues with the SilverSmith tool and populating a site. I am observing the following, with priming a site in Thai locale. Pages from fixtures file appear in the admin editing tree as expected. However there is a Thai version of the standard 'About us' page that is normally installed. And this has become the home page....
304: [07:34:46] <elgrodo> aha, http://www.silverstripe.org/themes-2/show/9574 "NB: The home page always has the URLSegment home."
305: [07:45:07] * stnvh has joined #silverstripe
306: [07:53:10] * vebb has joined #silverstripe
307: [07:53:22] <wmk> elgrodo, yup, homepage is /home/ in 3.x unless you've installed the homepagefordomain module (which was included in 2.x and is seperate in 3.x)
308: [07:53:38] <wmk> silversmith does afaik not work in 3.1
309: [07:53:52] <elgrodo> oh...
310: [07:54:15] <elgrodo> I manually changed the correct page to 'home' in the URLSegment and deleted the rogue one at the database level, seems to have resolved the issue
311: [07:55:11] <wmk> elgrodo, silversmith is fine, but using a decent IDE with templates for new dataobjects or pages is mostly the same
312: [07:55:41] <wmk> no demo content in db then...
313: [07:56:06] <wmk> and you have to make the forms manually which isn't that much effort.
314: [07:56:17] <elgrodo> I was only using it for priming content, not for class creation
315: [07:56:28] * wmk tried silversmith for some stuff last year.
316: [07:56:31] <wmk> ok.
317: [07:56:39] <wmk> i used it mostly for class creation.
318: [07:56:44] * kinglozzer has joined #silverstripe
319: [07:57:50] <wmk> elgrodo, you're right, silverstripe would need a tool for priming content... though you can use createDefaultRecords() or populateDefaultRecords()
320: [08:00:38] <wmk> elgrodo, http://api.silverstripe.org/3.1/class-SiteTree.html#_requireDefaultRecords for pages
321: [08:00:56] * simon_w has joined #silverstripe
322: [08:01:20] <wmk> same for dataobject
323: [08:01:44] <wmk> so another way for priming content...
324: [08:02:29] * maxer has joined #silverstripe
325: [08:09:38] * Otterpocket has joined #silverstripe
326: [08:10:21] * CodeTrap quit (Remote host closed the connection)
327: [08:24:57] <elgrodo> wmk: Guess another option for likes of creating default site skeleton is to write a Task available under /dev
328: [08:29:46] * r_hector quit (Quit: Leaving.)
329: [08:32:59] <wmk> you can check a config switch and use requireDefaultRecords in your DataObject, as it's called during dev/build
330: [08:33:23] <wmk> though there are many ways to get to rome
331: [08:46:28] * qlex has joined #silverstripe
332: [08:46:32] * qlex says hi
333: [08:47:10] <qlex> i'm using userforms module - did anyone notice, that if im setting up an email which is managed by google apps (or gmail) the emails sent from the form on the website, dont reach the mailbox ?
334: [08:52:59] <qlex> Zauberfisch: would you have any idea? I'm using my googleapps-powered email address as email recipient - and messages sent from website dont get delivered
335: [08:55:11] <kinglozzer> qlex: Emails not delivering could be any number of things
336: [08:55:20] <kinglozzer> Does it work if you use a different email address?
337: [08:55:26] <qlex> and now, when testing with a non-google email (tlen.pl) i'm receiving it in spam as Undelivered MAil Returned to Sender because of bad SPF records
338: [08:56:07] <qlex> i can work with SPF records in my google powered mail (as they're on my VPS server, so i can edit DNS settings and add the SPF record policy), but not in tlen.pl
339: [08:56:31] <qlex> i know this isnt perhaps the topic for silverstripe, as it might be related to spf
340: [08:56:49] * spronk has joined #silverstripe
341: [08:58:30] <qlex> got two entries for SFP for my domain
342: [08:58:35] <qlex> v=spf1 a mx include:aspmx.googlemail.com
343: [08:58:35] <qlex> include:_spf.google.com ~all
344: [08:58:36] <qlex> and
345: [08:58:40] <qlex> v=spf1 +a +mx -all
346: [09:23:25] <Otterpocket> Hi, what is the best way to get all Members except for Current::
347: [09:24:10] <elgrodo> Member::get()->where('ID != '.Member::currentUserID()); might work
348: [09:26:37] <Otterpocket> Member::get()->exclude(['ID' => Member::CurrentUser()->ID]);
349: [09:26:39] <Otterpocket> ?
350: [09:26:41] <Otterpocket> That?
351: [09:27:19] <kinglozzer> Otterpocket: Yeah that should work
352: [09:27:59] <Otterpocket> elgrodo, kinglozzer Thanks
353: [09:29:47] <wmk> Otterpocket, Member::currentUserID() is even more elegant ;)
354: [09:32:34] * spronk2 has joined #silverstripe
355: [09:34:51] * maxer quit (Quit: maxer)
356: [09:40:05] <ocmnt> what is the best way to get the PageID from a widget?
357: [09:41:17] <elgrodo> Controller::curr()->param('ID') maybe or something like that
358: [09:42:34] <ocmnt> isn't the current controller the widget_controller self?
359: [09:42:40] <wmk> elgrodo, another uncle cheese solution for priming content: http://addons.silverstripe.org/add-ons/unclecheese/mock-dataobjects
360: [09:42:43] <wmk> looks interesting ;)
361: [09:43:45] * qlex1 has joined #silverstripe
362: [09:46:44] * qlex quit (Ping timeout: 268 seconds)
363: [09:49:07] * ss3noob has joined #silverstripe
364: [10:07:09] <ocmnt> ah, Director::get_current_page(); does the trick to get the current page (from widget or whereever)
365: [10:09:23] <elgrodo> wmk: thanks
366: [10:10:00] * zippy has joined #silverstripe
367: [10:13:05] * UncleCheese has joined #silverstripe
368: [10:14:05] * Colin[pi] has joined #silverstripe
369: [10:23:27] * Pyohohk has joined #silverstripe
370: [10:24:51] <Pyohohk> oh.
371: [10:31:53] * toddvalentine has joined #silverstripe
372: [10:36:41] * StefanLehmann quit (Ping timeout: 268 seconds)
373: [10:50:45] <ss3noob> hi.. anyone tried to use the gridfieldextensions for drag and drop functionality?
374: [10:54:37] <Pyohohk> yes
375: [10:54:57] <Pyohohk> that's not a question. Just ask your question.
376: [10:55:11] <ss3noob> im trying to use it in my many_many relationship.. but i cant find any allow drag and drop checkbox.. thus i cant really test that functionality
377: [10:55:19] <Pyohohk> http://i.qkme.me/3qt516.jpg
378: [10:55:25] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
379: [10:55:34] <Pyohohk> ss3noob: because there is no stupid fuck'n checkbox.
380: [10:55:47] <Pyohohk> man I hate that thing (checkbox)
381: [10:55:56] <ss3noob> is there any special configuration i need to do aside from using the $config->addComponent(new GridFieldOrderableRows('SortOrder'));
382: [10:56:04] <ss3noob> but i cant drag and drop it..
383: [10:56:04] <Pyohohk> you'll notice that there's a drag handle on the left hand side of the row.
384: [10:56:06] <Pyohohk> drag it.
385: [10:58:10] * qlex1 has left #silverstripe
386: [10:58:34] <ss3noob> ahaaa.. a bit hidden.. but i tried to put it from 6th to 2nd.. but it still remains on the same number
387: [11:01:25] <ss3noob> this is the code
388: [11:01:26] <ss3noob> http://www.sspaste.com/paste/show/5409934e6b364
389: [11:08:20] <ss3noob> anything i missed on that?
390: [11:09:12] * Kingy is now known as Kingy[a]
391: [11:11:17] * ThePeach has joined #silverstripe
392: [11:11:44] <kinglozzer> ss3noob: On line 21, where you've got $this->ToplistItems(), make it $this->ToplistItems()->sort('SortOrder')
393: [11:12:11] <kinglozzer> Also add private static $default_sort = 'SortOrder asc'; to ReviewToplistItem
394: [11:12:25] <kinglozzer> Although... not sure if that works on many_many_extraFields...
395: [11:12:46] <kinglozzer> So you might need to do <% loop ToplistItems.Sort(SortOrder) %> when it comes to using it in a template
396: [11:13:09] <Pyohohk> rtfm kinglozzer
397: [11:13:13] <Pyohohk> gosh
398: [11:13:48] <Pyohohk> https://github.com/ajshort/silverstripe-gridfieldextensions/blob/master/docs/en/index.md#orderable-rows
399: [11:14:07] <Pyohohk> ss3noob: ^
400: [11:14:30] <ss3noob> yeah i followed that one.. but not the last about adding new items
401: [11:14:40] <kinglozzer> Pyohohk: Huh? What's that telling me?
402: [11:14:50] <Pyohohk> all the things
403: [11:15:03] <ss3noob> i already have the data.. and im testing the drag and drop right now (without adding yet a new data)
404: [11:15:20] <ss3noob> but $this->ToplistItems()->sort('SortOrder') doesnt seem to work
405: [11:16:10] <Pyohohk> because you don't need the sort. the gridfield adds that.
406: [11:16:17] <Pyohohk> just let it do its' thing.
407: [11:16:39] <ss3noob> haha i just followed what kinglozzer suggested :P
408: [11:17:09] <Pyohohk> it's been forever since I used it, but it works fine.
409: [11:17:13] <Pyohohk> well, did.
410: [11:18:33] <ss3noob> i tried to use first the GridFieldSortable class earlier.. but im having an issue with using it in many_many relationship.. thats why i move to this gridfieldextension
411: [11:18:35] <ss3noob> :(
412: [11:19:01] <kinglozzer> ss3noob: You’ve done a dev/build I take it? Just checking
413: [11:20:57] <ss3noob> yeah i did
414: [11:21:19] <kinglozzer> ss3noob: If you still can’t get it to work, you could try my module: https://github.com/kinglozzer/silverstripe-multiselectfield
415: [11:37:33] <ss3noob> kinglozzer, i tried to use your module.. but it didnt show the items i was expecting..
416: [11:40:10] <ss3noob> it just return empty rows
417: [11:42:46] <kinglozzer> ss3noob: I, uh.. don’t really know what to suggest. Perhaps there’s something not right with your relations?
418: [11:44:30] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
419: [12:02:23] * maxer has joined #silverstripe
420: [12:06:39] <ss3noob> kinglozzer.. i was able to use your module.. and i think it's the one im really looking for
421: [12:20:44] * UndefinedOffset has joined #silverstripe
422: [12:25:11] * wmk quit (Ping timeout: 276 seconds)
423: [12:44:26] * toddvalentine quit (Remote host closed the connection)
424: [12:44:34] * simon_w quit (Quit: Ping timeout: your mum)
425: [12:45:10] * toddvale_ has joined #silverstripe
426: [12:49:53] * toddvale_ quit (Ping timeout: 252 seconds)
427: [12:52:51] * maxer quit (Quit: maxer)
428: [12:54:36] * vebb quit (*.net *.split)
429: [13:04:12] * wmk has joined #silverstripe
430: [13:05:06] * vebb has joined #silverstripe
431: [13:12:05] * Colin[pi] quit (Ping timeout: 268 seconds)
432: [13:35:52] * Werner_2_ has joined #silverstripe
433: [13:39:21] * wmk quit (Ping timeout: 260 seconds)
434: [13:41:02] * Werner_2_ is now known as wmk
435: [13:58:23] * toddvalentine has joined #silverstripe
436: [14:01:22] * JeremyRoundill quit (Ping timeout: 246 seconds)
437: [14:02:30] * g4b0_ has joined #silverstripe
438: [14:02:31] <g4b0_> hi everybody
439: [14:02:31] <g4b0_> is it possible to send an Email to several recipients without looping over each address?
440: [14:10:48] <ocmnt> can't you set multiple to adresses?
441: [14:10:55] <ocmnt> comma separeted?
442: [14:11:40] <ocmnt> ss mail uses php's mail() for that if I am right
443: [14:12:03] <ocmnt> http://nl3.php.net/manual/en/function.mail.php
444: [14:16:57] <Zauberfisch> hey guys
445: [14:17:11] <Zauberfisch> silverstripe europe meetup / un-conference
446: [14:17:12] <Zauberfisch> yay
447: [14:17:19] <Zauberfisch> http://silverstripe-europe.org/
448: [14:17:20] <Zauberfisch> go
449: [14:17:22] <Zauberfisch> sign up
450: [14:17:23] <Zauberfisch> now!
451: [14:18:51] * Kapdap_ quit (Remote host closed the connection)
452: [14:19:00] * Kapdap has joined #silverstripe
453: [14:22:17] * catcher has joined #silverstripe
454: [14:25:35] <g4b0_> ocmnt, thanks a lot it seems working
455: [14:26:59] <Otterpocket> Zauberfisch: Is this the first one?
456: [14:28:35] <ocmnt> Zauberfisch, unavailable for that date
457: [14:28:40] <ocmnt> sadly
458: [14:28:59] <ocmnt> though, would love to be there
459: [14:29:28] <Zauberfisch> Otterpocket: yes, first europe meetup / un-conference ever
460: [14:30:10] <ocmnt> Zauberfisch, will there be a livestream available?
461: [14:30:31] <Zauberfisch> not sure
462: [14:30:34] <Zauberfisch> I guess not
463: [14:30:44] <ocmnt> shame
464: [14:30:53] <ocmnt> why not?
465: [14:31:00] <ocmnt> streaming an event shouldn't be that hard
466: [14:31:21] <Otterpocket> What do you think the turnout will be like? rought numbers?
467: [14:31:29] <Otterpocket> rough*
468: [14:31:59] <Zauberfisch> no idea
469: [14:32:02] <Zauberfisch> I am hoping 50
470: [14:32:09] <Zauberfisch> or a 100 :D
471: [14:32:11] <Zauberfisch> but no idea
472: [14:32:14] <Zauberfisch> its the first of its kind
473: [14:32:22] <Zauberfisch> but we have a big line up
474: [14:32:26] <ocmnt> I am interested, but quite short day, its in a month already
475: [14:32:30] <kinglozzer> Not sure if I’ll be able to afford it
476: [14:32:31] <Zauberfisch> sam from silverstripe ltd (nz) is coming over
477: [14:32:32] <kinglozzer> :(
478: [14:32:39] <kinglozzer> Kickstarter? :D
479: [14:32:47] <kinglozzer> Pay for me to attend :P
480: [14:32:48] <Zauberfisch> kinglozzer: :D
481: [14:32:53] <Zauberfisch> kinglozzer: uk?
482: [14:32:55] <kinglozzer> Yeah
483: [14:33:23] <ocmnt> Zauberfisch, are you the organiser?
484: [14:33:23] <Zauberfisch> I think r3v3rb found a flight for 50 pounds or something
485: [14:33:28] <Zauberfisch> ocmnt: one of them
486: [14:33:49] <Zauberfisch> anselm, simon and myself
487: [14:34:01] <Zauberfisch> (simon from nl that is, not simon _ w
488: [14:34:02] <Zauberfisch> )
489: [14:34:03] <kinglozzer> Ah that’s not as bad as I was expecting
490: [14:34:21] <ocmnt> if you are looking for possibilities to stream the event (and have video's of each talk available after) contact me
491: [14:34:22] <Zauberfisch> kinglozzer: I think it was rayan air, london => vienna
492: [14:35:00] <Zauberfisch> ocmnt: anseml said he will bring a cam, but not sure if we have the time to do it. plus you need to get the speakers to agree to allow the camera
493: [14:36:27] * kinglozzer considers driving
494: [14:36:33] <kinglozzer> Could swing via the Nurburgring :D
495: [14:37:43] <Zauberfisch> kinglozzer: there are also some others for 100 pounds
496: [14:37:50] <ocmnt> Zauberfisch, isn't it in your contracts than? That the organiser might record the sessions?
497: [14:38:31] <Zauberfisch> problem with the 50 pounds is that you would have to leave early on saturday and miss my workshop D:
498: [14:38:48] <Zauberfisch> ocmnt: well, we are keeing it a free event. meaning none of the speakers are paied.
499: [14:39:02] <ocmnt> ah I see :)
500: [14:39:30] <Zauberfisch> and all the goodies like lunch and the free t-shirts are sponsored by silverstripe
501: [14:39:38] <Zauberfisch> kinglozzer: btw, get your company to pay the trip.
502: [14:39:43] <ocmnt> that's great :)
503: [14:40:02] <Zauberfisch> (and hopefully other sponsors too, we are still looking)
504: [14:40:11] <Otterpocket> You can get flights for around 20-30 pounds return, UK
505: [14:40:16] <Zauberfisch> kinglozzer: this event certainly qualifies as education purpose)
506: [14:48:19] <catcher> Is there a URL with info?
507: [14:48:47] <catcher> Not that I can make the trek from US, just curious.
508: [14:50:48] <Zauberfisch> yes
509: [14:50:49] <Zauberfisch> http://silverstripe-europe.org/
510: [14:51:03] <Zauberfisch> yeah, US is kind of to far away
511: [14:51:46] <Otterpocket> I think I will be comming and some other people, I will know for sure after the weekend
512: [14:54:00] <Zauberfisch> Otterpocket: nice
513: [14:54:10] * spronk2 quit (Quit: spronk2)
514: [14:55:12] <Zauberfisch> Otterpocket: we are actually counting on people bringing their friends/coworkers. and so we are planing on doing a silverstripe beginners workshop that runs paralell to the advanced talks
515: [14:55:27] <Zauberfisch> so advanced people listen to the talks while others can get started with silverstripe
516: [14:56:23] <Zauberfisch> and please don't forget to RSVP on our meetup.com page. we need to know how many people are comming so we can buy shirts
517: [14:57:03] <Otterpocket> Zauberfisch: Yea, will do
518: [15:02:47] * jcwacky has joined #silverstripe
519: [15:03:17] <jcwacky> Trying to sell a 2.4 to 3.1 upgrade to a client. What are the headline features and improvements?
520: [15:04:16] * auto9 has joined #silverstripe
521: [15:04:53] <wmk> jcwacky, better UI, easier developing of other features
522: [15:04:59] <wmk> faster afaik
523: [15:05:21] <wmk> and 2.4 is end of life soon, then no more security updates
524: [15:07:37] <jcwacky> Ah yeh, thanks.
525: [15:07:46] <jcwacky> Trying to find the inital 3.0 blog post.
526: [15:09:59] <toddvalentine> Can anyone explain to me how Injector:
527: [15:10:07] <toddvalentine> CoreClass: MyCustomClass
528: [15:10:18] <toddvalentine> in config.yml works. The system uses my class in place of the core class, but I can't get my head wrapped around how it goest there.
529: [15:11:46] * auto9 quit (Read error: Connection reset by peer)
530: [15:12:06] * auto9 has joined #silverstripe
531: [15:13:28] * ss3noob quit (Ping timeout: 246 seconds)
532: [15:21:44] <kinglozzer> toddvalentine: You mean explain how SilverStripe swaps it out?
533: [15:22:02] <catcher> That meetup looks awesome, wish I could go
534: [15:22:04] <toddvalentine> Yes. Thanks for clarifying.
535: [15:22:23] <kinglozzer> toddvalentine: Are you familiar with Reflection in PHP?
536: [15:22:28] <kinglozzer> i.e. http://php.net/manual/en/book.reflection.php
537: [15:22:57] * ARNHOE quit ()
538: [15:24:02] <kinglozzer> Basically, rather than using "$obj = new SomeObject()", SilverStripe uses "$obj = SomeObject::create()". ::create() is a function (in Object.php) that passes the creation of the object to Injector. Injector will then check if a class has been set to override it (and other stuff, like default arguments, dependency injection etc), then will use Reflection to create the object and return it.
539: [15:25:12] <toddvalentine> kinglozzer: thanks so much that was exactly the explanation I was needing.
540: [15:26:49] <kinglozzer> toddvalentine: No problem :) some more info on other stuff it can do is here: http://doc.silverstripe.org/framework/en/reference/injector
541: [15:28:38] <toddvalentine> kinglozzer: thanks. I have been checking out those docs and watching Stig's Dependency Injection talk waiting for that 'aha' moment!
542: [15:29:31] <kinglozzer> toddvalentine: The actual point at which it creates the object is here: http://api.silverstripe.org/3.1/source-class-InjectionCreator.html#13-21
543: [15:29:44] <kinglozzer> ReflectionClass is a standard PHP thing
544: [15:32:30] <toddvalentine> kinglozzer: thanks again.
545: [15:40:31] * jenniferaslan has joined #silverstripe
546: [15:49:34] * g4b0_ quit (Quit: Sto andando via)
547: [16:04:11] * muskie9 has joined #silverstripe
548: [16:04:17] * Shrike_Finland has joined #silverstripe
549: [16:07:39] * kinglozzer quit ()
550: [16:08:43] * stnvh quit ()
551: [16:21:33] * Shrike_Finland quit (Quit: Leaving.)
552: [16:32:55] * NETim quit (Ping timeout: 246 seconds)
553: [16:34:12] * auto9 quit (Read error: Connection reset by peer)
554: [16:34:49] * Pyohohk quit ()
555: [16:34:57] * auto9 has joined #silverstripe
556: [16:42:37] * Otterpocket quit (Quit: WeeChat 0.4.1)
557: [16:46:08] * Shrike_Finland has joined #silverstripe
558: [16:51:13] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
559: [16:55:57] * Stomach quit (Quit: Leaving.)
560: [16:59:01] * wmk quit (Ping timeout: 268 seconds)
561: [17:02:35] * ThePeach quit (Quit: leaving)
562: [17:04:36] * jcwacky quit (Quit: jcwacky)
563: [17:07:58] * Shrike_Finland quit (Quit: Leaving.)
564: [17:21:54] * catcher quit (Ping timeout: 246 seconds)
565: [17:28:10] * Liongold has joined #silverstripe
566: [17:31:47] <UndefinedOffset> anyone have experiance with solr using the fulltextsearch module?
567: [17:32:23] <Liongold> Hi. I am getting a Please answer your captcha even though I'm not adding it to the form.
568: [17:32:30] <Liongold> I'm using the recaptcha module.
569: [17:58:44] * Shrike_Finland has joined #silverstripe
570: [18:03:25] * Shrike_Finland quit (Client Quit)
571: [18:05:03] * auto9_ has joined #silverstripe
572: [18:06:51] * auto9 quit (Ping timeout: 268 seconds)
573: [18:15:04] * jenniferaslan quit (Quit: jenniferaslan has left the room)
574: [18:17:23] * jenniferaslan has joined #silverstripe
575: [18:29:46] * UndefinedOffset quit (Quit: Leaving.)
576: [18:35:03] * auto9_ quit (Ping timeout: 246 seconds)
577: [18:36:32] * auto9 has joined #silverstripe
578: [18:52:20] * Shrike_Finland has joined #silverstripe
579: [19:02:19] * Liongold quit (Quit: Page closed)
580: [19:12:04] * [SD]LoveDuckie has joined #silverstripe
581: [19:12:50] * maxer has joined #silverstripe
582: [19:28:55] * Shrike_Finland quit (Quit: Leaving.)
583: [19:33:50] * auto9_ has joined #silverstripe
584: [19:36:45] * auto9 quit (Ping timeout: 255 seconds)
585: [20:01:51] * jedateach has joined #silverstripe
586: [20:37:17] * catcher has joined #silverstripe
587: [20:38:25] * [SD]LoveDuckie quit (Remote host closed the connection)
588: [20:46:55] * auto9_ quit (Read error: No route to host)
589: [20:47:21] * auto9 has joined #silverstripe
590: [20:53:44] * willr has joined #silverstripe
591: [21:08:09] * jrthomer_ quit (Ping timeout: 268 seconds)
592: [21:11:03] * jedateach quit (Quit: jedateach)
593: [21:13:21] * simon_w has joined #silverstripe
594: [21:18:11] * jrthomer has joined #silverstripe
595: [21:23:56] * Kingy[a] is now known as Kingy
596: [21:40:07] * toddvalentine quit (Remote host closed the connection)
597: [21:41:34] * maxer quit (Quit: maxer)
598: [22:12:04] * toddvalentine has joined #silverstripe
599: [22:12:14] * toddvalentine quit (Client Quit)
600: [22:17:20] * vebb has joined #silverstripe
601: [22:26:24] <vebb> morning
602: [22:31:13] * Colin[pi] has joined #silverstripe
603: [22:35:44] * Colin[pi] quit (Ping timeout: 252 seconds)
604: [22:37:28] <catcher> 'evening!
605: [22:37:35] * catcher quit (Quit: Leaving)
606: [22:40:04] * Stomach has joined #silverstripe
607: [22:41:10] * Stomach quit (Client Quit)
608: [23:37:57] * willr quit (Ping timeout: 255 seconds)
609: [23:45:04] * auto9 quit (Read error: Connection reset by peer)
610: [23:45:18] * auto9 has joined #silverstripe
611: [23:49:54] * willr has joined #silverstripe

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