Aida 6.5 Release Notes

--- Mar 2012

  • Object widgetsAndAppsFromStack added
  • WebForm superform: check against adding itself
  • WebWidget postAddAction adds subform more carefully
  • MIGRATION: manually rename class AIDAModelAdaptor to AidaModelAdaptor,
  • AidaMutex added to have portable protection of critical sections
  • version to 6.5 in AIDASite class version
  • WebUser copy, copyOtherTo:
  • patch: WebLink has link too if urlReference is empty string
  • URLResolver preferredUrl must start with '/' otherwise error is raised. Thanks to report by Dirk Verleysen
  • patch: WebApplication isStandaloneApp checks a locally set flag for standaloniness
  • WebPage redirectTo:view: added
  • WebDemoApp: timestamps of widget creation added, widget refresh link, popup closing refresh those times
  • EMailMessenger isSendingStarted added
  • WebStyle navBarDemos: removed JS, calendar and image gallery demos
  • AidaProfiling profilePingToVW added, sampleRequest with cookies
  • patch: AIDASite logging optimized

--- Feb 2012

  • Platform specific methods browsing added:
    • Those methods have a comment like "Pharo specific"
    • AIDASite class browsePlatformSpecificMethods will open a browser with those methods
    • AIDASite class platformSpecificMethods return all such methods (as CompiledMethod-s)
    • patch: some comments corrected, 'specific' renamed to something else so that this word is reserved for platform specifics only
  • Object defaultToPrefferedUrl added
  • URLResolver defaultToPreffferedUrl: added
  • patch: URLResolver removeObjectsOfClass: remove their counters too
  • patch: WebSecurityManager adminUser, guestUser raise error id they don't exist
  • patch: WebSession releaseApplicationState inits command queue too
  • patch: WebForm allFiledsIncludingSubforms - recursion bug catcher, commented out
  • patch: SwazooServer class representBinaryOn: raise error to catch too-far BOSS-outs
  • patch: WebIndexApp actionResultsSearch added
  • WebIndex improvements:
    • words in title have 100x weight
    • search words bolded in results titles
    • no more C web clipboard icon in results
  • WebDemo asJson to return a simple JSON on http://localhost:8888/demo.json
  • patch: WebIndex objectsForWord: return only published versions of versioned objects
  • JSON presentation added. To present domain object as JSON, it should for now implement a method #asJson, then you can return JSON by adding '.json' to object's URL.
    • WebJSONPresenter added, rougly like WebApplication
    • Object aidaPresenterFor:on: renamed from asWebFor:on: (previous printWebPage...)
    • Object aidaPresenterFor:on: returns JSON presenter if .json in URL
    • HTTPRequest aidaPresentationType from URL can be #web #json #xml for now
    • URLResolver objectOnDifferentPresentationUrl: added, for JSON etc
    • URLResolver objectOnUrl deals with URLs for JSON and other presentations
    • AIDASite answer:toGetOrPost:on:  local var rename: 'presenter' instead 'page'

--- Jan 2012

  • WebLink accessAllowedFor: if app is nil, allowed (temporary)
  • DailyCollection removeAnywhere: added to remove entries with changed date
  • Numberer decreaseCounter: added
  • patch: WebLink accessAllowedFor: looks for app by stack climbing too
  • Escalation to admin rights finished and put in place
    • #hasAdminRights renamed everywhere from #inAdminGroup or #isAdmin
    • WebSession login escalate to admin rights immediatelly (temporary)
  • No more printWeb* methods, no more 'printing' method category for web stuff
    •  asWebFor:on: renamed from printWebPageFor:on:
    •  category 'printing' renamed to private-streaming or just moved to 'private'
    •  category 'printing' renamed to 'views'
    •  some more method category renaming
    •  Object few more renames
  • Object changeToPreferredUrl introduced, to simplify preferred URL changing
  • WebApplication refactoring and obsoletal/removal of unneeded methods, also category security renamed to private-security
  • more renaming for method intention be more clear (also Html instead HTML)
    • streamHtmlTo:for:on: renamed from printHTMLPageOn:for:on:
    • and many more  streamHtml* instead of printHTML*...
  • NOTE: Rename methods below in your apps!
  • Object preferredUrl (double r ) renamed from preferedUrl
  • URLResolver consistent use of Url instead of URL (also Html) in method names, few of them:
    •  changeToPreferredUrl: renamed from changeToPreferedURL:
    •  defaultUrl:for: renamed from defaultURL:forObject:
    •  objectOnUrl: renamed from ooRefFromURL:
    •  existUrl: renamed from existURL:
    •  old methods above moved to private-obsolete
  • Object extensions - method categories reorganized
  • Manual escalation to Admin rights introduced. Even if in Administrators group, user have now admin rights until manually escalate it so.
    • WebUser escalate to Admin
    • DefaultWebPage headerUserElement added to show escalation links (be Admin) and shows user in red if escalated to admin
    • WebLink shows grayed links without access rights
  • Weblink cleanup of unneeded class methods
  • WebIndexApp viewMain searches immediately and redirects to results. For ajaxified search forms and redirects.
  • patch: WebElement existsScriptForEvent patch, thanks to Bob Calco
  • patch: AIDASite answerTo: error reporting to Transcript switched off

 

Continue to older 6.4 Release notes