Permalink
Commits on May 26, 2018
  1. places the generated keystore into the root folder (#8422)

    schmitch committed May 26, 2018
    * places the generated keystore into the root folder
    
    currently the generated keystore was always placed inside conf/
    however that was/is bad in two ways:
    
    1. it means that the generated.keystore is inside the distribution files
    2. it also means that the generated.keystore needs the conf/ folder
       (which does not exists when using the maven layout)
    
    this places it into the root folder and also adds a test to it,
    to confirm that the correct folder is used.
    
    * added a way to also check the request over ssl
Commits on May 24, 2018
Commits on May 22, 2018
  1. Call ExecutionContext.prepare in Action.apply (#8430)

    richdougherty committed May 22, 2018
    Fixes #8224.
    
    Small change without tests which should be OK.
    Writing a unit test for this is a bit tricky
    because it may need a custom Accumulator to
    test properly. However I think it's OK to make
    this change so long as no existing unit tests
    fail.
Commits on May 21, 2018
Commits on May 18, 2018
Commits on May 16, 2018
Commits on May 15, 2018
  1. Link to Markdown plugin directs to 404 page (#8409)

    kamilduda authored and marcospereira committed May 15, 2018
    Markdown Support plugin now links to IntelliJ IDEA Markdown help page
Commits on May 14, 2018
  1. Use Guice to initialize database connection pools (#8410)

    richdougherty committed May 14, 2018
    Fixes #8402.
    
    We now pass the Injector value to the initialization code so that
    it can use Guice to load a value instead of always using the
    default constructor.
    
    Increases visibility of PooledDatabase.pool field so that we can
    unit test its value more easily.
Commits on May 10, 2018
  1. Fixed a number of binding issues (#8398)

    jroper authored and gmethvin committed May 10, 2018
    This fixes a number of issues with bindings that don't manifest when
    using Guice, but do when using CDI. The issues fixed include:
    
    * Replace bindings to interfaces for executor types with alias bindings
    * Remove duplicate bindings for JavaContextComponents
    * If the router is generated, add a binding for it
    * Work around JDK bug that causes some reflection over doubly nested
    classes to throw exceptions, by moving
    TemporaryFileReaperConfigurationProvider up a level
  2. Allow users to directly configure Akka HTTP settings (#8392)

    richdougherty authored and jroper committed May 10, 2018
    * Allow users to directly configure Akka HTTP settings
    
    Fixes #8368.
    
    Refactor the AkkaHttpServer class so that more of its internal
    behavior is accessible to advanced users. Users can now extend
    this class and override behavior through protected methods.
    The custom class can be hooked into Play through the existing
    play.server.provider setting.
    
    By allowing users to change the Akka HTTP server behavior,
    particularly the server settings, we reduce the pressure on
    Play to provide a perfect and universal configuration out of
    the box. We can now provide a configuration that is right for
    most users and allow advanced users to reconfigure their
    settings as needed.
    
    For example, it is now possible to modify the Akka HTTP server's
    configuration to extend the list of HTTP methods that is
    supported. This example is shown in an integration test.
    
    * Reduce API surface; use context
    
    * Documentation
    
    * Fix compile error
    
    * Add documentation source files
    
    * Fix doc tests; minor doc tweak
    
    * Copyright to 2018
    
    * Fix broken doc links
    
    * Added blank line after header
Commits on May 8, 2018
  1. Fix headers (#8399)

    mkurz authored and wsargent committed May 8, 2018
Commits on May 7, 2018
  1. Add improved Content Security Policy Filter (#8242)

    wsargent authored and richdougherty committed May 7, 2018
    Add a new CSP filter that follows best practice from Google. The
    inclusion of a nonce now allows us to render error pages. Users
    can now configure individual CSP directives independently
    from each other, making configuration easier.
  2. Upgrade netty (#8389)

    mkurz authored and richdougherty committed May 7, 2018
Commits on May 6, 2018
Commits on May 3, 2018
  1. Update header plugin and change year to 2018 (#8380)

    raboof authored and marcospereira committed May 3, 2018
    * Update header plugin and change year to 2018
    
    * Fix some readme style issues
    
    * Add/update headers
Commits on Apr 30, 2018
  1. Add play-rconf on module directory (#8388)

    0xbaadf00d authored and marcospereira committed Apr 30, 2018
    Signed-off-by: Thibault Meyer <meyer.thibault@gmail.com>
  2. Scala 2.12.6 (#8390)

    mkurz authored and marcospereira committed Apr 30, 2018
Commits on Apr 27, 2018
Commits on Apr 23, 2018
  1. Add copyright header

    richdougherty committed Apr 23, 2018
  2. Avoid recalculating AsciiBitSet fields in ServerResultUtils (#8374)

    pettyjamesm authored and richdougherty committed Apr 23, 2018
    Prevents O(headers.length * 2) overhead of bitset construction in ServerResultUtils
    by caching bitsets in a val.
Commits on Apr 22, 2018
  1. Introduce an akka-http specific Handler (#8357)

    raboof authored and gmethvin committed Apr 22, 2018
    * Introduce an akka-http specific Handler
    
    Exposing the akka-http types. Just experimenting
    for https://github.com/raboof/play-scala-grpc-server
    
    * Add test to AkkaTestServer and sbt-test
    
    Actually verified AkkaTestServer, not sure how to run sbt-test? scripted
    doesn't seem to exist for this subproject
    
    * Apply method for nicer syntax
    
    * ⇒ -> => ;)
    
    * Rewrite in a scala-2.11-compatible way
    
    At least for now
    
    * Move to play.api.mvc.akkahttp package
  2. Redunant conf in logger.resource path (#8373)

    flurdy authored and gmethvin committed Apr 22, 2018
    Removing conf from -Dlogger.resource path as it resolves to conf/conf otherwise.
  3. Avoid unnecessary byte array defensive copies in Writeable of JsValue…

    pettyjamesm authored and gmethvin committed Apr 22, 2018
    … since Json.toBytes already makes a defensive copy from the backing shared buffer (#8375)
Commits on Apr 18, 2018
  1. [master]: Stop Netty server reloading configuration on each request (#…

    richdougherty committed Apr 18, 2018
    …8335)
    
    * Stop Netty server reloading configuration on each request
    
    Fixes #7812.
    
    The caching of the ReloadCache uses reference equality so we need
    to be more careful when passing around the Try[Application] returned
    by ApplicationProvider.get. We need to make sure we keep the same
    reference.
    
    Also did some refactoring of code while I was making these changes.
Commits on Apr 17, 2018
  1. Removes Illegal reflective access of DelegatingClassLoader (#8355)

    schmitch authored and richdougherty committed Apr 17, 2018
    under JDK 9+ DelegatingClassLoader raised an Illegal reflective access
    error.
    By changing ApplicationClassLoaderProvider to use an URLClassLoader
    the whole reflective access can be removed.
Commits on Apr 15, 2018
  1. Documentation test task depending on publishLocal for play-docs (#8353)

    marcospereira authored and gmethvin committed Apr 15, 2018
    We cannot have `apiURL` scoped since later sbt reads the setting
    without a scope. So the change introduced in #8317 had no effect
    on the generated pom file. We then need to "unscope" apiURL and
    run `publishLocal` for play-docs before running `test` for documentation.
  2. Upgrade HikariCP once more (#8359)

    mkurz authored and gmethvin committed Apr 15, 2018
Commits on Apr 9, 2018
  1. New major release of HikariCP (#8339)

    mkurz authored and marcospereira committed Apr 9, 2018
    * New major release of HikariCP
    
    https://github.com/brettwooldridge/HikariCP/blob/HikariCP-3.0.0/CHANGES
    
    * Remove initializationFailFast
    
    * Highlights and migration guide