01:19.52 | *** join/#flow3 rosieres_ (~rosieres@a89-183-1-240.net-htp.de) |
01:25.05 | *** join/#flow3 rosieres (~rosieres@a89-183-1-240.net-htp.de) |
02:02.01 | *** join/#flow3 boonkerz (~boonkerz@pd95c8e64.dip0.t-ipconnect.de) |
02:04.58 | *** part/#flow3 rosieres (~rosieres@a89-183-1-240.net-htp.de) |
02:17.40 | *** join/#flow3 boonkerz_ (~boonkerz@p5B28ADC0.dip.t-dialin.net) |
03:07.27 | *** join/#flow3 boonkerz (~boonkerz@pd95c8e64.dip0.t-ipconnect.de) |
04:33.19 | *** join/#flow3 nightzpy (~nightzpy@200.84.252.160) |
04:33.28 | nightzpy | Hi! |
04:38.57 | nightzpy | Why this? http://paste.ideaslabs.com/show/ogkz5usiE |
06:13.31 | *** join/#flow3 thomas_hempel (~thomas@designnet.work.de) |
06:21.14 | *** join/#flow3 jwa (me@julianwachholz.ch) |
06:26.14 | *** join/#flow3 jwa (me@julianwachholz.ch) |
07:14.08 | *** join/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
07:14.14 | *** part/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
07:29.34 | *** join/#flow3 afoeder (~afoeder@p4FD646B4.dip0.t-ipconnect.de) |
07:29.58 | afoeder | good moarning |
07:37.23 | *** join/#flow3 Denyerec (~Never@cpc4-shep11-2-0-cust49.8-3.cable.virginmedia.com) |
07:52.40 | *** join/#flow3 MatthiasG (~chatzilla@fw.frappant.ch) |
07:59.21 | *** join/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
08:01.10 | pumatertion | hi guys. want to make a persisted object only editable for the owner/creator of it. is content security the thing i need? or do i have to implement some extra roles like "Owner" ? |
08:08.06 | *** join/#flow3 Jordy_Zig (~jordydejo@194.121.186.34) |
08:08.35 | pumatertion | oh, think the way is ACLs methods, right? so i need something like this? |
08:08.36 | pumatertion | TYPO3_FooPackage_firstResource: TYPO3_FooPackage_firstResource && evaluate(current.securityContext.party.name == owner)? |
08:09.02 | ChristianM | pumatertion, yep something like that |
08:09.50 | ChristianM | I think there is a working example in the conference package |
08:10.02 | pumatertion | where can i get it? |
08:10.31 | *** join/#flow3 burzum_ (~burzum@b2.e6.354a.static.theplanet.com) |
08:10.37 | pumatertion | conference package is the t3con page dump? i searched for it for 3 days but didnt find it :( |
08:15.19 | ChristianM | http://git.typo3.org/FLOW3/Packages/Conference.git |
08:15.37 | ChristianM | git://git.typo3.org/FLOW3/Packages/Conference.git |
08:16.09 | pumatertion | thx |
08:18.19 | *** join/#flow3 karstenk1977_ (~karstenk1@ip-178-203-58-141.unitymediagroup.de) |
08:18.25 | karstenk1977_ | good morning |
08:22.19 | karstenk1977_ | today first time i loaded 1.0, before i installed the alpha. I tried to use my old settings.yaml but it doesn´t work. The opened php process uses up to 100% of my CPU, so that i only can kill it. Do I have to change php settings for Release 1.0? |
08:23.39 | ChristianM | I would recommend to make a new settings.yaml from the 1.0 example file |
08:23.54 | ChristianM | or carefully compare and restructure, there should be differences |
08:24.37 | afoeder | ...and be aware of the two-spaces-indendation. |
08:24.45 | afoeder | cannot be said enough times :) |
08:26.06 | ChristianM | afoeder +2 |
08:26.25 | afoeder | wow.. since then I just got +1 each ;-) |
08:26.35 | ChristianM | ha |
08:26.58 | *** join/#flow3 choongii (~choongii@unaffiliated/choongii) |
08:28.30 | afoeder | Does anybody have an idea how to implement a manual sorting mechanism? |
08:29.15 | ChristianM | examples are in TYPO3v4 or in the TYPO3CR package |
08:30.33 | afoeder | TYPO3v4? You mean that 256, 512, 1024.. thing? Or is there something new I've missed? |
08:30.42 | ChristianM | yep |
08:30.50 | ChristianM | TYPO3CR does something very similar |
08:31.06 | afoeder | I indeed also think that's a good approach :) |
08:31.51 | ChristianM | at first in TYPO3CR we reordered everything on move, but that became cumbersome and you have to touch a lot of data eventually |
08:32.08 | afoeder | I've never looked at the code; so maybe you can say: when does the re-calculation occur? When a recordset is injected anywhere, the stack has to be recalculated in order to create the necessary spaces |
08:32.50 | ChristianM | not sure about that, I know the basic idea in TYPO3CR is to not touch other nodes if possible |
08:33.01 | ChristianM | so we space 100 |
08:33.09 | ChristianM | so node 1 is 100 node 2 200 and so on |
08:33.21 | ChristianM | if you move something in between 1 and 2 it will just get 150 |
08:33.24 | afoeder | yes... but in my imagination, at a time there is "no space left" between two nodes |
08:33.31 | ChristianM | ah ok |
08:33.42 | afoeder | if you do it just often enough...s |
08:33.45 | afoeder | -s |
08:33.46 | ChristianM | right |
08:34.04 | afoeder | the next will become 125, the next, 112, 106... you know |
08:34.10 | ChristianM | yeah |
08:34.18 | afoeder | and at a time the whole bunch has to get re-calculated |
08:34.48 | ChristianM | didn't take a look so far, I think it is just spread out again to have the 100(0) of distance |
08:35.01 | afoeder | not to mention that different "storage spaces" can be regarded isolated from each other |
08:35.46 | afoeder | if one user has a shopping list with sorted items, and another user has another; these items can be sorted on their own |
08:35.54 | afoeder | (hope you get what I mean= |
08:35.54 | afoeder | )= |
08:37.31 | afoeder | and the remaining question is how to build it in the frontend... where I have a list and I have to "tell" the server what is ordered where |
08:42.10 | karstenk1977_ | Do i understand right, I may not longer set this (utility: environment: temporaryDirectoryBase: d:/apache2x64/tmp dbal: sessionInitialization: 'SET NAMES utf8 COLLATE utf8_unicode_ci' core: phpBinaryPathAndFilename: 'D:/apache2x64/php/php.exe') in my settings.yaml??? |
08:42.24 | karstenk1977_ | only the db settings? |
08:42.37 | ChristianM | karstenk1977_ you still can set it |
08:42.52 | karstenk1977_ | but then it doesn´t work |
08:42.53 | ChristianM | just the namespacing is different from alpha |
08:43.04 | karstenk1977_ | my php process hangs up if i set |
08:43.10 | ChristianM | mmm |
08:43.20 | karstenk1977_ | ah ok, where I find the correct ones? |
08:43.23 | ChristianM | have you tried those settings one by one to see which one causes the trouble |
08:43.37 | ChristianM | the top level starts with |
08:43.39 | ChristianM | TYPO3: |
08:43.42 | ChristianM | <PROTECTED> |
08:43.50 | ChristianM | that should be the difference to alpha |
08:44.01 | ChristianM | so indentation changes of course |
08:44.11 | *** join/#flow3 Kollode (~patrick@designnet.work.de) |
08:44.38 | karstenk1977_ | yes, as soon as i set the php excecution path it hangs up |
08:44.52 | ChristianM | phpBinaryPathAndFilename this one? |
08:44.57 | ChristianM | everything else works? |
08:44.58 | karstenk1977_ | yes |
08:45.06 | *** part/#flow3 MatthiasG (~chatzilla@fw.frappant.ch) |
08:45.14 | ChristianM | have you tried lower case "d" as drive letter |
08:45.22 | karstenk1977_ | i will |
08:45.23 | ChristianM | I have heard it could make a difference for php |
08:47.07 | karstenk1977_ | no difference between lower or upper case |
08:47.39 | *** join/#flow3 mneuhaus (~textual@pd95bc253.dip0.t-ipconnect.de) |
08:48.11 | afoeder | I remember there was an issue regarding some kind of recursive, infinitive call... maybe this is the point in karstenk1977_ case? |
08:48.38 | karstenk1977_ | perhaps i dont know. |
08:48.39 | bwaidelich | moin all. @karstenk1977_ does your php exe path contain spaces? |
08:48.40 | karstenk1977_ | ;-) |
08:49.26 | karstenk1977_ | ah now i have an exception. one step further^^ |
08:49.38 | bwaidelich | what exception? |
08:49.48 | karstenk1977_ | yes there is 1 space between label and path |
08:50.17 | karstenk1977_ | May I post here? |
08:50.18 | bwaidelich | no i meant a space in the path itself, e.g "C:/Foo Bar/php.exe" |
08:50.31 | karstenk1977_ | no there is no one |
08:50.32 | bwaidelich | post just the exception code |
08:50.36 | karstenk1977_ | Uncaught Exception Warning: filesize(): stat failed for d:/apache2x64/tmp/Development/Cache/Code/FLOW3_Object_Classes\TYPO3_FLOW3_Resource_Publishing_ResourcePublisher.php in D:\Websites\flow3\Packages\Framework\TYPO3.FLOW3\Classes\Cache\Backend\FileBackend.php line 180 More Information Exception code #1 File D:\Websites\flow3\Packages\Framework\TYPO3.FLOW3\Classes\Error\ErrorHandler.php Exception reference #20111031094525a59af |
08:50.43 | bwaidelich | ok |
08:51.03 | karstenk1977_ | Reference code: 2011103109452437915d |
08:51.09 | bwaidelich | looks like a permission problem |
08:51.34 | bwaidelich | did you follow http://flow3.typo3.org/documentation/quickstart.html#setting-file-permissions ? |
08:52.33 | karstenk1977_ | i´m on a windows machine |
08:53.45 | karstenk1977_ | mod_rewrite on and allow all |
08:57.19 | karstenk1977_ | and i didn´t change anything since i installed the flo3 alpha which runs |
08:58.09 | bwaidelich | did that instance use the same temp path (d:/apache2x64/tmp) ? |
08:58.49 | avalarion | Is there some kind of FE User Package in FLOW3 or do I have to write my own? |
08:58.49 | bwaidelich | also try removing that directory, if you haven't done so yet |
08:59.24 | bwaidelich | @avalarion have a look at the TYPO3.Party package |
08:59.29 | karstenk1977_ | ok i truncated tmp |
08:59.54 | bwaidelich | @karstenk1977_ remove tmp itself too, to be sure |
09:00.03 | karstenk1977_ | yes that was it |
09:00.05 | karstenk1977_ | thanks |
09:00.48 | bwaidelich | ..probably some file corruption or weird access rights.. |
09:01.42 | bwaidelich | @avalarion we used the party package for instance in the conference app: http://git.typo3.org/FLOW3/Packages/Conference.git?a=blob;f=Classes/Domain/Model/Account/Participant.php;h=816f35fa174e7c0efae336ed34e725c6db625022;hb=HEAD |
09:03.55 | avalarion | Looks pretty easy! I am a bit nervous about my change from php without mysql to flow3 because I am just starting to work with extbase and it's all new... But the coolest things I've ever seen! |
09:06.04 | bwaidelich | ;) just give it a try and ask here or in the mailing list if you get stuck |
09:06.19 | afoeder | at least I can say having some Extbase experience makes the unserstanding of FLOW3 a bit easier... |
09:06.56 | afoeder | the transition for somebody who worked on TYPO3 for years is much smoother when going via Extbase :) |
09:07.27 | karstenk1977_ | Would anybody link a good fluid templating tutorial, if he has? |
09:08.33 | afoeder | karstenk1977_ check the Cheat Sheets from PAtrick Lobacher in any case... wait a minute, I'll look for the links |
09:09.17 | afoeder | voilà: http://www.typovision.de/typo3-agentur/flow3-extbase-fluid/extbase-amp-fluid-cheat-sheet/ |
09:09.29 | karstenk1977_ | thanks |
09:10.34 | afoeder | karstenk1977_ ...and buy the book :) it's good. |
09:10.59 | karstenk1977_ | insidious advertising^^ |
09:11.43 | afoeder | karstenk1977_ you are german, right? |
09:12.07 | karstenk1977_ | yes, sry about my horrible english^^ |
09:12.50 | afoeder | oh no, I didn't mean that :) At least I didnt' notice :) We both have very compatible englisch ;-) |
09:12.56 | karstenk1977_ | or why do you know? |
09:13.05 | afoeder | OK than; after buying the book you would also like to have a look at https://www.mittwald.de/extbase-dokumentation |
09:13.08 | karstenk1977_ | :-) |
09:13.08 | *** join/#flow3 nightzpy (~nightzpy@200.84.245.160) |
09:13.13 | afoeder | if you didn't do already. |
09:13.15 | *** part/#flow3 bwaidelich (~bastianba@14237.nodes.robertlemke.net) |
09:13.33 | afoeder | Next on your list should be Domain Driven Design by Eric Evans |
09:13.58 | afoeder | having read this makes the understanding of many FLOW3 concepts easier. |
09:14.13 | ChristianM | yep, actually that should be very high on the list ;) |
09:14.15 | karstenk1977_ | ah there is a new documentation from mittwald, this one i haven´t known before |
09:15.56 | karstenk1977_ | wow 170 pages about fluid and extbase. |
09:23.29 | *** join/#flow3 tribunus (~tribunus@fw.de-cix.net) |
09:29.52 | *** join/#flow3 hlubek (~Adium@15-251-static.kielnet.net) |
09:50.16 | *** join/#flow3 mgoldbeck (~Adium@dslb-088-065-039-136.pools.arcor-ip.net) |
09:53.40 | jwa | Hi guys.. |
09:53.53 | jwa | I just ran over an interesting problem I haven't thought about yet |
09:54.31 | jwa | How can I implement a password-reset workflow? of course using the proper ways of the Party framework.. |
10:01.10 | *** part/#flow3 karstenk1977_ (~karstenk1@ip-178-203-58-141.unitymediagroup.de) |
10:02.35 | afoeder | jwa, what kind of approach would you like to enter; do you consider sending a new password via email? |
10:04.30 | jwa | afoeder: hell no, the times we've been sending plain text passwords are over |
10:05.08 | jwa | user says he forgot his password => enters email/username => gets mail with confirmation link => gets to unique form to reset pw |
10:05.19 | afoeder | no, sorry; was thinking only half-way and didn't write till the end... |
10:05.24 | afoeder | I mean with a confirm email |
10:05.27 | jwa | yes |
10:05.30 | afoeder | and a unique hash |
10:05.37 | afoeder | that allows the user to set a new one |
10:05.45 | afoeder | (by, of course, stating also the old one |
10:06.19 | jwa | sure he says he forgot his password and then has to confirm the change with his old password? |
10:07.06 | nightzpy | Excellent: the annotations blocks! Great work! |
10:08.43 | afoeder | jwa yes, because there is the possibility he has some kind of "auto-login" enabled and one hijacks his Cookie or workstation |
10:08.59 | jwa | read again, he doesn't know his password! |
10:09.17 | afoeder | eh of course... |
10:09.18 | afoeder | :) |
10:09.19 | afoeder | thanks :) |
10:09.38 | afoeder | messed it around with the simple "change password" process |
10:09.58 | jwa | a simple password change process usually includes stating the old one yes |
10:10.24 | jwa | for the other approach, one could also go the facebook way and include 5 different ways of proving that you are yourself |
10:10.37 | jwa | like when's your birthday, what's you mother's maiden name etc etc |
10:10.46 | jwa | or just some random security question |
10:17.24 | *** join/#flow3 chrisDD (~chrisDD@drsd-4db3edc1.pool.mediaWays.net) |
10:18.19 | jwa | but still no approach on how to do it with TYPO3.Party? |
10:19.59 | afoeder | well, by the way I myself doesn't like those security questions... I even find they make the security even worser... because may people could know my pet's favourite food... |
10:21.41 | jwa | that's why facebook only gives you 4 questions that almost noone except yourself can answer |
10:22.11 | afoeder | the drawback is that this is hardly "abstractable" ( ? ) |
10:22.31 | afoeder | this appraoch is very tightly coupled to the Facebook profile and what it knows. |
10:24.58 | jwa | you still have to supply your own answer, of course |
10:25.16 | jwa | like, "What was the last name of your first grade teacher?" |
10:25.29 | afoeder | Klein. :-P |
10:25.33 | afoeder | *oops* |
10:25.50 | afoeder | (shit, have to remove that from my Facebook account now...) |
10:26.52 | jwa | that's the problem, the weakest part of even the most heavy-duty security framework is always the user |
10:27.04 | afoeder | agree... |
10:27.14 | *** join/#flow3 foertel (~foertel@p5490DCAA.dip.t-dialin.net) |
10:28.39 | jwa | on the other hand you can use a client to your advantage, e.g. use his phone to send him a verification sms |
10:28.47 | jwa | but then again if it gets stolen |
10:45.29 | *** join/#flow3 mgoldbeck (~Adium@dslb-088-065-039-136.pools.arcor-ip.net) |
10:51.02 | nightzpy | Hi, i'm following the blog tutorial and get the next error: |
10:51.07 | nightzpy | [Semantical Error] The annotation "@ORM\Column" in property |
10:51.07 | nightzpy | <PROTECTED> |
10:51.07 | nightzpy | <PROTECTED> |
10:51.43 | nightzpy | I don't know what the problem! |
10:54.06 | jwa | nightzpy: read the Upgrading.txt in the FLOW3 root folder please |
10:54.25 | nightzpy | Ok, thanks... go to that! |
10:54.33 | jwa | and they already know that the use lines should be added to the tutorial |
10:54.39 | jwa | use Doctrine |
10:54.51 | jwa | use Doctrine\ORM\Mapping as ORM; |
10:55.00 | jwa | that's the line you need to add |
10:56.42 | nightzpy | the migrate-annotations.php script then? |
10:56.46 | nightzpy | Ok... thanks! |
10:58.59 | nightzpy | I have added this line, but still the error! |
11:02.21 | jwa | nightzpy: be sure to flush the cache if you're not in development context |
11:02.42 | jwa | or closely look at the error message, maybe it's in another file or different error |
11:03.45 | nightzpy | Am in dev context! Ok, let me see a bit more! |
11:05.34 | nightzpy | Ok, now this is the fail: |
11:05.36 | nightzpy | [Type Error] Attribute "length" of @ORM\Column declared on property |
11:05.36 | nightzpy | <PROTECTED> |
11:05.36 | nightzpy | <PROTECTED> |
11:06.07 | nightzpy | I don't see the problem, in the tutorial is the same: length |
11:08.29 | afoeder | @ Doctrine Pro's, is it possible to also declare scalar types like String as a doctrine collection? |
11:10.19 | nightzpy | afoeder: I think if it should! |
11:10.42 | nightzpy | you try? |
11:10.51 | afoeder | didnt yet :) |
11:11.14 | nightzpy | run? |
11:14.26 | *** join/#flow3 chrisDD (~chrisDD@drsd-4db3edc1.pool.mediaWays.net) |
11:14.29 | afoeder | would that be OK then;: * @var \Doctrine\Common\Collections\Collection<String> |
11:16.18 | nightzpy | Should be! Like as: c++ templates! |
11:16.49 | afoeder | c++? never heard :-P |
11:18.03 | nightzpy | Ok, the problem was that column type length should be iqual to an integer: -without quotes!- In the tutorial appear in quotes! |
11:18.33 | nightzpy | Jejjejee! |
11:18.35 | nightzpy | Hehe! |
11:18.44 | afoeder | nightzpy could you please open an issue in the forge.typo3.org for that? |
11:18.58 | afoeder | documentation section |
11:19.07 | nightzpy | tell me more! |
11:19.18 | nightzpy | like that fail register? |
11:20.39 | afoeder | he? |
11:20.45 | afoeder | http://forge.typo3.org/projects/flow3-documentation |
11:21.19 | *** join/#flow3 Jordy_Zig (~jordydejo@194.121.186.34) |
11:24.09 | nightzpy | Ok, let me see! |
11:24.58 | nightzpy | Already appear: http://forge.typo3.org/issues/31376 |
11:32.08 | *** join/#flow3 mgoldbeck (~Adium@dslb-088-065-039-136.pools.arcor-ip.net) |
11:39.44 | *** join/#flow3 p1d (~p1d@dslb-088-065-169-224.pools.arcor-ip.net) |
11:51.58 | jwa | afoeder: probably works but what about persistence? maybe doctrine will create a helper table for that |
11:52.07 | jwa | at least that's what I think would be pretty cool |
11:52.25 | afoeder | I hoped Doctrine would serialize() it |
11:52.34 | jwa | or that yes |
11:52.36 | jwa | did it? |
11:52.43 | afoeder | still not tested :) |
11:52.51 | jwa | uh oh, let me test |
11:53.03 | afoeder | I'm currently implementing an OpenGraph package... |
11:53.08 | afoeder | wanna contribute? ;-) |
11:53.59 | jwa | umm not really :/ but I already have a partly working OAuth package that let's you authenticate with Twitter :) |
12:01.56 | jwa | hmm, it just creates a VARCHAR(255) column.. |
12:02.08 | afoeder | you mean a String collection? |
12:02.38 | *** join/#flow3 karstenk1977_ (~karstenk1@ip-178-203-58-141.unitymediagroup.de) |
12:03.22 | afoeder | wow, there is no UrlValidator in the base distribution... |
12:06.37 | nightzpy | Not? |
12:09.37 | *** join/#flow3 boonkerz (~boonkerz@pd95c8e64.dip0.t-ipconnect.de) |
12:10.57 | k-fish | nightzpy: feel free to review https://review.typo3.org/6394 - thanks |
12:11.01 | jwa | haha afoeder this is what you get: Doctrine\Common\Collections\ArrayCollection@0000000065ae6669000000005ae0e54b |
12:11.14 | jwa | because that's the default __toString() method.. |
12:11.24 | *** part/#flow3 karstenk1977_ (~karstenk1@ip-178-203-58-141.unitymediagroup.de) |
12:11.29 | jwa | I bet we can write our own StringCollection class |
12:11.30 | afoeder | hm ok... |
12:12.56 | afoeder | btw, this is my URL validator: https://gist.github.com/3adf4473960219ff049b |
12:13.11 | afoeder | if someone needs :) |
12:16.04 | *** join/#flow3 skurfuerst (~Adium@88.130.182.168) |
12:16.32 | nightzpy | afoeder, can show in the flow3 doc? ehehhe |
12:16.53 | afoeder | nightzpy what do you mean? |
12:18.38 | nightzpy | afoeder: No way that your contribution appears in the documentation flow3? |
12:19.56 | afoeder | I don't think it should be put in the documentation; if ever it should be added to the base distribution at all.... |
12:21.13 | ChristianM | yep |
12:21.58 | afoeder | by the way, I think there's a tiny mistake in the UUID validator... |
12:22.30 | afoeder | could someone who is competent confirm this? |
12:24.24 | jwa | I think a UrlValidator is a *must have* for the core... |
12:26.04 | *** join/#flow3 Guest29359 (~chatzilla@ds92-51-171-43.dedicated.hosteurope.de) |
12:26.04 | *** join/#flow3 k-fish (~karsten@31-17-185-40-dynip.superkabel.de) |
12:30.03 | *** join/#flow3 boonkerz_ (~boonkerz@pd95c8e64.dip0.t-ipconnect.de) |
12:32.54 | afoeder | hmmm... "final functions" are evil in FLOW3 due to the proxy class building, right? |
12:33.24 | t3andi | yes! that will break the whole thing ;-) |
12:33.39 | afoeder | ok... *deleting* |
12:33.44 | t3andi | ;-) |
12:36.48 | afoeder | OO guys; when I have Image, Video and Audio; and I would group this into "AbstractMedia", would it be OK to also have "AbstractSizedMedia" which inherity from AbstractMedia; while Audio inherits from AbstractMedia and Video and Image inherits from AbstractSizedMedia? (hope that was understandable :) |
12:37.18 | afoeder | so AbstractMedia -> AbstractSizedMedia -> [Video,Image] |
12:37.29 | afoeder | and AbstractMedia -> [Audio] |
12:37.47 | t3andi | yep, why not? although I don't get what AbstractSizeMedia, really is... |
12:37.53 | afoeder | AbstractSizedMedia has the width and height attribs |
12:38.19 | afoeder | "Media that has a size" :) |
12:38.43 | t3andi | ah ok… yes, I think that's just fine |
12:39.04 | afoeder | cool. I like when what I am thinking is considered "fine" :) |
12:39.26 | afoeder | t3andi, maybe you can say: I think I found a tiny mistake in the UuidValidator... |
12:39.48 | afoeder | the regex there says /([a-f0-9]){8}-([a-f0-9]){4}-([a-f0-9]){4}-([a-f0-9]){4}-([a-f0-9]){12}/ |
12:39.59 | afoeder | but shouldn't it be wrapped in ^$ ? |
12:40.16 | t3andi | yes, that's probably missing, right... |
12:40.50 | t3andi | otherwise you could add things before or after the uuid and it would still match, right? |
12:41.04 | afoeder | I think so... |
12:41.11 | t3andi | have you tried? ;-) |
12:41.16 | afoeder | no. |
12:41.19 | afoeder | :) |
12:46.14 | *** join/#flow3 skurfuerst (~Adium@88.130.182.168) |
12:55.28 | afoeder | are ENUM annotations supported in any way? :) |
12:58.46 | afoeder | jwa are you still there |
12:58.47 | afoeder | ? |
13:00.43 | *** join/#flow3 thomas_hempel (~thomas@designnet.work.de) |
13:03.49 | ChristianM | as in enumeration - mysql data type? |
13:05.15 | afoeder | not strongly; mainly just for explicit information what to do with an attribute (or if/that only a set of possibilities are allowed) |
13:05.57 | afoeder | could at least be done with a generic EnumValidator that gets the allowed options as array :) |
13:07.44 | jwa | afoeder: yes |
13:07.56 | jwa | afoeder: and no, ENUM is a bad idea |
13:07.58 | afoeder | ...because of the String Collection |
13:08.05 | jwa | I was preparing, now testing |
13:08.20 | afoeder | is this what Doctrine gave you just the concatenation of "Array" and the object identifier? |
13:09.16 | afoeder | to be more concrete: the concatenation of the class name "...ArrayCollection", an "@" and the identifier... |
13:14.20 | jwa | it's the __toString implementation of ArrayCollection.php |
13:14.53 | afoeder | maybe it should manually be achieved with __sleep and __wakeup or so |
13:15.24 | jwa | also, I'm now getting this: Found an invalid element type declaration in class Test for property sayings: Type MyScalarCollection must not have an element type hint (string). |
13:15.41 | afoeder | hm ok... |
13:15.42 | jwa | how does it know what types it accepts!? |
13:15.53 | afoeder | well, at least no strings :) |
13:15.58 | jwa | it doesn't say that for the standard ArrayCollection |
13:19.22 | jwa | heh, I just changed the annotation back to the interface |
13:19.23 | jwa | that works |
13:19.38 | jwa | so I now have the serialized array in the field.. |
13:19.50 | afoeder | in the database field? |
13:19.53 | jwa | yes |
13:19.57 | afoeder | cool |
13:19.58 | jwa | now to get it back |
13:32.37 | *** part/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
13:35.44 | *** join/#flow3 skurfuerst (~Adium@88.130.182.168) |
13:38.34 | jwa | interesting.. the constructor of the model is never called... |
13:39.02 | afoeder | I think it is overridden by the proxy class...? |
13:39.12 | afoeder | did you try initialzeObject()? |
13:39.17 | afoeder | +i |
13:39.45 | jwa | ah right |
13:42.46 | jwa | fancy AOP stuff I wish I knew what's going on there |
13:49.16 | afoeder | a ValueObject is per se always immutable, right? |
13:50.04 | afoeder | this means in the next step that single properties of a value object MUST NOT change, correct? |
13:50.33 | t3andi | correct |
13:51.01 | afoeder | and in the last step this means that is has no setters and EVERY property has to be set ONLY by the constructor? |
13:51.11 | jwa | afoeder: that's why FLOW3 will throw an exception if you have a set* method |
13:51.26 | jwa | exactly |
13:51.32 | afoeder | perfect; I just wanted to recall |
13:51.33 | afoeder | olk... |
13:51.34 | afoeder | ok |
13:51.56 | jwa | the flow3 identifier is also a hash of the object's values, which is interesting |
13:51.57 | afoeder | you know, I'm just thinking about if I should build my "OpenGraph" objects as valueobjects.. |
13:53.07 | afoeder | But that would indeed not be correct... because an OpenGraph Object is, as far as I understand, regarded "unique" |
13:53.30 | jwa | I just realized that the AOP part of the manual has been written, sweet |
13:53.39 | *** join/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
13:53.40 | afoeder | ah, good to know. |
13:53.45 | afoeder | iPadFood™ |
13:54.02 | jwa | you mean something like "Alex has watched a movie on kino45.to." |
13:54.06 | jwa | ? |
13:54.45 | afoeder | hm not exactly; well, the OpenGraph thing is a pretty cool approach |
13:55.03 | afoeder | it regards objects that a website describe as real-world, existing objects |
13:55.14 | afoeder | for example a Movie or a Product |
13:55.37 | afoeder | something like "this website is the definitive derivate of this *product |
13:55.38 | jwa | so yeah an open graph object is in fact just an entity |
13:55.44 | afoeder | yeo |
13:55.45 | afoeder | yep |
13:56.10 | jwa | makes more sense even though one can have 22 DVDs of the same movie |
13:56.13 | afoeder | but there are "child objects" like images and videos; I think I would define them as ValueObjects |
13:56.44 | jwa | only if you'll use the same image for a movie and a product |
13:57.01 | afoeder | I dont's know, the image is provided by the website provider |
13:57.45 | afoeder | when you paste a URL in facebook, you surely noticed that it is parsed and displayed in a special manner |
13:58.43 | jwa | I know what open graph is yes :P |
13:59.28 | afoeder | I also thought I knew it; till this morning ;-) |
14:00.09 | jwa | okay I know OpenGraph 1.0 but hardly see the concept of OG 2.0 as a whole |
14:00.17 | jwa | correct? :D |
14:00.46 | afoeder | yeahyeah :) |
14:03.15 | *** part/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
14:03.20 | jwa | damn AOP is getting cooler with every line I read |
14:17.49 | afoeder | jwa did you already write a few lines using the CLI interface? |
14:21.26 | ChristianM | afoeder cli is pretty simple if you look at the existing command controllers |
14:21.49 | afoeder | where do I find a simple one? :) |
14:22.23 | ChristianM | Packages/Framework/TYPO3.FLOW3/Classes/Command/PackageCommandController.php |
14:22.26 | ChristianM | for example |
14:22.37 | afoeder | alright, thank you |
14:24.28 | afoeder | maybe one can give me a hint: I am now finished building the Model structure of my Open Graph implementation; I would now like to transform a given web page URI to that model tree. Should I do this using the TypeConverter? |
14:31.13 | jwa | manually I guess |
14:32.25 | afoeder | I mean the usage later on... assuming the package is finished, how does anybody get out of the web page url the complete object tree. |
14:33.23 | jwa | you mean you have, for example, an IMDB link (they have OG tags iirc) |
14:33.31 | jwa | and want that converted to an OG movie object? |
14:33.38 | afoeder | exactly. |
14:33.49 | afoeder | I at first thought about a Service |
14:33.52 | jwa | use XPath or regular expressions to extract the values then |
14:34.02 | afoeder | yes; of course; but "where" |
14:34.11 | jwa | file_get_contents($uri) ? |
14:34.42 | afoeder | :) "where do I place the code for that" |
14:34.54 | afoeder | should I write a service; or... a type converter :) |
14:35.12 | afoeder | one that "converts" a webpage to the OG movie object |
14:35.21 | jwa | I would've just done it in the action but a custom typeconverter sounds interesting |
14:35.22 | afoeder | I like this idea, to be honest |
14:35.40 | afoeder | there should be no action. |
14:36.17 | afoeder | I think I'll try the TypeConverter idea. |
14:37.38 | jwa | huh? I thought a user would enter a URL which would trigger an action |
14:38.10 | afoeder | I want to provide an isolated package that serves Open Graph functionality |
14:38.17 | jwa | ah |
14:38.27 | jwa | yeah that's a typeconverter |
14:38.33 | jwa | it literally screams for it :P |
14:38.35 | afoeder | great, fine. |
14:38.38 | afoeder | good :) |
14:38.50 | jwa | btw I think many classes in the core could be flagged as abstract.. like the ActionController |
14:43.31 | afoeder | while building the functionality, would be a "Test" the right approach? |
14:43.47 | jwa | UnitTest you mean? |
14:43.49 | afoeder | to trigger the conversion and look-what-happens |
14:44.01 | jwa | or a functional test will do that |
14:44.08 | afoeder | almost, I think more of "FunctionalTest" |
14:44.12 | afoeder | yep :) |
14:44.41 | afoeder | do you know a few lines how to start that? |
14:44.51 | afoeder | a mini-tutorial anywhere... |
14:45.27 | jwa | look at the existing functional tests |
14:45.40 | jwa | especially the ones that create or use mock objects |
14:45.52 | afoeder | how do I start them? |
14:46.00 | jwa | is blown away by the complexity of the I18n structure |
14:46.19 | jwa | with phpunit ./path/to/functionaltests.xml |
14:46.31 | jwa | that file is in the Build/Common/... directory |
14:47.21 | afoeder | ah, I see... |
14:48.16 | afoeder | isn't there a FLOW3 wrapper method for running phpunit? |
14:48.47 | jwa | seriously: "<rbnfrule value="70">[→%spellout-cardinal-masculine→und]siebzig;</rbnfrule>" |
14:48.50 | jwa | no |
14:56.15 | jwa | and I thought noone would ever be that insane and create a regex list of valid postcodes |
14:56.18 | jwa | ha! |
14:56.45 | afoeder | jwa seems interesting, where is this line from? |
14:59.25 | Jordy_Zig | hi, I just commited a fix for issue http://forge.typo3.org/issues/31373 |
14:59.49 | *** part/#flow3 afoeder (~afoeder@p4FD646B4.dip0.t-ipconnect.de) |
15:00.03 | *** join/#flow3 afoeder (~afoeder@p4FD646B4.dip0.t-ipconnect.de) |
15:00.10 | Jordy_Zig | it was my first git commit so I hope everything was commited the way it's supposed to be ;) |
15:00.22 | ChristianM | did you get an url to review? |
15:00.57 | Jordy_Zig | I don't think so |
15:00.58 | ChristianM | because I don't see any new changes in git |
15:01.12 | ChristianM | then something wen't wrong and you should have had some kind of error message ;) |
15:01.29 | Jordy_Zig | i configured git by the commands from http://www.wwwision.de/githelper/ |
15:01.30 | ChristianM | sorry, don't see any new changes in gerrit is what I meant |
15:01.37 | ChristianM | that should be fine |
15:01.46 | ChristianM | ah wait |
15:01.50 | ChristianM | you did git commit right? |
15:02.01 | ChristianM | did you also do a "git push" after that? |
15:02.15 | ChristianM | git commit will only commit to your local git change index |
15:02.23 | ChristianM | that is different from svn |
15:02.27 | Jordy_Zig | didn't do a git push yet |
15:02.29 | ChristianM | you can commit only locally |
15:02.33 | ChristianM | ah then please do ;) |
15:02.59 | Jordy_Zig | "Individual contributor agreement is still pending review." |
15:03.12 | Jordy_Zig | think I have to wait |
15:03.14 | Jordy_Zig | ;) |
15:03.18 | ChristianM | yep looks like |
15:03.34 | Jordy_Zig | friday a "company" licence agreemeent was faxed |
15:03.59 | Jordy_Zig | not sure how that is going to be linked to my username since there was no way to specifiy the user name on that form |
15:05.03 | Jordy_Zig | is there anybody who I can contact to see if the fax was received? |
15:06.00 | jwa | well you could try and call them here in Switzerland ;) |
15:06.13 | afoeder | :) |
15:06.17 | jwa | afoeder: TYPO3.FLOW3/Resources/Private/CLDR/Sources/.... |
15:06.35 | afoeder | jwa, switzerland is so small, couldn't you just walk there and ask? :-P |
15:07.04 | jwa | it's not *that* small :( |
15:07.11 | *** join/#flow3 chrisDD (~chrisDD@drsd-4db3edc1.pool.mediaWays.net) |
15:07.39 | afoeder | that is correct... I realized that when walking from the T3DD location to the local ALDI market :-P |
15:07.55 | afoeder | ...every time... |
15:08.16 | Jordy_Zig | can't find a phone number to contact them, maybe i can try info@typo3.org |
15:08.39 | jwa | hmm ok it's ~35km from here actually :D |
15:08.56 | afoeder | :) |
15:09.12 | jwa | Jordy_Zig: <rbnfrule value="70">[→%spellout-cardinal-masculine→und]siebzig;</rbnfrule> |
15:09.16 | jwa | er no sorry |
15:09.25 | jwa | Clipboard sync doesnt work in my VM :( |
15:09.42 | jwa | http://association.typo3.org/contact/contact/ref/assoc/\ |
15:09.54 | jwa | no phone, just fax |
15:10.18 | afoeder | then send a fax to ask if your fax was received :-P |
15:10.23 | jwa | LOL |
15:10.28 | jwa | mail will do |
15:11.17 | Jordy_Zig | thanks :) I just sent a mail |
15:13.59 | afoeder | jwa, could you imagine what my PhpStorm means with "Bootstrap file" when I attempt to "Generate PHPUnit Test"? |
15:15.38 | *** join/#flow3 hlubek1 (~Adium@15-251-static.kielnet.net) |
15:22.18 | *** join/#flow3 jordydejong (~anonymous@194.121.186.34) |
15:32.12 | *** join/#flow3 bwaidelich (~bastianba@14237.nodes.robertlemke.net) |
15:35.33 | *** join/#flow3 nd___ (~nd@mnhm-4d00eba8.pool.mediaWays.net) |
15:38.01 | *** join/#flow3 boonkerz (~boonkerz@pd95c8e64.dip0.t-ipconnect.de) |
15:44.14 | jwa | afoeder: yes, that's the php file referenced in the already made UnitTests.xml and FunctionalTests.xml |
15:44.23 | jwa | you don't need to create that |
15:44.53 | afoeder | isn't that the "run configuration"? |
15:45.46 | jwa | I don't think so, because the referenced files (in the same directory) are called UnitTestBootstrap.php and FunctionalTestBootstrap.php :P |
15:46.40 | afoeder | you are right. |
15:46.58 | *** join/#flow3 choongii (~choongii@unaffiliated/choongii) |
15:47.15 | afoeder | but the "Boostrap file" that phpstorm asks me for should be FunctionalTestBootstrap.php either, right? |
15:48.57 | afoeder | hm, something's wrong with my installation anyways... |
15:50.04 | afoeder | :( now I get a Call to undefined method PHP_CodeCoverage_Filter::getInstance() |
15:51.49 | bwaidelich | @afoeder maybe this helps: http://blog.k-fish.de/2011/02/unit-testing-flow3-with-phpstorm.html |
15:52.02 | afoeder | bwaidelich cool, thanks. |
15:52.41 | afoeder | by the way, I saw that there were changes made to http://forge.typo3.org/issues/31019#change-92316 |
15:53.06 | afoeder | did you notice my tiny comment in the middle of the Hudson-Updates? :) |
15:53.19 | *** join/#flow3 rosieres (~rosieres@a89-183-10-102.net-htp.de) |
15:55.37 | bwaidelich | @afoeder yes, looks great |
15:56.20 | afoeder | cool, maybe you consider to build it in. |
15:56.31 | bwaidelich | just added a comment to https://review.typo3.org/#change,5913 ;) |
15:56.37 | afoeder | did you also receive my gist regarding the imageviewhelper? |
15:57.06 | *** join/#flow3 mneuhaus (~textual@ip-78-94-248-57.unitymediagroup.de) |
15:57.24 | bwaidelich | yes, did you get my response? ;) |
15:57.40 | bwaidelich | (fr, 28.10. 17:55h) |
15:58.25 | jwa | bwaidelich: are you using phpstorm on linux? |
15:58.27 | afoeder | whoops :) |
15:58.49 | bwaidelich | @jwa on windows *duck* |
16:00.10 | afoeder | bwaidelich hm... how did you send me that "response"? |
16:00.28 | jwa | meh, I don't know why but the GUI is pretty fucked up on my machine, e.g. if I focus a line below a "y" it will cut off the drop cap of it.. which is pretty annoying |
16:00.46 | jwa | oh and it uses calculated bold fonts that aren't monospaced afterwards |
16:01.12 | bwaidelich | @afoeder via mail.. |
16:01.54 | bwaidelich | @jwa weird.. but i think, christian is using it successfully on linux |
16:02.03 | afoeder | hm strange... to what address? (don't mind to write it down here :) |
16:02.31 | jwa | weird indeed |
16:02.32 | *** join/#flow3 der-markus (~Adium@77-23-80-120-dynip.superkabel.de) |
16:02.35 | bwaidelich | ah nice.. "Adrian Föder <reply+m-17826538-47470788bd86386e8c2dce468b86480fa4492087@reply.github.com>" ;) |
16:02.36 | ChristianM | afoeder, the flashMessage stuff looks good, I will try to create a new change set with your ideas and Bastians change, so we have a fallback with current templates and the possibility to iterate the messages |
16:03.19 | bwaidelich | @ChristianM great, thanks!! |
16:03.27 | ChristianM | bwaidelich, what am I using successfully on linux? |
16:03.29 | afoeder | same from me |
16:03.42 | bwaidelich | @ChristianM phpstorm, aren |
16:03.47 | bwaidelich | ...t you? |
16:03.53 | ChristianM | yes, I was before buying the mac |
16:04.02 | ChristianM | worked pretty straight forward |
16:04.20 | afoeder | bwaidelich does that mean you answered via github, right? |
16:04.23 | bwaidelich | @afoeder check your github inbox. if it didn't work - where shall i send it to? |
16:04.40 | bwaidelich | ..i replied to the github notification |
16:04.52 | afoeder | I didn't get anything... |
16:05.22 | bwaidelich | ok, now you should have |
16:05.32 | afoeder | ah :) |
16:05.34 | afoeder | yip |
16:07.06 | der-markus | hej there… i use flow3 in a current project where i have to read some informations from a remote content repository (access via database).. it might be a noob question .. is there any possibility to access that data via flow3 object model ? |
16:07.20 | *** join/#flow3 choongii (~choongii@unaffiliated/choongii) |
16:07.58 | der-markus | found that in the mailing list… http://lists.typo3.org/pipermail/flow3-general/2010-October/000598.html .. pretty much matched what i was looking for.. except a hint how to do, after doctrine is implemented.. |
16:10.46 | bwaidelich | @der-markus the thread was referring to the previous CR that was replaced by a doctrine backend. now, you can map your objects very flexible.. Just check the extensive doctrine documentation for the exact syntax |
16:11.30 | bwaidelich | http://www.doctrine-project.org/docs/orm/2.1/en/reference/annotations-reference.html |
16:11.38 | jwa | I wonder... if it would make sense to make a package:rename command |
16:12.03 | der-markus | thx.. i'll have a look @bwaidelich |
16:12.40 | bwaidelich | @jwa would be nice - but not that easy as you'd have to replace a lot of strings.. |
16:16.29 | afoeder | are there any more resources how to configure Unit Testing with FLOW3? |
16:23.32 | *** join/#flow3 beberlei (~chatzilla@p578b2827.dip0.t-ipconnect.de) |
16:24.45 | ChristianM | jwa, what distro and desktop environment are you using for phpstorm |
16:26.18 | *** join/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
16:27.12 | afoeder | ChristianM could you drop me a line how to get Unit tests running with php storm? |
16:27.19 | pumatertion | erm, just a question. a am on the right way that there are two persistence manager in the f3 package. one generic and one doctrine. wich one is uses by default? |
16:28.09 | pumatertion | or am i totaly wrong? |
16:29.26 | ChristianM | afoeder, actually I only do that via command line |
16:29.32 | ChristianM | would have to try to setup that myself ;) |
16:29.33 | *** join/#flow3 boonkerz_ (~boonkerz@pd95c8e64.dip0.t-ipconnect.de) |
16:29.45 | ChristianM | pumatertion, doctrine is used by default |
16:30.15 | afoeder | ChristianM could you maybe drop me a line how to do even this? (running via cmd line) only a hint... I will byte myself through on my own then :) |
16:30.17 | ChristianM | the generic (or old one) is just there for backwards reference and to build special implementations on top if needed |
16:30.36 | ChristianM | afoeder of course :) |
16:30.41 | bwaidelich | unittests with PhpStorm is really easy. but why doesn't http://blog.k-fish.de/2011/02/unit-testing-flow3-with-phpstorm.html help you? |
16:30.45 | ChristianM | basically you can use the configuration files |
16:30.54 | ChristianM | phpunit -c Build/Common/PhpUnit/UnitTests.xml in the root of your project directory |
16:31.03 | pumatertion | t3andi, back to our last chat, so if i want to use content security i have to switch to generic persistence manager because its not implementet yet to doctrine manager? |
16:31.04 | afoeder | ok |
16:31.16 | afoeder | so the .xml controls what phpunit has to check.... |
16:31.17 | ChristianM | you can explore those xml files on how to add your packages to your own testing file |
16:31.21 | ChristianM | afoeder right |
16:31.35 | afoeder | bwaidelich I get strange errrors in phpstorm |
16:31.49 | *** join/#flow3 Chacky (~Sascha@dslb-094-217-140-188.pools.arcor-ip.net) |
16:32.06 | afoeder | I tried to "Generate ...Test.php" with phpstorm |
16:32.54 | afoeder | ChristianM this XML is that "Run configuration", right? |
16:33.04 | afoeder | (just to understand what PhpStorm expects from me :) |
16:33.04 | bwaidelich | @afoeder what about Run > ...Test.php instead ;) |
16:33.40 | afoeder | bwaidelich I assume this requires me to create that ...Test.php file prior to that, right? |
16:34.16 | t3andi | @pumatertion: no, you just have to write your queries with the FLOW3 QOM and not the Doctrine DQL. Using Doctrine as persistence backend is no problem, and I would not recommend to use something else ;-) |
16:34.37 | pumatertion | okay sir :) |
16:35.28 | t3andi | :-) |
16:35.48 | bwaidelich | @afoeder add the config as described in karstens posting and then navigate to an existing unit test (e.g. TYPO3.FLOW3/Tests/Unit/Utility/ArraysTest.php), right-click, run..., ArraysTest.php (2nd entry for me) |
16:37.06 | bwaidelich | re the config: for single tests it's enough to add the XML configuration path in Defaults/PHPUnit > Configuration |
16:37.28 | afoeder | I assume you don't have the FLOW3 folders included as External Library, right? |
16:38.07 | k-fish | and then press ctrl-shift-r to run a test :) |
16:38.49 | bwaidelich | ..which opens "replace in path" for me.. hi karsten ;) |
16:38.56 | pumatertion | i think i will write my queries in dql. it takes so much time to finish this project ... f3 4.0 will be finished at the same time i think ;) so the content security is implentet then i think and i can do the security things ;) |
16:39.18 | bwaidelich | it's shift + f10 for me |
16:39.18 | afoeder | for me too, it's Ctrl + R + F10 in Windows case, I think... |
16:39.54 | afoeder | eh no, of course Ctrl + Shift + F10 |
16:40.31 | afoeder | but it doesn't work if FLOW3 is "only" included as External library :-( |
16:42.49 | afoeder | should I write at least this very-very-basic stuff anywhere down, for other n00bs like me? |
16:43.14 | afoeder | I really started from Adam and Eve regarding Unit Tests :) |
16:43.55 | bwaidelich | $this->assertFalse('apples are good'); ;) |
16:44.33 | afoeder | :-D |
16:49.16 | afoeder | hm... "Failed opening required 'PHPUnit/Runner/IncludePathTestCollector.php' " .. and this file is really not there.... |
16:49.35 | *** join/#flow3 Thasmo (~thasmo@d86-32-70-74.cust.tele2.at) |
16:53.04 | ChristianM | afoeder maybe that is something PHPUnit provides? |
16:53.19 | ChristianM | do you have phpunit and all pear dependencies? |
16:53.23 | afoeder | surely; but I wonder why it lacks... |
16:53.31 | afoeder | at least I have phpunit... |
16:53.39 | afoeder | being not sure regarding the depend's :) |
16:55.35 | bwaidelich | @afoeder make sure that the latest version of PHPUnit and VFS are installed properly. PEAR has issues with upgrading packages - so if you're not sure, remove PHPUnit and re-install it as |
16:55.50 | bwaidelich | ..described here http://www.phpunit.de/manual/current/en/installation.html |
16:56.31 | afoeder | ok, will do, thanks |
16:56.52 | bwaidelich | "phpunit --version" might help |
16:56.54 | afoeder | do I have to install the "following optional packages" |
16:56.55 | afoeder | ? |
16:57.29 | bwaidelich | ..might help identifying the currently installed version |
16:59.09 | afoeder | OK; PHPUnit 1.3.2 stable |
16:59.37 | bwaidelich | ..should be at least 3.5 |
16:59.42 | afoeder | eeek |
16:59.53 | *** join/#flow3 chrisDD (~chrisDD@drsd-4db3edc1.pool.mediaWays.net) |
17:00.41 | afoeder | ok, so far: >> uninstall ok: channel://pear.php.net/PHPUnit-1.3.2 << |
17:00.52 | afoeder | and that's incorrect, as I see... |
17:01.07 | afoeder | the channel has to be pear.phpunit.de |
17:01.10 | afoeder | right? |
17:05.44 | *** join/#flow3 Chacky (~Sascha@dslb-094-217-140-188.pools.arcor-ip.net) |
17:06.11 | afoeder | hm, when I do >> pear info pear.phpunit.de/PHPUnit << |
17:06.15 | afoeder | I get 3.6.0 |
17:07.03 | *** part/#flow3 bwaidelich (~bastianba@14237.nodes.robertlemke.net) |
17:10.36 | *** join/#flow3 robblesz (~robblesz@204.45.118.171) |
17:11.26 | *** join/#flow3 Chacky (~Sascha@dslb-094-217-140-188.pools.arcor-ip.net) |
17:21.24 | der-markus | after continue reading i stil have no clue… does flow3 support the use of multiple databases ? |
17:40.04 | *** join/#flow3 robblesz (robblesz@204.45.118.171) |
17:50.40 | *** join/#flow3 Chacky (~Sascha@dslb-094-217-140-188.pools.arcor-ip.net) |
18:15.51 | *** join/#flow3 Kollode (~Kollode@g224046120.adsl.alicedsl.de) |
18:22.18 | *** part/#flow3 pumatertion (~pumaterti@p5099c158.dip0.t-ipconnect.de) |
18:22.23 | *** join/#flow3 beberlei (~twitter@koln-4d0b5ba5.pool.mediaWays.net) |
18:44.55 | *** join/#flow3 nightzpy (~nightzpy@190.199.37.169) |
19:01.32 | *** join/#flow3 mgoldbeck (~Adium@dslb-088-065-039-136.pools.arcor-ip.net) |
19:03.48 | *** part/#flow3 mgoldbeck (~Adium@dslb-088-065-039-136.pools.arcor-ip.net) |
19:31.18 | *** join/#flow3 foertel (~foertel@p5490DCAA.dip.t-dialin.net) |
19:51.35 | jwa | hmm apparently it depends on the font you use wether PhpStorm displays it all messy or not :( |
20:29.32 | *** join/#flow3 Allisone (~Allisone@e178003241.adsl.alicedsl.de) |
20:29.50 | Allisone | hi all |
20:31.03 | Allisone | someone alive ? I would have 2 questions |
20:32.02 | jwa | just ask :) |
20:32.13 | Allisone | I don't understand how you connect a "person" with an account |
20:32.48 | jwa | a person is a party, as you can see by looking at the default implementation from the party framework |
20:32.49 | Allisone | I've read the security section today and tried to understand how that works, but I guess it was to much to understand reading just one time |
20:33.56 | Allisone | wanted to understand cause it's used in the blog example, can't play around with it though, because on authentication I always get an error, but I guess the git TYPO3.Blog just don't work with FLOW3 1.0.0 |
20:34.11 | Allisone | I know that person is a party |
20:34.46 | Allisone | I'll try to phrase a concrete question |
20:34.46 | jwa | it does, it has been updated recently |
20:34.53 | Allisone | really ? |
20:34.58 | Allisone | git pull says up to date |
20:35.07 | jwa | yes, but you're not the only one not getting it to work unfortunately |
20:35.28 | jwa | are you on git master for FLOW3 as well? |
20:36.00 | Allisone | can you tell me then how to install the Blog ? maybe I did sth. wrong ? (I had to add @packe TYPO3.Blog to each rule in the routes.yaml of the Blog module f.e ) |
20:36.10 | Allisone | no |
20:36.40 | Allisone | there was the git helper once, which I always used to get the master of FLOW3 but now I can't find the git helper anymore |
20:37.17 | Allisone | meant @package by the way |
20:40.22 | jwa | ok 1) you can add the @package to the main Routes.yaml as well, so you don't have to write it over and over again |
20:40.40 | jwa | 2) git helper is here: http://wwwision.de/githelper/#FLOW3/Distributions/Base.git |
20:41.02 | jwa | 3) you can also just clone in anonymously from git://git.typo3.org/FLOW3/Distributions/Base.git |
20:42.32 | jwa | and I think if you have the git master freshly cloned you can import the blog package via package:import, rest should be clear |
20:42.50 | jwa | to test it I just used the setup:profilingdata command that generated some posts and comments |
20:43.05 | Allisone | super cool |
20:43.07 | Allisone | nice |
20:43.30 | Allisone | ok, I'll make a fresh clone soon |
20:43.57 | Allisone | I'll try to phrase the account<->person question first though |
20:45.12 | jwa | a party/person can have multiple accounts, that's the useful thing about it |
20:45.29 | jwa | think normal password + ldap + facebook login + twitter login + ... |
20:47.31 | Allisone | In the app that I plan, I'll have users, they can log in, they can create content (vocabularies) and they should be allowed to share it with others, later maybe even create some kind of groups, maybe sth. like group "class 8a" and share it exactly with class 8a members, but for now I think I would first try to realize the option to share your vocabularies, or not |
20:50.34 | Allisone | you have raised a question I already got reading the security guide… |
20:50.34 | Allisone | think normal password + ldap + facebook login + twitter login + ... |
20:50.34 | Allisone | what's not clear (I'm all new to this), do I save credentials to then be able to log in to Facebook, and other credentials to log in to Twitter, or vice versa, use Twitter credentials to log in via the twitter-account to be recognized as user xyz on my flow3-page ? |
20:51.19 | jwa | well sort of |
20:51.44 | jwa | I tried to create an oauth authentication provider but it turned out to be quite more than just that |
20:52.26 | jwa | in that case I'd save the oauth_token as credentialssource in the db |
20:53.14 | jwa | however, oauth needs multiple steps that need an extra controller, so it was a bit difficult to just create a package one could readily use for that |
20:53.39 | Allisone | to my original question ( vocabularies, user, share) what to use in terms of FLOW3 and what connects to what… that's what I find hard to figure out right now, so I'm trying to understand the whole security thing |
20:55.27 | jwa | er, that just sounds like a model relation question, nothing directly related to security |
20:56.04 | jwa | e.g. have a ManyToMany relation from vocabularies <-> shared groups |
20:57.11 | Allisone | a vocabulary has a created, back in the old days I would say a created ID, revering to some user ID |
20:57.14 | Allisone | now it's what |
20:57.23 | Allisone | an account ? |
20:57.27 | Allisone | or a person |
20:57.33 | Allisone | does a person own the account |
20:57.37 | Allisone | or the account the person |
20:57.40 | Allisone | that confuses me |
20:58.09 | Allisone | a vocabulary has a creater |
20:58.14 | jwa | no no no |
20:58.23 | jwa | a vocabulary is just an entity |
20:58.32 | Allisone | sure, that's clear |
20:58.37 | jwa | of course it has an owner, which is a party in your case |
20:58.46 | Allisone | ok |
20:58.57 | jwa | nothing to do with security/account |
21:02.05 | Allisone | and if I would build groups into the app as well, the vocabulary would have f.e. a manyToMany relationship with SharedGroup |
21:03.45 | jwa | exactly |
21:04.31 | Allisone | and should a "class 8a" be realized as a role (ACLs) or some own construct ? |
21:06.15 | k-fish | a class would be a party as well, i.e. extend AbstractParty. a role itself doesn't "own" things |
21:06.17 | Allisone | never used ACLs, oauth, and stuff like that in that manner (either just used a framework having some mechanisms built in, ready to click and use, or building sth. without any login/auth mechanisms at all) |
21:07.33 | Allisone | hmm, but how to associate a people with a "class" |
21:07.39 | *** join/#flow3 chrisDD (~chrisDD@drsd-4db3edc1.pool.mediaWays.net) |
21:10.05 | jwa | heh, I think you misunderstood something there :) |
21:13.00 | Allisone | yeah, wouldn't be the first time |
21:15.11 | jwa | class 8a would just be an instance of your class or group model |
21:15.49 | Allisone | for this whole thing to work I need: simple users, they can create cards, thus being owners of some cards. Also users can be in groups (like "class 8a", or "japanese group FU-Berlin", etc.), users creating cards should then be able to share there cards with groups |
21:16.22 | Allisone | cards being vocabularies |
21:16.53 | Allisone | so cards have an owner and a shareGroup |
21:18.53 | Allisone | you said a class would be a party as well, so I ask myself now how to "add a user to a class" how to make the association, resulting in the question how to link a party "user" to a party "class", doesn't it ? |
21:19.09 | jwa | oh and btw: http://stuff.julianwachholz.ch/logs/flow3.html <- afoeder k-fish ChristianM :P |
21:19.15 | *** join/#flow3 bracketto (~bracketto@ip-88-153-54-122.unitymediagroup.de) |
21:19.24 | jwa | Allisone: No, a class is not a party |
21:19.44 | jwa | I thought there you were refering to a PHP 'class' |
21:20.43 | Allisone | nonono, I meant class like a schulklasse, or a group in the university |
21:20.51 | Allisone | schoolclass |
21:21.13 | Allisone | damn, have problems concentrating |
21:21.14 | jwa | yes, they aren't parties |
21:21.34 | jwa | more like an entity containing lots of parties (=students/users) |
21:21.44 | Allisone | ok cause k-fish said (thought you first) : a class would be a party as well, i.e. extend AbstractParty. a role itself doesn't "own" things |
21:22.37 | Allisone | ok |
21:23.29 | jwa | imo that doesn't make much sense in your case |
21:23.54 | Allisone | what are you referring to ? |
21:24.45 | jwa | a group (let's call it group rather than class, less confusing) shouldn't be party because there are no accounts that one can log into associated with one |
21:24.56 | jwa | but maybe there's more behind the Parties than just accounts |
21:25.18 | Allisone | ok I understand |
21:26.10 | jwa | oh and, rather than discussing so much about it why not just try it out and see how it works? ;) |
21:26.50 | Allisone | I'd love to ask you more and to get this all 100 % clear, but my head is just so gone already, I hope I'll see you again next time |
21:27.25 | jwa | I'm one of the very few guys that's in here during the whole week :P |
21:27.30 | Allisone | yes yes, wanted to try with the blog, but exactly the login stuff didn't work… but it should be working now (as you said) |
21:27.38 | Allisone | ok great |
21:27.49 | Allisone | also my pregnant wife will be happy if I join her in bed |
21:27.55 | jwa | :) |
21:27.59 | Allisone | ETA 9 days |
21:29.05 | Allisone | so jwa, thank you very much |
21:29.51 | jwa | have a nice evening and good luck with your spawn :) |
21:30.06 | Allisone | thx |
23:09.21 | *** join/#flow3 beberlei (~benny@koln-4d0b5ba5.pool.mediaWays.net) |