Skip to content
Snippets Groups Projects
  1. Oct 17, 2018
  2. Oct 10, 2018
  3. Oct 09, 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.
      Unverified
      2ae9f3b1
  5. Oct 07, 2018
  6. Aug 26, 2018
  7. Aug 22, 2018
  8. Aug 13, 2018
  9. Aug 06, 2018
  10. Aug 05, 2018
  11. Aug 01, 2018
  12. Jul 28, 2018
    • Thijs Kinkhorst's avatar
      Sort language drop down by language code. · a90ab966
      Thijs Kinkhorst authored
      This seemed the logical place to do it, because it's essentially
      a presentation thing (so in Template, not Locale). There's likely
      something to be said for sorting by key aswell as sorting by
      translated language name. Picked key for now, seems most predictable.
      a90ab966
  13. Jun 05, 2018
  14. Jun 01, 2018
  15. May 31, 2018
  16. May 11, 2018
  17. Apr 13, 2018
  18. Feb 07, 2018
  19. Jan 06, 2018
  20. Jan 04, 2018
  21. Dec 31, 2017
    • Thijs Kinkhorst's avatar
      Sort language drop down by language code. · 45a8a9c3
      Thijs Kinkhorst authored
      This seemed the logical place to do it, because it's essentially
      a presentation thing (so in Template, not Locale). There's likely
      something to be said for sorting by key aswell as sorting by
      translated language name. Picked key for now, seems most predictable.
      45a8a9c3
  22. Dec 29, 2017
  23. Dec 06, 2017
  24. Oct 27, 2017
  25. Oct 25, 2017
  26. Oct 19, 2017
  27. Oct 17, 2017
    • Jaime Pérez Crespo's avatar
      Add a "translateFromArray" filter to twig. · 840f2242
      Jaime Pérez Crespo authored
      This allows us to use this new filter to translate strings from a given array of translations, where every translation is indexed by its ISO 639 code. A new configuration option ('language' -> 'priorities') is available too to control the alternative languages that can be used instead of a given language, when the latter is not found. The filter returns null when no suitable translation is found, so that it can be combined with "default()" to set a default translation for a given string.
      Unverified
      840f2242
Loading