Release History

By product

Backend Services v0.6

May 2, 2013

Release Notes

NEW
  • Ability to make HTTP calls from cloud code
  • Ability to send emails from cloud code based on Email Templates
  • Ability to send SMSs using Twilio from cloud code
  • New simplified Friends app for hybrid apps that showcases KendoUI and Everlive integration. Included 3 documentation articles on how to use Everlive and KendoUI together. This is the default template in Icenium for Everlive projects.
  • Ability to include reply-to email in email templates
  • The JavaScript SDK is now minified, versioned, and is licensed under MIT.
  • Reworked Getting Started banner with hyperlinks with ability to close it permanently
  • The Downloads section is now available outsides apps for easier access.
  • New links for managing Structure/Cloud Code/Permissions in Content Types screen.
  • Missing saved message for Cloud Code and Email Notifications settings screens
  • Read area for a content type in backend is not updated correctly when there is relation field in it using IE
  • There should be verification for CC and BCC fields
  • Array of text must have autoresizable inputs
FIXED
  • Permissions objects for roles are not deleted when roles are deleted by filter or when delete all request is send
  • Problems with variables in email templates body
  • Text formatting problems in email templates plain text version
  • When a content type is deleted and a field relation existed to it, the parent content type of that field is broken in the Management screen.
  • Problems with filtering by geo point field using $nearSphere and $maxDistanceInMiles parameters
  • Sending read request with invalid filter expression for geo point field returns status code 500
  • The manage content grid column cookies become too large and a bad request begins to exist.
  • When a file is uploaded in a file field the update area isn't hidden on save.
CHANGED
  • Reworked Getting Started banner with hyperlinks with ability to close it permanently
  • The Downloads section is now available outsides apps for easier access.
  • New links for managing Structure/Cloud Code/Permissions in Content Types screen.
  • Missing saved message for Cloud Code and Email Notifications settings screens
  • Read area for a content type in backend is not updated correctly when there is relation field in it using IE
  • There should be verification for CC and BCC fields
  • Array of text must have autoresizable inputs

Examples:

  • Ability to make HTTP calls from cloud code
  • Everlive.Events.beforeRead(function(request, context, callback) {
        var options = {
            headers:{
                "Authorization" "Masterkey Gmx36045rLMyFx7Ad1cEXNtxZ9r0wuDc"
            }
        };
        Everlive.Http.request('GET','https://api.everlive.com/v1/fiwVmseqmIESIxK6/Users/', options,
            function(error, response) {
                if(error){
                    //Do something with the error here
                else {
                    //Do something with the response here
                }               
                done();
            }
        );
    });
  • Ability to send emails from cloud code based on Email Templates
  • Everlive.Events.beforeRead(function(request, context, done) {
        var templateName = "WelcomeEmail";
        var recipients = ['hristo.borisov@telerik.com'];
        var emailContext = {
            CustomSubject: "Email sent from cloud code.",
            IntValue: 222
        };
                      
        Everlive.Email.sendEmailFromTemplate(templateName, recipients, emailContext, function(err, result) {
            //some other logic here...
            done();
        });
    });
  • Ability to send SMSs using Twilio from cloud code
  • Everlive.Events.afterCreate(function(request, response, context, done) {
        //Instantiate Everlive Twilio API
        var accountId = '${TwilioAccountId}';
        var authToken = '${TwilioAuthToken}';
        var twilio = new Everlive.Integration.Twilio(accountId, authToken);
          
        //Send SMS to a specific phone number
        var fromNumber = '+165********'//One of the numbers in your Twilio account
        var toNumber = '+3598********';
        var message = 'This is automatic SMS from the Friends application.';
        twilio.sendSms(fromNumber, toNumber, message,function(result) {
            //some other logic here...
            done();
        });
    });