| 00:10.15 | *** join/#flow3 amkoroew (~Matze@p5B102DAA.dip.t-dialin.net) |
| 02:03.21 | *** join/#flow3 boonkerz (~boonkerz@p5B28AD64.dip.t-dialin.net) |
| 02:05.52 | *** join/#flow3 visay (~visay@119.82.252.95) |
| 03:02.31 | *** join/#flow3 boonkerz (~boonkerz@p5B28AD64.dip.t-dialin.net) |
| 03:58.03 | *** join/#flow3 Robbo_ (~robbo@ppp232-35.static.internode.on.net) |
| 04:28.32 | *** join/#flow3 skurfuerst (~Adium@i59F6D223.versanet.de) |
| 05:07.53 | *** join/#flow3 andreaswolf (~aw@dslb-188-110-172-111.pools.arcor-ip.net) |
| 05:11.42 | *** join/#flow3 skurfuerst (~Adium@i59F6D223.versanet.de) |
| 05:14.37 | *** join/#flow3 skurfuerst (~Adium@i59F6D223.versanet.de) |
| 05:25.58 | *** join/#flow3 afoeder (~afoeder@p4FD64829.dip0.t-ipconnect.de) |
| 05:45.54 | *** join/#flow3 cubert__ (~cubert@p50804068.dip.t-dialin.net) |
| 06:08.15 | *** join/#flow3 Robbo_ (~robbo@ppp232-35.static.internode.on.net) |
| 06:26.41 | *** join/#flow3 clauswitt (~claus@x1-6-e0-46-9a-ed-9f-56.k302.webspeed.dk) |
| 06:36.33 | *** join/#flow3 foertel (~foertel@tmo-102-56.customers.d1-online.com) |
| 06:45.17 | *** join/#flow3 skurfuerst (~Adium@i59F6D223.versanet.de) |
| 06:59.52 | afoeder | is currently fiddling how PHP 5.4's built in web server could be used for FLOW3's functional tests |
| 07:00.25 | ChristianM | afoeder nice idea! |
| 07:00.52 | afoeder | yes I also think that ;-) Good morning everyone |
| 07:01.00 | ChristianM | did you solve the CURL Post arguments madnes? |
| 07:01.10 | ChristianM | good morning |
| 07:02.28 | afoeder | no, not *solved*... I'm not even really sure where the problem lies, if there is one anyays |
| 07:04.06 | ChristianM | did you see this btw: http://wezfurlong.org/blog/2006/nov/http-post-from-php-without-curl/ |
| 07:04.11 | afoeder | I patched the CurlRequestEngine at least with something like POST: $request->getContent() ?: http_build_query($request->getArguments()) |
| 07:04.19 | *** join/#flow3 Kollode (~patrick@designnet.work.de) |
| 07:05.00 | afoeder | so, if the request has content set, this is POSTed, else the arguments are used (like they are ATM) |
| 07:05.09 | ChristianM | ok |
| 07:05.13 | ChristianM | sounds resonable |
| 07:05.22 | ChristianM | http://snipplr.com/view/755/ |
| 07:05.31 | afoeder | but that means that arguments are dismissed, if content is set |
| 07:05.52 | ChristianM | this is very old but it tells me PHP will try to interpret a raw POST string as query string if the headers are set |
| 07:06.02 | afoeder | ah alright... |
| 07:06.12 | ChristianM | otherwise you would need to do something like that to grab the raw input |
| 07:07.30 | afoeder | and to get to the source of the problem; what might something like ElasticSearch do in order to find out what "method" to use? |
| 07:07.59 | afoeder | surely same goes for many other engines |
| 07:08.35 | afoeder | basically it's used >> curl -XPOST localhost -d '{"data":"foobar"} |
| 07:08.41 | afoeder | ' |
| 07:09.56 | ChristianM | I think they route the request by method (get, post, put, delete) and then check for certain parameters |
| 07:10.42 | afoeder | yes, than at the simplest way the rule might by ("translated" to PHP use): If Method = POST then use raw POST data |
| 07:10.58 | afoeder | because *they* always only expect JSON stuff |
| 07:12.10 | *** join/#flow3 clauswitt (~claus@89.221.173.162) |
| 07:15.20 | *** join/#flow3 benvantende (~quassel@095-096-221-228.static.chello.nl) |
| 07:15.28 | *** join/#flow3 Denyerec (~Never@cpc4-shep11-2-0-cust49.8-3.cable.virginmedia.com) |
| 07:15.41 | ChristianM | yep |
| 07:16.41 | *** join/#flow3 mneuhaus (~mneuhaus@ip-78-94-232-113.unitymediagroup.de) |
| 07:17.23 | *** join/#flow3 SwiftLizard (~Adium@ip-176-198-80-154.unitymediagroup.de) |
| 07:17.31 | *** join/#flow3 floscholz (50e4f6ac@gateway/web/freenode/ip.80.228.246.172) |
| 07:19.06 | *** join/#flow3 Robbo_ (~robbo@ppp232-35.static.internode.on.net) |
| 07:19.18 | *** join/#flow3 clauswitt (~claus@89.221.173.158) |
| 07:41.36 | *** join/#flow3 skorpi (~skorpi@178-27-139-210-dynip.superkabel.de) |
| 07:41.46 | *** join/#flow3 humnus (~humnus@wli8013.zv.uni-wuerzburg.de) |
| 07:56.07 | *** join/#flow3 amkoroew (~Matze@p5B102DAA.dip.t-dialin.net) |
| 07:58.13 | *** join/#flow3 elos (~Miranda@p57A01614.dip0.t-ipconnect.de) |
| 07:58.27 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 08:15.06 | *** join/#flow3 aertmann (~aertmann@109.202.148.90) |
| 08:16.16 | *** join/#flow3 sorenmalling (~sorenmall@109.202.148.90) |
| 08:22.28 | afoeder | ok, admittedly it's like expected: https://gist.github.com/2894450 |
| 08:24.19 | afoeder | the (body) data is parsed into the $_POST array if it's a &-separated key-value-collection |
| 08:26.26 | *** join/#flow3 andreaswolf (~aw@host-93-104-226-234.customer.m-online.net) |
| 08:35.55 | *** join/#flow3 amkoroew1 (~Matze@p5B102DAA.dip.t-dialin.net) |
| 08:41.18 | *** join/#flow3 fcool (~fcool@ip-178-200-223-42.unitymediagroup.de) |
| 08:41.25 | *** join/#flow3 sewo (~sewo@e178005168.adsl.alicedsl.de) |
| 08:43.11 | *** join/#flow3 sewo (~sewo@e178005168.adsl.alicedsl.de) |
| 08:44.58 | *** join/#flow3 andreaswolf (~aw@p4FDCF0ED.dip.t-dialin.net) |
| 08:48.00 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 08:48.05 | *** join/#flow3 Kirab2 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 08:48.37 | sewo | hello all |
| 08:58.23 | *** join/#flow3 Sebastiaan (5f615e95@gateway/web/freenode/ip.95.97.94.149) |
| 08:58.45 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 08:58.52 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 09:02.04 | Sebastiaan | Hey guys, i have a TYPO3.Surf question: Im using the simpleworkflow but my build keeps breaking after this Task: "typo3.surf:flow3:symlinkconfiguration" it tries to cd into "cd /var/www/phoenix/releases/20120608105300/Configuration" but can't because it doesn't excist. Does anyone have anyone ideas? |
| 09:02.10 | *** join/#flow3 benvantende (~quassel@095-096-221-228.static.chello.nl) |
| 09:03.16 | ChristianM | this should be created as a symlink |
| 09:03.24 | ChristianM | maybe there is some permission problem? |
| 09:03.42 | ChristianM | answer was for Sebastiaan |
| 09:04.09 | Sebastiaan | No, ill show you the response. bash: line 0: cd: /var/www/phoenix/releases/20120608105300/Configuration: No such file or directory INFO > rmdir: failed to remove `Production': Not a directory |
| 09:05.00 | Sebastiaan | Am i missing a configuration step? |
| 09:06.17 | ChristianM | how does your deployment script look like? |
| 09:07.28 | ChristianM | ah now I see |
| 09:08.37 | Sebastiaan | Identical to the one in the example, with the wholes filled in. |
| 09:08.41 | *** join/#flow3 Robbo_ (~robbo@ppp232-35.static.internode.on.net) |
| 09:08.59 | ChristianM | yes, ok, you are deploying a FLOW3 app? |
| 09:09.33 | Sebastiaan | Yeah, phoenix base actually. |
| 09:09.38 | ChristianM | ok |
| 09:09.41 | ChristianM | that should be fine |
| 09:09.53 | ChristianM | and did it actually do a checkout from the git repository? |
| 09:09.58 | ChristianM | because then the path should exist |
| 09:10.09 | ChristianM | phoenix base has a "Configuration" directory |
| 09:11.50 | ChristianM | try $workflow->setEnableRollback(FALSE); |
| 09:11.59 | ChristianM | that way it won't rollback if something goes wrong |
| 09:12.03 | ChristianM | then try to deploy |
| 09:12.15 | ChristianM | and after check what was created on the server |
| 09:12.47 | ChristianM | there should be a directory with the current DateTime in releases (as seen in the error message) and in there should be the phoenix base distribution |
| 09:12.55 | ChristianM | if not something with the git checkout went wrong |
| 09:13.26 | Sebastiaan | Ok ill check it out :) |
| 09:14.53 | Sebastiaan | The *next* release folder is completely empty |
| 09:17.19 | Sebastiaan | Well i have full "MyDeployment" directory with my current git revision. Does there need to be a move or cp towards the *next* release directory? |
| 09:20.17 | ChristianM | it is a symlink normally and done by Surf |
| 09:21.04 | Sebastiaan | From "MyDeployment" towards *next* release? |
| 09:21.23 | ChristianM | yes |
| 09:22.18 | *** part/#flow3 mneuhaus (~mneuhaus@ip-78-94-232-113.unitymediagroup.de) |
| 09:23.22 | *** join/#flow3 Denyerec (~Never@cpc4-shep11-2-0-cust49.8-3.cable.virginmedia.com) |
| 09:26.22 | Sebastiaan | I'll check out the code more, im using https://github.com/daKmoR/TYPO3.Surf it has rsync features (not using it yet) it might work deferently internally. |
| 09:35.29 | ChristianM | no idea, sorry |
| 09:36.03 | *** join/#flow3 Kollode (~patrick@designnet.work.de) |
| 09:38.35 | Sebastiaan | I'm returning to the original setup for Surf as the Core team provided it. (Although you guys might want to look into it for collaboration, i talked to Rens about it yesterday). |
| 09:43.56 | ChristianM | sure |
| 09:45.06 | *** join/#flow3 jordydejong (~jordydejo@83.97.14.221) |
| 09:54.49 | *** join/#flow3 thasmo (~thasmo@d86-33-68-17.cust.tele2.at) |
| 09:56.49 | Sebastiaan | Returning back to the version provided by the FLOW3 team doesn't fail on that section, it does how ever fail on setting "core file permissions" but i see there's an issue for that already on forge. |
| 09:58.25 | *** join/#flow3 SwiftLizard (~Adium@ip-109-84-0-98.web.vodafone.de) |
| 10:02.27 | *** join/#flow3 linkedinyou (~Hasib@37.106.160.121) |
| 10:02.27 | *** join/#flow3 linkedinyou (~Hasib@unaffiliated/linkedinyou) |
| 10:06.58 | *** join/#flow3 SwiftLizard (~Adium@ip-109-84-0-98.web.vodafone.de) |
| 10:11.32 | *** join/#flow3 HardFu (~tomaz@unaffiliated/hardfu) |
| 10:24.38 | *** join/#flow3 wurtzelsepp (~Adium@wli8014.zv.uni-wuerzburg.de) |
| 10:24.45 | *** join/#flow3 humnus (~humnus@wli8013.zv.uni-wuerzburg.de) |
| 10:28.13 | *** join/#flow3 skorpi (~skorpi@178-27-139-210-dynip.superkabel.de) |
| 10:37.27 | *** join/#flow3 benvantende (~quassel@095-096-221-228.static.chello.nl) |
| 10:43.02 | *** join/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 10:43.41 | *** part/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 10:45.08 | *** join/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 10:46.29 | *** join/#flow3 Robbo__ (~robbo@ppp232-35.static.internode.on.net) |
| 10:49.32 | Sebastiaan | Hey, thnx for the information ChristianM! I now have a functional build!! |
| 10:49.39 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 10:49.41 | *** join/#flow3 Kirab2 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 10:50.51 | ChristianM | Sebastiaan, great to hear! |
| 10:50.52 | ChristianM | enjoy |
| 10:50.56 | ChristianM | what was wrong? |
| 10:51.17 | *** join/#flow3 pgampe2 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 10:53.25 | Sebastiaan | The https://github.com/daKmoR/TYPO3.Surf is not ready yet, it has all the features to deploy FLOW3 & TYPO3 v6. So i went back to the original and that worked like a charm. |
| 10:54.02 | ChristianM | ah ok |
| 10:54.59 | Sebastiaan | So in detail I haven't figured out what is missing, maybe a step that isn't documented. |
| 10:55.59 | *** join/#flow3 pgampe2 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 10:56.50 | sewo | If a user is authenticated (<f:security.ifAuthenticated> => true), can I reach it's associated party ? |
| 10:57.36 | ChristianM | ask the securityCotext for the party |
| 10:57.42 | ChristianM | $this->securityContext->getParty() |
| 10:57.59 | sewo | btw. what is the surf package about ? |
| 10:58.09 | sewo | thx |
| 10:58.16 | ChristianM | sewo, deploying a project to a server |
| 10:58.59 | ChristianM | basically you have a FLOW3 application to deploy another application to a server |
| 10:59.17 | ChristianM | it can run tests before putting it live etc. |
| 10:59.26 | sewo | hmm |
| 11:00.49 | *** join/#flow3 clauswitt (~claus@89.221.173.158) |
| 11:02.03 | sewo | and deploy means something like push ? some sort of a ftp upload ? |
| 11:02.20 | ChristianM | just nicer ;) |
| 11:02.32 | ChristianM | it will directly pull from git on your server instead of uploading something |
| 11:02.45 | ChristianM | so you define which state to deploy and it will be checked out from git |
| 11:03.18 | sewo | ok so it's about removing stupid ftp synching step, and allow remote testing … |
| 11:03.35 | ChristianM | yes, and also a secure way to do it |
| 11:03.45 | sewo | cool |
| 11:03.46 | ChristianM | it will also clear caches for example |
| 11:03.50 | ChristianM | and run migrates |
| 11:03.56 | sewo | hmm |
| 11:04.10 | ChristianM | and it also provides means to go back to previous states |
| 11:04.35 | ChristianM | it creates symlinks to the deployments, so you can change back to previous deployment if anything goes wrong |
| 11:04.53 | ChristianM | it's really nice |
| 11:05.00 | ChristianM | and you can define your own deployment steps |
| 11:05.11 | sewo | and is the surf package working good already or are there some bugs, pitfalls, etc. ? |
| 11:05.14 | ChristianM | like running some command to fill the DB or stuff like that |
| 11:05.18 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 11:05.21 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 11:05.31 | ChristianM | sewo, no it is quite stable, it is only limited atm |
| 11:05.39 | ChristianM | so for example it can only work with git |
| 11:05.43 | ChristianM | no svn or something else |
| 11:06.22 | sewo | ok, but who would start a flow3 project nowadays using svn ? I hope nobody |
| 11:06.27 | sewo | :D |
| 11:06.32 | ChristianM | well, you never know |
| 11:06.50 | ChristianM | sometimes companies are shy to change a running system |
| 11:06.57 | ChristianM | and if their developers are used to svn... |
| 11:11.15 | *** join/#flow3 SwiftLizard (~Adium@80.187.201.22) |
| 11:12.11 | sewo | well thank you ChristianM :) |
| 11:12.42 | ChristianM | no problem sewo :) |
| 11:14.23 | Sebastiaan | Question: What do i put in the yourNamespace bit? Is testing something u do with your own package or nameSpace? $workflow->defineTask('yourNamespace:smoketest', 'typo3.surf:test:httptest', $smokeTestOptions); |
| 11:14.51 | aertmann | sewo: believe it or not, I have already seen it |
| 11:15.36 | sewo | ... |
| 11:17.07 | radmiraal | Sebastiaan: so the Surf fork has rsync support, but is not done yet? |
| 11:18.17 | *** join/#flow3 boonkerz (~boonkerz@p4FC30677.dip.t-dialin.net) |
| 11:18.47 | *** join/#flow3 Ak2i (~ak2i@116-70.wh-gutenberg.uni-ulm.de) |
| 11:21.29 | Sebastiaan | My build fails on Task: "typo3.surf:flow3:symlinkconfiguration". So i eather missed something essential like a definition of what im building or its broken. I looked in the code and it looks pretty similar, you might make a better jugdement as you are a core developer :-) |
| 11:22.15 | Sebastiaan | BTW it fails before that, the *next* release directory is empty... |
| 11:22.45 | radmiraal | well, 'core developer' is just a developer too ;) |
| 11:23.59 | Sebastiaan | Its a developer how spends way more hours on stuff, the rest take for granted :P *Group hug*!! |
| 11:24.40 | *** join/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 11:24.57 | *** part/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 11:25.21 | Sebastiaan | So how do i smoketest? |
| 11:26.12 | afoeder | oh noes, I missed the group hug |
| 11:27.42 | Sebastiaan | Hehehe |
| 11:28.02 | radmiraal | :) |
| 11:28.41 | Sebastiaan | Flow3 stuff makes me smile the whole freaking day. |
| 11:29.47 | radmiraal | ooo, someone is infected ;) |
| 11:30.03 | *** join/#flow3 mficzel (~martin@designnet.work.de) |
| 11:30.15 | *** join/#flow3 amkoroew (~Matze@p5B102DAA.dip.t-dialin.net) |
| 11:30.15 | Sebastiaan | I got it bad... |
| 11:30.32 | radmiraal | I don't know the smoketest thingy btw, planned to work on deployment stuff today but my wife planned something totally different.... |
| 11:30.46 | radmiraal | so, back to puzzles, coloring, and so on :) |
| 11:30.59 | afoeder | :) |
| 11:31.05 | Sebastiaan | Argh, i know the feeling! Stay strong my brothah!! |
| 11:31.31 | sewo | how can I read an entry from the Settings.yaml ? |
| 11:31.57 | afoeder | sewo, introduce a protected array $settings and inject it via an injectSettings method |
| 11:32.07 | sewo | ok |
| 11:32.18 | afoeder | protected injectSetting(array $settings) { $this->settings = $settings; }... etc |
| 11:32.29 | afoeder | injectSettings of course (plural) |
| 11:32.41 | afoeder | (plural? of courses?) |
| 11:32.59 | afoeder | off courses. |
| 11:33.18 | afoeder | huh need my breathing paper bag |
| 11:33.31 | sewo | :D |
| 11:34.08 | afoeder | ok, back to where I was: figuring out where the output in my functional test comes from :-/ |
| 11:42.02 | Sebastiaan | Christian i hope you can help me with this one: How do i import my site via Surf? |
| 11:43.10 | ChristianM | use $application = new \TYPO3\Surf\Application\TYPO3(); |
| 11:43.19 | ChristianM | then you do a TYPO3 Phoenix deployment |
| 11:43.30 | ChristianM | which has the option: |
| 11:43.31 | ChristianM | $application->setOption('sitePackageKey', 'TYPO3.T3Con12StuttgartTypo3Org'); |
| 11:44.13 | ChristianM | it will be imported from the package you give |
| 11:44.54 | ChristianM | was for Sebastiaan |
| 11:44.56 | ChristianM | ;) |
| 11:45.57 | *** join/#flow3 SpareParts (~ondriq_h@194.228.224.108) |
| 11:45.59 | *** join/#flow3 humnus (~humnus@wli8013.zv.uni-wuerzburg.de) |
| 11:46.27 | Sebastiaan | Thnx, almost got my first Surf deploymet / Site up and running ^^ |
| 11:46.32 | ChristianM | great |
| 11:52.39 | *** join/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 11:52.56 | *** part/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 11:53.04 | Sebastiaan | It doesn't seem to do anything. |
| 11:53.13 | Sebastiaan | for ChristianM |
| 11:54.05 | *** join/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 11:55.30 | *** part/#flow3 pgampe1 (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 11:57.01 | ChristianM | uhm |
| 11:57.41 | ChristianM | Sebastiaan, can you paste your deployment script` |
| 11:57.41 | ChristianM | ? |
| 11:58.55 | Sebastiaan | $workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow(); $deployment->setWorkflow($workflow); |
| 11:59.23 | Sebastiaan | $node = new \TYPO3\Surf\Domain\Model\Node('location'); $node->setHostname('location'); $node->setOption('username', 'user'); |
| 11:59.47 | Sebastiaan | $application = new \TYPO3\Surf\Application\FLOW3(); $application->setDeploymentPath('/var/www/phoenix'); $application->setOption('repositoryUrl', 'github.com'); $application->setOption('sitePackageKey', 'SITE.WebsiteNl'); $application->addNode($node); |
| 11:59.57 | Sebastiaan | $deployment->addApplication($application); |
| 12:02.43 | ChristianM | k, looks alright to me |
| 12:02.56 | ChristianM | and if you run the deployment? it should show you the commands |
| 12:03.03 | ChristianM | do you see the site:import somewhere |
| 12:03.04 | ChristianM | ? |
| 12:04.27 | ChristianM | ok, got to go, I am back later (1-2 hours) |
| 12:05.50 | Sebastiaan | Hmm no i don't see the import happing |
| 12:06.07 | Sebastiaan | Ok see you later! thnx for the help ChristianM |
| 12:32.04 | *** join/#flow3 amkoroew1 (~Matze@p5B104D42.dip.t-dialin.net) |
| 12:53.18 | *** join/#flow3 sewo (~sewo@e178005168.adsl.alicedsl.de) |
| 12:55.11 | *** join/#flow3 tomasito (~tomasito@38.104.90.194) |
| 12:55.28 | *** join/#flow3 clauswit (~claus@89.221.173.162) |
| 13:04.32 | *** join/#flow3 clauswitt (~claus@89.221.173.162) |
| 13:05.52 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 13:06.34 | *** join/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 13:07.13 | *** part/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 13:21.49 | *** join/#flow3 clauswitt (~claus@89.221.173.162) |
| 13:37.46 | sewo | thx afoeder the settings injection worked, just didn't know that the settings that you get injected are relative to your package scope |
| 13:38.27 | sewo | but that was no problem for me :) |
| 13:40.56 | *** join/#flow3 boonkerz (~boonkerz@p4FC30677.dip.t-dialin.net) |
| 13:41.33 | afoeder | yes, mostly that is wanted. |
| 13:41.44 | afoeder | if not, you have to inject the ConfigurationManager "completely"! |
| 13:41.46 | afoeder | -! |
| 13:42.04 | sewo | ah good to know |
| 13:43.54 | *** join/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 13:44.34 | *** part/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 13:45.27 | *** join/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 13:46.06 | *** part/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 13:51.32 | *** join/#flow3 mneuhaus1 (~mneuhaus@ip-78-94-232-113.unitymediagroup.de) |
| 13:53.34 | *** join/#flow3 rawtaz (~rawtaz@rho.hobbyhotellet.se) |
| 14:09.36 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:09.40 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:10.00 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 14:10.04 | *** join/#flow3 Kirab2 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 14:10.52 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:10.55 | *** join/#flow3 Kirab3 (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:17.30 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:18.30 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 14:19.17 | *** join/#flow3 aertmann (~aertmann@109.202.148.90) |
| 14:19.42 | *** join/#flow3 Kirab2 (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:20.01 | *** join/#flow3 Kirab3 (~kira.back@b2b-46-252-131-194.unitymedia.biz) |
| 14:20.22 | *** join/#flow3 Kirab1 (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:28.18 | *** part/#flow3 fcool (~fcool@ip-178-200-223-42.unitymediagroup.de) |
| 14:31.07 | sewo | have a nice weekend everybody |
| 14:31.36 | ChristianM | you too |
| 14:36.28 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 14:39.43 | afoeder | ChristianM, btw, that to-json-typeconverter might also offer great usability to that elasticsearch-package |
| 14:39.57 | ChristianM | absolutely |
| 14:40.09 | ChristianM | (was that a hidden reminder to review?) |
| 14:40.28 | afoeder | no no :-) there's nothing to rev ATM |
| 14:40.42 | afoeder | but many stuff done locally ;-) |
| 14:41.09 | afoeder | and for the record: I don't remind hidden ;-P |
| 14:43.54 | *** join/#flow3 clauswitt (~claus@89.221.173.162) |
| 14:46.09 | afoeder | but ChristianM since you were asking ;-) you please wanna have a look at https://review.typo3.org/#/c/10721/ Set5 |
| 14:56.07 | *** join/#flow3 farconada (~fernando@111.Red-88-12-226.dynamicIP.rima-tde.net) |
| 14:56.29 | farconada | Hello, Anyone could give me an example of multiple requestPatterns per security provider? there isnt at doc and as yaml array doesnt work |
| 14:57.43 | farconada | I think that this could be a bug |
| 14:58.39 | ChristianM | farconada, I will get myself a coffee and then check if that might not be possible yet |
| 14:58.42 | ChristianM | :) |
| 14:59.18 | farconada | Lot of thanks |
| 15:04.43 | *** join/#flow3 clauswitt (~claus@89.221.173.162) |
| 15:08.31 | ChristianM | ok, lets have alook at the requestPatterns |
| 15:10.02 | ChristianM | are you on master? |
| 15:10.14 | farconada | 1 seg |
| 15:10.22 | farconada | yesterday I was on master |
| 15:10.37 | ChristianM | that's fine |
| 15:10.46 | ChristianM | just wanted to be sure what I see is about the same that you have ;) |
| 15:10.51 | ChristianM | one day doesn't matter |
| 15:10.58 | farconada | ready, on master |
| 15:11.28 | ChristianM | and you would want to have multiple controllerObjectName patterns? |
| 15:11.55 | farconada | sure, I want to disable the DefaultProvider just for a pair of Controllers |
| 15:11.58 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 15:12.26 | farconada | I'm developing a generic OAuth2 Provider |
| 15:12.33 | ChristianM | well, at least I can tell you that you cannot set the same RequestPattern twice atm |
| 15:12.45 | ChristianM | foreach($providerConfiguration['requestPatterns'] as $patternType => $patternConfiguration) { |
| 15:13.07 | farconada | and the Resource endpoint and Token endpoind need to be authenticated need different providers |
| 15:13.20 | ChristianM | $patternType then is resolved into a RequestPattern class |
| 15:13.25 | ChristianM | yep I see |
| 15:14.03 | farconada | then, should I create an array of RequestPatters instead of ControllerObjectName ? |
| 15:14.36 | ChristianM | no, it just not possible with the current code |
| 15:15.13 | ChristianM | a provider can have once the key "requestPatterns" and inside can be each type of Pattern once |
| 15:15.36 | ChristianM | so you could combine a ControllerObjectName pattern and a Uri pattern |
| 15:15.44 | ChristianM | but not two ControllerObjectName patterns |
| 15:15.52 | ChristianM | (could be changed to do that of course |
| 15:16.10 | ChristianM | but couldn't you solve it with a (complex) pattern that checks for all controllers you need |
| 15:16.25 | farconada | unclean |
| 15:17.01 | ChristianM | mmm, yes as it gets more complex this will be more and more unclean |
| 15:17.08 | ChristianM | well then a feature request is it |
| 15:17.20 | farconada | opening..... |
| 15:18.01 | ChristianM | thanks |
| 15:18.06 | afoeder | eh btw; just thinking of it because I'm implementing that search document; is the FLOW3 persistence identifier being re-set (i.e. changed) when __clone()'ing? |
| 15:18.53 | ChristianM | yes |
| 15:18.56 | afoeder | ok :) |
| 15:18.58 | farconada | thanks for your time, I hope that I could be "fixed" soon cause it's "necesary" for the creating of the OAuth2 provider |
| 15:19.21 | ChristianM | farconada, I think it should be changed |
| 15:19.31 | ChristianM | only problem I see, is that this would be a breaking change |
| 15:19.42 | ChristianM | because the synrax for the config has to be changed |
| 15:20.10 | ChristianM | requestPatterns: |
| 15:20.10 | ChristianM | <PROTECTED> |
| 15:20.14 | ChristianM | should look more like: |
| 15:21.29 | ChristianM | requestPatterns: |
| 15:21.30 | ChristianM | <PROTECTED> |
| 15:21.30 | ChristianM | <PROTECTED> |
| 15:21.30 | ChristianM | <PROTECTED> |
| 15:22.14 | ChristianM | mmm, but then again you must think about AND / OR relations between the patterns.... |
| 15:22.18 | ChristianM | well, well |
| 15:22.42 | afoeder | do I destroy some proxy mechanism (or does it destroy mine) if I implement __clone()? |
| 15:23.00 | farconada | you can have 'not' in regexp |
| 15:23.16 | farconada | '(?!something)' |
| 15:23.17 | ChristianM | farconada, sure but what does that help |
| 15:23.35 | ChristianM | the question is should the patterns that you list be combined by OR or by AND |
| 15:23.45 | ChristianM | sometimes you would like this,and sometimes that |
| 15:24.18 | ChristianM | afoeder, should work out of the box |
| 15:24.31 | afoeder | yep ok, we'll see ;-) |
| 15:24.37 | *** join/#flow3 Chacky (~Sascha@dslb-088-065-054-204.pools.arcor-ip.net) |
| 15:24.47 | *** part/#flow3 Chacky (~Sascha@dslb-088-065-054-204.pools.arcor-ip.net) |
| 15:25.15 | farconada | in every pattern but tis one: |
| 15:25.16 | farconada | requestPatterns: |
| 15:25.17 | farconada | <PROTECTED> |
| 15:25.17 | farconada | <PROTECTED> |
| 15:25.17 | farconada | <PROTECTED> |
| 15:25.17 | farconada | <PROTECTED> |
| 15:25.22 | farconada | AND |
| 15:28.11 | *** join/#flow3 sorenmalling (~sorenmall@91.194.37.55) |
| 15:29.56 | ChristianM | yes, I see |
| 15:30.00 | ChristianM | that could work out |
| 15:30.35 | farconada | http://forge.typo3.org/issues/37846 |
| 15:31.30 | afoeder | ChristianM, I'm thinking about a possibility to at least functional test that CurlRequestEngine... with having http://forge.typo3.org/issues/37831 in mind, do you have an idea how to implement that? |
| 15:32.19 | afoeder | in the simplest state, I'm thinking about a tiny "handler" PHP file that reflects the data being sent by the RequestEngine. A functional Test would than again evaluate this reflected data if it's the expected one. |
| 15:32.43 | afoeder | but that requires a) the web/php server to be started and b) that handler file to be present. |
| 15:32.50 | ChristianM | mmm, not quickly |
| 15:32.56 | ChristianM | yep |
| 15:33.12 | ChristianM | but that would be about the way to go |
| 15:33.37 | afoeder | because now I really get to the point where I have to set POST data with URI-arguments, and that very likely gets messed up |
| 15:34.42 | afoeder | I think that handler file could easily just echo a JSON representing $_GET, $_POST and php://input |
| 15:35.19 | afoeder | with having this, many stuff of the request engine could be tested |
| 15:38.45 | ChristianM | yep, I just don't know how to integrate that with phpunit |
| 15:38.48 | ChristianM | but could work |
| 15:41.19 | *** join/#flow3 Kirab (~kira.back@b2b-46-252-131-198.unitymedia.biz) |
| 15:41.32 | *** join/#flow3 foertel (~foertel@tmo-102-56.customers.d1-online.com) |
| 15:41.36 | afoeder | well in my imagination it mustn's have much to do with phpunit |
| 15:42.11 | afoeder | the Tests make the CurlRequjest just fire agains localhost:8000 (e.g.) where the (PHP 5.4 or others) Testing web server listens |
| 15:47.27 | ChristianM | sure, and how do you get the information to your test if the resulting data was good? |
| 15:48.36 | afoeder | the RequestEngine does intrinsically |
| 15:49.18 | afoeder | and the Test checks whether that data is the expected one or differs |
| 15:49.19 | ChristianM | sure, the receiver scripit can just give back different status codes ;) |
| 15:50.18 | afoeder | well these status code are also on a expected base... if they aren't the expected ones, something's wrong anways... |
| 15:50.34 | ChristianM | yep |
| 15:50.48 | ChristianM | yes, yes, that sounds fine |
| 15:51.01 | afoeder | I admit that's a bit loose altogether; but if everything works, everything will work ;-) |
| 15:51.15 | ChristianM | sure, better than nothing |
| 15:51.17 | afoeder | + |
| 15:52.05 | afoeder | do you know some free phpunit config option besides what's given via -c ? |
| 15:52.58 | afoeder | something like phpunit -c Build/common.... --includeTestServerTests or so... |
| 15:53.13 | afoeder | I want to avoid to let that server start via PHP... |
| 15:53.33 | afoeder | we (FLOW3) don't have the environment for that yet |
| 15:54.01 | ChristianM | no idea |
| 15:54.24 | afoeder | we have to proc_open it, and with this comes a whole stuff which Symfony offers a whole package :p |
| 15:54.38 | ChristianM | ;) |
| 16:00.49 | *** join/#flow3 boonkerz_ (~boonkerz@p4FC30677.dip.t-dialin.net) |
| 16:12.00 | *** join/#flow3 skurfuerst (~Adium@i59F6D223.versanet.de) |
| 16:19.45 | *** join/#flow3 skorpi (~skorpi@178-27-139-210-dynip.superkabel.de) |
| 16:20.32 | *** join/#flow3 skorpi (~skorpi@178-27-139-210-dynip.superkabel.de) |
| 16:21.31 | *** join/#flow3 skorpi (~skorpi@178-27-139-210-dynip.superkabel.de) |
| 16:24.47 | *** join/#flow3 skorpi (~skorpi@178-27-139-210-dynip.superkabel.de) |
| 16:25.05 | afoeder | ChristianM, https://review.typo3.org/#/c/11892/1 |
| 16:25.11 | afoeder | just to get the idea |
| 16:25.16 | afoeder | works fine btw :) |
| 16:25.26 | *** join/#flow3 andreaswolf (~aw@89.204.153.220) |
| 16:28.41 | afoeder | okeydokey, than finally have a nice weekend everyone :) |
| 16:31.16 | ChristianM | you too |
| 16:38.32 | *** join/#flow3 thasmo (~thasmo@d86-33-68-17.cust.tele2.at) |
| 16:56.46 | *** join/#flow3 Robbo__ (~robbo@ppp232-35.static.internode.on.net) |
| 17:07.19 | *** join/#flow3 foertel1 (~foertel@tmo-103-3.customers.d1-online.com) |
| 17:26.32 | *** join/#flow3 linkedinyou (~Hasib@unaffiliated/linkedinyou) |
| 17:51.21 | *** join/#flow3 andreaswolf (~aw@82.113.98.141) |
| 18:19.35 | *** join/#flow3 teddai (~teddai@dslb-088-066-124-178.pools.arcor-ip.net) |
| 18:49.50 | *** join/#flow3 Sebastiaan (5f615e95@gateway/web/freenode/ip.95.97.94.149) |
| 18:55.55 | Sebastiaan | Hey ChristianM, do you have time to look into the $application->setOption('sitePackageKey', 'SITE.SiteCom');? |
| 18:58.59 | *** join/#flow3 hmccloy (~Adium@i577A291E.versanet.de) |
| 18:59.16 | *** join/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 18:59.55 | *** part/#flow3 pgampe (~phil@pptp-212-201-77-224.pptp.stw-bonn.de) |
| 19:04.25 | *** join/#flow3 Chacky (~Sascha@dslb-088-065-054-204.pools.arcor-ip.net) |
| 19:08.31 | *** part/#flow3 Chacky (~Sascha@dslb-088-065-054-204.pools.arcor-ip.net) |
| 19:42.33 | *** join/#flow3 linkedinu (~linkediny@unaffiliated/linkedinyou) |
| 19:49.21 | *** join/#flow3 farconada (~fernando@227.Red-79-158-194.staticIP.rima-tde.net) |
| 20:06.41 | Sebastiaan | Does the insertion of a plugin on a page work in Phoenix base? |
| 20:07.08 | *** join/#flow3 sorenmalling (~sorenmall@0x573126a0.taanxx1.dynamic.dsl.tele.dk) |
| 20:07.37 | *** join/#flow3 CoreTex-51861 (~CoreTex@privatewebhost.de) |
| 20:41.35 | *** join/#flow3 pgampe (~phil@pptp-194-94-199-44.pptp.stw-bonn.de) |
| 20:44.35 | *** join/#flow3 tomasito (~tomasito@38.104.90.194) |
| 20:44.40 | *** join/#flow3 Wrack (~eric@f052235145.adsl.alicedsl.de) |
| 20:54.10 | *** join/#flow3 mneuhaus (~mneuhaus@ip-78-94-232-113.unitymediagroup.de) |
| 20:54.15 | *** part/#flow3 pgampe (~phil@pptp-194-94-199-44.pptp.stw-bonn.de) |
| 20:54.17 | *** part/#flow3 mneuhaus (~mneuhaus@ip-78-94-232-113.unitymediagroup.de) |
| 21:07.20 | *** join/#flow3 amkoroew (~Matze@p5B104D42.dip.t-dialin.net) |
| 21:14.54 | *** join/#flow3 skurfuerst (~Adium@i59F6C894.versanet.de) |
| 21:16.11 | *** join/#flow3 boonkerz (~boonkerz@p4FC30677.dip.t-dialin.net) |
| 21:51.55 | *** join/#flow3 vens (~vens@p4FFD88EE.dip.t-dialin.net) |
| 22:03.04 | *** join/#flow3 Kollode (~Kollode@g224120172.adsl.alicedsl.de) |
| 22:06.46 | *** join/#flow3 Kollode1 (~Kollode@g224120172.adsl.alicedsl.de) |
| 22:17.16 | *** join/#flow3 hmccloy (~Adium@i577A291E.versanet.de) |
| 22:29.30 | *** join/#flow3 petbe (~Peter@77.74.50.160) |
| 22:35.41 | *** join/#flow3 Number-50 (~typobot@li200-166.members.linode.com) |
| 23:20.35 | *** join/#flow3 SwiftLizard (~Adium@ip-176-198-80-154.unitymediagroup.de) |