Skip to content
Snippets Groups Projects
  1. Oct 04, 2019
  2. Oct 18, 2018
  3. Oct 17, 2018
  4. Oct 08, 2018
    • Jaime Pérez Crespo's avatar
      Initial version of routing, requests and responses. · 2ae9f3b1
      Jaime Pérez Crespo authored
      This introduces the following:
      
      - The use of Request objects to handle request data to controllers.
      - The use of Response objects to model responses that should be sent to the browser.
      - The use of "controllers" that are responsible for translating a request into a response.
      - The possibility to define your own URLs on each module by specifying them, together with their controllers, in a "routes.yaml" file in the root of a module.
      - The new UI is completely separated from the old, so "usenewui" must be set to "true" in the configuration.
      - Twigified templates are not used unless we're using the new UI, or the twig template is part of a theme.
  5. May 31, 2018
  6. Oct 19, 2017
  7. Jun 29, 2016
    • Jaime Pérez's avatar
      Stop intercepting exceptions in www/module.php. · 613e2c99
      Jaime Pérez authored
      The module.php file is the way we allow modules to have their own pages. All those are executed and presented to the user via this script. However, if an exception is thrown by a module, that exception will be captured directly by the module.php script. This prevents us from adding more logic to exception handling, adds code duplication, and makes the exception handling non-uniform, since we could end up handling the same exception differently depending on whether it was thrown by a module or by a regular page.
      
      Now we no longer intercept exceptions in module.php, allowing the exception handler to kick in. That way exceptions are always handled uniformly, and we can also implement additional logic that we may want (i.e. adding a hook to the exception handler so that modules could handle exceptions the way they want).
      613e2c99
  8. Jun 03, 2016
  9. Mar 09, 2016
  10. Aug 06, 2015
  11. Jul 09, 2014
  12. Oct 28, 2011
  13. Nov 08, 2010
  14. Jul 14, 2010
  15. Feb 16, 2010
  16. Dec 04, 2009
  17. Oct 16, 2009
  18. Sep 24, 2009
  19. Dec 03, 2008
  20. Nov 10, 2008
  21. Sep 08, 2008
  22. Aug 18, 2008
Loading