Page 26 of 134, showing 100 records out of 13,394 total, starting on record 2,501, ending on 2,600
# | Username | Text | |
---|---|---|---|
# | Sep 23rd 2009, 08:15 | Phally | let me see how i made it again, since it was like two months ago |
# | Sep 23rd 2009, 08:15 | Phally | ah well it is not a forum, a conversation is just a wrapper for the messages, say you have a behavior and someone pms you about it, but you buddy ronny has to fix it, you could eventually build in that you want to add him to that conversation, so he can read/reply on it etc |
# | Sep 23rd 2009, 08:12 | Phally | hold on, let me read :p |
# | Sep 23rd 2009, 08:12 | alkemann | i guess what im asking is what your thinking, cause im not getting it |
# | Sep 23rd 2009, 08:11 | alkemann | like most forum scripts / apps have a message system as well, building the forum out from the message system just seems odd to me |
# | Sep 23rd 2009, 08:11 | alkemann | Phally: it's not about meeting bakery needs only.. and im more wondering about bloating a feature to be extensible in a direction it shouldnt need to go |
# | Sep 23rd 2009, 08:09 | alkemann | one table of messages with sender_id and receiver_id seems enough for me |
# | Sep 23rd 2009, 08:09 | Phally | i'll delete it and make it meet bakery needs only if you like |
# | Sep 23rd 2009, 08:08 | alkemann | wouldnt one of the apps using the plugin be a forum, if such were required |
# | Sep 23rd 2009, 08:08 | alkemann | building an interal user to user message system to be expendable to a full forum seems odd to me |
# | Sep 23rd 2009, 08:07 | Phally | eventually you could even invite people to read/reply to the conversation |
# | Sep 23rd 2009, 08:07 | alkemann | "defined as user to user messages." - i dont see why you have that extra layer |
# | Sep 23rd 2009, 08:06 | Phally | well it would be less static and more expandable |
# | Sep 23rd 2009, 08:06 | Phally | something like that yeah |
# | Sep 23rd 2009, 08:06 | alkemann | Phally: what in that spec calls for a habtm? |
# | Sep 23rd 2009, 08:05 | alkemann | with a habtm between messages and users, arent u creating a meta forum? |
# | Sep 23rd 2009, 08:05 | Phally | http://thechaw.com/bakery/wiki/spec/users/messaging |
# | Sep 23rd 2009, 08:04 | Phally | those are sort of topics, which hold messages |
# | Sep 23rd 2009, 08:03 | alkemann | we have a spec for that somewhere? |
# | Sep 23rd 2009, 08:03 | alkemann | Phally: what are conversations though? |
# | Sep 23rd 2009, 08:02 | Phally | yeah, that would be best, just keep the prefixed ones |
# | Sep 23rd 2009, 08:02 | alkemann | so drop the tables without prefix? |
# | Sep 23rd 2009, 08:02 | Phally | not really no |
# | Sep 23rd 2009, 08:01 | Phally | yeah, that is how it is now |
# | Sep 23rd 2009, 08:01 | alkemann | but we cant have both i guess? |
# | Sep 23rd 2009, 08:01 | alkemann | get ur messages no matter what app ur using |
# | Sep 23rd 2009, 08:01 | alkemann | if we are talking about the internal mail thing, i dont see a problem with that being part of the plugin and therefore shared between all |
# | Sep 23rd 2009, 08:00 | alkemann | also a 'conversations' and 'users_plugin_conversations' |
# | Sep 23rd 2009, 08:00 | Phally | alkemann: ah crap, haven't thought of that... messages are now for everything the same |
# | Sep 23rd 2009, 07:58 | alkemann | Phally: should there be both a 'users_plugin_messages' and a bakery 'messages' table? |
# | Sep 23rd 2009, 07:36 | alkemann | having a little trouble starting on implementing the tests i have for the article and article pages model. need both user stuff and app flow design |
# | Sep 23rd 2009, 07:10 | Phally | hehe i doubt there is |
# | Sep 23rd 2009, 07:10 | Phally | you could do find('weird'); which does the extract in the model, but that will keep the extract |
# | Sep 23rd 2009, 07:10 | alkemann | right, and where is the api for saying you want model.n :) |
# | Sep 23rd 2009, 07:09 | Phally | find('all') will always give you n.model instead of hasmany model.n |
# | Sep 23rd 2009, 07:09 | alkemann | well i assume cake is constructing this result behind the scenes, seems dumb to convert one way and then back instead of just stating how u want it |
# | Sep 23rd 2009, 07:08 | Phally | yeah, don't think there is a way to flip the result that way without using extract or well, extract is the best option |
# | Sep 23rd 2009, 07:08 | alkemann | to get behaviour |
# | Sep 23rd 2009, 07:07 | alkemann | Phally: by manual i mean i ask for the associated model's datamyself instead of recursive or containable |
# | Sep 23rd 2009, 07:06 | alkemann | Phally: kinda annoying doing either an array merge or a Set::extract to create the cake expected results |
# | Sep 23rd 2009, 07:06 | alkemann | Phally: http://bin.cakephp.org/view/236643793 |
# | Sep 23rd 2009, 05:27 | alkemann | hmm, yes... child could be a tutorial of the code article maybe? |
# | Sep 23rd 2009, 05:27 | alkemann | if I create a translated article (or for some other reason make a child article) should I be allowed to put my article in a different category than the parent? |
# | Sep 22nd 2009, 13:34 | Phally | that's right |
# | Sep 22nd 2009, 13:32 | alkemann | yea well 1.3 isnt done yet, but we shouldnt build incompatabilities into it |
# | Sep 22nd 2009, 12:44 | Phally | alkemann: not yet, going to now, bakery branch 2.0, cake branch 1.3? |
# | Sep 22nd 2009, 12:43 | alkemann | Phally: u pull my stuff? it pass on urs? u find ur fails? |
# | Sep 22nd 2009, 08:09 | alkemann | ok. lets just let each article create it's own slug and leave this feature to the parent_id and lang fields |
# | Sep 22nd 2009, 08:08 | alkemann | an important part is perhaps not to waste time one something that will very rarely if at all happen |
# | Sep 22nd 2009, 08:08 | alkemann | well.. there are several aspects to it |
# | Sep 22nd 2009, 08:05 | ADmad|away | in that case i dont think you should "fix" the chars... you can have utf chars in url cant you ? |
# | Sep 22nd 2009, 08:04 | Phally | i think the slug should be translated with it, for SEO since the url then contain norwegian words then, you don't have to look out for duplicate content, since the language is in the url to, which makes the url different |
# | Sep 22nd 2009, 07:56 | alkemann | you craete article "How I met Santa", the slug becomes "How-I-met-Santa", then I write a translated article of this, ie a "child article" as per our current spec, I translate the title to "Hvordan jeg møtte nissen", should my new article create a new slug, ie "Hvordan-jeg-moette-nissen" (notice fixing special character), or perhaps would it be better to create a url like "/nob/How-met-Santa" ? and what about articles that is not a tra |
# | Sep 22nd 2009, 05:35 | alkemann | i thought calling create() would be good so as to not include model state from before in the test |
# | Sep 22nd 2009, 05:35 | alkemann | ah calling Model->create() befure and update Save() resets the non included fields |
# | Sep 22nd 2009, 05:33 | alkemann | yea something very weird going on. imma gonna try to debug around and see |
# | Sep 22nd 2009, 05:28 | Phally | thats weird, does it remove the record? because usually counts don't lie or maybe it is the counterscope that doesn't match the edited record |
# | Sep 22nd 2009, 05:25 | alkemann | ok. i edit a page and somehow it reduces the page count |
# | Sep 22nd 2009, 05:24 | Phally | alkemann: well not now, i'm at work, but i can tonight |
# | Sep 22nd 2009, 05:19 | alkemann | Phally: can u pull the 20 branch and tell me if you can see why the last test of the CounterCache test fails? |
# | Sep 22nd 2009, 05:10 | Phally | also i will see that the deprecation errors will be removed |
# | Sep 22nd 2009, 05:10 | alkemann | ok, thanks |
# | Sep 22nd 2009, 05:09 | Phally | i'll think about it, let me see if i can come up with something |
# | Sep 22nd 2009, 05:08 | alkemann | UserAppProfile , ie a model that is shared but reused differenlt by each app or a UserBakeryProfile and a UserBookProfile.. i dont know |
# | Sep 22nd 2009, 05:08 | alkemann | the best idea i know we have discussed so far is each app has a UserProfile and the group_id field is in that table |
# | Sep 22nd 2009, 05:07 | Phally | the login action is in the plugin too |
# | Sep 22nd 2009, 05:07 | Phally | yeah, but how do you get it in the session? |
# | Sep 22nd 2009, 05:07 | Phally | there wouldn't be anything to check against |
# | Sep 22nd 2009, 05:07 | alkemann | with a group_id, just not in a plugin table |
# | Sep 22nd 2009, 05:07 | Phally | without a group_id, how would you want to do the permissions and stuff? |
# | Sep 22nd 2009, 05:05 | Phally | it wasn failing last time i checked, perhaps some new changes were made in 1.3 |
# | Sep 22nd 2009, 05:05 | alkemann | yea i agree with the renaming |
# | Sep 22nd 2009, 05:05 | Phally | alkemann: oh yeah, i renamed the prefix to something more clear and nicer and more consistent |
# | Sep 22nd 2009, 05:05 | alkemann | i wonder if we can get one of them henchmen that gwoo recruited to convert our tests to controller / view code |
# | Sep 22nd 2009, 05:04 | Phally | alkemann: let me read |
# | Sep 22nd 2009, 05:04 | Phally | alkemann: i always lunch long :) |
# | Sep 22nd 2009, 05:04 | alkemann | phally-lunch: so Users_Controller test fails 3 of them, with 3 warnings of deprecations with 1.3 |
# | Sep 22nd 2009, 05:03 | alkemann | phally-lunch: thats a long lunch |
# | Sep 22nd 2009, 04:26 | alkemann | phally-lunch: also, why do you have group_id as part of the users table? we need to have it app specific |
# | Sep 22nd 2009, 04:26 | alkemann | but i guess if i need user, thats hpow it needs to be |
# | Sep 22nd 2009, 04:26 | alkemann | sucks that now i have to include all ur fixtures in my app tests |
# | Sep 22nd 2009, 04:25 | alkemann | phally-lunch: forgot that u put the users plugin schema in the plugin folder. and you renamed the table prefix? |
# | Sep 22nd 2009, 04:03 | Phally | alkemann: yo |
# | Sep 22nd 2009, 02:34 | alkemann | Phally: pling |
# | Sep 22nd 2009, 02:29 | alkemann | !logs |
# | Sep 20th 2009, 13:00 | Phally | d'oh, he left |
# | Sep 20th 2009, 13:00 | Phally | eh isn't there the schema file? |
# | Sep 20th 2009, 11:46 | alkemann | Phally: can i get sql for the current version of users plugin? |
# | Sep 19th 2009, 14:43 | ADmad | rofl |
# | Sep 19th 2009, 14:43 | Phally | http://irc.cakephp.org/logs/link/1029818#message1029828 |
# | Sep 19th 2009, 14:42 | Phally | wrong paste |
# | Sep 19th 2009, 14:42 | Phally | lol |
# | Sep 19th 2009, 14:42 | Phally | can someone please restore my admin privileges at the bakery? username: Frank (http://whatboyswant.com/newsitem/5017/1/Police_Called_For_Halo_Sniper_Rifle.html) |
# | Sep 15th 2009, 17:09 | ProLoser1 | herro |
# | Sep 13th 2009, 10:01 | sky_l3ppard | ah i got it, then the only thing is translation. but in some cases having the path and slug in one model is convenient |
# | Sep 13th 2009, 09:57 | AD7six | also means a user can override/choose a different behavior/write your own slug method |
# | Sep 13th 2009, 09:55 | AD7six | y dig? |
# | Sep 13th 2009, 09:55 | AD7six | calling $Model->slug($string) not $this->slug($Model, $string) in the code |
# | Sep 13th 2009, 09:54 | AD7six | ohic. imo the best way to do that is to a) make a dummy slug($string = '') method in yuor behavior, so that it works with no dependencies, and have actsAs = array('Slugged', 'YourBehavior'); as the recommended use |
# | Sep 13th 2009, 09:54 | sky_l3ppard | for example if to have urls instead of (example.com/pages/slug) to (example.com/pages/parent/child/current_slug) etc |