#silverstripe IRC Log

IRC log for 20 October 2013

All timestamps are in UTC.

1: [00:07:17] * SightUnseen has joined #silverstripe
2: [00:07:26] * SightUnseen has left #silverstripe
3: [00:27:08] * spronk quit (Ping timeout: 240 seconds)
4: [00:35:46] * gelignite_ has joined #silverstripe
5: [00:39:33] * gelignite quit (Ping timeout: 248 seconds)
6: [00:50:41] * SightUnseen has joined #silverstripe
7: [00:50:51] * SightUnseen has left #silverstripe
8: [00:54:33] * gelignite_ is now known as gelignite
9: [00:58:55] <Colin[pi]> ping
10: [01:00:20] <guzzlefry> Colin[pi]: pong
11: [01:00:28] <Colin[pi]> hai2u
12: [01:00:35] <Colin[pi]> you're always here guzzlefry :D
13: [01:00:52] <guzzlefry> oh
14: [01:01:01] <guzzlefry> that's because I have one of those IRC bouncer thingies
15: [01:01:07] <Colin[pi]> o rly?
16: [01:01:31] <guzzlefry> yah
17: [01:01:47] <Colin[pi]> cool
18: [01:10:06] * SightUnseen has joined #silverstripe
19: [01:10:33] * SightUnseen has left #silverstripe
20: [01:36:47] * DigNZ has joined #silverstripe
21: [01:39:57] * DigNZ quit (Client Quit)
22: [01:42:15] * SightUnseen has joined #silverstripe
23: [01:45:23] * SightUnseen has left #silverstripe
24: [01:47:07] * Pyromanik__ has joined #silverstripe
25: [01:47:30] * Pyromanik__ has left #silverstripe
26: [01:49:55] * joelpittet has joined #silverstripe
27: [01:50:23] * toddmorey quit (Quit: Leaving.)
28: [02:08:05] * robert_ quit (Read error: Connection reset by peer)
29: [02:11:23] * robert_ has joined #silverstripe
30: [02:11:23] * robert_ quit (Changing host)
31: [02:11:23] * robert_ has joined #silverstripe
32: [02:37:30] * mobiusnz has joined #silverstripe
33: [02:56:04] * toddmorey has joined #silverstripe
34: [03:19:03] * SightUnseen has joined #silverstripe
35: [03:19:12] * SightUnseen has left #silverstripe
36: [03:30:32] * gelignite quit (Quit: http://bit.ly/nkczDT)
37: [03:37:56] * Colin[pi] quit ()
38: [03:48:52] * cloph has joined #silverstripe
39: [03:49:31] * cloph_away quit (Ping timeout: 272 seconds)
40: [03:56:41] * abitran quit (Ping timeout: 245 seconds)
41: [03:59:13] * toddmorey quit (Quit: Leaving.)
42: [03:59:46] * abitran has joined #silverstripe
43: [04:19:55] * toddmorey has joined #silverstripe
44: [04:31:21] <MattSS> DesignerX: If you're still looking for an answer, DataObject::onBeforeWrite(), or if you want to do something specific to a DataObject: http://doc.silverstripe.com/framework/en/topics/datamodel#validation-and-constraints
45: [04:33:00] <DesignerX> MattSS: thanks :)
46: [04:33:13] * DigNZ has joined #silverstripe
47: [04:35:05] <DesignerX> MattSS: is there a built in way to handle strict 1-to-1 relations, or do I just use the validate()?
48: [04:35:37] * toddmorey quit (Quit: Leaving.)
49: [04:36:02] <guzzlefry> Maybe a has_one on both ends?
50: [04:36:59] <DesignerX> guzzlefry: I have Branch has_one Manager & Manager belognd_to_one Branch .. the usual has_one means another Manager can select that same Branch whci h is incorrect
51: [04:37:02] <MattSS> DesignerX: Do you mean where you have a has_one, and you say that this link must exist (e.g. a link must exist between two objects for either object to be saved?)
52: [04:37:31] <MattSS> just use Branch has_one Manager
53: [04:40:00] * MattSS is now known as madmatt
54: [05:06:26] * toddmorey has joined #silverstripe
55: [05:15:10] * toddmorey quit (Ping timeout: 256 seconds)
56: [05:17:46] * DigNZ quit (Quit: DigNZ)
57: [05:46:38] * toddmorey has joined #silverstripe
58: [05:59:59] * Nightjar has joined #silverstripe
59: [06:02:21] * toddmorey quit (Quit: Leaving.)
60: [06:05:28] * simon_w quit (Read error: Connection reset by peer)
61: [06:06:00] * simon_w has joined #silverstripe
62: [06:08:45] * toddmorey has joined #silverstripe
63: [06:13:33] * Pyromanik__ has joined #silverstripe
64: [06:15:28] * Pyromanik__ has left #silverstripe
65: [06:24:25] * toddmorey quit (Quit: Leaving.)
66: [06:35:53] * toddmorey has joined #silverstripe
67: [06:51:34] * toddmorey quit (Quit: Leaving.)
68: [06:57:14] * toddmorey has joined #silverstripe
69: [07:12:50] * Error404NotFound has joined #silverstripe
70: [07:12:59] * toddmorey quit (Quit: Leaving.)
71: [07:18:50] * guzzlefry has left #silverstripe
72: [07:49:30] * pevjan has joined #silverstripe
73: [07:51:06] <pevjan> Session variables seem to be stored across logons, is that how it's supposed to be? E.g. I log in as one user and stuff is being put in the session. I log out and log in as another user, and the previous user's session content is still there
74: [07:52:49] <pevjan> using SS 3.0
75: [07:55:10] <Nightjar> Is this data you've set?
76: [08:09:53] <pevjan> Nightjar: yes
77: [08:10:46] * SightUnseen has joined #silverstripe
78: [08:11:06] * SightUnseen has left #silverstripe
79: [08:11:07] <Nightjar> pevjan: it sounds like something's causing the session ID to not be renewed.
80: [08:11:29] <Nightjar> https://github.com/silverstripe/silverstripe-framework/blob/3.0/security/Member.php#L242
81: [08:13:49] * toddmorey has joined #silverstripe
82: [08:14:04] <pevjan> Nightjar: hmm, not sure why that would happen
83: [08:14:20] <pevjan> Nightjar: I've not made any changes to any session settings as far as I am aware
84: [08:14:23] <Nightjar> something erroring perhaps, or that protected variable has been set to false
85: [08:14:46] <Nightjar> pevjan: it doesn't reset the session if it thinks it's running tests
86: [08:14:56] <Nightjar> that or PHP is failing to reset your session ID.
87: [08:15:21] <pevjan> Nightjar: would running in dev mode mean it thinks it's running tests?
88: [08:15:30] <Nightjar> Place some die or var_dumps in the appropriate places (Member::logOut() and that one I linked above) to ensure they're being called.
89: [08:15:41] <Nightjar> pevjan: no, not normally.
90: [08:20:31] <pevjan> Nightjar: thanks, I'll investigate
91: [08:21:26] * toddmorey quit (Ping timeout: 240 seconds)
92: [08:22:38] * toddmorey has joined #silverstripe
93: [08:38:21] * toddmorey quit (Quit: Leaving.)
94: [08:40:08] * spronk2 has joined #silverstripe
95: [08:53:53] * mobiusnz quit (Quit: Leaving.)
96: [09:12:09] <pevjan> Nightjar: it seems to be calling the logout without crashing
97: [09:12:25] <Nightjar> what about the session id reset?
98: [09:13:08] <pevjan> Nightjar: that is being called too
99: [09:14:25] <Nightjar> test to see if this if is succeeding, and if it is, take the @ symbol off the front of that function call
100: [09:14:28] <Nightjar> https://github.com/silverstripe/silverstripe-framework/blob/3.0/security/Member.php#L252
101: [09:15:43] <Nightjar> http://nz1.php.net/session_regenerate_id
102: [09:15:53] <Nightjar> if there's still no error, test that the function returns true.
103: [09:18:32] <pevjan> it was succeeding and removing the @ did not make a difference, and it was returning true
104: [09:20:04] <pevjan> am I setting session variables in a way that are making them accessible by all?
105: [09:20:04] <Nightjar> load your debug tool of choice in your browser and ensure that PHPSESSID has changed on the refresh
106: [09:20:15] * starchicken is now known as springtheory
107: [09:20:29] <Nightjar> when you log in it should be one value, when you log out you should get a new one.
108: [09:20:44] <Nightjar> it'll be on the cookies tab
109: [09:20:49] <Nightjar> or on the request you send in
110: [09:22:48] <pevjan> it does change
111: [09:23:00] <Nightjar> then you must be setting cookies, not session data.
112: [09:23:17] <Nightjar> or you're running through some kind of proxy that is messing with your infos
113: [09:24:11] <pevjan> I'm using Session::set
114: [09:24:31] <Nightjar> what is it that is coming back that's the same?
115: [09:24:39] <pevjan> I don't see my values in the cookie tab
116: [09:24:57] * mobiusnz has joined #silverstripe
117: [09:25:06] <Nightjar> you may be setting it manually every time you load a page, rather than through Member functions
118: [09:25:10] <pevjan> I'm setting a value, like Session::set("test", 1).. when I log out and log in as someone else, "test" is still 1 when I do a Session::get
119: [09:25:27] <Nightjar> yeah, you'll be setting it in the wrong place most likely
120: [09:25:38] <Nightjar> when you log out, it won't be set still.
121: [09:25:41] <pevjan> I am setting them manually on page loads, but they set to different values per member.. or should be
122: [09:25:43] <Nightjar> when you log back in, you'll be setting it again.
123: [09:26:27] <Nightjar> try Session::set('test', Member::currentUserID())
124: [09:26:34] <pevjan> Nightjar: that makes more sense than the Session stuff being broken.. I'll re-check to make sure I haven't screwed up
125: [09:26:51] <Nightjar> use the member's ID to test, it should definitely be different.
126: [09:28:28] <pevjan> that variable stays the same after logging out and logging in
127: [09:28:46] <Nightjar> :< shouldn't do.
128: [09:28:48] <pevjan> as long as I don't re-set it if it isn't already set
129: [09:28:58] <pevjan> yeah, very surprising
130: [09:29:00] <Nightjar> huh?
131: [09:29:21] <pevjan> I check if it is already set.. if it isn't, I set it to current user id
132: [09:29:39] <pevjan> the next time I log in, it is deemed as already set, so therefore getting last user's id
133: [09:29:40] <Nightjar> well is it already set?
134: [09:29:57] <Nightjar> get it first, and output it, then set it, and output it.
135: [09:30:13] <Nightjar> login, check values, log out, log back in as another user, check values again, compare
136: [09:30:32] * toddmorey has joined #silverstripe
137: [09:31:34] * iamss has joined #silverstripe
138: [09:32:10] <iamss> I need help customising my search field in the admin
139: [09:32:27] <iamss> I want to put an extra field MemberID to the search
140: [09:32:29] <iamss> how?
141: [09:32:34] <Nightjar> what search
142: [09:32:41] <pevjan> Nightjar: "before: 188, after: 196" is my output
143: [09:32:41] <iamss> I have a product with has one property to the Member
144: [09:33:00] <Nightjar> iamss: what search are you talking about
145: [09:33:03] * mobiusnz quit (Ping timeout: 272 seconds)
146: [09:33:04] <Nightjar> model admin?
147: [09:33:10] <iamss> yes in the model admin
148: [09:33:12] <Nightjar> pevjan: and when you log back in again?
149: [09:33:21] <iamss> I have a merchant role in the CMS
150: [09:33:26] <pevjan> when running this: https://gist.github.com/anonymous/7067088
151: [09:33:29] <Nightjar> iamss: it uses the searchContext of the object it's managing
152: [09:33:33] <pevjan> and when I log back in again, same thing
153: [09:33:48] <iamss> and I only want my merchant to see only the products they added
154: [09:34:22] <iamss> yeah it uses the searchContext object
155: [09:34:44] <iamss> but do I have to override the getDefaultSearchContext function of the dataobject?
156: [09:35:03] <pevjan> Nightjar: when I log back in as same member, it says the same number in before and after
157: [09:35:19] <Nightjar> iamss: well that would be one way of achieving your result
158: [09:35:33] <iamss> but what is the easiest way?
159: [09:35:52] <Nightjar> iamss: either way you're going to have to override the searchconext
160: [09:36:04] <iamss> the searchcontext object itself?
161: [09:36:13] <Nightjar> ...
162: [09:37:22] <Nightjar> pevjan: but when you log in as a different member it still has the same before value?
163: [09:37:27] <iamss> I'm thinking another way like adding a hiddenfield memberid in the model admin search form
164: [09:37:36] <Nightjar> so no matter what it always puts out the same value first?
165: [09:37:49] <pevjan> Nightjar: correct, it still has the previous member's number in the "before"
166: [09:38:09] <Nightjar> iamss: the model admin search form IS the search context of the model you're adminning.
167: [09:38:25] <Nightjar> pevjan: this previous member's ID wouldn't happen to be 1 would it?
168: [09:38:31] <pevjan> Nightjar: nope
169: [09:38:36] <Nightjar> ok
170: [09:38:39] <pevjan> 188
171: [09:39:05] <Nightjar> and you definitely don't have that set somewhere else in your code?
172: [09:39:28] <Nightjar> eg, grep -rn "Session::" mysite
173: [09:40:12] <pevjan> nothing else is setting Session::set('test'
174: [09:40:24] <pevjan> I searched all files
175: [09:41:34] <Nightjar> do you have 3 users you could test with?
176: [09:42:13] <Nightjar> see if the ID before value stays the same between all three
177: [09:42:42] <Nightjar> for if the problem is as you describe, then I'd expect it to change to the last logged in user, rather than stay constant
178: [09:42:56] <pevjan> Nightjar: nope, same pattern. I logged in with 3rd user and then out and then in with 1st. Saw 3rd users ID in "before"
179: [09:43:11] <Nightjar> ok so it does update each time.
180: [09:43:52] <pevjan> I must have misunderstood something when debugging Member::logOut
181: [09:43:55] <Nightjar> pevjan: and what if you log in, then flush your cookies for that site, then log in again?
182: [09:44:17] <Nightjar> pevjan: it shouldn' matter, you have an entirely new session from PHP
183: [09:44:25] <Nightjar> PHPSESSID changes
184: [09:44:53] <Nightjar> check that when you log back in it doesn't give you the same PHPSESSID you had before logging out
185: [09:45:29] <pevjan> right-o, when I flush cookies, the "before" is empty
186: [09:46:15] * toddmorey quit (Quit: Leaving.)
187: [09:47:37] <pevjan> yup, my functionality works if I flush the cookies
188: [09:48:23] <pevjan> PHPSESSID was always changing, though
189: [09:48:33] <pevjan> regardless of flushing cookies or not
190: [09:51:05] <Nightjar> and you never got assigned a PHPSESSID that you'd previously had?
191: [09:53:49] * Error404NotFound quit (Read error: Connection reset by peer)
192: [09:54:09] <pevjan> Nightjar: nope
193: [09:56:25] * iamss quit (Ping timeout: 250 seconds)
194: [09:59:25] <Nightjar> strange.
195: [09:59:42] <Nightjar> but manually flushing your cookies clears it?
196: [10:00:09] * mobiusnz has joined #silverstripe
197: [10:00:33] <Nightjar> try deleting each cookie individually before you log back in (so log in with a differenty cookie deleted each time)
198: [10:01:05] <Nightjar> start by deleting only PHPSESSID and seeing if the issue persists
199: [10:02:38] <pevjan> if I delete PHPSESSID, the value is not set when logging in
200: [10:03:00] <pevjan> even though I see its value changing on every log out and log in
201: [10:03:25] <Nightjar> pevjan: do you have some kind of proxy between you and the site?
202: [10:03:35] <pevjan> it's all localhost
203: [10:03:42] <Nightjar> hmm ok
204: [10:03:47] <Nightjar> on windows?
205: [10:03:52] <pevjan> os x
206: [10:05:24] * kerosene has joined #silverstripe
207: [10:08:12] * pevjan_ has joined #silverstripe
208: [10:08:13] * pevjan quit (Read error: Connection reset by peer)
209: [10:08:39] <pevjan_> I wonder if an upgrade to SS 3.1.1 would remedy this
210: [10:09:41] <Nightjar> you could give it a go, but I'd only recommend it if it's not too big a site
211: [10:10:10] <Nightjar> There aren't many differences, but enough to make it a little bit of an ordeal if the site is quite complex
212: [10:10:22] <pevjan_> it's very small so far, not yet released
213: [10:10:34] <Nightjar> should be fine then :)
214: [10:10:44] <pevjan_> Nightjar: I'll try it then.. but this was very puzzling
215: [10:10:52] <pevjan_> thanks for the help!
216: [10:11:06] * Error404NotFound has joined #silverstripe
217: [10:11:34] <Nightjar> I agree, it's very peculiar!
218: [10:21:00] * toddmorey has joined #silverstripe
219: [10:24:53] <Nightjar> heh, siteconfig is quite tightly coupled to the admin area.
220: [10:25:05] <Nightjar> despite all the if(class_exists(...
221: [10:25:20] <Nightjar> admin area shouldn't care...
222: [10:32:47] * Nightjar has left #silverstripe
223: [10:36:44] * toddmorey quit (Quit: Leaving.)
224: [10:38:00] * violetina has joined #silverstripe
225: [10:48:27] * spronk2 quit (Quit: spronk2)
226: [10:48:48] * iamss has joined #silverstripe
227: [10:49:12] <iamss> Hi guys! How do I override the get all records in the CMS Admin upon first load
228: [10:49:16] <iamss> ??
229: [10:50:02] <iamss> for example I have a ProductAdmin; when I click the ProductAdmin it will show all the product records right?
230: [10:50:23] <iamss> what I need is to add a filter on that trigger?
231: [10:50:38] <iamss> anyone ??
232: [10:59:52] * spronk2 has joined #silverstripe
233: [11:18:17] * ARNHOE has joined #silverstripe
234: [11:19:01] * mobiusnz quit (Ping timeout: 248 seconds)
235: [11:19:47] * toddmorey has joined #silverstripe
236: [11:26:33] * skorp has joined #silverstripe
237: [11:35:30] * toddmorey quit (Quit: Leaving.)
238: [11:39:42] * swordsmanz has joined #silverstripe
239: [11:46:55] * iamss quit (Ping timeout: 250 seconds)
240: [11:48:33] * joelpittet quit (Remote host closed the connection)
241: [11:50:40] * chillu has joined #silverstripe
242: [11:51:42] * chillu quit (Client Quit)
243: [12:14:44] * toddmorey has joined #silverstripe
244: [12:15:36] * mobiusnz has joined #silverstripe
245: [12:20:11] * mobiusnz quit (Ping timeout: 248 seconds)
246: [12:23:09] * DesignerX quit (Ping timeout: 272 seconds)
247: [12:30:28] * toddmorey quit (Quit: Leaving.)
248: [12:35:10] * travis-ci has joined #silverstripe
249: [12:35:11] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#615 (master - 0a1ffd3 : Ingo Schommer): The build was broken.
250: [12:35:11] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/42a55be91ae5...0a1ffd3e1aad
251: [12:35:11] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12784546
252: [12:35:11] * travis-ci has left #silverstripe
253: [12:45:09] * spronk2 quit (Quit: spronk2)
254: [12:46:34] * travis-ci has joined #silverstripe
255: [12:46:34] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1332 (master - d75f545 : Ingo Schommer): The build passed.
256: [12:46:34] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/337a29abce28...d75f545887c7
257: [12:46:34] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12784553
258: [12:46:34] * travis-ci has left #silverstripe
259: [12:54:04] * toddmorey has joined #silverstripe
260: [13:09:47] * toddmorey quit (Quit: Leaving.)
261: [13:16:07] * mobiusnz has joined #silverstripe
262: [13:20:47] * mobiusnz quit (Ping timeout: 272 seconds)
263: [13:24:49] * toddmorey has joined #silverstripe
264: [13:36:53] * joelpittet has joined #silverstripe
265: [13:41:15] * joelpittet quit (Ping timeout: 245 seconds)
266: [14:16:39] * mobiusnz has joined #silverstripe
267: [14:21:16] * mobiusnz quit (Ping timeout: 248 seconds)
268: [14:25:31] * ARNHOE quit (Remote host closed the connection)
269: [14:26:07] * ARNHOE has joined #silverstripe
270: [14:26:47] * ARNHOE quit (Read error: Connection reset by peer)
271: [14:27:04] * ARNHOE has joined #silverstripe
272: [14:43:17] * toddmorey quit (Quit: Leaving.)
273: [15:07:08] * ARNHOE quit (Remote host closed the connection)
274: [15:17:07] * mobiusnz has joined #silverstripe
275: [15:18:40] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
276: [15:21:30] * mobiusnz quit (Ping timeout: 256 seconds)
277: [15:22:13] * toddmorey has joined #silverstripe
278: [15:53:21] * peter_ss has joined #silverstripe
279: [15:53:49] <peter_ss> hi guys i'm getting this error on SS 3.1.1 when doing dev/build
280: [15:53:50] <peter_ss> PHP Fatal error: Access level to RedirectorPage::$db must be public (as in class Page)
281: [15:54:06] <peter_ss> and PHP Fatal error: Access level to RedirectorPage::$db must be public (as in class Page)
282: [15:54:11] <peter_ss> do you know what might be the issue?
283: [16:02:19] <peter_ss> ok got it now please ignore this
284: [16:06:23] * toddmorey quit (Quit: Leaving.)
285: [16:17:37] * mobiusnz has joined #silverstripe
286: [16:22:05] * mobiusnz quit (Ping timeout: 245 seconds)
287: [16:32:21] * gelignite has joined #silverstripe
288: [16:49:26] * toddmorey has joined #silverstripe
289: [16:53:36] * gelignite quit (Quit: http://bit.ly/nkczDT)
290: [17:07:48] * toddmorey quit (Quit: Leaving.)
291: [17:10:32] * toddmorey has joined #silverstripe
292: [17:18:12] * mobiusnz has joined #silverstripe
293: [17:21:44] * toddmorey quit (Quit: Leaving.)
294: [17:22:28] * mobiusnz quit (Ping timeout: 240 seconds)
295: [17:41:12] * toddmorey has joined #silverstripe
296: [18:04:41] * toddmorey quit (Quit: Leaving.)
297: [18:13:13] * toddmorey has joined #silverstripe
298: [18:18:35] * mobiusnz has joined #silverstripe
299: [18:29:24] * simon_w quit (Quit: This computer has gone to sleep)
300: [18:31:20] * jrthomer quit (Remote host closed the connection)
301: [19:01:02] * mobiusnz quit (Quit: Leaving.)
302: [19:01:37] * simon_w has joined #silverstripe
303: [19:02:57] * toddmorey quit (Quit: Leaving.)
304: [19:08:43] * swordsmanz quit (Read error: Operation timed out)
305: [19:16:59] * mobiusnz has joined #silverstripe
306: [19:30:58] * SightUnseen has joined #silverstripe
307: [19:31:03] * SightUnseen has left #silverstripe
308: [19:33:41] * toddmorey has joined #silverstripe
309: [19:37:42] * jrthomer has joined #silverstripe
310: [19:38:01] * jrthomer quit (Remote host closed the connection)
311: [19:38:51] * jrthomer has joined #silverstripe
312: [19:43:21] * nickmolhoek has joined #silverstripe
313: [19:43:52] * joelpittet has joined #silverstripe
314: [19:44:47] * skorp has left #silverstripe
315: [19:45:36] * jrthomer quit (Remote host closed the connection)
316: [19:49:51] * gelignite has joined #silverstripe
317: [19:51:40] * antmas has joined #silverstripe
318: [19:58:10] * Pyromanik has joined #silverstripe
319: [19:58:20] <Pyromanik> so like, fieldlist right.
320: [19:59:00] <Pyromanik> wouldn't it be more efficient to store the fields in a hash so fieldByName etc didn't perform a linear search every time it's called?
321: [20:00:26] * stecman has joined #silverstripe
322: [20:01:37] * UncleCheese has joined #silverstripe
323: [20:06:46] <antmas> so... CWP... it's no different from regular SS, excpet SS hosts the site and continuously updates?
324: [20:08:57] <simon_w> antmas, and there's a different default theme and some default modules
325: [20:09:08] <simon_w> Plus, ripoff training!
326: [20:09:50] <antmas> simon_w: yeah, I keep getting emails about it, just wondering if I was missing something that might be worth looking into
327: [20:17:22] * pippy has joined #silverstripe
328: [20:19:48] * pippy_ quit (Ping timeout: 240 seconds)
329: [20:22:00] * UncleCheese quit (Quit: UncleCheese)
330: [20:23:46] * UncleCheese has joined #silverstripe
331: [20:27:12] * toddmorey quit (Quit: Leaving.)
332: [20:28:54] <Pyromanik> antmas: work sponsored trip to WLG to catch up with SS folk in person?
333: [20:29:05] <Pyromanik> That sounds worth looking into.
334: [20:29:51] <antmas> Pyromanik: just the one trip?
335: [20:29:59] <antmas> Pyromanik: we travel all the time :D
336: [20:30:02] * Pyromanik shrugs
337: [20:56:49] * toddmorey has joined #silverstripe
338: [20:59:52] * DigNZ has joined #silverstripe
339: [21:04:34] * pippy_ has joined #silverstripe
340: [21:06:49] * pippy quit (Ping timeout: 272 seconds)
341: [21:10:00] * pippy_ quit (Ping timeout: 256 seconds)
342: [21:14:47] * pippy has joined #silverstripe
343: [21:16:58] <ss23> goddam it I hate some clients :/
344: [21:17:22] <ss23> "I'm not sure whether you wanted to revert it back to a known good state, or whether you want me to get a release ready to test on pda-test instead. Let me know how you would like this system tested." -> reply 10 days later "Also please let me know what exactly supposed to happen on our side? Anything you're waiting on from me?"
345: [21:20:29] * pippy quit (Ping timeout: 272 seconds)
346: [21:20:38] <simon_w> Here that antmas? He hates you!
347: [21:21:15] <ss23> :<
348: [21:21:18] <ss23> Not antmas this time!
349: [21:21:40] <simon_w> It's too early for lunch, isn't it?
350: [21:24:25] <ss23> For me it is :O
351: [21:24:48] * pippy has joined #silverstripe
352: [21:27:31] <antmas> I a lover, not a hater
353: [21:27:31] * pevjan_ quit (Read error: Connection reset by peer)
354: [21:27:41] <simon_w> Woo, four day week!
355: [21:27:48] <simon_w> And then a three day one next week!
356: [21:27:52] * pevjan has joined #silverstripe
357: [21:28:01] <simon_w> And next week's about getting ansible set up :)
358: [21:28:42] * pevjan quit (Remote host closed the connection)
359: [21:29:49] * antmas doesn't know what ansible is :/
360: [21:30:53] <simon_w> Similar to puppet/chef
361: [21:31:24] <antmas> ah
362: [21:32:56] <antmas> hmmm
363: [21:33:00] <antmas> actually sounds kinda cool
364: [21:37:45] * antmas should have booked Friday off
365: [21:37:48] <antmas> :<
366: [21:39:54] * DigNZ quit (Quit: DigNZ)
367: [21:52:40] <simon_w> I'm flying on Friday!
368: [21:52:51] <simon_w> So looking forward to when I don't have to go via Melbourne or Sydney
369: [21:52:52] <ss23> Where to!? :O
370: [21:53:06] <ss23> lol
371: [21:53:10] <ss23> I guess that answers it
372: [21:53:10] <ss23> :D
373: [21:53:32] <simon_w> Yay, we can create leases in PR Pro now!
374: [21:54:28] <simon_w> You might even be able to eventually add tenants
375: [21:55:03] * toddmorey quit (Quit: Leaving.)
376: [21:56:09] * gelignite quit (Quit: http://bit.ly/nkczDT)
377: [22:00:27] <Pyromanik> $AttributesHTML is very annoying.
378: [22:01:16] <simon_w> Well, it's to do with forms, so that's kinda a given :p
379: [22:01:38] <Pyromanik> it removes the ability to hardwire a class using templates.
380: [22:03:45] * peter_w has joined #silverstripe
381: [22:03:49] <simon_w> Ooh, I could get commit 500 for pro today
382: [22:03:51] <simon_w> Exciting
383: [22:06:21] <peter_w> Hey everyone....I have recently turned on email error and warning logs and I keep getting heaps of email saying filemtime(/home/stbab/public_html/framework/javascript/lang/en_GB.js) ...i have a look in the location and the .js file does not exist. Is there a mistake with SS because it is trying to include this non-existant file?
384: [22:06:28] * DigNZ has joined #silverstripe
385: [22:06:46] <Pyromanik> peter_w: well that's why you're getting the error.
386: [22:07:00] <Pyromanik> it sounds like you need to flush.
387: [22:07:06] <antmas> peter_w: just get the file from else where if you don't have it
388: [22:07:47] <Pyromanik> antmas: did you not read? It doesn't exist.
389: [22:09:03] <simon_w> Or does it? DUN DUN DUN
390: [22:09:09] * pippy_ has joined #silverstripe
391: [22:09:11] <Pyromanik> The options are Czech, German, Americanese, French, Italian, Japanese, Maori, Dutch, Slovak
392: [22:09:19] <antmas> Pyromanik: I did, I meant download the file from elsewhere
393: [22:09:29] <Pyromanik> antmas: but it doesn't exist.
394: [22:09:35] <antmas> SO GO GET IT
395: [22:09:43] <Pyromanik> DOES NOT EXIST
396: [22:09:48] <antmas> DOES NOT COMPUTE
397: [22:10:21] <Pyromanik> IT IS NOT MISSING, IT DOES NOT EXIST.
398: [22:10:42] <antmas> I didn't have it, I downloaded it, it exists
399: [22:10:44] <simon_w> FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT FIX IT
400: [22:10:48] <antmas> lol
401: [22:10:50] <Pyromanik> https://github.com/silverstripe/silverstripe-framework/tree/3.1/javascript/lang
402: [22:11:11] <Pyromanik> antmas: great, you downloaded a non-existant file. Grats.
403: [22:11:24] <Pyromanik> that doesn't help peter_w
404: [22:11:34] <antmas> oh god
405: [22:11:47] * antmas falls into a black hole
406: [22:11:52] * Colin[pi] has joined #silverstripe
407: [22:12:09] <Pyromanik> link or go home.
408: [22:12:19] <Colin[pi]> hai2uall
409: [22:12:26] * pippy quit (Ping timeout: 272 seconds)
410: [22:12:34] <Pyromanik> bai Colin[pi]
411: [22:12:40] * Pyromanik quit (Quit: leaving)
412: [22:12:42] <ss23> wow
413: [22:12:44] <ss23> wooow
414: [22:12:46] <ss23> you made him quit, Colin[pi]
415: [22:12:52] <Colin[pi]> lol
416: [22:13:01] <Colin[pi]> i have that effect on people
417: [22:13:15] <ss23> I affect people in the way that has taht effect
418: [22:13:16] <simon_w> Ooh, I don't have to work next Monday
419: [22:13:26] <ss23> simon_w: stop bragging!
420: [22:13:31] <simon_w> ss23, Labour Day!
421: [22:13:38] <simon_w> You don't have to work either!
422: [22:13:44] <antmas> I think I freaked him out because I found a 'non-existant' file
423: [22:13:47] <Colin[pi]> simon_w: that implies you do work the other days
424: [22:13:56] <antmas> suprise js-sex
425: [22:13:59] <ss23> YAY
426: [22:13:59] <ss23> :D
427: [22:14:08] <peter_w> So i guess everyone who lets there language to en_GB will get this error
428: [22:14:13] <peter_w> sets*
429: [22:14:41] * pippy_ quit (Ping timeout: 272 seconds)
430: [22:15:06] <antmas> peter_w: I guess so, so what I did was search for an en_GB.js file and use that
431: [22:15:16] <antmas> used*
432: [22:15:56] <peter_w> i could just copy en_US.js and rename I guess
433: [22:16:25] <peter_w> doesnt really solve the problem though.....just a temporary fix for this language
434: [22:16:54] <antmas> peter_w: I did that to get rid of the annoying error while debugging and then grabbed the file from elsewhere later on
435: [22:19:11] * pippy has joined #silverstripe
436: [22:19:27] <antmas> peter_w: you probably have a en_GB.php file, which actually just references the en_US.js file :P
437: [22:19:31] <antmas> be defacto
438: [22:21:19] <antmas> what's after labour day? Xmas?
439: [22:22:10] <simon_w> Yeah, that's the next one
440: [22:25:33] <peter_w> ok its a bit annoying because i need to add a en_GB.js in framework/javascript/lang framework/admin/javascript/lang and cms/javascript/lang
441: [22:36:43] <ss23> I'm really strugling to phrase "You're an idiot, go read the last email I sent you" nicely..,
442: [22:37:20] <Avroceptyr> Please refer to the email on x/y/z with further details around this issue.
443: [22:37:27] <Avroceptyr> Sincerely, ss23
444: [22:37:39] <Avroceptyr> P.S. You're a moron.
445: [22:37:41] <ss23> lol
446: [22:37:42] <ss23> XD
447: [22:42:18] <antmas> I always find '... like I said in the previous nth email...' to be as nice as I can make that :P
448: [22:43:33] * peter_w quit (Quit: Page closed)
449: [22:44:50] <simon_w> I just pass those ones off to Mark :p
450: [22:55:50] * toddmorey has joined #silverstripe
451: [22:56:12] * travis-ci has joined #silverstripe
452: [22:56:13] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#615 (master - 0a1ffd3 : Ingo Schommer): The build was broken.
453: [22:56:13] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/42a55be91ae5...0a1ffd3e1aad
454: [22:56:13] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12784546
455: [22:56:13] * travis-ci has left #silverstripe
456: [22:56:46] <simon_w> Oooh, Ingo broke it!
457: [23:00:26] * toddmorey quit (Ping timeout: 265 seconds)
458: [23:03:42] * travis-ci has joined #silverstripe
459: [23:03:42] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1334 (3.1 - 5c1a9d9 : Ingo Schommer): The build passed.
460: [23:03:42] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/f532b8483b98...5c1a9d9da5a6
461: [23:03:42] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12802493
462: [23:03:42] * travis-ci has left #silverstripe
463: [23:04:10] * DesignerX has joined #silverstripe
464: [23:06:01] <antmas> ooooh! Ingo fixed it!
465: [23:07:02] * violetina quit (Remote host closed the connection)
466: [23:08:47] <simon_w> Ah, setting up wildcard hosts for local dev turned out to be rather easy
467: [23:09:02] <simon_w> *.hhvm CNAME hhvm and then /etc/hosts entry for hhvm :)
468: [23:11:46] <simon_w> Decent tinyMCE competitors for basic syntax stuff (bold, italics, lists). Go!
469: [23:12:34] <kerosene> was talked about recently: http://madebymany.github.io/sir-trevor-js/
470: [23:16:32] <Colin[pi]> sir trevor?
471: [23:16:50] * travis-ci has joined #silverstripe
472: [23:16:51] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#616 (master - 50a48aa : Ingo Schommer): The build is still failing.
473: [23:16:51] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/0a1ffd3e1aad...50a48aa25dfd
474: [23:16:51] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12802801
475: [23:16:51] * travis-ci has left #silverstripe
476: [23:17:00] * travis-ci has joined #silverstripe
477: [23:17:01] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#616 (master - 50a48aa : Ingo Schommer): The build is still failing.
478: [23:17:01] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/0a1ffd3e1aad...50a48aa25dfd
479: [23:17:01] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12802803
480: [23:17:01] * travis-ci has left #silverstripe
481: [23:19:13] <antmas> jeez, what's going on over at SS? :P
482: [23:19:22] <antmas> travis is drunk
483: [23:19:26] <Colin[pi]> a whole lot of FAIL
484: [23:19:33] <simon_w> That German office is out of control!
485: [23:20:21] <Colin[pi]> simon_w: still going to the blue mountains?
486: [23:20:36] <Colin[pi]> hopefully something remains there for you!
487: [23:21:13] <simon_w> Yeah. Last they heard, the venue still exists, though the flames got rather close
488: [23:21:21] <Colin[pi]> :\
489: [23:22:28] <simon_w> Silly Australia. Can't decide if it wants to flood, burn or freeze
490: [23:22:48] <Colin[pi]> ALL OF THE ABOVE!
491: [23:23:05] <ss23> NOT ME IT'S INGO BREAKING IT YO
492: [23:23:22] <simon_w> "Twitter and email are distracting, sure, but nothing interrupts the office workflow like being handed a live crayfish."
493: [23:23:30] <ss23> rofl simon_w
494: [23:23:37] <antmas> haha
495: [23:24:12] <Colin[pi]> wha.. what?
496: [23:24:23] <kerosene> what's on in the mountains?
497: [23:24:57] <simon_w> kerosene, fire
498: [23:25:16] <kerosene> I mean, is there some dev event or something?
499: [23:25:16] <ss23> kerosene sounds bad for being on mountains, especially if there's fire
500: [23:25:20] <ss23> KEROSINE WILL MAKE IT WORSE! :O
501: [23:25:34] <kerosene> I don't actually have any kerosene on hand
502: [23:26:01] <simon_w> Pfft, like I'd go to a dev event in australia. I barely go to any here :p
503: [23:26:07] <simon_w> Got a wedding
504: [23:26:12] <kerosene> oh ok
505: [23:26:19] <Colin[pi]> 3 day wedding!
506: [23:26:21] * joelpittet quit (Remote host closed the connection)
507: [23:26:37] <antmas> hooray for weddings! - said no one, ever
508: [23:26:40] <simon_w> And I'm dating a bridesmaid!
509: [23:26:43] <kerosene> they're threatening forced evacuations, which will turn the highway into a car park
510: [23:26:46] <kerosene> just fyi :)
511: [23:27:18] <simon_w> They've got a week and a half to get it fixed :p
512: [23:27:23] <kerosene> kk
513: [23:27:34] * travis-ci has joined #silverstripe
514: [23:27:34] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#616 (master - 50a48aa : Ingo Schommer): The build is still failing.
515: [23:27:34] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/0a1ffd3e1aad...50a48aa25dfd
516: [23:27:34] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12802803
517: [23:27:34] * travis-ci has left #silverstripe
518: [23:27:46] <antmas> ouch ingo
519: [23:27:50] <UncleCheese> there's no constant for THEME_DIR?
520: [23:27:54] <Colin[pi]> ss23 y u no op anymore?
521: [23:28:07] <simon_w> UncleCheese, it's variable
522: [23:28:12] <UncleCheese> Global?
523: [23:28:37] <simon_w> SSViewer::get_theme_folder()
524: [23:28:43] <UncleCheese> gotcha
525: [23:29:05] <Colin[pi]> I could have sworn there was a constant for it
526: [23:29:09] <UncleCheese> me too
527: [23:29:32] <Colin[pi]> THEMES_DIR
528: [23:29:38] <simon_w> there's THEMES_DIR, which is for /themes/
529: [23:29:45] <simon_w> Not the current theme
530: [23:29:47] <UncleCheese> Ohhhh
531: [23:29:52] <UncleCheese> there we go
532: [23:29:52] <Colin[pi]> yep that'd be the one I remember
533: [23:30:01] <UncleCheese> yeah, maybe they want to allow you to change themes on the fly
534: [23:30:12] <simon_w> Want to? You can :p
535: [23:30:18] <UncleCheese> a theme technically isn't constant
536: [23:30:23] <UncleCheese> they way that the framework dir is constant
537: [23:32:59] * spronk has joined #silverstripe
538: [23:33:41] * travis-ci has joined #silverstripe
539: [23:33:41] <travis-ci> [travis-ci] silverstripe/silverstripe-framework#1335 (master - 9b23e8c : Ingo Schommer): The build passed.
540: [23:33:41] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-framework/compare/d75f545887c7...9b23e8c6c336
541: [23:33:41] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-framework/builds/12803344
542: [23:33:41] * travis-ci has left #silverstripe
543: [23:37:42] <mobiusnz> what replaces MemberTableField in ss3?
544: [23:37:48] <simon_w> GridField
545: [23:38:36] <mobiusnz> simon_w: is there a short way of replacing MemberTableField::addMembershipFields()?
546: [23:39:42] <simon_w> Add things to Member::$summary_fields
547: [23:40:11] <mobiusnz> isn't member in the core though?
548: [23:40:23] <simon_w> Yes
549: [23:40:30] <simon_w> And you know about extensions, right?
550: [23:40:36] <simon_w> Also, you can do it all through YAML
551: [23:40:51] <mobiusnz> ooh, how would I do it in YAML?
552: [23:40:55] * travis-ci has joined #silverstripe
553: [23:40:55] <travis-ci> [travis-ci] silverstripe/silverstripe-cms#616 (master - 50a48aa : Ingo Schommer): The build is still failing.
554: [23:40:55] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/silverstripe-cms/compare/0a1ffd3e1aad...50a48aa25dfd
555: [23:40:55] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/silverstripe-cms/builds/12802801
556: [23:40:55] * travis-ci has left #silverstripe
557: [23:41:10] <simon_w> Member:
558: [23:41:10] <simon_w> summary_fields:
559: [23:41:10] <simon_w> MyField: 'My Title'
560: [23:50:48] <simon_w> Bah, was just about to have the office to myself and then a director showed up
561: [23:50:54] <ss23> lol
562: [23:50:56] <ss23> simon_w: had lunch yet?
563: [23:51:02] <simon_w> Nope
564: [23:51:21] <ss23> simon_w: want lunch at some point? I'm just chillin atm, so no rush etc
565: [23:51:31] <simon_w> Yeah
566: [23:56:20] * toddmorey has joined #silverstripe

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