#silverstripe IRC Log

IRC log for 1 August 2014

All timestamps are in UTC.

1: [00:00:13] <harold_> my db has a testimonials table
2: [00:00:19] <harold_> but not those fields
3: [00:00:40] <zippy> flush and dev build
4: [00:00:58] <zippy> make sure you have no other Testimonial class in you project?
5: [00:01:08] <harold_> and there you see... it's proves my point
6: [00:01:16] <harold_> I did a build it created the table
7: [00:01:31] <harold_> then i had to do a second build to add the fields
8: [00:01:45] <harold_> it seems a bit hit and miss
9: [00:01:53] <harold_> flush build flush... until it works
10: [00:02:01] <zippy> you need to flush, then build
11: [00:02:25] <harold_> for newbies it's a headache because you don't know if your code has errors or if the build isn't complete
12: [00:02:58] <harold_> it would be useful if there was a link to click in the admin which did a flusha nd rebuild
13: [00:03:13] <irogue_> harold_: http://will-rossi.deviantart.com/art/SilverStripe-WallPaper-01-59254232
14: [00:03:28] <irogue_> we even have a wallpaper for it :P
15: [00:03:38] <harold_> lol thanks
16: [00:03:42] <harold_> flush before build?
17: [00:03:47] <harold_> or flush after build
18: [00:04:02] <zippy> flush before so it picks up on config changes
19: [00:04:25] <zippy> I mormally do /dev/build?flush=1 which I think is enough for new fields to be picked up, but wont flush templates or anything
20: [00:04:36] <zippy> but yes, I hate the flush system, it's balls
21: [00:04:41] <zippy> the dev/build I can understand
22: [00:05:12] <zippy> it feels like the flush is a band aid over a flow config system which was changed to yml but still balls IMHO
23: [00:05:14] <irogue_> having to ?flush=1 on a build wasn't really intentional from the sounds of it
24: [00:05:27] <zippy> it's on my "someday maybe" list to look at it
25: [00:05:30] <irogue_> I think they plan to fix that for 3.2
26: [00:05:40] <zippy> should just drop the yaml config
27: [00:06:13] <zippy> take a page out of laravel system for config, not RoR
28: [00:06:54] <harold_> ok glad it's not just me then
29: [00:06:58] <harold_> ok thans for the help guys
30: [00:07:01] <harold_> bed for moi
31: [00:07:09] <zippy> o/
32: [00:07:28] <zippy> should write a bot which detects a ? on the line and just says "have you did a flush build flush build"
33: [00:12:54] <Stomach> dont forget to flush your command line too
34: [00:13:01] <Stomach> seeing as the manifests are seperate
35: [00:13:06] <Stomach> just for even more fun
36: [00:14:03] <irogue_> colin needs to plug in his laptop so it stops going to sleep
37: [00:17:21] * micmania1 has joined #silverstripe
38: [00:17:30] * micmania1 quit (Client Quit)
39: [00:17:57] <Stomach> mooymans the devil
40: [00:17:57] <Stomach> https://github.com/tractorcow
41: [00:18:06] * micmania1 has joined #silverstripe
42: [00:19:52] <irogue_> Stomach: why? lol
43: [00:20:03] <Stomach> 666 total contributions
44: [00:20:08] <Stomach> build failing
45: [00:20:17] <Stomach> clear evidence half life 3 is about to get released!
46: [00:20:19] <zippy> something is weird with sessions and arrays...
47: [00:20:39] <zippy> it's like, it merges the arrays or something
48: [00:21:04] <zippy> if my array currently has 4 items, and then I change it to just 1, when I do a get (on next page load) it still has the other items...
49: [00:21:10] <zippy> like I have to clear it, and then set it
50: [00:21:17] <irogue_> zippy: using Session::set(array(...))?
51: [00:21:37] <zippy> Session::set('Key', array());
52: [00:21:42] <irogue_> yeah that
53: [00:21:42] <irogue_> lol
54: [00:21:44] <zippy> so I set and fetch with the same Key
55: [00:22:07] <irogue_> yes, you have to clear it first. Session::set is (wrongly imo) treated as an append rather than an overwrite
56: [00:22:24] <zippy> balls
57: [00:22:33] <zippy> ball ache even
58: [00:24:13] * Colin[pi]_Mac has joined #silverstripe
59: [00:24:56] <zippy> you tell SQLQuery what fields you want with selectField, yet it still does a *...
60: [00:24:58] <zippy> (as well)
61: [00:25:55] <irogue_> mooyman might have already fixed that lol
62: [00:26:17] * antmas quit (Remote host closed the connection)
63: [00:26:23] <Kingy> fuck i have a meeting so can't do lunch guys
64: [00:26:44] <Colin[pi]_Mac> ok no worries Kingy
65: [00:27:07] <Kingy> I might run and get some subway or some shit now but can't hang round
66: [00:28:30] * ss23 quit (Ping timeout: 260 seconds)
67: [00:29:09] * ss23 has joined #silverstripe
68: [00:34:06] * caamic30 has joined #silverstripe
69: [00:37:12] * travis-ci has joined #silverstripe
70: [00:37:12] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#2998 (3.1 - 94f70a2 : Damian Mooyman): The build is still failing.
71: [00:37:12] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/edb8964722ec...94f70a24cbfe
72: [00:37:12] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31385044
73: [00:37:12] * travis-ci has left #silverstripe
74: [00:37:42] * antmas_android has joined #silverstripe
75: [00:42:13] * Colin[pi]_Mac has joined #silverstripe
76: [00:46:16] <irogue_> so many more @router.silverstripe.com users than normal :P
77: [00:49:23] <zippy> my client doesn't show hostname on join
78: [00:49:50] <adrexia> I need a better irc client
79: [00:50:14] <irogue_> textual <3
80: [00:50:30] <adrexia> I'm on Linux
81: [00:51:03] <adrexia> textual looks really nice. Like it's from this century
82: [00:53:11] <irogue_> adrexia: we're going to Smith the Grocer in Old Bank Arcade for lunch, which is nearish you I believe. Feel free to join if you want :)
83: [00:53:15] <zippy> purchase an irc client...!
84: [00:53:40] <irogue_> antmas_android: and by "we" I mean antmas_android, Colin[pi]_Mac, myself and Robert Curry
85: [00:53:49] <irogue_> *adrexia
86: [00:54:33] <adrexia> When are you leaving?
87: [00:54:44] <adrexia> I haven';t had lunch yet, so tempted
88: [00:54:49] <irogue_> leaving here nowish, meeting there ~1:10
89: [00:55:13] <adrexia> sweet. Will head down in a bit. Give you a chance yto get there
90: [00:55:18] <irogue_> sweet :)
91: [00:55:25] <adrexia> zippy - know of any good ones for linux?
92: [00:55:30] <irogue_> I'm a big Mini Metro fanboi so I gotta meet Robert while I'm here
93: [00:55:37] <adrexia> bwhahah
94: [00:55:54] <irogue_> been playing it since the first alpha, haha
95: [01:01:20] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
96: [01:03:58] <spronk> ....mini metro
97: [01:05:03] <spronk> interesting
98: [01:05:13] * spronk should build an irc client..
99: [01:05:44] <Kingy> k go
100: [01:07:56] * antmas_android quit (Ping timeout: 255 seconds)
101: [01:24:03] * Tanger has joined #silverstripe
102: [01:24:25] * Selay has joined #silverstripe
103: [01:27:53] <Selay> Hi guys, I want to check something if anyone knows. It is about updating a retrieved dataobject data. I want to confirm that the second update keeps the data done in the first update. For example, $obj=MyDataObject::get()->byID($ID); $obj->Title='New Title'; $obj->write(); //some operation $obj->Body='Test'; $obj->write();
104: [01:28:40] <Kingy> Can't say for sure, but i'd assume so
105: [01:28:54] <zippy> Selay: yes
106: [01:30:39] <Selay> so, originally the title was empty, then it is updated to 'New Test'. in the first write(). the second write() will not make title empty again, right? I thought I may need to retrieve updated dataobject again after the first write().
107: [01:31:50] <Stomach> Selay, doing $object->Property = 'value'; updates that representation of the object
108: [01:32:15] <Stomach> as you are writing the object with the updated represented object it maintains the previous changes
109: [01:32:30] * Ryan-Toast quit (Quit: Ryan-Toast)
110: [01:32:31] <Selay> @Stomach @zippy, ok. it should be good then. thank you so much.
111: [01:33:34] * micmania1 quit (Quit: micmania1)
112: [01:37:51] * camfindlay quit (Quit: camfindlay)
113: [01:41:16] * travis-ci has joined #silverstripe
114: [01:41:16] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#976 (3.1 - 3e1904a : Mateusz U): The build was broken.
115: [01:41:16] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/1b0add3ecfbb...3e1904acd8f5
116: [01:41:16] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/31387922
117: [01:41:16] * travis-ci has left #silverstripe
118: [01:43:17] * Ryan-Toast has joined #silverstripe
119: [01:52:41] <caamic30> Hi SS! Is there a way to check all extensions registered?
120: [01:55:28] * CodeTrap1 has joined #silverstripe
121: [01:58:54] * micmania1 has joined #silverstripe
122: [01:58:56] <Jakx> caamic30, damn that'd be a big list.
123: [01:59:18] * CodeTrap quit (Remote host closed the connection)
124: [01:59:19] * shellbackpacifi1 quit (Ping timeout: 245 seconds)
125: [02:00:32] * babak has joined #silverstripe
126: [02:01:39] * Kingy is now known as Kingy[a]
127: [02:03:15] <caamic30> Jakx: surely, the reason I want to see the list is because I wanted to see if the extension I created is really registered because my extension isn’t working for some reason
128: [02:03:43] <Jakx> caamic30, sspaste?
129: [02:03:51] <zippy> caamic30: flushed after adding it to the config?
130: [02:04:02] <Jakx> zippy, ^
131: [02:04:06] <caamic30> I added it on _config.yml
132: [02:04:17] <zippy> and.. flushed?
133: [02:06:13] <caamic30> here’s my code
134: [02:06:13] <caamic30> http://www.sspaste.com/paste/show/53daf1ba1efa5
135: [02:06:33] <caamic30> zippy: yes, flush=1 & flush=all
136: [02:06:38] <zippy> extends Extension
137: [02:06:40] <caamic30> both I tried
138: [02:06:42] <zippy> extends DatanExtension
139: [02:06:46] <zippy> DataExtension
140: [02:06:54] * Kingy[a] is now known as Kingy
141: [02:07:56] <Jakx> zippy, did you not mean Datan Extoritus Ensionsioné?
142: [02:08:06] <zippy> ;-)
143: [02:09:11] <caamic30> ignore the syntax error on the __construct method ‘$this->’
144: [02:09:18] <caamic30> can’t edit the sspaste code anymore.
145: [02:09:41] <caamic30> zippy: even if it’s dataextension is still the same
146: [02:10:00] <zippy> you flush after changing that
147: [02:10:08] <caamic30> yes
148: [02:10:33] <zippy> if you die('argh'); in updateCustomValidator does it reach there?
149: [02:10:45] <caamic30> I even tried deleting the silverstripe-cache folder and renewing the cache
150: [02:10:58] <caamic30> no
151: [02:11:19] <micmania1> caamic30: where is your yaml file? (folder structure included)
152: [02:11:41] <micmania1> and does FoundationForm exist?
153: [02:11:47] <caamic30> on mysite/_config/config.yml
154: [02:11:54] <zippy> die at the top of the data extension php file - to make sure it's even being loaded
155: [02:11:59] <micmania1> ok, that sounds good
156: [02:12:07] <micmania1> what about FoundationForm?
157: [02:12:13] <Jakx> caamic30, you don't happen to be doing the old; update your dev files, but look for changes on a staging site are ya? (Just being thorough)
158: [02:12:14] <caamic30> yes the foundationform exists, I event tried extending it to Form class but still nothing happens
159: [02:12:35] <micmania1> could you have a duplicate class?
160: [02:13:00] <caamic30> no duplicate class
161: [02:14:49] <micmania1> so can you call new CustomForm() from a different script that you know is being included?
162: [02:15:30] <caamic30> I called the customform in page controller
163: [02:15:47] <caamic30> I’ll try with a diff page
164: [02:18:49] <caamic30> same problem
165: [02:21:46] <adrexia> just for thew sake of trying everything, did you dev/build?flush=all
166: [02:21:46] <zippy> when returning json (ajax request) is there a nice helper in SS to return the right header?
167: [02:23:23] <caamic30> yeah, I tried all the flushes dev/build
168: [02:24:10] <caamic30> my extension is never been called
169: [02:24:24] <caamic30> there might be a problem on my code
170: [02:25:39] <Jakx> caamic30, it occurs to me that in sspaste you have 2x <?php
171: [02:26:15] <Jakx> caamic30, but I'm assuming they're difference files
172: [02:26:15] <caamic30> actually they are in separate page, I just copied all
173: [02:26:28] <Jakx> different*
174: [02:27:30] <caamic30> yes, they’re different files
175: [02:28:35] <caamic30> sspaste does not have edit existing
176: [02:30:04] <adrexia> what is updateCustomValidator? Does it exist somewhere other than the extension?
177: [02:30:28] <adrexia> oh disregard that
178: [02:30:33] <adrexia> just saw it
179: [02:31:49] <wracu> Any tips on sorting a dropdown?
180: [02:31:52] <wracu> MyObject::get()->map(ID -> $this->ItemName." - ".$this->Type");
181: [02:31:53] <wracu> I have mapped a dropdown and I want to sort the "ItemName + OwnerName"
182: [02:31:54] <wracu> I have mapped a dropdown and I want to sort the "ItemName + OwnerName"
183: [02:32:10] <wracu> oops I mean on $this->ItemName." - ".$this->Type"
184: [02:32:16] <caamic30> Jakx: have you replicated the problem, I tried in other SS versions and I get the same issue
185: [02:32:23] * AndroUser has joined #silverstripe
186: [02:32:28] <caamic30> really weird
187: [02:32:31] * AndroUser is now known as antmas
188: [02:32:59] <Kingy> irc on the android
189: [02:33:04] <Kingy> must be desperate lol
190: [02:33:13] <antmas> Yeah it interesting
191: [02:33:17] * irogue_ has joined #silverstripe
192: [02:33:20] <antmas> It's *
193: [02:33:24] <Kingy> haha
194: [02:33:35] <Kingy> what was for lunch
195: [02:33:42] <wracu> basically I mapped ID to a concatenation of some other fields... but I want to srt by those fields... am Igoing to have to map something other than ID and include it in my solr index instead?
196: [02:34:14] <wracu> or is there some easy way to sort a dropdown on whatever field of that dataObject that I want
197: [02:35:47] <wracu> I cant do that anyway as ID is the only unique field #thinkingoutloud
198: [02:35:53] * Colin[pi]_Mac has joined #silverstripe
199: [02:39:55] <zippy> wracu: sort the ItemName first...?
200: [02:40:13] <zippy> MyObject::get()->sortBy('ItemName', 'asc')->map..
201: [02:40:24] <zippy> it's either soryBy or orderyBy, I forgotwhich
202: [02:41:55] <wracu> ok thanks
203: [02:42:01] <wracu> I found another option...
204: [02:42:21] <wracu> private static $default_sort = array ("Field ASC");
205: [02:42:24] <wracu> on the DataObject
206: [02:43:05] <wracu> so for the pseudo example i gave... "ItemName ASC"
207: [02:44:39] <zippy> yeap can do that too
208: [02:47:08] * adrexia quit (Ping timeout: 264 seconds)
209: [02:48:14] * adrexia has joined #silverstripe
210: [02:49:03] <Olliepop> How do you filter a DataObject so you only have those which contain an item from a many_many relationship?
211: [02:49:13] * antmas quit (Remote host closed the connection)
212: [02:49:35] <Olliepop> I've tried a simple ->filter(array( 'Categories' -> $this->Title ))
213: [02:50:38] <zippy> If Page many_many categroies, then you can do ; Page->Categories()->Filter('Title', 'foo'); which will return any categories on Page which have that in the tiele
214: [02:50:41] <zippy> is that what you mean
215: [02:50:54] * antmas has joined #silverstripe
216: [02:57:17] * travis-ci has joined #silverstripe
217: [02:57:18] <travis-ci> [travis-ci] srizzling/silverstripe-framework#1 (3.1 - 7071e0d : Sriram Venkatesh): The build failed.
218: [02:57:18] <travis-ci> [travis-ci] Change view : https://github.com/srizzling/silverstripe-framework/compare/ed9d5bb30d2c...7071e0d55478
219: [02:57:18] <travis-ci> [travis-ci] Build details : http://travis-ci.org/srizzling/silverstripe-framework/builds/31391089
220: [02:57:18] * travis-ci has left #silverstripe
221: [03:00:01] <Olliepop> Yep zippy thanks
222: [03:00:23] * caamic30 quit (Ping timeout: 240 seconds)
223: [03:00:24] * caamic30_ has joined #silverstripe
224: [03:05:09] <Jakx> is there a way to stop silverstripe appending ?url=, in a 301 redirect?
225: [03:06:12] <Stomach> use the [L] modifier
226: [03:06:31] <Stomach> so that the process doesnt continue and use the ss redirect after you've done your redirect
227: [03:07:03] <Stomach> (L = last flag)
228: [03:08:14] <zippy> Jakx: If you do a ? on the end then no paramaters will be done
229: [03:08:22] <zippy> eg
230: [03:08:32] <zippy> RewriteRule foo /bar?
231: [03:09:01] <Stomach> RewriteRule foo /bar [R=301,L]
232: [03:10:02] <zippy> ?
233: [03:11:30] <Jakx> Stomach, tyvm
234: [03:11:55] <Stomach> zippy, adding a ? is a cheap hack, you should use the mod rewrite flags :P
235: [03:12:15] <zippy> RewriteRule foo /bar? [R=301,L]
236: [03:17:59] <irogue_> hey guys, anyone got any tips for running SS on any particular shared hosts? (other than "don't")
237: [03:18:15] <Ryan-Toast> Psst, spronk
238: [03:18:30] <spronk> ....you called
239: [03:18:41] * spronk rips off his shirt to reveal a giant S
240: [03:18:43] <Ryan-Toast> spronk: can you guess what my question sis going to be about?
241: [03:18:56] <Ryan-Toast> :P
242: [03:18:59] <spronk> well
243: [03:19:03] <irogue_> USERFORMS? BLOG?
244: [03:19:03] <spronk> it must be BetterButtons
245: [03:19:04] <spronk> :P
246: [03:19:09] <antmas> #notsubsites
247: [03:19:12] * Colin[pi]_Mac has joined #silverstripe
248: [03:19:24] <Ryan-Toast> Is there anything special you have to do in a subsite to get a subdomain working?
249: [03:19:26] <Ryan-Toast> i.e http://demo.straytravel.com/
250: [03:20:28] <spronk> is the main site straytravel.com, or a completely separate domain?
251: [03:20:44] <spronk> actually tbh i think both work just fine
252: [03:20:47] <Ryan-Toast> spronk: main site i: http://www.straytravel.com/
253: [03:20:49] <spronk> as long as your apache config is expecting is
254: [03:20:50] <Ryan-Toast> is**
255: [03:20:51] <spronk> expecting it*
256: [03:21:03] <spronk> and DNS points to the host that the SS install is on
257: [03:21:14] <spronk> on a vps you'll likely want to do like... ServerAlias *.straytravel.com
258: [03:21:20] <spronk> or at the very least an alias for each subbie
259: [03:21:31] <spronk> or whatever that is in nginxland
260: [03:21:45] <Colin[pi]_Mac> spronk loves subsites, spronk loves subsites <3
261: [03:22:08] <spronk> :'(
262: [03:22:21] <Ryan-Toast> spronk: thanks, man :)
263: [03:22:25] <spronk> here. have a trailer. http://www.youtube.com/watch?v=zSWdZVtXT7E
264: [03:23:19] * Olliepop quit (Ping timeout: 246 seconds)
265: [03:23:42] <spronk> man that is a good trailer. best i've seen in a long time.
266: [03:23:51] <spronk> and the music. and that shot of the rocket
267: [03:23:53] <spronk> MELT
268: [03:24:05] <spronk> the new trailer is so lame in comparison..
269: [03:26:02] <spronk> FUCK OFF OUTLOOK WITH YOUR SHITTY FAILED TO UPDATE HEADERS
270: [03:27:17] * Stomach quit (Ping timeout: 245 seconds)
271: [03:28:31] <Colin[pi]_Mac> lol
272: [03:28:39] <Colin[pi]_Mac> you tell it who's boss
273: [03:28:56] * Stomach has joined #silverstripe
274: [03:29:36] * spronk pouts
275: [03:30:20] <Kingy> so tired
276: [03:30:25] <spronk> http://www.youtube.com/watch?v=VyJXfaXYjTI gorgeous.
277: [03:30:26] * cloph has joined #silverstripe
278: [03:31:12] * cloph_away quit (Ping timeout: 272 seconds)
279: [03:31:38] <Kingy> do you like your room Colin[pi]_Mac?
280: [03:31:55] <Colin[pi]_Mac> Kingy: yeah it's alright, simple but functional
281: [03:32:02] <Colin[pi]_Mac> your's is alright??
282: [03:32:14] * travis-ci has joined #silverstripe
283: [03:32:14] <travis-ci> [travis-ci] srizzling/silverstripe-framework#3 (3.1 - a32d8ef : Sriram Venkatesh): The build is still failing.
284: [03:32:14] <travis-ci> [travis-ci] Change view : https://github.com/srizzling/silverstripe-framework/compare/ab7641c6d30a...a32d8efa77cc
285: [03:32:14] <travis-ci> [travis-ci] Build details : http://travis-ci.org/srizzling/silverstripe-framework/builds/31392740
286: [03:32:14] * travis-ci has left #silverstripe
287: [03:32:16] <Kingy> yeah it was ok, not enough blankets
288: [03:32:29] <Kingy> and if you walk into the bathroom the extractor fan... sorry jet engine... goes for like 20minutes after
289: [03:32:58] <Kingy> watched the commonwealth games for far too long last night as well lol
290: [03:33:53] <Colin[pi]_Mac> Kingy: yeah I noticed the distinct lack of blankets
291: [03:34:01] <Colin[pi]_Mac> Luckily I was ok
292: [03:34:15] <Kingy> yeah single bed so it wasn't bad
293: [03:34:22] <Kingy> heats up fast enough
294: [03:35:17] * Olliepop has joined #silverstripe
295: [03:40:52] <Jakx> Stomach, where do I add 15RewriteRule foo /bar [R=301,L] to my .htaccess? I've tried a bunch of stuff and it doesn't seem to work :(01
296: [03:43:10] <spronk> make sure its before any other rules that would otherwise override it
297: [03:43:15] <spronk> i.e L rules
298: [03:43:15] <spronk> or
299: [03:43:24] <spronk> yeah
300: [03:44:42] <Jakx> 15spronk, ty
301: [03:44:50] * Liquide quit ()
302: [03:46:51] <spronk> ALL G BROTHA
303: [03:46:56] * cloph_away has joined #silverstripe
304: [03:46:58] <spronk> HUURHG.
305: [03:47:38] * cloph quit (*.net *.split)
306: [03:47:40] <antmas> Skype time
307: [03:51:03] * caamic30_ quit (Quit: caamic30_)
308: [03:56:10] * Stomach quit (Ping timeout: 260 seconds)
309: [03:56:12] * Stomcch has joined #silverstripe
310: [03:58:17] <Ryan-Toast> Can I get in on that skype meeting?
311: [03:58:24] * micmania1 quit (Quit: micmania1)
312: [03:58:55] <Ryan-Toast> antmas: prod
313: [03:59:33] <antmas> Um do you have Cam as a contact?
314: [03:59:38] <Ryan-Toast> narp
315: [03:59:42] <Ryan-Toast> ryan@toast.co.nz
316: [04:00:18] <antmas> Nah apparently it's going to be captured though
317: [04:00:23] <Ryan-Toast> BOOO
318: [04:00:43] <antmas> Lol
319: [04:00:54] <Kingy> yeah booo
320: [04:01:05] <Colin[pi]_Mac> booourns
321: [04:01:15] <Kingy> lol
322: [04:01:30] <Ryan-Toast> boooo, cam, booooo
323: [04:01:58] <Kingy> less than an hour to go
324: [04:06:37] * joelpittet quit (Read error: Connection reset by peer)
325: [04:06:44] * micmania1 has joined #silverstripe
326: [04:07:30] * joelpittet has joined #silverstripe
327: [04:11:13] * pippy quit (Quit: Page closed)
328: [04:13:04] * nickmolhoek quit (Quit: nickmolhoek)
329: [04:14:32] * mirrors quit (Quit: Page closed)
330: [04:17:12] * micmania1 quit (Quit: micmania1)
331: [04:22:37] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
332: [04:23:21] * Stomcch is now known as Stomach
333: [04:31:53] * irogue_ has joined #silverstripe
334: [04:34:52] * simon_w|air has joined #silverstripe
335: [04:35:27] <zippy> Ryan-Toast: o/
336: [04:35:30] <zippy> simon_w|air: o/
337: [04:35:39] <zippy> simon_w|air: havn't see you all day… have you been.. working?
338: [04:35:42] <simon_w|air> Hello
339: [04:35:44] <simon_w|air> Nope
340: [04:35:45] <zippy> like, working for reals
341: [04:35:47] <simon_w|air> Next guess!
342: [04:35:48] <zippy> ah :P
343: [04:35:56] <zippy> traveling
344: [04:36:00] <simon_w|air> Yup!
345: [04:36:09] * zippy rubs his crystal ball
346: [04:36:27] * zippy still loves his new nick, no more _, oh yea!
347: [04:36:28] * wracu quit (Ping timeout: 246 seconds)
348: [04:36:36] <simon_w|air> So where am I now?
349: [04:36:57] <Kingy> NZ
350: [04:37:16] <simon_w|air> More specific
351: [04:37:27] <zippy> Wellington
352: [04:37:29] <simon_w|air> Hmm, my host mask tells you
353: [04:37:33] <simon_w|air> That's boring :p
354: [04:37:34] <zippy> :P
355: [04:37:36] <Kingy> Wellickland
356: [04:37:50] <zippy> TelstraClear Wellington Cable Customers
357: [04:37:53] <ss23> YPI
358: [04:37:58] <ss23> YOU'RE SITTING IN A CABLE
359: [04:38:06] <Kingy> omg ss23 is alive
360: [04:38:10] <ss23> o/
361: [04:38:10] <simon_w|air> Mmm, decent internet where I'm staying!
362: [04:38:15] <ss23> Man
363: [04:38:19] <irogue_> simon_w|air: HELLO
364: [04:38:20] <ss23> The human body is really fucked up
365: [04:38:20] * markcl has joined #silverstripe
366: [04:38:27] <Kingy> i hope we didn't piss you off last night ss23 :P
367: [04:38:27] <simon_w|air> irogue_, HERRO
368: [04:38:27] <ss23> I just like burped, and brought up stomach acid
369: [04:38:31] <ss23> TIS ISN'T MEANT TO HAPPEN
370: [04:38:35] <ss23> Kingy: hahaha, no way, it was entertaining
371: [04:38:36] <ss23> :P
372: [04:38:40] <markcl> Hello
373: [04:38:57] <irogue_> simon_w|air: I'm in SS Wgtn board room with Colin[pi] and antmas (and most of the SS folk)
374: [04:38:58] <markcl> I want to make this new button I added to the GridField to appear on top of the gridfield, not on the bottom
375: [04:38:58] <markcl> if ($gridField) {
376: [04:38:59] <markcl> $gridField->getConfig()->removeComponentsByType('GridFieldExportButton');
377: [04:38:59] <markcl> $gridField->getConfig()->addComponent(new GridFieldExportAllButton());
378: [04:38:59] <markcl> }
379: [04:39:00] <zippy> simon_w|air: I have worked around it, but I KNOW there is a real answer to this. How can you tell if an ID/Object exists in a many_many relation? like Pages->Categories()->has($categoryID); ?
380: [04:39:01] <markcl> How to do it?
381: [04:39:19] <zippy> markcl: there is an option
382: [04:39:36] <simon_w|air> zippy, find()
383: [04:39:39] <ss23> In the cloud, obviously
384: [04:39:41] <ss23> fuck
385: [04:39:42] <simon_w|air> It's a thing on DataList
386: [04:39:44] <ss23> wrong window
387: [04:39:54] <markcl> markcl: what is that option
388: [04:39:55] <markcl> ?
389: [04:40:04] <zippy> markcl: new GridFieldExportAllButton('before')
390: [04:40:52] <zippy> simon_w|air: ah I see :)
391: [04:41:01] <markcl> Thanks very much zippy
392: [04:41:04] <markcl> you are most awesome
393: [04:41:20] <zippy> markcl: simon_w|air would of told me at some stage
394: [04:41:56] * Ryan-Toast quit (Quit: Ryan-Toast)
395: [04:44:53] <Kingy> right im about to go home i feel
396: [04:45:30] <Kingy> irogue_: was good to meet you. Say the same to antmas and Colin. Let me know the next time you're down
397: [04:45:46] <irogue_> Kingy: will pass that on :)
398: [04:45:49] * Jakx has left #silverstripe
399: [04:48:18] * Kingy is now known as Kingy[a]
400: [04:52:50] <ss23> wooah I just heard irogue_ say " Kingy[a] hates you" to antmas and Collin
401: [04:59:13] * Olliepop quit (Ping timeout: 246 seconds)
402: [05:00:51] * caamic30 has joined #silverstripe
403: [05:02:44] * Ryan-Toast has joined #silverstripe
404: [05:03:12] * mobiusnz quit (Quit: Leaving.)
405: [05:03:32] * Ryan-Toast has left #silverstripe
406: [05:03:50] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
407: [05:05:22] <simon_w|air> So, I have a feeling my grandparents found the IRC logs
408: [05:06:11] <zippy> :)
409: [05:06:22] <zippy> they been googling you eh
410: [05:08:48] <simon_w|air> Typed the wedding website into google. hit the first result and "a whole lot of stuff came up"
411: [05:10:16] <simon_w|air> Also, there's nothing in the access logs for about 10 hours before the sent the email complaining about it
412: [05:11:49] <zippy> hahah
413: [05:12:55] <zippy> just realised all my stats will start back at 0! http://logs.simon.geek.nz/stats.php
414: [05:13:25] <zippy> 34th on the top speakers!
415: [05:13:35] <zippy> no-wonder I don't bill out much work :D
416: [05:14:43] * CodeTrap has joined #silverstripe
417: [05:16:04] * CodeTrap1 quit (Ping timeout: 240 seconds)
418: [05:16:17] * zippy quit (Quit: zippy)
419: [05:19:26] <markcl> How do I get all the database fields of Silverstripe DataObject as an array?
420: [05:19:33] <markcl> more specifically a map
421: [05:19:40] <markcl> kind of like a key, value pair
422: [05:20:47] <markcl> nevermind
423: [05:20:48] <markcl> i got it
424: [05:20:50] <markcl> ->toMap()
425: [05:21:13] <markcl> I was trying to do it with custom_database_fields before
426: [05:22:32] * CodeTrap1 has joined #silverstripe
427: [05:23:07] * CodeTrap quit (Ping timeout: 245 seconds)
428: [05:26:24] * adrexia quit (Quit: Konversation terminated!)
429: [05:33:06] * Robke has joined #silverstripe
430: [05:33:10] <Robke> morning
431: [05:42:42] * joelpittet quit ()
432: [05:43:18] * CodeTrap1 quit (Quit: CodeTrap1)
433: [05:47:15] * mobiusnz has joined #silverstripe
434: [05:47:58] * micmania1 has joined #silverstripe
435: [05:48:00] * micmania1 has left #silverstripe
436: [05:48:08] * mobiusnz quit (Client Quit)
437: [05:49:46] * mobiusnz has joined #silverstripe
438: [05:53:48] <simon_w|air> Evening
439: [05:54:03] * caamic30 quit (Quit: caamic30)
440: [05:55:32] * caamic30 has joined #silverstripe
441: [05:56:15] <Robke> new Zealand... :D
442: [05:58:03] <simon_w|air> Well, for today
443: [05:58:55] <Robke> :)) so where else do you live?
444: [06:00:06] <simon_w|air> Usually, Australia
445: [06:02:09] <Robke> nice :)
446: [06:02:26] <Robke> and you are working with SS development or just buiilding new webs? :)
447: [06:12:35] * travis-ci has joined #silverstripe
448: [06:12:35] <travis-ci> [travis-ci] tractorcow/sapphire#1 (dev - 6e604d8 : Damian Mooyman): The build was canceled.
449: [06:12:35] <travis-ci> [travis-ci] Change view : https://github.com/tractorcow/sapphire/compare/dev
450: [06:12:35] <travis-ci> [travis-ci] Build details : http://travis-ci.org/tractorcow/sapphire/builds/31399101
451: [06:12:35] * travis-ci has left #silverstripe
452: [06:13:22] * Pyroflick has joined #silverstripe
453: [06:15:20] <Pyroflick> so what is this big event all about irogue?
454: [06:20:06] * travis-ci has joined #silverstripe
455: [06:20:06] <travis-ci> [travis-ci] tractorcow/sapphire#1 (dev - 6e604d8 : Damian Mooyman): The build was canceled.
456: [06:20:06] <travis-ci> [travis-ci] Change view : https://github.com/tractorcow/sapphire/compare/dev
457: [06:20:06] <travis-ci> [travis-ci] Build details : http://travis-ci.org/tractorcow/sapphire/builds/31399101
458: [06:20:06] * travis-ci has left #silverstripe
459: [06:24:41] * Colin[pi]_Mac has joined #silverstripe
460: [06:25:46] * mobiusnz quit (Quit: Leaving.)
461: [06:34:09] * travis-ci has joined #silverstripe
462: [06:34:10] <travis-ci> [travis-ci] tractorcow/sapphire#2 (pulls/3.2/fix-pdo - b0239f4 : Damian Mooyman): The build failed.
463: [06:34:10] <travis-ci> [travis-ci] Change view : https://github.com/tractorcow/sapphire/compare/9c9c000108fe...b0239f433021
464: [06:34:10] <travis-ci> [travis-ci] Build details : http://travis-ci.org/tractorcow/sapphire/builds/31399372
465: [06:34:10] * travis-ci has left #silverstripe
466: [06:34:15] * markcl has left #silverstripe
467: [06:49:14] <Pyroflick> bought a Mac have we Colin[pi]?
468: [06:49:40] <simon_w|air> Colin[pi]_Mac, You can't get away from me!
469: [06:49:43] <simon_w|air> MUAHAHAHAHA
470: [06:49:47] <Colin[pi]_Mac> simon_w|air: :o
471: [06:49:53] <Colin[pi]_Mac> you're here?
472: [06:50:17] <simon_w|air> BugerFuel tomorrow! (Probably)
473: [06:50:24] <Colin[pi]_Mac> simon_w|air: yay
474: [06:50:30] <Colin[pi]_Mac> had one lot already
475: [06:50:37] <Colin[pi]_Mac> will need to get some dinner soon ;)
476: [06:51:15] <simon_w|air> That's what hosts are for :p
477: [06:51:34] <Colin[pi]_Mac> simon_w|air: I went back to the hotel cause I feel like crapola
478: [06:51:41] <Colin[pi]_Mac> getting a cold I think
479: [06:51:50] * Colin[pi]_Mac shakes fist at planes
480: [06:52:04] <simon_w|air> It's warmer than Canberra here :p
481: [06:52:10] <Colin[pi]_Mac> lol I noticed
482: [06:52:19] <Colin[pi]_Mac> but dat wind
483: [06:53:40] <simon_w|air> Mmm, wind :)
484: [06:54:24] <Colin[pi]_Mac> I am not a fan
485: [06:54:33] <Colin[pi]_Mac> or I'd be making the wind
486: [06:54:36] <Colin[pi]_Mac> AHAHAHAHAHA
487: [06:54:37] <Colin[pi]_Mac> ahem
488: [06:57:01] * harold_ quit (Quit: Page closed)
489: [06:59:22] <simon_w|air> Yay, dinners time!
490: [06:59:25] * simon_w|air quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
491: [07:03:03] * CodeTrap has joined #silverstripe
492: [07:36:04] * jordanmk quit ()
493: [07:45:07] * stnvh has joined #silverstripe
494: [07:48:23] * spronk2 has joined #silverstripe
495: [07:56:40] * kinglozzer has joined #silverstripe
496: [07:57:57] * CodeTrap1 has joined #silverstripe
497: [07:59:40] * CodeTrap quit (Ping timeout: 250 seconds)
498: [08:04:10] * ocmnt has joined #silverstripe
499: [08:04:13] <ocmnt> howdy
500: [08:04:58] <Robke> hi
501: [08:05:51] <Robke> does anyone knows good php,js tutorials from lynda? because yesterday i tried to find something and it didnt worked for me :) i mean fo begginers :)
502: [08:08:13] * Selay quit (Ping timeout: 246 seconds)
503: [08:19:56] * simon_w|air has joined #silverstripe
504: [08:33:14] <ocmnt> anyone can help with this?
505: [08:33:34] <ocmnt> a normal webserver (vps/centOS) used to work just fine, though now it seems not working properly
506: [08:33:39] <ocmnt> ssh access no problem
507: [08:33:41] * spronk2 quit (Quit: spronk2)
508: [08:33:46] <ocmnt> websites not available
509: [08:33:49] <ocmnt> ftp not available
510: [08:33:51] <ocmnt> all services are running
511: [08:34:09] * Pyflk has joined #silverstripe
512: [08:39:52] * qlex has joined #silverstripe
513: [08:39:56] * qlex says hi
514: [08:40:05] <qlex> has any1 seen DesignerX recently here ?
515: [08:47:11] <Pyflk> nope, why?
516: [08:47:40] * simon_w|air quit (Quit: Textual IRC Client: www.textualapp.com)
517: [08:48:29] * spronk2 has joined #silverstripe
518: [08:52:09] <Pyflk> yum. kinglozzer dem buns
519: [08:52:12] <Pyflk> bacon
520: [08:52:20] <Pyflk> egg
521: [08:52:29] <Pyflk> mushroom & tomato
522: [08:52:31] <Pyflk> ...
523: [08:52:32] <kinglozzer> :( jelly
524: [08:52:33] <Pyflk> and hash browns.
525: [08:52:45] <Pyflk> LIVING THE FUCKING DREAM
526: [08:52:59] <Pyflk> really nice bap too
527: [08:53:08] <Pyflk> a bit of HP, no butter.
528: [08:53:26] <Pyflk> probably doesn't even need the sauce, flavour carries itself :>
529: [08:57:18] * spronk2 quit (Quit: spronk2)
530: [09:04:05] * Tanger quit (Quit: Tanger)
531: [09:04:15] * simon_w|air has joined #silverstripe
532: [09:04:21] <qlex> Pyflk: doing a project with him, but as he was moving apartments recently, i havent seen hime online recently
533: [09:05:40] <Pyflk> probably doesn't have internet yet knowing how bad Aussie ISPs are.
534: [09:11:48] * simon_w|air quit (Quit: Textual IRC Client: www.textualapp.com)
535: [09:46:26] * qlex says he'll be back later
536: [09:46:28] <qlex> seeya
537: [09:47:03] * spronk2 has joined #silverstripe
538: [09:48:21] <Pyflk> ciao
539: [09:52:54] * qlex has left #silverstripe
540: [10:02:28] * kinglozz_ has joined #silverstripe
541: [10:03:21] * stnvh_ has joined #silverstripe
542: [10:04:49] * spronk23 has joined #silverstripe
543: [10:05:38] <Pyflk> man where is everyone, this place so dead lately :<
544: [10:07:42] <ocmnt> I am here
545: [10:07:50] <ocmnt> jost choked myself in some coffee
546: [10:07:55] <ocmnt> sprayed it all over the office
547: [10:08:05] <ocmnt> luckily my coworker sitting opposite of me is on vacation
548: [10:08:11] <ocmnt> his chair was drowning from the coffee
549: [10:08:14] <ocmnt> :'D
550: [10:11:24] * spronk2 quit (*.net *.split)
551: [10:11:24] * kinglozzer quit (*.net *.split)
552: [10:11:24] * stnvh quit (*.net *.split)
553: [10:11:25] * spronk23 is now known as spronk2
554: [10:15:18] <Pyflk> lol ocmnt
555: [10:15:26] * Azure quit (Read error: Connection reset by peer)
556: [10:17:58] <ocmnt> purging coffee never was this much fun \o/
557: [10:18:27] <Robke> so do it again ;D
558: [10:18:37] <ocmnt> nah, sour troath
559: [10:18:44] <ocmnt> and the mess it leaves behind is no fun to clean up
560: [10:18:54] <ocmnt> even the ceiling has brown spots now
561: [10:19:06] <Pyflk> hahaha, wow
562: [10:20:25] * kinglozz_ is now known as kinglozzer
563: [10:20:43] * rzz has joined #silverstripe
564: [10:21:24] * Azure has joined #silverstripe
565: [10:21:30] <Pyflk> just go for the all in one kinglozzer - klozzer
566: [10:22:02] <Pyflk> then we can pull an Australian manuvre and go to Klozzo
567: [10:22:40] <rzz> just installed silverstripe... how do I take a js file out of the template and into the page controller?
568: [10:22:55] <Pyflk> what do you mean?
569: [10:23:14] <rzz> a fresh install of SS says <%-- Please move: Theme javascript (below) should be moved to mysite/code/page.php --%>
570: [10:23:23] <rzz> eg the <script type="text/javascript" src="{$ThemeDir}/javascript/script.js"></script>
571: [10:23:32] <Pyflk> it does?
572: [10:23:55] <ocmnt> require::javascript('path/to/file.js') in your init() {}
573: [10:24:16] <Pyflk> what version did you install?
574: [10:24:16] <Pyflk> https://github.com/silverstripe/silverstripe-installer/blob/3.1/mysite/code/Page.php
575: [10:24:26] <Pyflk> OOOOH, the THEME
576: [10:24:31] <Pyflk> rzz: ignore it. Don't do it.
577: [10:24:34] <Pyflk> delete the comments.
578: [10:24:48] <ocmnt> Pyflk, why so? I have all my req. set in controllers
579: [10:24:56] <rzz> so it's ok to reference it there or is better to reference in the controller?
580: [10:25:04] <Pyflk> I have all my view related requirements set in the view.
581: [10:25:13] <Pyflk> rzz: a matter of great debate.
582: [10:25:16] <ocmnt> js != view
583: [10:25:18] <rzz> :D
584: [10:25:19] <ocmnt> it is functionality :P
585: [10:25:21] <Pyflk> ocmnt: yes it is!
586: [10:25:23] <Pyflk> entirely
587: [10:25:33] <Pyflk> well... maybe not all entirely, but often.
588: [10:25:40] <Pyflk> depends what it's for!
589: [10:25:42] <ocmnt> noooo
590: [10:25:44] <ocmnt> it is UX
591: [10:25:45] <ocmnt> :D
592: [10:25:51] <ocmnt> experience, view is a part of that
593: [10:25:55] <Pyflk> slider/carousel is PRESENTATION logic, yes.
594: [10:25:57] <ocmnt> but it is more sensitive as just viewing
595: [10:25:59] <Pyflk> ie, VIEW layer
596: [10:26:05] <ocmnt> presentation is the better word for it indeed
597: [10:26:18] <ocmnt> though the main reason I use the requirements is to cocmbine the files
598: [10:26:26] <rzz> ahh... theory... :p
599: [10:26:27] <Pyflk> eg you can have a small collection of images and choose to present them as a gallery, or in a slider, or in a carousel.
600: [10:26:38] <Pyflk> any javascript related to the last two is VIEW logic.
601: [10:27:02] <Pyflk> but yes, combining files needs to be done in the controller afaik.
602: [10:27:41] <ocmnt> if you have widgets that require special JS you _need_ to put it in requirements
603: [10:27:54] <ocmnt> also another reason, one workflow for all files
604: [10:28:04] <Pyflk> rzz: eg in old versions of silverstripe it was like this by default: https://github.com/silverstripe/silverstripe-installer/blob/2.4/mysite/code/Page.php
605: [10:28:10] <Pyflk> see at the base of the page there.
606: [10:28:14] <Pyflk> err, page/file
607: [10:28:37] <Pyflk> ocmnt: yeah like I say, a matter for great debate
608: [10:28:44] <ocmnt> I know it is
609: [10:28:50] <ocmnt> I was just explaining my reasons
610: [10:28:52] <rzz> themedcss isn't quite a dir path though...
611: [10:28:57] <ocmnt> not trying to convince my reasons are the truth
612: [10:29:08] <ocmnt> (however I do think I am always right, don't need to push it down someones troath)
613: [10:29:13] <Pyflk> rzz: it's not a dir path. that's the point of it being the function call, not the path.
614: [10:29:19] <rzz> does the js need a dir path or is there something like themedjs ?
615: [10:29:33] <Pyflk> rzz: there's no themedjs
616: [10:30:00] <Pyflk> so yeah, you have to define the path from the SS root when defining JS in the theme folder (or any other folder)
617: [10:30:17] <Pyflk> you can do the same with css if you just css() instead of themedcss()
618: [10:30:34] <ocmnt> anyway, lunch!
619: [10:30:51] <Pyflk> themed css checks themes/<whatever the current theme is>/css/<name you supplied>.css
620: [10:31:14] <Pyflk> so if it's not there themedcss won't work.
621: [10:31:30] <rzz> i was thinking of including 2 themes so need to detect the path to the current theme...
622: [10:31:53] <rzz> but {$ThemeDir}/javascript/script.js doesnt seem to bring the file over
623: [10:32:10] <Pyflk> that's because that's template logic.
624: [10:32:24] <Pyflk> and you only have one theme.
625: [10:32:43] <Pyflk> themedcss will always only look in the active theme.
626: [10:33:22] <Pyflk> <% require themedCSS("layout") %>
627: [10:33:31] <rzz> themes/main/javascript/script.js works fine... but i didnt want to hardcore "main" into that path... can I detect the current theme in the controller?
628: [10:33:39] <Pyflk> yes.
629: [10:33:58] <Pyflk> http://api.silverstripe.org/3.1/class-SSViewer.html
630: [10:34:42] * Timmy has joined #silverstripe
631: [10:34:44] <Pyflk> SSViewer::get_theme_folder()
632: [10:34:59] <Pyflk> .'/js/script.js'
633: [10:35:06] * Timmy is now known as Guest62771
634: [10:35:10] <rzz> oops just tried SSViewer::current_theme() and it worked...
635: [10:35:11] <rzz> BUT
636: [10:35:21] <rzz> phpstorm claimed it's deprecated
637: [10:35:22] <Pyflk> current theme just returns the theme name.
638: [10:35:34] <rzz> ah but i was using in a path so that makes sense
639: [10:35:56] <Pyflk> 'themes/'.SSViewer::current_theme().'...
640: [10:36:00] <Pyflk> yeah, that'll work.
641: [10:36:08] <rzz> Requirements::javascript(SSViewer::get_theme_folder()."/javascript/script.js");
642: [10:36:12] * Shrike_Finland has joined #silverstripe
643: [10:36:20] <Pyflk> but get_theme_folder doesn't require the preceeding /themes/ yeah.
644: [10:36:23] <rzz> better... and phpstorm likes it.,... not sure how far to trust it's claims of deprecation :p
645: [10:36:23] <Pyflk> yep just like that
646: [10:36:32] <Pyflk> well
647: [10:36:32] <rzz> thanks ;)
648: [10:36:45] <Pyflk> http://api.silverstripe.org/3.1/source-class-SSViewer.html#659-666
649: [10:36:51] <Pyflk> I'd say that I'd trust it.
650: [10:37:00] <Pyflk> Removed next version.
651: [10:37:17] <rzz> ha good thanks for that then!
652: [10:37:44] <rzz> not sure how phpstorm knows this... the hooks must be tight!
653: [10:38:11] <Pyflk> it reads the output at a guess.
654: [10:38:22] <Pyflk> deprecation class raises an error iirc.
655: [10:38:37] <Pyflk> or something like that
656: [10:39:58] * Shrike_Finland quit (Client Quit)
657: [10:44:41] * caamic30 quit (Quit: caamic30)
658: [10:45:17] * harold_ has joined #silverstripe
659: [10:45:47] <harold_> any mysql gurus....
660: [10:46:12] <harold_> is is possible to update all set column with a random distinct number
661: [10:46:34] <Pyflk> probably not.
662: [10:46:39] <harold_> I can only get it to update all rows no the coumn with the same random number
663: [10:46:47] <Pyflk> harold_: try in #sql
664: [10:47:00] <Pyflk> /join #sql
665: [10:49:32] * harold_ quit (Client Quit)
666: [10:50:44] * harold_ has joined #silverstripe
667: [10:51:00] <harold_> strange #sql doesn't work
668: [10:51:15] <harold_> when i type a message it say can't send to #mysql
669: [10:52:16] <Pyflk> yeah you need to be registered
670: [10:52:30] <Pyflk> /msg NickServ help
671: [10:52:38] <Pyflk> or go to stackoverflow
672: [10:52:40] <Pyflk> probably easier
673: [10:53:04] <Pyflk> be sure to specify mysql though
674: [10:53:05] <Pyflk> etc.
675: [10:55:36] <ocmnt> lol
676: [10:55:37] <ocmnt> http://www.dumpert.nl/embed/6597155/db1bbc79/
677: [10:56:15] <Pyflk> Als je dit ziet dan doet de player het niet (dat rijmt). Bekijk de video hier. EN ZET JE JAVASCRIPT AAN!
678: [10:57:00] <Robke> poor cat ;))
679: [10:57:01] <ocmnt> enable javascript
680: [10:57:04] <ocmnt> Pyflk,
681: [10:57:14] <Pyflk> hahahahaha
682: [10:57:18] <ocmnt> it says, if you see this the player (jwplayer) isnt working)
683: [10:58:04] <kinglozzer> hahahaha ocmnt, classic
684: [11:10:21] * CodeTrap1 quit (Ping timeout: 272 seconds)
685: [11:11:31] <Pyflk> I guess he fell into that trap :<
686: [11:28:09] * Shrike_Finland has joined #silverstripe
687: [11:32:16] * rzz quit (Ping timeout: 246 seconds)
688: [11:35:42] * oetiker quit (Ping timeout: 272 seconds)
689: [11:37:44] <Robke> hm.. gyuys i have a question :) does anyone know a better tutorials how to learn JS, PHP then codeacademy.com? :)
690: [11:37:53] <Pyflk> treehouse
691: [11:38:18] <Robke> thank you ;) im going to check it ;)
692: [11:39:06] <Robke> erm... its not for free :)) good stuff isnt available for free yeah? :D
693: [11:48:30] <Pyflk> ha, good stuff is available for free, but usually only gets you so far, then you have to figure the rest out yourself.
694: [11:50:36] <kinglozzer> "Here's The Difference Between Polymer and Angular"... are people really getting confused between the two?!
695: [11:50:55] <kinglozzer> http://www.binpress.com/blog/2014/06/26/polymer-vs-angular/ ^^
696: [11:53:25] <Pyflk> kinglozzer: a polymer is a combination of particles into a repetitive chain. Angular is an adjective applied to things with sharp edges.
697: [11:53:50] <Pyflk> Quite different, no fucking idea what kind of a moron gets those confused!
698: [11:57:43] <Pyflk> kinglozzer: I'm looking forward to being able to watch the wdcnz video of SS with Angular
699: [11:58:20] <kinglozzer> Pyflk: Me too, actually. We've already done one project with SS & Angular, but curious to see how others approach it
700: [12:01:22] * kinglozzer lunch, nom nom
701: [12:01:57] * harold_ quit (Quit: Page closed)
702: [12:06:05] <ocmnt> ss and angular go pretty well together :)
703: [12:06:10] <ocmnt> where is that video Pyflk?
704: [12:06:19] <Pyflk> In the future.
705: [12:06:22] <Pyflk> On Vimeo
706: [12:06:50] <Pyflk> http://vimeo.com/user7782032
707: [12:06:55] <ocmnt> we are living in the future
708: [12:07:21] <ocmnt> you know how far in the future the vid will be available?
709: [12:07:30] <Pyflk> yeah but it's even further in the future. After they edit what happened in the past.
710: [12:07:49] <Pyflk> ocmnt: umm... judging by last year's event, maybe a month or two.
711: [12:07:55] <Pyflk> sadly :<
712: [12:08:02] <Pyflk> I wish it were quicker!
713: [12:08:35] <Pyflk> yeah, last year's vids were posted 10 months ago.
714: [12:08:42] <Pyflk> so ~2 months to process.
715: [12:11:33] <Pyflk> although hopefully quicker this year!
716: [12:11:43] <Pyflk> but it only happened on Wednesday.
717: [12:11:50] <Pyflk> or Thursday... one of them.
718: [12:13:13] <ocmnt> warning! Grahpic and kinda nswf: http://www.liveleak.com/view?i=711_1406823807
719: [12:13:24] <Pyflk> areet, so not for me then :<
720: [12:13:26] <ocmnt> but that is why, children.. NEver put your arm through the fence when there is a tiger on the other side
721: [12:13:43] <Pyflk> 0.0
722: [12:13:52] <ocmnt> and now I am hungry for chickenwings
723: [12:14:20] <ocmnt> quite impressive though. how a tiger has the ability to tear the skin right off to get straight to the good stuff
724: [12:14:27] <ocmnt> (see last picture in the row)
725: [12:15:40] <Pyflk> yeah, not looking.
726: [12:15:59] <Pyflk> just... dafuq are people that dumb?
727: [12:16:33] <ocmnt> I guess
728: [12:16:54] <ocmnt> weak stomic Pyflk or am I just that kind of weirdo that can stand stuff like that?
729: [12:18:15] * UndefinedOffset has joined #silverstripe
730: [12:18:29] <Pyflk> ocmnt: I'm at work.
731: [12:18:41] <ocmnt> so am I :D
732: [12:18:49] <Pyflk> also about to have lunch. I'm not put off by it, just rather not at the point in time.
733: [12:18:50] <ocmnt> but alone in the office, everyone has vacation except for me
734: [12:18:56] <Pyflk> ha
735: [12:19:01] <ocmnt> oh, it fired up my hunger for chicken actually
736: [12:19:07] <ocmnt> so it is good to see it pre-lunch
737: [12:19:07] <Pyflk> rude. why didn't the fuckers let you go too? :P
738: [12:19:09] <ocmnt> ;')
739: [12:19:18] <ocmnt> I will get my time after today
740: [12:19:20] <ocmnt> two weeks
741: [12:19:25] <ocmnt> of nothingness \o/
742: [12:19:26] <Pyflk> nice
743: [12:22:42] <Pyflk> so it'll cost me £200 to go to amsterdam in 2 weeks.
744: [12:22:46] <Pyflk> for the weekend.
745: [12:22:48] <Pyflk> hmm...
746: [12:33:33] <ocmnt> what you gonne do in amsterdam?
747: [12:33:45] <ocmnt> amsterdam is touristcapital
748: [12:34:13] * irogue_ has joined #silverstripe
749: [12:37:49] <irogue_> Pyflk: hello!
750: [12:39:36] * Guest62771 quit (Quit: Guest62771)
751: [12:42:15] * oetiker has joined #silverstripe
752: [12:55:10] * muskie9 has joined #silverstripe
753: [12:55:33] * Timmy has joined #silverstripe
754: [12:55:47] * irogue_ quit (Quit: Bye)
755: [12:55:57] * Timmy is now known as Guest98798
756: [13:10:48] <kinglozzer> ocmnt: DAYYYUMMM that looks painful
757: [13:11:17] <Pyflk> hurro irogue
758: [13:11:24] <Pyflk> oh you dick
759: [13:11:25] <ss23> "kernel source code does grow faster than the speed of light, but its not a contradiction of special relativity because no useful information is being communicated."
760: [13:11:29] <ss23> zzz
761: [13:11:36] <Pyflk> ss23: lolut
762: [13:11:37] <ocmnt> kinglozzer, I dont think much pain is involved, all the nerves are cut off straight away
763: [13:11:40] <Pyflk> +w
764: [13:11:45] <ocmnt> just some phantom numbness remains
765: [13:11:52] <Pyflk> phantom limbs!
766: [13:11:59] <kinglozzer> ocmnt: phantom pain
767: [13:12:03] <kinglozzer> Can't wait for that game
768: [13:12:05] <kinglozzer> :P
769: [13:12:35] <Pyflk> 11 years old eh
770: [13:12:47] <Pyflk> well (s)he won't do that again!
771: [13:18:59] <Pyflk> wholey shit, 'should be partially amputated' - bullshit. There's fucking nothing left to keep!
772: [13:19:05] <Pyflk> that thing's coming off at the shoulder
773: [13:19:14] <Pyflk> possibly part of the shoulder too!
774: [13:25:26] <kinglozzer> Handling has_one with many thousands of records to choose from. Best method?
775: [13:29:48] <kinglozzer> I mean there's GridFieldAutocomplete or whatever but that's fugly
776: [13:35:52] * catcher has joined #silverstripe
777: [13:44:45] * UndefinedOffset quit (Quit: Leaving.)
778: [13:46:58] * Sj0hn has joined #silverstripe
779: [13:47:08] <Sj0hn> Hey Ya'll
780: [13:53:01] * UndefinedOffset has joined #silverstripe
781: [13:55:46] * Robke quit (Ping timeout: 246 seconds)
782: [13:56:50] <Sj0hn> I've got some chinese translations for the MathSpamProtection, I tried adding them manually by adding a ch.yml file in the lang folder. Is this the right way to do it?
783: [14:00:11] * Guest98798 quit (Quit: Guest98798)
784: [14:00:35] <Sj0hn> oh nvm. it should been named zh.yml xD
785: [14:04:27] <Pyflk> kinglozzer: for adding existing?
786: [14:04:32] <Pyflk> nothing for it but a search component
787: [14:04:50] <Pyflk> unless they're tags, then use tagfield
788: [14:05:24] <kinglozzer> Pyflk: Yeah that's what I feared :(
789: [14:05:39] <kinglozzer> I guess I just want a DropdownField that does an ajax search of something fancy
790: [14:05:44] <kinglozzer> Never mind
791: [14:06:17] <Pyflk> well you could, but then that's just autocomplete thing
792: [14:09:21] * Sj0hn quit ()
793: [14:11:26] * Shrike_Finland quit (Quit: Leaving.)
794: [14:23:36] <Zauberfisch> hey, guys, stupid idea
795: [14:23:48] <Zauberfisch> how about we wrap the framework into a .phar
796: [14:23:59] * Liongold has joined #silverstripe
797: [14:24:00] <Zauberfisch> bad idea?
798: [14:24:03] <Liongold> Hi
799: [14:24:05] * Timmy has joined #silverstripe
800: [14:24:12] <Zauberfisch> I think it would be kind of neat to have a single file you can deply
801: [14:24:16] <Zauberfisch> deploy
802: [14:24:29] <Liongold> How can I run a query to check if a value is already included in the database? email
803: [14:24:37] * Timmy is now known as Guest89327
804: [14:24:42] <Zauberfisch> Liongold: be more specific
805: [14:24:52] <Pyflk> Zauberfisch: sure, why not.
806: [14:25:09] <Liongold> I am doing a sort of registration but email addresses need to be unique. How can I check it?
807: [14:25:13] <Pyflk> Zauberfisch: better idea, lets pass it through a PHP -> C converter and compile it as an extension
808: [14:25:27] <Zauberfisch> Pyflk: good point
809: [14:25:31] <Pyflk> phalcon take 2 :>
810: [14:25:46] <Zauberfisch> touchhe
811: [14:25:49] <Pyflk> or just reimplement it all in phalcon, something like that.
812: [14:25:53] <Zauberfisch> -h
813: [14:26:01] <Liongold> so?
814: [14:26:16] <Pyflk> Liongold: member emails ARE unique already.
815: [14:26:18] <Zauberfisch> Pyflk: no, but jokes aside, I actually find the phar idea interesting
816: [14:26:35] <Pyflk> Zauberfisch: I concur. Interesting, not sure if practical though.
817: [14:26:38] * ocmnt quit (Ping timeout: 250 seconds)
818: [14:26:46] <Liongold> This is something I'm building for myself. It does not have to do with Memer.
819: [14:27:08] <Pyflk> Liongold: then you've simply just got to deal with it as you always would.
820: [14:27:16] <Zauberfisch> Liongold: $member = Member::get()->filter('EMail', 'foo@bar.com');
821: [14:27:21] <Pyflk> query the database and see if it already exists.
822: [14:27:32] <Zauberfisch> actually
823: [14:27:37] <Zauberfisch> Liongold: $member = Member::get()->filter('EMail', 'foo@bar.com')->First();
824: [14:27:51] <Liongold> Shouldn't I put some Convertraw2sql thing?
825: [14:28:03] <Zauberfisch> if (!$member || !$member->exists()) { /* member does not exist, create it */ }
826: [14:28:21] <Zauberfisch> Liongold: if you are accpeting data from user input, then yes
827: [14:29:16] <Liongold> I am yes. How's it done?
828: [14:29:18] <Pyflk> Zauberfisch: well no
829: [14:29:32] <Pyflk> if he's using the ORM then no. If he's using something like DB::Query, then yes.
830: [14:29:36] * ocmnt has joined #silverstripe
831: [14:29:37] <Pyflk> Liongold: exactly like that.
832: [14:29:49] <Pyflk> Convert::whatever($var)
833: [14:29:52] <Zauberfisch> Pyflk: not sure, I thought filter() did not excape stuff
834: [14:30:02] <Pyflk> no, where() does not escape stuff.
835: [14:30:11] <Zauberfisch> yeah, I know that
836: [14:30:13] <Pyflk> filter takes an array of things.
837: [14:30:23] <Pyflk> which it converts and escapes, afaik
838: [14:30:27] <Zauberfisch> but I think filter() also passes values directly through
839: [14:30:33] <Zauberfisch> not sure anymore though
840: [14:30:36] <Zauberfisch> could be wrong
841: [14:31:05] <Zauberfisch> I am still having fun with that bloody contao ecommerce thing
842: [14:32:20] <Pyflk> lol guts
843: [14:32:24] <Pyflk> still trolling?
844: [14:34:40] <Pyflk> Zauberfisch: how is new recruit getting along?
845: [14:37:19] <Liongold> So DataObject::get()->filter('Email', $data['Email'])->first() will return true when the email is already used?
846: [14:37:55] <Pyflk> no
847: [14:38:05] <Pyflk> DataObject::get()->filter('Email', $data['Email'])->exists()
848: [14:38:08] <Pyflk> will return true/false
849: [14:38:59] <Liongold> And no Convert is needed?
850: [14:39:48] <Pyflk> Probably not, no.
851: [14:40:05] <Pyflk> No, it's not.
852: [14:40:18] <Liongold> The reason I asked because somewhere else it was used.
853: [14:40:31] <Pyflk> 'somewhere else'
854: [14:43:16] <Liongold> $form->addErrorMessage('Email', 'Sorry, this email address is already being used. ', 'bad'); This is correct right?
855: [14:43:32] <Pyflk> can be, yes.
856: [14:46:49] * spronk2 quit (Quit: spronk2)
857: [14:59:16] * Shrike_Finland has joined #silverstripe
858: [14:59:33] <kinglozzer> Pyflk, Zauberfisch: I'm sure I saw on the forums someone say that they'd managed to compile SilverStripe into an extension...
859: [14:59:59] <Pyflk> lol really?
860: [15:00:01] <Pyflk> lies.
861: [15:00:12] <Pyflk> I do know there is a cms that is an extension.
862: [15:00:19] <Pyflk> and then phalcon is a framework as an extension
863: [15:00:28] <Pyflk> (which actually looks pretty good)
864: [15:01:38] <kinglozzer> http://www.silverstripe.org/hosting-requirements/show/14970#post357999
865: [15:01:42] <ocmnt> is it weekend yet? :o
866: [15:01:57] <Pyflk> nearly!
867: [15:02:04] <Pyflk> well it is for you I guess if you finish at 5pm
868: [15:02:14] <ocmnt> nah 18
869: [15:02:36] <ocmnt> but clients gonne clients (to bring in familiar quite)
870: [15:02:42] <ocmnt> so seems more like 19-ish
871: [15:02:48] <ocmnt> or I say toodeloo and do it somethwhere this weekend
872: [15:03:04] <Pyflk> rofl kinglozzer
873: [15:03:07] <Pyflk> such lies.
874: [15:03:38] <kinglozzer> Pyflk: I wouldn't have a fucking clue if he was lying tbf :P
875: [15:04:05] <kinglozzer> lieing? lying feels weird
876: [15:04:29] <Pyflk> compile a php project into a php extension, sounds like bollocks or they're confused about PEAR phar packaging and what the word 'complie' actually means.
877: [15:05:14] <Pyflk> err, 'compile'
878: [15:05:25] <ocmnt> I can comply with that :p
879: [15:06:44] <Pyflk> http://www.php-compiler.net/blog/2012/php-extension-in-php
880: [15:07:06] <Pyflk> kinglozzer: or they're .net chumptys
881: [15:07:39] * Guest89327 quit (Quit: Guest89327)
882: [15:14:43] <Zauberfisch> Pyflk: quiet OK
883: [15:14:59] <Zauberfisch> kinglozzer Pyflk: nice. i like the php extesion bit, if it is true
884: [15:15:34] <Zauberfisch> but then again, before I get into the hassle of compiling silverstripe to an extesion, I'll give hhvm a shot first
885: [15:15:40] * Shrike_Finland quit (Quit: Leaving.)
886: [15:15:54] <Zauberfisch> I wasn't really thinking about performance when I had the idea of a phar file
887: [15:15:59] <Zauberfisch> more to make it easier
888: [15:16:25] <Zauberfisch> simple deployment, nice for new commers I guess, ...
889: [15:19:47] <Pyflk> Zauberfisch: arguably more setup involved with getting things to run out of a phar though.
890: [15:20:08] <Pyflk> in terms of file paths, inclusions, project dirs, etc.
891: [15:31:18] <kinglozzer> Hmm. $foo->BarID = $bar->ID; $bar->FooID = $foo->ID; $bar->write(); $foo->write(); <<< is there a better way of doing that? Assigning both ends of a has_one
892: [15:31:36] <kinglozzer> Stupid question I guess, there has to be two writes, but wondered if there's a nice ORM way
893: [15:32:03] <Liongold> Thanks Pyflk
894: [15:32:04] <Pyflk> kinglozzer: _maybe_ $this->blahfase()->add($thing) ?
895: [15:32:22] <Pyflk> but probably not, becuase has_one isn't a list.
896: [15:33:01] * jenniferaslan has joined #silverstripe
897: [15:34:49] <kinglozzer> Pyflk: Mmm, ->blahfase() just returns a DataObject so don't think so :(
898: [15:36:17] <Pyflk> kinglozzer: yeh.
899: [15:36:40] <Pyflk> but if there's a dooferRelation() thing (which I'm pretty sure there is) you might be able to
900: [15:37:34] <kinglozzer> Pyflk: getComponent()?
901: [15:39:08] <kinglozzer> Oh wtf
902: [15:39:39] <kinglozzer> I'm doing $obj = new MyDataObject($someData); $obj->write(). No exceptions or errors, but nothing's written -.-.-.-.-
903: [15:40:19] <kinglozzer> var_dump($obj); looks as expected
904: [15:40:41] <Pyflk> kinglozzer: because that's not how you do it anymore.
905: [15:40:50] <Pyflk> You've not changed anythnig, so nothing is written.
906: [15:40:55] <kinglozzer> Pyflk: :|
907: [15:41:06] <kinglozzer> Always used to work ><
908: [15:41:06] <Pyflk> that's like old 2.3 shit or something.
909: [15:41:08] <Pyflk> nah.
910: [15:41:09] <Pyflk> well
911: [15:41:11] <Pyflk> yeah, but nah.
912: [15:41:20] <Pyflk> it's for inflating with defaults (ie from db query)
913: [15:41:33] <kinglozzer> OH SHIT I SEE
914: [15:41:38] <Pyflk> it's BlahThing->set(allthethnigs) or something
915: [15:41:39] <Pyflk> now
916: [15:41:42] <kinglozzer> I'm giving it an ID from the data I import
917: [15:41:50] <kinglozzer> So that's why it thinks nothing changed
918: [15:41:57] <Pyflk> simon w told me so when I tried the same shit last year
919: [15:42:23] <Pyflk> kinglozzer: so yeah, also all the other data isn't affecting the changed array either.
920: [15:42:42] <kinglozzer> $obj->write(false, false, true);
921: [15:43:21] <kinglozzer> Pyflk: Nah for actual new records I think it does work like that
922: [15:43:39] <kinglozzer> http://api.silverstripe.org/3.1/source-class-DataObject.html#1164-1176
923: [15:43:49] <Pyflk> kinglozzer: update()
924: [15:44:10] <Pyflk> http://api.silverstripe.org/3.1/class-DataObject.html#_update
925: [15:44:31] <Pyflk> kinglozzer: yeah for new records of course, because it checks ID before all others
926: [15:44:38] <Pyflk> but if you're setting that... then yeah.#
927: [15:45:19] <Pyflk> but yeh, you want Thing::create()->update($arrayofshit)
928: [15:53:34] <kinglozzer> Pyflk: Yeah seems to work
929: [15:53:42] <kinglozzer> Only issue is they're stored with wrong ClassName
930: [15:53:53] <kinglozzer> They're stored with 'Part' instead of 'Part_Car' :(
931: [15:54:00] <kinglozzer> I'm doing Part_Car::create() ^^
932: [15:54:51] <Pyflk> I guess it doesn't like underscores. that's odd, I'm sure it used to be ok with them
933: [15:56:40] <kinglozzer> Shit. Execution time :P
934: [15:56:50] <kinglozzer> I have quite a few rows...
935: [15:58:06] <Pyflk> duplicate and/or backup database first!
936: [15:58:26] <kinglozzer> Pyflk: Yeah it's fine - I'm importing from a CSV into a dev database
937: [16:02:20] * Timmy has joined #silverstripe
938: [16:02:44] * Timmy is now known as Guest29213
939: [16:02:48] * phillprice has joined #silverstripe
940: [16:04:37] <phillprice> hey if i have a loop through datobjects on a page, how do i get a form for each dataobject? The way of $Link('action') is insecure I need to check the securityID through the form engine? Any ideas?
941: [16:05:57] <Pyflk> what
942: [16:05:57] <Pyflk> the
943: [16:05:59] <Pyflk> hell
944: [16:06:01] <Pyflk> ?
945: [16:06:29] <Pyflk> you want 60 forms on a page?
946: [16:07:43] <Pyflk> the security ID is generated by the form and stored in session. There shouldn't be any issue with $Link((
947: [16:08:43] <kinglozzer> lol, the docs on this page: https://www.cwp.govt.nz/guides/core-technical-documentation/fulltext-search-module/en
948: [16:08:50] <kinglozzer> $page = new Page(array('Content' => 'Help me. My house is on fire. This is less than optimal.'));
949: [16:08:55] <kinglozzer> $query->search('My house is on fire');
950: [16:09:08] <kinglozzer> I bet ss23 wrote those
951: [16:09:42] <Pyflk> hahaha, probably
952: [16:09:47] <phillprice> Yes They don't have any visible fields, just a button, lookign much like the link
953: [16:10:01] <Pyflk> phillprice: just use a link?
954: [16:10:26] <phillprice> No I don't need the link, the link is insecure
955: [16:10:43] <Pyflk> what do you even mean 'insecure'?
956: [16:11:44] <phillprice> someone could get you to a link that says ..../object/delete/1 and it deletes the object
957: [16:12:00] <Pyflk> No, they couldn't.
958: [16:12:13] <kinglozzer> canDelete() ?
959: [16:12:16] <Pyflk> ^
960: [16:12:28] <Pyflk> Permission::check(...)
961: [16:12:33] <muskie9> ^
962: [16:12:39] <phillprice> nope you have access and are logged in
963: [16:12:44] <phillprice> with an open session
964: [16:13:10] <phillprice> and someone nefarious send you to thelink, orgets you to something with the link as an image src
965: [16:13:22] <Pyflk> so what you're telling us is that every user on your site has the ability to delete something, but you want only some of them to be able to delete...?
966: [16:13:27] <phillprice> no
967: [16:15:38] <Pyflk> I don't understand what you want.
968: [16:16:04] <muskie9> phillprice, your /object/delete/1, is that on the frontend or in the cms?
969: [16:16:05] <phillprice> a form from the dataobject somehow - as DOs don't havecontrollers
970: [16:16:10] <phillprice> front end
971: [16:16:23] <Pyflk> why do you want a form from the dataobject?
972: [16:16:54] <phillprice> because there are multiple DOs on the page
973: [16:16:58] <Pyflk> and?
974: [16:17:10] <muskie9> what do you want the form to do?
975: [16:17:45] <muskie9> but you would build a function on the DO that returns a form, then call the function from the loop
976: [16:18:05] <phillprice> its harder to spoof the SecurityID passed witht e form so each DO has a form with the inbuilt SecID and a hidden ID
977: [16:18:29] <Pyflk> phillprice: or you could just check a user's permissions.
978: [16:18:31] <phillprice> the doResult function or whatever does the same as the /delete/x but uss SS's inbuilt SeucirtyID checking
979: [16:18:40] <Pyflk> and use a controller action, like you're supposed to.
980: [16:19:12] <muskie9> $allowed_actions = array('yourDeleteAction' => '->checkIfCanDelete');
981: [16:19:24] <Pyflk> your'e trying to shoe controller logic into a model, that doesn't work well.
982: [16:19:45] <ocmnt> yay! Vacation time
983: [16:19:49] <ocmnt> cheers all
984: [16:19:54] <ocmnt> I'm going home
985: [16:20:02] <ocmnt> uhr
986: [16:20:05] <ocmnt> screw you guys*
987: [16:20:06] <ocmnt> :D
988: [16:20:08] <Pyflk> glhf!
989: [16:20:09] <kinglozzer> phillprice: /maybe/ use one form (on your controller), loop over the DataObjects, create a formaction for each (action_delete_<id>), then preg the ID out from the current action on your handler method?
990: [16:20:19] <Pyflk> ^
991: [16:20:21] <ocmnt> thnx Pyflk
992: [16:20:21] <kinglozzer> Idk if/how that'd work
993: [16:20:23] <Pyflk> sounds like a good idea
994: [16:20:26] <ocmnt> bubye
995: [16:20:48] <phillprice> OK again. You have an active session, all the permissions up to the wazoo for what your doing and i send you a link in an email (or you being someone who doens't know better and boom deleted something
996: [16:21:08] <phillprice> thanks king that sounds better
997: [16:22:07] * veb has joined #silverstripe
998: [16:22:31] * phillprice has left #silverstripe
999: [16:22:40] <Pyflk> phillprice: using a form won't protect against that, only... direct requests to do as such.
1000: [16:22:59] <Pyflk> sounds like a case of retard client with too many permissions all over the place.
1001: [16:24:13] <Pyflk> one could just as easily set and clear a flag in the session instead of using forms up the wazoo.
1002: [16:24:18] <Pyflk> but whatever.
1003: [16:24:20] <Pyflk> he's gone.
1004: [16:24:23] <Pyflk> it's the weekend.
1005: [16:24:25] <Pyflk> fuckers.
1006: [16:24:56] <kinglozzer> Pyflk: indeed
1007: [16:25:19] <kinglozzer> ciao
1008: [16:25:40] * kinglozzer quit ()
1009: [16:25:42] <Pyflk> fuck'n, 500 just before closing time :<
1010: [16:25:44] <Pyflk> rage.
1011: [16:27:01] <veb> hmm 4am
1012: [16:27:10] <veb> i .. forgot to sleep
1013: [16:27:12] <veb> oh well
1014: [16:27:35] * stnvh_ quit ()
1015: [16:28:11] <Pyflk> still time.
1016: [16:28:14] * Pyflk quit ()
1017: [16:29:18] <veb> notime
1018: [16:29:27] <veb> baby wakes up at 7
1019: [16:30:14] * UndefinedOffset quit (Quit: Leaving.)
1020: [16:34:29] * Phillprice has joined #silverstripe
1021: [16:34:57] <Phillprice> ok so this might be what i meed on standard link
1022: [16:35:44] <Phillprice> this might do it
1023: [16:36:04] <Phillprice> SeceurityToken::checkRequest()
1024: [16:36:13] <Phillprice> in srandard link
1025: [16:42:42] * Phillprice quit (Ping timeout: 250 seconds)
1026: [16:44:31] * Liongold has left #silverstripe
1027: [16:45:01] <muskie9> only noon here... still 1/2 day left
1028: [16:45:21] * muskie9 can't wait till 5
1029: [17:07:14] * UndefinedOffset has joined #silverstripe
1030: [17:27:28] * Guest29213 quit (Quit: Guest29213)
1031: [17:41:25] * jenniferaslan quit (Read error: Connection reset by peer)
1032: [17:42:46] * jenniferaslan has joined #silverstripe
1033: [19:05:29] <catcher> muskie9, I hear that
1034: [19:35:55] * UncleCheese has joined #silverstripe
1035: [20:01:28] * azureRaven has joined #silverstripe
1036: [20:10:53] * Timmy has joined #silverstripe
1037: [20:11:16] * Timmy is now known as Guest93636
1038: [20:19:48] * catcher quit (Remote host closed the connection)
1039: [20:20:22] * azureRaven quit (Ping timeout: 260 seconds)
1040: [20:32:21] * UncleCheese quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1041: [20:40:14] * UndefinedOffset quit (Read error: Connection reset by peer)
1042: [20:41:09] * oddnoc has joined #silverstripe
1043: [20:54:35] * anselmdk has joined #silverstripe
1044: [21:17:47] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1045: [21:27:36] * Guest93636 quit (Quit: Guest93636)
1046: [21:33:40] * Timmy has joined #silverstripe
1047: [21:33:55] * Timmy has left #silverstripe
1048: [22:05:52] * anselmdk quit (Read error: Connection reset by peer)
1049: [22:06:17] * anselmdk has joined #silverstripe
1050: [22:06:27] * anselmdk quit (Client Quit)
1051: [22:26:23] * spronk2 has joined #silverstripe
1052: [22:29:28] * babak quit (Quit: Connection closed for inactivity)
1053: [22:46:51] * spronk2 quit (Quit: spronk2)
1054: [23:06:10] * oddnoc quit (Quit: It must be Beer:30!)
1055: [23:11:42] * simon_w has joined #silverstripe
1056: [23:12:14] * mobiusnz has joined #silverstripe
1057: [23:16:56] * spronk2 has joined #silverstripe
1058: [23:18:41] * babak has joined #silverstripe
1059: [23:35:21] * spronk2 quit (Quit: spronk2)
1060: [23:39:45] * UncleCheese has joined #silverstripe
1061: [23:46:28] * caamic30 has joined #silverstripe
1062: [23:50:03] * travis-ci has joined #silverstripe
1063: [23:50:03] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#3011 (3.1 - 441a0c0 : Ingo Schommer): The build is still failing.
1064: [23:50:03] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/94f70a24cbfe...441a0c03f70e
1065: [23:50:03] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/31469319
1066: [23:50:03] * travis-ci has left #silverstripe
1067: [23:56:54] * simon_w quit (Quit: This computer has gone to sleep)
1068: [23:57:32] * jenniferaslan quit (Quit: jenniferaslan has left the room)

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