#silverstripe IRC Log

IRC log for 13 February 2013

All timestamps are in UTC.

1: [00:02:00] <Colin[pi]> sucks how Google Apps is not free anymore
2: [00:04:00] <FrozenFire> I, along with thousands of other people, abused the ever-loving shit out of it.
3: [00:04:00] <FrozenFire> I can understand why they did it.
4: [00:05:00] <FrozenFire> That being said, it sure fostered good-will toward them.
5: [00:05:00] <FrozenFire> Basically used them as a highly-reliable IMAP + SMTP server for a whole bunch of domains.
6: [00:05:00] <FrozenFire> Never visited their site more than two or three times per year.
7: [00:05:00] <FrozenFire> Basically zero profit in it for them, and a whole lot of overhead.
8: [00:06:00] <FrozenFire> I beg to differ.
9: [00:06:00] <irogue> office365 is cheaper
10: [00:06:00] <irogue> office365 is *good*
11: [00:06:00] <FrozenFire> Perhaps
12: [00:06:00] <FrozenFire> But it's Office365
13: [00:06:00] <irogue> they may need to revisit their pricing though
14: [00:07:00] <irogue> e.g. google apps don't give you the ability to do spam whitelists for your own domains
15: [00:07:00] <Colin[pi]> yeah I understand why they need to make money :)
16: [00:07:00] <FrozenFire> One of their evangelists tried to get my company to move to it
17: [00:07:00] <irogue> we had to move from gapps to office365 due to a bunch of downtimes on google apps and missing functionality
18: [00:07:00] <FrozenFire> We used it for two days, found that half of our workflow was broken, and went to Rackspace.
19: [00:08:00] <Colin[pi]> they need to pay Apple about a billion next year to keep Google as the default search on iOS products lol
20: [00:08:00] <irogue> so we were losing a lot of legit mail
21: [00:08:00] * spronk has joined #silverstripe
22: [00:08:00] <irogue> and hard-bounce spam destined for shared addresses, rather than marking it for spam folder
23: [00:09:00] <irogue> and, despite us paying quite a bit, an email to their support resulted in a "that's how we do it, so tough"
24: [00:09:00] <Pyromanik> FrozenFire: nah, I undid all the inline-block with conditional comments.
25: [00:10:00] <Colin[pi]> how much os office365 irogue?
26: [00:10:00] <irogue> Colin[pi]: http://www.microsoft.com/en-us/office365/compare-plans.aspx
27: [00:10:00] <irogue> us$4 per user per month
28: [00:10:00] <irogue> ultimately, it's an unsupported free email service, that you're paying for
29: [00:10:00] <Colin[pi]> *is also
30: [00:11:00] * liam quit (Quit: liam)
31: [00:11:00] <Colin[pi]> hmm and they can handle mail for a domain similar to google apps? how is the spam filtering?
32: [00:11:00] <irogue> FrozenFire: office365 has 24/7 phone support and will actually fix issues :-P
33: [00:11:00] <FrozenFire> It lacked so much functionality when we tried.
34: [00:11:00] <FrozenFire> That's why we didn't use it.
35: [00:11:00] <FrozenFire> The same is to be said of Office365...
36: [00:11:00] <FrozenFire> irogue, No doubt. You can't really expect a whole lot from a shared service like Google's mail.
37: [00:11:00] <irogue> FrozenFire: exactly, but that's my point
38: [00:11:00] <irogue> you can get a much better service cheaper
39: [00:12:00] <irogue> FrozenFire: if you're trying to use it the same way you use google, you're gonna have a bad time
40: [00:12:00] <FrozenFire> And we pissed about a week of man-hours into trying to use it.
41: [00:12:00] <FrozenFire> Exactly.
42: [00:12:00] <FrozenFire> We just wanted IMAP and SMTP
43: [00:12:00] <irogue> yeah
44: [00:12:00] <FrozenFire> Nothing more, nothing less.
45: [00:12:00] <irogue> then you picked the wrong service
46: [00:12:00] <irogue> nothing wrong with office365
47: [00:12:00] * ezero_ quit (Ping timeout: 256 seconds)
48: [00:12:00] * guci0 quit (Ping timeout: 245 seconds)
49: [00:13:00] <FrozenFire> I don't recall it ever not.
50: [00:13:00] <irogue> didn't for about the first 5 years
51: [00:13:00] <FrozenFire> If you cannot support the standard synchronized mail protocol... what the fuck are you doing, doing email?
52: [00:13:00] <FrozenFire> My recollection is that I could not use it myself at all
53: [00:13:00] <FrozenFire> Because I run Linux
54: [00:13:00] <irogue> FrozenFire: how long did gapps not support IMAP? :-P
55: [00:14:00] <irogue> then they added pop3, and finally imap
56: [00:14:00] <irogue> POP3 was added in 2007
57: [00:14:00] <FrozenFire> I've been using it myself for something like 6 or 7 years
58: [00:14:00] <FrozenFire> Year range?
59: [00:15:00] <irogue> oh, and IMAP
60: [00:15:00] <FrozenFire> Regardless, there's no technical reason for O365 not to support IMAP
61: [00:15:00] <Colin[pi]> the metro design on web pages really leaves a lot to be desired :\
62: [00:15:00] <FrozenFire> It's entirely because they want vendor lock-in
63: [00:15:00] <FrozenFire> Typical MS fashion. They co-opt a standard, fuck it up a whole bunch, and then rebrand it as their own.
64: [00:15:00] <irogue> FrozenFire: but that's fine. you buy office365 because you want it to work with your MS apps
65: [00:15:00] <FrozenFire> They want ActiveSync or whatever that bullshit is
66: [00:16:00] <irogue> that's why Gmail used ActiveSync for its iOS connector instead of IMAP
67: [00:16:00] <FrozenFire> Case in point: SilverLight
68: [00:16:00] <irogue> and tbh ActiveSync is a *lot* better than IMAP
69: [00:16:00] <irogue> IMAP's push support is really shite
70: [00:16:00] <FrozenFire> Then make sure nobody else can support their fucked up version.
71: [00:17:00] <irogue> and Flash is... flash
72: [00:17:00] <FrozenFire> There was never any good reason for them to make that.
73: [00:17:00] <irogue> well, html5 was still a fair way away at that point
74: [00:17:00] <FrozenFire> They dumped truckloads of money into it, pushed it into the market using their vendor contracts, spammed advertising + bundled installs for it.
75: [00:18:00] <Colin[pi]> i bet folks who chose Silverlight as a platform must be pretty pissed now
76: [00:18:00] <FrozenFire> No it didn't.
77: [00:18:00] <FrozenFire> They got a shitload of people developing for it... then dumped it for the piece of shit it was.
78: [00:18:00] <irogue> it filled a gap for a little while, then they knew HTML5 was mature enough and ditched Silverlight
79: [00:18:00] <FrozenFire> It was a vendor lock-in
80: [00:18:00] <FrozenFire> irogue, Difference is, Flash had a reason to exist.
81: [00:18:00] <FrozenFire> Even with their Moonlight shit
82: [00:18:00] <irogue> FrozenFire: same with Flash, now
83: [00:18:00] <FrozenFire> Couldn't really use it at all on Linux
84: [00:19:00] * FrozenFire parts ways with this discussion
85: [00:19:00] <FrozenFire> Ah, taking the cunt route, are we?
86: [00:19:00] <irogue> since you know *everything*
87: [00:19:00] <irogue> ok then FrozenFire
88: [00:19:00] <irogue> what should live video streaming sites have used in 2008?
89: [00:19:00] * Stomach quit (Quit: Leaving.)
90: [00:19:00] <FrozenFire> Way to take a discussion into the realm of insults.
91: [00:20:00] <irogue> people like that, no matter what platform, is stupid.
92: [00:20:00] <irogue> FrozenFire: you seem to have an irrational hate of all things MS, and will diss them without actual good reason
93: [00:20:00] <Colin[pi]> remember: arguing, internet, special olympics, retarded
94: [00:20:00] <FrozenFire> irogue, Where the hell did you get that from?
95: [00:20:00] <irogue> *are
96: [00:20:00] <FrozenFire> I was even excited for the whole Metro thing.
97: [00:20:00] <FrozenFire> My company does with with them
98: [00:20:00] <FrozenFire> I use MS stuff frequently.
99: [00:21:00] <FrozenFire> It is possible to criticize a company's proclivities without shitting on their entire product line.
100: [00:21:00] <FrozenFire> They make frequent bad decisions in regards to interoperability.
101: [00:21:00] <FrozenFire> And that's what I mega hate.
102: [00:21:00] <Colin[pi]> metro could have been sooo much better :( I really liked the Zune software interface, but Win8's version seems rushed
103: [00:21:00] <DesignerX> Hi, is ther a quick way to list all template.ss files in a /MyDir/ ?
104: [00:21:00] <FrozenFire> I've done coding for Windows-oriented support in PHP
105: [00:21:00] * ezero_ has joined #silverstripe
106: [00:21:00] <irogue> then why the mega hate on all the MS?
107: [00:22:00] <DesignerX> blub
108: [00:22:00] <FrozenFire> irogue, MS hater. You must know *everything*. Herpa derp.
109: [00:22:00] <FrozenFire> DesignerX, http://php.net/glob
110: [00:22:00] <Colin[pi]> irogue: it should be called Window 8, since the metro UI seems to have done away with, uh, windows
111: [00:22:00] <DesignerX> Frozen , got any ideas ? :D
112: [00:22:00] <FrozenFire> glob
113: [00:22:00] <FrozenFire> :P
114: [00:22:00] <irogue> FrozenFire: you didn't give any actual technical reasons for hating on Office365, ActiveSync, Silverlight
115: [00:22:00] <Colin[pi]> ls
116: [00:22:00] <irogue> Colin[pi]: ugh, don't get me started on win8 :-P
117: [00:22:00] <FrozenFire> DesignerX, glob
118: [00:23:00] <FrozenFire> Office365: Explicit and intentional lack of interoperability with all software not written by Microsoft.
119: [00:23:00] <FrozenFire> ActiveSync: Explicit and intentional lack of interoperability with all software not written by Microsoft.
120: [00:23:00] <FrozenFire> SilverLight: Explicit and intentional lack of interoperability with all software not written by Microsoft.
121: [00:23:00] <irogue> ActiveSync is an open standard
122: [00:23:00] <DesignerX> ah.. that glob
123: [00:23:00] <irogue> just "they aren't what *i* likeE"
124: [00:23:00] <FrozenFire> irogue, Yes I did.
125: [00:24:00] <FrozenFire> The only Linux implementation of ActiveSync that I'm aware of has had to be built using reverse engineering.
126: [00:24:00] <FrozenFire> That is exactly my point.
127: [00:24:00] <FrozenFire> There was no reason for it to exist.
128: [00:24:00] <FrozenFire> That's bullshit, and you know it.
129: [00:24:00] <irogue> hence Gmail using it
130: [00:24:00] <irogue> Silverlight... how the fuck would you make that interoperable? it's a browser plugin
131: [00:25:00] <irogue> but
132: [00:25:00] <irogue> that isnt interoperable
133: [00:25:00] <FrozenFire> Flash
134: [00:25:00] <irogue> or web-based games, for that matter
135: [00:25:00] <FrozenFire> And yet they used their weight to shove it in
136: [00:25:00] <irogue> [13:19] <irogue> what should live video streaming sites have used in 2008?
137: [00:25:00] <irogue> sure there is
138: [00:25:00] <irogue> and has vendor lockin
139: [00:25:00] <FrozenFire> Yes. But it's an existing vendor lock-in that is well-supported on most systems.
140: [00:26:00] <irogue> its pretty good now, since they support formats other than FLV
141: [00:26:00] <irogue> and (most importantly) is *terrible* at live video streaming
142: [00:26:00] <irogue> or at least was in 2008
143: [00:27:00] <FrozenFire> But instead, they wasted their time on SilverLight, and IE still stands as the #1 reason that nobody can seriously use HTML5 without fallbacks.
144: [00:27:00] <irogue> i did a site with live streaming back then, so explored all the possibilities
145: [00:27:00] <FrozenFire> If they had thrown their weight behind HTML5, which everyone knew at the time was where we were going, then it would've come faster and been better.
146: [00:27:00] <irogue> eh
147: [00:28:00] <irogue> mostly because of windows marketing bs
148: [00:28:00] <irogue> not pushing new IE into old windows versions
149: [00:28:00] <irogue> to try to force upgrades
150: [00:29:00] <FrozenFire> IE10 is still missing entire subsets of HTML5/CSS3/Javascript features
151: [00:29:00] <irogue> i don't doubt that, but i'd argue that pretty much every browser is at the moment
152: [00:29:00] <FrozenFire> No
153: [00:29:00] <irogue> cos theyve all been implementing their own prefixed shit until the spec actually got ratified
154: [00:29:00] <Pyromanik> FrozenFire: so is every other browser
155: [00:30:00] <irogue> whereas IE just waited
156: [00:30:00] <FrozenFire> IE and Safari both miss huge chunks.
157: [00:30:00] <FrozenFire> Yes. Each probably misses a couple.
158: [00:30:00] <Pyromanik> of the spec
159: [00:30:00] <Pyromanik> yeah, but they're ALL still MISSING features.
160: [00:31:00] <FrozenFire> http://caniuse.com/#compare=ie+9,ie+10,firefox+18,firefox+19,firefox+20,chrome+23,chrome+24,chrome+25,chrome+26,safari+5,safari+5.1,safari+6,opera+12,opera+12.1,opera+12.5
161: [00:31:00] <FrozenFire> Indeed.
162: [00:31:00] <FrozenFire> IE doesn't support these things because MS doesn't give a shit.
163: [00:31:00] <FrozenFire> That's their excuse.
164: [00:31:00] <irogue> safari just need to use a newer f'n webkit
165: [00:31:00] <Pyromanik> Colin[pi] i bet folks who chose Silverlight as a platform must be pretty pissed now -- Like this guy? SO MUCH BUTTHURT http://blog.jerrynixon.com/2012/05/windows-8-why-i-choose-xaml-metro-over.html
166: [00:32:00] <irogue> from all the blogs i've read, the IE team are real standards obsessed
167: [00:32:00] <FrozenFire> But they usually fuck it up in some discrete way so as to sabotage the whole feature.
168: [00:32:00] <irogue> but are held back by being a small team (since IE doesn't make money) and having to catch up hugely
169: [00:32:00] <Pyromanik> I don't think that's true
170: [00:32:00] <Pyromanik> the smaller ones or the more obscure / less stable will be seen in 11
171: [00:32:00] <FrozenFire> They make small gestures toward interoperability
172: [00:32:00] <Pyromanik> the heavier features
173: [00:32:00] <Pyromanik> I think they're just concentrating on things for THIS release
174: [00:33:00] <Pyromanik> and they don't implment unless they implement 100%
175: [00:33:00] <irogue> since the IE team was completely shut down after IE5
176: [00:33:00] <Pyromanik> One would have to say that IE are so standards obsessed that they don't implement half finished
177: [00:33:00] <Pyromanik> they just don't rolling update
178: [00:33:00] <FrozenFire> The fact that MS is pushing everything into "the web", while simultaneously not giving half a shit about browser specs, is pretty telling.
179: [00:33:00] <Pyromanik> or caring.
180: [00:33:00] <Pyromanik> they do give a shit
181: [00:33:00] <irogue> windows team are not known for caring about standards :-P
182: [00:33:00] <irogue> and the windows team did IE6-8
183: [00:34:00] <Pyromanik> esp. when for the most part it must be explicitly applied, something about 100% of users will never do.
184: [00:34:00] <Pyromanik> old school release schedules tend to get people a bit down.
185: [00:34:00] <FrozenFire> Anyways, this wasn't originally about browsers.
186: [00:34:00] <FrozenFire> That's a conversation that's been done to death.
187: [00:34:00] <FrozenFire> IE is bad, and always will be, because Microsoft doesn't give a shit.
188: [00:35:00] <Pyromanik> ok that last sentence I can agree with
189: [00:35:00] <FrozenFire> It's another in a long line of ways they've sabotaged technologies by doing it "the MS way"
190: [00:35:00] <Pyromanik> IE is bad, and always will be because it's IE. It's forever catchup.
191: [00:36:00] <irogue> they can diss the old guard
192: [00:36:00] <Colin[pi]> pretty funny how MS has based all of their marketing of IE10 around how shit the earlier versions were
193: [00:36:00] <irogue> yeah
194: [00:36:00] <irogue> new team etc
195: [00:37:00] <Colin[pi]> IE10 *is* much better, and yet the other day a fairly standard CSS design had an issue in it that did not occur in any other browsers I tested :(
196: [00:37:00] <Pyromanik> Colin[pi]: same thing they did for v8
197: [00:37:00] <Pyromanik> and 9 too I'm sure
198: [00:38:00] <Colin[pi]> hehehe
199: [00:38:00] <Colin[pi]> IE11 "No Really This Time It's Better" TM
200: [00:38:00] <Colin[pi]> IE12 "No Seriously, We Mean It This Time" TM
201: [00:38:00] <Colin[pi]> IE13 "Hey Guise, We Are Still Totally Awesome. Guise?" TM
202: [00:38:00] <FrozenFire> IE13 "Haha, We're Just Fucking With You. It's Good, Okay?" TM
203: [00:38:00] <FrozenFire> Gah
204: [00:38:00] <irogue> FF44 "Seriously, we think we've *actually* fixed all the memory leaks now"
205: [00:38:00] <Colin[pi]> that's true
206: [00:39:00] <FrozenFire> Which isn't really an excuse for them, since others manage not to have the same problems
207: [00:39:00] <FrozenFire> :P
208: [00:39:00] <FrozenFire> Though, my understanding is that most memory leaking in FF is due to extensions
209: [00:39:00] <FrozenFire> But hard to necessarily fault them for it.
210: [00:40:00] <Pyromanik> chrome gets around it by sandboxing extensions I believe
211: [00:40:00] <DesignerX> What memoet leak in FF ? its only using 2gb ram
212: [00:40:00] <irogue> FrozenFire: btw, when were you using Office365?
213: [00:40:00] <irogue> looks like they added IMAP mid 2012
214: [00:41:00] <Pyromanik> no good
215: [00:41:00] <irogue> orly?
216: [00:41:00] <Pyromanik> locks whole browser
217: [00:41:00] <Pyromanik> and just collapses if one of them needs to load an extension
218: [00:41:00] <Pyromanik> but then chrome also has SERIOUS speed issues with more than 10 tabs
219: [00:42:00] <DesignerX> Just wanan jump in, FF is the best, running 2 profiles , over 30 tabs, movies loading in the background (with flash!) , Design & development toold on the "Dev" profile ... & its works "FAST"
220: [00:42:00] <irogue> i don't suffer that one
221: [00:42:00] <Colin[pi]> me either
222: [00:43:00] <FrozenFire> As mentioned, it was one of their evangelists who tried to get us to start using it for free
223: [00:43:00] <irogue> https://dl.dropbox.com/u/4618071/chrome.png
224: [00:43:00] <irogue> this is a fairly light load in chrome for me :P
225: [00:43:00] <FrozenFire> irogue, I forget when we started and ended our use of it, but it was very early days to be honest.
226: [00:44:00] <irogue> put me off ever using Azure for a while
227: [00:44:00] <Pyromanik> they fanboy hard
228: [00:44:00] <Pyromanik> like jerry nixon
229: [00:44:00] <Pyromanik> Colin[pi]: irogue: whenever I get a website that makes heavy use of flash or even just javascript, it locks up bigtime
230: [00:44:00] <irogue> FrozenFire: yeah. just a shitty evangelist who didn't know the limitations of their own product
231: [00:44:00] <irogue> i've had a massive scrap on twitter with a MS evangelist
232: [00:44:00] <Pyromanik> not hard
233: [00:45:00] <irogue> i'm all "thats nice dear, are you going to rewrite all of my apps to have mssql support?"
234: [00:45:00] <irogue> they're all "mssql is better you idiot"
235: [00:45:00] <irogue> i'm all "yeah but i need mysql"
236: [00:45:00] <irogue> i told them Azure didn't suit me because i use a LAMP stack. they got all "azure has linux support you idiot"
237: [00:46:00] * liam has joined #silverstripe
238: [00:46:00] <Pyromanik> mssql better?
239: [00:46:00] <Pyromanik> ha!
240: [00:46:00] <irogue> Pyromanik: tbh, for certain things, its leaps and bounds ahead
241: [00:46:00] <irogue> mysql's replication is horrible, for example
242: [00:47:00] <FrozenFire> irogue, Had nothing to do with the evangelist himself.
243: [00:47:00] <Pyromanik> Colin[pi]: what would you rather?
244: [00:47:00] <irogue> Colin[pi]: most data is relational :-P
245: [00:47:00] <Colin[pi]> i still can't believe we rely on relational databases
246: [00:48:00] <FrozenFire> They never claimed the capability.
247: [00:48:00] <irogue> right
248: [00:48:00] <Colin[pi]> something which used a nicer syntax than SQL ;P
249: [00:48:00] <FrozenFire> It was simply that because of Microsoft's lack of concern for interoperability, we could not make use of the software.
250: [00:48:00] <FrozenFire> Whatsoever.
251: [00:49:00] <Pyromanik> Colin[pi]: so
252: [00:49:00] <irogue> kekeke
253: [00:49:00] <irogue> well fwiw it took gmail 4 years to add IMAP support and took MS 1 year ;)
254: [00:49:00] <Pyromanik> you think it sad but don't actually know of any alternatives?
255: [00:50:00] <irogue> FrozenFire: of course, but everyone else already had IMAP far before gmail did
256: [00:50:00] <Pyromanik> ORM
257: [00:50:00] <irogue> if you dont like SQL, use an abstraction layer
258: [00:50:00] <irogue> Colin[pi]: syntax schmyntax
259: [00:50:00] <Pyromanik> let alone superior ones?
260: [00:50:00] <FrozenFire> It took MS 1 year after it was already an established standard available through almost all noteworthy competitors.
261: [00:50:00] <FrozenFire> I don't give them any leeway in that regard.
262: [00:51:00] <Pyromanik> ps guys
263: [00:51:00] <FrozenFire> There was no good reason other than intentional breaking of interoperability so as to foster a vendor lock-in.
264: [00:51:00] <irogue> FrozenFire: both gmail and office365 don't run on standard mail servers, so had to write their own IMAP system in order to allow interfacing with it
265: [00:51:00] <Colin[pi]> well I dont mind SS's ORM, simple but works
266: [00:52:00] <Pyromanik> :D
267: [00:52:00] <Pyromanik> just making sure people have hurd (haha, get it?) of http://spritecow.com
268: [00:52:00] <irogue> i'd say that's not the same as "intentionally breaking interoperability"
269: [00:52:00] <willr> Pyromanik *slow clap*
270: [00:53:00] <Colin[pi]> lol
271: [00:53:00] <Pyromanik> seriously though, it's pretty cool.
272: [00:54:00] <irogue> Pyromanik: that is pretty sweet
273: [00:55:00] <Colin[pi]> nevar
274: [00:55:00] <irogue> wonder when/if IMAP will actually get push support?
275: [00:55:00] <FrozenFire> irogue, I consider lacking support for a standard and relevant protocol by a company of sufficient size to be intentional.
276: [00:55:00] <irogue> cos that really is my big thing in favor of ActiveSync right now
277: [00:56:00] <irogue> so you're making an assumption based on your dislike of the company?
278: [00:56:00] <irogue> FrozenFire: so Google did it intentionally too then?
279: [00:56:00] <FrozenFire> Intent does not necessarily mean malice.
280: [00:56:00] <FrozenFire> In the case of MS, I have to consider it malicious based upon their history.
281: [00:56:00] <FrozenFire> I don't know the history of Google having done it, so I can't speak to that.
282: [00:57:00] <irogue> OH GOD
283: [00:57:00] <FrozenFire> It's not something I'm trying to argue as a matter of opinion.
284: [00:57:00] <FrozenFire> My feelings on the matter are irrelevant to the facts.
285: [00:57:00] <irogue> but they're malicious
286: [00:57:00] <irogue> so you like them
287: [00:57:00] <irogue> okay
288: [00:57:00] <irogue> lol
289: [00:57:00] <FrozenFire> You read too deeply into things
290: [00:57:00] <FrozenFire> Did I say I dislike the company?
291: [00:57:00] <FrozenFire> History shows this.
292: [00:57:00] <FrozenFire> I said that the history of the company is wrought with intentional lack of interoperability.
293: [00:58:00] <irogue> cos each division is so insanely different
294: [00:58:00] <irogue> the Windows team are hugely malicious in their attempts at killing interop
295: [00:58:00] <irogue> disabling full OpenGL access to graphics drivers, for example
296: [00:58:00] <irogue> the key is to not think of MS as one company
297: [00:58:00] <FrozenFire> I agree
298: [00:59:00] <irogue> Azure, on the other hand, is a cloud linux platform
299: [01:00:00] <FrozenFire> Haha
300: [01:00:00] <irogue> what
301: [01:00:00] <irogue> i mean
302: [01:00:00] <irogue> ballmer's a cunt
303: [01:00:00] <FrozenFire> The malice usually takes place at the managerial level.
304: [01:00:00] <FrozenFire> DEVELOPERS DEVELOPERS DEVELOPERS
305: [01:00:00] <irogue> i just try not to assume *everyone* at MS is
306: [01:00:00] <irogue> and give teams the benefit of the doubt until i see otherwise
307: [01:00:00] <irogue> :P
308: [01:01:00] <FrozenFire> Indeed. That's what I've been saying.
309: [01:01:00] <FrozenFire> But they have a long history of anti-competitive behaviour.
310: [01:01:00] <FrozenFire> I don't think everything they put out is shit or broken.
311: [01:01:00] <FrozenFire> I don't hate their whole product line.
312: [01:01:00] <FrozenFire> Or rather, MS-ORIENTED DEVELOPERSx3
313: [01:02:00] <irogue> but Google are getting pretty shifty lately =/
314: [01:02:00] <FrozenFire> Yep
315: [01:02:00] <irogue> yep
316: [01:02:00] <FrozenFire> Dude, you're getting a Dell.
317: [01:02:00] <FrozenFire> They're publicly traded and subject to the whims of investors.
318: [01:02:00] <irogue> not trying to seem like i'm excusing MS for that, cos i'm not
319: [01:03:00] <irogue> suddenly, "lol we decided to remove activesync"
320: [01:03:00] <irogue> they didn't have to pay licensing or anything for AS, and the integration was already done and working, meaning iOS and Windows Phone folk could have push email
321: [01:03:00] <irogue> dropping ActiveSync from Gmail, therefore meaning that only Androids can get push notifications, is a good example
322: [01:03:00] <FrozenFire> They sure did the right thing.
323: [01:04:00] <irogue> FrozenFire: yeah. public companies ftl
324: [01:05:00] <Pyromanik> Science. It's not technology, it's politics.
325: [01:05:00] <irogue> i'm sure every decent company that's gone public has become shite.
326: [01:08:00] <irogue> patent trolling is a fun one
327: [01:08:00] <irogue> i always used to blame companies who were dicks with patents
328: [01:08:00] <irogue> suing all their competitors all the time
329: [01:08:00] <FrozenFire> My company just got out of an abusive relationship with one.
330: [01:09:00] <FrozenFire> We had been doing work for them, which was actually decent projects which were bankrolled by their patent trolling income.
331: [01:09:00] <irogue> til i realised that (a) if you don't "protect" your patent you can lose it, and (b) the company lawyers have a legal obligation to do what's best for the shareholders
332: [01:09:00] <FrozenFire> Basically just trying to keep a legitimate image by actually producing *something*
333: [01:09:00] <irogue> if a company knowingly ignores someone infringing their patent, they're actually breaking the law
334: [01:10:00] <FrozenFire> When we parted ways, they decided to try to claim rights to a product we developed *while* we were working with them.
335: [01:10:00] <Pyromanik> the entire fucking thing
336: [01:10:00] <Pyromanik> patents are so bullshit
337: [01:10:00] <FrozenFire> Meh. Both.
338: [01:10:00] <irogue> tl;dr: the patent system is the problem, not public companies enforcing them
339: [01:10:00] <Pyromanik> lolwut
340: [01:11:00] <FrozenFire> You can keep your patent by simply giving your competitor who is doing the same thing a limited license.
341: [01:11:00] <irogue> licensing is the big thing, imo
342: [01:11:00] <FrozenFire> For free
343: [01:11:00] <irogue> yep
344: [01:11:00] <Colin[pi]> MONEY IS TEH PROBLEM
345: [01:11:00] <irogue> yeah
346: [01:11:00] <FrozenFire> There's a very substantial difference between enforcement of patent rights, and intentional and malicious stifling of competitors through patent rights.
347: [01:12:00] <Colin[pi]> money corrupts this whole frickin planet
348: [01:12:00] <Pyromanik> NZ -b
349: [01:12:00] <irogue> *every other country
350: [01:12:00] <irogue> "it has been applied for, therefore we shall grant it"
351: [01:12:00] <irogue> basically every other company had just rubber-stamped the patent
352: [01:12:00] <irogue> NZ patent office were like "fuck off, OpenOffice and others have been doing that shit for ages"
353: [01:12:00] <Pyromanik> irogue: oh?
354: [01:12:00] <Colin[pi]> any time something goes to shit, because of moneys
355: [01:12:00] * irogue remembers when MS tried to do their Office XML patents here
356: [01:13:00] <irogue> and then shortly after that we just banned software patents
357: [01:13:00] * markeaston has joined #silverstripe
358: [01:14:00] <irogue> unfortunately, current govt is attempting to undo that right now
359: [01:14:00] <irogue> cos the USA is ordering it :-P
360: [01:16:00] <Pyromanik> that's bullshit
361: [01:16:00] <Pyromanik> yeh
362: [01:16:00] <ibeardslee> irogue: actually the MS XML patent was granted, but the work of a number of people got it revoked
363: [01:18:00] <irogue> right
364: [01:18:00] <ibeardslee> .. actually that is wrong as well .. it wasn't the patent office that told them to bugger off, MS withdrew it in the face off opposition.
365: [01:19:00] <irogue> since the detail aren't really that relevant
366: [01:19:00] <ibeardslee> http://nzoss.org.nz/content/nzoss-wins-patent-opposition
367: [01:19:00] * irogue is vastly oversimplifying
368: [01:19:00] <ibeardslee> but yes essentially the same thing, NZ standing up
369: [01:20:00] <ibeardslee> just hope Foss doesn't prove he's a complete moron.
370: [01:20:00] <irogue> yeah
371: [01:22:00] <Pyromanik> client getting their email campaigned spamfiltered when it goes to their workplace
372: [01:22:00] <Pyromanik> fuck
373: [01:22:00] <Pyromanik> how to fix?
374: [01:23:00] <Pyromanik> ?
375: [01:23:00] <Pyromanik> apparently
376: [01:23:00] <Pyromanik> also, who is foss/
377: [01:23:00] <Pyromanik> they've whitelisted all the send from IPs
378: [01:23:00] <irogue> Foss' performance on Novopay doesn't exactly inspire confidence though :P
379: [01:24:00] <ibeardslee> NZ MP
380: [01:24:00] <Pyromanik> oh yh
381: [01:24:00] <ibeardslee> http://www.beehive.govt.nz/minister/craig-foss
382: [01:34:00] <irogue> JEBUS
383: [01:34:00] <Colin[pi]> my gf is making my lunch, I am a lucky sob
384: [01:35:00] <Pyromanik> the fuck is wrong with this:
385: [01:35:00] <Pyromanik> margin-bottom: 1px dashed grey;
386: [01:35:00] <ss23> Then change to 1px dashed #fff; and try that
387: [01:35:00] <ss23> And see if that works
388: [01:35:00] <ss23> dashed?
389: [01:35:00] <Pyromanik> chrome says "Invalid property value"
390: [01:35:00] <Colin[pi]> - - - - -
391: [01:35:00] <spronk> Pyromanik: whats sending the mail?
392: [01:35:00] <ss23> change it to 1px solid #fff;
393: [01:35:00] <Pyromanik> i've gone blind
394: [01:36:00] <ss23> It might need to be either 1px grey dahsed, or 1px dashed #333; or something?
395: [01:36:00] <ss23> Easy to find out!
396: [01:36:00] <ss23> Is that particular order valid when specifying a color with a name?
397: [01:36:00] <Colin[pi]> dashed is valid
398: [01:36:00] <ss23> then 1px solid grey;
399: [01:36:00] <ss23> And you'll find out!
400: [01:36:00] <spronk> i can't see anything wrong with 1px dashed grey
401: [01:36:00] <spronk> AFAIK shorthand is size stroke colour
402: [01:37:00] <ss23> ya
403: [01:37:00] <spronk> margin-bottom
404: [01:37:00] <spronk> border-bottom
405: [01:37:00] <ss23> hahaha
406: [01:37:00] <spronk> wait
407: [01:37:00] <spronk> oh
408: [01:37:00] <Pyromanik> ROFL
409: [01:37:00] * spronk almost fell for that..
410: [01:37:00] <spronk> what the fuck man
411: [01:37:00] <ss23> margin-bottom only takes size
412: [01:38:00] <ss23> Oh yeah guys, I'm looking for a job now
413: [01:38:00] <spronk> CM going to spam is not a good sign at all
414: [01:38:00] <Pyromanik> client whitelisted the lot
415: [01:38:00] <Pyromanik> got a list of their IP's
416: [01:38:00] <spronk> ooh
417: [01:38:00] <Pyromanik> spronk: campaign monitor
418: [01:38:00] <Pyromanik> also
419: [01:38:00] <Pyromanik> FM
420: [01:38:00] <ss23> Well, "looking for a job"
421: [01:38:00] <spronk> GRADIENT-BOTTOM 1PX SOLID GOLD
422: [01:38:00] <ss23> ^.^
423: [01:38:00] <ss23> plz hire me instead
424: [01:38:00] <ss23> wow ur so bad at css
425: [01:38:00] <Pyromanik> pro as fuck
426: [01:39:00] <Pyromanik> yeah we're not sure if it's getting spammed or not
427: [01:39:00] <Pyromanik> all we know is that the client is having a mare
428: [01:39:00] <Pyromanik> not even foals, just like full grown mares.
429: [01:39:00] <spronk> damn straight
430: [01:39:00] <spronk> pm me the ips
431: [01:39:00] <Pyromanik> "whinge whinge we don't get"
432: [01:39:00] <Pyromanik> LIES
433: [01:40:00] <ss23> mares?
434: [01:40:00] <ss23> foals?
435: [01:40:00] <Pyromanik> or is comes through with "scanned by spamderp" on the bottom of it, and they have a mare about it because it looks unprofessional, and won't let them load the external images, or something
436: [01:40:00] <ss23> Is this a metaphor, or legit they're randomly being sent horse images?
437: [01:40:00] <Pyromanik> ss23: HORSES, STOP BEING BAD AT LIFE, GOSH
438: [01:40:00] <ss23> ;_;
439: [01:40:00] <ss23> I thought it was like a cheese/whine metaphor or something
440: [01:40:00] <ss23> idk
441: [01:50:00] <Pyromanik> don't have a .php.png on your images
442: [01:50:00] <Pyromanik> silverstripe doesn't like it
443: [01:50:00] <Pyromanik> also
444: [01:50:00] <Pyromanik> setting "access to Security tab - no sir"
445: [01:50:00] <Pyromanik> then logging in as that user
446: [01:50:00] <Pyromanik> no security tab in menu
447: [01:51:00] <Pyromanik> but browse to admin/security
448: [01:51:00] <Pyromanik> hey presto, sweetballs
449: [01:51:00] <spronk> oh wow
450: [01:51:00] <Pyromanik> LOLWUT
451: [01:51:00] <spronk> functions still work?
452: [01:51:00] <Pyromanik> well it loads, which is more than it should.
453: [01:51:00] <Pyromanik> haven't tried more
454: [01:52:00] * spronk believes that's an owasp top 10 fail right there.
455: [01:52:00] <Pyromanik> ah yeh
456: [01:52:00] <Pyromanik> nah
457: [01:52:00] <Pyromanik> view only
458: [01:52:00] <Pyromanik> groups and users though
459: [01:52:00] <Pyromanik> full list
460: [01:52:00] <spronk> https://www.owasp.org/index.php/Top_10_2010-A8
461: [01:54:00] <Pyromanik> mm
462: [01:54:00] <Pyromanik> can't do anything, but having access to a list of all users...
463: [01:54:00] <Pyromanik> :<
464: [01:54:00] <Pyromanik> although, is 2.4
465: [01:54:00] <Pyromanik> . ...???
466: [01:55:00] <Pyromanik> 3.0 haven't tested
467: [01:55:00] <spronk> hmm
468: [02:00:00] * liam quit (Quit: liam)
469: [02:05:00] * liam has joined #silverstripe
470: [02:10:00] <willr> Pyromanik latest 2.4? You may want to email security@silverstripe.org
471: [02:15:00] * ezero_ quit (Ping timeout: 252 seconds)
472: [02:21:00] <willr> public channels is probably not the place.. 0 day exploits suck
473: [02:21:00] <ss23> He said it wasn't really a sploit
474: [02:22:00] <ss23> True
475: [02:22:00] <ss23> Can only view the page, so not *really* critical
476: [02:22:00] <ss23> btw I investigated thta sendmail bug. It's *possible* to get code exec if they're using a non standard sendmail replacement
477: [02:22:00] <willr> where member information and emails could also be harvested.
478: [02:22:00] <ss23> :D
479: [02:22:00] * ss23 sells the 0day
480: [02:22:00] <willr> Well still revealing members is pretty critical say if a SS was used to have a list of all the grants a government has given out..
481: [02:23:00] <ss23> Are they all displayed by default?
482: [02:24:00] <Pyromanik> well
483: [02:24:00] <Pyromanik> in this situation they are
484: [02:24:00] <Pyromanik> requires more investigation
485: [02:24:00] <Pyromanik> not sure the specific setup
486: [02:27:00] * liam quit (Read error: Connection reset by peer)
487: [02:29:00] * liam has joined #silverstripe
488: [02:29:00] * ajshort has joined #silverstripe
489: [02:32:00] <Pyromanik> willr: ss23, spronk, might be a false alarm, might be due to the configuration of this site (and this user's group).
490: [02:33:00] <Pyromanik> mmm, seems this user has access to secruity section, however the tab is hidden from the menu. I presume programmatically.
491: [02:35:00] <spronk> ah
492: [02:41:00] * ajshort quit (Quit: Page closed)
493: [02:51:00] * DesignerX quit (Ping timeout: 240 seconds)
494: [03:08:00] * priithansen quit (Quit: priithansen)
495: [03:17:00] * DigNZ quit (Quit: DigNZ)
496: [03:19:00] * Pyromanik has left #silverstripe
497: [03:22:00] * DigNZ quit (Client Quit)
498: [03:22:00] * DigNZ has joined #silverstripe
499: [03:28:00] * DigNZ has joined #silverstripe
500: [03:28:00] * DigNZ has joined #silverstripe
501: [03:28:00] * DigNZ quit (Remote host closed the connection)
502: [03:34:00] * howardgrigg has joined #silverstripe
503: [03:37:00] * DesignerX has joined #silverstripe
504: [03:40:00] * howardgrigg quit (Ping timeout: 252 seconds)
505: [03:41:00] * SightUnseen has joined #silverstripe
506: [03:42:00] * SightUnseen has left #silverstripe
507: [03:43:00] * mobiusnz quit (Quit: Leaving.)
508: [03:43:00] * DigNZ quit (Quit: DigNZ)
509: [03:45:00] * howardgrigg has joined #silverstripe
510: [03:53:00] * SightUnseen1 has joined #silverstripe
511: [03:53:00] * howardgrigg quit (Remote host closed the connection)
512: [03:57:00] * SightUnseen1 quit (Ping timeout: 245 seconds)
513: [03:58:00] * howardgrigg has joined #silverstripe
514: [04:02:00] * mobiusnz has joined #silverstripe
515: [04:13:00] * aznain has joined #silverstripe
516: [04:13:00] <aznain> Can we use loop in template for specific number of times ?
517: [04:31:00] * cloph_away has joined #silverstripe
518: [04:32:00] * cloph_away1 quit (Ping timeout: 255 seconds)
519: [04:37:00] * markeaston quit (Quit: markeaston)
520: [04:40:00] * willr quit (Quit: willr)
521: [04:47:00] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
522: [04:54:00] * howardgrigg quit (Remote host closed the connection)
523: [04:59:00] * SightUnseen has joined #silverstripe
524: [05:00:00] * SightUnseen has left #silverstripe
525: [05:06:00] * dendeffe has joined #silverstripe
526: [05:08:00] * aznain quit (Ping timeout: 245 seconds)
527: [05:21:00] * SightUnseen has joined #silverstripe
528: [05:21:00] * SightUnseen has left #silverstripe
529: [05:24:00] * Error404NotFound has joined #silverstripe
530: [05:40:00] * Colin[pi] quit (Ping timeout: 276 seconds)
531: [05:40:00] * DesignerX quit (Ping timeout: 256 seconds)
532: [06:07:00] * SightUnseen has joined #silverstripe
533: [06:08:00] * SightUnseen quit (Client Quit)
534: [06:10:00] * SightUnseen has joined #silverstripe
535: [06:14:00] * SightUnseen quit (Client Quit)
536: [06:15:00] * howardgrigg has joined #silverstripe
537: [06:21:00] * liam quit (Quit: liam)
538: [06:23:00] * DesignerX has joined #silverstripe
539: [06:29:00] * SightUnseen has joined #silverstripe
540: [06:29:00] * SightUnseen has left #silverstripe
541: [06:49:00] * ajshort has joined #silverstripe
542: [06:58:00] * liam has joined #silverstripe
543: [07:05:00] * dendeffe quit (Quit: dendeffe)
544: [07:21:00] * liam quit (Quit: liam)
545: [07:24:00] * liam has joined #silverstripe
546: [07:27:00] * priithansen has joined #silverstripe
547: [07:36:00] * dendeffe has joined #silverstripe
548: [08:02:00] * DesignerX quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
549: [08:05:00] * zfmf has joined #silverstripe
550: [08:06:00] * hubertusanton has joined #silverstripe
551: [08:12:00] * chillu has joined #silverstripe
552: [08:21:00] * g4b0 has joined #silverstripe
553: [08:25:00] * guci0 has joined #silverstripe
554: [08:26:00] * ARNHOFF has joined #silverstripe
555: [08:30:00] * ARNHOFF is now known as ARNHOE
556: [08:31:00] <Zauberfisch> just saw http://my.opera.com/ODIN/blog/
557: [08:31:00] <Zauberfisch> hey gents
558: [08:31:00] <Zauberfisch> big news
559: [08:32:00] <Zauberfisch> opera going webkit
560: [08:34:00] * Colin[pi] has joined #silverstripe
561: [08:35:00] * Liquide quit ()
562: [08:36:00] <g4b0> hi all
563: [08:37:00] <g4b0> which is the best way to add some new page during module installation?
564: [08:50:00] <Zauberfisch> g4b0 you want to make a module that creates a new page when its first installed?
565: [08:50:00] <guci0> Yes, going going :)
566: [08:51:00] <guci0> It's good news but i using 11.64 :)
567: [08:52:00] <guci0> still
568: [08:52:00] <guci0> low processor power needs.
569: [08:52:00] <g4b0> Zauberfisch: yes
570: [08:52:00] <g4b0> it's a newsletter subsciption module
571: [08:53:00] <Zauberfisch> require defaults or something
572: [08:53:00] <Zauberfisch> g4b0 there is a hook for that, I just can't see, to remember the name
573: [08:53:00] <g4b0> I need a landing page for when the user subscribe
574: [08:54:00] <Zauberfisch> there we go
575: [08:54:00] <g4b0> does it works also in Extensions?
576: [08:54:00] <Zauberfisch> here is an example: https://github.com/silverstripe/silverstripe-cms/blob/3.0/code/model/SiteTree.php#L1324
577: [08:54:00] <Zauberfisch> in your Page class add the method requireDefaultRecords()
578: [08:54:00] <Zauberfisch> requireDefaultRecords()
579: [08:54:00] <Zauberfisch> ah
580: [08:55:00] <Zauberfisch> no, an extension can not overwrite an exisiting method
581: [08:55:00] <Zauberfisch> and since it already exists in sitetree
582: [08:55:00] <Zauberfisch> you can't overwrite it
583: [08:56:00] <Zauberfisch> oh, hold on, I see there is a hook for extensions
584: [08:56:00] * liam quit (Quit: liam)
585: [08:57:00] <g4b0> :)
586: [08:57:00] <Zauberfisch> ok, it should work
587: [08:57:00] <g4b0> nice :0
588: [08:57:00] <g4b0> thanks a lot
589: [08:58:00] * howardgrigg quit (Remote host closed the connection)
590: [09:07:00] * lx-berlin has joined #silverstripe
591: [09:16:00] <g4b0> ?
592: [09:16:00] <g4b0> Zauberfisch: where did you see the hook for extensions
593: [09:21:00] <g4b0> Zauberfisch: i found it :)
594: [09:24:00] * travis-ci has left #silverstripe
595: [09:24:00] * travis-ci has joined #silverstripe
596: [09:24:00] <travis-ci> [travis-ci] silverstripe/sapphire#1373 (3.1 - 923ad88 : Ingo Schommer): The build passed.
597: [09:24:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/15a156955ba0...923ad8861f06
598: [09:24:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4764541
599: [09:24:00] * liam has joined #silverstripe
600: [09:30:00] <Zauberfisch> g4b0 just for the logs: the hook is in DataObject
601: [09:31:00] <g4b0> exacltly
602: [09:38:00] * zfmf quit (Read error: Connection reset by peer)
603: [09:39:00] <g4b0> Zauberfisch: another question about requireDefaultRecords
604: [09:40:00] <g4b0> If I don't use the extension. but a widget
605: [09:40:00] <g4b0> that instantiata a controller
606: [09:40:00] <Zauberfisch> g4b0 it is a function of DataObject, so you can use it on all subclasses of DataObject and all extensions that are applyed to a DataObject
607: [09:40:00] <g4b0> how can I install default records?
608: [09:41:00] <g4b0> I know
609: [09:41:00] <Zauberfisch> if that does not answer your question, please explain further because I don't know what you mean
610: [09:42:00] <g4b0> class ZKMailChimpSubscribe extends Widget {
611: [09:42:00] <g4b0> I've got a widget
612: [09:43:00] <g4b0> http://pastebin.com/yj5KzAYr
613: [09:43:00] <g4b0> It's really simple
614: [09:44:00] <g4b0> It just return a Form from a custom controller
615: [09:44:00] <g4b0> As you can see there's no Extension or DataObject
616: [09:44:00] <g4b0> and It works fine
617: [09:45:00] <g4b0> but I have no way to create default landing pages
618: [09:48:00] * ajshort quit (Ping timeout: 272 seconds)
619: [09:49:00] <g4b0> So I just moved my code from Extension to Wiget
620: [09:49:00] <g4b0> I solved it!!! class Widget extends DataObject :)
621: [10:00:00] * Bollig|DesignCty quit (Quit: Bollig|DesignCty)
622: [10:00:00] * zfmf has joined #silverstripe
623: [10:00:00] * Bollig|DesignCty has joined #silverstripe
624: [10:05:00] <Zauberfisch> g4b0 the default landing page, isn't that one like "class LandingPage extends Page"?
625: [10:05:00] * howardgrigg has joined #silverstripe
626: [10:15:00] <g4b0> mmm
627: [10:15:00] <g4b0> no, it's just a Page
628: [10:21:00] * liam quit (Quit: liam)
629: [10:32:00] * ivoba has joined #silverstripe
630: [10:41:00] * delboy1978uk has joined #silverstripe
631: [10:44:00] <delboy1978uk> hey guys, ive just been handed a silverstripe site to set up, where do i find db settings?
632: [10:45:00] <delboy1978uk> i thought that but i dont see any connection settings
633: [10:45:00] <ivoba> which might be called mysite, which is default
634: [10:45:00] <ivoba> _config.php in your project folder
635: [10:46:00] <ivoba> search for that
636: [10:46:00] <delboy1978uk> i hope this last guy finished building this site, its due to launch!
637: [10:46:00] <ivoba> $databaseConfig = array(
638: [10:46:00] <delboy1978uk> ill nose around in it cheers
639: [10:48:00] <delboy1978uk> found it in a file called _ss_environment.php
640: [10:49:00] <delboy1978uk> it doesnt say that, it has define stuff
641: [10:49:00] <delboy1978uk> define('SS_DATABASE_SERVER', 'localhost');
642: [10:49:00] <delboy1978uk> that kind of thing?
643: [10:52:00] <Colin[pi]> hey guys, if I am calling $this->customise($data)->renderWith('template')... and the template is expecting a named DataObjectSet, but receives a NULL, will it then fall back to looking for the named DataObjectSet via the controller?
644: [10:53:00] <Colin[pi]> because that seems to be what is happening, want to make sure that's expected behaviour
645: [10:54:00] <ivoba> delboy1978uk: that looks kinda custom ??
646: [10:54:00] <delboy1978uk> yeah i'm starting to see that
647: [10:54:00] <ivoba> or unknown to me
648: [10:55:00] <delboy1978uk> gonna have to check now
649: [10:55:00] <delboy1978uk> im on the last guys pc and the db aint even on his machine
650: [10:55:00] <delboy1978uk> and worry
651: [10:55:00] <delboy1978uk> this is gonna be fun :-s
652: [10:55:00] <delboy1978uk> hope he wasnt editing live lol
653: [10:58:00] <delboy1978uk> GOOD GOD he was editing LIVE
654: [10:58:00] * dendeffe quit (Quit: dendeffe)
655: [10:59:00] <Colin[pi]> :C
656: [11:01:00] <delboy1978uk> this is not good lmao
657: [11:02:00] * ivoba quit (Ping timeout: 244 seconds)
658: [11:05:00] * guci0 quit (Ping timeout: 245 seconds)
659: [11:06:00] <priithansen> anyone good with entwine here?
660: [11:07:00] <priithansen> http://www.sspaste.com/paste/show/511b739f96462
661: [11:07:00] <priithansen> I have a textfield that I want to update it's preview div every time something changes. It works as long as I don't have multiple of those same blocks on the page
662: [11:08:00] <priithansen> How can I make sure that the textarea only updates the preview that belongs in the same div.content
663: [11:10:00] <priithansen> In the sample code at the moment the alert always shows content of the first textarea
664: [11:15:00] * howardgrigg quit (Remote host closed the connection)
665: [11:16:00] * howardgrigg has joined #silverstripe
666: [11:22:00] * delboy1978uk quit (Ping timeout: 252 seconds)
667: [11:25:00] * howardgrigg quit (Remote host closed the connection)
668: [11:28:00] * delboy1978uk has joined #silverstripe
669: [11:28:00] <Zauberfisch> Colin[pi] code?
670: [11:29:00] <Zauberfisch> delboy1978uk no, that is no custom stuff
671: [11:30:00] <delboy1978uk> the guy was still editing live on production though
672: [11:30:00] <delboy1978uk> i dont know if it is or not
673: [11:30:00] <Zauberfisch> _ss_environment.php is actually the propper way to set up things if you ask me
674: [11:30:00] <delboy1978uk> ah cool well thats a start
675: [11:30:00] <Zauberfisch> I only use _ss_environment.php
676: [11:31:00] <Zauberfisch> delboy1978uk read https://github.com/Zauberfisch/silverstripe-boilerplate#config-with-_ss_environmentphp
677: [11:31:00] <delboy1978uk> ah, you wrote this? awesome! and thanks!
678: [11:32:00] <Zauberfisch> delboy1978uk yes, its my silverstripe base template for starting a new project
679: [11:33:00] <Zauberfisch> priithansen what does throttle?
680: [11:34:00] <priithansen> Zauberfisch: its just a function to keep delay between two method calls
681: [11:35:00] <priithansen> shouldn't matter in this problem I think :\
682: [11:37:00] * dendeffe has joined #silverstripe
683: [11:41:00] <delboy1978uk> member:identifier:zauberfisch in the _ss_environment.php you set: define('SS_ENVIRONMENT_TYPE', 'live');
684: [11:41:00] <delboy1978uk> can you put a second db setting for testing servers
685: [11:41:00] <delboy1978uk> ?
686: [11:41:00] <delboy1978uk> then the db stuff
687: [11:42:00] <Zauberfisch> no, the environment is for error reporting, access to dev tools and such
688: [11:42:00] <Zauberfisch> per default you can not specify multiple db settings
689: [11:43:00] <priithansen> Zauberfisch: http://www.sspaste.com/paste/show/511b7c347eea3 < this is a better example. The alert always shows the content of the first textarea
690: [11:43:00] <Zauberfisch> but what you can do is if (!Director::isLive() { /* this site is in DEV mode, overwrite DB settings here */ }
691: [11:43:00] <delboy1978uk> ah right, thanks
692: [11:43:00] * dendeffe quit (Quit: dendeffe)
693: [11:44:00] <delboy1978uk> is this the db name? define('SS_DATABASE_CHOOSE_NAME', 2);
694: [11:44:00] <Zauberfisch> priithansen on line 15, try console.log($(this))
695: [11:44:00] <Zauberfisch> what does it give you?
696: [11:45:00] <Zauberfisch> delboy1978uk yes, SS_DATABASE_CHOOSE_NAME chooses the DB name for you
697: [11:45:00] * dendeffe has joined #silverstripe
698: [11:45:00] <Zauberfisch> so if you are in the folder /va/www/vhosts/foobar/httpdocs then the DB name would be foobar
699: [11:46:00] <Zauberfisch> or SS_foobar I think
700: [11:46:00] <delboy1978uk> cant i just explicitly tell it, this db please?
701: [11:46:00] <priithansen> Zauberfisch: splendid it recognizes the right textarea. So I should use the jquery this thing
702: [11:46:00] <delboy1978uk> so i need to rename the db i just created
703: [11:47:00] <priithansen> javascript never fails to make me feel retarded
704: [11:48:00] <Colin[pi]> jQuery's syntax doesn't help
705: [11:48:00] <delboy1978uk> jquery rocks and the retardation doesnt feel as bad lol
706: [11:49:00] <delboy1978uk> is it jquery your using?
707: [11:50:00] <delboy1978uk> never used entwine but jquery's syntax is great
708: [11:50:00] <priithansen> it's my first try with jquery and entwine
709: [11:50:00] <priithansen> not sure if it's the right place to use entwine but will see
710: [11:50:00] <Zauberfisch> delboy1978uk he is using entwine, which is quiet different from native jquery
711: [11:51:00] <Zauberfisch> i mean .focus().blur() who does such a thing?
712: [11:51:00] <Zauberfisch> delboy1978uk jquery syntax sucks compared to entwine
713: [11:51:00] <Zauberfisch> you are doing it right, but you could do much more in entwine and less in jquery
714: [11:51:00] <Zauberfisch> or at least not as much as you could use it
715: [11:51:00] <Zauberfisch> priithansen to be honest you are not using entwine right
716: [11:52:00] <Zauberfisch> onfocusin() onfocusout() ftw
717: [11:52:00] <Zauberfisch> delboy1978uk yes, of course you can just set the DB
718: [11:52:00] <Zauberfisch> delboy1978uk have you read https://github.com/Zauberfisch/silverstripe-boilerplate/blob/silverstripe-3/README.md#config-with-_ss_environmentphp ?
719: [11:52:00] <delboy1978uk> i just did! rocking and rolling!
720: [11:53:00] <Zauberfisch> "If you do not set SS_DATABASE_CHOOSE_NAME then you need to create a database manually, and set $database in /mysite/_config.php"
721: [11:53:00] <priithansen> Zauberfisch: could you show me the light :) with that small example
722: [11:53:00] <delboy1978uk> no i set SS choose name
723: [11:55:00] <Zauberfisch> priithansen you could do it like this: http://paste2.org/p/2858278
724: [11:55:00] <delboy1978uk> thanks for the help btw!
725: [11:56:00] <Zauberfisch> thats what I would do
726: [11:56:00] <delboy1978uk> next issue i have, logging into the cms. what table has the users, i dont see a users table?
727: [11:56:00] <Zauberfisch> because just using onmatch is basicly the same as using jquery.ready()
728: [11:56:00] <Zauberfisch> use entwine all the way
729: [11:57:00] <delboy1978uk> ah its in member
730: [11:57:00] <delboy1978uk> lol yeah cheers
731: [11:57:00] <Zauberfisch> delboy1978uk silverstripe calls users "Member"
732: [11:58:00] <priithansen> Zauberfisch: thanks for the tip, though I wonder if the onkeyup works with pasted text and such too. Will give it a go
733: [12:00:00] <Zauberfisch> priithansen but there is also "onchange"
734: [12:00:00] <Zauberfisch> priithansen yeah, you would need to try around
735: [12:01:00] <Zauberfisch> maybe taht one
736: [12:01:00] <Zauberfisch> priithansen http://paste2.org/p/2858307
737: [12:01:00] <priithansen> What i'm trying to achieve is a markdown field that updates html preview through ajax calls from php parser. Already had it working then I tried two markup fields in same page, now I'm rewriting my entwine :)
738: [12:03:00] <priithansen> Zauberfisch: very much appriciated
739: [12:05:00] <priithansen> On another note this almost certainly is a bad idea right? Requirements::css('themes/'. SSViewer::current_custom_theme() . '/css/typography.css');
740: [12:07:00] <priithansen> This is a method in my MarkdownField class that extends from TextareaField and all the method is supposed to do is get that css and $this->renderWith('PreviewFrame'); but themeCSS does not wan't to find the typography.css and this was the only way I could get it to include it.
741: [12:10:00] <Zauberfisch> themedCSS not working?
742: [12:11:00] <Zauberfisch> are you sure a typography.css exists?
743: [12:11:00] <priithansen> Nope maybe because it's a separate module and it's looking it from that modules templates dir
744: [12:11:00] <Zauberfisch> no
745: [12:11:00] <priithansen> Jep the above line works
746: [12:12:00] <Zauberfisch> btw, since this is an editor, you might want to inculde editor.css instead of typograpghy
747: [12:12:00] <priithansen> Thought that maybe the editor.css is more of a htmleditorfield thing and I should use my own makrdoweditor.css if needed
748: [12:12:00] <priithansen> I want to include the active themes typography.css for preview like the htmleditorfield does
749: [12:14:00] <kinglozzer> priithansen: Doesn't the HTMLEditorField just add a class 'typography' ?
750: [12:15:00] <priithansen> it's in a iframe
751: [12:15:00] <Zauberfisch> kinglozzer no
752: [12:15:00] <Zauberfisch> priithansen have a git repo for the markdown editor?
753: [12:15:00] <Zauberfisch> it loads the editor.css file, because its inside an iframe
754: [12:16:00] <kinglozzer> No custom JS for loading an iFrame as far as I can see
755: [12:16:00] <priithansen> Not yet I will clean my embarrassing js up then I'll make it available :)
756: [12:16:00] <kinglozzer> Was trying to work it out from looking at the HTMLEditorField class
757: [12:16:00] <kinglozzer> HTMLEditorField_Readonly adds a .typography class
758: [12:19:00] <priithansen> Not sure about readonly but the editor is definitely in a iframe that loads editor.css and has body.typography http://priithansen.com/htmlfield.png
759: [12:21:00] <kinglozzer> priithansen: Yes but the iFrame is created by javascript. If the HTMLEditorField_Readonly can get the styling by simply adding a .typrography class, have you tried that>?
760: [12:23:00] <priithansen> the editor.css is not included in the cms load I think
761: [12:24:00] <ec8or> is there anything like addMany() that doesn't add the entries to the db
762: [12:25:00] <kinglozzer> ec8or: I didn't think addMany() wrote anything until you called write() ?
763: [12:25:00] <ec8or> me neither but it seems like it
764: [12:26:00] <kinglozzer> Where are you doing it?
765: [12:26:00] <ec8or> kinglozzer: http://www.sspaste.com/paste/show/511b867262e07
766: [12:26:00] <ec8or> as soon as i call the StudentsWithTeacher function a class is written to my teacher member
767: [12:26:00] <kinglozzer> Are you sure?
768: [12:27:00] * priithansen has joined #silverstripe
769: [12:27:00] * priithansen has left #silverstripe
770: [12:27:00] * Colin[pi] quit (Ping timeout: 256 seconds)
771: [12:30:00] <kinglozzer> I'm sure I've used it before without it writing anything
772: [12:30:00] <kinglozzer> Hmm
773: [12:31:00] <kinglozzer> Where are you calling StudentsWithTeacher? Not in onBeforeWrite() or anything? ec8or
774: [12:31:00] <ec8or> no just in a foreach loop
775: [12:31:00] <ec8or> in a page controller
776: [12:32:00] <kinglozzer> ec8or: Is that calling write() at any point? Even the built in DataObject class has to call write() after using addMany()
777: [12:33:00] <ec8or> nope, posted it as a comment http://www.sspaste.com/paste/show/511b867262e07
778: [12:35:00] <ec8or> it is just using the memberID from the list
779: [12:35:00] <ec8or> but that is a completely different class
780: [12:35:00] <kinglozzer> I think $message->write() will be causing it. Try commenting it out
781: [12:35:00] <ec8or> yeah ok
782: [12:35:00] <kinglozzer> It's possibly that it has to write them to the database, as they now are related to $message in some way
783: [12:35:00] <kinglozzer> Try commenting it out and see if it still writes them
784: [12:36:00] * howardgrigg has joined #silverstripe
785: [12:39:00] <kinglozzer> Hmm, in HasManyList it seems it call write() after adding each object
786: [12:40:00] <kinglozzer> ec8or: Can you put your $this->Students() DataList and $teachers DataList into ArrayLists? Then use $arrayList->merge($teachers) ?
787: [12:41:00] <ec8or> removeMany() does remove the entries from the db i'm quite sure
788: [12:41:00] <ec8or> kinglozzer: yeah that should work
789: [12:42:00] <kinglozzer> ec8or: http://www.sspaste.com/paste/show/511b867262e07 I commented (forgot to syntax highlight :P)
790: [12:43:00] <ec8or> cool, thanks
791: [12:47:00] * howardgrigg quit (Remote host closed the connection)
792: [12:53:00] * howardgrigg has joined #silverstripe
793: [12:56:00] * howardgrigg quit (Remote host closed the connection)
794: [13:08:00] * Emil_Blume has joined #silverstripe
795: [13:13:00] * UndefinedOffset has joined #silverstripe
796: [13:45:00] <priithansen> There is light at the end of the tunnel. Any good ideas how to make so that parsepreview() can't be called more than once every second? http://www.sspaste.com/paste/show/511b98c9ef6e9
797: [13:46:00] <priithansen> At the moment it hammers the server with each new letter entered
798: [14:09:00] <kinglozzer> priithansen: setTimeout() ?
799: [14:10:00] <priithansen> That seems to just delay executing everything
800: [14:13:00] * EPIK quit (Ping timeout: 248 seconds)
801: [14:14:00] <kinglozzer> idea*
802: [14:14:00] <kinglozzer> Not tested, but that's the general ide
803: [14:14:00] <kinglozzer> priitansen: http://www.sspaste.com/paste/show/511b9fafd2d16
804: [14:15:00] <kinglozzer> I don't know if you can execute instantly, but only once per second
805: [14:15:00] <kinglozzer> That's a bit more tricky
806: [14:17:00] * Emil_Blume quit (Quit: Leaving.)
807: [14:19:00] <priithansen> Thanks kinglozzer added var set = this for the parsepreview() inside setTimeout and it appears to do the job just fine
808: [14:20:00] <kinglozzer> Cool :)
809: [14:30:00] * chillu quit (Quit: chillu)
810: [14:34:00] * samthejarvis has joined #silverstripe
811: [14:35:00] <samthejarvis> what's the simplest way to loop a set number of times, using <% loop %>?
812: [14:36:00] <samthejarvis> thinking about it, this should go on the forums, sorry guys
813: [14:36:00] <samthejarvis> say I have a property that = 5, how do I loop 5 times in the template?
814: [14:45:00] * guci0 has joined #silverstripe
815: [14:49:00] * samthejarvis quit (Ping timeout: 245 seconds)
816: [15:06:00] <lx-berlin> can someone explain me which routing rule is used in the cms, when i edit a gridfield item . URL: myproject/admin/pages/edit/EditForm/field/Teams/item/40/ItemEditForm/field/TeamMembers/item/31/edit
817: [15:10:00] <lx-berlin> i want to add a custom edit button that opens a popup just to show a from to edit all many_many_extrafields
818: [15:34:00] * mobiusnz has joined #silverstripe
819: [15:34:00] * mobiusnz quit (Ping timeout: 252 seconds)
820: [15:55:00] * ARNHOE quit (Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com ))
821: [16:10:00] * ivoba has joined #silverstripe
822: [16:39:00] * ivoba quit (Quit: Leaving)
823: [16:44:00] * ARNHOFF has joined #silverstripe
824: [16:52:00] * dendeffe quit (Quit: dendeffe)
825: [17:02:00] * g4b0 quit (Remote host closed the connection)
826: [17:04:00] * kinglozzer quit (Remote host closed the connection)
827: [17:19:00] * mobiusnz quit (Quit: Leaving.)
828: [17:19:00] * mobiusnz has joined #silverstripe
829: [17:20:00] * lx-berlin has left #silverstripe
830: [17:26:00] * iamss has joined #silverstripe
831: [17:30:00] <travis-ci> [travis-ci] silverstripe/sapphire#1378 (3.1 - 54237d5 : Zauberfisch): The build passed.
832: [17:30:00] <travis-ci> [travis-ci] Change view : https://github.com/silverstripe/sapphire/compare/923ad8861f06...54237d5b103d
833: [17:30:00] <travis-ci> [travis-ci] Build details : http://travis-ci.org/silverstripe/sapphire/builds/4774364
834: [17:30:00] * travis-ci has joined #silverstripe
835: [17:30:00] * travis-ci has left #silverstripe
836: [17:32:00] * catcher has joined #silverstripe
837: [17:33:00] * iamss quit (Ping timeout: 245 seconds)
838: [17:38:00] * lx-berlin has joined #silverstripe
839: [17:38:00] * lx-berlin has left #silverstripe
840: [17:39:00] * lx-berlin has left #silverstripe
841: [17:39:00] * lx-berlin has joined #silverstripe
842: [17:44:00] * delboy1978uk quit (Quit: delboy1978uk)
843: [17:51:00] <Zauberfisch> hooray
844: [17:55:00] <catcher> ?
845: [17:59:00] * zfmf quit (Ping timeout: 272 seconds)
846: [18:23:00] <priithansen> anyone use the addExtraClass('stacked') successfully on textareafiled? By default the main content field has it but the regular textarea doesn't wan't to go fullwidth
847: [18:34:00] <ARNHOFF> on a textareafield? I hav ejust in on a htmleditorfield
848: [18:35:00] <ARNHOFF> textareafield doesnt go full width without stacked aswell, as far I know
849: [18:38:00] * SightUnseen has joined #silverstripe
850: [18:38:00] * SightUnseen has left #silverstripe
851: [18:49:00] * Nivery has joined #silverstripe
852: [18:51:00] * gelignite has joined #silverstripe
853: [19:09:00] * mobiusnz quit (Quit: Leaving.)
854: [19:15:00] * dendeffe has joined #silverstripe
855: [19:24:00] <priithansen> ARNHOFF: thats the thing it doesn't go full width with stacked either
856: [19:24:00] <ARNHOFF> but htmleditorfield doesn't go full width either when being stacked, it is pretty much always full width
857: [19:25:00] <ARNHOFF> best to give it some class and just style it yourself
858: [19:27:00] <priithansen> Ok just wanted to make sure I'm not missing something obvious. I think theres some javascript keeping the textarea width because changing it in chrome inspector doesn't have any effect. It even changes back
859: [19:28:00] * simon__w is now known as simon_w
860: [19:29:00] * mobiusnz has joined #silverstripe
861: [19:29:00] * chillu has joined #silverstripe
862: [19:31:00] * DigNZ has joined #silverstripe
863: [19:34:00] <FrozenFire> SS 2.4 Uploadify needs DOM, right?
864: [19:37:00] * markeaston has joined #silverstripe
865: [19:39:00] <irogue> for 2.4
866: [19:39:00] <irogue> FrozenFire: yep anything by UC will need DOM
867: [19:39:00] <simon_w> And then everything breaks!
868: [19:40:00] <FrozenFire> Gah, enter.
869: [19:40:00] <FrozenFire> :P
870: [19:40:00] <FrozenFire> Oddly, it
871: [19:40:00] <FrozenFire> Oddly, it's not throwing an error for lack of DOM
872: [19:41:00] * ARNHOFF quit (Read error: Connection reset by peer)
873: [19:44:00] * tankr has joined #silverstripe
874: [19:45:00] * Emil_Blume has joined #silverstripe
875: [19:45:00] * slith has joined #silverstripe
876: [19:51:00] <irogue> OH SNAP
877: [19:52:00] <irogue> yay for one less rendering engine to care about!
878: [19:52:00] <irogue> was reading scrollback
879: [19:53:00] * markeaston quit (Quit: markeaston)
880: [19:54:00] <simon_w> Not that you ever cared about Presto anyway
881: [19:57:00] <BabySuperman> I've got a PaginatedList and I'm trying to loop over each element in PHP but it only seems to do 1 element... http://pastebin.com/skydq3Z8
882: [19:58:00] <irogue> (thank god)
883: [19:58:00] <irogue> more Opera users than IE<8 users
884: [19:58:00] <irogue> simon_w: i had to care a *little* as it's fairly common among the type of people who use our site
885: [19:59:00] <simon_w> BabySuperman, that's just going to loop over the ArrayData containing the information about the first page
886: [20:00:00] <simon_w> BabySuperman, just loop over the list itself
887: [20:00:00] <BabySuperman> simon_w: How do I do that...?
888: [20:00:00] <BabySuperman> simon_w: Oh I see
889: [20:01:00] <simon_w> Well, are you trying to loop over the pages or the elements?
890: [20:01:00] <BabySuperman> I just want to get the list of pages (i.e. 1 2 3 4 ... 91)
891: [20:02:00] <simon_w> Then just loop over $paginationPages
892: [20:03:00] <BabySuperman> foreach($paginationPages as $paginationPage) { -- like that? That's what I was doing
893: [20:03:00] <BabySuperman> (the [0] was after trying to fix this for a looong time lol)
894: [20:03:00] <simon_w> So maybe there's only one page?
895: [20:03:00] * Pyromanik has joined #silverstripe
896: [20:04:00] * zfmf has joined #silverstripe
897: [20:04:00] <BabySuperman> i could definitely be doing that wrong
898: [20:04:00] <BabySuperman> yeah I thought that's what it may be, but it should be more than 1 page
899: [20:06:00] <Pyromanik> [8:52] <irogue> yay for one less rendering engine to care about! <--LINK!
900: [20:07:00] <Pyromanik> [8:34] <FrozenFire> SS 2.4 Uploadify needs DOM, right? <-- No, DOM needs Uploadify, but not the other way around.
901: [20:08:00] <irogue> Pyromanik: http://my.opera.com/ODIN/blog/300-million-users-and-move-to-webkit
902: [20:09:00] <Pyromanik> O WOW
903: [20:10:00] <Pyromanik> I do like presto
904: [20:10:00] <Pyromanik> but
905: [20:10:00] <Pyromanik> this is cool too
906: [20:11:00] <Pyromanik> I wonder if they'll be using the Qt embedded webkit. Assuming not because that'd mean slower updates...
907: [20:11:00] <Pyromanik> I just hope they keep all the other extras. Dragonfly is the goods.
908: [20:12:00] <Pyromanik> there's not much left of Opera that isn't open source now.
909: [20:13:00] <simon_w> Isn't hard to wrap WebKit
910: [20:13:00] <simon_w> They're using the chromium branch
911: [20:13:00] * dendeffe quit (Quit: dendeffe)
912: [20:15:00] <irogue> Pyromanik: yeah the plan is to push anything Presto currently supports but webkit/chromium doesn't upstream
913: [20:15:00] <mobiusnz> https://bugzilla.mozilla.org/show_bug.cgi?id=840928
914: [20:15:00] <mobiusnz> lolz
915: [20:16:00] <irogue> and keep the existing UI and all the other non-web stuff
916: [20:17:00] <simon_w> Hehe, they think they innovate
917: [20:17:00] <Pyromanik> mobiusnz: BAHAHAHAHAHA "We might as well stop innovating and make a monoculture out of it."
918: [20:18:00] <irogue> that's quite funny
919: [20:19:00] <irogue> as much as i wish they did, because mozilla used to be the innovators and were good at it, they're just playing catch-up these days
920: [20:19:00] <Pyromanik> lolwut
921: [20:19:00] * Pyromanik learns
922: [20:19:00] <Pyromanik> https://github.com/kripken/emscripten/wiki
923: [20:21:00] * guci0 quit (Ping timeout: 245 seconds)
924: [20:21:00] <Pyromanik> say like, SVG Fonts.
925: [20:21:00] <Pyromanik> not such a bad idea until they outright refused to implement anything else.
926: [20:21:00] <Pyromanik> simon_w: well they 'innovated' those silly woff fonts.
927: [20:22:00] <Pyromanik> and they were the ones who pushed IndexedDB
928: [20:22:00] <Pyromanik> and having roots in netscape... they did pretty much invent the internet as we knownit
929: [20:22:00] <Pyromanik> s/n/ /
930: [20:41:00] <simon_w> Oh yay, this integration means I get to do some OpenID 2, some OAuth 1.0 requests and some OAuth 1.0 validation
931: [20:42:00] * slith quit (Quit: Leaving.)
932: [20:52:00] * simon_w doesn't want to keep reading
933: [20:56:00] <Pyromanik> stab eyes
934: [20:57:00] * zfmf has left #silverstripe
935: [20:58:00] <Pyromanik> someone who doesn't know what the f they're doing, that's who.
936: [20:58:00] <Pyromanik> urgh, who the f- renames .htaccess to htaccess.txt for the sake of transferring it :<
937: [21:01:00] <Pyromanik> "show hidden files"
938: [21:01:00] <simon_w> FTP is good like that
939: [21:02:00] <simon_w> Oh, I didn't see the lack of a dot
940: [21:02:00] <simon_w> You're transferring this file as text and I don't think its extension makes it a text file? .txt, bitches!
941: [21:02:00] <Pyromanik> that's a derp client, not ftp's fault.
942: [21:02:00] <Pyromanik> done
943: [21:02:00] <simon_w> It's also fairly common across clients
944: [21:03:00] <Pyromanik> then rename it after uploading
945: [21:03:00] * Pyromanik mumbles about how he found out the .txt bullshit
946: [21:03:00] <Pyromanik> basically
947: [21:03:00] <simon_w> Then complains when mod_rewrite isn't working
948: [21:03:00] <Pyromanik> and didn't know shit.
949: [21:03:00] <Pyromanik> like I did when I was 12.
950: [21:03:00] <Pyromanik> it's more likely that the developer can't see .files over ftp, so he copies and renames them
951: [21:03:00] <Pyromanik> as to always be able to tell the conents or something
952: [21:03:00] <Pyromanik> or some shit
953: [21:04:00] <Pyromanik> that makes me very unhappy.
954: [21:04:00] <Pyromanik> mod_rewrite wasn't working :P
955: [21:04:00] <Pyromanik> rename to .htaccess, suddenly good.
956: [21:04:00] <Pyromanik> except I just put modx 1.0.4 on our server.
957: [21:05:00] <Pyromanik> just that watery green crap
958: [21:05:00] <Pyromanik> although I bet there's no milk
959: [21:05:00] <Pyromanik> time for pool and hot chocolate
960: [21:05:00] <Pyromanik> NOT A HAPPY CAMPER TODAY
961: [21:05:00] <simon_w> Get grey top!
962: [21:07:00] * UndefinedOffset quit (Quit: Leaving.)
963: [21:08:00] <Pyromanik> oh right
964: [21:08:00] <Pyromanik> fullcream
965: [21:08:00] <Pyromanik> chew your drinks!
966: [21:08:00] <Pyromanik> wut
967: [21:08:00] <Pyromanik> ?
968: [21:08:00] <Pyromanik> silver
969: [21:09:00] <irogue> Pyromanik: or because windows doesn't let you create .htaccess files
970: [21:09:00] <Pyromanik> irogue: I know.
971: [21:09:00] <Pyromanik> UPDATE `transferredsite`.`modx_manager_users` SET `password` = MD5( 'lolpassword' ) WHERE `modx_manager_users`.`id` =1;
972: [21:10:00] <irogue> you can create and then rename
973: [21:10:00] <irogue> yeh
974: [21:10:00] <Pyromanik> well it does, just not through explorer.
975: [21:10:00] <Pyromanik> if you're using notepad to code things, then you're doing it wrong
976: [21:10:00] <irogue> which tells you that it has different filename validation for "new" and "rename"
977: [21:10:00] <irogue> code duplication wut wut
978: [21:10:00] <Pyromanik> and last I tried create and rename it doesn't allow rename
979: [21:10:00] <Pyromanik> but taht was like, windows 2k.
980: [21:11:00] <Pyromanik> gotta save it from editor as .htaccess or die trying.
981: [21:11:00] <irogue> huh, you're right
982: [21:11:00] <Pyromanik> DEVELOP THE WEB LIKE IT'S 1999 bitches!
983: [21:11:00] <irogue> i'm sure that worked at some point
984: [21:11:00] <Pyromanik> nup, never.
985: [21:12:00] <spronk> irogue asked pyro to be his valenbitch yet?
986: [21:16:00] <irogue> along with a V
987: [21:16:00] <irogue> :P
988: [21:16:00] <irogue> shouldve courierd him a card
989: [21:28:00] <simon_w> Could just ask ss23 :p
990: [21:30:00] <Pyromanik> How many different ways can you say the same thing in one sentence?
991: [21:30:00] <Pyromanik> JavaScript is disabled in your browser. For cPanel to function properly, you must enable JavaScript. If you do not enable JavaScript, certain features in cPanel will not function correctly.
992: [21:30:00] * Moezer has joined #silverstripe
993: [21:30:00] * Moezer is now known as blindMoe
994: [21:30:00] <blindMoe> are there any versions in the 2.x series which run on php 5.4 properly?
995: [21:31:00] <blindMoe> beautiful... upgrading this site to 3.x seems like a pain
996: [21:31:00] <Pyromanik> blindMoe: upgrades are generally pretty painless, just gotta be sure you get everything.
997: [21:31:00] <Pyromanik> blindMoe: 2.4.9
998: [21:31:00] <Pyromanik> irogue: that would have been fucking hilarious
999: [21:32:00] <Pyromanik> well upgrading 2.4 to 2.4 is just a matter of replacing cms and sapphire folders with newer versions and dev/build'n
1000: [21:32:00] <Pyromanik> from 2 -> 3 you just gotta search and replace a few things
1001: [21:32:00] <blindMoe> even from 2.x to 3.x ?
1002: [21:32:00] <blindMoe> yeah
1003: [21:33:00] <blindMoe> hrmm
1004: [21:33:00] <blindMoe> that makes sense since I could not find it ;)
1005: [21:33:00] <blindMoe> I think I will be going from 2.3 to 2.4.9
1006: [21:33:00] <Pyromanik> FieldSet -> FieldList, etc
1007: [21:33:00] <Pyromanik> oh yeah
1008: [21:33:00] <blindMoe> Pyromanik: quick question.. right now it is searching for a googlesitemap/_config.php file .. where in the Db does SS store the module info so I can just remove it?
1009: [21:33:00] <Pyromanik> so depends on complexity of back end customisations generally
1010: [21:33:00] <Pyromanik> it doesn't
1011: [21:33:00] <Pyromanik> dev/build
1012: [21:34:00] <Pyromanik> probably best to go via 2.4
1013: [21:34:00] <blindMoe> I'll try that first
1014: [21:34:00] <Pyromanik> 2.3 -> 2.4 -> 3.0
1015: [21:34:00] <Pyromanik> you're welcome
1016: [21:34:00] <blindMoe> this is on a 2.3 -> 3.0 upgrade attempt
1017: [21:34:00] <blindMoe> thanks for the info .. always appreciated
1018: [21:34:00] <blindMoe> yeah
1019: [21:36:00] <Pyromanik> er.
1020: [21:36:00] <Pyromanik> man, if WDCNZ isn't announced in march, imma be mad.
1021: [21:37:00] <Pyromanik> (2.3.x -> 2.4.0 -> 2.4.9)
1022: [21:37:00] <Pyromanik> 2.4 probably has some migration stuff in it to ease the trade up
1023: [21:37:00] <blindMoe> k .. I know I have run into some issues before with ss trying to update the db
1024: [21:37:00] <blindMoe> is the 2.4.9 release on this page a full release or just the updated files? I am wondering if I should upgrade to 2.4.0 then to 2.4.9
1025: [21:37:00] <blindMoe> this page: http://www.silverstripe.org/security-releases/
1026: [21:37:00] <Pyromanik> yes
1027: [21:37:00] <Pyromanik> well
1028: [21:37:00] <Pyromanik> wouldn't hurt
1029: [21:38:00] <blindMoe> hehe k now I get to hunt down the 2.4.0 release package
1030: [21:53:00] * Nivery quit (Quit: Nivery)
1031: [21:54:00] * ezero_ has joined #silverstripe
1032: [22:00:00] <Pyromanik> http://www.silverstripe.org/assets/downloads/SilverStripe-v2.4.0.tar.gz
1033: [22:01:00] <Pyromanik> They're all there, just not necessarily with links on the download page.
1034: [22:01:00] <blindMoe> when I copy the 2.4.9 files over and try to /dev/build it goes to the installation screen
1035: [22:01:00] <Pyromanik> just go 2.4.9 straight off
1036: [22:01:00] <Pyromanik> blindMoe: ^
1037: [22:01:00] <blindMoe> thanks.. got it on there now ... what sucks is the dev system is 5.4 so that package throws errors as well
1038: [22:01:00] <Pyromanik> oh yeah
1039: [22:02:00] <Pyromanik> is the site in dev mode?
1040: [22:02:00] <Pyromanik> ; in mysite_config.php
1041: [22:02:00] <Pyromanik> err, with a /
1042: [22:02:00] <Pyromanik> just sapphire and cms?
1043: [22:02:00] <Pyromanik> Director::set_environment_type('dev')
1044: [22:03:00] <blindMoe> hrmm one sec
1045: [22:03:00] <Pyromanik> yeh
1046: [22:03:00] <blindMoe> simon_w: sure did.. going to restart the upgrade again and not copy mysite
1047: [22:03:00] <simon_w> blindMoe, sounds like you copied mysite too, not just sapphire and cms
1048: [22:04:00] <Pyromanik> and if you copied it there, it only loads if there's no db data to be found
1049: [22:04:00] <Pyromanik> mine is first.
1050: [22:04:00] <Pyromanik> it'll only load install.php if it exists
1051: [22:04:00] <Pyromanik> and it only exists if you copied it there
1052: [22:04:00] <simon_w> And only if there's no database details already
1053: [22:04:00] <Pyromanik> haha, I beat you for a change!
1054: [22:04:00] <Pyromanik> :D
1055: [22:04:00] <simon_w> Same time :p
1056: [22:04:00] <Pyromanik> sif
1057: [22:05:00] <simon_w> Nah-uh, mine is
1058: [22:05:00] <Pyromanik> lag
1059: [22:05:00] <Pyromanik> !
1060: [22:05:00] <Pyromanik> hax!
1061: [22:05:00] <Pyromanik> etc
1062: [22:05:00] <simon_w> hax would be making it show up first for ss-log too :p
1063: [22:05:00] <Pyromanik> yes, but you can do that
1064: [22:05:00] <Pyromanik> that's what matters here :P
1065: [22:06:00] <Pyromanik> first!
1066: [22:06:00] <Pyromanik> <3
1067: [22:06:00] <simon_w> first!
1068: [22:06:00] <simon_w> http://s.geek.nz/p/4g
1069: [22:06:00] * liam has joined #silverstripe
1070: [22:06:00] <Pyromanik> 394:[11:04] <Pyromanik> it'll only load install.php if it exists
1071: [22:06:00] <Pyromanik> 395:[11:04] <Pyromanik> and it only exists if you copied it there
1072: [22:06:00] <Pyromanik> 396:[11:04] <Pyromanik> and if you copied it there, it only loads if there's no db data to be found
1073: [22:06:00] <Pyromanik> 397:[11:04] <simon_w> And only if there's no database details already
1074: [22:06:00] <Pyromanik> 398:[11:04] <Pyromanik> haha, I beat you for a change!
1075: [22:06:00] <simon_w> yeah, but it's really hard
1076: [22:07:00] <Pyromanik> looks like a photoshop
1077: [22:07:00] <Pyromanik> I can tell by some of the pixels and from having seen a few shops in my time.
1078: [22:07:00] <Pyromanik> lies
1079: [22:08:00] <simon_w> no shop in my dock!
1080: [22:08:00] <simon_w> http://s.geek.nz/p/4h
1081: [22:09:00] <tankr> installed "silverstripe/installer": "3.1.*@dev" via composer, then changed composer.json to reference framework and cms version 3.1.0-beta1 - but composer update fails...
1082: [22:09:00] <Pyromanik> ffffff cannot remember testing password
1083: [22:09:00] <Pyromanik> that's a lot of dock
1084: [22:09:00] <simon_w> admin/password
1085: [22:10:00] <Pyromanik> you pretty much have to do everything through the composer command
1086: [22:10:00] <Pyromanik> tankr: it hates it when you change composer.json in my experience.
1087: [22:10:00] <Pyromanik> did you update composer?
1088: [22:11:00] <tankr> on my local - if it hates it when you change composer.json wtf is the point
1089: [22:12:00] <Pyromanik> others say it works
1090: [22:12:00] <Pyromanik> I've never found it to, ever.
1091: [22:12:00] <Pyromanik> that was my thought exactly
1092: [22:12:00] <Pyromanik> I've abandoned hope for composer since that moment
1093: [22:13:00] * howardgrigg has joined #silverstripe
1094: [22:13:00] <Pyromanik> oh
1095: [22:13:00] <Pyromanik> ok then
1096: [22:13:00] * howardgrigg has joined #silverstripe
1097: [22:13:00] * howardgrigg quit (Remote host closed the connection)
1098: [22:13:00] <Pyromanik> howardgrigg: how to composer?
1099: [22:14:00] * gelignite quit (Quit: http://bit.ly/nkczDT)
1100: [22:15:00] * ezero_ quit (Quit: Friends help you move. Real friends help you move bodies.)
1101: [22:16:00] <Pyromanik> :<
1102: [22:16:00] <Pyromanik> shouldn't do
1103: [22:16:00] <blindMoe> hrmm seems like I will need to shut off strict standards to get this site working properly
1104: [22:17:00] <Pyromanik> customisation*
1105: [22:17:00] <Pyromanik> just fix the custom code
1106: [22:17:00] <Pyromanik> 2.4.9 shouldn't have unstrict code in it
1107: [22:17:00] <Pyromanik> so it's either modules or custoisations
1108: [22:18:00] <Pyromanik> lolwut
1109: [22:18:00] <blindMoe> site had redirected me back to the live site... looks like whoever coded the theme hard coded the urls
1110: [22:18:00] <blindMoe> ahh I found the problem
1111: [22:19:00] <Pyromanik> We've given you a CMS: Do not use it.
1112: [22:19:00] <Pyromanik> rofl
1113: [22:22:00] <irogue> we used to do that
1114: [22:22:00] <irogue> kekeke
1115: [22:23:00] <irogue> so customers didn't fubar their site by adding more top-level pages than could fit on the nav
1116: [22:23:00] <simon_w> E_STRICT errors everywhere!
1117: [22:23:00] <simon_w> Pyromanik, 2.4 doesn't turn on E_STRICT
1118: [22:26:00] * howardgrigg quit (Remote host closed the connection)
1119: [22:27:00] * blindMoe knocks on wood
1120: [22:27:00] <spronk> hopefully opera -> webkit won't turn it into a blithering wreck for heavy usage like chrome and safari
1121: [22:27:00] <spronk> hmm
1122: [22:27:00] <blindMoe> ok looks like everything is working now
1123: [22:28:00] <irogue> are you another one with 1GB RAM? :-P
1124: [22:29:00] <Pyromanik> it re-crashed the computer
1125: [22:29:00] <Pyromanik> after a crash
1126: [22:29:00] <Pyromanik> irogue: I tried to restore a session last night
1127: [22:30:00] <Pyromanik> I agree with the spronk
1128: [22:30:00] <spronk> ..all week
1129: [22:30:00] <spronk> WHAT A MACHINE
1130: [22:30:00] <Pyromanik> chrome: THE BADS
1131: [22:30:00] <spronk> chrome can't handle my usage *at all*
1132: [22:30:00] <spronk> opera happily sits here with >80 tabs open
1133: [22:31:00] <spronk> dno wtf is with that
1134: [22:31:00] * SightUnseen has joined #silverstripe
1135: [22:31:00] <Pyromanik> doesn't start up as fast as chrome, unless you're starting chrome with tabs already open, in which case it takes a fcuking eon.
1136: [22:31:00] <Pyromanik> firefox not so much, but it does do more tabs than chrome can.
1137: [22:31:00] <Pyromanik> especially at startup
1138: [22:31:00] <spronk> yeah
1139: [22:31:00] <spronk> firefox just gets periodically slower
1140: [22:31:00] <spronk> leaks resources somehow
1141: [22:32:00] <Pyromanik> opera is slower still, but is all "step the fuck back, I got this!"
1142: [22:32:00] <spronk> esp when javascripting
1143: [22:32:00] <spronk> doesn't chunk up like chrome does
1144: [22:32:00] <spronk> opera feels faster to me
1145: [22:33:00] <Pyromanik> 2 mins later *Beep* - everything fine.
1146: [22:33:00] <Pyromanik> IKR
1147: [22:33:00] <spronk> v8 eats your cpu like death
1148: [22:33:00] <Pyromanik> 'hey, some javascript in a baaaccccckkkggrrooouunnn.... *dead*
1149: [22:33:00] <Pyromanik> *whole computer locks up*
1150: [22:33:00] <Pyromanik> chrome clun... YES
1151: [22:34:00] <Pyromanik> chrome: fantastic for less than 10 tabs.
1152: [22:34:00] <Pyromanik> NO SIR
1153: [22:34:00] <Pyromanik> any more?
1154: [22:34:00] <Pyromanik> no shit, an actual system bell
1155: [22:35:00] <Pyromanik> but not
1156: [22:35:00] <spronk> woiw
1157: [22:35:00] <spronk> i don't even think i have a pc speaker anymore
1158: [22:35:00] <Pyromanik> yeah, it's not an actual pc speaker, just a 'Ding' over the headphones
1159: [22:35:00] <Pyromanik> but not the windows ding
1160: [22:35:00] <Pyromanik> like a beep
1161: [22:35:00] <Pyromanik> like a pc speaker
1162: [22:35:00] <spronk> oic
1163: [22:36:00] <Pyromanik> prolly a windows paging thing
1164: [22:36:00] * SightUnseen has left #silverstripe
1165: [22:37:00] <tankr> Pyromanik: I think you can configure chrome to only load background tabs once you click on them - if you start chrome with tabs open
1166: [22:41:00] <liam> is it possible to remove or replace tabs in the "Insert Media" popup form in the cms?
1167: [22:42:00] <Pyromanik> tankr: I'd expect something like that, but they oversimplified the settings UI and now I can't set my settings because it's so simple everything is actually obscure and therefore extremely unsimple.
1168: [22:44:00] <tankr> Pyromanik: bummer! btw that composer update issue was due to me not having the correct versions in the requirements
1169: [22:45:00] <webguest> i am vertically centering an image, but my jquery is not giving the correct height of the image and wrapper.. http://paste2.org/p/2862497
1170: [22:45:00] <Pyromanik> oh yeah
1171: [22:45:00] * webguest has joined #silverstripe
1172: [22:46:00] <tankr> Pyromanik: essentially http://pastie.org/6157888#27 should be 3.1.x-dev like it specifies here under the 3.1.0-beta1 section https://packagist.org/packages/silverstripe/cms
1173: [22:46:00] <webguest> had to login into #jquery
1174: [22:46:00] <Pyromanik> also
1175: [22:46:00] <Pyromanik> webguest: I... umm... this channel is about SilverStripe
1176: [22:46:00] <webguest> srry :P
1177: [22:47:00] <webguest> its a responsive site
1178: [22:47:00] <webguest> but it seems jquery never thinks the image is loaded
1179: [22:47:00] <Pyromanik> I see
1180: [22:47:00] <Pyromanik> just line-height same height as container
1181: [22:47:00] <Pyromanik> img { vertical-align: middle; }
1182: [22:47:00] <Pyromanik> done
1183: [22:47:00] <webguest> even if the margin-top is negative?
1184: [22:47:00] <Pyromanik> or
1185: [22:47:00] <webguest> wrapper is 120px, image 200px height
1186: [22:47:00] <Pyromanik> why is margin-top negative?
1187: [22:47:00] <Pyromanik> responsive is a kick in the balls.
1188: [22:48:00] <Pyromanik> ?
1189: [22:48:00] <Pyromanik> just img { height: 100%; }
1190: [22:48:00] <webguest> but also kickass
1191: [22:48:00] <webguest> http://o.robvaneckdesign.nl/patient/de-kliniek/wie-zijn-wij/
1192: [22:48:00] <webguest> see images of employees
1193: [22:49:00] <webguest> it should v-center
1194: [22:49:00] <Pyromanik> right
1195: [22:49:00] <Pyromanik> I did this the other day
1196: [22:49:00] <Pyromanik> because IE8 does not support resizing perserving ratio
1197: [22:50:00] <ss23> My valentines rule is that it has to have a vagina
1198: [22:50:00] <ss23> 10:29:34 <@simon_w> Could just ask ss23 :p
1199: [22:50:00] <ss23> In fact, that's pretty much the only rule...
1200: [22:50:00] <webguest> Pyromanik, do you have the jquery ? :)
1201: [22:51:00] <Pyromanik> webguest: I'm just trying to find it
1202: [22:51:00] <webguest> Great :)
1203: [22:55:00] <simon_w> ss23, you would turn irogue down?
1204: [22:55:00] <ss23> For sure.
1205: [22:56:00] <Pyromanik> webguest: document.querySelector('.typography img.left').attributes.width.nodeValue
1206: [22:56:00] <webguest> can i put this in jquery?
1207: [22:56:00] <Pyromanik> personally I'd just set it as a background image
1208: [22:56:00] <Pyromanik> center center
1209: [22:56:00] <Pyromanik> to get actual height of image
1210: [22:56:00] <Pyromanik> as opposed to 'applied' one
1211: [22:57:00] <Pyromanik> or whichever it is
1212: [22:57:00] <Pyromanik> background-size: fit
1213: [22:57:00] <Pyromanik> much easier
1214: [22:57:00] <Pyromanik> or cover
1215: [22:58:00] <Pyromanik> since crapper browsers aren't going to read media queries anyway, just start off with full size image (biggest query)
1216: [22:58:00] <webguest> but then i have to use inline styling on a a href ... thats not so nice
1217: [23:00:00] <liam> anyone know where the code for the editortoolbar is in the cms?
1218: [23:01:00] * Colin[pi] has joined #silverstripe
1219: [23:01:00] <Pyromanik> webguest: $(document).ready(function(){
1220: [23:01:00] <Pyromanik> $('.typography img.left').each(function(){
1221: [23:01:00] <Pyromanik> var widtheightAttrtr = this.attributes.width.value;
1222: [23:01:00] <Pyromanik> var heightAttr = this.height;
1223: [23:01:00] <Pyromanik> var jqueryWidth = $(this).width();
1224: [23:01:00] <Pyromanik> if(widtheightAttrtr && jqueryWidth < widtheightAttrtr) {
1225: [23:01:00] <Pyromanik> $(this).height(Math.round(jqueryWidth/(widtheightAttrtr/heightAttr)));
1226: [23:01:00] <Pyromanik> }
1227: [23:01:00] <Pyromanik> });
1228: [23:01:00] <Pyromanik> });
1229: [23:02:00] <webguest> ill try it
1230: [23:02:00] <Pyromanik> this was recovering from TinyMCE being a dick and sticking height and width attributes on an image
1231: [23:02:00] <Pyromanik> but then css was ma-width: 100%
1232: [23:02:00] <webguest> ok thx pyromanik
1233: [23:02:00] <Pyromanik> err 50%
1234: [23:03:00] <Pyromanik> so your code will look different, but the ways of getting the proper height vs the applied height are there
1235: [23:03:00] <Pyromanik> and IE8 was squishing the image because it was respecting both max-width and the hard styled height attribute
1236: [23:04:00] <Pyromanik> liam: HTMLEditor::getConfig('cms') or something like that
1237: [23:05:00] <liam> Pyromanik: I managed to find it. inside leftandmain. any ideas if there would be a way to override it nicely?
1238: [23:06:00] <Pyromanik> the code I just typed?
1239: [23:07:00] <Pyromanik> liam: http://api.silverstripe.org/3.0/forms/fields-formattedinput/HtmlEditorConfig.html
1240: [23:07:00] <Pyromanik> HtmlEditorConfig::get('cms')
1241: [23:08:00] <Pyromanik> I don't follow
1242: [23:08:00] <Pyromanik> eg HtmlEditorConfig::get('cms')->setButtonsForLine(1, 'bold', 'italic', 'underline', 'sslink', 'unlink', 'undo', 'redo', 'pastetext');
1243: [23:08:00] <liam> thanks but I think that is just for tinymce? I need to change the media form which is inside HtmlEditorField_Toolbar??? just not sure if it is extensible.
1244: [23:09:00] <Pyromanik> change the template
1245: [23:09:00] <liam> one of the actons in the htmleditor is "Insert Media". When you click on this a popup is shown with upload fields etc. I want to change this form.
1246: [23:10:00] <Pyromanik> look at the code
1247: [23:10:00] <Pyromanik> see if there's a hook.
1248: [23:10:00] <liam> Pyromanik: not the template I need to change what happens when it is submitted.
1249: [23:10:00] <Pyromanik> o
1250: [23:10:00] <Pyromanik> for the submission handler
1251: [23:11:00] <Pyromanik> or look into the possiblity of using injector
1252: [23:11:00] <Pyromanik> though I'm not sure about any of the specifics on that
1253: [23:12:00] <liam> ok thanks
1254: [23:16:00] <webguest> thx for your trouble
1255: [23:16:00] <webguest> Pyromanik, thx for your help, in the end i solved it in another way, because your width/height was the image width and not the browser image width, so ended up with http://paste2.org/p/2862676
1256: [23:17:00] <webguest> then i call the function on window(load)
1257: [23:17:00] * EPIK has joined #silverstripe
1258: [23:18:00] * webguest quit (Quit: Page closed)
1259: [23:18:00] <liam> anyone know how to filter a TreeDropdownField?
1260: [23:19:00] <Pyromanik> you cannot
1261: [23:20:00] <liam> just a where caluse
1262: [23:20:00] <Pyromanik> huh
1263: [23:20:00] <Pyromanik> you can shift the root
1264: [23:20:00] <Pyromanik> but not filter
1265: [23:20:00] <Pyromanik> so far as I know
1266: [23:20:00] <Pyromanik> becasue you'd break the hierarchy
1267: [23:20:00] <liam> Pyromanik: I just mean filter the initial objects that are loaded into it...
1268: [23:20:00] <liam> clause* ...
1269: [23:21:00] <Pyromanik> it has to implement Hierarchy
1270: [23:21:00] <liam> there is this option setFilterFunction
1271: [23:21:00] <liam> it does
1272: [23:21:00] <Pyromanik> I'm not sure what you want
1273: [23:21:00] <Pyromanik> simon_w: which ISO does "ISO" mean? https://github.com/silverstripe/sapphire/blob/2.4/forms/DateField.php#L21
1274: [23:21:00] <Pyromanik> http://nz1.php.net/manual/en/class.datetime.php#datetime.constants.types
1275: [23:22:00] * chrisrio has joined #silverstripe
1276: [23:22:00] <chrisrio> good afternoon A-team. SS3 - Can you return an nth item from a dataobjectset?
1277: [23:22:00] <liam> Pyromanik: in the media form it has this "new TreeDropdownField('ParentID', "", 'Folder')"
1278: [23:22:00] <liam> I don't want to show all folders in the initial load. I want to filter them...
1279: [23:23:00] <Pyromanik> chillu: yes.
1280: [23:23:00] <Pyromanik> liam: dunno man, never done anything like that
1281: [23:23:00] <chrisrio> EG: return $mysweetset->Pos(3);
1282: [23:23:00] <Pyromanik> errr chrisrio, yes.
1283: [23:24:00] <Pyromanik> http://api.silverstripe.org/2.4/sapphire/model/DataObjectSet.html
1284: [23:24:00] <Pyromanik> but chrisrio, why are you still using DataObjectSet ?
1285: [23:24:00] <chrisrio> because im an old dog.
1286: [23:24:00] <chrisrio> no reason I can't use ArrayList or DataList though.
1287: [23:24:00] <chrisrio> I mean, this is 2013.
1288: [23:25:00] <catcher> Any reason it's a bad idea to put three GridFields on an interface for administering the same object with sources filtered by 3 different years?
1289: [23:25:00] <Pyromanik> chrisrio: getRange I'd say would be your best bet
1290: [23:25:00] <catcher> I'm finding I want to sort by Year and then by sortOrder, which isn't the most possible of things.
1291: [23:26:00] <catcher> Or is it?
1292: [23:26:00] <Pyromanik> should be
1293: [23:29:00] <catcher> Seems to be one or the other.
1294: [23:31:00] <Colin[pi]> good morning all
1295: [23:31:00] <catcher> at least in the CMS.
1296: [23:32:00] <catcher> Or maybe I just have to be more specific about direction, this seems to be working better.
1297: [23:34:00] * mobiusnz quit (Quit: Leaving.)
1298: [23:44:00] <simon_w> Pyromanik, usually, YYYY-MM-DDTHHMMSSZ
1299: [23:48:00] <simon_w> but anything that strtotime() gets right is good
1300: [23:48:00] * mrzero quit (Ping timeout: 276 seconds)
1301: [23:49:00] * mrzero quit (Changing host)
1302: [23:49:00] * mrzero has joined #silverstripe
1303: [23:49:00] * mrzero has joined #silverstripe
1304: [23:52:00] * markeaston has joined #silverstripe
1305: [23:53:00] * liam quit (Quit: liam)
1306: [23:54:00] * jimt has joined #silverstripe
1307: [23:59:00] <chrisrio> thanks Pyromanik _b

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