| /[drupal]/contributions/modules/media_mover/media_mover_api.module |
Parent Directory
|
Revision Log
|
Revision Graph
| Links to HEAD: | (view) (download) (as text) (annotate) |
| Sticky Tag: |
#633438 Adds rtrim to the directory paths in mm_dir, adds a new helper function to update form data with
fixes the delete of file caching
fixes paths to node opereations
Does some cleanup for coding style and some textual improvements
First harves tto store working, requires refactoring on the $file->steps
Working on getting step level locking functional
* Harvesting is now working somewhat * purging files from a configuration is working * still trying to work out data architecture for file data
need to work on action level locking
updates the db schema, configuration run now functions
More migration of functions, cleaning up menu items, starting to debug configuration run process
removing UI elements
* adds back a element validate data extraction function which makes it easy to validate your data * fixes up the S3 module's configuration form
* updates to the configurations code * catch for an issue with configurations when they don't have actions- should not ever happen, but hey, nothing to loose.
fixes bad argument structure
Working on fixes for S3
Configuration data model is now working correctly
* updates to the configuration add process so that adding actions and failiing to add an action works correctly. Removing an action needs to be worked on * added a new ui file to keep all the form elements in * added a theme file to keep any theming in * removed some field sets from configuration options in mm_node * added some css to let the add action buttons line up
#558056 : slight modifications, ported to mm 2.x Need to do testing
#558056 by little red wagon: adds the translation functionality to mm_node, adds entry in hook_nodeapi. Note this needs to be ported to mm 2.x
#583840 first attempt to deal with file uniqueness
#577650 Adds watchdog reporting to file deletion and does some cleanup of the configuration files page
#482746 by mfb: fixes the logic on cron runs which was preventing configurations from running
#482746 by mfb: fixes the logic on cron runs which was preventing configurations from running
#555878 rusirius: does some cruft cleanup and fixes some seriously bad logic
#577650: improves file deletion for nodes that have mm cck data attached
refactoring the configuration add form
Reorganizes some functions, building back the configuration run process, need to consider how to deal with the step model vs. the configuration run model
Major commit which refactors media_mover_api_nodeapi functions into mm_node, fixes some bugs, getting things rolling again
fixes an issue with media mover files not being keyed by cids
resloves some of the adding/saving of steps, but still needs work on the inital harvest add
starting the rebuild of the configuration system
Updates DB data model to use files as single entry Improves some the the file and configuraton class started sketching out the standard file object
#48688 : rebuilds the validation system to rely on drupal functions for parsing the forms. This should probably be ported to the D5 version as it really makes it easier to write validation functions
#478264 by mfb: fixes extra print statement, undefined variable
fixes for step data getting passed through correctly
* adding configurations is wroking * edit configuration is getting closer * configuration load is coming into shape
#370326 : fixes configuration imports; fixes url, fixes argument, fixes cache table, deletes cached configuration
removed deletion code
more fixes for the CCK issue
Fixes the node data recovery
Looks for node data in the correct spot
fixes the data model to not nest file data 2 levels deep
* adds some skeleton code for the views module * adds improvements for the ftp module
* started integrating the $step variable back into the contrib modules, replacing the old $configuration and $action variables * implemented the module call backs in the $configuration
* moved most of the file centric functions into the class file * moved most of the configuration centric files into the class file * starting to remove legacy functions
starting the refactor process on the run configuration process. Realizing that the harvest action still needs some kind of special lock treatment to prevent overlapping runs as we don't know how many files will come back
Fixes an issue with caching files that are incomplete which prevents other configurations from harvesting them
* added new compression options * more API cleanup
configuration data is now saving, configuration build is pulling all saved day out
* updated the db tables * configuration load now functional
* get actions function is refactored to be easier to pass arguments to
* updated a few aspects of the db schema * added some hook options
*** empty log message ***
Moves all the IO functions to the IO include, adds more doxygen support
adding better doxygen support
* configuration forms in better shape * file handling functions starting to come into new api
major changes to the add configuration form. AHAH will be done later, but the basics for the form are there now.
* redesigned the media mover hook * did much of the replacement of the $verb concept (still needs to be cleaned out) * started to remove some legacy functions * started building the new parsing functions that are necessary for the new media mover hook Next steps: build the multi-step form build process with AHAH to get the add config operation functional.
whitespace cleanup
backend for the node delete/reprocess form, requires permissions and testing
improves the theming of the files list on the node edit page, still requires the node submission handling
First commit on the 2x branch, lots of stuff is broken, just making a place holder
removes an extra array
removes an extra col
added a display of additional file data
adds the get configurations by module function
changes the configuration validation process to use a per module basis
fixes a logic error with locking
Fixes the the call when an array is not passed in
fixes the value walk
adds a function to extract form data
* adds a new function for getting configurations by modules
#375942: port of the D5 fix
#375942: fixes bad SQL generated by file status
fixes bad sql query
fixes a regression error on the configuration lock in D5, harmonizes between d5 and 6
fixes a regression error on the configuration lock in D5, harmonizes between d5 and 6
#355291 by arthurf: fixes a problem with file caching when nodes are accessed before a running configuration completes.
#355291 by arthurf: fixes a problem with file caching when nodes are accessed before a running configuration completes.
#365119 by little red wagon: Fixes the mail send function in D6 and updates the D5 functionality
#365119 by little red wagon: Fixes the mail send function in D6 and updates the D5 functionality
#372866 by xcusso@drupal.cat: fixes regression error on SQL (backport)
#372866 by xcusso@drupal.cat: fixes regression error on SQL
#369570 by cameronp: Updates the re process form to D6 compliant form variables
#370326 by arthurf: fixes issues that bendodd pointed out with importing failing. Export routine actually dumps the configuration object correctly now.
* ported a bunch of fixes for FTP from D5 * cleaned up some text to harmonize branches
* fixes for comma seperated files in mm_node * some alert text is cleaned up
Quick fixes to roll into this release
adds better handling of files related to a node based on status
fixes outbound urls to XSPF when file paths are relative
* D6: fixes the display of media mover files on the node edit page * D6: fixes the rss enclosure * D5: fixes the hierarchy delete * some code style cleanup
* D6: fixes the display of media mover files on the node edit page * D6: fixes the rss enclosure * D5: fixes the hierarchy delete * some code style cleanup
* fixes RSS per configuration
fixes the display of media mover files on the node edit page
* fixes the harvest from node again * fixes the save to node again * fixed the api file status
backported the node and user from file functions from D6
* new functions for node and user retrieval from the file array.
* renames mm_content to mm_cck * updates all functions in mm_content to mm_cck * added a install file which will update old mm_content db settings to mm_cck * small watchdog fixes to media_mover_api * removed old S3 driver package
Backported the api change for process/storage/submit, a few code style improvments
alters the hook for process, storage, complete slightly so that modules only need to pass back true if they are not changing file paths. Makes the api slightly cleaner for developers
* fixes configuration deletion * improves compatibility with D5
Fixes the configuration delete issue
* Backported a number of fixes from the D6 branch, some code style improvements. * Need to consider the hierarchy functions still
* Backported a number of fixes from the D6 branch, some code style improvements. * Need to consider the hierarchy functions still
code formatting change
* removed legacy file handling function * improved static caching in a file function
* fixes a bug with file status * fixes the file listing page for an individual configuration
* Fixes a major bug where source files are deleted on configuration empty and delete * renames the file_delete function to file_delete_call b/c of a hook conflict. Bad namespacing!
Fixes a major bug where source files are deleted on configuration empty and delete
* fix for menu path changes * fixes status alert on configuration files page
hierarchy fixes for configurations that didn't get committed yesterday
#342704 little red wagon: Renames the file_delete() as per the name space issue identified with file_field
quick code style changes
#342229 ckng: fixes fatal error with file removal
#342229 ckng: fixes fatal error with file removal
#341907 aaron: fixes menu item highlighting, adds dummy test over view page
#341815 aaron anantagati: fixes missspellings
#341815 aaron anantagati: fixes missspellings
#341911 aaron: fixes link to db reports
updated all the menu paths to now use admin/build/media_mover, fixed sub paths so that they work better, added a tests menu item for modules that implement testing
ported some changes up from the d5 branch, specifically to support the run control module
backported some changes from the D6 branch- improves the files display and a few other details
Fixes an error when no configurations are created and the hierarchy functions try to run.
* fixes to CCK file field harvest * improved menu loading for configurations
Fixes for: * mm_dir paths (needs to be backported to 5) * mm_dir file functions to rely more on drupal * improved d6 menu layout * improved file listing * form errors from mm_node
major commit that allows for parent/child relationships between configurations. Supported in core api, implemented in the mm_node for harvest from a parent config.
added the configuration heierarchy table, heierarchy functions, and have started work on mm_asset to be able to run a parent configuration with all of its children.
Removed the old CPU fieldset
* fixes the hook call for the run_control * file size check is now working correctly
cleans up the settings form and allows modules to add elements to other modules fieldsets
Some form cleanup on the admin/media_mover/settings page, moving some form elements to the correct modules
* cleaned up some of the run_control stuff to make the implementation cleaner * added a configuration save function to be implemented later This update hasn't been tested yet and will probably break things, but it is a step forward in implementing the run_control stuff
adding in the run_control module that allows for stopping processes based on various conditions. This commit will probably break somethings until I get some of the details around cleaned up.
* Moved the menus to extrenal file to make syncing branches easier * some formating cleanup * harmonizing with some changes in the 5x branch (using media_mover_verbs() more and a few other items).
* Moved the menus to extrenal file to make syncing branches easier * backported several fixes to file deletion from the 6x branch * backported fixes to CPU monitoring * cleaned up some whitespace and other formating issues
Lots of fixes, see #324440, thanks to little red wagon for all the great bug reports * fixes issues with cron configuration overrides * fixes issues with cpu_check function * fixes issues with queryd being left on * fixes issues with node harvest not returnning an nid due to changes in the query structure * deletion process vastly improved * fixed local issue
media_mover_ftp * added ftp option to delete non-token files * renamed some variables to shrink the name space media_mover_api * removed some mistakes from the D6 merge * refactored a few functions
fix call to wrong function again
fix call to wrong function (that was missing)
Additional watchdog cleanup
* changed the change configuration status functions * relying on constants a bit more * more structure cleanup
* fixes to some of the form items * ffmpeg conversion now works start to finish * more workflow cleanup
Backported a bunch of the fixes that were made for the D6 upgrade
Backported a bunch of the fixes that were made for the D6 upgrade
#317833, islandpinnick: fixes wrongly named variable
addds suppor for the xspf filter option. Should help build MM playlists better
Slight text cleanup
Second revision of changes to the deletion structure. * deletes cache at end of reprocess so that nodes are displayed right * improves rerun process
Checking in some changes related to node updates. * improved display of media mover files on node/X/edit screen * improved some of the logic on the update process * some cleanup
Quick changes to the caching scheme and some style fixes
fixes the configuration deleting
Merges in the first major patch for D6 compatibility
Fixes to the file edit screen that correctly reflect the options that a user has
#311790 douggreen : fixes a name space issue with workflow_ng
fixes function name call, thanks to douggreen
fixes the warning notice on #305498 thanks to davidlerin
adding the cpu stuff to the repo
fixes an issue with the run config function not supporting the number of files specified in a configuration
#none by robeano: Fixes a missing function in the RSS function. Thanks
Removed some error reporting text
Adding some major updates for the asset integration for media mover to act as a formater for asset. Not complete yet, but the first major hurdle is done. Added some new functions to media_mover_api that help handle the file manipulation, also fixed some stuff that was going to be an issue in the long run
fixes an issue with file deletion (again)
fixes an issue with file deletion
Fixes the caching issue where the run configuration option never gets newer data. Some more file issue cleanup.
Updates the node rerun process significantly to better pass data and provide better information to the user Updated the directory check to be less likely to go into infinite loop. Cleaned up the file delete process significantly Improved the configuration loading process
fixes some issues with the RSS display
Addresses #300502 thanks to Robin van Emden for catching the issue
Fixes an issue where media mover files are not deleted when their parent files are deleted from nodes. Also improved some of the delete file functionality
removes some white space
fixes media mover to work with the latest xspf playlist module
fixes an issue with the configuration not being created on a config add form- this helps with the setting of the form ids, but makes the function work as expected.
Major fixes to the run config API. $file is being passed by reference (finlly) and modules are being invoked correctly
fixes the pager issue on the config page
improved validated hook, also cleaned up some other stuff that was a major oversight
fixes api hand back of bypass file option
removed the config array code, as per ticket #281349 , thanks to Cameron
Adding in support for simple test, and one very basic test
fix for #279566, thanks to brunodbo for issue
* adds a validation cycle * improves some function naming * improves the run config cycle * big push toward 0.5 release
added the status page
fixes a legacy funcion call fixes default form values on the config add page
This is a commit of #251787 with a few modifications to make the integration more extensible. Thanks to JacobSing for the patch and all of the work.
moved mm_s3 into contrib
Major change of function names, removal of some legacy functions, lots of refactoring.
improvements to the import / export functions so that a configuration now goes to the add screen when it's imported instead of being directly imported into the DB
* Major update to menu paths * moved many confirm functions into menu calls * updated all the paths around configurations so they are more central * improved configuration landing page
adds export and import functionality for media mover configurations
fix for #261278 addresses the link to the admin/settings/media_mover page
improves the display of media mover items on the node edit screen
this adds some multi server environment stuff
Drupal 6.2 compatibility.
improved some code formating
adds a delete option on the file edit, adds stats select, adds a status function
improves the email notifications so that they query right
Fixes the out bound job check email
improves the stuck job output
catching the last bits of files that need to get cleaned up on a delete_file run
Deleting functionality improvements for associated modules.
some more cleanup of the fetch call
lots of tweaks to the module_invoke stuff to try to fix variable issues with &$file
Pretty major update: 1) ffmpeg module now relies on ffmpeg_wrapper module for ffmpeg functions 2) cleanup of some form stuff inside ffmpeg 3) added caching to file loads inside media mover 4) cleaned up some of the "fetch" hook 5) made small headway on cleaning up the media mover name space
removed debugging code. oops!
Make sure data is unserialized before use in running a configuration.
Added admin interface for RSS support
adds views support for media mover
fixes some issues with file display first commit of re-process on individual nodes improves some of the API doc in the readme
implements the stuck job checking based on the faux threaded run
Properly gets and stores file['data'] in the database as serialized data
media_mover_api.module: More fully load stuff, remove old unused load function in favor of the _load() one. mm_node.module: Still puzzling over what "delete" means in the "attach" storage op....
media_mover_api.module: Fix reset bug, fix warnings. media_mover_api_admin.inc: Fix delete bug. media_mover_email.module: "->', remove help hook that doesn't do anything anymore (The same info is in the .info file) media_mover_email_helpers.inc: Watchdog fixups. media_mover_email_process.inc: Watchdog fixups. mm_content.info: Remove 6.x compatibility status, haven't even touched mm_content yet. mm_node.module: Fix attaching (file deleting properly is a wip at the moment), misc. changes.
Better title, fix warning.
fixes #218859 thanks to budda for pointing it out
Work on email / nodes.
Sync changes from local: media_mover_api.module: Remove hook_help (none of it was applicable anymore). Move status change into media_mover_api_admin.inc, add confirm form (it's a link that's not idempotent, so it must be behind a confirm form.) Allow calling media_mover_api_run_configuration with a cid OR a configuration object (REGRESSION) Comment out var_export in theme function (does more harm than good) Fix chmod (Note: I'm not the one who made this change, it probabaly needs further testing) media_mover_api_admin.inc: New status change confirm form. mm_ffmpeg.module: Change some "" to ''. Add note. mm_imagemagick.module: Fix double dots issue. mm_sox.module: Fix broken watchdog call.
add additional video size option field
removing errant print_r
fixed the config run on the storage action improved some file handling on S3
changed the value to a string
fixes an issue when there are no configurations are built
first round at a more multi-threaded approach re: ticket #191454
Improves the layout of the main admin screen, lumps children of parent proceses together
Fix errors on config deletion.
Fix a warning in media_mover_api. Make node file attaching work correctly, and add a couple of useful config options.
Fix some reference bugs. Add a simple imagemagick conversion module (WIP)
D6 style theming. Move more stuff to the .inc file. Fix a warning.
Knock out // @ TODO make this a fieldset on the overview page. Note to self: Backport this revision to DRUPAL-5 by hand.
Move some confirm forms to the .inc file. g/c _mm_get_configuration().
media_mover_api.js is gone, as the built in d6 ahah stuff works ok. Remove some commented out code. Rename the config add form as it's not just for adding anymore. Fix typo preventing theme_media_mover_api_files_node_edit from working.
Fix a typo that prevented theme_media_mover_api_files_node_edit from working.
module_invoke_all does its own caching. Disable changing verbs when editing an existing configuration. (Like the dedicated edit form did)
Remove unneeded global.
A very large amount of work in progress.
Clean up trailing whitespace.
reverted back to the d-5 style of urls
fixes stopping url issue
More cleanup.
Remove wrappers around drupal_get_form().
More work on the ahah stuff. I think I have a handle on setting up the config form finally... Committed with a bunch of stuff commented out, will clean that up in a sec.
More work. Testing to see how well AHAH works for the config form.
More work in progress.
#199489 by anantagati: Fix placeholder issue. (I had independently fixed the Drupal 6 version, forgot to backport.. Thanks!)
#199494, reported by anantagati: Fix warning (I fixed by ensuring that an array is always returned, even if it's empty..)
Remove duplicated form field noticed while porting. Flip descriptions around as well, it looks to me like they were on the wrong fields.
Convert to 6.x drupal_mail().
Couple of tweaks to make the "new config" thing work nicely.
In progress work. Pushing it up so I can get a fresh checkout from HEAD.
Sync HEAD with DRUPAL-5 branch in preparation for D6 branch.
added a few definitions, started implementing them