Commit Graph
654 Commits
Author SHA1 Message Date
Dave Syer 5cdf8e94e4 Merge upstream gh-pages
$ git remote add gh-pages-upstream git://...
        $ git merge -s ours --no-commit gh-pages-upstream
        $ git read-tree --prefix=src/pages/ -u gh-pages-upstream
        $ git commit -m "..."
2013-08-23 09:18:29 +01:00
Dave Syer d7e75dbdda Adapt docs pages to new site format (unfinished) 2013-08-23 09:15:09 +01:00
Phillip Webb e1bbbf3c1b Added 'Application started in XX seconds' logging
Added logging to INFO SpringApplication to log when the application has
fully started and how long it took to load.
2013-08-22 17:16:01 -07:00
Phillip Webb e85597f31b Update logging to check level is enabled 2013-08-22 16:54:53 -07:00
Phillip Webb 97cc5a7fc6 Support for liquibase in executable jars
Create LiquibaseServiceLocatorInitializer to replace the standard
liquibase classpath scanning logic with SpringPackageScanClassResolver
which will work correctly in Spring Boot packaged executable JARs.

Issue: #55580628
2013-08-22 16:31:51 -07:00
Phillip Webb a4143b88c2 Polish pattern resolving in BeanDefinitionLoader 2013-08-22 10:33:41 -07:00
Phillip Webb 507c4ec7b6 Code formatting 2013-08-22 10:33:41 -07:00
Dave Syer 0f012c581b Don't set deefault password if empty or unresolved 2013-08-22 17:06:07 +01:00
Dave Syer ec779495d5 Switch off CSRF filter
Might need to revisit later.
2013-08-22 16:52:30 +01:00
Chris Beams 00119e8b87 Populate "Fork me on GitHub" ribbon URL 2013-08-22 14:20:04 +02:00
Chris Beams 5fa6949bd1 Rename github => github_repo_url 2013-08-22 14:18:30 +02:00
Chris Beams 7b8ed80500 Ignore vim swap files 2013-08-22 13:42:16 +02:00
Chris Beams 82213342c5 Clarify project_aggregator.md sample 2013-08-22 13:41:43 +02:00
Dave Syer d852f2996a Fix security config
The management endpoints were still all mixed up
with the user endpoints. Fixed that and extracted
user endpoints in to conditional block so not
protected if path explicitly set to empty string.

[#53029715]
2013-08-22 11:43:22 +01:00
Dave Syer b39e02cc74 Add logger for default password 2013-08-22 10:50:57 +01:00
Gonçalo Silva and Nick Street cec3179104 Restructuring sidebar related resources panel
[Finishes #55621314]
2013-08-22 10:48:29 +01:00
Phillip Webb 53bd5627fc Add sample yml to docs 2013-08-22 02:37:14 -07:00
Phillip Webb d0494f5247 Rework database auto-configure
Rework several aspects of database auto-configuration:

- Use RelaxedPropertyResolver to obtain property values
- Extract EmbeddedDatabaseConnection from EmbeddedDatabaseConfiguration
- Rename several configuration classes for consistency

Issue: #53028397
2013-08-22 02:37:14 -07:00
Phillip Webb 3bbdc75fb3 Use RelaxedPropertyResolver in auto-configuration
Update several existing auto-configuration classes to use the new
RelaxedPropertyResolver.

This commit also rename the spring.template property to spring.thymeleaf
in case we wish to support more templating engines in the future.
2013-08-22 02:37:14 -07:00
Phillip Webb ae330c19d5 Create RelaxedPropertyResolver
Create RelaxedPropertyResolver class that can be used to get values
from another PropertyResolver (probably an Environment) using the
same relaxed rules as the RelaxedDataBinder.

The commit extracts the relaxed naming rules from RelaxedDataBinder
into a new RelaxedNames class.

Issue: #55621278
2013-08-22 02:37:14 -07:00
Phillip Webb c33f7e2c17 Fix DataSourceConfiguration isTestOnReturn()
Fix setTestOnReturn to use isTestOnReturn.
2013-08-22 02:37:14 -07:00
Dave Syer a899e1cacf ManagementServerConfiguration security
Management endpoints are still secure by default if
Spring Security is present, but now the default
user details have an ADMIN role, and a random password
(which is logged at INFO level if not overridden).

To override you add management.user.password (name, role)
to external properties.

[Fixes #53029715] [bs-203]
2013-08-22 10:34:40 +01:00
Dave Syer 8f3c4808ba /info endpoint should be open by default
[#53029715] [bs-203] ManagementServerConfiguration security
2013-08-22 09:54:51 +01:00
Dave Syer 6c9c4e0a69 Merge branch 'feature/websocket' 2013-08-22 09:16:37 +01:00
ggerard b141d12a8d Typo (mvn -> curl) 2013-08-22 09:13:21 +01:00
Dave Syer 4be7956144 Switch off ws sample tests 2013-08-21 21:54:35 +01:00
Dave Syer 216dc2ee4c Clean out grapes 2013-08-21 18:01:13 +01:00
Phillip Webb 49b75931b2 Allow hibernate naming strategy to be specified
Issue: #53028397
2013-08-21 09:44:43 -07:00
Dave Syer 535ac02994 Comment out websocket sample (fails in CI) 2013-08-21 17:20:02 +01:00
Sergey Shcherbakov edc4f10643 Added wildcard and property placeholder support in SpringApplication
* When a config source is a String it can now be a pattern
* Default resource loaded in the BeanDefinitionLoader has been
changed to PathMatchingResourcePatternResolver;
* A check for the ResourcePatternLoader similar to that in
AbstractBeanDefinitionReader and property placeholder resolution
has been added to the load(CharSequence) method of the
BeanDefinitionLoader;
* Added a unit test illustrating the issue;
2013-08-21 16:52:47 +01:00
Dave Syer 2181407c3f Add WebSocketAutoConfiguration
Opinionated defaults for WebSockets:

* If spring-websocket is on the classpath and so is
the Tomcat WSci initializer then it is added to the context
* A DefaultSockJsService is added if none is present
* User has only to define @Beans of type WebSocketHandler with
name starting "/"
* Each one is converted to a SockJsHttpRequestHandler and
mapped to "/<beanName>/**"
2013-08-21 16:39:19 +01:00
Gonçalo Silva and Nick Street d148bc7af4 Enabling copy buttons functionality
[finishes #55299248]
2013-08-21 14:20:14 +01:00
Dave Syer ddbb68b194 Use reflection hack for error page in Tocmat 8 2013-08-21 12:38:06 +01:00
Jesse Heitler and Kurtis Seebaldt a17592cd76 Defaulting the download widget selector to the current release
[#55229228]
2013-08-21 12:32:40 +01:00
Sergey Shcherbakov 80bdc01895 Support for embedded Tomcat 8 container parallel to the current Tomcat 7 2013-08-21 12:18:28 +01:00
Jesse Heitler and Kurtis Seebaldt 6797361384 Adding project aggregator template 2013-08-21 12:15:00 +01:00
Gonçalo Silva and Nick Street 505e4d72c3 Add code snippet sample to sample-pages/project_home 2013-08-21 11:46:14 +01:00
Biju Kunjummen 580ec27290 Fixed typo in LoggingApplicationContextInitalizer initializeLogLeve->initializeLogLevel 2013-08-21 10:48:19 +01:00
Biju Kunjummen 81603998ca Removed spring-boot related version from dependencies of samples 2013-08-21 10:45:30 +01:00
Gonçalo Silva and Nick Street 0a3cde4155 Fixing sample badge includes 2013-08-21 10:21:11 +01:00
Gonçalo Silva and Nick Street 17571e6985 Disabling sample mode by default 2013-08-21 10:20:56 +01:00
Dave Syer f083175ca5 Add test case for ivy customization
A bug in ivy (tickled by maven leaving a pom
but no jar in the local repo) would make the
default Grapes ivy config fail (cannot grab...).
Phil's workaround now has a test case.
2013-08-21 09:42:04 +01:00
Gonçalo Silva and Nick Street 26d55157f6 Renamed quick-start widget to download-widget 2013-08-21 09:26:47 +01:00
Gonçalo Silva and Nick Street 7ddc00fb4f Removed ability to add custom paragraph to download/quickstart widget 2013-08-21 09:16:40 +01:00
Phillip Webb a97428a486 Ensure localm2 ivy repo can resolve artifacts
Fix the localm2 repository to only consider that a pom exists when
its artifact is contained in the repository.

This prevents a download error that can occur when the local m2
repository contains a POM file but not a JAR.

Issue: #55532358
2013-08-20 22:55:21 -07:00
Phillip Webb 50f82c03aa Add MultiPartConfigFactory
Issue: #55528242
2013-08-20 19:39:52 -07:00
Phillip Webb 240f3088ba Update WebMvcAutoConfiguration conditional bean
Change WebMvcAutoConfiguration to use WebMvcConfigurationSupport instead
of HanderAdapter as the @ConditionalOnMissingBean. This allows MVC to
be auto-configured even if you define additional HanderAdapters.

Issue: #55493342
2013-08-20 12:59:23 -07:00
Phillip Webb c8079b606d Update trace logging to include Hibernate SQL 2013-08-20 12:59:16 -07:00
Phillip Webb d4a7720a92 Use Hibernate ImprovedNamingStrategy by default
Update HibernateJpaAutoConfiguration to use the ImprovedNamingStrategy
for better table and column names.

Issue: #55261888
2013-08-20 11:07:04 -07:00
Phillip Webb 21dcbe2858 Polish 2013-08-20 11:06:56 -07:00