#silverstripe IRC Log

IRC log for 3 June 2016

All timestamps are in UTC.

1: [00:00:01] * ss-helper quit (Remote host closed the connection)
2: [00:00:16] * ss-helper has joined #silverstripe
3: [00:15:03] <ss-helper> SilverStripe CMS and Framework 3.4.0 Release Announcement - https://groups.google.com/d/msg/silverstripe-announce/2jFsNvIR8XQ/9lFwRvzKAgAJ
4: [00:17:38] * camfindlay quit (Quit: camfindlay)
5: [00:34:08] * zippy has joined #silverstripe
6: [00:34:13] <zippy> 3.4 is out boys...
7: [00:34:29] <spronk> snore
8: [00:34:47] <zippy> http://doc.silverstripe.org/en/3.4/changelogs/3.4.0
9: [00:35:03] <zippy> ss23: jesus dude... fix ya links :) download page links to broken link
10: [00:35:08] <zippy> spronk: ;-)
11: [00:37:37] <ss23> FITE ME IRL :O
12: [00:37:51] <spronk> fuckin smash you bro
13: [00:37:57] <spronk> :P
14: [00:38:20] <ss23> :(
15: [00:38:25] <ss23> micmania1: FIX UR DOWNLOAD LINKS
16: [00:38:29] <spronk> who still works at ss these days?
17: [00:38:35] * Stomach quit (Quit: zzz)
18: [00:38:50] <micmania1> ss23: if you fix the docs
19: [00:38:56] <ss23> lol
20: [00:38:57] <ss23> no
21: [00:39:02] * Stomach has joined #silverstripe
22: [00:39:39] <zippy> https://github.com/silverstripe/silverstripe-framework/blob/8008fcbe9769f1d2cb53c542f302ad6d32d185d6/docs/en/04_Changelogs/3.4.0.md
23: [00:41:04] <zippy> https://github.com/silverstripe/silverstripe-framework/blob/3.4/docs/en/04_Changelogs/3.4.0.md
24: [00:41:08] <zippy> thats a bit nicer url
25: [00:41:37] <zippy> so the docs for the cms are also in the framework repo eh
26: [00:46:26] * camfindlay has joined #silverstripe
27: [01:02:13] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
28: [01:04:42] * irogue has joined #silverstripe
29: [01:06:58] * irogue changed the topic to 'Welcome to #silverstripe | Latest stable 3.4.0 released: https://groups.google.com/forum/#!topic/silverstripe-announce/2jFsNvIR8XQ | SS4 alpha 1 is out: http://bit.ly/1T6zz8b | Dev Mailing List: http://silverstripe.org/dev-list | IRC Logs: http://silverstripe.org/irc-logs | Feature requests: http://silverstripe.uservoice.com'
30: [01:11:53] <zippy> irogue: well done! :D
31: [01:12:01] <zippy> ss23: could learn a few things..
32: [01:12:02] <zippy> :P
33: [01:12:28] <irogue> :P
34: [01:12:37] <ss23> :(
35: [01:12:57] <zippy> sall good dude, I know it's beyond your abilities
36: [01:14:04] * ss23 cries
37: [01:14:08] <ss23> I'M GETTING BURGERFUEL
38: [01:14:11] * irogue licks ss23
39: [01:14:11] * ss23 glares at zippy
40: [01:14:25] <zippy> yea, you still owe me
41: [01:14:27] * zippy never forgets
42: [01:14:54] <ss23> lol
43: [01:14:59] <ss23> You're never in teh city, zippy!
44: [01:16:51] <zippy> true that
45: [01:17:04] <zippy> https://silverstripe.logged.nz/index.php?date=2015-03-24#log_1603168 - lol :P
46: [01:17:59] <ss23> lol :(
47: [01:29:00] * Tanger_ has joined #silverstripe
48: [01:29:29] * Phlunk3 has joined #silverstripe
49: [02:08:06] <spronk> oh man
50: [02:08:11] <spronk> that feeling when you bite into a mandarin
51: [02:08:16] <spronk> and it's a fucking delicious one
52: [02:08:23] <irogue> literally just ate a delicious mandarin
53: [02:08:31] <spronk> fuk yeh .gif
54: [02:08:32] <irogue> pants are moister than previously
55: [02:08:38] <spronk> :D
56: [02:09:09] <spronk> i have two
57: [02:09:17] <spronk> what's the bet the next one is fucking disgusting and ruins everything
58: [02:09:22] <zippy> love the seedless mandarins
59: [02:10:37] <spronk> OMFG
60: [02:10:49] <spronk> second one is even better!
61: [02:10:50] <spronk> MANDARIN JACKPOT
62: [02:30:53] <spronk> hmm... coffee would be good right about now
63: [02:46:42] * Stomach quit (Quit: zzz)
64: [03:11:19] * phorloop has joined #silverstripe
65: [03:12:38] <Tanger_> Hi guys, quick question about SQLQuery depracation. In 3.1 I could use addSelect on an SQL Querry to add some MySQL ‘MATCH’ commands to a dataQuery. Now not so much, as I believe DataQuery has replaced it. Is there a way to append to the underlying SQLSelect on a DataQuery now?
66: [03:22:31] * micmania1 quit (Quit: micmania1)
67: [03:33:48] <Tanger_> Or even how to create a new DataQuery instance with an SQLQuery object
68: [03:41:16] * micmania1 has joined #silverstripe
69: [03:41:47] * wmk has joined #silverstripe
70: [03:44:11] * Stomach has joined #silverstripe
71: [03:55:13] * camfindlay quit (Quit: camfindlay)
72: [04:00:03] * Dedra quit (Quit: Bye guys, have to go!)
73: [04:06:19] * Embraden_ has joined #silverstripe
74: [04:06:19] * Embraden_ quit (Changing host)
75: [04:06:19] * Embraden_ has joined #silverstripe
76: [04:08:16] * Stomach quit (Quit: zzz)
77: [04:08:30] * Embraden quit (Ping timeout: 276 seconds)
78: [04:30:01] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
79: [04:43:31] * Stomach has joined #silverstripe
80: [04:44:28] * micmania1 quit (Quit: micmania1)
81: [04:48:49] * spronk quit (Quit: I may need a longer sleep timer...)
82: [04:51:33] * wmk quit (Ping timeout: 240 seconds)
83: [04:58:54] * micmania1 has joined #silverstripe
84: [05:06:53] * Phlunk3 quit (Remote host closed the connection)
85: [05:09:04] * micmania1 quit (Quit: micmania1)
86: [05:12:24] * Hailwood quit (Remote host closed the connection)
87: [05:12:24] * Hailwood_Ghost quit (Remote host closed the connection)
88: [05:14:02] * irogue quit (Excess Flood)
89: [05:14:06] * micmania1 has joined #silverstripe
90: [05:24:45] * micmania1 quit (Quit: micmania1)
91: [05:30:07] * micmania1 has joined #silverstripe
92: [05:32:41] * TombL quit (Ping timeout: 240 seconds)
93: [05:39:01] * Stomach quit (Quit: zzz)
94: [05:39:26] * Agilix- has joined #silverstripe
95: [05:41:58] * wmk has joined #silverstripe
96: [05:42:52] * Werner__ has joined #silverstripe
97: [05:42:54] * micmania1 quit (Quit: micmania1)
98: [05:43:48] * Werner__ quit (Client Quit)
99: [05:47:18] * wmk quit (Ping timeout: 276 seconds)
100: [05:50:47] * wmk has joined #silverstripe
101: [06:10:15] * Mike123 has joined #silverstripe
102: [06:10:52] * Stomach has joined #silverstripe
103: [06:11:23] * Stomach quit (Client Quit)
104: [06:49:56] * arnhoe has joined #silverstripe
105: [07:10:39] * darianno has joined #silverstripe
106: [07:18:41] * phorloop_ has joined #silverstripe
107: [07:21:44] * phorloop quit (Ping timeout: 240 seconds)
108: [07:39:29] * Stomach has joined #silverstripe
109: [07:54:10] * Teddy_ has joined #silverstripe
110: [07:58:26] * Zauberfisch quit (Remote host closed the connection)
111: [07:59:26] * phorloop has joined #silverstripe
112: [08:02:04] * phorloop_ quit (Ping timeout: 240 seconds)
113: [08:03:51] * kinglozzer has joined #silverstripe
114: [08:06:05] * slievr has joined #silverstripe
115: [08:22:35] * phorloop quit (Quit: My laptop go to sleep. ZZZzzz…)
116: [08:35:42] * Embraden has joined #silverstripe
117: [08:37:47] * Zauberfi1ch1 has joined #silverstripe
118: [08:37:57] * [Fate_] has joined #silverstripe
119: [08:38:07] * zippy has joined #silverstripe
120: [08:38:31] * Kolin_ has joined #silverstripe
121: [08:39:06] * [Fate] quit (Ping timeout: 264 seconds)
122: [08:39:08] * Embraden_ quit (Ping timeout: 264 seconds)
123: [08:39:09] * Kolin quit (Ping timeout: 264 seconds)
124: [08:39:12] * Zauberfisch1 quit (Ping timeout: 264 seconds)
125: [08:39:13] * Firesphere quit (Ping timeout: 264 seconds)
126: [08:39:15] * Firesphere has joined #silverstripe
127: [08:39:16] * [Fate_] is now known as [Fate]
128: [08:52:43] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
129: [08:59:12] * Tanger_ quit (Quit: Tanger_)
130: [09:00:45] * Zauberfisch has joined #silverstripe
131: [09:15:14] * agent44 has joined #silverstripe
132: [09:40:12] * Eliseth has joined #silverstripe
133: [09:40:42] <Eliseth> How can I set assetadmin to show more than 15 files?
134: [09:41:14] * swaiba has joined #silverstripe
135: [09:44:50] <Eliseth> (If at all possible?)
136: [09:51:08] <wmk> Eliseth, AssetAdmin.page_length config var
137: [09:51:18] <wmk> see code of AssetAdmin, line 25
138: [09:51:20] <Eliseth> yes, found that
139: [09:51:23] <wmk> fine ;)
140: [09:51:28] <Eliseth> but it's a static
141: [09:51:35] <wmk> it's a config var
142: [09:51:36] <Eliseth> I don't want to fuck up core files
143: [09:51:40] <wmk> you can override it in yml
144: [09:51:45] <wmk> AssetAdmin:
145: [09:51:53] <wmk> page_length: 33
146: [09:52:01] <wmk> in your mysite/_config/config.yml
147: [09:52:07] <wmk> then don't forget to
148: [09:52:09] <wmk> !flush
149: [09:52:09] <ss-helper> Have you flushed? Try doing a ?flush=all and /dev/build then see if it's sorted. Do it twice for good measure ;-)
150: [09:52:17] <wmk> and it should work
151: [09:52:39] * Stomach quit (Quit: zzz)
152: [09:52:56] <wmk> Eliseth, see also: https://docs.silverstripe.org/en/3.3/developer_guides/configuration/configuration/
153: [09:53:02] <wmk> have to run, cu
154: [09:53:55] <Eliseth> Thanks! \o/
155: [09:59:30] * wmk quit (Ping timeout: 276 seconds)
156: [10:02:09] * Zauberfisch quit (Remote host closed the connection)
157: [10:08:13] * zippy has joined #silverstripe
158: [10:16:15] * krofek quit (*.net *.split)
159: [10:24:54] * Zauberfisch has joined #silverstripe
160: [10:38:24] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
161: [10:43:18] * zippy has joined #silverstripe
162: [10:45:13] <ss-helper> I would lke to extend the sidebar email module to not only show on sidebars, but extend to normal pages, - http://stackoverflow.com/questions/37612051/i-would-lke-to-extend-the-sidebar-email-module-to-not-only-show-on-sidebars-but
163: [10:45:41] * krofek has joined #silverstripe
164: [10:47:18] * DimiStripe quit (Quit: DimiStripe)
165: [10:47:50] * DimiStripe has joined #silverstripe
166: [10:50:00] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
167: [10:51:14] * WebDevB has joined #silverstripe
168: [10:51:19] <WebDevB> Anyone around?
169: [10:51:43] * zippy has joined #silverstripe
170: [10:51:43] * zippy quit (Client Quit)
171: [10:52:02] <kinglozzer> WebDevB: People often drop in + out, ask away :)
172: [10:52:06] <WebDevB> In a template i need to get the current URL
173: [10:52:11] <WebDevB> thanks kinglozzer
174: [10:52:52] <kinglozzer> WebDevB: Fairly simple to do, easiest way would be to just add a method to your controller to do it
175: [10:53:41] * agent44 quit (Quit: zzz)
176: [10:53:43] <WebDevB> By controller you mean with the Pages?
177: [10:53:56] <kinglozzer> WebDevB: Or if you're on a page, you might be able to use {$AbsoluteLink} (though that won't include query strings etc)
178: [10:54:25] <kinglozzer> Page_Controller is what I meant
179: [10:57:37] <kinglozzer> If you need query strings, this should do it: https://gist.github.com/kinglozzer/fe08af4db771df1acb3a2690e96a03cd
180: [10:59:40] <WebDevB> kinglozzer thanks for this mate, not sure where to put it though.
181: [11:00:21] <kinglozzer> WebDevB: Wherever you like. I'd probably just put it in a new file, mysite/code/MyTemplateProvider.php
182: [11:00:35] <WebDevB> ok
183: [11:00:40] <WebDevB> Thanks kinglozzer
184: [11:01:59] <WebDevB> Works a treat kinglozzer
185: [11:16:37] * WebDevB quit (Remote host closed the connection)
186: [11:23:15] * swaiba_ has joined #silverstripe
187: [11:27:28] * swaiba quit (Ping timeout: 264 seconds)
188: [11:27:34] * swaiba_ quit (Read error: Connection reset by peer)
189: [11:32:35] * agent44 has joined #silverstripe
190: [12:00:58] * Teddy_ quit (Ping timeout: 272 seconds)
191: [12:02:59] * kinglozzer quit (Remote host closed the connection)
192: [12:03:26] * kinglozzer has joined #silverstripe
193: [12:06:59] * Teddy_ has joined #silverstripe
194: [12:24:23] * UndefinedOffset has joined #silverstripe
195: [12:56:42] * kinglozzer quit (Remote host closed the connection)
196: [12:56:48] * kinglozzer has joined #silverstripe
197: [13:32:13] * david_bru has joined #silverstripe
198: [13:34:52] <david_bru> hi guys and girls; is it intended behaviour that it does not matter if I append ".foo" to a proper silverstripe url? for example if I have www.mydomain.com/contact this page is also showing up with the url www.mydomain.com/contact.foobar
199: [13:37:26] <david_bru> or to rephrase the situation http://demo.silverstripe.org/theme/ is also reachable with the url http://demo.silverstripe.org/theme.foo
200: [13:39:04] <david_bru> any idea what I can do against such a behaviour?
201: [13:48:07] <kinglozzer> david_bru: Sounds similar to this ticket https://github.com/silverstripe/silverstripe-framework/issues/5385
202: [13:48:15] <kinglozzer> I'm not aware of any workaround
203: [13:49:40] <david_bru> kinglozzer: I'm asking, because I received the report of one of my silverstripe pages and this error is again amongst one of the errors..
204: [13:50:15] <david_bru> specifically it states "A potentially sensitive file, directory, or directory listing was discovered on the Web server."
205: [13:50:49] <david_bru> which is of course not true - simply adding ".bak" to a url does not make it a sensitive file
206: [13:51:53] <kinglozzer> david_bru: Well in that case I'd just ignore it
207: [13:52:35] <kinglozzer> If that's not an option, I guess you could do something like if ($this->request->getExtension()) { return $this->httpError(404); } in your controller
208: [13:52:50] <david_bru> sounds good to me, but the client just sees the big "9 times found" in the report
209: [13:53:06] <david_bru> i will try option 1 and hope the client is reasonable..
210: [13:54:22] <david_bru> kinglozzer: thanks anyway for your help ;)
211: [13:55:12] <kinglozzer> david_bru: Heh, explaining things like that to clients can be tricky... SEO reports are horrible for that too! :P
212: [13:55:22] <david_bru> :D
213: [13:55:34] <david_bru> thank god, that's not my cup of tea
214: [13:58:03] * Eliseth quit (Ping timeout: 276 seconds)
215: [13:58:18] * swaiba has joined #silverstripe
216: [14:04:38] * david_bru quit (Quit: david_bru)
217: [14:12:12] * Agilix- quit (Ping timeout: 260 seconds)
218: [14:14:27] * arnhoe quit ()
219: [14:18:26] * lerni has joined #silverstripe
220: [14:19:09] * muskie9 has joined #silverstripe
221: [14:58:10] * swaiba quit (Read error: Connection reset by peer)
222: [15:01:00] * Mike123 quit (Ping timeout: 250 seconds)
223: [15:26:32] * wmk has joined #silverstripe
224: [16:02:30] * lerni quit (Remote host closed the connection)
225: [16:02:56] * lerni has joined #silverstripe
226: [16:04:50] * kinglozzer quit ()
227: [16:07:00] * lerni quit (Ping timeout: 246 seconds)
228: [16:18:33] * wmk quit (Ping timeout: 240 seconds)
229: [16:30:08] * Teddy_ quit (Ping timeout: 272 seconds)
230: [16:32:39] * slievr quit (Ping timeout: 258 seconds)
231: [16:33:41] * UndefinedOffset quit (Quit: Leaving.)
232: [16:57:51] * agent44 quit (Quit: zzz)
233: [16:58:13] * agent44 has joined #silverstripe
234: [16:58:13] * agent44 quit (Client Quit)
235: [16:58:37] * UndefinedOffset has joined #silverstripe
236: [17:09:21] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
237: [17:22:54] * wmk has joined #silverstripe
238: [17:27:37] * gelignite has joined #silverstripe
239: [18:11:51] * muskie9 has joined #silverstripe
240: [18:33:58] * UndefinedOffset quit (Quit: Leaving.)
241: [18:42:48] * UndefinedOffset has joined #silverstripe
242: [19:30:43] * Stomach has joined #silverstripe
243: [20:06:02] * wmk quit (Quit: Leaving)
244: [20:17:46] * muskie9 quit (Quit: My Mac has gone to sleep. ZZZzzz…)
245: [20:19:27] * muskie9 has joined #silverstripe
246: [20:30:57] * Admonish has joined #silverstripe
247: [20:37:09] * lerni has joined #silverstripe
248: [20:40:15] * UndefinedOffset quit (Quit: Leaving.)
249: [21:01:27] * Admonish_ has joined #silverstripe
250: [21:01:27] <ss-helper> Admonish_: Welcome to #silverstripe! Please ask your questions but don't leave too soon, we are a busy lot.
251: [21:03:06] * Admonish quit (Ping timeout: 244 seconds)
252: [21:03:13] * Admonish_ is now known as Admonish
253: [21:10:11] <Admonish> Hey everyone. Im getting a weird error/notice when I try to add an extra perameter to the Uploads load function in a subclass
254: [21:10:17] <Admonish> Heres the error : [Strict Notice] Declaration of StoreItemUpload::load() should be compatible with Upload::load($tmpFile, $folderPath = false)
255: [21:11:54] <Admonish> Original function declaration :public function load($tmpFile, $folderPath = false) {
256: [21:12:18] <Admonish> Mine : public function load($customName,$tmpFile, $folderPath = false) {
257: [21:29:28] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
258: [21:38:19] * lerni quit (Remote host closed the connection)
259: [21:38:33] * Admonish has joined #silverstripe
260: [21:39:47] * Stomach quit (Quit: zzz)
261: [21:48:48] * TheVoid is now known as TheVoid_
262: [21:50:26] <muskie9> Admonish you have to put $customName as your third parameter... the first 2 have to match the parent method
263: [21:51:17] <Admonish> muskie9 I will try that
264: [21:57:45] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
265: [22:00:01] * TheVoid has joined #silverstripe
266: [22:02:49] * TheVoid_ quit (Quit: TheVoid_)
267: [22:03:09] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
268: [22:05:17] * Admonish quit (Quit: Going offline, see ya! (www.adiirc.com))
269: [22:11:49] * Stomach has joined #silverstripe
270: [22:37:29] * Stomach quit (Quit: zzz)
271: [22:38:32] * Stomach has joined #silverstripe
272: [22:39:28] * Stomach quit (Read error: Connection reset by peer)
273: [22:39:34] * Stomach_ has joined #silverstripe
274: [23:31:39] * Stomach_ quit (Quit: zzz)
275: [23:49:20] * Azure quit (Remote host closed the connection)

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