Changelog SetaSite Changelog

Version 2.3.0.0 (13.10.2021)

  • Added logic in backend gui to try to replace placeholder and block spans.
    • placeholders must be inside a node without any other content
    • blocks must contain only one "top level" node which wraps everything of the block inside

Version 2.2.0.0 (19.05.2021)

  • Fixed backend route for application server setup
  • Fixed warning in user/login controller when sso isn't configured
  • Fixed test bootstrap
  • Fixed code inspections
  • Fixed code styling
  • Changed up module creation to support application server structure
  • Replaced dynamicReturnType.json by phpstorm.meta.php
  • Update default config.setasite.ini
  • Implemented support for SetaSso
  • Implemented support for storageless sessions
  • Added AddOpenGraphMeta view helper
  • Fixed AnchorInterface blocks inside of MultiBlocks

Version 2.1.0.4 (10.03.2021)

  • Fixed getUid typehint in BlockInterface and AbstractBlock

Version 2.1.0.3 (04.11.2020)

  • Moved property config cleanup to own methods
  • Fixed select fields in gui

Version 2.1.0.2 (02.11.2020)

  • Fixed minor code styling
  • Fixed caching issue with redirect pages (#SETASITE-67)
  • Fixed minor code styling

Version 2.1.0.1 (22.09.2020)

  • Fixed #SETASITE-66 Uid bei MultiBlöcken und Blöcken unter MultiBlöcken (#16)

Version 2.1.0.0 (21.08.2020)

  • #SETASITE-56 Page Frontend Controller Events sollten PageSettings mitgeben
  • Minor doc block fixes

Version 2.0.0.3 (20.05.2020)

  • Fixed bug in file and link property if value is empty
  • Leading backslash of module name in routes is now optional

Version 2.0.0.2 (18.05.2020)

  • Fixed install script

Version 2.0.0.1 (03.04.2020)

  • Fixed ResourceFile Controller returns error code 500 with invalid block or module hash
  • Fixed regex of LinkHelper

Version 2.0.0.0 (20.03.2020)

  • Added:
    • Added twig templates and twig blocks
    • Added multi blocks!
    • Added "Rename all blocks" controller and related gui component
    • Added DefaultBlock\BlockContainer
    • Added BlockInterface::getModuleAdapters()
    • Added BlockText and Text ViewHelper
    • Added PageSettings::getDefaultPageLanguage()
    • Added option to hide blocks in block selection
    • Added option to declare in multiBlocks which childs are allowed
    • Added html property replacements
    • Added computed properties for html block
    • Enabled link paths to external sites
  • Changes:
    • Updated SetaFramework to version 6
    • Reworked handling of page languages:
      • Instead using a own table for every language the language is now part of the primary key
      • Instead of having multiple Pages and PageLocks instances with different languages we have only one, so the signature changed for most Pages methods
      • Setting and getting the page languages can now be done over the PageSettings class and is also available with Pages::getPageSettings()
      • The page debug flag and the backend flag is also a part of the page settings
    • Reworked modules:
      • Removed some unnecessary module interfaces (AutoloaderInterface, CacheInterface, EventManagerInterface) - Inject these classes per constructor
      • Removed "init"-Method - Use the constructor instead
      • Change in Module routes -> Use '\\' . __CLASS__ as 'module' argument for routes
      • Moved module related methods to ModuleManager class
      • Changed modules configuration "modules.{someKey}" is now just "modules" and without "configs" subkey
    • Reworked block structure:
      • Reworked block class/interface structure (old blocks should now extend AbstractViewBlock / AbstractViewControllerBlock)
      • Removed all _ before properties and methods
      • Reworked blockFactory + blockManager - every block is now an own object
      • init, preRender, postRender and BlockActionTrait methods can now inject arguments from Di
      • Removed __set and __get Methods in AbstractBlock, to fetch a property you can use get() instead
    • Reworked directory structure (instead of configuring blocks, modules and templates only setasiteDirectory is configured the rest is expected as default)
    • Reworked handling of blocksActualFlag
    • All templates must output the string "<!--setasite-output-->"
    • SetaSite::getSystemLanguage() is now static
    • Link and Html properties are now forbidden for users
    • PageChanges::revertAction() now resets the active page editor session
    • String::VALIDATOR_REGEX now uses / as delimiter to be on par with the gui
  • Fixes:
    • Fixed some strange behaviour when inheriting blocks from templates
    • It is now possible in SubTemplate pages to mark a placeholder with final_top or final_bottom from parent as final_yes
    • Pages::copyPage will now set a new context datetime
    • Controller page params are now resolved before callBlockAction

Version 1.7.2.1 (06.01.2020)

  • First git release :-)
  • Changed code style to psr12 
  • Fixed error reporting in backend (HttpErrorException and ForceResponseExceptions were logged as errors in backend mode) 
  • Fixed #SETASITE-55 Page shadow in pagetree 

Version 1.7.2.0 (19.11.2019)

  • Fixed SSO auth will keep the start page
  • #SETASITE-52 Added js error logger
  • Added support for maintenance exception (SF v5.3+)
  • Now allows to depend on the PersistantDatabase directly (SF v5.4+)

Version 1.7.1.0 (26.09.2019)

  • Fixed size of paste data textarea for firefox
  • Users loadByLoginData is now timing attack safe 
  • #SETASITE-53 Funktionsweise vom Trash / Approve von Verschiebungen 

Version 1.7.0.0 (14.08.2019)

  • Added support for sso
  • Updated to SetaFramework 5.0
  • Added Controller\Frontend\Page::EVENT_ON_PAGE_NOT_FOUND
  • Changes:
    • Changed Module/InstallInterface.php
    • Combined ROUTE_BACKEND_LOGIN and ROUTE_BACKEND_CHECKLOGIN into ROUTE_BACKEND_USER_WITHOUT_LOGIN

Version 1.6.0.0 (24.01.2019)

  • Updated setasite to SetaFramework 4.7
  • Changes:
    • Replaced Session with SessionInterface - do not use Session directly anywhere!