#silverstripe IRC Log

IRC log for 4 February 2015

All timestamps are in UTC.

1: [00:06:26] * nicolaas has joined #silverstripe
2: [00:06:35] <nicolaas> help! I have a CMS dataobject that I am editing and when it saves it just jumps to the home page... how can that be?
3: [00:08:12] <MichalKleiner> it's broken
4: [00:08:39] <MichalKleiner> homepage of admin or frontend?
5: [00:08:55] <MichalKleiner> any entwine customisations?
6: [00:08:59] <MichalKleiner> routing?
7: [00:11:33] <nicolaas> I have a basic gridfield with a basic dataobject
8: [00:11:46] <nicolaas> when I add one, it just reverts back to the home page...
9: [00:15:09] <Hailwood> nicolaas, Sounds like today is not the day for DataObjects...
10: [00:15:17] <nimeso> Sounds like there is something wrong with your dataobject
11: [00:15:17] <nicolaas> ha ha ha
12: [00:15:19] <nicolaas> agreed
13: [00:15:35] <Hailwood> nicolaas, Maybe post the dataobject so we can have a look?
14: [00:15:36] <nimeso> Have you got a network sniffer/debugger?
15: [00:16:29] <adrexia> wow this is really cool. Might start using it. https://github.com/jonom/silverstripe-betternavigator
16: [00:16:41] <nicolaas> thank you for all your help guys
17: [00:17:51] <nicolaas> nimeso: F12 shows met that the first EditForm returns nothing... and then a second return sends a JSON form
18: [00:18:59] <nicolaas> not sure if you replied to my request for help...
19: [00:19:56] <nimeso> You are using ss3.1+ nicolaas?
20: [00:20:14] <nicolaas> yes
21: [00:20:25] <nicolaas> I will post Object to SS Pastie
22: [00:20:53] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
23: [00:20:58] <Ryan-Toast> Is SS making the new nzta site?
24: [00:21:30] <MichalKleiner> adrexia: thanks for the tip, that looks cool
25: [00:21:43] <nicolaas> ok - just a quick update ... it is NOT related to the Dataobject itself, but the parent gridfield ;-( the source for the gridfield seems to screw it.
26: [00:23:03] <nimeso> ahhh... post the grid field code as well then... even the whole parent opbject code
27: [00:23:07] <adrexia> MichalKleiner, I heard about it a while ago but hadn't gotten around to using it. It works really well. Stays out of the way until you need it, and gives easy access to editing a page in the cms from the frontend
28: [00:23:10] <nimeso> object*
29: [00:24:11] <MichalKleiner> something that Tracy (part of Nette framework ecosystem) does.. absolutely positioned debug panel with useful info
30: [00:24:38] <MichalKleiner> http://tracy.nette.org/en/
31: [00:29:19] <Olliepop> Tracy has the most hideous background image
32: [00:29:25] * mobiusnz has joined #silverstripe
33: [00:33:32] <MichalKleiner> Olliepop: the website or the red screen of death?
34: [00:33:37] <Hailwood> Anyone know why when I click "Export to CSV" in the modeladmin I am getting this: http://i.imgur.com/9qg1YbK.png it seems like it's loading the gridfield for whatever I am trying to export into a page, just by itself
35: [00:35:08] <Olliepop> MichalKleiner just the background image of the website haha
36: [00:35:38] <MichalKleiner> yeah.. I think it's on all Nette fw projects.. not my business haha.. I don't mind it tho
37: [00:37:21] <MichalKleiner> one day I might try to integrate nette templating language (Latte) into SS as I found it powerful when I was using it few years ago.. one day when SS has dependency injection for such things working :-D
38: [00:37:25] <MichalKleiner> lunch time
39: [00:37:30] * MichalKleiner quit (Remote host closed the connection)
40: [00:38:37] * mirrors has joined #silverstripe
41: [00:40:53] * Tanger has joined #silverstripe
42: [00:45:31] <Hailwood> Or, does anyone have any ideas on where to even start debugging this?
43: [00:47:44] <mirrors> I have a SilverStripe website setup where all errors and warnings are sent to my email address. For the last couple of weeks, I am getting a bunch of "mysql too many connections" errors at least once a day.....My guess is that a slow queries is locking out other queries. The site however is not overly complicated
44: [00:47:46] * Olliepop quit (Ping timeout: 246 seconds)
45: [00:47:57] <mirrors> has anyone experience similar problems
46: [00:57:20] <antmas> nimeso: did you solve your translatable issue? I may not be too much help as I've never used that module
47: [00:58:15] <irogue_> mirrors: first things to check are (a) it isn't in dev mode, and (b) you're not using a version that allows public ?flush
48: [00:59:50] * MichalKleiner has joined #silverstripe
49: [01:00:24] <irogue_> other than that, how many is "too many" connections?
50: [01:00:47] * Colin[pi] quit (Ping timeout: 252 seconds)
51: [01:01:33] <mirrors> irogue_: a) the site is in live mode b) I am using 3.1.8
52: [01:01:50] <antmas> I have a super frustrating error
53: [01:01:54] <antmas> with batchactions
54: [01:02:10] <irogue_> mirrors: it isn't a .nz site is it?
55: [01:02:23] <antmas> it works 100% fine until I run an xml import script totally nonrelated to the module and it throws a bad class error :|
56: [01:04:29] <mirrors> irogue_: I am not sure how many connections "too many" is but I assume it is the default amount. The actual error is "[Error] Couldn't connect to MySQL database | Too many connections"
57: [01:04:42] <mirrors> irogue_: no it is a .com
58: [01:05:14] * Colin[pi] has joined #silverstripe
59: [01:05:24] <irogue_> mirrors: ok, cos the whole-of-NZ web harvest has been going on since the 12th jan, so that'll be hammering sites hard. probably not relevant in this case tho
60: [01:08:11] * Motoservo has joined #silverstripe
61: [01:10:05] <MichalKleiner> irogue_: any details bout the harvest or what is dat?
62: [01:10:16] <irogue_> MichalKleiner: http://list.waikato.ac.nz/pipermail/nznog/2014-December/021457.html
63: [01:11:45] <MichalKleiner> cheers
64: [01:11:54] <MichalKleiner> haven't noticed any issues on our sites but good to know
65: [01:21:38] * DimiStripe quit (Quit: DimiStripe)
66: [01:24:08] <antmas> http://www.stuff.co.nz/oddstuff/65762669/hobbit-threat-gets-boy-suspended-from-school
67: [01:26:14] <ss23> tx, not surprising
68: [01:37:15] <antmas> anyone had this crop up before? https://github.com/hamishcampbell/silverstripe-auth-external/issues/20
69: [01:38:15] <ss23> Looks like it doesn't have 3.1 compatibility?
70: [01:38:27] <ss23> Hasn't been touched since 2013...
71: [01:39:19] <antmas> ss23: mmm
72: [01:39:35] <antmas> ss23: that fix works but I wonder, are there alternatives to that module?
73: [01:40:09] <antmas> looks like that might be a no
74: [01:41:29] <ss23> Not sdure sorry :O
75: [01:42:07] <antmas> ss23: np :P
76: [01:42:14] <antmas> it works
77: [01:42:19] <antmas> #shipitanyway
78: [01:42:23] <ss23> :D
79: [01:42:25] <ss23> #shipit
80: [02:00:59] * jenniferaslan quit (Quit: jenniferaslan has left the room)
81: [02:06:21] * stnvh quit (Ping timeout: 250 seconds)
82: [02:12:07] <mobiusnz> hey, is there an easy way to do MyObj::get()->filter(array('Created' => '**last 30 days**')) ?
83: [02:12:33] <Stomach> :GreaterThan
84: [02:12:36] <Stomach> or less than even
85: [02:12:37] <Stomach> lols
86: [02:13:22] <Stomach> $members = Member::get()->filter('MyDate:LessThanOrEqual', date('Y-m-d h:i:s'));
87: [02:13:38] <mobiusnz> ta
88: [02:13:50] <Stomach> but you might need to do a strtotime or something
89: [02:14:09] <Stomach> date('Y-m-d H:i:s', strtotime('-30 days'))
90: [02:15:26] <mobiusnz> LessThanOrEqualFilter" does not exist
91: [02:15:53] <mobiusnz> meh, LessThan should do the trick
92: [02:16:14] * markcl has joined #silverstripe
93: [02:16:47] * Motoservo quit (Remote host closed the connection)
94: [02:17:01] <mobiusnz> also, it does need to be GreaterThan
95: [02:17:03] <mobiusnz> herpderp
96: [02:21:09] <irogue_> mobiusnz: 3.0? 3.1 added LessThanOrEqual/GreaterThanOrEqual
97: [02:21:50] * spronk2 quit (Quit: I may need a longer sleep timer...)
98: [02:23:43] <mobiusnz> irogue_: yeah I think this might be an old site
99: [02:24:42] <mobiusnz> the chance of >= being different to > in this situation is pretty slim when seconds are involved
100: [02:26:54] * Ryan-Toast quit (Quit: Ryan-Toast)
101: [02:28:39] <mobiusnz> is there an easy way to automate emailing SS_Reports?
102: [02:28:41] * irogue_ quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
103: [02:32:13] * spronk2 has joined #silverstripe
104: [02:51:03] * antmas spins slowly
105: [02:52:36] <Hailwood> I seriously cannot work this out... What on earth would cause the gridfield "export" button to rather than generating a csv instead redirect to a page that contains only the gridfield..
106: [02:53:42] * mirrors quit (Quit: Page closed)
107: [02:54:31] <antmas> Hailwood: any errors?
108: [03:05:40] * Hailwood quit (Remote host closed the connection)
109: [03:10:21] * antmas quit (Quit: Page closed)
110: [03:17:47] <adrexia> Hailwood it isn't confusing itself for the print button is it?
111: [03:31:18] * novaweb_ has joined #silverstripe
112: [03:32:38] * wracu has joined #silverstripe
113: [03:33:23] * Stomach quit (Quit: zzz)
114: [03:37:26] * novaweb_ quit (Quit: novaweb_)
115: [03:37:37] * wracu quit (Quit: Leaving)
116: [03:37:55] * wracu has joined #silverstripe
117: [03:44:09] * antmas has joined #silverstripe
118: [03:44:50] <antmas> chch*
119: [03:49:04] * antmas quit (Ping timeout: 246 seconds)
120: [03:50:29] * antmas has joined #silverstripe
121: [03:50:42] <antmas> bah
122: [03:50:46] <antmas> internet having a spazz
123: [03:50:59] <Colin[pi]> typical internet
124: [03:52:38] * ^pH has joined #silverstripe
125: [03:55:01] * antmas quit (Ping timeout: 246 seconds)
126: [04:05:17] * nicolaas quit (Ping timeout: 245 seconds)
127: [04:09:42] * nicolaas has joined #silverstripe
128: [04:11:36] * Scott1702 quit ()
129: [04:11:46] * Scott1702 has joined #silverstripe
130: [04:11:46] * Scott1702 has left #silverstripe
131: [04:17:39] <Tanger> Anybody dealt with Cloudfare before?
132: [04:20:02] * camfindlay has joined #silverstripe
133: [04:20:55] <ss23> Tanger: Sure thang
134: [04:21:06] <ss23> I've dealt with them in a personal capacity and their stuff is great
135: [04:22:01] <camfindlay> question… what term do you usually use for SilverStripe code that has been packaged into reusable feature sets (trying not to use particular words to sway the outcome ;) )?
136: [04:22:02] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
137: [04:22:58] <Tanger> ss23: Oh yeah? So they'd be worth an investment? Our hosting servers have been…shakey at best recently
138: [04:23:34] <Tanger> And a few are incredibly slow, something a CDN could definitely boost. I was wary that their promises were marketing gimmicks...
139: [04:24:40] <ss23> I haven't checked performance stuff properly
140: [04:24:42] <ss23> camfindlay: module
141: [04:24:51] <ss23> Tanger: It's free, play around with it with some free time
142: [04:25:14] <camfindlay> cheers ss23
143: [04:25:35] <spronk2> oh wow
144: [04:25:40] <Tanger> ss23: I think I just may. Thanks dude
145: [04:25:43] <spronk2> yet another transasia atr72 crash
146: [04:25:48] <Tanger> Whoa
147: [04:27:09] <MichalKleiner> camfindlay: yeah, module it is
148: [04:27:12] <spronk2> https://twitter.com/flightradar24/status/562827294159699968
149: [04:28:02] * nicolaas quit (Remote host closed the connection)
150: [04:28:31] <camfindlay> no addons then? :P
151: [04:29:12] <camfindlay> spronk2 woah - that is pretty intense photos, mechanical fail or unknown at this point?
152: [04:29:35] <Tanger> camfindlay: Apparently they hit a bridge
153: [04:30:12] <camfindlay> planes don’t usually hang around near bridges though right? ;)
154: [04:30:33] <spronk2> who knows
155: [04:30:40] <spronk2> oh wow
156: [04:30:42] <spronk2> there's a video
157: [04:30:46] <spronk2> https://www.youtube.com/watch?v=q3iOVtRMwEk&feature=youtu.be
158: [04:31:19] <camfindlay> the gear is up too so unlikely they were on apporach for landing (unless the gear has failed too).
159: [04:33:24] <Colin[pi]> spronk2 camfindlay: I know plane crashes are still statistically quite low but DAMN this last 12 months has really made me enjoy staying on the ground
160: [04:33:33] <spronk2> ya lol
161: [04:34:38] <camfindlay> have there actually been more crashes or are they being reported by media more?
162: [04:34:58] <spronk2> i think 2014 had more crashes than last few years
163: [04:35:07] <spronk2> certainly more lives lost
164: [04:35:15] <camfindlay> *looking forward to spending 11 hours on a flight to Japan soon*
165: [04:36:53] * cloph quit (Ping timeout: 240 seconds)
166: [04:36:53] * glenn-bautista quit (Ping timeout: 244 seconds)
167: [04:36:59] * cloph_away has joined #silverstripe
168: [04:39:00] <MichalKleiner> camfindlay: it's not about the time, it's about the class you get :-D business or first class don't hurt on long flights :-D
169: [04:39:30] <camfindlay> fingers crossed for an upgrade then lol
170: [04:40:17] <MichalKleiner> camfindlay: well addon might be a good term too but I think module got common in terms of silverstripe eco system
171: [04:40:44] <MichalKleiner> have to go now
172: [04:40:50] * MichalKleiner is now known as MichalKleiner|aw
173: [04:40:51] <camfindlay> yeah I’ve been doing a bunch of writing lately and I keep using the terms interchangably a lot
174: [04:40:51] * babak has joined #silverstripe
175: [04:41:14] <MichalKleiner|aw> just put a disclaimer in DOCs :-D
176: [04:41:15] <camfindlay> we get it, people outside the community are probably confused as hell
177: [04:41:31] <ss23> omg
178: [04:41:31] <ss23> help
179: [04:41:32] <camfindlay> haha
180: [04:41:34] <ss23> the pictures are gone
181: [04:41:36] <MichalKleiner|aw> we can introduce plugins too :-D
182: [04:41:43] <camfindlay> packages
183: [04:43:13] * Ryan-Toast has joined #silverstripe
184: [04:43:21] <camfindlay> “the terms module, addon, package, plugins and ss23 are used interchangibly through this documentation to refer to stuff we have put on github and you should probably test, as it works for me sweet as bro”
185: [04:43:41] <camfindlay> :D
186: [04:43:43] <ss23> rofl
187: [04:44:17] * novaweb_ has joined #silverstripe
188: [04:45:08] <camfindlay> anyway, if modules is the more accepted term I’m wondering is we need to longterm change the addons site? or would addons include both modules and themes as an all inclusive term?
189: [04:47:11] * MichalKleiner|aw quit (Ping timeout: 245 seconds)
190: [04:53:09] <spronk2> cname modules.silverstripe and themes.silverstripe
191: [04:56:35] <ss23> I don't think of themes as modules
192: [04:56:38] * Kingy[a] is now known as Kingy
193: [04:57:13] <Kingy> I miss all the fun conversations now :(
194: [04:57:33] <Kingy> hi Colin[pi]
195: [04:57:39] <Kingy> hi ss23
196: [04:59:27] <ss23> hihi
197: [05:00:08] <Kingy> how's NZ
198: [05:00:40] <ss23> Not bad
199: [05:00:41] <ss23> Hot, but windy
200: [05:00:52] <ss23> I'd prefer cold and not windy, but heck, I'll take this over hot and not windy
201: [05:01:26] <ss23> 94km/h gusts
202: [05:02:49] * Ryan-Toast quit (Quit: Ryan-Toast)
203: [05:03:01] * Stomach has joined #silverstripe
204: [05:03:05] <Kingy> sounds about right haha
205: [05:03:10] <Kingy> I don't miss the wind
206: [05:03:20] <Kingy> it's actually cloudy here today though
207: [05:03:22] <Kingy> quite weird
208: [05:03:24] * r_hector has joined #silverstripe
209: [05:04:07] <Kingy> and it got to 27C yesterday
210: [05:04:18] <Kingy> doesn't seem right considering it's the middle of winter
211: [05:04:18] <camfindlay> ss23 a theme could be an addon though right?
212: [05:04:33] <camfindlay> but not a module
213: [05:04:49] <camfindlay> that is, a theme is not a module
214: [05:05:06] <camfindlay> and an addon can be either a module or a theme
215: [05:05:55] <Kingy> camfindlay: I agree with that statement
216: [05:06:19] <camfindlay> just trying to define it better so there is less confussion for new comers (oter than the usual “wft have I got myself into?”) :D
217: [05:06:42] <Kingy> +1
218: [05:06:43] <camfindlay> seems my dyslexia has kicked in today
219: [05:06:45] <camfindlay> lol
220: [05:06:58] <Kingy> SS is going to be taking over Bahrain soon :D
221: [05:07:06] <camfindlay> cheer Kingy
222: [05:07:11] <camfindlay> holla!
223: [05:07:13] <Kingy> Had a chat to a company about doing some web work and they asked if I'd used Joomla
224: [05:07:18] * markcl quit (Read error: Connection reset by peer)
225: [05:07:27] * markcl has joined #silverstripe
226: [05:07:30] <camfindlay> and you said… GTFO
227: [05:07:32] <Kingy> blasphemy
228: [05:07:51] <camfindlay> Doomla
229: [05:08:20] <Kingy> yeah exactly, so I said I'd recommend SS and now we're going to have a chat
230: [05:08:27] <camfindlay> nice one Kingy, pimp the SilverStripe ;)
231: [05:08:41] <Kingy> if it works out it'll be going into Saudi as well
232: [05:09:04] <camfindlay> keep us posted man! :)
233: [05:09:07] <Kingy> now I just have to contact IS and recommend SS for their websites :P
234: [05:09:31] * Stomach quit (Quit: zzz)
235: [05:10:54] <camfindlay> “You are in 'detached HEAD' state” - just reading out my git terminal… nothing to do with the previous statement….
236: [05:11:49] <Kingy> HA!
237: [05:12:37] * Stomach has joined #silverstripe
238: [05:26:11] * Frans_Amsterdam has joined #silverstripe
239: [05:28:04] * Frans_Amsterdam quit (Client Quit)
240: [05:29:29] * Frans_Amsterdam has joined #silverstripe
241: [05:33:59] * Sticks quit (Quit: Leaving)
242: [05:36:54] * Stomach quit (Quit: zzz)
243: [05:39:10] <Colin[pi]> heya Kingy!
244: [05:40:08] <Kingy> how ya going Colin[pi]
245: [05:40:51] <Colin[pi]> Kingy: good good, 2nd design concept out the door in a week
246: [05:40:56] * chillu_23 quit (Quit: chillu_23)
247: [05:41:08] <Colin[pi]> Kingy: need another holiday already :\
248: [05:42:28] <Kingy> haha I know man
249: [05:42:33] <Kingy> about to send an invoice for 198 hours :)
250: [05:42:41] <Colin[pi]> Kingy: dude!!!
251: [05:42:45] <Colin[pi]> that's gotta be a nice figure lol
252: [05:42:46] <Kingy> payyy dayyy
253: [05:42:48] * veb quit (Quit: veb-irc: &)
254: [05:42:54] <Colin[pi]> Kingy gon make it RAIN
255: [05:43:05] <Kingy> Colin[pi]: still waiting to hear if it's taxable as well
256: [05:43:53] * camfindlay quit (Quit: camfindlay)
257: [05:48:07] <Colin[pi]> Kingy: hmm as it's income earned via an NZ company but outside of NZ?
258: [05:48:13] * micmania1 quit (Quit: micmania1)
259: [05:48:16] <Kingy> yeah
260: [05:48:29] * novaweb_ quit (Quit: novaweb_)
261: [05:48:58] * Shrike_Finland has joined #silverstripe
262: [05:51:04] <Colin[pi]> Kingy: pretty sure you'd need to pay tax on it :\
263: [05:51:12] <Kingy> yeah I'm thinking so as well
264: [05:51:12] <Colin[pi]> Kingy: though I hope you don't!
265: [05:51:22] <Kingy> accountant seems to think not though, so we filled out some forms and sent them off
266: [05:51:34] <Kingy> still waiting on IRD though
267: [05:52:26] <Colin[pi]> this is where you need some sort of sweet arse loophole :D
268: [05:58:28] <Kingy> hardout
269: [06:06:19] <Kingy> Colin[pi]: You been seeing the shitstorm of CS:GO lately?
270: [06:06:25] <Kingy> Epsilon has just been banned for a year
271: [06:10:29] * Shrike_Finland quit (Quit: Leaving.)
272: [06:19:29] * Kingy is now known as Kingy[a]
273: [06:19:56] * spronk2 quit (Quit: I may need a longer sleep timer...)
274: [06:26:20] * veb has joined #silverstripe
275: [06:41:07] * nimeso quit (Quit: Page closed)
276: [06:53:44] * Guits has joined #silverstripe
277: [06:57:09] * veb quit (Quit: veb-irc: &)
278: [07:05:40] * veb has joined #silverstripe
279: [07:07:59] * markcl quit (Ping timeout: 252 seconds)
280: [07:12:45] * spronk2 has joined #silverstripe
281: [07:17:41] * zippy has joined #silverstripe
282: [07:18:39] * Liquide quit ()
283: [07:27:21] * darjus01 has joined #silverstripe
284: [07:28:08] * MichalKleiner|aw has joined #silverstripe
285: [07:32:31] * Shrike_Finland has joined #silverstripe
286: [07:33:46] * NETim quit (Ping timeout: 246 seconds)
287: [07:34:02] * spronk2 quit (Quit: I may need a longer sleep timer...)
288: [07:49:49] * Guits quit (Ping timeout: 245 seconds)
289: [08:05:00] * Liquide has joined #silverstripe
290: [08:07:27] * wmk has joined #silverstripe
291: [08:12:20] * Colin[pi] quit (Ping timeout: 244 seconds)
292: [08:16:44] <Eliseth> Morning
293: [08:17:26] <zippy> Morning
294: [08:20:16] * MichalKleiner|aw quit (Remote host closed the connection)
295: [08:26:51] * Err404NotFound quit (Read error: Connection reset by peer)
296: [08:27:03] * Shrike_Finland quit (Read error: Connection reset by peer)
297: [08:27:14] * Shrike_Finland has joined #silverstripe
298: [08:28:02] * Shrike_Finland quit (Client Quit)
299: [08:31:20] * Error404NotFound has joined #silverstripe
300: [08:32:12] * spronk2 has joined #silverstripe
301: [08:34:15] * Shrike_Finland has joined #silverstripe
302: [08:40:21] * jeroenem has joined #silverstripe
303: [08:45:34] <wmk> gmorning (ugt)
304: [08:53:09] * novaweb_ has joined #silverstripe
305: [08:54:28] <zippy> o/
306: [08:57:33] * kinglozzer has joined #silverstripe
307: [08:59:21] * Werner_2_ has joined #silverstripe
308: [08:59:46] * wmk quit (Read error: No route to host)
309: [09:00:49] * Werner_2_ is now known as wmk
310: [09:06:30] * ThePeach has joined #silverstripe
311: [09:07:41] * Guits has joined #silverstripe
312: [09:08:22] * Stomach has joined #silverstripe
313: [09:09:04] * Stomach quit (Client Quit)
314: [09:24:57] <kinglozzer> I get why you can't change typehinting in subclasses in PHP, but why can't you add it if it's not present? e.g function foo($bar)... then in a subclass function foo(SomeClass $bar) :(
315: [09:26:58] <zippy> because the parent has nothing declared so can be anything, and now your limiting it in the subclass
316: [09:29:26] <kinglozzer> zippy: Yeah but, why not? :P
317: [09:30:48] <kinglozzer> I guess it could be to prevent you entirely changing what a method is for... e.g. setFromString($str) ... setFromString(ArrayList $array) or something stupid
318: [09:30:57] * Werner_2_ has joined #silverstripe
319: [09:31:14] <zippy> kinglozzer: just like you can't change the method to have more or less params
320: [09:31:22] * Colin[pi] has joined #silverstripe
321: [09:31:34] * Stomach has joined #silverstripe
322: [09:31:36] * wmk quit (Read error: No route to host)
323: [09:32:01] <kinglozzer> Mm, true
324: [09:32:47] * Werner_2_ is now known as wmk
325: [09:41:40] * travis-ci has joined #silverstripe
326: [09:41:40] <travis-ci> silverstripe/silverstripe-framework#3984 (3.1 - add010e : Loz Calver): The build passed.
327: [09:41:40] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/7923b886528a...add010e38344
328: [09:41:40] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49431024
329: [09:41:40] * travis-ci has left #silverstripe
330: [09:46:55] * novaweb_ quit (Quit: novaweb_)
331: [09:49:09] * Shrike_Finland quit (Quit: Leaving.)
332: [09:52:30] * slievr has joined #silverstripe
333: [09:53:12] <slievr> hello wonderful people of irc
334: [09:55:01] <slievr> I was wondering if the insert media (the one that lets you embed youtube/vimeo links in HtmleditorFields) was a method of tinyMCE or Silverstripe. If it is indeed silverstripe where would I find the docs for this
335: [09:57:16] <kinglozzer> slievr: It's a custom TinyMCE component written for SilverStripe
336: [09:57:47] <kinglozzer> There aren't really any docs for it (it's a combination of HtmlEditorField_Toolbar and Oembed classes), what do you want to do?
337: [09:58:30] <slievr> I was just going to replicate it and didn't see the point of redoing it if silverstripe already had the method
338: [10:01:04] <kinglozzer> Well, all the PHP code should be contained in these two classes: http://api.silverstripe.org/3.1/class-HtmlEditorField_Toolbar.html & http://api.silverstripe.org/3.1/class-Oembed.html
339: [10:01:51] <kinglozzer> It's not going to be easy to replicate that component _exactly_ as it is on the frontend, for example, but all the pieces are there - you'd just need to fit them together differently :)
340: [10:02:42] <slievr> YAY. It's like a code jigsaw. Thanks for all your help.
341: [10:10:07] * veb quit (Quit: veb-irc: &)
342: [10:10:57] <jeroenem> Is GenericEmail.ss loaded in every single email you sent?
343: [10:11:25] <jeroenem> like - can i add my header / footer and default markup to it and will it be loaded within a new email template i create?
344: [10:15:24] <zippy> jeroenem: you can set your own email template, and do that
345: [10:16:14] <zippy> ->setTemplate('Foo')
346: [10:16:20] <jeroenem> i know
347: [10:16:28] <zippy> you can also do includes in it I think..
348: [10:16:36] <zippy> so you could do include header / footer
349: [10:16:57] <jeroenem> Would be awesome if it worked like the root Page.ss and the Page.ss in the layout file - for email templates
350: [10:18:02] <zippy> In your email template just do <% include EmailHeader %> and footer
351: [10:20:51] * qlex has joined #silverstripe
352: [10:21:02] * qlex has left #silverstripe
353: [10:22:31] * Colin[pi] quit (Ping timeout: 252 seconds)
354: [10:23:35] <Eliseth> I'm looking for a person who has Silverstripe running on Heroku... I was told someone did it. Anyone with tips? :D
355: [10:24:13] <wmk> heroku - some kind of running sushi?
356: [10:25:28] <Eliseth> http://heroku.com/home
357: [10:26:17] <wmk> though a silver stripe running on a sushi train would be awsome
358: [10:26:17] * Stomach quit (Quit: zzz)
359: [10:26:38] * UncleCheese has joined #silverstripe
360: [10:27:13] * spronk2 quit (Read error: Connection reset by peer)
361: [10:29:33] * benjhocking has joined #silverstripe
362: [10:36:41] * Shrike_Finland has joined #silverstripe
363: [10:36:50] * Pytktzk has joined #silverstripe
364: [10:41:43] <jeroenem> wmk: ahh stop it, you make me hungry :<
365: [10:42:13] <wmk> jeroenem, train stopped
366: [10:43:12] <Eliseth> Anyone with experience in using similar services for hosting SS? (heroku, openshift, etc). How should assets be handled? All these cloud applications only rely on temporary storage etc?
367: [10:43:18] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
368: [10:43:56] <wmk> Eliseth, maybe with something like S3 assets right now
369: [10:45:33] * r_hector quit (Quit: Leaving.)
370: [10:46:17] * markcl has joined #silverstripe
371: [10:47:39] <UncleCheese> problem with cloud storage is you lose out on all the GD functions
372: [10:48:44] <jeroenem> yay
373: [10:50:07] <jeroenem> There are 2 emailtemplates for password recovery: ForgotPasswordEmail.ss - this one is sent when a user submits the form to request the password reset link and there is a ChangePasswordEmail.ss - this is some sort of verification email to let the user know the password has been changed
374: [10:50:42] <jeroenem> after changing the password, the ChangePasswordEmail.ss isn't being sent to the user by default. Is there a way to let the system send that email?
375: [10:50:50] <Pytktzk> jeroenem: is there no third one for changing a password after receiving a temporary one?
376: [10:51:27] <jeroenem> Pytktzk: not as far as i can see in the framework/templates/email folder
377: [10:51:34] <Pytktzk> ChangePasswordEmail sounds more like it gets sent with 'you asked to reset' not 'you dun gone changed it'
378: [10:51:56] <elgabbu> anybody knows the equivalent of Config::set in 3.1 ?
379: [10:52:09] <Pytktzk> elgabbu: Config::what?
380: [10:52:19] <wmk> Config::inst()->set() ?
381: [10:52:29] <Pytktzk> so pretty much still Config::set
382: [10:52:36] <jeroenem> Pytktzk: email text shows "You changed your password for [URL] " "You can now use the following credentials to log in:" "$Email & $CleartextPassword"
383: [10:52:46] <Pytktzk> jeroenem: oh yeh.
384: [10:52:51] <jeroenem> i'm getting rid of the CleartextPassword though, i dont like that one :/
385: [10:53:04] <Pytktzk> well, what should it be/
386: [10:53:15] <wmk> cleartext pw??? jeroenem ???
387: [10:53:20] <Pytktzk> if someone can't read their new password, how the hell do they put it in?
388: [10:53:49] <Pytktzk> I'm not aware of a password reset on earth that doesn't display the temporary reset password.
389: [10:54:07] <wmk> Pytktzk, normally you get a hash link where you can type in the new pw
390: [10:54:14] <Pytktzk> "You have chosen to reset your password. So we did. Now you have to guess what it is."
391: [10:54:15] * Shrike_Finland quit (Read error: Connection reset by peer)
392: [10:54:21] <jeroenem> why would you want the display their password in an email :/ i never like it when a systems sends me an email containing my personal password
393: [10:54:47] <Pytktzk> jeroenem: it's not YOUR password!
394: [10:54:57] <Pytktzk> it's a reset one
395: [10:54:59] <jeroenem> Pytktzk: its not an auto generated password, its the password you inserted on a form the reset it to
396: [10:55:07] <Pytktzk> o.0
397: [10:55:10] <Pytktzk> since when?
398: [10:55:14] <wmk> elgabbu, http://doc.silverstripe.org/en/developer_guides/configuration/configuration/#accessing-and-setting-configuration-properties
399: [10:55:18] <elgabbu> Config::inst()->set( ..... Call to undefined method Config::set()
400: [10:55:24] <wmk> Config::inst()->update('MyClass', 'option_one', true);
401: [10:55:38] <wmk> RTSSM
402: [10:55:48] <Pytktzk> Config::set('class', 'thing', 'value')
403: [10:55:49] <Pytktzk> iirc
404: [10:56:08] <Pytktzk> but 'undefined Config;:set' means someone tried Config->set
405: [10:56:17] <wmk> Pytktzk, not set, update
406: [10:56:18] <Pytktzk> generally
407: [10:56:26] <jeroenem> I dunno, if it IS an auto generated password, i havent seen such an option before in SS
408: [10:56:26] <Pytktzk> wmk: yeh.
409: [10:56:30] * markcl quit (Quit: Leaving.)
410: [10:56:32] <jeroenem> https://github.com/silverstripe/silverstripe-framework/blob/3.1/templates/email/ChangePasswordEmail.ss
411: [11:02:17] <Pytktzk> jeroenem: emails are not sent in dev/test mode
412: [11:02:23] <Pytktzk> for a start
413: [11:02:35] <Pytktzk> secondly, I cannot see ClearTextPassword being set anywhere.
414: [11:02:39] <jeroenem> Pytktzk: https://github.com/silverstripe/silverstripe-framework/blob/3.1/security/Member.php#L1665
415: [11:03:07] <Pytktzk> yes, and it has no Cleartextpassword property, does it?
416: [11:03:26] <jeroenem> Pytktzk: I don't really understand WHEN that ChangePasswordEmail email is sent
417: [11:03:38] <Pytktzk> https://github.com/silverstripe/silverstripe-framework/blob/220bdf342c64baa52e42a54fb8603e33d179935b/security/Member.php#L838
418: [11:04:00] <jeroenem> Well the CleartextPassword property isn't something i've added, it's in the default template https://github.com/silverstripe/silverstripe-framework/blob/3.1/templates/email/ChangePasswordEmail.ss
419: [11:04:13] <Pytktzk> well I'd suggest testing it.
420: [11:05:08] <Pytktzk> Member has no CleartextPassword property, and that is what the template populates with.
421: [11:05:47] <jeroenem> i'm doing right now, but what i was wondering is if the ChangePasswordEmail is some sort of a confirmation email in the change password process - but i guess it aint
422: [11:07:28] <Pytktzk> I guess it's supposed to be. But more to the point, I believe it to simply be severe code rot: https://github.com/silverstripe/silverstripe-framework/blob/2.2/templates/email/ChangePasswordEmail.ss
423: [11:07:38] <Pytktzk> note "2.2"
424: [11:08:14] <Pytktzk> https://github.com/silverstripe/silverstripe-framework/blob/2.1/templates/email/ForgotPasswordEmail.ss
425: [11:08:17] <Pytktzk> 2.1
426: [11:09:09] <Pytktzk> I would suggest updating that template to be a simple "someone changed your password ow" and PR'n it.
427: [11:09:27] <elgabbu> thanks wmk
428: [11:11:57] <wmk> elgabbu, yo
429: [11:12:13] <darjus01> hi all, how to check if SS puts user data into session?
430: [11:15:35] * NETim has joined #silverstripe
431: [11:16:02] <NETim> Morning, any idea why OBJ->renderWith is looking in the wrong theme?
432: [11:17:01] <kinglozzer> NETim: I think it uses the SSVIewer: theme: 'name' config option
433: [11:17:02] <jeroenem> Pytktzk: yes i think you're right on the code rot :/
434: [11:18:39] * Guits quit (Ping timeout: 246 seconds)
435: [11:18:51] <NETim> kinglozzer, It's set to the correct theme, but for some reason it keeps trying to use 'simple'
436: [11:18:57] <NETim> which doesn't even exist...
437: [11:19:06] <kinglozzer> NETim: Is it set in the CMS settings section too?
438: [11:19:25] <NETim> yep
439: [11:19:26] <kinglozzer> It might also need SSViewer: current_theme set, I can never remember the actual difference between the two ><
440: [11:19:59] <NETim> seems like some bright spark has been messing with the yml files.
441: [11:20:05] <kinglozzer> :P
442: [11:20:46] <NETim> Closer, now it can't find the template within the correct theme.
443: [11:21:00] <NETim> Where in the template structure does renderwith look?
444: [11:21:05] <wmk> darjus01, http://api.silverstripe.org/3.1/class-Controller.html#_getSession and http://api.silverstripe.org/3.1/class-Session.html
445: [11:22:29] <darjus01> yes i know it gives object, I whant to see that is in that object if is any user data
446: [11:24:47] <Pytktzk> NETim: because you set the theme using the CMS
447: [11:24:54] <Pytktzk> protip: never do that.
448: [11:25:27] <NETim> Ok, pray enlighten me as to how one should go about setting the theme?
449: [11:25:34] <Pytktzk> might be different these days I guess, but it used to just lead to a wealth of sneaky issues like this.
450: [11:25:40] <Pytktzk> NETim: properly!
451: [11:26:01] <Pytktzk> SSViewer:
452: [11:26:02] <NETim> well, shit. I would never have guessed.
453: [11:26:10] <Pytktzk> theme: yourthemenamehere
454: [11:26:22] * wmk quit (Ping timeout: 255 seconds)
455: [11:26:25] <NETim> So, why is there an option to set the theme in the CMS if it is wrong to do so?
456: [11:26:26] <Pytktzk> NETim: Don't worry, that's why I'm here.
457: [11:26:34] <Pytktzk> NETim: it's not wrong.
458: [11:26:54] <Pytktzk> [11:25] <Pytktzk> might be different these days I guess, but it used to just lead to a wealth of sneaky issues like this.
459: [11:27:02] <Pytktzk> It works... until it doesn't.
460: [11:27:15] <NETim> well, here it doesn't
461: [11:27:21] <Pytktzk> but with the improvements 3.1 and such have brought along, may no longer be an issue.
462: [11:28:06] <Pytktzk> but for instance, used to be that sub themes like Simple_blog for example, wouldn't work if you'd only set the theme in the cms.
463: [11:28:19] <Pytktzk> and other little sneaky shits like that.
464: [11:28:37] <Pytktzk> there were a number of things I found, but I never kept track of them.
465: [11:28:43] <darjus01> like function afterWrite, is any function afterLogin?
466: [11:28:58] <Pytktzk> now SSViewer finally relies purely on Config class, like I said, may no longer be an issue (hopefully!)
467: [11:29:07] <Pytktzk> darjus01: nope
468: [11:29:16] <NETim> hm...
469: [11:29:23] <darjus01> thx
470: [11:29:35] <NETim> Well, I've got it looking in the correct theme now, but it still can't find the file...
471: [11:31:15] <Pytktzk> darjus01: there's an onBeforeSecurityLogin hook though.
472: [11:31:21] <Pytktzk> but seems like not one afterwards :<
473: [11:31:30] <Pytktzk> NETim: flush
474: [11:31:45] <Pytktzk> gotta flush to find new files.
475: [11:31:57] <Pytktzk> only existing ones (in manifest or whatever) get auto updated
476: [11:32:14] <darjus01> Pytktzk: thx a lot
477: [11:32:17] <Pytktzk> man flushing has become more and more ambiguious over the years too :<
478: [11:32:44] <Pytktzk> darjus01: https://github.com/silverstripe/silverstripe-framework/blob/3.1/security/Security.php#L391
479: [11:32:58] <Pytktzk> this is where the Extension class comes in :)
480: [11:33:00] <kinglozzer> Pytktzk: dev/build now does everything, except call Flushable implementors (so doesn't flush translations)
481: [11:33:04] <kinglozzer> That caught me this morning ><
482: [11:33:17] <Pytktzk> kinglozzer: yeah, see, that kinda annoys me a bit
483: [11:33:51] <Pytktzk> dev/build used to be db/build, specifically built the database only (and flushed autoloader 'coz need to find & read classes)
484: [11:33:56] <kinglozzer> dev/build should be just that: build the db, but that has a dependency on flushing the manifest
485: [11:33:59] <Pytktzk> where ?flush was purely template related
486: [11:34:01] <kinglozzer> ^^
487: [11:34:25] <Pytktzk> but then ?flush wasn't needed in 2.4 if you were updating main/Layout templates
488: [11:34:34] <Pytktzk> only needed it when Includes
489: [11:34:40] <Pytktzk> changed, or you added files.
490: [11:35:18] <Pytktzk> now you don't need flush for templates at all.
491: [11:35:39] <Pytktzk> unless you add (or remove!) files.
492: [11:35:52] <Pytktzk> but dev/build does that too
493: [11:36:08] <Pytktzk> so... ?flush basically does dev/build only without database building.
494: [11:36:18] <Pytktzk> meaning the overlap is HUGE
495: [11:36:28] <kinglozzer> Yep, plus force image resampling and regenerate combined files
496: [11:36:33] <kinglozzer> Oh and translations
497: [11:36:41] <Pytktzk> kinglozzer: make an rfc for renaming dev/build to dev/go
498: [11:37:06] <Pytktzk> kinglozzer: yeah, but which one does those two things?
499: [11:37:07] <Pytktzk> idek.
500: [11:37:41] <kinglozzer> flush also flushes the template cache (possibly twice, might be worth investigating that to be sure) and partial cache blocks
501: [11:37:51] <Pytktzk> but build doesn't?
502: [11:38:03] <kinglozzer> Pytktzk: build flushes template cache, but not partial cache
503: [11:38:07] <kinglozzer> :P
504: [11:38:20] <kinglozzer> It really needs tidying up
505: [11:38:21] <Pytktzk> so flush does everythnig build does except database structure, but also rebuilds images, and partial caches.
506: [11:38:29] <Pytktzk> and translations
507: [11:38:31] <kinglozzer> I might write something up on the dev list soon
508: [11:38:41] <kinglozzer> Yeah ^^ I think that's everything covered
509: [11:39:02] <Pytktzk> so build does everything except images, translations & caches.
510: [11:39:17] <Pytktzk> as in, manifest now also expands to include ss files
511: [11:39:20] <Pytktzk> pretty much.
512: [11:39:35] <Pytktzk> dev/refresh
513: [11:39:40] <Pytktzk> dev/refresh/all
514: [11:40:26] <Pytktzk> so, if flush didn't do (image) cache & translations... that's basically a the minimum level one can go?
515: [11:40:37] <Pytktzk> no db, no images, no cache, no translations
516: [11:41:05] <Pytktzk> dev/refresh?withdb
517: [11:41:10] <Pytktzk> idk, something like that
518: [11:41:28] <Pytktzk> fuck'n... just define a site in yml and dev/domyjobforme
519: [11:41:43] <Pytktzk> err, yml<>uml
520: [11:43:54] <kinglozzer> class CheckboxSetField extends OptionsetField
521: [11:44:00] <kinglozzer> HNNGG that annoys me
522: [11:44:05] <kinglozzer> (s)
523: [11:44:06] <Pytktzk> ?
524: [11:44:14] <kinglozzer> capitalisation
525: [11:44:21] <Pytktzk> oh
526: [11:44:41] <Pytktzk> php doesn't care. It's the honeybadger when it comes to class capitalisation
527: [11:44:43] <kinglozzer> Doesn't matter in PHP, so I can fix it in my code :P
528: [11:44:55] <kinglozzer> Same for methods, right?
529: [11:47:20] <Pytktzk> mmm
530: [11:53:55] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
531: [11:55:44] * Tanger quit (Quit: Tanger)
532: [12:00:01] <darjus01> in SS is we doint $has_many_many in object, in other object we must do $belong_many_many?
533: [12:03:02] <kinglozzer> darjus01: I don't think you absolutely *have* to, but it's a good idea
534: [12:04:48] <kinglozzer> E.g. categories -> many_many -> products products -> belongs_many_many -> categories. If you just do many_many, you can do $category->Products(), but you can't do $product->Categories() unless you also add belongs_many_many
535: [12:05:56] <darjus01> ok thx for superb ansver
536: [12:19:30] <Pytktzk> darjus01: the only type you _need_ to specify the reverse on, is has_many
537: [12:20:20] <Pytktzk> this is because it's many:1, so the relation is actually stored on the related object as a has_one. If you don't do this then your 'related' objects will be every object of that type (not ideal).
538: [12:20:56] * [Fate] quit (*.net *.split)
539: [12:20:56] * FrozenFire quit (*.net *.split)
540: [12:21:16] <Pytktzk> has_one and many_many do not need the reverse of the relation to be set, however it is always a good idea (for reasons kinglozzer has already said)
541: [12:21:18] * FrozenFire has joined #silverstripe
542: [12:21:59] * [Fate] has joined #silverstripe
543: [12:22:14] <Pytktzk> has_one can be belongs_to (1:1) or has_many (1:m), where many_many's reverse is always belongs_many_many
544: [12:46:51] * ss23 quit (Ping timeout: 265 seconds)
545: [12:52:54] * jcwacky has joined #silverstripe
546: [12:53:55] * ss23 has joined #silverstripe
547: [12:57:16] <jcwacky> What’s the best way to disable logins on a SilverStripe site? I’d like to avoid users logging in during the migration of my site to a new server.
548: [12:59:45] <Pytktzk> disabled flag?
549: [12:59:58] * NETim quit (Ping timeout: 246 seconds)
550: [13:01:06] <Pytktzk> https://github.com/silverstripe/silverstripe-framework/blob/3.1/security/Member.php#L49
551: [13:01:08] <Pytktzk> maybe? idk.
552: [13:01:35] <Pytktzk> perhaps a route to security/login to make it go somewhere else.
553: [13:02:03] <Pytktzk> maybe a new template to load instead of the login form?
554: [13:02:11] <Pytktzk> the are a number of approaches jcwacky
555: [13:03:59] <jcwacky> Ah cool. Thanks.
556: [13:04:23] <jcwacky> And if I just wipe all the Members “AutoLoginHash” then all members will be logged out?
557: [13:27:18] * Shrike_Finland has joined #silverstripe
558: [13:27:42] * Shrike_Finland1 has joined #silverstripe
559: [13:28:50] * UndefinedOffset has joined #silverstripe
560: [13:31:32] * Shrike_Finland quit (Ping timeout: 245 seconds)
561: [13:34:57] * DimiStripe has joined #silverstripe
562: [13:57:02] <Pytktzk> not sure jcwacky
563: [13:57:23] <Pytktzk> login is coupled with session, but not sure how.
564: [13:57:51] <jcwacky> It’s ok. Worked it out. Shall jsut put “Session::clear_all();” in Page init.
565: [13:58:11] <Pytktzk> heheeh
566: [13:58:44] <Pytktzk> Might need a bit more than that jcwacky - not sure if that demolishes the actual session itself or not.
567: [13:59:01] <jcwacky> Hmm, it seemed to work in testing.
568: [13:59:10] <Pytktzk> cool
569: [13:59:13] * Pytktzk shrugs
570: [13:59:32] <Pytktzk> I always went with "tell the client not to, then when the do it's their fault."
571: [13:59:43] <Pytktzk> but it was generally 1 maybe 2 maintainers sorta setup.
572: [14:01:01] <Pytktzk> also as most folk know, 90% of clients don't actually update anything anyway, so I tended to have a good idea of who to let know. The rest it was sorta 'do it fast and hope'
573: [14:01:04] <Pytktzk> hehe
574: [14:01:05] <jcwacky> Yeh, this site has frontend users as well as CMS.
575: [14:01:14] <Pytktzk> ah yeh
576: [14:01:38] <jcwacky> Normally I don’t bother! But I make sure the TTL is at 60 secs.
577: [14:01:55] <Pytktzk> That's true, userforms were sometimes affected. but usually not so much. There was always the risk during DNS propagation
578: [14:02:30] <Pytktzk> So long as the client understood then that was ok. And I could always manually check the old install before removing it
579: [14:02:47] <Pytktzk> living by the seat of one's pants!
580: [14:10:38] * ThePeach quit (Remote host closed the connection)
581: [14:10:53] * ThePeach has joined #silverstripe
582: [14:16:52] * Guits has joined #silverstripe
583: [14:22:23] * wmk has joined #silverstripe
584: [14:31:13] * _hschillig has joined #silverstripe
585: [14:31:59] <_hschillig> I'm trying to get this routing to work. Here is what I have so far: http://pastebin.com/du8HVGV8 When I navigate to /user/education/add, it finds that education one perfectly fine, but when I go to /user/employment/add, it says Page not found. Any idea? They are setup the same and I don't see why one of them works and the other doesn't.
586: [14:32:39] * Shrike_Finland1 quit (Quit: Leaving.)
587: [14:37:20] <_hschillig> I even did the public function init() in the controller and did a die and its not even hitting that so its not even hitting the controller I dont think.
588: [14:39:33] <jcwacky> _hschillig: If you swap around the 2 rules in routes.yml (so the education one is first) does the education one stop working and the employment one begin to work? This will help narrow it down.
589: [14:42:43] * NETim has joined #silverstripe
590: [14:43:23] <_hschillig> No that's how I initially had it so I went to test it the other way around and it still wouldn't work. Only the education one works. I checked the spelling and everything.
591: [14:44:18] * catcher has joined #silverstripe
592: [14:57:34] * NETim quit (Ping timeout: 246 seconds)
593: [14:58:30] * DimiStripe quit (Quit: DimiStripe)
594: [14:58:52] * DimiStripe has joined #silverstripe
595: [15:05:41] * muskie9 has joined #silverstripe
596: [15:06:40] * darjus01 quit (Ping timeout: 246 seconds)
597: [15:11:55] * Shrike_Finland has joined #silverstripe
598: [15:27:49] * Otterpocket has joined #silverstripe
599: [15:39:28] <_hschillig> Can somebody help me out : http://www.silverstripe.org/community/forums/general-questions/show/100638
600: [15:42:51] <kinglozzer> _hschillig: You might need to do a 'user/$Type': 'User_Controller' route, then in your User_Controller delegate to request to the appropriate controller based on the $Type parameter (I'm not 100% sure though, I haven't done any complex routing before)
601: [15:44:00] * Shrike_Finland1 has joined #silverstripe
602: [15:44:00] * Shrike_Finland quit (Read error: Connection reset by peer)
603: [15:47:39] <_hschillig> That seems extremely silly... this is basic routing, not complex. I've never seen it have to be done like that before.
604: [15:53:20] <catcher> _hschillig, decoupling of framework & CMS is relatively new, so the routing API is a bit of an afterthought atm. I imagine it'll improve in 3.2.
605: [15:56:24] <kinglozzer> _hschillig: Like I said I'm not 100% sure, I'm just guessing from how /dev works - everything dev/anything is routed to the DevelopmentAdmin controller, which then runs a runRegisteredController() method to create the correct "sub" controller.
606: [15:56:26] <catcher> or maybe 4.0, depending on how/when semver goes down.
607: [15:57:00] <kinglozzer> It's pretty simple code, just a bit annoying you can't do it directly in the routes like you want :(
608: [15:57:11] * scpi has joined #silverstripe
609: [15:58:41] <Pytktzk> _hschillig: why Page_Controller?
610: [15:59:06] * scpi quit (Client Quit)
611: [16:00:19] <Pytktzk> and the page loads if you don't specify an action?
612: [16:00:40] * scpi has joined #silverstripe
613: [16:00:52] <_hschillig> it doesnt matter if its not page controller or not. ignore that part.
614: [16:00:57] <Pytktzk> try user/education//$Action/$ID/$OtherID: UserEducation_Controller
615: [16:01:01] <_hschillig> somebody already brought that up over and over again. i just never changed it
616: [16:01:27] <Pytktzk> _hschillig: yeah it won't make any difference, I just wondered if there was some reason you opted for Page Controller
617: [16:01:53] <_hschillig> Pyt that doesn't make a difference. Stll says page not found.
618: [16:02:39] * scpi quit (Remote host closed the connection)
619: [16:03:54] * Frans_Amsterdam quit (Quit: Textual IRC Client: www.textualapp.com)
620: [16:04:05] * scpi has joined #silverstripe
621: [16:04:25] <Pytktzk> _hschillig: you remembered to flush yeah?
622: [16:10:07] * openbees has joined #silverstripe
623: [16:23:21] <_hschillig> Yeah I did flush... I'm trying to do what King suggested...
624: [16:28:41] <Pytktzk> kinglozzer: you naughty boy! http://www.silverstripe.org/community/forums/general-questions/show/100236
625: [16:28:43] <Pytktzk> wtf 3.2
626: [16:29:19] <Pytktzk> SEVERE backwards compatiblity breakage. 3.2, I don't think so bub.
627: [16:30:07] * Shrike_Finland1 quit (Quit: Leaving.)
628: [16:30:36] <kinglozzer> Pytktzk: It's been broken out of the CMS module, provided it's packaged in with the zip it should be fine?
629: [16:30:42] <kinglozzer> (composer will pull it in too ofc)
630: [16:31:26] <Pytktzk> nope, it's been removed from core.
631: [16:31:30] <Pytktzk> that's 4.0 buddy.
632: [16:32:23] <kinglozzer> It was done a few months prior to semver anyway, I'll raise it
633: [16:32:47] <kinglozzer> nudge PigeonFriend
634: [16:33:20] <Pytktzk> like he said yesterday, you're either semver or you're not. There's no room for "semver-ish"
635: [16:33:42] <Pytktzk> Oh yeah, I'm coming to London tomorrow.
636: [16:34:13] <Pytktzk> You could meet me in fabulous high definition 3d!
637: [16:35:38] <Pytktzk> LOL WTF http://www.silverstripe.org/community/forums/general-questions/show/14953?start=8
638: [16:35:43] <Pytktzk> how not to forum: ^
639: [16:37:25] <Pytktzk> (see last post, refer timestamp to that of the post preceeding it)
640: [16:37:49] <Pytktzk> to a bug that was fixed over 2 years before even joining forum.
641: [16:37:52] <kinglozzer> Pytktzk: Pfft, it's only a 3 year gap
642: [16:37:52] <kinglozzer> :P
643: [16:37:53] * jeroenem quit (Quit: Page closed)
644: [16:38:43] <Pytktzk> kinglozzer: yeah, but not even new info. Hasn't even been an issue. Unless chap has OLD website, there's no reason for that post at all.
645: [16:38:49] <_hschillig> Is there anyway in Silverstripe to check if a controller exists?
646: [16:39:04] <kinglozzer> _hschillig: class_exists($controllername) ?
647: [16:40:04] <_hschillig> will that go through all sub directories and everything? I didn't know if that only checked in the current directory or whatever. Since that's a PHP function right?
648: [16:41:05] * jenniferaslan has joined #silverstripe
649: [16:42:22] <kinglozzer> _hschillig: That'll check through every class that has been autoloaded (so every class in the manifest), so yes - it'll check every file
650: [16:43:26] <Pytktzk> _hschillig: SS uses an autoloader, it doesn't matter where you stick your files, so long as they're under the SS root.
651: [16:43:59] * GioVdK has joined #silverstripe
652: [16:45:12] <GioVdK> Hello, could you guys help me verify a bug I just submitted? I'm not in my best shape today :P (plus looks odd to me that it could have gone unnoticed)
653: [16:45:15] <GioVdK> https://github.com/silverstripe/silverstripe-framework/issues/3850
654: [16:46:07] <kinglozzer> GioVdK: Just looking at it now, I think you're right
655: [16:46:27] <_hschillig> Ah ok thanks for the explanation!
656: [16:46:44] <openbees> Any module suggestions for storing assets to AWS S3 ?
657: [16:47:07] <kinglozzer> openbees: https://github.com/silverstripe-australia/silverstripe-s3cdn
658: [16:47:15] <GioVdK> thanks kinglozzer
659: [16:48:46] <openbees> kinglozzer : and will it write directly to S3 or local storage first ?
660: [16:50:53] <kinglozzer> openbees: Sorry, I don't know
661: [16:51:26] <openbees> kinglozzer : ok thanks :)
662: [16:54:40] <GioVdK> (updated the issue with the link at the code)
663: [16:55:00] * lawrencehowlett has joined #silverstripe
664: [16:56:33] <lawrencehowlett> hi - has anyone used https://git.simon.geek.nz/91-carriage/silverstripe-encryptedFields/tree/master
665: [16:56:36] <lawrencehowlett> encryted fields
666: [16:56:44] * noname__ has joined #silverstripe
667: [16:56:47] <lawrencehowlett> i cant seem to find a compatable PHP Sec Library
668: [16:57:07] <_hschillig> Is there anyway to get the dirParts property of the request object? it onyl allows me to get the vars and the params...
669: [16:58:02] <muskie9> lawrencehowlett, looks like 0.3.x https://packagist.org/packages/phpseclib/phpseclib based on his composer.json
670: [16:58:28] <catcher> _hschillig, http://api.silverstripe.org/3.1/class-SS_HTTPRequest.html#$dirParts
671: [16:58:57] <lawrencehowlett> is using composer will it grab that for me too?
672: [16:59:14] <noname__> How can i upload multiple images?
673: [16:59:44] <_hschillig> It's protected so I can't access it through $request->dirParts... and they dont' seem to have a method to grab them.
674: [16:59:47] <muskie9> lawrencehowlett ya, I think so
675: [17:00:00] <lawrencehowlett> best learn how to use composer then :)
676: [17:00:23] <catcher> noname__, https://github.com/colymba/GridFieldBulkEditingTools
677: [17:02:18] <catcher> _hschillig, do you need the unparsed parts?
678: [17:03:15] <_hschillig> The dirParts contains array('education', 'add').. I need to grab the second item.. that's the method I need to call on my controller.
679: [17:05:56] <lawrencehowlett> muskie9: have you used it before? Encrytfields?
680: [17:06:18] <muskie9> no
681: [17:06:27] <muskie9> was just going to check it out
682: [17:06:54] <lawrencehowlett> let me know how you get on - i cant seem to get the phpsec lib to work
683: [17:07:04] <lawrencehowlett> just keeps saying.. Fatal error: Class 'Crypto' not found in /var/www/intranet.newedge/encryptedFields/code/EncryptedText.php on line 78
684: [17:07:38] <lawrencehowlett> Sorry... Fatal error: Class 'Crypt_AES' not found in /var/www/intranet.newedge/encryptedFields/code/EncryptedText.php on line 78
685: [17:08:35] * NETim has joined #silverstripe
686: [17:08:37] * NETim quit (Client Quit)
687: [17:08:53] * NETim has joined #silverstripe
688: [17:12:47] * Shrike_Finland has joined #silverstripe
689: [17:14:39] * openbees quit (Quit: Leaving)
690: [17:15:51] <_hschillig> https://github.com/webbuilders-group/silverstripe-translatablerouting would this module do what i want it to do with the user/employment and user/education routing?
691: [17:16:31] * noname__ quit (Ping timeout: 246 seconds)
692: [17:17:37] * Shrike_Finland quit (Client Quit)
693: [17:19:04] * Otterpocket quit (Quit: Otterpocket)
694: [17:19:23] * wmk quit (Ping timeout: 250 seconds)
695: [17:25:26] <kinglozzer> Pytktzk: "How not to forum": this guy wins http://www.silverstripe.org/community/forums/form-questions/show/100235
696: [17:30:58] <Pytktzk> kinglozzer: yeah he's spammed at the end of another thread about teh same thing. Pasted in code, ref number and all, lol
697: [17:31:08] <Pytktzk> well 'same thing' - not really.
698: [17:31:14] <Pytktzk> anyway, hoilday time
699: [17:31:15] * Pytktzk quit ()
700: [17:31:40] * kinglozzer quit ()
701: [17:35:17] * travis-ci has joined #silverstripe
702: [17:35:17] <travis-ci> silverstripe/silverstripe-framework#3986 (3.1 - 1de32f9 : Daniel Hensby): The build has errored.
703: [17:35:17] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/add010e38344...1de32f93d877
704: [17:35:17] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49485208
705: [17:35:17] * travis-ci has left #silverstripe
706: [17:52:09] * travis-ci has joined #silverstripe
707: [17:52:09] <travis-ci> silverstripe/silverstripe-framework#3987 (3.1 - 9d64246 : Daniel Hensby): The build has errored.
708: [17:52:09] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/1de32f93d877...9d64246a065f
709: [17:52:09] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49487667
710: [17:52:09] * travis-ci has left #silverstripe
711: [17:59:23] * Shrike_Finland has joined #silverstripe
712: [18:01:57] * GioVdK quit (Quit: Page closed)
713: [18:17:48] * gelignite has joined #silverstripe
714: [18:20:22] * Stomach has joined #silverstripe
715: [18:29:51] * Shrike_Finland quit (Quit: Leaving.)
716: [18:33:47] * Shrike_Finland has joined #silverstripe
717: [18:35:16] * Stomach quit (Quit: zzz)
718: [18:37:43] <_hschillig> I'm extremely confused. I chaned everything to one layered routing like so : http://pastebin.com/ZY9rvZq4 and ONLY the employment still doesn't work. I'm so confused. WHat could cause it to be coming up as Page not found.? My user, job, and usereducation routes work fine... But the useremployment won't work.
719: [18:59:20] * Stomach has joined #silverstripe
720: [19:01:32] * MichalKleiner|aw has joined #silverstripe
721: [19:08:00] * MichalKleiner|aw is now known as MichalKleiner
722: [19:15:01] * Azure quit (Excess Flood)
723: [19:16:14] * Azure has joined #silverstripe
724: [19:19:38] * chillu_23 has joined #silverstripe
725: [19:21:07] * Stomach quit (Quit: zzz)
726: [19:28:58] * Stomach has joined #silverstripe
727: [19:33:07] * CodeTrap has joined #silverstripe
728: [19:39:18] * Stomach quit (Quit: zzz)
729: [19:39:50] * antmas has joined #silverstripe
730: [19:40:57] * Stomach has joined #silverstripe
731: [19:47:12] <antmas> le moin
732: [19:47:20] * novaweb_ has joined #silverstripe
733: [19:48:21] * Shrike_Finland quit (Quit: Leaving.)
734: [19:50:55] <Stomach> hey antmas
735: [19:51:22] <antmas> Stomach: o/
736: [19:51:42] * Ryan-Toast has joined #silverstripe
737: [19:51:44] <Stomach> how goes it
738: [19:52:07] <antmas> cruisin
739: [19:53:09] <Ryan-Toast> Morning.
740: [19:54:18] <Stomach> hey Ryan-Toast
741: [19:54:40] <antmas> Ryan-Toast: hoi
742: [19:54:58] <Ryan-Toast> My gear is still so wet.
743: [19:55:16] <antmas> it raining up that ways?
744: [19:55:39] <Ryan-Toast> It was yesterday.
745: [19:57:31] * pippy quit (Ping timeout: 246 seconds)
746: [19:57:43] <MichalKleiner> morning
747: [19:58:05] <Ryan-Toast> Stomach: you should make a gh-page branch for your slides :D
748: [20:00:03] * glenn-bautista has joined #silverstripe
749: [20:01:46] * zippy has joined #silverstripe
750: [20:12:19] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
751: [20:13:41] <antmas> Ryan-Toast: Stomach yes plx
752: [20:14:01] * Stomach quit (Quit: zzz)
753: [20:14:38] * Stomach has joined #silverstripe
754: [20:14:44] * zippy has joined #silverstripe
755: [20:14:49] <antmas> zippy: o/
756: [20:14:54] <zippy> o/
757: [20:17:07] * novaweb_ quit (Read error: Connection reset by peer)
758: [20:18:45] <Stomach> Ryan-Toast - how do I do that
759: [20:18:50] <Stomach> just branch to gh-page ?
760: [20:20:03] <Ryan-Toast> Stomach: gh-pages
761: [20:20:43] <Ryan-Toast> and then make the gh-pages the default branch.
762: [20:21:08] * ThePeach quit (Quit: leaving)
763: [20:21:24] * veb has joined #silverstripe
764: [20:21:26] <Stomach> http://stevie-mayhew.github.io/sitetree-less-sites-talk/#/
765: [20:21:58] <antmas> you're technical director
766: [20:22:00] <antmas> ?
767: [20:22:05] <antmas> Stomach: nice :D
768: [20:22:11] <Ryan-Toast> Stomach: nice :)
769: [20:22:13] <Stomach> antmas - yeah :)
770: [20:22:20] <Ryan-Toast> Github pages are so fucking sweet.
771: [20:22:49] <Ryan-Toast> You can even set a domain name for them.
772: [20:23:07] <Ryan-Toast> I’ve considred making my next portfolio site in jeykll and just hosting it on github :P
773: [20:24:05] <antmas> Stomach: the pitfalls page, what's IA?
774: [20:24:12] <Stomach> information architecture
775: [20:24:43] <Ryan-Toast> I showed it to my boss, and his first question was: “how do clients change the menu?"
776: [20:24:44] <antmas> ah yes
777: [20:24:51] <antmas> Ryan-Toast: hahaha
778: [20:24:51] <Ryan-Toast> THEY DON’T, MUHAHAHAHA
779: [20:25:39] <Ryan-Toast> Stomach: https://github.com/Little-Giant/silverstripe-singlepageadmin getting a 404
780: [20:25:48] <Stomach> ah whoops
781: [20:26:02] <Ryan-Toast> FIXITFIXITFIXITFIXITFIXITFIXITFIXITFIXITFIXIT
782: [20:26:52] <Ryan-Toast> also, happy Friday everyone!
783: [20:27:02] <antmas> love that 404
784: [20:27:12] <antmas> STAR WARSZZZSS
785: [20:27:45] * Hailwood has joined #silverstripe
786: [20:28:16] <Hailwood> Morning everyone
787: [20:29:08] <antmas> moin Hailwood
788: [20:30:22] <zippy> morning
789: [20:32:39] <Stomach> sorry guys have a meeting
790: [20:32:43] <Stomach> will have it up in 30 mins
791: [20:33:35] <zippy> dont' worry... we'll sit here waiting...
792: [20:33:56] <antmas> Stomach: yeah no rush ...
793: [20:34:01] * antmas twiddles thumbs
794: [20:34:53] * zippy whistles a tune
795: [20:37:18] <antmas> 2nd time in 3 months we've had to get pest control in for ants :<
796: [20:37:26] <zippy> :)
797: [20:37:40] <zippy> heh, I joined bing for a free $40 voucher, which I used to get some dropbox referals
798: [20:37:53] <zippy> after I had used the $40 voucher, they sent me a $100 voucher for spending $25 :D
799: [20:38:00] <antmas> joined bing?
800: [20:38:17] <zippy> $140 credit for bing ads for $0 - and my dropbox gone from 4.5gb to 12.5gb
801: [20:38:23] <zippy> yea their ad system
802: [20:38:28] <antmas> oh right
803: [20:38:31] <antmas> I should do that
804: [20:38:38] <veb> what's the better hosted ecommerce systems?
805: [20:38:41] <veb> other than shopify
806: [20:39:09] <antmas> veb: honestly can't think of any
807: [20:39:37] <zippy> volusion is the other one that omes up
808: [20:39:45] <veb> well I would like a bunch
809: [20:39:50] <veb> so I can take to the committee
810: [20:40:11] <antmas> Volusion is expensive
811: [20:40:37] <antmas> veb: if you look around you're probably going to have a list of 5 or so, but shopify is still better than all of them
812: [20:40:39] <zippy> bigcommerce is the other one I have heard about
813: [20:41:05] <antmas> I think zippy and I are looking at the same list lol
814: [20:41:52] * _hschillig has left #silverstripe
815: [20:42:39] <zippy> these are ones I've heard about before :)
816: [20:43:15] <antmas> veb: you trying to sell a client?
817: [20:43:44] <veb> give me a list of 5 shitty hosted ecommerce systems
818: [20:43:54] <veb> and then #6 will be shopify ;-)
819: [20:43:59] <veb> antmas: helping DCC
820: [20:43:59] <antmas> :P
821: [20:44:15] <antmas> veb: DCC?
822: [20:44:52] <antmas> Magento kinda is
823: [20:46:13] <veb> dunedin city council
824: [20:46:19] <antmas> Magento, Volusion, BigCommerce, OpenCart, Drupal Commerce
825: [20:46:28] <antmas> ^^^ all crap compared to Shopify
826: [20:46:42] <antmas> Derpal*
827: [20:47:07] <antmas> There was a .net one out there too but I forget the name
828: [20:47:26] <antmas> like a derivative of Concrete5 or something
829: [20:48:59] * chillu_23 quit (Quit: chillu_23)
830: [20:50:08] <veb> thanks folks
831: [20:56:16] * JeremyRoundill quit (Remote host closed the connection)
832: [21:01:19] <antmas> fucking git http request failed
833: [21:01:19] * micmania1 has joined #silverstripe
834: [21:01:21] <antmas> :|
835: [21:05:42] * Guits quit (Ping timeout: 245 seconds)
836: [21:06:36] * UncleCheese has joined #silverstripe
837: [21:06:37] <UncleCheese> where do you all put custom getters?
838: [21:06:45] <UncleCheese> where does everyone put custom getters?
839: [21:06:50] <UncleCheese> e.g. LatestArticles()
840: [21:06:54] <UncleCheese> controller or model?
841: [21:08:13] <muskie9> UncleCheese depends... if I have a home page and want to pull in 3 most recent I usually do controller... if it's a Parent Child type thing (like ur calendar) I do it in the model
842: [21:08:24] <UncleCheese> yeah, that makes sense to me
843: [21:08:32] <UncleCheese> the controller describes the view
844: [21:09:01] <UncleCheese> and the home page shoudl only contain methods about its own stuff.. banner image, content, etc.
845: [21:09:08] <UncleCheese> but latest articles has nothing to do with th emodel
846: [21:09:13] <muskie9> right
847: [21:09:19] <antmas> ss23: are you able to check out our repo? all of a sudden have http fails ...
848: [21:10:13] <muskie9> UncleCheese were you able to get the emails from the SS Experts thread you started in the dev group?
849: [21:10:20] <UncleCheese> yes!
850: [21:10:25] <muskie9> awesome!
851: [21:10:31] <UncleCheese> are you one of them?
852: [21:10:36] <muskie9> yes
853: [21:10:40] <UncleCheese> sweet
854: [21:13:57] * travis-ci has joined #silverstripe
855: [21:13:58] <travis-ci> silverstripe/silverstripe-framework#3992 (3.1 - 9656058 : Mateusz U): The build has errored.
856: [21:13:58] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/88eb303cd520...965605888318
857: [21:13:58] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49510739
858: [21:13:58] * travis-ci has left #silverstripe
859: [21:15:02] * chillu_23 has joined #silverstripe
860: [21:16:27] * irogue_ has joined #silverstripe
861: [21:18:52] <Stomach> Ryan-Toast, zippy, antmas - module is up :)
862: [21:18:58] <irogue_> yo Stomach, send me ur slidez
863: [21:19:00] <antmas> Stomach: link?
864: [21:19:07] <irogue_> also, g'mornin :P
865: [21:19:10] <Stomach> https://github.com/Little-Giant/silverstripe-singlepageadmin
866: [21:19:13] <Stomach> hey irogue_
867: [21:19:20] <Ryan-Toast> Stomach: chur
868: [21:19:31] <Stomach> irogue_ - http://stevie-mayhew.github.io/sitetree-less-sites-talk/
869: [21:20:03] <irogue_> Stomach: danke
870: [21:20:42] <Stomach> does anyone know who uses java in NZ?
871: [21:21:00] <adrexia> Stomach - needs more screenshots
872: [21:21:02] <adrexia> ;)
873: [21:21:37] <antmas> Stomach: I do
874: [21:21:46] <antmas> Stomach: wait, as in I know someone
875: [21:21:53] <Stomach> adrexia - :P
876: [21:22:52] <adrexia> Catalyst has a whole Java team
877: [21:22:55] <zippy> @UncleCheese: can throw me down on the list as well if you like. Did you consider using mark down via a git repo for the content - then you could just post in the group chat - new lesson up with link to the repo and people can just reply in there / send pull requests or whatever?
878: [21:24:47] * travis-ci has joined #silverstripe
879: [21:24:48] <travis-ci> silverstripe/silverstripe-framework#3993 (3.1 - 60f4720 : Mateusz U): The build has errored.
880: [21:24:48] <travis-ci> Change view : https://github.com/silverstripe/silverstripe-framework/compare/965605888318...60f4720415b4
881: [21:24:48] <travis-ci> Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/49510820
882: [21:24:48] * travis-ci has left #silverstripe
883: [21:25:37] <Stomach> thanks adrexia
884: [21:26:40] <zippy> Is it possible to change the order of a tab in a tab set. eg when you do $fields->addFieldToTab('Root.NewTab', ....); is there a way to push that NewTab right after main? I you can create it seperate... somehow (I think you had to do it seperate is 2.3 didn't you..)
885: [21:26:44] * chillu_23 quit (Quit: chillu_23)
886: [21:28:13] <Ryan-Toast> zippy: not by default.
887: [21:28:42] <Ryan-Toast> I remember a few months ago we made an extension of tabset that ordered alphabetically.
888: [21:30:52] * chillu_23 has joined #silverstripe
889: [21:32:02] <zippy> wwsd
890: [21:34:18] <Stomach> you can create the fieldlist
891: [21:34:26] <Stomach> rather than having it automagically inherited
892: [21:34:30] <Stomach> then you can control the order
893: [21:34:45] <adrexia> tghat ^
894: [21:35:44] <zippy> yea, I will have a dig into it
895: [21:37:21] <Stomach> $fields = new FieldList(
896: [21:37:22] <Stomach> TabSet::create('Root', Tab::create('Main'))
897: [21:37:22] <Stomach> );
898: [21:37:32] <Stomach> you can keep adding Tab::create after the main one
899: [21:38:15] <zippy> doing that would remove all the current fields on my main tab too, and othe rtabs
900: [21:38:26] <zippy> I just want to insert a tab in between the current tabs, ie
901: [21:38:58] <zippy> so get the current tabset, then Tab::create('Foo', 1); where 1 is the position - or something (hyphotical)
902: [21:38:58] * chillu_23 quit (Quit: chillu_23)
903: [21:40:17] * UndefinedOffset quit (Quit: Leaving.)
904: [21:40:54] <Stomach> could you do $fieldRoot = $fields->getDataFieldByName('Root') then do a loop over them and add them back into
905: [21:41:11] <Stomach> its mungey
906: [21:42:18] * micmania1 quit (Quit: micmania1)
907: [21:45:38] <irogue_> "mungey"
908: [21:45:41] <irogue_> fun term
909: [21:47:15] <zippy> rangi
910: [21:47:52] * mahfuz has joined #silverstripe
911: [21:47:59] <zippy> Tabset has a method called insertBefore
912: [21:48:07] <zippy> let us pray
913: [21:48:14] <antmas> awesome
914: [21:48:20] <antmas> random open stream error
915: [21:48:25] <antmas> \o/
916: [21:56:04] <zippy> Stomach: $rootTab = $fields->fieldByName('Root');
917: [21:56:07] <zippy> $rootTab->insertAfter(Tab::create('FoolashTab'), 'Main');
918: [21:56:57] <Stomach> booya
919: [21:57:14] <zippy> swish even
920: [21:57:36] <antmas> Foolash
921: [21:57:42] <antmas> word of the day
922: [21:59:15] <zippy> mm could say its quite a Foohancy word
923: [21:59:16] <Stomach> word of the day is: Tequila!
924: [21:59:52] <antmas> Fooquila
925: [22:00:50] <antmas> love it when I ask the network team if I can check something on a prod server and the just reply with
926: [22:00:53] <antmas> :)
927: [22:01:42] <antmas> zippy: dat wind
928: [22:01:55] <zippy> mm
929: [22:01:58] <zippy> bit cool isn't it
930: [22:02:59] * chillu_23 has joined #silverstripe
931: [22:03:01] <zippy> I know it's old, but wouldn't you see this and think, shit, nuclear war! https://www.youtube.com/watch?v=90Omh7_I8vI
932: [22:03:05] <zauberfisch> ohai chillu_23
933: [22:03:16] <zauberfisch> haven't seen you here in a while
934: [22:03:17] <chillu_23> Hello zauberfisch :)
935: [22:03:53] <antmas> zippy: METEOR PARTY
936: [22:07:15] * zippy is rocking the crystal
937: [22:12:44] <Hailwood> antmas, Yesterday you replied to my request for help, but I think I was shutting down as you replied. So do you have any ideas about what would cause a gridfield export or print button to instead of loading the print view/generating the csv download it just loads a page with only the gridfield (unstyled as it's the only html)
938: [22:13:08] <Hailwood> http://i.imgur.com/9qg1YbK.png for reference
939: [22:13:44] <zippy> Hailwood: http://logs.simon.geek.nz/index.php?date=2015-02-04#log_1562268
940: [22:15:33] <antmas> Hailwood: oh I just asked if you have any errors in logs when you click the export button
941: [22:15:46] * Colin[pi] has joined #silverstripe
942: [22:17:16] <Hailwood> antmas, Nope, not a single error in any logs. and in reply to the question by adrexia nope, both the print button and the export to csv button are behaving the same, but it's not how either of them should act.
943: [22:17:24] <zippy> editing / sending in a patch on github is pretty sweet eh
944: [22:17:31] <antmas> everyone shhhh
945: [22:17:35] <antmas> Colin[pi]: is here
946: [22:17:36] <antmas> http://i.imgur.com/nCZoEXs.gif
947: [22:22:04] * Sticks has joined #silverstripe
948: [22:24:35] * Ryan-Toast needs to make an app to choose where to go for lunch.
949: [22:24:41] <Hailwood> The strangest part is that the exact code is working correctly on the live server, but on our local dev machines it's behaving like this.
950: [22:25:00] <Colin[pi]> antmas: lol
951: [22:25:18] <adrexia> Hailwood, what happens when you change your environment to live mode?
952: [22:27:26] <Hailwood> adrexia, I'll check, but the live site is also in dev mode at the moment
953: [22:28:59] * CodeTrap quit (Ping timeout: 245 seconds)
954: [22:29:09] <Hailwood> Does the json that ends up in the URL look familiar to anyone? https://gist.github.com/hailwood/e96eded08e07fbe8bebd
955: [22:30:46] * scpi quit (Quit: scpi)
956: [22:31:42] <zippy> OK (1 test, 7 assertions)
957: [22:31:43] <zippy> winning
958: [22:34:15] <adrexia> Hailwood, not me. Sort of odd though, as the export button is an actual button not a link. There aren't any javascript errors?
959: [22:34:26] * travis-ci has joined #silverstripe
960: [22:34:26] <travis-ci> tractorcow/sapphire#35 (pulls/3.1/dev-output - 811513e : Damian Mooyman): The build has errored.
961: [22:34:26] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/21bb16f2201a^...811513ee1b41
962: [22:34:26] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/49524241
963: [22:34:26] * travis-ci has left #silverstripe
964: [22:34:46] * mobiusnz quit (Quit: Leaving.)
965: [22:35:48] <ss23> 10:09:19 < antmas> ss23: are you able to check out our repo? all of a sudden have http fails ...
966: [22:35:51] <ss23> checkin now antmas
967: [22:36:48] * travis-ci has joined #silverstripe
968: [22:36:49] <travis-ci> tractorcow/sapphire#36 (pulls/3.1/dev-output - 70e0d60 : Damian Mooyman): The build has errored.
969: [22:36:49] <travis-ci> Change view : https://github.com/tractorcow/sapphire/compare/811513ee1b41...70e0d60f9310
970: [22:36:49] <travis-ci> Build details : http://travis-ci.org/tractorcow/sapphire/builds/49524422
971: [22:36:49] * travis-ci has left #silverstripe
972: [22:37:08] <ss23> antmas: seems fine to me
973: [22:37:21] * micmania1 has joined #silverstripe
974: [22:38:15] <Hailwood> adrexia, Nope no js errors, even with "preserve log" turned on
975: [22:42:55] <antmas> ss23: mmm, cheers, only getting a response error when doing a push
976: [22:43:01] <antmas> maybe it's my git version
977: [22:45:42] <Stomach> mahfuz - happy to get drunk and rant with irogue_ anytime ;)
978: [22:50:00] * veb quit (Quit: veb-irc: quit)
979: [22:53:43] * veb has joined #silverstripe
980: [22:54:30] * auto9 has joined #silverstripe
981: [22:54:33] <Ryan-Toast> How can I display pages in the menu that are visible to “Anyone who can log-in to the CMS”
982: [22:55:13] <adrexia> isn't that default functionality?>
983: [22:56:07] <antmas> that's what I thought...
984: [22:56:27] <catcher> I think he means front-end.
985: [22:56:42] <adrexia> if you use Menu() it should work
986: [22:56:53] <Ryan-Toast> I am.
987: [22:57:02] <catcher> Menu won't restrict..
988: [22:57:05] <adrexia> and it's not showing those pages?
989: [22:57:11] <Ryan-Toast> Nope.
990: [22:57:29] <Ryan-Toast> http://www.sspaste.com/paste/show/54d2a38eafd4f
991: [22:57:45] <adrexia> catcher - it does
992: [22:57:50] <irogue_> Stomach, mahfuz: was a good evening
993: [22:57:52] <adrexia> it checks against canView
994: [22:58:14] <catcher> I misunderstood the question I think.
995: [22:58:25] <adrexia> Ryan-Toast no caching or anythign?
996: [22:58:42] <Ryan-Toast> not that I can see, did a flush and opened in incognito.
997: [22:58:56] <adrexia> Ryan - why AllChildren and not Children?
998: [22:59:09] <Ryan-Toast> Was checking to see if that fixed it.
999: [22:59:19] <Ryan-Toast> It did not.
1000: [22:59:27] <adrexia> ahh right :0
1001: [22:59:39] <adrexia> and you are logged in? (dumb question)
1002: [22:59:43] <Hailwood> antmas, adrexia, here's the relevant code, can you guys please cast an eye and let me know if you can see anything out of the ordinary? https://gist.github.com/hailwood/23ba66a1db76902a9dfb
1003: [23:00:03] <Ryan-Toast> adrexia: I mean I want the page to show up when I’m not logged in, and trigger login.
1004: [23:00:09] <adrexia> oh!
1005: [23:00:10] <Ryan-Toast> Sorrym, could have worded the question better
1006: [23:00:11] <adrexia> right
1007: [23:00:26] <adrexia> well the fact that menu checks against canview mena yit won't work
1008: [23:00:27] <catcher> see!?
1009: [23:00:30] <catcher> ;)
1010: [23:00:33] <Ryan-Toast> Hmm.
1011: [23:00:47] <Ryan-Toast> Could just do a check on the controller instead.
1012: [23:00:54] <Ryan-Toast> Render two different templates.
1013: [23:01:13] <adrexia> you could write your own custom menu function
1014: [23:01:22] <adrexia> and loop that instead?
1015: [23:01:32] <Ryan-Toast> adrexia: I’ll just check on the controller I think.
1016: [23:01:38] <adrexia> or, just loop level(1) showinmenu
1017: [23:01:40] <Ryan-Toast> It’s only one page that needs it.
1018: [23:01:58] <adrexia> ahhh
1019: [23:03:27] <adrexia> Hailwood - where is the GridFieldExportButton being added?
1020: [23:04:01] <antmas> ^^^
1021: [23:04:04] * gelignite quit (Quit: http://bit.ly/1kso8Ta)
1022: [23:04:23] * mobiusnz has joined #silverstripe
1023: [23:05:13] <Hailwood> adrexia, antmas : https://github.com/silverstripe/silverstripe-framework/blob/3.1/admin/code/ModelAdmin.php#L140 it's part of the M/A core
1024: [23:06:26] <adrexia> oh, yeah, modeladmin, missed that. So accessing form Directory admin?
1025: [23:06:31] <adrexia> *from
1026: [23:06:52] <Hailwood> correct
1027: [23:08:18] <adrexia> Does anyone else think this bit of core is weird: $exportButton->setExportColumns($this->getExportFields());
1028: [23:08:37] <adrexia> getting export fields from a modeladmin ratehr than from the dataobject shown in the model admin
1029: [23:09:36] <adrexia> I mean the defualt does that anyway but. meh, nevermind
1030: [23:09:47] <zippy> mmm I am saving a form via ajax, and then want to reload the page but chrome is throwing the "WARNING: Your changes have not been saved." and there doesn't seem to be a way to disable that message!
1031: [23:10:00] <zippy> even if I revert the content back in js
1032: [23:10:31] <adrexia> Hailwood. I officially have no idea
1033: [23:10:37] <adrexia> tried flushing within the admin?
1034: [23:10:50] <Hailwood> adrexia, Yep. No luck there
1035: [23:11:05] <adrexia> your model admin is really basic
1036: [23:11:12] <adrexia> so it can't be that
1037: [23:12:30] <zippy> Hailwood: try a different browser / incognito mode, maybe you have a plugin or something dippy with your session happening locally
1038: [23:13:32] * Pyromanik has joined #silverstripe
1039: [23:13:54] <adrexia> the difference between environments thing is interesting...
1040: [23:14:17] <Pyromanik> Environments are the one truth of the world.
1041: [23:14:41] <Pyromanik> Without environments, there's simply no universe.
1042: [23:16:45] <Hailwood> zippy, No luck, I just tried firefox as well. Also we tried setting it up on another developers system and it's doing the exact same thing
1043: [23:17:02] <Pyromanik> so ss-log_ runs delayed these days, what's the haps?
1044: [23:17:19] <antmas> woah Pyromanik
1045: [23:17:21] <antmas> o/
1046: [23:17:53] <zippy> Pyromanik: server scaled back so probably just lags..
1047: [23:17:53] <Pyromanik> hurro antmas
1048: [23:18:15] <zippy> mmm seems realish time... http://logs.simon.geek.nz/index.php?date=2015-02-05
1049: [23:18:15] <Pyromanik> zippy, exactly an hour, never more, never less? That's some awefully consistent lag.
1050: [23:18:28] <zippy> 639: [12:18:15] <Pyromanik> zippy, exactly an hour, never more, never less? That's some awefully consistent lag.
1051: [23:18:35] <zippy> what lag are you talking about :)
1052: [23:19:01] <zippy> timeonze for you? it's 12:18pm in nz here...
1053: [23:19:04] <Pyromanik> hmm, I thought I'd checked it more than once, I guess I was wrong.
1054: [23:19:25] <Pyromanik> Or maybe twice is a coincidence. Whatever.
1055: [23:19:57] <antmas> prolly just simon_w trolling
1056: [23:20:18] <Pyromanik> nah, it did seem slow.
1057: [23:20:21] * Pyromanik shrugs.
1058: [23:21:45] <Colin[pi]> Pyromanik: prolly the swear stats updating on a cron
1059: [23:22:08] <Pyromanik> haha, probably.
1060: [23:22:22] <Pyromanik> makes sense it does.
1061: [23:22:36] <Colin[pi]> mm, they take quite a while to update
1062: [23:23:24] <Pyromanik> yeah, was always dubious as to whether or not the page would time out when it was a live query, aha
1063: [23:26:03] <Pyromanik> "Filipino Women for Love - Hot, Nice, Good at Housekeeping. Try a Date with Filipino Women!"
1064: [23:26:07] <Pyromanik> wow, sweet ad :<
1065: [23:26:37] <Pyromanik> that aside, I'm not sure they'd appreciate if I dated them all at the same time, keke.
1066: [23:26:54] <antmas> what to lunch
1067: [23:26:58] <antmas> hmmm
1068: [23:27:25] <Pyromanik> hot kebab wrap!
1069: [23:27:27] <Pyromanik> NOM
1070: [23:27:27] <Colin[pi]> antmas: wonton noodle soup
1071: [23:27:44] <antmas> both excellent suggestions
1072: [23:28:17] <Colin[pi]> por que no los dos?
1073: [23:29:20] <antmas> AT THE SAME TIME
1074: [23:29:39] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
1075: [23:29:44] <Colin[pi]> fuckin A
1076: [23:32:04] * catcher quit (Quit: Leaving)
1077: [23:36:41] * auto9 quit (Read error: Connection reset by peer)
1078: [23:38:10] * auto9 has joined #silverstripe
1079: [23:43:33] * jenniferaslan quit (Quit: jenniferaslan has left the room)
1080: [23:49:25] <Pyromanik> and so?
1081: [23:51:59] <antmas> bacon
1082: [23:52:04] <antmas> I'm going with bacon
1083: [23:52:15] <Pyromanik> in?
1084: [23:52:28] <antmas> more bacon
1085: [23:52:36] <Pyromanik> idgi http://imgur.com/gallery/LfCOdYO
1086: [23:53:11] <antmas> Pyromanik: that's going to drive me nuts
1087: [23:53:15] <antmas> because idgi either
1088: [23:53:44] <Pyromanik> reading comments it might be something to do with Monkey Island games reference.
1089: [23:53:48] <Pyromanik> which I haven't played, so don't get.
1090: [23:54:01] <Pyromanik> (but do know username is reference to)
1091: [23:54:17] <antmas> lol
1092: [23:54:26] <antmas> I thought it was something to do with batman
1093: [23:54:31] * Stomach quit (Quit: zzz)
1094: [23:54:52] <Pyromanik> first thought to my mind was that pedo bear had made some kind of horrific comeback.
1095: [23:55:15] <Pyromanik> but looking at op comment, Javert - google tells me this is to do with le mis.
1096: [23:55:33] <antmas> oh
1097: [23:55:34] <antmas> OH
1098: [23:55:36] <antmas> hahahaha
1099: [23:55:40] <Pyromanik> I guess maybe the 'familiar' part is because op (and a lot of commmenters by the looks) are le mis fans.
1100: [23:55:41] <Pyromanik> idk.
1101: [23:55:44] <Pyromanik> not seen that either.
1102: [23:56:02] <antmas> there is a scene in le mis where he looks around a corner just like that
1103: [23:56:27] <Pyromanik> http://imgur.com/gallery/nsMp5rB
1104: [23:56:52] <antmas> :)
1105: [23:56:56] <antmas> leftshark
1106: [23:57:12] <Pyromanik> http://i.imgur.com/UDFoIEy.webm
1107: [23:57:47] <Pyromanik> anyway, the reason I'm there is because I have this obscure note on my phone.
1108: [23:58:08] <Pyromanik> apparently at one point I found this pun extremely amusing, enough to copy down the id.
1109: [23:58:09] <Pyromanik> http://i.imgur.com/BEuFA.jpg
1110: [23:58:27] <antmas> hahaha
1111: [23:58:45] <Pyromanik> that what you're having for lunch then is it antmas? xD
1112: [23:58:51] <Pyromanik> bacon, outside!
1113: [23:59:05] <antmas> probably one of those jokes you think is really funny because it's late at night and you're tired
1114: [23:59:10] <antmas> brb bacon and outside

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