Feature #137

Design and deploy a method to allow the Module update itself online

Added by tshif over 2 years ago. Updated over 2 years ago.

Status:Closed Start:05/30/2009
Priority:Normal Due date:
Assigned to:- % Done:

100%

Category:-
Target version:Caller ID Superfecta v 2.2.0

Description

Due to limitations in FreePBX which cannot be easily overcome, modules not hosted in their svn can not ever be allowed to download and upgrade themselves through the same mechanism as standard FreePBX modules.

To overcome this, we can design and implement a simple method to check the most current release of the module online, and allow the user to download and install it right then and there from within the module.

This procedure should be generic enough to be easily adapted to any and all modules hosted here.


Related issues

related to Hotel Style Wakeup Calls - Feature #136: Design and execute an ability for the module to update itself online Reviewed 05/29/2009

History

Updated by jacobsj over 2 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 50

I've implemented a first attempt at this, and committed the files. Take a look and let me know what you think.

This system is relying on the last change date of the files to determine if there is a newer version, rather than actual version numbers...so that is a potential downside, but it was much easier to implement using the dates. It is also easier to maintain going forward because we don't have to be as meticulous about properly naming each source file with the proper version number.

Perhaps we need to implement some sort of version checking in each source file to indicate if the source file itself can be used only after a specific version of the Superfecta base module.

Updated by jacobsj over 2 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 50 to 100

Updated by jacobsj over 2 years ago

  • Target version changed from Caller ID Superfecta - Future Versions to Caller ID Superfecta v 2.2.0

Also available in: Atom PDF