Skip to content
Snippets Groups Projects
  1. Apr 04, 2024
  2. Mar 27, 2024
    • Simon Urli's avatar
      XWIKI-21571: Change default value of the reset password token lifetime (#3012) · 9a88bd6e
      Simon Urli authored
      
      Change the mechanism of the reset password token to not reset it at each
      verification code check, but only when the password is actually reset,
      and when its lifetime expired.
      Also provide a mandatory document initializer for the
      ResetPasswordRequest xclass.
      
      Change a bit more the logic: if the token lifetime configuration is set
      to 0 (which was the default) then we automatically remove the reset
      password request xobject at first wrong attempt (bad verification code):
      it will prevent any bruteforce attack. Then if there's a token lifetime
      configuration set, we don't remove the xobject when a bad attempt is
      performed: user might have used the wrong mail for example. But we do
      remove the xobject when it's expired. And if it's expired, or if the
      code was wrong, in both cases we immediately return an error.
      
      Move ResetPasswordIT and ForgotUserNameIT from
      administration-test-docker to a new module
      security-authentication-test-docker since it's related to
      security-authentication module now.
      
      ---------
      
      Co-authored-by: default avatarManuel Leduc <manuel.leduc@xwiki.com>
      (cherry picked from commit b410dad4)
      9a88bd6e
  3. Jan 17, 2024
  4. Nov 16, 2023
  5. Oct 20, 2023
    • Michael Hamann's avatar
      XWIKI-21311: Introduce a required rights analyzer (#2470) · 31d36999
      Michael Hamann authored
      
      * Add a new method `getRequiredRight` to `MacroPermissionPolicy` and implement it for the different script macros
      * Introduce a RequiredRightAnalyzer role to analyze the rights that are required by a document, macro or XObject
      * Add generic analyzers for macros and objects
      * Add generic script macro support
      * Add an analyzer for XWiki.RequiredRightClass
      * Add an analyzer for skin extensions
      * Add a component for printing the content of an XObject
      * Add a component for printing macro parameters and content.
      * Introduce RequiredRightsEditConfirmationChecker
      * Introduce RequiredRightsAddedFilter to filter results according to the document author
      * package the UI by default in xwiki-platform-distribution-flavor-common
      * Minimal docker test + Page objects
      * Introduce a configuration to enable the required right analysis, disabled by default as long as it is incomplete and not polished
      ---------
      
      Co-authored-by: default avatarManuel Leduc <manuel.leduc@xwiki.com>
      Unverified
      31d36999
  6. Aug 08, 2023
  7. Jul 27, 2023
  8. Jul 26, 2023
    • Michael Hamann's avatar
      XWIKI-20818: Improve data URI converter · bff0203e
      Michael Hamann authored
      * Cache failures
      * Properly dispose the caches
      * Only send requests to trusted domains
      * Only embed actual images
      * Limit responses to 1MB
      * Introduce configuration options for timeout, maximum size and if the
        feature is enabled at all
      * Add a UI test that checks that attachment embedding is working in
        general
      * Move to httpclient5
      * Expose the cookie domains configuration in AuthenticationConfiguration
      bff0203e
  9. Jul 19, 2023
  10. Jun 22, 2023
  11. Jun 15, 2023
  12. Jun 14, 2023
  13. Jun 13, 2023
    • Vincent Massol's avatar
      XWIKI-21014: Remove the mail-resend-on-startup feature in favor of the Scheduler job · 2cbb918e
      Vincent Massol authored
      XWIKI-21011: Mail resender script service API resends all mails when called from a subwiki
      XWIKI-21015: Missing legacy instance APIs in distribution
      * Also add missing EM categories
      * Fix typo in MailResender.xml (in the "from" test)
      * Make the resender scheduer job execute as XWiki.superadmin
      * Male the MailResender.xml document customizable instead of demo to avoid deleting it (it's now an official feature)
      * Add debug logs when resending mail
      * Fix mail resender scheduler typo in description
      2cbb918e
  14. Jun 12, 2023
  15. Jun 06, 2023
  16. Apr 20, 2023
  17. Apr 12, 2023
  18. Mar 16, 2023
  19. Mar 01, 2023
  20. Feb 20, 2023
  21. Jan 24, 2023
  22. Jan 20, 2023
  23. Jan 19, 2023
    • Manuel Leduc's avatar
      XWIKI-20002: Improved tags filtering · c03de2d6
      Manuel Leduc authored
      - Provide two implementations of the tag selection
      - Introduce the tag.rightCheckStrategy.hint property to select the active implementation
      - Improve the Livetable result template to prevent re-computing the tagcloud with the same parameters twice
      c03de2d6
  24. Jan 17, 2023
  25. Jan 05, 2023
  26. Dec 19, 2022
  27. Nov 24, 2022
  28. Nov 17, 2022
  29. Nov 16, 2022
  30. Oct 04, 2022
  31. Sep 12, 2022
  32. Jul 13, 2022
  33. Jul 08, 2022
  34. Jul 07, 2022
    • Manuel Leduc's avatar
      XWIKI-19866: Show all the categories in the available macros page (#1874) · 1154dfbf
      Manuel Leduc authored
      * Deprecate translation key `help.macroList.category` and introduce `help.macroList.categories`
      * Update `XWikiSyntaxMacrosList` to display the list of categories of the macros (possibly overridden)
      * Improve `XWikiSyntaxMacrosList` translations
      * Introduce `getMacroCategories` in `RendringScriptService`
      * Update the outdated documentation for the wiki macro categories override in `xwiki.properties`
      Unverified
      1154dfbf
  35. Jun 30, 2022
  36. Jun 09, 2022
Loading