ReleaseNotes14r2:SDK

From innovaphone wiki
Jump to navigation Jump to search
There are also other versions of this article available: ReleaseNotes13r1 | ReleaseNotes13r2 | ReleaseNotes13r3 | ReleaseNotes14r1 | ReleaseNotes14r2 (this version) | ReleaseNotes15r1

This is the SDK 14r2 Release Notes Document.

Service Releases are planned for the second monday each month.

Please see the disclaimer before using the information presented here!


SDK 14r2

14r2 Main improvements

14r2 Other improvements

170236 - App Platform DNS: implement support for explicit A, AAAA and SRV queries

IDns::Query for explicit DNS queries like A, AAAA, SRV, MX etc.

​IDnsQueryResult::Parse can be used to parse the binary answer.


167007 - Generate backtraces without GDB

GDB doesn't interprete coredumps correctly anymore an ARM 32bit.

​So signals like SIGSEGV are now intercepted and the App itself generates a backtrace with the lib backtrace.

171553 - IIoMux::PrintBacktrace

This function prints the current callstack to the standard log file.

165536 - innovaphone.lib1.js: loadObjectScripts now ensures script loading order

Scripts are now loaded in the order as handed in the array, one after the other and not in parallel as this caused dependency issues if script b finished loading before script a loaded and script b depends on a.

167451 - JS Runtime: Remove unneeded debug code

The log flags were always enabled: LOG_DATABASE, LOG_APP, LOG_APP_WEBSOCKET.

165832 - JS-SDK: Skip database tables with reserved name "config" in config.json

​If config.json specifies a database table "config" the table is now skipped and an error message is logged:

"config.json database: error in table=%s, name 'config' is reserved"

166299 - PostgreSQL: avoid crash on InsertSQL with a query which might not return an ID

Instead return 0 in DatabaseInsertSQLResult

170276 - SDK AppWebsocket: Addtional checks and members

Additional members:

bool AppWebsocket::pbxConnection
  • Tells that the connection was made from an App Object on the PBX
  • true if AppLogin.info.appobj is equal to AppLogin.sip
bool AppWebsocket::pbxManagerConnection
  • Tells that the connection was made from a PBX Manager Plugin
  • true if AppLogin.info.appobj is unset and AppLogin.app is "-"
​Addtional checks:
  • ​The AppInfo message is only accepted on connections with pbxConnection == true
  • ​The PbxInfo message is only accepted on connections with pbxConnection == true

170164 - SDK IDbFiles::Put with optional append option

173071 - SDK: Config: Fix for possible trap with "WriteConfig" message

If a websocket connection was closed while processing the "WriteConfig" message, the app service cloud trap. This is fixed now.

164683 - Set 'titillium' font as default for <button> elements

Set 'titillium' font as default for <button> elements.

158823 - Use 64 bit time and filesystem functions in App Platform SDK

Set _TIME_BITS 64 and _FILE_OFFSET_BITS  64 in platform.h that 64bit timestamps and file system stats are used.

165132 - Web1: New library for parsing presence notes

Location: web1/presence/innovaphone.presence.js

​The library can be used to generate a translated string for a (calendar) presence containing hashtags.

14r2 Service Release 1 (1420322)

175588 - ICommand: fixed possible crash on reading error output

If an error occurred during reading the error output, a crash occurred.
This can affect e.g. the App Platform Manager or Apps which use the ICommand class.

175095 - SDK: Add documentation for receiving emails using smtp.h

174137 - SDK: Change Label to 14R2 instead of 14R2 Beta

174127 - SDK: changed build-release.bat - No httpfiles.zip need in "xxx_files"

14r2 Service Release 10 (1420496)

196545 - App Fax/SDK SMTP server: Reflect the host domain in response to HELO

The implementation of the SMTP server has now been modified so that the domain name of the host is reflected in the 250 response.

197052 - App Fax/SDK SMTP server: Support multipart/related email format

The SMTP server has been updated to include support for emails using the multipart/related format, which is commonly used to embed images directly within the body of an email. 

198136 - Reports: Email reports were send with a one hour delay in summer

When calculating the next sending time for an email report the daylight-saving time was not properly considered. This led to a delay of one hour during the summer months. 

14r2 Service Release 11 (1420515)

199470 - App Fax/SDK SMTP server: Fix for handling multiple attachments

The server previously did not handle cases where an email had multiple attachments. Now if the mail has several PDF attachments, only one is sent (the first one in the mail) the others are ignored, as are attachments that cannot be recognized as PDF (MIME type or file name extension).

198740 - JS-SDK: Skip database tables with reserved name "config" in config.json only if config is used

If no 'config' property is used in config.json, a database table with the name 'config' is allowed.

198244 - myApps Windows: improved handling of shutdown/restart during installation

The handling of the shutdown of a running myApps has been improved and myApps is now correctly restarted after the installation if it was running before.

14r2 Service Release 12 (1420530)

199239 - VS Plugin: Allow hostnames as address for AP connection

Allow to configure not only IP addresses, but also hostnames in the "New connection" UI dialogue.

14r2 Service Release 13 (1420541)

207404 - App Fax/SDK SMTP server: Detect incomplete boundary

The server misinterprets mail boundaries when the boundary is received in fragments, leading to incorrect processing. This occurs because it cannot reliably determine whether a section of the message has fully arrived. This issue is now fixed.

204692 - Apps: limit backtraces to avoid huge backtrace files

If an App crashes, the backtraces are now limited to max 500 lines, as it might happen that the backtrace functions loops and creates huge backtrace files.

14r2 Service Release 14

14r2 Service Release 3 (1420372)

179510 - myApps: Pass buildnumber to apps

Apps are now opened with a new URL parameter "build" that contains the build number of the PBX.

178801 - SDK docu: Add clarification to PbxAdminApi CheckAppLic

Message should be sent to the PBX where the licence is used.

137218 - SDK docu: App Icon Requirements in App Store Guide

Detailed App Icon requirements added to the App Store Guide.

178243 - SDK Docu: Correct Syntax of MWI Interrogate Result

Syntax of "mwi_interrogate_result" was not correct.

178007 - SDK docu: Link to SDK-Discussions

Replace forum link by community link.

14r2 Service Release 4 (1420399)

181517 - PBX API GetNodes: Same 'more' mechanism as for other requests

The request returns the 'more' property when the limit of the number of elements for the response is reached. The property can be used to read more items in the next request.

181491 - PBX: Split PbxApi request 'GetPseudoObjects' answer (potential buffer overrun trap)

If there are a large number of pseudo objects in the PBX, a buffer overflow trap may occur with this PbxApi request. The response is now split. A maximum of 50 objects are returned. The 'more' argument must be used to obtain further objects. The trap is now prevented.

14r2 Service Release 5 (1420433)

181991 - App Fax/SDK SMTP client: Sending multiple mails if the connection is terminated by the remote peer

Once the e-mail has been sent successfully, the SMTP client expects to close the connection itself. If the connection is closed by the remote peer, the sending process is incorrectly reported as failed and the application sends the e-mail again. This is fixed now.

182946 - App Fax/SDK SMTP server: Hanging email reception

Due to fix 178235 of SR3, there is a new issue of a non-ending email receipt progress. This is fixed now again.

183235 - App Fax/SDK SMTP server: Hanging email reception with empty emails

There is an issue of a non-ending email receipt progress with emails with empty bodies. This is now fixed.

183959 - App Users/SDK Replicator: Small memory leak

This fixes a small memory leak in the replicator module.

184152 - SDK: JSON API documentation

Documentation of the JSON API example is changed.

14r2 Service Release 6 (1420444)

185916 - App Fax/SDK SMTP client: Trap with unknown authentication method

If the remote SMTP server uses an unknown authentication method, the SDK SMTP client module can cause a trap. This is fixed now.

187686 - SDK: PbxAdminApi - Add "more" mechanism to documentation

The "more" and "limit" mechanism was missing in the documentation for some statements.

14r2 Service Release 7 (1420457)

187669 - App Fax/SDK SMTP server: fixed email receiving

Fixed the parsing logic of SMTP header values From, To, Subject and Date for large header sizes.

189006 - App Fax/SDK SMTP server: Improved email header field parsing

The SMTP server's parsing logic is corrected for the email header fields 'From', 'To', 'Date' and 'Subject'.

187792 - App Fax/SDK SMTP server: No email reception from some clients possible

The SMTP server now handles SMTP protocol codes case insensitive so that such clients are now supported too.

14r2 Service Release 9 (1420484)

191762 - App Fax/SDK SMTP Server: Unrecognized email format

The server failed to recognize the format of the email while processing its header, causing the Fax App to crash. This problem is now fixed.

191619 - App Fax/SDK SMTP Server: Wrong email header detection

The server failed to parse the email after detecting the end of a header while processing it, causing the Fax App to crash. This issue is now fixed.