#silverstripe IRC Log

IRC log for 20 February 2017

All timestamps are in UTC.

1: [00:15:14] * micmania1 quit (Quit: micmania1)
2: [00:18:39] * janneklouman-- quit (Ping timeout: 240 seconds)
3: [00:31:17] * micmania1 has joined #silverstripe
4: [00:39:38] * Audlex quit ()
5: [00:41:19] * Audlex has joined #silverstripe
6: [00:49:03] * spronk has joined #silverstripe
7: [00:57:55] * shellbackpacific has joined #silverstripe
8: [00:59:59] * Audlex quit ()
9: [01:15:06] <ss-helper> Can't nest SelectionGroup in FieldGroup - http://stackoverflow.com/questions/42334986/cant-nest-selectiongroup-in-fieldgroup
10: [01:18:07] * shellbackpacific quit (Quit: Leaving.)
11: [01:25:09] * shellbackpacific has joined #silverstripe
12: [01:26:54] * shellbackpacific has left #silverstripe
13: [01:45:06] * IRCFrEAK has joined #silverstripe
14: [01:45:07] * IRCFrEAK has left #silverstripe
15: [01:50:57] * Audlex has joined #silverstripe
16: [02:03:03] * janneklouman-- has joined #silverstripe
17: [02:07:40] * janneklouman-- quit (Ping timeout: 240 seconds)
18: [02:35:15] * UncleCheese has joined #silverstripe
19: [02:36:01] * Azure quit (Quit: Oops.)
20: [03:03:37] * janneklouman-- has joined #silverstripe
21: [03:07:12] * Azure has joined #silverstripe
22: [03:08:20] * janneklouman-- quit (Ping timeout: 260 seconds)
23: [03:12:20] * vitaly_ has joined #silverstripe
24: [03:35:13] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
25: [03:39:54] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
26: [04:01:51] * Azure has joined #silverstripe
27: [04:51:35] * madgoat has joined #silverstripe
28: [04:51:35] * madgoat has left #silverstripe
29: [04:51:35] <ss-helper> madgoat: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
30: [05:11:52] * micmania1 quit (Quit: micmania1)
31: [06:38:24] * UncleCheese has joined #silverstripe
32: [06:48:35] * janneklouman-- has joined #silverstripe
33: [06:52:57] * janneklouman-- quit (Ping timeout: 240 seconds)
34: [06:58:41] * wmk_ has joined #silverstripe
35: [07:34:39] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
36: [07:49:53] * janneklouman-- has joined #silverstripe
37: [07:53:59] * janneklouman-- quit (Ping timeout: 240 seconds)
38: [08:05:16] <Firesphere> It's quiet here! O_o
39: [08:16:12] * janneklouman-- has joined #silverstripe
40: [08:20:39] * janneklouman-- quit (Ping timeout: 240 seconds)
41: [08:22:02] * Eliseth has joined #silverstripe
42: [08:22:36] <Eliseth> Morning o/
43: [08:24:44] * wmk_ quit (Read error: Connection reset by peer)
44: [08:24:50] * wmk has joined #silverstripe
45: [08:27:45] * janneklouman-- has joined #silverstripe
46: [08:32:02] * Parker1090 has joined #silverstripe
47: [08:34:02] <Parker1090> Hi all. I'm looking for a few pointers. I'm using the bootstrap forms add-on which returns a form to the view. However, I'm looking to customise the look of the form. I've found a few posts on the forum, but they seem to link through to dead pages now. If anyone could point me in the right direction, I'd be grateful
48: [08:36:23] * janneklouman-- quit (Ping timeout: 255 seconds)
49: [08:40:28] <Eliseth> I'm trying to find information on SS4. Not so much the functionality and changes like that, but more what is done in terms of speed optimisation, is there any information on that?
50: [09:06:54] * janneklouman-- has joined #silverstripe
51: [09:12:37] * kinglozzer has joined #silverstripe
52: [09:56:22] <Zauberfisch> Eliseth: not sure about speed
53: [09:56:43] <Zauberfisch> Eliseth: but in terms usability as a developer it has gotten a lot better just by using namespaces now
54: [09:56:57] <Zauberfisch> major pain point though: upgrading is difficult
55: [09:57:01] <Eliseth> Yes, I know
56: [09:57:35] <Zauberfisch> some of the modules are being updated as we speak
57: [09:57:55] <Zauberfisch> so if you want to try it, in the coming days would be a good time
58: [09:58:36] <Zauberfisch> I am going to deploy my first site using 4 in a few weeks
59: [09:58:58] <Eliseth> Was just hoping the performance of the framework itself had gone up through optimizations (if possible) and if so, what they are :)
60: [09:58:58] <Zauberfisch> if you poke me again in a few weeks, I'd be happy to share my experience
61: [10:00:25] <Zauberfisch> (for the record, 4 is still alpha, the site I am launching is a community project which is suitable for experiments)
62: [10:01:40] * agent44 has joined #silverstripe
63: [10:01:57] <Eliseth> (I was about to ask :D )
64: [10:04:19] <Zauberfisch> regarding performance, honestly, I don't expect much change
65: [10:05:06] <Zauberfisch> I wasn't active lately, but it feels to me most effort was put into cleaning up the framework and improving internal APIs (namespaces, assets abstraction, mail abstraction, ...)
66: [10:05:50] <Zauberfisch> Parker1090: uhm, no idea about that. do you have a specific question?
67: [10:10:23] <Parker1090> Zauberfisch: How can I use the fields returned by a BootstrapForm (which contains a FieldList), and customise the way they look?
68: [10:10:49] <Zauberfisch> any code you already have that you chould share?
69: [10:10:53] <Zauberfisch> (on a paste website)
70: [10:10:57] <Parker1090> Sure, two seconds
71: [10:13:17] * agent44 quit (Quit: zzz)
72: [10:14:13] * agent44 has joined #silverstripe
73: [10:14:15] <Parker1090> http://www.sspaste.com/paste/show/58aac168f3595
74: [10:14:53] <Parker1090> That just outputs everything in it's default format. But rather than have all the fields with labels, on top of each other, I'm trying to style it so some can be side by side
75: [10:23:57] <Parker1090> I read about using setTemplate on the fields, which I've tried, but my page hangs without any errors or warnings
76: [10:24:45] * gelignite has joined #silverstripe
77: [10:39:39] * UncleCheese has joined #silverstripe
78: [10:40:42] <wmk> Eliseth, biggest speed improvement: use php7 out of the box
79: [10:40:55] <Eliseth> Yeah.... that's not what I meant :P
80: [10:41:36] <Eliseth> (Although it's still nice! :D)
81: [11:17:33] * deschebbs has joined #silverstripe
82: [11:17:40] * Parker1090 quit (Ping timeout: 260 seconds)
83: [11:20:27] * gelignite quit (Remote host closed the connection)
84: [11:27:10] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
85: [11:56:11] * agent44 quit (Quit: zzz)
86: [11:56:59] * agent44 has joined #silverstripe
87: [12:21:23] * agent44 has left #silverstripe
88: [12:32:14] * agent44 has joined #silverstripe
89: [13:00:59] * kinglozzer quit (Ping timeout: 240 seconds)
90: [13:41:02] * kinglozzer has joined #silverstripe
91: [13:45:43] * shellbackpacific has joined #silverstripe
92: [13:46:05] <shellbackpacific> Will Silverstripe 4 support PHP 7?
93: [13:46:26] <kinglozzer> shellbackpacific: Yes
94: [13:46:38] <shellbackpacific> nice thanks
95: [13:48:11] <shellbackpacific> how's the upgrade path from 3.x to 4.x at this point in time? i know it's still alpha
96: [13:49:01] * kinglozzer shrugs
97: [13:49:07] <kinglozzer> I've not had enough free time to try it properly
98: [13:49:12] <kinglozzer> Perhaps Zauberfisch
99: [13:49:13] <kinglozzer> ?
100: [13:49:15] <shellbackpacific> i understand
101: [14:00:20] <ss-helper> Sub-query, group and having in SilverStripe ORM - http://stackoverflow.com/questions/42346419/sub-query-group-and-having-in-silverstripe-orm
102: [14:05:11] * shellbackpacific has left #silverstripe
103: [14:06:41] * shellbackpacific has joined #silverstripe
104: [14:19:20] * slievr has joined #silverstripe
105: [14:21:15] <slievr> anyone know if https://github.com/silverstripe/silverstripe-multiform has any issues with 3.5
106: [14:21:39] <slievr> I've installed it an created a form no errors but it won't go to step 2
107: [14:26:18] <Zauberfisch> hmm?
108: [14:26:34] <Zauberfisch> shellbackpacific: painful
109: [14:26:57] <Zauberfisch> there is a script out there somewhere that is suppose to make it easier, but I haven't looked into it
110: [14:27:03] <Zauberfisch> I've done my migrations by hand
111: [14:27:14] <Zauberfisch> so far, I have 2 projects on ss 4
112: [14:27:33] <Zauberfisch> and am in the progress of upgrading the modules I need
113: [14:27:34] <shellbackpacific> thanks Zauberfisch
114: [14:28:42] <Zauberfisch> I haven't seen much API changes yet
115: [14:29:06] <Zauberfisch> but what makes the upgrade so time consuming is the namespaces
116: [14:29:12] <Zauberfisch> no class anem is what it was before
117: [14:29:55] <shellbackpacific> ah ok
118: [14:30:00] <Zauberfisch> in php statements that's often easy to see, because your IDE will throw errors, but in strings (eg if ($this->ClassName == 'Member') {} or yml files
119: [14:30:03] <Zauberfisch> or translation files
120: [14:30:15] <shellbackpacific> is there a rough timeline for final 4 release? I haven't seen one floating around
121: [14:30:28] <shellbackpacific> gotcha
122: [14:30:40] <kinglozzer> Zauberfisch: Have you tried the upgrader tool? I found it works quite well on a module I tested a while back
123: [14:30:49] <Zauberfisch> kinglozzer: no
124: [14:31:47] <Zauberfisch> those projects I migrated to 4 are projects that are currently in progress, so with ss4 I now also use namespaces for my own classes and such
125: [14:31:54] <Zauberfisch> therfore I had to refactor anyway
126: [14:32:04] <Zauberfisch> same for modules. I want my modules to be properly namespaced
127: [14:32:12] <Zauberfisch> so I have to go through all files anyway
128: [14:32:35] <kinglozzer> True, it might still be worth trying though - it gives you a good starting point
129: [15:21:28] <wmk> I have a bunch of tags and want to get all related articles, artcles that have more of that tags ordered first
130: [15:22:59] <wmk> $tags->relation('Articles') gives me the articles, but how can i weight the sort order?
131: [15:23:12] <Zauberfisch> LEFT JOIN the tags, group by article ID, add select "count(*) as mycount" and then sort by mycount
132: [15:23:58] <Zauberfisch> if I am not mistaken, the left join should result in an article being in the selection one time for each tag, the groupby and count should then result in mycount being the number of tags
133: [15:25:48] * Eliseth quit (Ping timeout: 240 seconds)
134: [15:27:59] <Zauberfisch> $tags->relation('Articles') will give you a datalist, use ->dataQuery() or alterDataQuery() to access the data query where you can add the select and order
135: [15:28:44] <Zauberfisch> not a 100% sure, but I think if you execute the query then (by using the datalist in a foreach() or what ever) it should work
136: [15:30:12] <wmk> ahja, vice versa than i did it some time ago... http://silverstrip.es/blog/sort-tags-by-popularity-or-how-to-sort-a-dataobject-by-count-of-many-many-relation/
137: [15:30:54] <Zauberfisch> yes, that would work too
138: [15:30:57] <Zauberfisch> but I was thinking:
139: [15:32:12] <Zauberfisch> https://paste.debian.net/915809/
140: [15:32:15] <Zauberfisch> something like this
141: [15:40:59] * Dedra has joined #silverstripe
142: [15:49:37] * Dedra quit (Quit: Bye guys, have to go!)
143: [15:53:52] * Azure quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
144: [15:57:30] * shellbackpacifi1 has joined #silverstripe
145: [15:58:59] * shellbackpacific quit (Ping timeout: 240 seconds)
146: [16:00:19] * shellbackpacific has joined #silverstripe
147: [16:01:53] * shellbackpacifi1 quit (Ping timeout: 255 seconds)
148: [16:06:06] <wmk> Zauberfisch, also nice
149: [16:45:22] <ss-helper> Silverstripe Data Object specify table name - http://stackoverflow.com/questions/42349705/silverstripe-data-object-specify-table-name
150: [17:01:05] * agent44 quit (Quit: zzz)
151: [17:02:06] * agent44 has joined #silverstripe
152: [17:15:23] <ss-helper> How do I get rid of the ajax symbol on my image - http://stackoverflow.com/questions/42350316/how-do-i-get-rid-of-the-ajax-symbol-on-my-image
153: [17:31:41] * kinglozzer quit ()
154: [17:42:11] * Admonish has joined #silverstripe
155: [17:50:56] <Admonish> So I noticed awhile back that silverstripe 4 will be using GraphQL for APIs instead or RESTful architecture. I think this is a great move that will help devolopers out immensly. That being said I do wonder how long it will be before we can port over our RESTful API's to this newer technology.
156: [17:51:46] <Admonish> I realise that the GraphQL API support is awaiting release. But Im wondering if there are any plans to support this functionality in SS 3.
157: [17:59:09] * agent44 quit (Quit: zzz)
158: [18:29:20] * Admonish quit (Ping timeout: 260 seconds)
159: [18:40:39] * janneklouman-- quit (Ping timeout: 240 seconds)
160: [18:44:45] * Azure has joined #silverstripe
161: [18:55:16] * gelignite has joined #silverstripe
162: [19:10:13] * janneklouman-- has joined #silverstripe
163: [19:14:29] * janneklouman-- quit (Ping timeout: 255 seconds)
164: [19:20:33] * janneklouman-- has joined #silverstripe
165: [19:59:36] * UncleCheese has joined #silverstripe
166: [20:16:30] * janneklouman-- quit (Ping timeout: 260 seconds)
167: [20:24:02] * micmania1 has joined #silverstripe
168: [20:27:51] * DimiStripe quit (Quit: DimiStripe)
169: [20:36:15] * micmania1 quit (Quit: micmania1)
170: [20:43:56] * micmania1 has joined #silverstripe
171: [20:50:11] * deschebbs quit (Quit: Konversation terminated!)
172: [21:05:02] * shellbackpacific quit (Quit: Leaving.)
173: [21:11:17] * micmania1 quit (Quit: micmania1)
174: [21:17:08] * micmania1 has joined #silverstripe
175: [21:52:08] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
176: [22:23:44] * grgcnnr has joined #silverstripe
177: [22:31:55] * UncleCheese has joined #silverstripe
178: [22:43:07] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
179: [22:51:47] * Azure quit (Ping timeout: 240 seconds)
180: [22:51:58] * micmania1 quit (Quit: micmania1)
181: [22:52:44] * Azure has joined #silverstripe
182: [22:55:15] * janneklouman-- has joined #silverstripe
183: [22:56:24] * micmania1 has joined #silverstripe
184: [22:59:50] * janneklouman-- quit (Ping timeout: 260 seconds)
185: [22:59:59] * spronk quit (Quit: bleep bleep bloop bloop)
186: [23:00:01] * ss-helper quit (Remote host closed the connection)
187: [23:00:14] * ss-helper has joined #silverstripe
188: [23:34:10] * janneklouman-- has joined #silverstripe
189: [23:42:33] * micmania1 quit (Quit: micmania1)
190: [23:48:39] * micmania1 has joined #silverstripe

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