IRC logs

20131210

Logs from channel #fedext on freenode - our official support channel.

IRC log range: 20131210*

20131210

  • 00:57:43 <FT3BOT> Issue 379: [TASK] Automatically add Wizards created through Field instances https://github.com/fluidtypo3/flux/issues/379
  • 00:57:44 <FT3BOT> Issue 379: [TASK] Automatically add Wizards created through Field instances https://github.com/fluidtypo3/flux/issues/379
  • 01:00:25 <FT3BOT> Issue 369: [FEATURE] Added utility for vendor extension registration https://github.com/fluidtypo3/flux/issues/369
  • 01:00:26 <FT3BOT> Issue 369: [FEATURE] Added utility for vendor extension registration https://github.com/fluidtypo3/flux/issues/369
  • 06:38:28 <randomresult> @danilobuerger arhmmm... no xml in there?
  • 08:02:36 <mrboe> good morning
  • 08:23:12 <randomresult> moin mrboe
  • 09:15:25 <randomresult> any recommendations on which Editor i should use for editing an MD-File?
  • 10:03:14 <randomresult> THIS SUCKS BIG TIME - i hate md files. and i hate doublebacktickscrapmarkupshit
  • 10:12:15 <danilobuerger> randomresult what OS?
  • 10:12:37 <randomresult> im using macOSX maverics
  • 10:12:51 <randomresult> and i just installed a md-plugin in phpstorm
  • 10:13:01 <randomresult> and double backticks s*ck big time
  • 10:13:33 <randomresult> why not use `locallang.xml`instead... looks quite the same
  • 10:25:33 <danilobuerger> use textmate 2 http://macromates.com/download
  • 10:25:57 <bjo3rn> sublimetext ftw
  • 10:26:04 <danilobuerger> eeehhhkkk
  • 10:26:48 <danilobuerger> 70 USD for a text editor? No thanks, i would rather code in word.
  • 10:27:02 <bjo3rn> yawn
  • 10:27:05 <danilobuerger> :P
  • 10:27:55 <bjo3rn> 'a text editor' LOL
  • 10:28:05 <bjo3rn> and textmate is, what, 50€ ?
  • 10:28:11 <danilobuerger> textmate is free
  • 10:28:22 <danilobuerger> https://github.com/textmate/textmate
  • 10:28:23 <bjo3rn> for non-commercial use, yes
  • 10:28:45 <danilobuerger> no, its under GPL 3
  • 10:29:07 <danilobuerger> so commercial use
  • 10:29:08 <danilobuerger> as well
  • 10:29:12 <bjo3rn> if you build it yourself
  • 10:29:24 <danilobuerger> or download it yourself
  • 10:29:28 <danilobuerger> https://github.com/textmate/textmate/releases
  • 10:29:56 <bjo3rn> whatever, I have to work ;)
  • 10:30:10 <danilobuerger> 0wn3d as the kids say ;-)
  • 10:30:19 <danilobuerger> or is it pwned
  • 10:30:20 <danilobuerger> ?
  • 10:30:23 <danilobuerger> i cant keep up
  • 10:32:35 <bjo3rn> one more thing (quote): When released the final version of 2.0 will be a free upgrade for all 1.x license holders
  • 10:32:57 <bjo3rn> it's free while it's alpha/dev
  • 10:39:12 <danilobuerger> its open source under gpl3... if he wants money for that, people will just build themselves and offer binary downloads... i dont think that quote is accurate anymore considering http://blog.macromates.com/2012/textmate-2-at-github/
  • 10:40:17 <bjo3rn> hm. fair enough. let's see what 2.0 final will bring.
  • 10:49:01 <randomresult> you know MOU?
  • 10:59:49 <cedricziel> markdown syntax. phpstorm also has a plugin for that. you will get to know that there's a difference between `, `` and ``` in markdown
  • 11:03:12 <randomresult> @cedricziel where is the differece between `` and `- looks the same for me
  • 11:03:45 <randomresult> and im using phpstorm for that ... i keeps changing things... i get mad
  • 11:09:17 <randomresult> ok. i have two locallang.xml in one row of my md-file... as soon as i add ``tothefirst`` everything is beautiful... when i change the ``second`` it removes one ` in the end of the first...
  • 11:10:11 <randomresult> THIS is driving me crazy...
  • 11:10:32 <cedricziel> http://daringfireball.net/projects/markdown/syntax#code
  • 11:10:45 <cedricziel> double backticks allow for inline backticks
  • 11:11:12 <randomresult> IT KEEPS CHANGING MY BACKTIPPS!!!! HELP
  • 11:11:19 <randomresult> ahhrggg...
  • 11:12:04 <randomresult> someone needs a new macbook pro? get in front of my window... and catch it if u can!
  • 11:12:28 <randomresult> took me hours now to change this f*cking file... simple changes.
  • 11:21:23 <randomresult> @danilobuerger or bjo3rn is there a force-commit option in tower? cause everytime i commit (amend) and push, it wants to merge my changes with the file online
  • 11:21:39 <danilobuerger> yeah
  • 11:21:46 <danilobuerger> click on push
  • 11:21:55 <danilobuerger> click on the checkbox "Force Push"
  • 11:24:29 <randomresult> and making something bold in between a ```xml tag does not work with **boldword**
  • 11:25:18 <cedricziel> naturally. that's pure markup inside.
  • 11:26:59 <randomresult> so how to archive it?
  • 11:27:05 <randomresult> i have the following :
  • 11:27:14 <randomresult> <f:translate key="contactperson" extensionName="**YOUREXT**"/>
  • 11:27:27 <randomresult> within ```
  • 11:27:31 <cedricziel> skip the asterisks
  • 11:27:57 <randomresult> but it should be bold
  • 11:28:01 <cedricziel> maybe prefix it with "$" to make sure people get that they do have to modify this.
  • 11:28:04 <randomresult> possible?
  • 11:28:09 <cedricziel> it _CANNOT_ be
  • 11:28:14 <randomresult> ok.
  • 11:28:15 <cedricziel> this is xml
  • 11:28:32 <cedricziel> have you ever seen bold text in xml markup?
  • 11:28:35 <cedricziel> ;)
  • 11:28:59 <cedricziel> you could also enter a <!-- comment --> above the line to explain whats happening
  • 11:44:52 <randomresult> when i got NamelessCoder right, settings in my example only do not appear in the flux.flexform.grid.column name
  • 12:14:21 <randomresult> @cedricziel now i have a bunch of useless commits in my pull-request... is there a way to delete/ignore them?
  • 12:16:10 <cedricziel> squash it real good.
  • 12:16:39 <cedricziel> issue "git rebase -i HEAD~10" as you have 10 commits
  • 12:17:30 <cedricziel> upcoming editor, change the beginning line of every line except the one of your latest commit (check the sha!) from pick to squash
  • 12:17:33 <cedricziel> save & exit
  • 12:17:43 <cedricziel> there may be multiple editors coming up
  • 12:17:45 <cedricziel> save & exit
  • 12:18:04 <cedricziel> when it indicates, the rebase is finished, just force-push
  • 12:19:41 <randomresult> oh jesus
  • 12:19:49 <randomresult> is tower able to do that?
  • 12:20:01 <randomresult> or do i need to do this on the shell?
  • 12:20:44 <cedricziel> ask bjo3rn, danilobuerger or NamelessCoder. I'm a CLI user und only use my GUI to make regular updates to my forks in batch
  • 12:20:57 <randomresult> i will use the shell
  • 12:21:06 <cedricziel> hehe
  • 12:21:10 <cedricziel> randomresult: stop
  • 12:21:25 <randomresult> stop?
  • 12:21:33 <cedricziel> do yourself a favour
  • 12:21:43 <cedricziel> invest 5 minutes in this chapter: http://git-scm.com/book/ch6-4.html
  • 12:21:45 <randomresult> jump out of the window?
  • 12:21:56 <cedricziel> this will save you from many headaches
  • 12:22:04 <cedricziel> and give you some confidence
  • 12:22:45 <randomresult> so, my head is my active branch?
  • 12:22:57 <cedricziel> not exactly
  • 12:23:02 <cedricziel> every branch has a HEAD
  • 12:23:16 <cedricziel> this is the topmost commit the branch has in stock
  • 12:23:57 <randomresult> ok.
  • 12:24:01 <randomresult> i will give it a try
  • 12:25:12 <randomresult> last commit is pick, all others are squash
  • 12:30:22 <randomresult> well in my fork, there are a lot of other commits shown
  • 12:30:42 <randomresult> cause i allways amended my commits
  • 12:30:52 <cedricziel> and then merged
  • 12:30:53 <cedricziel> yes
  • 12:30:58 <cedricziel> shit happens
  • 12:31:28 <randomresult> could you take a look at this : https://github.com/FluidTYPO3/flux/pull/380/commits
  • 12:31:41 <randomresult> do i need to change something - or make it new?
  • 12:32:58 <randomresult> man, my contribution is more work for all others than it helps someone
  • 12:33:19 <cedricziel> nono
  • 12:34:03 <cedricziel> at least i like to educate. your contribution is very welcome-regardless how much work this means initially.
  • 12:34:47 <cedricziel> you force-pushed already after rebase?
  • 12:35:08 <randomresult> no, did not rebase, cause there is only one commit
  • 12:35:19 <cedricziel> ?
  • 12:36:22 <randomresult> when i do this : git rebase -i HEAD~10 - then i get 10 commits containing one from NamelessCoder or danilobuerger ... and so on
  • 12:36:37 <randomresult> so there is only one commit (because i amended ? )
  • 12:36:40 <randomresult> from my side...
  • 12:36:50 <randomresult> at least my shell shows that
  • 12:38:05 <randomresult> ah wait..
  • 12:39:06 <randomresult> ahhhrg... now i have a branch called (no branch)(HEAD)
  • 12:39:35 <randomresult> ok. i will retry
  • 12:47:09 <randomresult> i checked out my local branch (locallang-mde) then git rebase -i HEAD~10 --> this shows many commits, only one of them is mine
  • 12:47:39 <randomresult> i amended and force pushed my last commit ... so there should only be one commit ...
  • 13:10:40 <danilobuerger> randomresult i am with you, i hate git ;-)
  • 13:11:20 <randomresult> this sucks big time
  • 13:49:23 <randomresult> is there a way to set a stylesheet in a contentelement (like a background color) and use this in a page layout? so an editor can set a background color which affects the page? like he enters #000 and the body of the page where it is used it set to {background-color} ?
  • 13:49:46 <randomresult> means passing a variable from an fce to a pagelayout ?
  • 13:51:54 <randomresult> and another question : i want to display a variable in my lable
  • 13:52:25 <randomresult> i now made it like this label="Content (size = {col1} )
  • 13:52:47 <randomresult> but now i want to put this label in my localang as well... is it possible?
  • 13:53:24 <randomresult> (where col1 is a field in my configuration where the user can set the width of an element)
  • 14:41:36 <randomresult> sometimes its quiet in here...
  • 14:41:54 <danilobuerger> ship it
  • 14:42:02 <danilobuerger> oh
  • 14:42:05 <danilobuerger> where is FT3Bot?
  • 14:42:11 <danilobuerger> cedricziel
  • 14:48:54 <cedricziel> ship it to danilobuerger
  • 14:48:55 <FT3BOT> http://f.cl.ly/items/0S1M2d1h0I132S082A05/flying-squirrel.gif
  • 14:49:31 <cedricziel> crazy
  • 15:05:23 <danilobuerger> welcome back FT3BOT
  • 15:06:15 <danilobuerger> soooo who wants to write a little tiny script? randomresult_afk maybe?
  • 15:07:20 <randomresult> @danilobuerger what u mean?
  • 15:07:43 <danilobuerger> randomresult did you see http://git.io/sh9SvA ?
  • 15:09:05 <randomresult> i would prefer the core hack :)
  • 15:10:16 <randomresult> so u mean a shell-script or something?
  • 15:10:51 <randomresult> so do we need to replace all templates with this in the future?
  • 15:16:48 <danilobuerger> randomresult well the core patch is already in 6.2 and will be backported to 6.0 / 6.1 on the next release, so the alias mapping will work pretty soon for those versions, however new templates should use the new style, and old templates should have a easy migration path... thus we need a simple replace script for this
  • 15:17:15 <randomresult> i will give it a try
  • 15:17:49 <danilobuerger> just a simple php script that looks at all html files inside typo3conf/ext and replaces the stuff mentioned in the link
  • 15:19:52 <danilobuerger> however some regex is needed for it to work correctly, so if you need help just ask me :-)
  • 15:20:13 <randomresult> well im not sure if i would do it that way.
  • 15:20:19 <randomresult> we discuss this here atm
  • 15:20:47 <randomresult> i would prefer doing it with phpstorm ... dont u ?
  • 15:21:07 <randomresult> so i have control over that
  • 15:21:22 <randomresult> at least this is the opinion in here ... you think diffrent?
  • 15:21:55 <danilobuerger> well but why would you want to do a simple replace operation manually?
  • 15:22:05 <randomresult> but we could give it a try
  • 15:22:27 <randomresult> to see whats happening and to have more controll on what is changed
  • 15:22:52 <danilobuerger> doing that for 100 templates is kind of a waste of time in my opinion ^^
  • 15:23:02 <randomresult> its not for 100 templates...
  • 15:23:26 <danilobuerger> why not? somebody might have that many
  • 15:23:33 <randomresult> you could scan whole directories... so u need to perform 19 ways
  • 15:23:48 <randomresult> but we give it a try
  • 15:23:52 <danilobuerger> ?
  • 15:24:03 <randomresult> you need 19 replacements
  • 15:24:09 <danilobuerger> so?
  • 15:24:12 <cedricziel> globbing Private/Partials,Templates,Layouts and replace that bit**
  • 15:24:25 <danilobuerger> exactly cedricziel
  • 15:24:28 * cedricziel is throwing cookies in the club
  • 15:24:29 <randomresult> well we will give it a try
  • 15:25:05 <randomresult> i ll get back to u when ready or when ready to die
  • 15:25:06 <randomresult> :)
  • 15:25:21 <cedricziel> hehe, how many lifes do you have?
  • 15:25:26 <cedricziel> 9, just like cats?
  • 15:25:38 <randomresult> cedricziel wasted about 100 till now
  • 15:25:42 <cedricziel> you wasted one of them this morning and one last week IIRC
  • 15:26:28 <randomresult> i will never remember what iirc means.. unless i think about it for one minute...
  • 15:26:40 <randomresult> it always reminds me on irc
  • 15:26:47 <randomresult> ok. i will now give it a try.
  • 15:27:11 <randomresult> and ... i need to do that whole sh*t for autocompletion again for the future versions ...
  • 15:27:27 <cedricziel> if i recall (it) correctly
  • 15:27:30 <randomresult> hell y'all drive me crazy
  • 15:27:48 <randomresult> i thought if i remember correctly
  • 15:27:55 <cedricziel> we hope we save you more time than the wasted amount ^^
  • 15:27:59 <randomresult> (what is quite the same)
  • 15:28:07 <cedricziel> exactly :)
  • 15:31:48 <randomresult> so to be clear... i CAN use the old version flux:flexforms when using t3.6.2 but i shouldnt in the future
  • 15:31:50 <randomresult> right?
  • 15:32:26 <danilobuerger> yes
  • 15:32:49 <danilobuerger> we are moving flexform to form
  • 15:33:09 <randomresult> and you have a reason for that
  • 15:33:18 <danilobuerger> yes
  • 15:33:44 <randomresult> good
  • 15:33:58 <danilobuerger> the reason will come clear with flux 7.0
  • 15:39:31 <danilobuerger> randomresult sample regex https://gist.github.com/danilobuerger/4a7b7cf76b6a16a66f80
  • 16:15:00 <randomresult> @danilobuerger u there?
  • 16:15:10 <danilobuerger> yea
  • 16:15:32 <randomresult> do u want a php/shell script or a script which you can use in ur browser?
  • 16:15:43 <danilobuerger> php cli (shell)
  • 16:15:53 <randomresult> ok.
  • 16:16:37 <randomresult> you want to check it? my collegue did a script...
  • 16:16:47 <danilobuerger> sure, just gist it
  • 16:16:48 <randomresult> i could send it to you
  • 16:17:00 <randomresult> ok. i will when he is finished
  • 16:27:36 <randomresult> is an extensionkey the same as the extensiondirectory?
  • 16:27:40 <randomresult> should be or not?
  • 16:33:54 <danilobuerger> yeah
  • 16:37:42 <bjo3rn> namespace declarations in templates must be absolut, right?
  • 16:38:12 <danilobuerger> bjo3rn you mean {namespace flux=… } ?
  • 16:38:16 <bjo3rn> yes
  • 16:38:33 <danilobuerger> full namespace to view helpers
  • 16:38:38 <bjo3rn> {namespace flux=\FluidTYPO3\Flux\ViewHelpers}
  • 16:39:01 <danilobuerger> you dont need the first slash
  • 16:40:03 <bjo3rn> ok
  • 16:40:44 <bjo3rn> why are there form and flexform viewhelpers? leftover?
  • 16:42:24 <danilobuerger> yeah claus didnt convert all of them yet
  • 16:42:29 <bjo3rn> ok
  • 16:43:43 <danilobuerger> afaik just the fields are left
  • 16:45:01 <bjo3rn> seems so, yes
  • 16:45:10 <danilobuerger> dont know if he intends to move them to flux:form.fields or flux:fields though
  • 18:48:02 <randomresult> hi there ...
  • 18:48:52 <randomresult> @danilobuerger u there?
  • 18:48:57 <danilobuerger> yeah
  • 18:49:35 <randomresult> my partner did something... it looks for changes in ext ... but as soon as i apply that patch, nothing works no more
  • 18:49:54 <randomresult> i get the following error #1289386765: Could not analyse class:FluidTYPO3\Flux\ViewHelpers\Form\Field\InputViewHelper maybe not loaded or no autoloader? (More information)
  • 18:51:08 <danilobuerger> randomresult because there is no flux:form.field.input
  • 18:51:13 <danilobuerger> it didnt get renamed yet
  • 18:51:24 <randomresult> ahhrg...
  • 18:51:39 <randomresult> so replacing all... was wrong?
  • 18:51:46 <randomresult> damn...
  • 18:52:20 <danilobuerger> yeah only replacing those listed in the link
  • 18:52:46 <randomresult> we did that
  • 18:53:32 <randomresult> hmmm... replacing flux:flexform will also replace flux:flexform.input
  • 18:53:55 <randomresult> good.
  • 18:53:55 <danilobuerger> thats why i sent you that regex gist
  • 18:54:11 <danilobuerger> https://gist.github.com/danilobuerger/4a7b7cf76b6a16a66f80
  • 18:54:59 <randomresult> well look at our file tomorow or whenever - then u see what we (he) did
  • 18:55:39 <randomresult> he uses preg_replace and creates backups and patched files to be sure you loose nothing
  • 18:56:11 <randomresult> and you can choose wether to patch single (or commaseperated) extensionkeys or all at once
  • 18:56:42 <randomresult> anyway. i gist u the file and you can look at it
  • 18:57:55 <randomresult> but one question: if u replace flux:flexform to flux:form... wouldnt it also replace flux:flexform.input to flux:form.input?
  • 19:00:56 <danilobuerger> exactly why you should use th regex from my gist
  • 20:33:31 <randomresult> hi mrboe
  • 20:33:47 <mrboe> hi
  • 20:33:51 <mrboe> whats up
  • 21:48:49 <FT3BOT> Issue 388: [TASK] Renamed flux field viewhelpers https://github.com/fluidtypo3/flux/issues/388
  • 21:48:50 <FT3BOT> Issue 388: [TASK] Renamed flux field viewhelpers https://github.com/fluidtypo3/flux/issues/388
  • 23:02:39 <FT3BOT> Issue 388: [TASK] Renamed flux field viewhelpers https://github.com/fluidtypo3/flux/issues/388
  • 23:02:40 <FT3BOT> Issue 388: [TASK] Renamed flux field viewhelpers https://github.com/fluidtypo3/flux/issues/388
  • 23:58:22 <FT3BOT> Issue 389: [TASK] Remove legacy code https://github.com/fluidtypo3/flux/issues/389
  • 23:58:23 <FT3BOT> Issue 389: [TASK] Remove legacy code https://github.com/fluidtypo3/flux/issues/389