#silverstripe IRC Log

IRC log for 11 September 2014

All timestamps are in UTC.

1: [00:00:48] * simon_w|work is writing test documentation
2: [00:00:59] <simon_w|work> I feel like I've got the better deal :p
3: [00:01:09] <adrexia> ...you have
4: [00:01:10] <adrexia> :P
5: [00:01:53] <ss23> adrexia loves solr!
6: [00:02:00] <adrexia> ...no
7: [00:02:05] <ss23> :D
8: [00:02:14] <zippy> ffs why do people leave alt tags empty...
9: [00:02:15] <adrexia> I think I love the registry module though
10: [00:02:33] <adrexia> seems really well built
11: [00:02:58] <adrexia> and appeals to the information geek in me
12: [00:03:12] * simon_w|work now has 2FA for his wedding website
13: [00:07:07] * r_hector has joined #silverstripe
14: [00:12:08] * azureRaven quit (Quit: Textual IRC Client: www.textualapp.com)
15: [00:14:59] <willr> simon_w|work top of your head, know how to set the many many extra fields after you’ve added it to the list? Or do you need to remove the item and readd?
16: [00:15:14] <simon_w|work> willr, $list->add($object, $fields)
17: [00:15:27] <simon_w|work> No need to remove
18: [00:15:35] <willr> handles duplicates fine?
19: [00:16:04] <simon_w|work> Yup
20: [00:16:15] <willr> crazy town
21: [00:16:35] <willr> Was thinking manymanylist needed a setExtraData method to complement getExtraData
22: [00:17:22] <simon_w|work> Probably does
23: [00:17:37] <simon_w|work> Or for ->write() on the DO to do it
24: [00:18:08] <willr> write on the DO might be a little too magic
25: [00:18:23] <simon_w|work> Worked in 2.4 :p
26: [00:21:02] <Colin[pi]> simon_w|work: what was the first intel version of os x?
27: [00:22:06] <simon_w|work> 10.4.6 or 7
28: [00:22:32] <Colin[pi]> ah, support for PPC was dropped in 10.5, cool
29: [00:22:44] <Colin[pi]> (just working on a sys requirements list)
30: [00:22:44] <simon_w|work> Nope, 10.7
31: [00:22:53] <Colin[pi]> "Support for the PowerPC platform was dropped after Mac OS X 10.5"
32: [00:22:56] <Colin[pi]> http://en.wikipedia.org/wiki/OS_X#PowerPC.E2.80.93Intel_transition
33: [00:23:05] <simon_w|work> In new machines
34: [00:24:16] <simon_w|work> Oh right, 10.7 was Rosetta drop. 10.6 was native PPC drop
35: [00:24:21] <Colin[pi]> mm
36: [00:25:26] * Jakx quit (Ping timeout: 276 seconds)
37: [00:25:29] * hailwood quit (Quit: Leaving.)
38: [00:27:40] <simon_w|work> Welp, time to do my first stuff with Angular
39: [00:27:57] <Colin[pi]> yay
40: [00:28:12] <Colin[pi]> from papabear's talk it looks pretty sweet
41: [00:28:45] <simon_w|work> Most of the crowd it managed to grab have already switched to React
42: [00:50:39] <adrexia> React is a completely different use case
43: [00:51:22] <adrexia> its interesting, but built to solve a different problem than Angular is trying to solve
44: [00:52:17] * Kingy is now known as Kingy[a]
45: [00:55:55] * UncleCheese has joined #silverstripe
46: [00:56:49] <zippy> adrexia: explain?
47: [00:57:25] <Stomach> React is the V
48: [00:59:31] <adrexia> that ^
49: [00:59:51] <adrexia> Angular is more concerned with being the module and controller
50: [00:59:54] <adrexia> *modal
51: [01:00:33] * UncleCheese quit (Ping timeout: 264 seconds)
52: [01:00:38] <adrexia> React doesn';t set out to replace your serverside code in the same way Angular does
53: [01:01:20] <adrexia> it focusses on the thing javascript has been traditionally used for
54: [01:02:07] <adrexia> not that you can't just use Angular that way too, but its sort of a waste
55: [01:02:40] * r_hector quit (Quit: Leaving.)
56: [01:03:51] * Kingy[a] is now known as Kingy
57: [01:04:10] * UncleCheese has joined #silverstripe
58: [01:11:53] * Arelis has joined #silverstripe
59: [01:12:38] <Arelis> hola
60: [01:13:07] * Arelis has left #silverstripe
61: [01:13:57] <Colin[pi]> o_O
62: [01:14:12] * Arelis has joined #silverstripe
63: [01:14:37] <Ryan-Toast> Colin[pi]: O_o
64: [01:14:38] * Arelis has left #silverstripe
65: [01:15:30] <Ryan-Toast> ¯\_(o_O)_/¯
66: [01:15:56] <Colin[pi]> ( ͡° ͜ʖ ͡°)
67: [01:25:22] <pippy> ( ͡° ͜ʖ ͡°)
68: [01:27:49] <zippy> O.o
69: [01:31:55] <spronk> guys
70: [01:31:59] <spronk> ip geoloc
71: [01:32:01] <spronk> what's best way?
72: [01:32:06] * UncleCheese quit (Ping timeout: 246 seconds)
73: [01:35:46] <zippy> there is a package I think
74: [01:36:29] <Stomach> spronk - maxmind api
75: [01:36:40] <spronk> maxmind still?
76: [01:37:02] * Zopiclone has joined #silverstripe
77: [01:37:12] <Zopiclone> Hello
78: [01:37:46] <adrexia> is ther ea way to ensure that text imported into an html field is surrounded with p tags?
79: [01:37:53] <adrexia> *there a way
80: [01:38:23] <adrexia> i.e import from csv
81: [01:38:55] <Zopiclone> maybe put p tags in the source
82: [01:39:06] <Zopiclone> before uploading
83: [01:39:15] <adrexia> yeah, but that seems like it would be prone to user error
84: [01:40:00] <adrexia> I will not be the one doing this in the wild
85: [01:40:47] <Zopiclone> http://doc.silverstripe.org/framework/en/howto/csv-import
86: [01:40:54] <Zopiclone> the last paragraph
87: [01:41:23] <Zopiclone> there is a function with access to the fields
88: [01:41:55] <Zopiclone> or even an onafterwrite might do it
89: [01:42:43] <adrexia> I've got an onbeforewrite for a bunch of stuff already
90: [01:42:54] <adrexia> sorry - which paragraph>
91: [01:42:58] <adrexia> I can't see anything
92: [01:43:13] <Zopiclone> above Related
93: [01:43:51] <adrexia> the code block?
94: [01:43:57] <Zopiclone> yes
95: [01:44:13] <adrexia> it doesn't look like it has any html stuff
96: [01:44:36] <spronk> Stomach, API, or the database file ?
97: [01:44:57] <Zopiclone> no, you will have to add that aroudn the field
98: [01:45:31] <adrexia> and if it already has paragraphs for soem reason?
99: [01:45:38] <adrexia> hmm
100: [01:45:42] <Stomach> spronk - I always just use the API as I dont like having to update the database file all the time
101: [01:45:45] <Zopiclone> Itstrip_tags()
102: [01:45:51] <Zopiclone> strip_tags()?
103: [01:46:07] <adrexia> I'm not currently touching the csv import
104: [01:46:11] <spronk> Stomach, $?
105: [01:46:12] <adrexia> so I'd rather not start
106: [01:46:24] <Stomach> its like $20 for every 200,000 requests or something
107: [01:46:33] <adrexia> I have onBeforeWrites doing stuff
108: [01:46:35] <Stomach> so you can just cookie it out
109: [01:46:59] <adrexia> but obviously no knowledge of whether the daata comes form import or cms fields
110: [01:47:22] <spronk> hmm
111: [01:47:39] <spronk> wonder whether the accuracy/uptime of the free services is any good
112: [01:53:09] * micmania1 quit (Quit: micmania1)
113: [02:09:57] * micmania1 has joined #silverstripe
114: [02:16:31] * Tonyy has joined #silverstripe
115: [02:18:09] <Tonyy> Hi All, Is there a way to add a class name to a form field without adding it to the div around it? $fields->dataFieldByName("Name")->addExtraClass("form-control");
116: [02:18:44] <Tonyy> <div class="field text form-control" id="Name">
117: [02:18:45] <Tonyy> <label for="Form_CommentsForm_Name" class="left">Your name</label>
118: [02:18:46] <Tonyy> <div class="middleColumn">
119: [02:18:47] <Tonyy> <input type="text" data-message-required="Please enter your name" aria-required="true" required="required" id="Form_CommentsForm_Name" class="text form-control valid" value="" name="Name">
120: [02:18:48] <Tonyy> </div>
121: [02:18:49] <Tonyy> </div>
122: [02:19:45] <Stomach> ->extraClass('yes')
123: [02:20:51] <Stomach> oops sorry
124: [02:20:52] <Stomach> wrong!
125: [02:21:07] * UncleCheese has joined #silverstripe
126: [02:21:29] <UncleCheese> Wow.. she's just as good a guitar player as I thought. http://www.avclub.com/article/courtney-loves-isolated-guitar-and-vocals-sound-ab-209088?utm_source=Facebook&utm_medium=SocialMarketing&utm_campaign=LinkPreview:1:Default
127: [02:21:31] * Tonyy quit (Quit: Tonyy)
128: [02:22:39] <ss23> UncleCheese: ....
129: [02:22:39] <ss23> um
130: [02:24:40] * Tonyy has joined #silverstripe
131: [02:27:14] * Tonyy quit (Client Quit)
132: [02:30:07] <Stomach> ooookay
133: [02:30:14] <Stomach> my ears do not thank you
134: [02:31:24] <UncleCheese> haha
135: [02:31:32] <UncleCheese> this one will set you straight. http://theconcourse.deadspin.com/taylor-swifts-vmas-performance-with-her-vocals-isolate-1626334694?utm_campaign=socialflow_deadspin_twitter&utm_source=deadspin_twitter&utm_medium=socialflow
136: [02:32:22] <ss23> how do I play it
137: [02:32:24] <ss23> where is the play / video
138: [02:33:46] <Stomach> UncleCheese yeah I heard that
139: [02:33:47] <Ryan-Toast> Unclecheese: I have listened to “Trouble” more times than I’d like to admit
140: [02:33:53] <Stomach> still doesn't beat this powerhouse: https://www.youtube.com/watch?v=87FjkqtK67o
141: [02:36:16] <ss23> Ryan-Toast: Goat eedition?
142: [02:36:25] <Ryan-Toast> ss23: nope, just the normal one :P
143: [02:36:40] <Ryan-Toast> My afavorite Taylor Swift mashup: https://www.youtube.com/watch?v=bNmWt91n-QM
144: [02:36:44] <ss23> I can't get the taylor swift video to play
145: [02:36:44] <ss23> ;_;
146: [02:36:50] <ss23> I DON'T SEE A PLAY BUTTON
147: [02:36:53] <ss23> WHERE IS THE PLAY BUTTON
148: [02:37:36] <Ryan-Toast> followed closely by: https://www.youtube.com/watch?v=irJax21UHE0
149: [02:37:45] <ss23> lol
150: [02:38:05] <ss23> Better than the Justin Bieber / Slipknot?
151: [02:38:24] <Ryan-Toast> Favortie tayleor swift mashup, not favorite mashup of all time :P
152: [02:38:37] <ss23> I didn't know "favorite taylor swift mashup" was a thing!
153: [02:38:43] <UncleCheese> hahahah
154: [02:38:46] <ss23> Favorite mashup? :D
155: [02:38:48] <Ryan-Toast> IT IS NOW!
156: [02:38:50] <UncleCheese> yeah, ^^
157: [02:38:51] <ss23> XD
158: [02:38:56] <Ryan-Toast> umm, let me think
159: [02:39:25] <UncleCheese> so, marvin gaye's dad shoots him dead for no reason, pleads no contest, and gets probation?
160: [02:39:33] <UncleCheese> man, that's tragic on so many levels
161: [02:39:40] <UncleCheese> i'm sorry i went to the wikipedia page
162: [02:41:31] <Ryan-Toast> ss23: I’d have to say this is my favorite: https://www.youtube.com/watch?v=MgP2fmXBeEQ
163: [02:41:48] <Ryan-Toast> ss23: just works so well.
164: [02:43:36] <UncleCheese> that's bloody awful
165: [02:43:42] <ss23> Yeah, I dunno
166: [02:43:44] <ss23> Not a big fan
167: [02:43:45] <ss23> ;_;
168: [02:43:48] <Ryan-Toast> :(
169: [02:43:57] <ss23> :(
170: [02:43:57] <UncleCheese> this is the best one
171: [02:43:58] <ss23> SORRY
172: [02:43:58] <UncleCheese> https://www.youtube.com/watch?v=d-kF4r08y5k
173: [02:44:07] <ss23> lol
174: [02:44:13] <ss23> hahahaha
175: [02:44:39] <Ryan-Toast> It’s no hank hill: https://soundcloud.com/tmfc666/dj-snake-turn-down-for-what-mo
176: [02:45:29] <ss23> Ryan-Toast: pls what
177: [02:45:47] <Ryan-Toast> ss23: turn down for Jesus? https://www.youtube.com/watch?v=nM3uHijaDeQ
178: [02:46:43] <ss23> dude, no way, check this
179: [02:46:52] <ss23> https://www.youtube.com/watch?v=Sa0EtdtPi8w
180: [02:46:54] <ss23> way better
181: [02:47:31] <Ryan-Toast> ss23: I remember that, fucking hilerious
182: [02:47:35] <ss23> XD
183: [02:47:46] <ss23> When you hug LEAVE SOME ROOM FOR JESUS
184: [02:48:01] <Ryan-Toast> BACK TO TAYLOR SWIFT PLS
185: [02:48:06] <ss23> XD
186: [02:49:50] <Stomach> Taylor swift would love burger fuel in a well heated home
187: [02:50:04] <Ryan-Toast> I’M JUST GONNA SHAKE SHAKE SHAKE
188: [02:52:20] <zippy> Christian side hug - new ringtone!
189: [02:52:43] <ss23> XD
190: [02:56:55] <UncleCheese> time to generate 3.1 docs: 15 minutes
191: [02:56:59] <UncleCheese> time to generate 2.4 docs: 30 seconds
192: [02:58:12] <pippy> Stomach: wat
193: [02:58:21] <Stomach> pippy: wat
194: [02:58:52] <pippy> the real question is
195: [02:59:05] <pippy> why didn't she have her noodies leaked?
196: [02:59:34] <Stomach> because the fappening never happened
197: [02:59:42] * Stomach jedi mind wave hand flag thing
198: [03:01:01] <pippy> ;_;
199: [03:01:08] <Ryan-Toast> pippy: who?
200: [03:01:33] <pippy> Taylor swift
201: [03:01:45] <Ryan-Toast> Doesn’t seem like the type to take nuds
202: [03:01:55] <Kingy> see that's where it gets funny
203: [03:02:06] <Kingy> everyone was like ohh miley is such a slut.. was with the same guy for years
204: [03:02:25] <Kingy> taylor swift is all sweet an innocent.. had a dozen guys in the span of a few months
205: [03:02:52] <Ryan-Toast> Kingy: All of them think they can get in there, that’s why.
206: [03:03:27] <Ryan-Toast> Friend of mine was like that, she won Miss Auckland, and had plenty of boyfriends because they would date her for a month, then realise she wasn’t going to fuck them.
207: [03:03:50] <Kingy> lolo
208: [03:03:52] <adrexia> Perceptions rarely equal reality
209: [03:04:01] <Kingy> you just know taylor is filthy though
210: [03:04:18] <adrexia> that't what you want to think :P
211: [03:04:19] <Ryan-Toast> Kingy: Lol, I doubt it.
212: [03:04:22] <Zopiclone> Is it possible to stack get_by_url_segment ?
213: [03:04:34] <Ryan-Toast> Seems like a pretty down to earth nice chick.
214: [03:04:35] <Kingy> Zopiclone: off topic
215: [03:04:37] <Kingy> :P
216: [03:04:51] <Ryan-Toast> Zopiclone: Sorry, man. this is now the TS IRC channel
217: [03:05:02] <simon_w|work> Zopiclone, just use get_by_url
218: [03:05:11] <Zopiclone> btw the fappening did happen
219: [03:06:37] <Zopiclone> oh i didnt know get_by_url existed
220: [03:07:17] <Zopiclone> I have done this: http://websitequote.co.nz/directory/region/auckland
221: [03:07:30] <Zopiclone> but i need to ge tinto each member object somehow
222: [03:07:48] <Colin[pi]> Kingy: miley is all about "marketing", and it's working
223: [03:07:55] <Ryan-Toast> Zopiclone: use setWidth() or croppedImage(0 on your thumbnails
224: [03:08:34] <Zopiclone> i used PaddedImage(200,200)
225: [03:08:52] <Zopiclone> is that bad
226: [03:09:37] <Ryan-Toast> Not all of your images are scaled.
227: [03:09:42] <Ryan-Toast> cropped**
228: [03:09:50] <Ryan-Toast> some are still 3000x2000px
229: [03:10:11] <Zopiclone> oh crap you are right
230: [03:10:15] <Zopiclone> on the hover
231: [03:10:18] <Colin[pi]> dem hovers
232: [03:10:56] <pippy> Zopiclone: don't forget the retina module if you're using padded images
233: [03:11:05] <pippy> /shameless plug
234: [03:11:11] <Ryan-Toast> pippy: what’s the retina module?
235: [03:11:14] <Zopiclone> i know thats why they are double the size
236: [03:11:17] <Zopiclone> :)
237: [03:12:04] <Ryan-Toast> pippy: ?
238: [03:13:06] <pippy> https://packagist.org/packages/otago/silverstripe-retinaimages
239: [03:14:33] <Ryan-Toast> pappy: ahh, srcset
240: [03:14:41] <Ryan-Toast> lol, pappy.
241: [03:14:46] <Ryan-Toast> Pippy**
242: [03:18:58] <Colin[pi]> "I used ta go fishin' in yonder creek wit me dear ol' pappy"
243: [03:19:43] <Kingy> have you seen that video of the high as fuck guy getting arrested by the cops?
244: [03:19:51] <Kingy> he's like "sorry, papi"
245: [03:19:59] <Kingy> "im not your papi, stop calling me that"
246: [03:20:09] <Colin[pi]> lol wut
247: [03:20:18] <Kingy> https://www.google.co.nz/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CBwQtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dpoat6y9bkbk&ei=6hQRVPToBNiIuATV34DgBg&usg=AFQjCNG5WdVLuYZbZhtmEs-JIRMDPGNUEw&bvm=bv.74894050,d.dGc
248: [03:20:25] <Kingy> gah damn google
249: [03:20:32] <Kingy> http://www.youtube.com/watch?v=poat6y9bkbk
250: [03:22:58] <Ryan-Toast> Vevo has blocked infinate youtube, lame.
251: [03:23:08] <Colin[pi]> Kingy: rofl
252: [03:27:58] * Tonyy has joined #silverstripe
253: [03:28:27] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
254: [03:29:58] * zippy has joined #silverstripe
255: [03:30:35] * StefanLehmann has joined #silverstripe
256: [03:36:13] * UncleCheese quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
257: [03:41:06] * cloph_away has joined #silverstripe
258: [03:41:44] * cloph quit (Ping timeout: 276 seconds)
259: [03:42:30] * Uitto quit (Ping timeout: 252 seconds)
260: [03:44:08] * Uitto has joined #silverstripe
261: [03:48:41] <zippy> Kingy: america is crazy
262: [03:48:48] * Kingy is now known as Kingy[a]
263: [03:49:09] <zippy> that was funny thou, but damn no-wonder people get shot by cops all the time!
264: [03:50:08] <Colin[pi]> zippy: yeah, guns out... for... EVERYTHING
265: [03:55:26] <zippy> til you can do #page=x to link to a page in a pdf
266: [03:55:44] <zippy> probably wouldn't work in IE
267: [03:56:24] <zippy> Colin[pi]: How do you keep going sometimes? I got so much to do, but damn! once i've done a 1 hour task I always seem to take a 30 min break.... adds up :)
268: [03:56:46] <Colin[pi]> zippy: haha yeah I get exhausted
269: [03:57:49] <Colin[pi]> by the end of the day I'm like http://i.imgur.com/uLz4ssm.gif
270: [03:58:18] <zippy> i get to the end and think, I was in the office for 8 hours and billed out 5 hrs, where did the day go!
271: [03:59:43] <Colin[pi]> zippy: gets worse as you get older :(
272: [03:59:50] <zippy> :(
273: [04:00:06] <Colin[pi]> remember when the school holidays seemed to go forever?
274: [04:00:14] <zippy> oh yea
275: [04:00:19] <Colin[pi]> ah those days of no responsibilities :D
276: [04:00:25] <zippy> mmmhmm tell me about it
277: [04:00:29] <zippy> no kids, no mortgage
278: [04:01:13] <zippy> bag of lollies and civilization 1 and I was set
279: [04:01:28] <zippy> zulu's felt the bower of my greek battleship
280: [04:01:31] <zippy> *power :)
281: [04:01:47] <Colin[pi]> for me it was Amiga games
282: [04:01:55] <zippy> yea, I had that on my Amiga
283: [04:02:02] <zippy> 4 disks!
284: [04:02:04] <Colin[pi]> Gods, Syndicate, Magic Pockets, Cannon Fodder
285: [04:02:08] <Colin[pi]> good memories
286: [04:02:22] <zippy> i remmber syndicate and cannon fodder well
287: [04:02:35] <Colin[pi]> I loved syndicate, was awesome
288: [04:02:49] <Colin[pi]> but I like pretty much anything cyberpunk :)
289: [04:02:57] <zippy> http://screenshots.en.sftcdn.net/en/scrn/51000/51533/cannon-fodder-7.jpg
290: [04:03:18] <Colin[pi]> that's it
291: [04:03:22] <zippy> Tools and Jops haha http://thecompany.pl/res/gra/1288891109-Cannon_Fodder-4.png
292: [04:03:29] <zippy> memories
293: [04:04:34] <zippy> Jools...
294: [04:04:37] <zippy> god damn
295: [04:07:03] <Colin[pi]> the programmer?
296: [04:07:19] <zippy> names of soldiers
297: [04:07:39] <Colin[pi]> ah I can't remember that much detail lol
298: [04:09:44] * Kingy[a] is now known as Kingy
299: [04:10:59] * Tonyy quit (Quit: Tonyy)
300: [04:14:24] * Tonyy has joined #silverstripe
301: [04:34:48] * Ryan-Toast quit (Quit: Ryan-Toast)
302: [04:37:22] * Ryan-Toast has joined #silverstripe
303: [04:44:57] <zippy> hmmm to angular or not to angular
304: [04:46:01] <Stomach> react!
305: [04:46:35] <simon_w|work> XHP for JS! <3
306: [04:47:37] <Zopiclone> is anyone familiar with this message? http://websitequote.co.nz/directory/region/auckland/business/anytech-ltd/
307: [04:48:38] <Zauberfisch> Zopiclone: have you overwritten handleAction or handleRequest by any chance?
308: [04:48:54] <zippy> Stomach: more buzz words!
309: [04:48:59] <Zopiclone> nope, not that i know of
310: [04:49:10] <Zauberfisch> Zopiclone: any other custom controller stuff?
311: [04:49:16] <Stomach> zippy - I have it in production so its not that buzzy
312: [04:49:34] <Zauberfisch> uh, interesting. Stomach how is it?
313: [04:49:53] <Stomach> its snappy
314: [04:50:03] <Stomach> http://www.labonic.com/shop
315: [04:50:11] <Zauberfisch> btw, sorry, haven't done much staring lately. to busy to just browse through stuff :D
316: [04:50:26] <Zopiclone> i just followed a tutorial on url segmenting and it works with one or the other controller
317: [04:50:33] <Zopiclone> but not both together
318: [04:50:45] <Stomach> Zauberfisch :P its okay I've been busy too, end of year already
319: [04:51:44] <zippy> Stomach: adding to the cart takes 1.5 seconds... thats fairly sllooww
320: [04:51:48] <Zauberfisch> Zopiclone: lol woot?
321: [04:51:50] <Zopiclone> http://www.sspaste.com/paste/show/541125a2b1a93
322: [04:51:51] <Zauberfisch> Zopiclone: paste your code
323: [04:51:58] <Stomach> zippy - yeah thats swipestripe :P
324: [04:52:25] <Stomach> the only react on that page is the shop page
325: [04:53:36] <Stomach> oh and the server is a shitty shared host too, so thats good
326: [04:53:40] <Zauberfisch> Zopiclone: do you define routes somewhere?
327: [04:53:45] <Zauberfisch> Zopiclone: please paste your full code
328: [04:53:52] <Zauberfisch> all related php files
329: [04:53:54] <Zauberfisch> yml config file
330: [04:54:40] <zippy> Stomach: react seems quite different to angular eh, like - differnet things
331: [04:55:10] <Stomach> zippy - yeah angular cares about the model and controller
332: [04:55:17] <Stomach> react is purely the view
333: [04:55:55] <Zopiclone> http://www.sspaste.com/paste/show/5411269660a90
334: [04:56:11] <Zopiclone> its your stuff too :)
335: [04:56:32] <Zopiclone> sorry for butchering it
336: [04:57:17] <zippy> Stomach: react looks like a good way to oganise the js at least
337: [04:57:37] <Stomach> zippy - thats just the commonjs way of doing things
338: [04:58:17] <adrexia> I didn't lkike that it uses something that looks so much like an html tag, that isn't an html tag
339: [04:58:33] <adrexia> (ie you can't add classes to it or anything)
340: [04:59:01] <adrexia> but I didn't spnnd that long playing with it, so its probably something you get used to.
341: [04:59:03] <Stomach> adrexia, yes you can
342: [04:59:47] <adrexia> var HelloMessage = React.createClass({
343: [04:59:47] <adrexia> render: function() {
344: [04:59:48] <adrexia> return <div>Hello {this.props.name}</div>;
345: [04:59:48] <adrexia> }
346: [04:59:48] <adrexia> });
347: [04:59:55] <adrexia> try adding classes to taht div :P
348: [05:00:05] <adrexia> using html sytax
349: [05:00:09] <adrexia> *syntax
350: [05:00:34] * Zopiclone quit (Read error: Connection reset by peer)
351: [05:01:30] <Stomach> return (<div className='okay easy'>Hello {this.props.name}</div>);
352: [05:01:55] <adrexia> className isn't html
353: [05:02:57] <Stomach> lol :P
354: [05:03:14] <Stomach> its JSX!
355: [05:03:19] <Stomach> which is much better than html
356: [05:03:27] <Stomach> because it yells at you when you make mistakes
357: [05:03:30] * micmania1 has left #silverstripe
358: [05:03:38] <adrexia> it's try though. it looks like html, but it very much isn't. and I have enough divs in my html without mentioning them in my js :D
359: [05:03:50] <adrexia> *true
360: [05:03:53] <adrexia> haha
361: [05:04:05] <adrexia> I think I prefer my htmk to remain silent
362: [05:05:13] * Kingy is now known as Kingy[a]
363: [05:05:31] * nickmolhoek quit (Quit: nickmolhoek)
364: [05:06:38] <adrexia> But I bulked at angular's template syntax when I first saw it. But it made life easier, so I got over it
365: [05:08:24] <zippy> hm
366: [05:08:28] * zippy is still on the fence
367: [05:13:12] * Tonyy quit (Quit: Tonyy)
368: [05:14:45] * Tonyy has joined #silverstripe
369: [05:18:56] <spronk> ugh
370: [05:19:00] <spronk> its so yucky
371: [05:20:33] * Zopiclone has joined #silverstripe
372: [05:20:42] * __will has joined #silverstripe
373: [05:21:58] <__will> hello
374: [05:22:10] <spronk> also, annoyingly, cant make the ss meetup today :(
375: [05:22:43] <__will> im making a theme for a client that already had SS installed. She has a blog, with this installed: https://github.com/tylerkidd/silverstripe-blog-extension
376: [05:22:47] <__will> which seems ace
377: [05:23:06] <zippy> choice
378: [05:23:13] <__will> only thing is. whilst i was having breakfast, all the blog posts vanished from the website
379: [05:23:21] <zippy> :O
380: [05:23:39] <__will> they are still in the blogholder grid field, and the are in sitetree db table
381: [05:23:53] <zippy> why?
382: [05:23:56] <__will> yeah, sweet as : )
383: [05:24:10] <__will> why indeed.
384: [05:24:17] <__will> wait, why missing or why the plugin?
385: [05:24:26] * simon_w|work quit (Read error: Connection reset by peer)
386: [05:24:30] <zippy> why missing
387: [05:24:34] * Ryan-Toast quit (Quit: Ryan-Toast)
388: [05:24:51] <__will> i know. its a mystery
389: [05:25:17] <__will> i don't remember deleting any code, but i was mostly focused on what to put in my porridge
390: [05:25:32] <zippy> well, thats easy
391: [05:25:35] <zippy> brown sugar
392: [05:26:15] <zippy> if you login as admin, do they show up? - have they been unpublbished or someting? you done a flush?
393: [05:26:16] <__will> oh pants, i even got that wrong. i went for honey & strawberries. they are half price at the mo
394: [05:26:33] <zippy> you using 2.4 or 3.x?
395: [05:26:35] <__will> i have flushed & dev/built all afternoon
396: [05:26:41] <__will> 3.1
397: [05:26:48] <__will> i'm logged in as admin
398: [05:26:54] <zippy> the blog posts still show in the site tree in the CMS?
399: [05:27:36] <__will> the plugin makes them show in a grid field for the blogholder page, but yeah, they are in there
400: [05:27:55] <zippy> right, so they're just not getting pulled out the front
401: [05:28:01] <__will> yeah
402: [05:28:13] <zippy> has the blog page in the CMS been changed? (maybe look at the histyory of it)
403: [05:28:24] * simon_w|work has joined #silverstripe
404: [05:28:43] <zippy> if you go to the template where it loops the blog posts (on the holder page), can you debug that
405: [05:29:13] * Stomach quit (Ping timeout: 260 seconds)
406: [05:29:30] <__will> with the ?debug=1
407: [05:29:31] <__will> ?
408: [05:29:51] <zippy> bugDebug::show($blog whatevers)
409: [05:29:56] <zippy> Debug::show(
410: [05:30:17] <__will> cool
411: [05:30:40] * Stomach has joined #silverstripe
412: [05:32:40] <__will> just drop Debug::show($BlogEntries) in the template?
413: [05:39:33] <simon_w|work> $BlogEntries.Debug in the template
414: [05:39:43] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
415: [05:39:47] <__will> that threw an error, im trying some variations, but can't get it to output the variable
416: [05:40:00] <__will> think i just failed debugging ss 101
417: [05:40:06] <adrexia> does case matter?
418: [05:40:19] <adrexia> I think the template syntax is lowercase?
419: [05:40:29] <adrexia> $BlogEntries.debug
420: [05:40:39] <__will> Simon_w - thanks. that gave me: DataList
421: [05:41:40] <__will> so i guess its empty & I need to move up a layer in my investigations.
422: [05:42:42] <__will> wait, random clicking has prevailed
423: [05:43:18] <__will> reading the source on blogTree made me think. i wonder if its just called entries now?
424: [05:43:22] <__will> and it is!
425: [05:43:48] <__will> i guess doing a composer update made it different
426: [05:44:42] <__will> although looking at blogholder.ss in the blog module, makes me wonder whats going on. cos that uses BlogEntries
427: [05:46:26] <__will> hang on, this isn't right, Entries just gives me a massive not paginated list of all posts
428: [05:52:31] <__will> mhh. why is it looking for posts after the 9th? SELECT DISTINCT count(DISTINCT "SiteTree_Live"."ID") AS "0" FROM "SiteTree_Live" LEFT JOIN "BlogEntry_Live" ON "BlogEntry_Live"."ID" = "SiteTree_Live"."ID" WHERE ("BlogEntry_Live"."Date" > '2014-09-09' AND
429: [05:54:11] * Stomach_ has joined #silverstripe
430: [05:56:57] * Stomach quit (Ping timeout: 264 seconds)
431: [05:58:35] <Zauberfisch> Zopiclone: hmmm
432: [05:58:42] <Zauberfisch> I don't really see anything wrong with your code
433: [05:59:02] <Zauberfisch> in fact, your code looks an aweful lot the way I do custom URLSegment stuff
434: [06:01:01] <__will> i guess the question is, should it be doing that query, or should the BlogEntries have dates after the 9th? and why?
435: [06:06:20] * simon_w|work quit (Quit: Ping timeout: your mum)
436: [06:08:53] * Tonyy quit (Quit: Tonyy)
437: [06:10:28] <__will> Holder was set to show last 2 months entries. i guess it has a bug as clearing that to show all entries displayed the posts.
438: [06:10:37] <__will> bit of a bug in the blog mod i guess
439: [06:12:29] <Stomach_> is there any way to work out why the manifest isn't picking up a certain page type >_<
440: [06:12:36] <Stomach_> class 'MembersPage' does not exist
441: [06:12:39] <Stomach_> I can fucking see it
442: [06:12:43] * Stomach_ rages
443: [06:13:05] <__will> dev/build?
444: [06:13:10] <__will> ha ha, that was a joke
445: [06:13:29] <Stomach_> yeah done that and flush and added silverstripe-cache
446: [06:14:46] <Stomach_> actually its not finding any of the pages that extend it either
447: [06:14:47] <Stomach_> odd.
448: [06:22:43] * babak has joined #silverstripe
449: [06:32:06] * wmk has joined #silverstripe
450: [06:40:27] * jrthomer quit (Ping timeout: 246 seconds)
451: [06:41:05] <Zauberfisch> Stomach_: defined any class alias? does a page by that name exist somewhere else? eg inside a module? did you set a use_custom_class for that class?
452: [06:49:41] * jrthomer has joined #silverstripe
453: [06:50:47] * r_hector has joined #silverstripe
454: [07:00:42] <wmk> gmorning
455: [07:00:51] * vebb has joined #silverstripe
456: [07:00:53] <wmk> can i tell userforms to use ajax?
457: [07:19:23] * willr quit (Quit: willr)
458: [07:20:42] * jrthomer quit (Quit: Leaving...)
459: [07:28:02] * simon_w has joined #silverstripe
460: [07:30:49] * ocmnt has joined #silverstripe
461: [07:33:12] <ocmnt> howdy
462: [07:35:08] <wmk> hey ocmnt
463: [07:45:08] * stnvh has joined #silverstripe
464: [07:53:38] <wmk> any slowaks around? i have a quick translating question...
465: [08:03:03] * ss31noob has joined #silverstripe
466: [08:05:18] * kinglozzer has joined #silverstripe
467: [08:05:46] <ocmnt> couldn't a czech do aswell?
468: [08:05:52] <ocmnt> or don't they speak the same language?
469: [08:06:03] <ocmnt> (not that I know any, haha)
470: [08:10:58] * Pyawwk has joined #silverstripe
471: [08:25:12] <wmk> at least sk is another lang file than cz
472: [08:25:29] <wmk> but i guess a czech could also give me the right hint how to translate it correctly
473: [08:26:17] <Pyawwk> well the are different languages
474: [08:26:23] * Pyawwk quit (Quit: Page closed)
475: [08:27:27] <wmk> well, got it using google translate and a bit of phantasy
476: [08:36:28] <ocmnt> wmk
477: [08:36:37] <wmk> ?
478: [08:36:37] <ocmnt> isnt sk slovenia?
479: [08:36:54] <wmk> sK ???
480: [08:37:27] <ocmnt> fair enough
481: [08:37:39] <ocmnt> though
482: [08:37:40] <ocmnt> sk
483: [08:37:43] <ocmnt> could be slovenski
484: [08:38:14] <ocmnt> ah nvm, wikipedia agrees with you :D
485: [08:38:30] <wmk> ;)
486: [08:39:07] <ocmnt> I always thought czech and slowaks still used the same language
487: [08:39:30] <ocmnt> so I learned something new today, huuray! :D
488: [08:40:14] <wmk> hmm, not really, but i guess their languages have more in common than german and dutch
489: [08:40:44] <wmk> someone from poland once told me he can understand czech, it's pretty much the same language but sounds a bit harder for his ears.
490: [08:40:54] <wmk> like austrian and switzerland ;)
491: [08:41:09] <ocmnt> haha
492: [08:41:30] <ocmnt> I thought steiermark had their own language
493: [08:41:31] <ocmnt> :P
494: [08:42:18] <wmk> ehem, yes
495: [08:42:58] * wmk thinks we get some offtopic right now
496: [08:43:39] <ocmnt> hahaha
497: [08:43:49] <ocmnt> why? we can talk about php, which is also a language
498: [08:43:50] <ocmnt> :P
499: [08:43:53] <ocmnt> but on topic now
500: [08:44:06] <ocmnt> how to setValue() on datefield with current date?
501: [08:45:28] <wmk> php or js?
502: [08:45:38] <wmk> or: do you want to staticexport it?
503: [08:46:00] <wmk> i'd go with javascript and datepicker. has some good features for that
504: [08:46:35] <ocmnt> it is for a cmsfield
505: [08:47:01] <ocmnt> it is for the status of a golfcourse
506: [08:47:08] <ocmnt> wether it is openend or not, trolleys allowed
507: [08:47:13] <ocmnt> and coming with a timestamp
508: [08:47:57] <wmk> setValute(date('Y-m-d')) ??
509: [08:48:07] <wmk> Valute ;)
510: [08:48:24] <wmk> the internal value is afaik mysql date
511: [08:48:36] <ocmnt> haha
512: [08:48:45] <ocmnt> setValue seems not to put any value in there
513: [08:48:49] <ocmnt> so might just go for a JS solution
514: [08:51:29] <wmk> did you try it in current locale?
515: [08:52:08] <wmk> have a look at DateField class and read the comments, it seems not that easy...
516: [08:52:19] <wmk> though datepicker defaults to today, doesn't it?
517: [08:53:32] <ocmnt> it doesnt default anything at the moment
518: [08:53:36] <ocmnt> just keeps empty
519: [08:54:26] <wmk> you can of course define $defaults in your DataObject
520: [08:55:10] <wmk> http://doc.silverstripe.org/framework/en/howto/dynamic-default-fields
521: [08:55:27] <ocmnt> $defaults wont update if I open the page in the cms
522: [08:55:30] <ocmnt> only when I create it
523: [08:55:51] <wmk> ocmnt, ^^^^
524: [08:56:08] <wmk> when $this->Date = date('Y-m-d'); works in populateDefaults it'll work in getCMSFields() also
525: [08:56:28] <wmk> cause you want to update the formfield in cms
526: [08:56:55] <ocmnt> hm, lemme try that :D
527: [08:57:08] <ocmnt> though, my js solution is already doing what it should be :')
528: [09:09:19] <wmk> ocmnt, can you unit test it ?? *duck*
529: [09:20:58] * r_hector quit (Quit: Leaving.)
530: [09:21:28] <ocmnt> unittesting?
531: [09:21:52] <ocmnt> I don't test, everything I do is perfect by design
532: [09:23:30] * ARNHOE has joined #silverstripe
533: [09:33:26] <wmk> ocmnt, hehe, sounds like Ap**le
534: [09:42:39] * Pyawwk has joined #silverstripe
535: [09:43:21] <Pyawwk> is google's south american cousin, el goog
536: [09:45:36] <Pyawwk> ?
537: [09:46:25] * NETim_ has joined #silverstripe
538: [09:54:45] * adrexia_phone has joined #silverstripe
539: [09:55:14] <ocmnt> like le app?
540: [09:59:24] * adrexia_phone quit (Remote host closed the connection)
541: [10:01:09] * zippy has joined #silverstripe
542: [10:05:05] <zippy> anyone tried flux?
543: [10:05:11] <ss23> I use it
544: [10:05:12] <ss23> o/
545: [10:05:16] <ss23> You mean the color thing, right?
546: [10:05:20] <ocmnt> lol
547: [10:05:22] <zippy> yea
548: [10:05:24] <ss23> mm
549: [10:05:29] <ss23> I like it
550: [10:05:30] <zippy> friend just put me onto it
551: [10:05:38] <ss23> It's hard to know if it really make sa difference though
552: [10:05:47] <ocmnt> http://en.wikipedia.org/wiki/4-Fluoroamphetamine
553: [10:05:48] <ocmnt> flux :D
554: [10:05:50] <ss23> I sure as hell know that I don't magically sleep better or get tired earlier because of it
555: [10:05:52] <zippy> my god it made me feel weird when it did the redness effect
556: [10:05:53] <ss23> lol ocmnt
557: [10:06:01] <ocmnt> zippy, I think you are on the wrong channel :P
558: [10:06:16] <ss23> #silverstripe -- home of off topic
559: [10:06:16] <ss23> o/
560: [10:06:18] <zippy> it feels... weird
561: [10:06:27] <ss23> zippy: You really really have to have it on the slow 60 minute transition
562: [10:06:30] <ss23> Otherwise you'll hate your life
563: [10:06:38] <ocmnt> what is flux?
564: [10:06:46] <ss23> ocmnt: https://justgetflux.com/
565: [10:06:47] <zippy> ss23: oh yea I did, but I think because it woke up from sleep it just did it quickly
566: [10:06:48] <ocmnt> ah, that stuff
567: [10:06:49] <ss23> first result for "flux"
568: [10:06:50] <ss23> :D
569: [10:06:51] <ocmnt> I used that before
570: [10:07:00] * Zopiclone quit (Read error: Connection reset by peer)
571: [10:07:09] <ocmnt> ss23 perhaps for you the first result
572: [10:07:19] <zippy> first for mine too
573: [10:07:23] <ocmnt> google gave me the 4-fluoroamphetamine first
574: [10:07:25] <ocmnt> :o
575: [10:07:30] <ss23> Weirdo!
576: [10:07:34] <ocmnt> guess it is trying to tell me something
577: [10:07:39] <zippy> one of these is not like the other.....
578: [10:07:44] <ss23> XD
579: [10:07:46] <ocmnt> :'D
580: [10:07:54] <zippy> you sure as shit wouldn't want to be doing any web design while it was active
581: [10:08:05] <ss23> hahah, yeah
582: [10:08:15] <ocmnt> hahaha, it messes up all colors indeed
583: [10:08:27] <ocmnt> the main reason why I dont use it anymore
584: [10:09:14] <zippy> it feels too red
585: [10:15:12] <Pyawwk> oh is that like a red shift type thing?
586: [10:15:59] <ss23> yeah
587: [10:16:00] <ss23> same thing
588: [10:20:06] <zippy> takes the blue out
589: [10:21:04] <zippy> hmmm
590: [10:21:13] <zippy> to angularjs or not to angularjs
591: [10:21:30] <ocmnt> what are you about to do zippy?
592: [10:21:35] <zippy> an admin area
593: [10:21:42] <ss23> never angularjs, zippy
594: [10:21:43] <ss23> NEVEr.
595: [10:21:47] <ocmnt> lol
596: [10:21:48] <ocmnt> http://buttersafe.com/comics/2014-09-09-helpathief.jpg
597: [10:27:58] * __will quit (Ping timeout: 246 seconds)
598: [10:31:07] * vebb has joined #silverstripe
599: [10:42:51] * eagles0513875 quit (Excess Flood)
600: [10:44:43] * eagles0513875 has joined #silverstripe
601: [10:59:04] * simon_w quit (Quit: Ping timeout: your mum)
602: [11:01:08] * oetiker quit (Ping timeout: 276 seconds)
603: [11:30:15] * oetiker has joined #silverstripe
604: [11:40:58] * Error404NotFound has joined #silverstripe
605: [12:10:35] * vebb has joined #silverstripe
606: [12:12:19] * UndefinedOffset has joined #silverstripe
607: [12:31:25] <ocmnt> hm, is it normal behaviour?
608: [12:31:57] <ocmnt> doing $someDO = SomeDO::get()->filter( array( filteres => ) )->limit(1);
609: [12:32:02] <ocmnt> and then $someDO->ID
610: [12:32:07] <ocmnt> doesnt give me the id
611: [12:32:14] <ocmnt> doing $someDO = SomeDO::get()->filter( array( filteres => ) )->first();
612: [12:32:16] <ocmnt> and then $someDO->ID
613: [12:32:17] <ocmnt> does
614: [12:34:01] <ocmnt> does limit(1) always return array?
615: [12:35:00] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
616: [12:35:04] <UndefinedOffset> ocmnt limit always returns an instance of an SS_List based class
617: [12:35:40] <ocmnt> yea, I just figured
618: [12:36:39] <ocmnt> though, I assume the output of first() and limit(1) is the very same DO?
619: [12:41:38] <wmk> hmm... per definition it's not.
620: [12:41:54] <wmk> limit(1) returns a list with one sibling, first() returns the sibling
621: [12:57:14] * origincube has joined #silverstripe
622: [12:57:30] <origincube> hi guys, how is everyone today
623: [12:59:56] <Pyawwk> [11:21] <ocmnt> http://buttersafe.com/comics/2014-09-09-helpathief.jpg
624: [12:59:59] <Pyawwk> hahaahah, fantastic
625: [13:00:02] <Pyawwk> hi origincube
626: [13:00:12] <Pyawwk> how is South Africa today?
627: [13:00:25] <origincube> hi Pyawwk :) its great thanks, but chilly still but nice and sunny
628: [13:00:28] <origincube> and you side of the world?
629: [13:01:02] <Pyawwk> origincube: the north side? warm and sunny. Cooling a bit though, being autumn.
630: [13:01:16] <origincube> that should have said *your
631: [13:01:22] <origincube> naughty fingers
632: [13:01:39] <Pyawwk> origincube: but my side? Asleep and warming up, 'cause spring. Probably raining a lot.
633: [13:02:08] <origincube> sounds great! yay for spring
634: [13:02:23] <Pyawwk> yeah, unfortuantely for me I'm not there :P
635: [13:02:27] * jrthomer has joined #silverstripe
636: [13:02:28] <Pyawwk> thus, awake.
637: [13:03:38] <Zauberfisch> Pyawwk: haha
638: [13:03:47] <Zauberfisch> have to bookmark that
639: [13:04:12] <Pyawwk> [13:36] <ocmnt> though, I assume the output of first() and limit(1) is the very same DO?
640: [13:04:39] <Pyawwk> ocmnt: nope. first() will give the actual DO. limit(1) will give a list containing that same first DO.
641: [13:04:41] <Zauberfisch> same DO, but one is packed inside a SS_LIST
642: [13:04:45] <Pyawwk> yup
643: [13:05:01] <Pyawwk> Zauberfisch: So I put it forward to go from Italy to Austria last night.
644: [13:05:06] <Pyawwk> Didn't go down well :<
645: [13:05:27] <Pyawwk> Pretty much as expected :/
646: [13:06:09] <origincube> so Pyawwk can I pick your brains about a site migration?
647: [13:06:20] <Pyawwk> yup
648: [13:06:23] <origincube> have a client who needs to move hosting
649: [13:06:27] <Pyawwk> it's easy.
650: [13:06:35] <origincube> so i backed up the db in full, pulled down the entire site
651: [13:06:41] <Pyawwk> move files, check permissions, move db, change appropriate details, job done.
652: [13:06:48] <origincube> ok cool
653: [13:07:05] <origincube> i presume though that if i move from linux hosting to windows hosting i may need to tweak other things?
654: [13:07:07] <Pyawwk> nothing more complicated in that in about 90% of transfers :>
655: [13:07:11] <Pyawwk> yup.
656: [13:07:19] <Pyawwk> windows as in IIS?
657: [13:07:27] <origincube> yeah
658: [13:07:34] <Pyawwk> ha, bl, good luck with that, see you in the afterlife :P
659: [13:07:38] <origincube> lol
660: [13:07:48] <origincube> well i had another test install of the cms on the hosting
661: [13:07:54] <Pyawwk> moving from mysql to mssql?
662: [13:07:54] <origincube> i just copied the web.config contents
663: [13:07:58] <origincube> no
664: [13:08:01] <origincube> mysql to mysql
665: [13:08:09] <Pyawwk> ok, so that's weird.
666: [13:08:12] <Pyawwk> but areet.
667: [13:08:31] <Pyawwk> yeah so if you do an update at the same time it may be easier.
668: [13:08:40] <Pyawwk> install SS fresh using installer for windows.
669: [13:09:10] <origincube> don't have access to the machine directly, its a shared envionrment
670: [13:09:16] <Pyawwk> then copy modules (incl. mysite) and assets, then database config stuff check, (obviously move db too), then test it.
671: [13:09:27] <Pyawwk> oh, stink.
672: [13:09:32] <origincube> yeah
673: [13:09:37] <Pyawwk> IDK much 'bout windows, so ... sorry.
674: [13:09:40] <origincube> upgrading during migration would be awesome though
675: [13:09:40] <wmk> Pyawwk, what did your gf say?
676: [13:09:55] <Pyawwk> wmk: well, she wasn't much impressed, I'll say that much.
677: [13:10:14] <wmk> i can feel you
678: [13:11:16] <Pyawwk> Yeah it's a shame.
679: [13:11:59] <origincube> Pyawwk: so if i put in a new copy of the latest SS
680: [13:12:06] <origincube> when do i restore the DB?
681: [13:12:24] <origincube> do a fresh clean install, in place, blank db and all
682: [13:12:50] <origincube> then copy over the assets and templates and things, restore db to a different db?
683: [13:12:59] <origincube> update db details in config files and rebuild all?
684: [13:13:34] <Pyawwk> origincube: doesn't matter when you do the DB, they're separate systems.
685: [13:13:57] <Pyawwk> but it's probably easier to do it first, as then all the content will be the same when you get the site up and running.
686: [13:14:17] <origincube> i'm just thinking in terms of the web based installation that happens
687: [13:14:20] <Pyawwk> you shouldn't need to dev/build (in terms of DB) but you should anyway because manifest will need filling
688: [13:15:13] <Pyawwk> origincube: oh, if you do a blank install, then whatever... just dump your db backup over top of the 'blank' db. Include 'drop table if exists' in the db dump and you'll be right.
689: [13:15:30] <Pyawwk> or: let db create & all that, empty it (drop all tables) then do import.
690: [13:15:50] <Pyawwk> that way user and permissions are all good, and the data will be good beause it's an exact copy of the site on export.
691: [13:16:08] <origincube> sweet
692: [13:16:46] <ss31noob> hi guys, in 3.1.. does it check first the template inside the themes folder in the root then if not found, it will go to the specific module? or the other way around?
693: [13:20:27] <origincube> Pyawwk will moving from 3.0.5 to 3.1.5 cause me drama? (if so i might just skip the upgrade)
694: [13:21:31] <Zauberfisch> Pyawwk: awww D:
695: [13:21:36] <Zauberfisch> Pyawwk: you will be missed
696: [13:21:59] <Zauberfisch> Pyawwk: did you also mentioned that she gets to meet the super amazing awesome zauberfisch?
697: [13:27:12] <wmk> ss31noob, first themes folder, then module
698: [13:27:54] <wmk> had to pass a second param in my templates to themedCSS('templatename','module') yesterday somehow
699: [13:28:21] * Shrike_Finland has joined #silverstripe
700: [13:28:34] * Shrike_Finland quit (Client Quit)
701: [13:33:03] <elgrodo> origincube: Latest is 3.1.6 just FYI
702: [13:33:14] <origincube> sweet, i had best grab that
703: [13:33:30] * ireneL has joined #silverstripe
704: [13:33:30] <origincube> thats elgrodo
705: [13:33:35] <origincube> *thanks
706: [13:33:41] * origincube can't type properly today
707: [13:35:00] * ireneL quit (Client Quit)
708: [13:42:29] * origincube_ has joined #silverstripe
709: [13:44:14] * origincube__ has joined #silverstripe
710: [13:44:55] * catcher has joined #silverstripe
711: [13:44:56] * origincube__ has left #silverstripe
712: [13:44:56] * origincube quit (Ping timeout: 252 seconds)
713: [13:44:57] * Error404NotFound quit (Ping timeout: 264 seconds)
714: [13:46:46] * origincube_ quit (Ping timeout: 252 seconds)
715: [13:47:38] <ocmnt> how to get the full url of a page from within the controller?
716: [13:48:09] <wmk> $page->AbsoluteURL()
717: [13:48:25] <wmk> or of current page?
718: [13:48:50] <wmk> oh should be, AbsoluteLink()
719: [13:49:31] <ocmnt> $page is not defined, trying all kinds off stuff, keeps empty
720: [13:49:42] <ocmnt> Director::baseURL() doesn't work neither
721: [13:55:57] <kinglozzer> ocmnt: http://www.silverstripe.org/general-questions/show/72918
722: [13:56:22] <kinglozzer> "Luz" :(
723: [13:56:57] <ocmnt> you are awesome lucy
724: [13:56:58] <ocmnt> :*
725: [13:56:59] <ocmnt> ;)
726: [13:57:38] <ocmnt> howeverrr
727: [13:57:43] <ocmnt> I want the domain in there aswell, it is missing :o
728: [13:57:50] <kinglozzer> https://github.com/silverstripe/deploynaut damnit ss23, I got excited then
729: [13:58:25] <ocmnt> ah nvm, I was not refreshing good enough
730: [13:58:28] <kinglozzer> ocmnt: Huh? That's weird
731: [13:58:29] <kinglozzer> Oh :P
732: [14:04:53] <wmk> kinglozzer, xxxl?
733: [14:16:11] * toddvalentine has joined #silverstripe
734: [14:24:46] <toddvalentine> Good morning. Has anyone used StaticPublisher with 3.1? Noticed its out of the core and the Issues page in Github has some pretty serious open issues.
735: [14:27:14] <kinglozzer> toddvalentine: Yep, we're using it for our site
736: [14:27:26] <wmk> toddvalentine, staticpublisher working fine in 3.1
737: [14:27:30] <wmk> like before in 2.4
738: [14:27:59] <wmk> you mean staticpublisher or static publish queue? Those are two different modules!
739: [14:28:18] <toddvalentine> wmk: I mean StaticPublisher.
740: [14:29:45] <toddvalentine> Can it be installed via composer? I'm not finding the module on ss add-ons.
741: [14:29:56] <kinglozzer> toddvalentine: Yeah: https://github.com/silverstripe-labs/silverstripe-staticpublisher/blob/master/composer.json
742: [14:30:00] <Pyawwk> HALP php dun gone fux'd up
743: [14:30:04] <kinglozzer> require "silverstripe/staticpublisher": "dev-master"
744: [14:30:27] <kinglozzer> Pyawwk: sup?
745: [14:30:30] <toddvalentine> Thanks. should have checked there first.
746: [14:30:34] <wmk> toddvalentine, yeah, sometimes the search on addons.silverstripe.org is a bit weird
747: [14:31:21] <Pyawwk> date('d/m/Y', strtotime('+10 days')) gives 21/09/2014 - as expected. date('d/m/Y', strtotime('-10 days')) gives 09/01/2014. Same shit via CLI gives 01/09/2014 as it should.
748: [14:31:51] <Pyawwk> I JUST DON'T EVEN
749: [14:32:29] <kinglozzer> lol
750: [14:32:33] <kinglozzer> Errr
751: [14:32:38] <kinglozzer> date.timezone ?
752: [14:32:46] <Pyawwk> correct.
753: [14:33:32] <kinglozzer> Hmm, is the result of strtotime the same on web vs cli?
754: [14:34:34] * wilsonstaff has joined #silverstripe
755: [14:35:22] <wilsonstaff> HI to all, someone can tell me why the backurl link isnt directing to the correct page? It redirects to the home page...
756: [14:36:51] <wilsonstaff> link is http://www.acmq.qc.ca/Security/login?BackURL=%2Facces-aux-membres%2Fformation%2F
757: [14:39:40] <kinglozzer> wilsonstaff: When I look at the source of that page, the form has <input type="hidden" name="BackURL" value="/admin/security/" class="hidden" id="MemberLoginForm_LoginForm_BackURL">
758: [14:40:00] <kinglozzer> Are you setting that anywhere? Or using a custom login form?
759: [14:40:47] <kinglozzer> Or setting Security: default_login_dest:
760: [14:40:48] <Pyawwk> kinglozzer: kicker: dS/m/Y gives 01st/09/2014, d/F/Y gives 01/Sept/2014
761: [14:40:58] <Pyawwk> BUT
762: [14:41:46] <Pyawwk> str_replace([st,nd,rd,th],'',dS/m/Y) gives 09/01/2014 again.
763: [14:42:00] <Pyawwk> I think json_encode might be fucking it :<
764: [14:42:06] <Pyawwk> but that makes pretty much no sense
765: [14:42:25] <kinglozzer> Pyawwk: http://php.net/manual/en/function.strtotime.php first two comments say similar stuff
766: [14:42:31] <kinglozzer> albeit with strtotime instead of date
767: [14:42:57] <wilsonstaff> <kinglozzer>This link is added by SS. I mean, the link is included into an HTML mail. It points toward a page that can be seen only my members. SO when trying to access unlogged, SS changes the link from www.mysite.com/protected page to www.mysite.com/Security/login?BackURL=/....
768: [14:43:40] <wilsonstaff> <kinglozzer> then once logged it should go back to www.mysite.com/protectedpage. Its not, its going to home.
769: [14:43:52] <Pyawwk> kinglozzer: oh shit, that awkward moment when you realise you modified the code a while back so you didn't have to format dates in __construct - I was date(d/m/Y) twice, which of course is going to fuck it
770: [14:44:15] <kinglozzer> wilsonstaff: Are you using static publishing or partial caching or anything?
771: [14:44:45] <kinglozzer> I'm guessing you might be, as I can't see a CSRF token
772: [14:45:05] <Pyawwk> ayway, early day today
773: [14:45:07] <Pyawwk> ciao!
774: [14:45:08] * Pyawwk quit ()
775: [14:45:24] <wilsonstaff> <kinglozzser>You are losing me... Static publishing?
776: [14:46:11] <wilsonstaff> <kinglozzer> Ive read adding to my page class should help? public function BackURL() { if(isset($_REQUEST['BackURL'])) { return $_REQUEST['BackURL']; } else { return Session::get('BackURL'); } } }
777: [14:48:31] <kinglozzer> Oh shi-. Ignore that, CSRF token is disabled by default
778: [14:48:36] <kinglozzer> Erm
779: [14:49:30] <kinglozzer> wilsonstaff: Not sure what's causing your issue. Does your email link to http://www.acmq.qc.ca/acces-aux-membres/formation/, not http://www.acmq.qc.ca/Security/login?BackURL=%2Facces-aux-membres%2Fformation%2F ?
780: [14:49:41] <kinglozzer> Well, actually, it /should/ work either way..
781: [14:50:14] <kinglozzer> I'm out of ideas, I'd run through MemberLoginForm.php (in framework) and try to work out where it's being missed
782: [14:51:46] * vebb has joined #silverstripe
783: [14:52:35] <wilsonstaff> <kinglozzer> WOUld this help => Ive read adding to my page class should help? public function BackURL() { if(isset($_REQUEST['BackURL'])) { return $_REQUEST['BackURL']; } else { return Session::get('BackURL'); } } }
784: [14:53:06] <kinglozzer> wilsonstaff: I don't know. Try it, it won't do any damage :)
785: [14:58:05] <wilsonstaff> <kinglozzer> Ok i will.
786: [14:58:53] * wilsonstaff quit (Quit: Page closed)
787: [15:01:08] <Zauberfisch> kinglozzer: have you signed up yet? :D
788: [15:01:43] <kinglozzer> Zauberfisch: Nope :P
789: [15:01:57] <Zauberfisch> D:
790: [15:02:31] <kinglozzer> It's a long way!
791: [15:03:09] <Zauberfisch> but its worth it!
792: [15:25:12] <wmk> full ack
793: [15:34:50] * ARNHOE quit ()
794: [15:37:43] * ss31noob quit (Ping timeout: 246 seconds)
795: [15:42:17] * jenniferaslan has joined #silverstripe
796: [15:43:20] * wmk quit (Quit: nice to meet you ;))
797: [15:52:54] * ocmnt quit (Quit: HydraIRC -> http://www.hydrairc.com <-)
798: [15:54:45] * Shrike_Finland has joined #silverstripe
799: [15:55:29] * zfmf has joined #silverstripe
800: [16:01:15] * kinglozzer quit ()
801: [16:07:53] * stnvh quit ()
802: [16:19:28] * Otterpocket has joined #silverstripe
803: [16:32:31] * Otterpocket quit (Quit: WeeChat 0.4.1)
804: [16:38:01] * Error404NotFound has joined #silverstripe
805: [16:53:25] * Error404NotFound quit (Quit: User guilty of hitting the Big Red X...)
806: [16:59:33] * babak quit (Quit: Connection closed for inactivity)
807: [17:32:29] * terryapodaca has joined #silverstripe
808: [17:32:38] <terryapodaca> Hey guys...
809: [17:33:31] <terryapodaca> I need to see if anyone has a tutorial or sample code to dynamically generate dropdowns (select box) based on the previously selected option
810: [17:33:42] <terryapodaca> commonly called cascading dropdowns
811: [17:35:52] <catcher> terryapodaca, that's all client-side stuff, no?
812: [17:36:56] <terryapodaca> catcher...I guess it could be, but that would be doing a 'get all' and then using something like jQuery to filter?
813: [17:37:14] <terryapodaca> I thought maybe SS had something built in that would help
814: [17:37:47] <terryapodaca> I basically need to mimic this: http://bigtexlivestock.ntelligentsystems.com/presstool.aspx
815: [17:42:38] <catcher> terryapodaca, that has to be client side, the page is updating with a client-only action
816: [17:43:54] * zfmf quit ()
817: [17:44:32] * Shrike_Finland quit (Quit: Leaving.)
818: [17:54:04] * Stomach_ quit (Quit: bye)
819: [18:07:26] <muskie9> terryapodaca, I've done something similar... was js/ajax calls to a controller function to get the data from the db
820: [18:07:35] * Shrike_Finland has joined #silverstripe
821: [18:17:17] * Shrike_Finland quit (Quit: Leaving.)
822: [18:22:10] * Shrike_Finland has joined #silverstripe
823: [18:27:24] * Shrike_Finland quit (Quit: Leaving.)
824: [18:40:07] * Shrike_Finland has joined #silverstripe
825: [18:49:53] * Shrike_Finland quit (Quit: Leaving.)
826: [18:50:55] * Shrike_Finland has joined #silverstripe
827: [19:15:19] * wmk has joined #silverstripe
828: [19:30:09] * muskie9 quit (Quit: Textual IRC Client: www.textualapp.com)
829: [19:35:59] * antmas has joined #silverstripe
830: [19:39:03] * gordon__ has joined #silverstripe
831: [19:40:15] * elgrodo quit (Ping timeout: 252 seconds)
832: [20:15:15] <antmas> morning all
833: [20:15:20] <wmk> hi Anselm_
834: [20:15:28] <wmk> hmm, hi antmas
835: [20:15:47] * UndefinedOffset quit (Quit: Leaving.)
836: [20:17:22] <antmas> :D hi
837: [20:19:25] * Stomach has joined #silverstripe
838: [20:19:40] <Stomach> Zauberfisch - it turned out it was due to a comment
839: [20:19:50] * Kingy[a] is now known as Kingy
840: [20:19:52] <Stomach> class MembersPage extends Page // update this later
841: [20:19:53] <Stomach> {
842: [20:19:58] <Stomach> whoops
843: [20:20:15] <Kingy> moin moin
844: [20:20:20] * oddnoc has joined #silverstripe
845: [20:24:46] <wmk> Kingy moin
846: [20:25:13] <Zauberfisch> wmk: hit me up about the onepage thing again on monday
847: [20:25:18] <Zauberfisch> I'll show you my code
848: [20:25:21] <Zauberfisch> to busy the rest of the week
849: [20:25:23] <wmk> Zauberfisch, ok
850: [20:25:35] <Zauberfisch> (or perhaps on saturday or sunday morning, might have time there)
851: [20:25:40] <wmk> well, you told me to hit you up today for the hotel stuff...?
852: [20:25:48] <Zauberfisch> shit
853: [20:25:51] <Zauberfisch> yeah, I guess I did
854: [20:25:56] <Zauberfisch> didn't had time for it yet
855: [20:25:57] <Zauberfisch> <.<
856: [20:26:07] <wmk> np
857: [20:30:52] <catcher> Need to write one object's Date value into the DateTime of another, it's hating on me. The DateTimes all look right, but I can't use them for sorting.
858: [20:34:55] * Ryan-Toast has joined #silverstripe
859: [20:36:55] <wmk> catcher, ?
860: [20:37:46] <Ryan-Toast> Friday, awwwww yiss
861: [20:38:39] <catcher> Found the problem: <- this guy
862: [20:40:36] <antmas> Ryan-Toast: you know what it's time for?
863: [20:40:54] <Ryan-Toast> antmas: It’s still the morning, antmas :P
864: [20:41:01] <antmas> Ryan-Toast: ;_____;
865: [20:41:26] <antmas> I've been in Sharepoint dev all week, I need lols
866: [20:41:28] <Ryan-Toast> antmas: you’re going to have to wait until 2pm http://i.imgur.com/deqvt.gif
867: [20:41:42] <antmas> Ryan-Toast: XD
868: [20:46:47] <antmas> ouch, our DMS just broke
869: [20:46:49] <antmas> :(
870: [20:57:03] * vebb has joined #silverstripe
871: [20:58:12] * zippy has joined #silverstripe
872: [20:58:23] <zippy> sometimes I feel more time working out names of things then doing code
873: [20:58:35] <zippy> call it stock or inventory or product
874: [20:58:37] <zippy> omg omg
875: [21:00:15] <Ryan-Toast> zippy: 80% of my time
876: [21:00:21] <Ryan-Toast> what should I call this class...
877: [21:00:38] <zippy> yerp
878: [21:01:26] <Ryan-Toast> I’m on the fence about using the css technique where you generate child classes as .tree.tree—leaf
879: [21:01:48] <Ryan-Toast> but I feel like that defeats the point of OOCSS
880: [21:02:19] <zippy> isn't that the same as .btn .btn-xs
881: [21:02:26] <Ryan-Toast> no
882: [21:02:33] <Ryan-Toast> that’s not inheritance
883: [21:02:51] <Ryan-Toast> .btn and .btn-xs would be the same object
884: [21:03:14] <Ryan-Toast> but .btn.btn—xs would be an element inside the button
885: [21:04:18] <zippy> well... class="btn btn-xs" is a single object isn't it? which is .btn.btn-xs ?
886: [21:05:09] <Ryan-Toast> it would be something like <div class=“btn”><span class=“btn-xs”></div></div>
887: [21:05:34] <zippy> hmm
888: [21:05:48] <zippy> when I use it, I do <button class="btn btn-xs">Click me</button>
889: [21:06:02] <zippy> I think we might be talking about two different things :)
890: [21:06:10] <Ryan-Toast> We are :P
891: [21:07:03] <zippy> right, picked out my names. now refactor all the models and relationships!
892: [21:07:06] <zippy> fucking w00t
893: [21:07:31] <Ryan-Toast> I get to spend the morning writing a conversion strategy, yay...
894: [21:08:33] <antmas> all of your complaints mean nothing
895: [21:08:36] <antmas> I'm doing sharepoint
896: [21:08:39] <antmas> \
897: [21:08:56] <Ryan-Toast> antmas: fuck your life.
898: [21:09:02] <antmas> ;_______________________;
899: [21:17:18] <antmas> hah, pistoriouoiouoiois not guilty?
900: [21:20:42] * catcher quit (Ping timeout: 245 seconds)
901: [21:23:29] <zippy> antmas: of pre-mediated murder
902: [21:23:36] <zippy> antmas: probably still get done for murder, surely
903: [21:23:39] <Ryan-Toast> zippy: this is what I was talking about
904: [21:23:40] <Ryan-Toast> http://benfrain.com/modular-css-bem-oocss-naming/
905: [21:25:19] * nickmolhoek has joined #silverstripe
906: [21:27:46] <antmas> zippy: all counts of murder cleared, he can only get done for manslaughter now
907: [21:27:55] <zippy> orly, wow...
908: [21:28:06] <antmas> and a weapon charge probablu
909: [21:28:09] <antmas> probably*
910: [21:28:23] <antmas> 15 max as opposed to 25
911: [21:30:05] <Stomach> zippy - call it Purchaseable
912: [21:30:18] <Stomach> Purchasable
913: [21:31:55] <zippy> hm
914: [21:31:56] <zippy> to lae
915: [21:31:58] <zippy> late
916: [21:33:14] <Stomach> what did you end up calling it
917: [21:40:38] * Shrike_Finland quit (Quit: Leaving.)
918: [21:44:03] * willr has joined #silverstripe
919: [21:48:14] * simon_w has joined #silverstripe
920: [21:59:02] <simon_w> So, what are you plebs up to today?
921: [21:59:19] <Kingy> fuck around friday
922: [21:59:35] <Kingy> read: doing what work tells me to do like every other day
923: [22:00:06] <zippy> pro tip for friday, on the mac you use the option and arrow keys to jump over words, you can also use option and delete to remove the whole word
924: [22:00:57] <Kingy> omg it works
925: [22:04:20] <simon_w> Also, cmd+delete to delete to the start of the line
926: [22:04:54] <zippy> :)
927: [22:05:38] <zippy> ctrl-a and ctrl- to move to start / end of line
928: [22:05:43] <willr> And in terminal option click to go to to specific point in the line. Super handy if you got a massive command wrong :)
929: [22:06:31] <Kingy> this needs to be written down somewhere
930: [22:06:40] <zippy> drag a file into the terminal to copy the whole path in there
931: [22:07:03] <antmas> I'm rebuilding a UI
932: [22:07:25] <antmas> and setting up some Surface 3s
933: [22:07:49] * Olliepop has joined #silverstripe
934: [22:07:55] <zippy> you can use the commands pbcopy to copy something to the clipbaord - eg $ cat myfile | pbcopy and there is the command pbpaste eg- $ pbpaste > somefile
935: [22:08:28] <antmas> what's the general width of smart phones these days in terms of pixels?
936: [22:08:35] <Kingy> lol antmas
937: [22:08:37] <Kingy> gl
938: [22:08:42] <antmas> :P
939: [22:08:44] <antmas> I know
940: [22:09:00] <Kingy> just try cater for every pixel and you'll be sweet P
941: [22:09:01] <Kingy> :P
942: [22:09:09] <Kingy> ie use a framework to do the work for you
943: [22:09:12] <antmas> I don't need to be specific I just need to set a min ish
944: [22:09:31] <willr> antmas I assume smallest is 320px and anything bigger than that is possible
945: [22:09:37] <antmas> Kingy: I'm doing it from scratch :P
946: [22:09:49] <antmas> willr: thanks
947: [22:09:55] <antmas> I was going to do the same
948: [22:10:01] * micmania1 has joined #silverstripe
949: [22:10:30] <Kingy> lol my partner teaches a class called 10ce, nicknamed 10 common error
950: [22:10:53] <wmk> argh, coding late at night isn't good
951: [22:22:42] <adrexia> Kingy, the history geek inside me is laughing very hard. The rest of me thinks its a horrible pun
952: [22:23:20] <Kingy> well she is a history teacher :p
953: [22:23:29] <willr> 10ce sounds like a shitty scooter.
954: [22:23:31] <adrexia> good. The world needs history teachers
955: [22:23:49] <Kingy> i thought compact edition was better
956: [22:24:16] <adrexia> but is that shortened to CE?
957: [22:24:47] <adrexia> now they just need a 10bce
958: [22:25:16] <Kingy> haha
959: [22:29:50] <Kingy> 10AH was ah! real monsters because they were fuckers last year
960: [22:31:06] <adrexia> common theme - 14 year olds are horrible
961: [22:31:21] <adrexia> I know we were
962: [22:31:41] <simon_w> Year 10 is the worst year for it
963: [22:31:47] <Kingy> yeah
964: [22:32:01] <Kingy> no longer the newest and the school
965: [22:32:10] <Kingy> and don't have to really worry about important exams until next year
966: [22:32:20] <Kingy> at the*
967: [22:35:29] <adrexia> but also - 14-15 year olds are fundamentally bad people :P
968: [22:36:22] <adrexia> even outside the school context. My friends at that age thought in fighting was the best game ever. Drama everywhere
969: [22:36:42] <Stomach> I was too busy masturbating for drama
970: [22:36:44] <Kingy> sounds more like a chick thing to do really lol
971: [22:36:48] <adrexia> and the following year everyone got ovber themeselves and became human beings again
972: [22:37:00] <adrexia> yeah - girls school
973: [22:37:38] * toddvalentine quit ()
974: [22:37:47] <adrexia> 14 year old boys are just sort of awkward ;)
975: [22:38:29] * vebb quit (Ping timeout: 252 seconds)
976: [22:38:44] <Kingy> yes furiously masturbating as Stomach kindly pointed out
977: [22:38:51] <adrexia> bwhaha
978: [22:39:02] <oddnoc> ah, memories :)
979: [22:39:04] * vebb has joined #silverstripe
980: [22:39:07] <adrexia> best not to ask too many questions
981: [22:39:28] <Stomach> I can't even imagine how much kids masturbate now days
982: [22:39:33] <Stomach> with fibre internet
983: [22:39:34] <Stomach> jeez
984: [22:39:35] <adrexia> ...umm
985: [22:39:46] <Kingy> i reckon
986: [22:39:47] <adrexia> I'm pretty sure you are not supposed to imagine kids masturbating
987: [22:39:58] <adrexia> eww
988: [22:39:58] <Kingy> hd errrwhere
989: [22:40:20] <Kingy> none of this, start up limewire and walk away for 5 hours
990: [22:40:24] <adrexia> so, umm, subsites?
991: [22:40:39] <Kingy> lol
992: [22:40:57] <Kingy> adrexia: now you've just gone and got spronk all excited
993: [22:41:08] <adrexia> you are bad people
994: [22:41:09] <simon_w> Not sure what's worse. Imgainging kids masturbating or subsites.
995: [22:41:51] <adrexia> ...
996: [22:42:10] <Stomach> aaaaand its definitely friday
997: [22:42:17] <Stomach> sorry for lowering the tone of conversation
998: [22:42:22] <adrexia> hahaha
999: [22:42:55] <Stomach> or raising it, depending on whether simon_w works out which is worse
1000: [22:43:00] * wmk quit (Quit: nice to meet you ;))
1001: [22:43:08] <Kingy> now we just need to wait for Ryan-Toast to post some dodgy friday gifs and life will be complete
1002: [22:43:21] <Ryan-Toast> Kingy: ;) 2pm.
1003: [22:43:21] * joelpittet has joined #silverstripe
1004: [22:43:27] <simon_w> Haven't talked about cars yet though
1005: [22:43:39] <Ryan-Toast> simon_w: or bikes!
1006: [22:44:11] <oddnoc> I finally figured out that Burger Fuel isn’t slang for burgers; it’s some kind of chain restaurant.
1007: [22:44:35] <Ryan-Toast> oddnoc: Mmmmm, sounds like I know what I’m having for lunch
1008: [22:45:07] <adrexia> Burgerfuel is so far away now
1009: [22:45:27] <simon_w> My nearest one's four hours drive away :(
1010: [22:45:40] <Ryan-Toast> My boss always goes and gets it.
1011: [22:45:46] <adrexia> ... yeah, mine's only a 10minute walk
1012: [22:45:51] <adrexia> you win
1013: [22:46:08] <Ryan-Toast> Motorbikes make food delivery difficult.
1014: [22:46:10] <antmas> guis
1015: [22:46:15] <antmas> pls
1016: [22:46:17] <antmas> ;__;
1017: [22:46:31] <simon_w> Heh, I think mine's still closer than antmas's
1018: [22:46:37] <Kingy> hahaha
1019: [22:46:57] <Kingy> antmas: how good is your swimming?
1020: [22:47:23] * pippy quit (Quit: Page closed)
1021: [22:48:15] <antmas> not good enough
1022: [22:48:16] <antmas> :(
1023: [22:48:34] <simon_w> Not distance wise, but time wise
1024: [22:48:35] <antmas> Ryan-Toast: get a bag?
1025: [22:49:19] <antmas> tank bags are great for food
1026: [22:49:41] <antmas> leave the lid partially open and the food smell wafts up your chin vent :D
1027: [22:49:52] <antmas> take that out of context ^^^
1028: [22:51:47] <zippy> @simon_w: more like time $ wise. a flight to welly doesn't take long, but that'd be some expensive burger fuel
1029: [22:52:13] <Kingy> considering it's already pricey
1030: [22:52:19] * antmas adjusts zippys rates
1031: [22:52:23] <simon_w> zippy, he can drive to Chch
1032: [22:52:24] <antmas> not that expensive!
1033: [22:52:32] <zippy> chch has bugerfueld now?
1034: [22:52:36] <simon_w> Yes
1035: [22:52:45] <zippy> fuck me it does too!
1036: [22:52:45] <antmas> 5 hour drive from here to chch zippy ?
1037: [22:52:52] <zippy> just under year
1038: [22:52:57] <zippy> I am going to chch next month, oh yea
1039: [22:53:04] <Kingy> https://twitter.com/JAGracie/status/510199338652680192
1040: [22:53:09] <Kingy> just for you Anselm_
1041: [22:53:13] <Kingy> gah
1042: [22:53:14] <Kingy> antmas:
1043: [22:53:23] <antmas> :D
1044: [22:53:35] <antmas> Kingy: I wrote them a letter earlier this year lol
1045: [22:53:47] <Kingy> haha, well thats make 2 people
1046: [22:53:50] <Kingy> they can't stop listening forever!
1047: [22:54:05] <zippy> such domand
1048: [22:54:19] <antmas> they need something here
1049: [22:54:21] <zippy> antmas: they should close down that bk in richmond and put a bugerfuel there instead
1050: [22:54:29] <antmas> all we have are the typical FF places
1051: [22:54:32] <antmas> zippy: indeed
1052: [22:54:49] <Kingy> up in Feilding they had no pizza places
1053: [22:54:49] <antmas> and like 100 mcds
1054: [22:54:59] <Kingy> all of a suddens, Hells, Dominos and Pizza Hut are opening stores
1055: [22:55:09] <Kingy> don't think demand is that huge
1056: [22:55:18] <adrexia> I rmemeber when Nelson got BK
1057: [22:55:21] <antmas> Pizza Hut is like puke on cardboard
1058: [22:55:30] <adrexia> we talked about it for like 10 years before it ahppened
1059: [22:55:35] <Stomach> Kingy - the KFC there used to be really good
1060: [22:55:35] <adrexia> it was a really big deal
1061: [22:55:40] <Kingy> antmas: only one Masterton has :(
1062: [22:55:55] <Kingy> oh wait it has a Hells somewhere I think
1063: [22:56:08] <antmas> Stomach: the KFC here is terribad
1064: [22:56:15] <antmas> the Motueka one is awesome
1065: [22:56:23] <Stomach> I havent had good kfc for fucking ages
1066: [22:56:39] <zippy> the nelson hells shutdown :(
1067: [22:56:46] <antmas> why?
1068: [22:57:36] <zippy> something to do with the lease I think
1069: [22:57:46] <antmas> damn
1070: [22:57:50] <zippy> yea, was a rip
1071: [22:57:58] <antmas> tbh I'm not a big pizza fan
1072: [22:58:21] <antmas> I went to that Paula's Candita the other night
1073: [22:58:37] <antmas> and Paula didn't know that Jalepino's are hot
1074: [22:58:40] <antmas> -___-
1075: [22:58:52] <antmas> I was disappoint
1076: [22:59:42] * Zopiclone has joined #silverstripe
1077: [23:01:00] <zippy> antmas: that reminds me, I want to try that new kfc burger with the jalepinos
1078: [23:01:15] <Ryan-Toast> antmas: but then I have to actually go places to pick things up, instead of having them delivered to me.
1079: [23:01:45] <antmas> zippy: mmmm, might have to go to mot for that
1080: [23:01:52] <antmas> can't trust that Nelson one :O
1081: [23:02:55] <zippy> antmas: https://www.youtube.com/watch?v=st3jCUMO2no#t=34
1082: [23:03:10] <antmas> zippy: :D
1083: [23:05:04] * crapwagon has joined #silverstripe
1084: [23:06:35] <crapwagon> hi, i've got a project i'm trying to design, basically there are n brands under one parent brand and each sub brand has its own categories, i think for the client a single tree / cms for managing pages would make more sense than x different cms views, what would be the best way to organise this?
1085: [23:06:51] <crapwagon> right now there are 3 big brands and about 8 small brands
1086: [23:07:03] <crapwagon> with their own selection of brand sepcific pages / templates / styles
1087: [23:07:15] <crapwagon> i don't think for example having 11 cms installs makes any kind of sense
1088: [23:07:19] <Stomach> speakin gof KFC: https://www.facebook.com/video.php?v=10204926212625252
1089: [23:08:00] <adrexia> crapwagon - I agree
1090: [23:08:02] <Stomach> crapwagon - yeah that makes sense, just make BrandHolderPage and BrandPage and SubBrandPage etc
1091: [23:08:22] <adrexia> does each brand have its own urls ?
1092: [23:08:30] <adrexia> or all under the same site?
1093: [23:08:48] <crapwagon> they have their own domains yeah but navigation wise all of the brands are almost the same template with some different colors and you can navigate between the brands
1094: [23:09:09] <adrexia> multi sites provides a sitetree based sub site schemea
1095: [23:09:10] <crapwagon> i can use mod rewrite or proxy foo to turn the domains into paths of a single domain internally though
1096: [23:09:16] <adrexia> https://github.com/sheadawson/silverstripe-multisites
1097: [23:09:20] <crapwagon> okay cool
1098: [23:09:28] <adrexia> don't know if it's any good
1099: [23:09:48] <adrexia> but from a ux poiunt of view, it fits what you are talking about
1100: [23:09:49] * micmania1 quit (Quit: micmania1)
1101: [23:09:49] <crapwagon> i've heard it mentioned before by a friend that put me into SS so might be worth a crack
1102: [23:09:52] <crapwagon> he's made dozens of sites
1103: [23:09:57] <adrexia> :)
1104: [23:10:39] <crapwagon> is there a canonical tutorial / getting started for SS these days, I haven't used it for 6-8 months I guess
1105: [23:10:51] <crapwagon> before i bash off in the direction i did last time
1106: [23:10:55] * muskie9 has joined #silverstripe
1107: [23:11:03] <adrexia> depends what you are after
1108: [23:11:12] <adrexia> you can try the actual getting started tutorials
1109: [23:11:20] <adrexia> but they don't go into much depeth
1110: [23:11:25] * muskie9 quit (Client Quit)
1111: [23:11:33] <crapwagon> yeah i think i've gone through them a handful of times over the last couple of years
1112: [23:11:35] <Kingy> we use brandpages on our site :P
1113: [23:11:46] * micmania1 has joined #silverstripe
1114: [23:11:47] * muskie9 has joined #silverstripe
1115: [23:11:49] * willr quit (Ping timeout: 260 seconds)
1116: [23:12:40] * superspring has joined #silverstripe
1117: [23:13:09] <crapwagon> thanks for the help guys, i'm sure i'll badger you more
1118: [23:15:02] <Kingy> does anyone use social media like/share/tweet buttons?
1119: [23:15:14] <ss23> 01:57 #silverstripe: < kinglozzer> https://github.com/silverstripe/deploynaut damnit ss23, I got excited then
1120: [23:15:17] <ss23> hahaha
1121: [23:15:19] <ss23> Technically it's created!
1122: [23:15:27] <adrexia> bwhaahha
1123: [23:15:35] <ss23> adrexia came around and was like "WHY AREN'T YOU DEPLOYNAUTIFIED IT YET?
1124: [23:15:36] <ss23> so I did it
1125: [23:15:36] <ss23> :D
1126: [23:15:37] <ss23> um
1127: [23:15:40] <ss23> I mean opensourced it yet*
1128: [23:15:44] * Kingy watches
1129: [23:15:55] <Kingy> already 11 people watching haha
1130: [23:16:01] <ss23> DAMMIT
1131: [23:16:01] <adrexia> https://github.com/silverstripe/deploynaut/issues/1
1132: [23:16:05] <ss23> I LEFT THE ISSUE TRACKER TURNED ON
1133: [23:16:05] <ss23> :O
1134: [23:16:06] * ss23 edits
1135: [23:16:10] <adrexia> bwhahaha
1136: [23:16:22] <ss23> haha, fixed
1137: [23:16:26] <ss23> Wait, can you turn off pull requests too?
1138: [23:16:27] <ss23> :O
1139: [23:16:31] <Kingy> do it ss23 DO ITTTT
1140: [23:16:34] <adrexia> hahah
1141: [23:16:48] <adrexia> lame
1142: [23:17:22] <adrexia> deamn, can't fork it either
1143: [23:17:54] <simon_w> ss23, it's still in the wrong place
1144: [23:18:04] <adrexia> is it?
1145: [23:18:04] <crapwagon> Kingy: lots of my clients do
1146: [23:18:11] <crapwagon> Kingy: people actually use pinterest a lot :<
1147: [23:18:23] * willr has joined #silverstripe
1148: [23:18:27] <simon_w> adrexia, should be in labs. Is SS Ltd maintained
1149: [23:18:28] <crapwagon> i haven't seen anyone tweet stuff, but the facebook and pinterest buttons get used
1150: [23:18:37] <crapwagon> i use GA events to track them so i can see what's going on
1151: [23:18:48] <adrexia> simon_w why?
1152: [23:18:49] <Kingy> how did you embed them?
1153: [23:18:57] <adrexia> labs it for experimental stuff
1154: [23:19:06] <crapwagon> just hacked them together from the javascript notes on the respective sites
1155: [23:19:07] <Kingy> just using the js provided by google/twitter etc?
1156: [23:19:10] <Kingy> yeah ok
1157: [23:19:21] <crapwagon> usually i use a custom controller to provide the right metadata and crap to their scrapers
1158: [23:19:28] <simon_w> adrexia, then they really need a separate account. Keep the .com and .org stuff separate
1159: [23:19:54] <adrexia> everythign that's on github is openbsourced
1160: [23:19:58] <adrexia> thus .org
1161: [23:20:04] <simon_w> Nope
1162: [23:20:22] <Stomach> lol @ your deploynaut issue
1163: [23:20:55] <adrexia> .com is literally client stuff
1164: [23:21:01] <adrexia> opr at least it was
1165: [23:21:16] <adrexia> but... I think theat dicotomy is being ditched anyway
1166: [23:21:21] <adrexia> *that
1167: [23:21:37] * StefanLehmann_ has joined #silverstripe
1168: [23:22:05] <simon_w> adrexia, I have these massive rants on the committers list already. SilverStripe Ltd and the SilverStripe open source project need to be made separate
1169: [23:22:46] <adrexia> but they are all open source
1170: [23:22:49] <antmas> I probably should stop streaming twitch at work
1171: [23:22:55] <adrexia> that's why tehy are on github
1172: [23:23:08] * StefanLehmann_ quit (Remote host closed the connection)
1173: [23:23:17] <Colin[pi]> g'moin y'all
1174: [23:23:22] <simon_w> adrexia, so? Why should the open source team have to care about Ltd's projects?
1175: [23:23:43] <adrexia> oh, you mean why should the silverstripe core team mhave to care?
1176: [23:24:11] * Ryan-Toast quit (Quit: Ryan-Toast)
1177: [23:24:17] <adrexia> so what, you vote to let projects onto the silverstripe github?
1178: [23:24:36] <antmas> Colin[pi]: SUP
1179: [23:24:49] <adrexia> at what point are they of use to the open source community?
1180: [23:25:38] <simon_w> They can be open sourced and still not be part of the core team's area of control
1181: [23:25:41] <ss23> simon_w: If you seriously have an issue with opensource code from silverstripe being put on silverstripes github account, I suggest you take it up with Sam or Ingo.
1182: [23:25:57] <simon_w> Labs is currently that place
1183: [23:26:18] <simon_w> ss23, and this is just another reason why I think one of them should be renamed
1184: [23:26:44] <ss23> IRC is not even close to the right venue to express that opinion and expect something to happen because of it
1185: [23:26:47] <Colin[pi]> antmas: YO DAWG
1186: [23:27:03] <antmas> Colin[pi]: YO YO YO
1187: [23:27:14] * antmas does gangsta signs with hands
1188: [23:27:15] <antmas> o/
1189: [23:27:20] <simon_w> ss23, I was expressing that deploynaut should be moved to not be seen as a core project
1190: [23:27:31] <simon_w> That's something that can actually be achieved over IRC
1191: [23:27:32] <Colin[pi]> \o mah nigga
1192: [23:27:41] <ss23> simon_w: It's not something that I'm going to do
1193: [23:27:59] <jordank> hey, anyone here got experience using the SilverStripe Restricted Objects module? https://github.com/nyeholt/silverstripe-restrictedobjects
1194: [23:28:04] <simon_w> Nor's open sourcing it, but you know
1195: [23:28:09] <ss23> heh
1196: [23:28:15] <ss23> Well, one day :P
1197: [23:28:25] <ss23> Gotta keep everyone on their toes, sneak it out one day :D
1198: [23:29:43] * vebb has joined #silverstripe
1199: [23:30:08] <adrexia> simon_w I disagree about deploynaut
1200: [23:30:37] <simon_w> adrexia, why should it be core, simply because SS Ltd built it?
1201: [23:30:50] <adrexia> no - because it's incredibly useful to the community
1202: [23:30:53] <antmas> is it an integral part of ss?
1203: [23:31:12] <simon_w> adrexia, so why not make Heyday's, or SS AU's deployment system core?
1204: [23:31:16] <ss23> antmas: Not all of the stuff on the main repo is :P
1205: [23:31:25] <ss23> uh
1206: [23:31:26] <ss23> main account
1207: [23:31:26] <simon_w> What's so special about this one?
1208: [23:31:54] <adrexia> Heyday went in a siumlar direction (but without the ui component? )- perhaps they wouldn't have if deploynaut had been opensourced at that point?
1209: [23:31:58] <antmas> so how does one choose what is core and what isn't?
1210: [23:32:17] <adrexia> SS AU's deployment system also probably would have prevented the need for deploynaut
1211: [23:32:22] <ss23> antmas: Flip a coin :D
1212: [23:32:30] <ss23> "core" in this case means "on the main repo", antmas?
1213: [23:32:31] <simon_w> adrexia, SS AU's system existed before dploynaut
1214: [23:32:39] <adrexia> people are reinventing the wheel, when they don't have to
1215: [23:32:40] <simon_w> SS Ltd has a very horrible case of not-in-house
1216: [23:32:46] <adrexia> they coul;d actually be working togetehr
1217: [23:32:52] <ss23> simon_w: Yeah, that's why we're using capistrano, rather than building our own deployment system
1218: [23:32:55] <ss23> :P
1219: [23:32:56] <antmas> ss23: in whichever case we're discussing here
1220: [23:33:16] <ss23> Oh wait no that was ssau
1221: [23:33:16] <antmas> simon_w: is arguing that it shouldn't be part of core
1222: [23:33:17] <ss23> hum.
1223: [23:33:39] <antmas> I'm wondering what makes a core thing a 'core' thing
1224: [23:33:48] <adrexia> I don't thin k subsites should be there
1225: [23:33:53] <adrexia> can we kick that out too?
1226: [23:33:56] <adrexia> please
1227: [23:34:00] <simon_w> That would be so good
1228: [23:34:05] <adrexia> it looks like it should be stable or soemthing
1229: [23:34:21] <antmas> it seems like people don't want things in core because they don't want to work on it?
1230: [23:34:28] <simon_w> antmas, "core" basically started as whatever modules SS Ltd's clients didn't want to pay to maintain anymore
1231: [23:34:51] <adrexia> to me, and to a lot of otehrs, silverstripe vs silverstripe-labs is the difference between stable and experimental
1232: [23:34:56] <simon_w> (sub sites is a great case here)
1233: [23:35:17] <simon_w> adrexia, when I get around to writing my email, I'm going to be suggesting renaming (or creating) a silverstripe-ltd org
1234: [23:35:29] <adrexia> maybe
1235: [23:35:52] <adrexia> but if you look at the big heading here: https://github.com/silverstripe
1236: [23:36:06] <ss23> heh
1237: [23:36:08] <simon_w> Yeah, I have problems with that too
1238: [23:36:12] <adrexia> ;)
1239: [23:36:17] <simon_w> Need to get around to writing my next email
1240: [23:36:54] <adrexia> to be honest simon_w most developers in silverstripe use their own github accounts, or team based group accounts
1241: [23:37:21] <adrexia> the stuff that ends up in ioetehr of those places is only the stuff that is seen as being of interest to thew wider community
1242: [23:37:22] <oddnoc> b .
1243: [23:37:28] <oddnoc> sorry, wrong window
1244: [23:37:31] <adrexia> *either
1245: [23:37:51] <adrexia> also kick out silverstripe forum
1246: [23:38:06] <adrexia> silverstripe blog
1247: [23:38:14] <adrexia> translatable
1248: [23:38:26] <adrexia> widgets
1249: [23:38:39] <adrexia> ..hell most of these
1250: [23:39:06] <adrexia> perhaps its quicker to create a new account for framework and cms
1251: [23:39:08] <adrexia> :P
1252: [23:39:28] <adrexia> and the db integration modules
1253: [23:39:42] <simon_w> Well, I get to go talk to banks now
1254: [23:39:45] <simon_w> Yay :(
1255: [23:39:48] <adrexia> :D
1256: [23:39:58] * simon_w quit (Quit: Ping timeout: your mum)
1257: [23:42:36] * Ryan-Toast has joined #silverstripe
1258: [23:43:21] * zippy quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
1259: [23:51:40] <Kingy> ahahah adrexia
1260: [23:52:03] <Kingy> i just got the issue email
1261: [23:58:00] * willr quit (Quit: willr)

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