@Aymkdn Aymkdn released this Aug 21, 2018 · 8 commits to master since this release

Assets 4

Change Log v5.1 (August 21, 2018)

  • Fix url issue in $SP().getWorkflowID()
  • Fix url issue when SharepointPlus is called from the root (see #86)
  • Fix parse() (see #89)
  • Fix getRequestDigest() when using it with NodeJS on a sub site collection
  • Fix addressbook() (incorrect checks of arguments)
  • Fix $SP().cleanResult() when the string was like "-1;#something"
  • Remove $SP().toCurrency() (use [https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NumberFormat](Inlt with NumberFormat instead) ... e.g. new Intl.NumberFormat('en-US', {style: 'currency', currency: 'USD'}))
  • Use method GET by default when calling ajax() with NodeJS
  • Change the default value returned by $SP().view() for OrderBy (from [] to "" when no orderby defined for the view)
  • Add new utility function called $SP().getPeopleLookup()
  • Improve support for NodeJS
  • Improve some errors handling

@Aymkdn Aymkdn released this Nov 21, 2017 · 27 commits to master since this release

Assets 4

Change Log v5.0 (November 21, 2017)

  • Remove all jQuery references
  • Remove old IE support; support starts from IE11 (the user will have to verify compatibility for older versions)
  • Remove SPArrayIndexOf()
  • Remove SPArrayForEach()
  • Remove SPIsArray() (use Array.isArray instead)
  • Remove Strim.prototype.trim polyfill
  • Remove $SP().encode_b64() and $SP().decode_b64() (the code can be retrieved here https://blog.kodono.info/wordpress/2011/07/27/midi-code-encoder-decoder-en-base64-pour-javascript-programmation/)
  • Remove alias $SP().list().del() (use $SP().list().remove() instead)
  • Remove native support for $SP().formfields() (you now need to call the related plugin)
  • Remove callbacks for all functions
  • Add Promise for all functions
  • Change $SP().ajax() to integrate nanoajax (no need to call nanoajax from a seperate file)
  • Change options for $SP().ajax() to fit with nanoajax
  • Change $SP().getURL() to return a Promise (async requests are not supported by recent browsers anymore)
  • Change parameters for $SP().list().createFile(), and it must now be called with $SP().list()
  • Change parameters for $SP().list().createFolder(), and it must now be called with $SP().list()
  • Change encoding for $SP().list().addAttachment() from Base64 to ArrayBuffer
  • Change values returned by $SP().list().view()
  • Change values returned by $SP().list().views()
  • Change values returned by $SP().list().add()
  • Change values returned by $SP().list().update()
  • Change values returned by $SP().list().remove()
  • Change values returned by $SP().list().moderate()
  • Change behavior for $SP().list().add() and $SP().list().update() when an empty array of values is passed as a column value to be added/updated (it will now return '' instead of ';#;#')
  • Add option cache for $SP().list().view()
  • Add option cache for $SP().lists()
  • Add option packetsize for $SP().list().moderate()
  • Add $SP().getPageSize() that permits to get the size of the document/page
  • Add option soapURL to $SP().webService() (see #51)
  • Add wiki pages for "Term/Taxonomy/Managed Metadata" (see https://github.com/Aymkdn/SharepointPlus/wiki/)
  • Add wiki page for Discussion Board (see https://github.com/Aymkdn/SharepointPlus/wiki/Sharepoint-Discussion-Board)
  • Add Property property for a TaxonomyFieldType returned by $SP().list().info()
  • Add ._List that returns the details for the list for $SP().list().info()
  • Add $SP().hasREST() to detect if REST API is supported
  • Add progress function for $SP().createFile()
  • Add getXHR function for $SP().createFile()
  • Add support for ArrayBuffer for $SP().createFile()
  • Add SPArrayBufferToBase64 function() to transform an ArrayBuffer to a Base64 string
  • Add automatic JSON parsing for results from $SP().ajax() which Content-Type that matchs json
  • Add option soapAction for $SP().webService()
  • Add support for multiple ids/values for $SP().getLookup()
  • Add automatic support for digest token on $SP().ajax()
  • Add $SP().getRequestDigest()
  • Add option rootFolder for $SP().list().add() for support of Discussion Board
  • Add 30+ new QUnit tests
  • Fix $SP().formfields() when there is ampersand (&) into the field's name
  • Fix $SP().toSPDate() when time is required (see issue #64)
  • Fix SP().createFile() for big upload with REST API (see https://stackoverflow.com/questions/46297625/large-arraybuffer-crashes-with-xmlhttprequest-send/46299028#46299028)
  • Fix $SP.ajax() to resolve when the status code returned by the server is 2xx and not 200 only
  • Improve catch error from $SP().createFile
  • Optimize code for compression

@Aymkdn Aymkdn released this May 4, 2017 · 44 commits to master since this release

Assets 5

Change Log v4.0 (May 4, 2017)

  • Add NodeJS support: SharepointPlus can now be called as a node module and can be used on server side
  • Add $SP().auth() that must be used when using NodeJS (based on https://github.com/s-KaiNet/sp-request)
  • Add $SP().proxy() that can be used with NodeJS
  • Add Promise support for $SP().list().get()
  • Add Promise support for $SP().list().add()
  • Add Promise support for $SP().list().update()
  • Add Promise support for $SP().list().remove()
  • Add Promise support for $SP().list().createFolder()
  • Add Promise support for $SP().list().createFile()
  • Add Promise support for $SP().checkin()
  • Add SPExtend() that permits to clone/extend an object
  • Add $SP().webService() to send customized requests to the web services (instead of using SPServices)
  • Add qunit-test on $SP().webService()
  • Add qunit-test on $SP().checkin()
  • Add packetsize option for $SP().list().update()
  • Rewrite the documentation using JSDoc 3 instead of JSDoc 2
  • Reorganize the documentation to group the methods by category
  • Use of eslint to clean up the code
  • Change license from GPL 3.0 to LGLP 3.0 (see #48)
  • Fix $SP().checkin() (see #49)

@Aymkdn Aymkdn released this Mar 6, 2017 · 56 commits to master since this release

Assets 5

Change Log v3.14 (March 6, 2017)

  • Add a sanitize filter for the filename in $SP().createFile() because Sharepoint doesn't like some special characters
  • Fix a bug with "Content Type" field in SP().formfields()
  • Fix a bug with SP().formfields().elem() when mixed fieldtypes where used
  • Handle callback even when showClose:false in $SP().showModalDialog()
  • Add more documentation for $SP().showModalDialog()
  • Add option id for $SP().showModalDialog()
  • Add option onload for $SP().showModalDialog()
  • Add function $SP().getModalDialog()
  • Add function $SP().resizeModalDialog()
  • Improve $SP().parse() for the IN operator
  • Review the code for join and outerjoin options within $SP().list().get()
  • Add new option join.onLookup for $SP().list().get()

@Aymkdn Aymkdn released this Aug 23, 2016 · 69 commits to master since this release

Assets 5

Change Log v3.13 (August 23, 2016)

  • Fully compatible with Sharepoint 2013!
  • jQuery is not required anymore!
  • Rewrite $SP().createFile() with new options (see issue #26 and pull #29)
  • Add operator "IN" for WHERE clause thru $SP().parse() (e.g. 'Location IN ["Los Angeles","San Francisco","New York"]')
  • Add special words "TRUE" and "FALSE" for $SP().parse() to use with the Yes/No columns
  • Full rewrite of $SP().formfields() to be compatible with Sharepoint 2013 (a few things could be now different from previous versions)
  • Remove option data-sp-ignore from $SP().formfields()
  • Set 160 qUnit tests for almost all the functions
  • Add automatic qUnit test environment creation to make tests easier
  • Add option usejQuery to $SP().formfields().elem()
  • Add $SP().encode_b64() and $SP().decode_b64()
  • Add $SP().getURL() to return the current base url
  • Add $SP().regionalSettings() to return the user regional settings
  • Add $SP().regionalDateFormat() to return the date format based on the user regional settings (usefull for Date Picker fields manipulation)
  • Add $SP().list().startWorkflow2013() to start Sharepoint 2013 workflows (the other function remains for Sharepoint 2010 workflows)
  • Add Site Workflow start for $SP().list().startWorkflow()
  • Add $SP().showModalDialog(), $SP().closeModalDialog() and $SP().waitModalDialog()
  • Add two parameters (passedItems, failedItems) to options after for $SP().list().add(), $SP().list().update(), ...
  • Add $SP().list().addAttachment() to attach a document to a list item

@Aymkdn Aymkdn released this Jan 27, 2016 · 85 commits to master since this release

Assets 4

Change Log v3.12 (January 26, 2016)

  • Fix problem with IE8 and Array.prototype.indexOf (issue #25)
  • Change the versioning number, from 3.0.11 to 3.12
  • Add qunit tests

@Aymkdn Aymkdn released this Jan 11, 2016 · 89 commits to master since this release

Assets 3

Change Log v3.0.11 (January 11, 2016)

  • Fix $SP().forms() for Sharepoint 2013
  • Add $SP().formfields().isMandatory() to return the mandatory status of the field(s)
  • Add $SP().formfields().name() to return the name of the field(s)
  • Fix $SP().cleanResult() for "float;"
  • Add $SP().list().getContentTypes() to return the content types for a list
  • Add $SP().list().getContentTypeInfo() to return the content type info for a list
  • Add support of the Enhanced Textarea field
  • Fix $SP().formfields().each() that returns a jQuery object when calling this.elem() and this.row()
  • Fix $SP()).formfields().val() returning an empty array when no value available, and it now returns an empty string
  • Add more data returned by $SP().list().getWorkflowID()
  • Add $SP().workflowStatusToText() to convert the workflow status code to the related message
  • Add option "listItemCollectionPositionNext" to $SP().list().get() for paging
  • Fix $SP().list().getWorkflowID() to use ClientContent when permissions are insufficient

@Aymkdn Aymkdn released this Feb 24, 2015 · 94 commits to master since this release

Assets 3

Change Log v3.0.10 (February 24, 2015)

Fix the $SP().list().get() to not change the original WHERE clause passed to the function when it's an array
Fix a bug with the $SP().list().views() because of a cache issue, and add a "cache" option
Fix the $SP().list().get() when we pass a ViewID
New parameter for $SP().toDate() that permits to force the UTC date
Fix a bug with $SP().list().add() and $SP().list().update() when an error is returned by the server
Add additional option called useIndexForOrderBy, for $SP().list().get(), based on this comment: https://spservices.codeplex.com/discussions/280642#post1323410 that permits to override the list view threshold
Add a page option for $SP().list().get()
Add a code that runs automatically to change the Sharepoint complex dropdowns (when it's a lookup with more than 20 values) to a regular SELECT -- IE only
Add progress function with the paging:true option for $SP().list().get()
Fix a bug with $SP().formfields() when setting a value for a MULTIPLE LINE OF TEXT
Feb 24, 2015

@Aymkdn Aymkdn released this Jun 24, 2014 · 103 commits to master since this release

Assets 3

Changelog:

  • New option "cache" for $SP().groupMembers(),.distributionLists(),isMember(),.usergroups()
  • New function $SP().getUserInfo()
  • New options "calendar" and "calendarOptions" for $SP().list().get() to easily deal with the Calendar Lists / Events
  • Bug fix with $SP().formfields() when we activate the Recurrence in a calendar form
  • Add $SP().notify() and $SP().removeNotify() to deal more easily with SP.UI.Notify.addNotification
  • Fix the doc for the DateInUTC option of $SP().list().get()
  • Add "Node" as a new return for the $SP().list().views() function
  • Fix the option "path" for "folderOptions" in $SP().list().get() that didn't work