Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Change #4: Change RollerContext initialization

  • Change contextInitialized() so that it initializes only the UI portions of Roller
    • Move RollerImpl initialization into RollerImpl classes
  • Change contextInitialized() so that it does not throw exceptions
    • We want context to load regardless of Roller configuration
  • Don't throw RuntimeException on DB connection error
  • Instead, allow context to load so we can show error/upgrade pages to user
  • Only run upgradeDatabaseIfNeeded if installation.auto option is false
  • Remove all Roller object initialization, move into RollerImpl instantiate method()
  • Add code to initialize Acegi using DatabaseProvider
  • Add configuration property 'security.overrideAcegiConfig=true' so that folks who want to manually configure security.xml can do so

Change #5: Add DatabaseStatusFilter that checks database configuration

...