Jump to content
Ketarin forum
  • Announcements

    • floele

      Ketarin 1.8.9   01/27/2018



  • Content count

  • Joined

  • Last visited

Everything posted by shawn

  1. Acrobat Reader DC Update

    fantastic, @floele! thank you!
  2. New column in interface

    that's a great idea, @floele. I think the "!" identifier would be a great inclusion. tying it to pre-check would probably also work, but would be messier.
  3. Acrobat Reader DC Update

    This is not the first time and won't be the last time. Because of that, this is actually one of those that I dig thru the FTP server to find direct links to. Adobe does a horrible job of making this easy. Step one is to parse this page for the espoused version of the current release notes (parse for DC/continuous[^()]+?\(([\d\.]+x?)\) ): https://helpx.adobe.com/acrobat/release-note/release-notes-acrobat-reader.html Step two is to use that to pull the folder from here, replacing all the periods with nothing and the the x with \d to perform a regex match as "versionshort": ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/ Step three is to parse for either the msp (update file) or the exe (installer) from here, where the language is one of de_DE, en_US, es_ES, fr_FR or ja_JP, and the msp you want is the one without an underscore ("Acr[^\_\s\r\n\t]+msp") unless you're using a non-standard language, then you need both msp's: ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/{versionshort}/ Download them using this URL pattern: https://download.adobe.com/pub/adobe/reader/mac/AcrobatDC/{versionshort}/{filename} Here's the rub. The worst part in this entire process is that FTP servers can't be handled directly within Ketarin parsing routines, so I had to setup an HTTP to FTP gateway on one of my servers to return the results as text so this information can be parsed -- and that's why I'm not just sharing an app xml with everyone. The FTP gateway is just a PHP file that converts various input parameters to an FTP request using standard PHP functions. If I were to share this then my server would quickly be abused as an FTP gateway for all sorts of evil, and that's just not going to happen. Here's the PHP file I'm using for this: <?php header("Content-Type: text/plain"); $server = $_GET["s"]; if($server==""){die();} $port = $_GET["p"]; if($port==""){$port = 21;} //$port = intval($port); $dir = $_GET["d"]; if($dir==""){$dir = "/";} // connect $ftp = ftp_connect( $server, $port ); if (!$ftp) die('could not connect.'); //echo("cnx ok\n"); // login $res = ftp_login( $ftp, "anonymous", "" ); if (!$res) die('could not login.'); //echo("login ok\n"); // enter passive mode $res = ftp_pasv( $ftp, true ); if (!$res) die('could not enable passive mode.'); //echo("pasv ok\n"); // get listing $res = ftp_chdir( $ftp, $dir ); // change directory //$res = ftp_nlist($ftp, '-a'); // simple file listing $res = ftp_rawlist( $ftp, '-a'); if(is_null($res)){ $res = ftp_rawlist( $ftp, "." ); } //echo($res); echo(implode("\r\n", $res)); //print_r($res); //var_dump($res); A gated request to the first file would look like this: https://example.com/myftpgateway.php?s=ftp.adobe.com&d=/pub/adobe/reader/win/AcrobatDC/&p=21 And the versioned request would look like this: https://example.com/myftpgateway.php?s=ftp.adobe.com&d=/pub/adobe/reader/win/AcrobatDC/{versionshort}/&p=21 The output is simple text (which may look funky in a browser but will parse fine by Ketarin). It would look something like this: drwxrwxr-x 29 ftp ftp 750 Feb 12 11:49 . drwxrwxr-x 16 ftp ftp 332 Feb 07 07:05 .. drwxrwxr-x 2 ftp ftp 2583 Apr 06 2015 1500720033 drwxrwxr-x 2 ftp ftp 327 Jul 14 2015 1500820082 drwxrwxr-x 2 ftp ftp 429 Oct 13 2015 1500920069 drwxrwxr-x 2 ftp ftp 194 Oct 29 2015 1500920077 drwxrwxr-x 2 ftp ftp 194 Nov 25 2015 1500920079 drwxrwxr-x 2 ftp ftp 429 Jan 12 2016 1501020056 drwxrwxr-x 2 ftp ftp 194 Feb 16 2016 1501020059 drwxrwxr-x 2 ftp ftp 429 Mar 08 2016 1501020060 drwxrwxr-x 2 ftp ftp 429 May 10 2016 1501620039 drwxrwxr-x 2 ftp ftp 194 May 19 2016 1501620041 drwxrwxr-x 2 ftp ftp 194 Jun 02 2016 1501620045 drwxrwxr-x 2 ftp ftp 327 Jul 12 2016 1501720050 drwxrwxr-x 2 ftp ftp 92 Aug 02 2016 1501720053 drwxrwxr-x 2 ftp ftp 327 Oct 11 2016 1502020039 drwxrwxr-x 2 ftp ftp 92 Nov 03 2016 1502020042 drwxrwxr-x 2 ftp ftp 327 Jan 10 2017 1502320053 drwxrwxr-x 2 ftp ftp 92 Jan 19 2017 1502320056 drwxrwxr-x 2 ftp ftp 327 Feb 21 2017 1502320070 drwxrwxr-x 2 ftp ftp 327 Apr 11 2017 1700920044 drwxrwxr-x 2 ftp ftp 92 Jul 11 2017 1700920058 drwxrwxr-x 2 ftp ftp 327 Aug 08 2017 1701220093 drwxrwxr-x 2 ftp ftp 92 Aug 11 2017 1701220095 drwxrwxr-x 2 ftp ftp 92 Aug 29 04:58 1701220098 drwxrwxr-x 2 ftp ftp 327 Nov 14 05:53 1800920044 drwxrwxr-x 2 ftp ftp 92 Nov 29 11:23 1800920050 drwxrwxr-x 2 ftp ftp 327 Feb 12 11:34 1801120036 drwxrwxr-x 2 ftp ftp 183 Jul 14 2015 misc That's why you're parsing for "18.011.2003x" and changing it to a regex for "180112003\d". Good luck!
  4. Updating and delting apps

    for your specific example, you would be better off ignoring the "delete previous file" setting and using a generic download name instead. On the Application tab, in the Download Location field, make sure the option is set to "Save to File" (not "Save in Folder") and use this value: {root}GEGeek_Toolkit\ProgramFiles\{category}\7z x64\7z_x64.exe This skips the actual issue with your profile, which is that you're changing the filename after the download to a generic installation package name. Sure, it's being done as part of the post-commands, but it still changes the file name from what was downloaded.
  5. Updating and delting apps

    It only deletes the previous file if it was created/downloaded with Ketarin. If you've renamed the file then it won't delete the previous file. It only deleted the previous file if the path is EXACTLY the same as it was when it was downloaded (for example, the drive name can't change). If you've changed/replaced the app profile (in other words, it's not the same as the one that actually downloaded the file) then it won't delete the previous file, because the reference to the previous file doesn't exist. To find out for sure whether a file will be deleted select the app profile in the main Ketarin window, CTRL+C, then paste it into notepad. Look for the "PreviousLocation" value. If this value is populated, then that is the file that will be deleted. If it's NOT populated, then it won't delete anything.
  6. TLS bug follow up

    did you try the registry changes that have been suggested to you twice now?
  7. Cant' submit app to online database

    glad to hear you got it sorted
  8. TLS bug follow up

    the problem appears to be that the initial TLS/SSL handshake is not negotiating for TLS 1.2, which is (was?) the default behavior in most Microsoft apps. It looks like this explains the problem well and how to work around it.
  9. TLS bug follow up

    Did you try the registry hack from here, yet?
  10. Hi, Flo! Can you please add some form of elementary if/then logic for variable assignments? Here's the situation. The microsoft site is making big changes and breaking all the existing URLs. Now there are two different patterns for getting the correct download page and link, and ONLY ONE will work. I need to be able to have one template that takes a single search string and returns the correct result which can be either of two patterns. I'm looking into using a long & ugly pattern that'll actually match both, but maintenance will be a nightmare. Using a switch of sorts would be easier. I'd like to be able to have two variables that each perform a different test for different URL patterns and then be able to use something like "{var1:ifempty:var2}". This would result in testing the value of {var1} and if it's empty (the default value if no match since ~1.5 or so, thanks!), it assigns the value of {var2} to {var1}. Thanks for your consideration, Flo!
  11. Cant' submit app to online database

    @Rainie please go to https://ketarin.org/forum/settings/ and enter the GUID from the "Author" field in the image above. This is a required step in uploading to the online database. You should also check the online database to ensure that none of the existing Applications use the exact same name as your app, and that you actually created the app profile locally and did not modify an existing one. If you did not create it then the 'Guid' field (if you copy it) will not be unique to your app profile either, and will need to be modified/recreated so yours will sync.
  12. Ketarin 1.8.9

    thanks, Floele!
  13. and yes, that's what's going on, they're blocking all secure connections other than TLS 1.2
  14. My guess is that they're blocking anything other than TLS 1.2, which seems to be a growing problem. You can try the registry hack from here, but be aware that it can affect other .NET apps on your computer as well.
  15. Could not create SSL/TLS

    thank you for sharing, @herbert2 ! be aware that this change affects every .net application on your system, including Office 365, some application updaters and more. while it's a good security fix to employ in a general sense, some third-party stuff doesn't behave with strong security, so this change can break certain apps that communicate with sites that don't support TLS 1.2
  16. unexpected error occurred on a send

    i'm afraid this is a known issue, too. re-checking will often allow it to download.
  17. From Adobe: This means you'll need to use the Ketarin POST methods to authenticate your Adobe ID starting next year in order to access versioned Flash distribution files. When the time comes, I'll post a modified Flash app profile demonstrating how to access thru the new authentication layer.
  18. unexpected error occurred on a send

    This is a known issue and was at least partly resolved in 1.8.8 beta 4. Please try the beta and let us know if you continue to experience problems.
  19. Ketarin 1.8.9

    @jokerfool - drag & drop the column header in the main display.
  20. Ketarin 1.8.9

    You can use "{property:FileHippoId}" - though if it's populated and you've since switched to a standard download, it will still present as a FileHippo download.
  21. Update doesn't fail gracefully

    would you rather it fail, or download as a single segment and report that it could not be segmented in the log?
  22. Update doesn't fail gracefully

    understood. i think the correct logic fix is to treat invalid segment length and starting byte values as errors and download as a single segment under those conditions, writing an error to the log, but not displaying anything to the user directly. what are your thoughts @Narnia524? @floele - bug report
  23. Update doesn't fail gracefully

    Also, what is the value you have in "settings", "connection", "number of segments per download"? If it's other than 1, please try one and see if you continue to experience the problem.
  24. Update doesn't fail gracefully

    can you please post your existing app xml (select the one with issues and press CTRL+C) so we can duplicate?
  25. Could not submit to the online database

    Only authors can update their submitted applications. If you want to fix one: copy it out, edit out the Guid of the specific ApplicationJob, change the name, then paste it back in, you can modify it and submit it as a new entry. It doesn't look like there have been any updates to the online applications listing in the last 7 months. I believe they're moderated, though I don't have access myself. There have been database issues in the past that caused problems with submission and management of the apps, often as a result of server changes. Hey, @floele and @crrodriguez we might have an application database issue again. I know there was mention that an update to the forum software might cause problems and require a rewrite of the applications extension. Unfortunately, any added features, such as scoring or moderation, require labor to make it happen, and that's the most difficult part for open source projects like Ketarin.