Permalink
Switch branches/tags
Commits on Dec 22, 2015
  1. Fixed test:

    eltimn committed Dec 22, 2015
  2. Testing build script

    eltimn committed Dec 22, 2015
Commits on Dec 19, 2015
  1. Fix typo in readme

    eltimn committed Dec 19, 2015
  2. Reverted js changes

    eltimn committed Dec 19, 2015
  3. Use sbt-web to retrieve webjars

    eltimn committed Dec 19, 2015
Commits on Dec 16, 2015
  1. forgot jshint

    eltimn committed Dec 16, 2015
Commits on Dec 15, 2015
  1. Add 'X-Requested-With' header to liftVanilla

    eltimn committed Dec 15, 2015
Commits on Dec 14, 2015
  1. Merge pull request #1744 from lift/has-pwn-property

    Shadowfiend committed Dec 14, 2015
    Has Pwn Property: Fix hasOwnProperty use in IE.
    
    There was code that referenced a nonexistent hasOwnProperty variable, which we
    now introduce, and we change the one other usage of hasOwnProperty to also use
    this variable. This should generally be IE-safe---the core issue is that IE 8
    does not have hasOwnProperty on native objects like Array, which can cause
    things to go boom boom.
  2. Merge pull request #1742 from lift/ppe_move_inlineJs

    Shadowfiend committed Dec 14, 2015
    Deprecate FocusOnLoad and use lift's page script file for focusing.
    
    While working on the lift_30_sbt lift_basic template I noticed that the
    ProtoUser controlled login page added a in-line element focus script
    via ProtoUser's use of the FocusOnLoad object. To avoid relaxing
    Lift 3's CSP rules by setting UnsafeInline for the script sources in
    lift_basic a change to the FocusOnLoad object was needed.
Commits on Dec 12, 2015
  1. Adjusting the login bindings.

    karma4u101 committed Dec 12, 2015
  2. Merge pull request #1741 from lift/well-rested-futures

    farmdawgnation committed Dec 12, 2015
    RestHelper has long supported returning an LAFuture as the result of
    a RestHelper block and auto-wrapped those in RestHelper.async so
    they're dealt with via continuation, much like comet responses. This PR
    extends RestHelper to support the same functionality for Scala Futures,
    thus rounding out our dual support for Scala and Lift futures both here and
    in snippet bindings.
  3. A missing paren is what you get when you don't test >_>

    Shadowfiend committed Dec 12, 2015
  4. Drop complete_? checks in CanResolveAsyncSpecs.

    Shadowfiend committed Dec 12, 2015
    We were using that to fail if the spec hadn't sastified its
    result future with the value received from the async resolution,
    but it looks like those satisfactions happen async, so we can't
    be sure that the future will be immediately complete once we
    hit that line of code. Instead we just let `get` block until we get
    the proper resolution, which should still be very quick.
  5. Fix hasOwnProperty use in IE.

    Shadowfiend committed Dec 12, 2015
    There was code that referenced a nonexistent hasOwnProperty variable, which we
    now introduce, and we change the one other usage of hasOwnProperty to also use
    this variable. This should generally be IE-safe---the core issue is that IE 8
    does not have hasOwnProperty on native objects like Array, which can cause
    things to go boom boom.
  6. Clarify RestHelperSpec for CanResolveAsync.

    Shadowfiend committed Dec 12, 2015
    We test it with an LAFuture, but the point is any CanResolveAsync will do.
Commits on Dec 11, 2015
  1. Fixing deprecation notice.

    karma4u101 committed Dec 11, 2015
Commits on Dec 10, 2015
  1. Reverting back but deprecating FocusOnLoad. Removing newly added

    karma4u101 committed Dec 10, 2015
    FocusOnLoadAppendJs in favour of using the Focus case class.
  2. Switching to using the FocusOnLoadAppendJs ojbect in ProtoUser.

    karma4u101 committed Dec 10, 2015
Commits on Dec 8, 2015
  1. Merge pull request #1721 from lift/SOE-1720

    Shadowfiend committed Dec 8, 2015
    Squashing the logError JS stackoverflow
  2. The FocusOnLoad object is now avoiding inlining javascript by utilizing

    karma4u101 committed Dec 8, 2015
    lifts page script file.
Commits on Dec 6, 2015
  1. Generalize RestHelper to use CanResolveAsync.

    Shadowfiend committed Dec 6, 2015
    This should allow RestHelper to auto-wrap Scala Future responses into
    RestHelper.async handling, in addition to the LAFuture support that already
    existed. Also, the RestHelper.async thread will no longer block while waiting
    for its future (Lift or Scala or whatever) to resolve.
  2. Move CanResolveAsync to net.liftweb.util, add a spec.

    Shadowfiend committed Dec 6, 2015
    It's really a general abstraction, and we'll want to reuse it for RestHelper.
Commits on Dec 5, 2015
  1. Merge pull request #1734 from lift/css-url-comma-fix

    Shadowfiend committed Dec 5, 2015
    CSS URL prefixer comma fix, % fix, and specs
    
    While fixing #1732, did some renaming (with deprecations), added a spec
    for CssUrlPrefixer, and fixed the originally-reported comma issue, the same
    issue with supporting % in CSS URLs, as well as fixing the parser's insistence
    on using single quotes to wrap a URL even when the original CSS either had no
    quotes or double quotes.
Commits on Dec 3, 2015
  1. Merge pull request #1737 from lift/ppe_msg_appendjs

    Shadowfiend committed Dec 3, 2015
    Making the Msgs fade and effect scripts append to lift's page script
    
    Instead of (as in lift 2.6) using the in-lining tailScript function Msgs fade
    and effect scripts will now instead append to lifts page script. The change
    makes it better align with Lifts CSP settings.
Commits on Dec 2, 2015
  1. Updated scaladoc on the modified and added methods.

    karma4u101 committed Dec 2, 2015
  2. Merge pull request #1736 from lift/json-js-escaping

    farmdawgnation committed Dec 2, 2015
    Until now, we've had a hardcoded set of characters that would always be escaped
    in JSON; these were never modifiable. We now plug in to the new RenderSettings
    case class to add the ability to specify sets of characters that should be
    escaped.
    
    Additionally, we add a default set of such characters that corresponds to the
    characters that must be escaped when JSON is evaluated directly by a JavaScript
    engine rather than by a valid JSON parser (as when using JSON-P).
    
    Lastly, we provide two default RenderSettings instances, prettyJs and
    compactJs, that encapsulate the appropriate escaping with pretty or compact
    rendering.
  3. Merge pull request #1739 from lift/7-javas-and-a-samurai

    Shadowfiend committed Dec 2, 2015
    7 Javas and a Samurai: Drop build to Java 7 for now.
    
    Drop our travis build (and therefore snapshots) to use Java 7 until
    we get M7 out the door. Then we'll bump to Java 8 for the final Lift 3
    release.
Commits on Dec 1, 2015
  1. Drop build to Java 7 for now.

    Shadowfiend committed Dec 1, 2015
Commits on Nov 29, 2015
  1. Replacing the tailScript function used in the Msgs.effects call in

    karma4u101 committed Nov 29, 2015
    Msg.effects with the new appendScript function. 
    This was the last use of the tailScript function so removing it from
    Msgs.