Miranda IM

Page 1 of 76 1231151 ... LastLast
Results 1 to 10 of 1746

Thread: Updater plugin discussion thread

Hybrid View

  1. #1
    Join Date
    March 2005
    Location
    Melbourne, Australia
    Posts
    1,901

    Updater plugin discussion thread

    Automatic updates for miranda plugins and language packs.

    This plugin will detect, download, and install updates for plugins and language packs on the Miranda File Listing that follow the rules which follow.

    For plugins:
    - plugin name in options->plugins must match the name on the file listing (i.e. PLUGININFO shortName field - comparison is NOT case sensitive since 0.1.5.0)
    - plugin version on the file listing must match the x.x.x.x format, where the x's are numbers between 0 and 255 inclusive (i.e. PLUGININFO version field)

    For language packs:
    - file name must be 'langpack_<whatever>.txt'
    - the file must contain a line of the following format (no unicode or other special chars):

    ; FLID: <file listing name - case sensitive> <version>

    The spaces are required, and no space on the end of the line.
    - the version must be of the form x.x.x.x (all four numbers) and each x must be a value from 0 to 255
    - the file must be packaged in the root of the zip archive

    This plugin also provides an automatic update API for plugin developers, so that you can register release and beta update urls for plugins on or off the file listing. See the m_updater.h in the source for for details and example code.

    Quick FAQ:

    Why isn't plugin or language pack <x> listed? See the 'rules' above.

    Why does plugin or language pack <x> always think it needs to be updated? This occurs when the version on the file listing doesn't match the version in that plugin dll or language pack file (for plugins, compare the version in the list in options->plugins with the version on the FL...for language packs, see the line in the file beginning with '; FLID:')

    beta source available via svn from https://server.scottellis.com.au/svn/mim_plugs/updater
    Last edited by Sami; 20 Feb 2011 at 2:19 PM. Reason: Removed/fixed outdated links

  2. #2
    Join Date
    March 2005
    Posts
    9,538
    One thing that could be added is "Scan downloaded plugins for viruses before installing", that would automatically launch the default (or favorite) anti-virus application and scan the folder where the files have been downloaded.

    That's for the talk at the old thread, about security issues...

    Question: how is the unzipping being done, for the 9x systems? Does Miranda or this plugin have an internal unzipper?

  3. #3
    Join Date
    March 2005
    Location
    /home/sergio
    Posts
    976
    I think Drugwash idea is something really needed. But I would ask you to implement it in some other way: to add a text box where the user can type a command to be executed just after download is completed. It can be used for:
    a) Scanning with an antivirus
    b) Run a backup command (I usually backup my miranda folder before updating plugins).
    Both things would be perfect (can be solved with a .bat).

    Or thinking it better, the AV scanning command string could be taken directly from Options->Events->File Transfers. But I would still ask for the possiblility of running a command before updating (for making backups).

    Anyway, it is a good idea and I will add the services in my plugins (BTW, is the API finished or do you plab to add more things?: I want to modifiy them only once ;-p => I am lazy too).

  4. #4
    Join Date
    March 2005
    Location
    [CZ] Beroun
    Posts
    187
    Not bad idea with antivirus but let's do some tiny poll:
    * How many times have you downloaded plugin from MiM site? (me = milion times)
    * How many times have you encountered a virus? (me = zero times)

    Yes, implement it, but I think that everyone in these days has AV installed and running resident, so every suspicious action would be caught even without calling AV from Updater.

  5. #5
    Join Date
    March 2005
    Location
    /home/sergio
    Posts
    976
    Yes, you are right. Same here. And I am sure that in MIM's FL there will be no problems, but consider what may happen when downloading alphas. For me it is as important as the possibility of running backups.

    Offtopic: how are you? It's been a long time since you don't "appear".

  6. #6
    Join Date
    March 2005
    Location
    [CZ] Beroun
    Posts
    187
    Doing a backup of working configuration might be useful. Subjectively: I've never suffered from updating, someone has.

    I will try to post more to be Miranda Wizard as well :)

  7. #7
    Join Date
    March 2005
    Location
    Canada
    Posts
    2,489
    Odd, neithor wazzup or updater noticed that it has been updated.

    Wow, new version is going to start checking for many more plugins! Before it would only check 3. Had no idea how to add others :P.
    Last edited by andrewabc; 9 Aug 2005 at 12:42 PM.

  8. #8
    Join Date
    March 2005
    Location
    Melbourne, Australia
    Posts
    1,901
    no they won't in general notice updates very quickly - the xml data is generated at most once every 24 hours, afaik...which considering the way i update - in binges :) - is probably quite a good thing

  9. #9
    Join Date
    March 2005
    Location
    /home/sergio
    Posts
    976
    sje: I have seen your post about plugininfo not matching FL's description in some plugins. Why don't make a list and post it? I have several that don't get recognised by Updater because of that. I can send you my list when I get home today. Thanks.

  10. #10
    Join Date
    June 2005
    Posts
    11,839
    sje,

    Could you please add support for updates to go not only into plugins directory but into Miranda root directory too. This could be triggered by existence of plugins folder in zip or some special file.

Similar Threads

  1. Metacontacts plugin discussion thread
    By cortex in forum Plugins
    Replies: 1013
    Last Post: 22 Jul 2012, 10:30 AM
  2. Spearhead plugin discussion thread
    By Virtuoso in forum Plugins
    Replies: 38
    Last Post: 26 Mar 2009, 8:07 AM
  3. [resolved] Scriver plugin discussion thread
    By ewerybody in forum Website
    Replies: 5
    Last Post: 13 Mar 2009, 2:57 PM
  4. NoHistory plugin discussion thread
    By sje in forum Plugins
    Replies: 54
    Last Post: 23 Feb 2009, 8:25 PM
  5. Docking plugin discussion thread
    By Fozi in forum Plugins
    Replies: 29
    Last Post: 6 Jun 2007, 6:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •