Closed (fixed)
Project:
Kaltura
Version:
6.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2011 at 15:19 UTC
Updated:
3 Jan 2014 at 02:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sea4 commented+1 I agree! this is very important question that should have been answer one way or the other by now. I have decide on a video solution, and i think this would be great if.. it supports D7.
Comment #2
Zohar.Babin commentedHi guys,
There are plans to support D7 of course.
There is no specific timeline yet though as we're still working on closing the current release and the next Kaltura version.
If you're interested and can help getting D7 version done, let us know - we'd appreciate any help, ideas, patches, etc.!
Comment #3
Zohar.Babin commentedSome update, along with plans for D7 - http://blog.kaltura.org/drupal-module-love
D7 highlights:
1. Drupal 7 compliancy (well duh! :).
2. Complete Drupal coding standards compliance. Detailed testing for:
-- a. Easier integration with other key modules. (Can you suggest the top 5 contrib modules to test with?)
-- b. Easier skinning & theming, and compatibility tests with a few popular themes. (Can you suggest top 5 themes to test with?)
3. Support for HTML5 Video playback (based on the Kaltura html5 video library).
4. Keeping the existing functionality of the Kaltura Module 6.x-2-dev.
5. Develop unit tests for new and existing functionality.
6. Better documentation: inline and guides.
7. Supporting fields and deprecating nodes.
Comment #4
lismail commentedHi,
Looks like major re-work, especially #2, #3 and #7. I will be happy to help on spare time, but my experience with the latest Kaltura release is minimal (still use old saas version). Let me know what I can help with.
Base on past experience with our site, I think we should consider to add two more points into above highlights. The first is actually part of #7, we have to place the media into separate field in each node, not just embedding into the existing body (description) field. Embedding to Drupal body ($node->body) as in 5.x or 6.x modules is horrible SEO practice, because search engine will record the embedded container code along with its flashvars as part of content's body. I think, we should leave the body to keep only media description text, while put the container code and flashvars separately. This way, 7.x module will be more flexible to be integrated with other contributed modules (i.e. Meta Tag and Feeds) and easier to be themed.
Second is, I think we should consider to implement new submission workflow, where user will have 'all-in-one page' submission form. My suggestion is to attach the KCW, KSE or KAE into Drupal node submission page (not floating or lightbox model), while leaving the rest of this page also available for other contributed modules fields (i.e. Taxonomy, Location and GMap modules) to be edited before he/she clicks submit button. For example, while waiting for their video to be uploaded completely by KCW, users can add more information like map, custom category or others in the Drupal submission form. Once the upload completed, they will have to click submit button to save all information. In 5.x or 6.x modules, the submission form will be automatically submitted once the user click 'finish' button on KCW. If the user want to add map or others, they have to click edit button, do the edit and click submit again.
Cheers,
Lucky Ismail
Comment #5
xurizaemonThanks guys. I'm shortly going to update CVS HEAD to bring in the updates from DRUPAL-6--2.
I'll then add this new branch to the Github repo so Yaniv can start sharing his work to date and we can get people testing these updates.
Comment #6
gambaweb commentedHi
I have some pre alpha code in github
https://github.com/yaniv-li/kaltura-7.x-3.0https://github.com/yaniv-li/drupal-kaltura
I'll move the code to drupal git once it up
it has a lot dsm's and other debug messages.
I just push to it at the end of the day
Comment #7
xurizaemonYaniv, as discussed a few weeks ago please post your work as either a patch to DRUPAL-7--2 or as a fork of the DRUPAL-7--2 version @
https://github.com/GiantRobot/drupal-kaltura
Having multiple separate repos on Github makes no sense and makes things harder for us both - please don't.
If you are working from current CVS or the existing Github repo then you'll more easily be able to track bug fixes like the commits I made yesterday.
We agreed on this when we discussed it in our call. What happened?
EDIT: apologies if the above is worded strongly - you're welcome to do what you want in a development repo, provided that you're tracking current CVS updates and posting your work back either as pull reqs via github or patches here. You'll save us both work if you make that workflow your default.
Comment #8
gambaweb commentedHi
the D7 is a big rewrite so there is no point tracking the CVS
I tried pushing the code to branch from your git hub repo but for some reason it didn't let me push
I can try again if it would make things easier to move git in drupal.org
Comment #9
xurizaemonYes, please do so. If that doesn't work, you can easily use the alternate approach I suggested on our call; clone the version from GiantRobot/drupal-kaltura to yaniv-li/drupal-kaltura, check out 7.x-2.x locally as 7.x-3.x, pull your commits from yaniv-li/kaltura-7.x-3.0, push back to GitHub and work from there.
If you can't do that, grab me and we can walk through it in #drupal-gitsupport.
The code in branch DRUPAL-7--2 will be the reference point your work on D7 is compared with (currently up to date with DRUPAL-6--2). Your changes will be reviewed against that which is why I advised you not to work from the generated tarballs (your patches will include changes which do not match the files in CVS or Git).
The fact that it's a "big rewrite" is a very good reason to use Git (or CVS) to track current updates in the module. Some of your changes will still be applicable to 6.x-2.x, and some of the bugfixes in 6.x-2.x will be applicable to 7.x-3.x. Source control helps use collaborate on that and will reduce duplication of effort.
Comment #10
xurizaemonUploading a patch showing Yaniv's work to date (generated by pulling Yaniv's DRUPAL-7--2 and diffing against current 7.x-2.x which is current 6.x-2.x). Posting for review only - this patch is not ready.
Comment #11
xurizaemonDo not need to reintroduce CVS keywords.
Lots of changes in kaltura.admin.inc which duplicate work in #1026426: Installation issues: FAPI rewrite of installer.
Use FAPI rather than $_REQUEST values. We'll try to get #1026426: Installation issues: FAPI rewrite of installer merged in which will resolve that.
#850378: Coding standards... (some newly introduced code in this patch does not follow coding standards; all new code should do so, even if the surrounding code is still a mess)
is db_insert() likely to raise an exception?
#352670: Function names must be prefixed by the module name, #850378: Coding standards...
theme_kaltura_contribution_wizard() needs update to D7 here so the hack of calling the func directly instead of via theme() can be reverted. Can see you're only partially through porting the theme layer to D7 so no crisis, just want to flag that the call here will need to be updated when done or we'll lose the ability for themes to override the rendering.
theme functions accept a single array(), as above this is D7 theme in progress.
Version is added by drupal.org release build scripts, and should not be included in the .info file. Refer #445294: Remove incorrect version data from info file and writing .info files.
space is not required (files[] not files []), and this is only necessary for files containing classes and interfaces. pretty sure the last three here don't (unless you've added some there)
we'll need to handle this column renaming for upgrades then?
Can you update that issue and discuss this approach please? That patch should be filed against #1022310: Duplicate entry 'xx' for key 1 query: INSERT INTO node_kaltura ( ... ), not this issue.
These changes look OK, but it's wierd that this isn't just a DELETE WHERE don't you think?
This is a separate issue, #887354: Don't require crossdomain.xml be installed in the Drupal site root, so please do as for #1022310 above.
#352670: Function names must be prefixed by the module name again
OK lots of stuff there and I only got down to kaltura_block_info() or so! Hope this is helpful for you.
NB: I've tried to avoid repeating comments here, so that you can get a feel for what needs sorting, rather than have me list each instance of $Id$ that's been re-introduced. Please review the changes in the light of the comments above and apply fixes globally as appropriate.
Comment #12
liorkesos commentedHi Chris,
My name is Lior and I'm working with Yaniv (gambaweb) on this.
Thanks for the excellent input. We'll be incorporating it shortly in to the D7 branch.
I'd love to meet up on irc/skype and see how we can commit yaniv's work to the new d7 branch in git.
Can't we initiate the code directly based on the d7 code rather then patching the branch? I'm not sure how the new git stuff and management works.
We're trying to get a beta of the core functionality up and running by DrupalCon so I want to address the deployment and distribution now and to have you brainstorm with us directly over the candidate code base.
Are you planning to attend drupalcon? We might conduct a code sprint on the module if you or other interesting parties are interested...
The cool D7 news from today was that I added a kaltura field to the comments (obsoleting teh need for kaltura_comments) and I added a video_bio instance of the kaltura fild to a user so the basic field is working pretty well!
Let's see how we can work together to bring this to a bigger set of testers and to brainstorm on the next challanges (views support, edge scenarios etc...)
Comment #13
xurizaemonGreat news about the field implementation - looking forward to having a play with 7.x myself now :)
The patch submission process gives us an opportunity to review the code before putting it into Git. I think that's an important step. Best practices say: post all code to an issue and have it marked RTBC (ideally by another maintainer) before committing, so that's my stance.
As long as 7.x shares code with 6.x, the regular issue / patch workflow means we can easier fix issues in both versions. Eg Yaniv can save reworking the installer by testing and improving existing work in #1026426: Installation issues: FAPI rewrite of installer (and other issues above where time in 7.x dev could be saved by tracking fixes in the 6.x branch rather than reimplementing them). Likewise, much of the improvements from 7.x will be applicable to the substantial number of 6.x sites around. So that's a win both ways.
So: we should generate the patches between branches (eg existing Git 7.x-2.x vs Yaniv's work), review here, and then apply when the patches pass review. At that point it's probably cleanest to apply as a single merge commit rather than as a set of separate commits.
Let's talk soon! Skype or IRC is good, I'll check into #kaltura later this arvo my time to see if you're in.
Comment #14
gambaweb commentedthanks for the comments
as for improving #1026426 the all registration process is going to change soon so it is kind of a temporary hack just for now
Comment #15
gambaweb commentedhere is the patch for my D7 port
Comment #16
xurizaemondo not reintroduce $Id$
as per previous review
as per previous review
why not just db_write_record()?
AFAIK unlikely to raise an exception, so not sure why it's wrapped in try{}
seems like this takes eight lines when one would do?
not sure why this is needed. if you are really seeing exceptions here, you want to know why - not just record it in watchdog.
not sure about these. they need to have more meaningful names i think. if they are really meant to be re-used then they prob don't belong in .admin.inc
as per previous review
as per previous review
as per previous review
as per previous review
as per previous review
this is a regression against #352670: Function names must be prefixed by the module name
#352670: Function names must be prefixed by the module name
I've reviewed about a third of the way through the patch, and the final comment here is from hook_theme(). There are plenty of things to fix here, and some of these changes reverse fixes made in other issues. I haven't flagged minor coding standards issues in this review.
I'm not going to mark this RTBC myself :) but I'm happy to get this initial work in as 7.x-2.x even though it has plenty of work to be done; that means we can get some 7.x-2.x-dev tarballs for people to test with. We can then break the various items out into separate issues against 7.x-2.x-dev and co-ordinate a release for 7.x-2.0 from there.
How does that sound?
Comment #17
liorkesos commentedHi Grobot,
After our session tonight in IRC we decided to commit and push to the drupal git repository to check the packaging and to use the drupalcon momentum to get more developers on board to test and to use it in their D7 sites and challanges.
We acknowledge this is currently alpha quality code yet we will use the next code sprints to get this to beta quality.
Great work guys!
Comment #18
xurizaemonYaniv, please can you commit the code marked RTBC above to Git so I can publish the 7.x-2.x-alpha1 release?
Workflow to do this - typing from memory here so please verify independently or compare to the instructions given yesterday morning in IRC.
1. Switch to local copy of git.drupal.org 7.x-2.x
2. Apply patch from issue:
curl http://drupal.org/files/issues/kaltura-1019652.patch | patch -p1(use --dry-run first to verify)3.
git add [files affected by patch]4.
git commit -m '[message as per http://drupal.org/node/1061754]'5.
git push origin 7.x-2.xPlease do not include any changes which have not been reviewed already.
Thanks!
Comment #19
Zohar.Babin commentedUpdate about the D7 alpha release - http://blog.kaltura.org/kaltura-drupal-7-module
Comment #20
Stryker777 commentedIs anyone still working on this? I have been working through the dev release currently posted and made a few changes, but where are we? I can help and would like to know where to start so I'm not duplicating someone else work.
Comment #21
klausiKaltura is available on D7 for a long time now.