1. 04 Sep, 2023 2 commits
    • Vincent Pelletier's avatar
      ERP5Site_checkOAuth2ResourceServerPostUpgradeConsistency: Do not lock ERP5 users out · e0b68bdb
      Vincent Pelletier authored
      When there is no enabled extractor plugin, PAS internally uses the DumbHTTPExtractor
      class. When installing the OAuth2 resource server plugin, it activates itself as an extractor,
      disabling this default mechanism. This is most likely unexpected to the admin, so in such
      situation create & enable the ERP5 plugin which inherits from DumbHTTPExtractor, to
      preserve basic authentiation.
      If such plugin exists but is disabled, assume the admin forgot to enable it, and do it for them.
      If any extraction plugin is already enabled, do nothing new.
      e0b68bdb
    • Jérome Perrin's avatar
      crm,credential: repair Ticket_getWorkflowStateTranslatedTitle for ERP5 workflow · c6b59bd6
      Jérome Perrin authored
      `state_var` is now a compatibility alias calling getStateVariable, which
      has a default value of `simulation_state`. As a result, this script was
      attempting to call getSimulationStateTranslatedTitle on credential
      requests, because they have an interaction workflow in their chain.
      
      This fixes by implementing the full logic using new ERP5 workflow API.
      c6b59bd6
  2. 28 Aug, 2023 2 commits
  3. 25 Aug, 2023 1 commit
  4. 24 Aug, 2023 4 commits
  5. 23 Aug, 2023 2 commits
  6. 22 Aug, 2023 1 commit
    • Rafael Monnerat's avatar
      erp5_core: Only search for ERP5 Login · 8c025549
      Rafael Monnerat authored
         The implementation only works with ERP5 Login, since it is the only portal type that
         holds password in ERP5. Other implementations are password-less: Certificate Login,
         Google Login and Facebook Login, so they cannot have their password reset anyway.
      
         It is overkill split the login on multiple categorization, to use some portal group (ie:
         getPortalLoginPortalTypeThatCanResetPassord...) until we have a a clear usecase.
      8c025549
  7. 21 Aug, 2023 1 commit
  8. 18 Aug, 2023 2 commits
  9. 16 Aug, 2023 1 commit
  10. 15 Aug, 2023 3 commits
  11. 11 Aug, 2023 1 commit
  12. 10 Aug, 2023 8 commits
  13. 03 Aug, 2023 4 commits
  14. 02 Aug, 2023 2 commits
  15. 01 Aug, 2023 2 commits
  16. 28 Jul, 2023 4 commits
    • Roque's avatar
      Capture flag drone game · 032d55f1
      Roque authored
      See merge request nexedi/erp5!1775
      032d55f1
    • Roque's avatar
      7a9f3874
    • Roque's avatar
    • Roque's avatar
      erp5_officejs_drone_capture_flag: changes on the game · 58c95f1c
      Roque authored
      - add back the drone collision logic
      - check drone out with map limits
      - randomize seed library
      - use seed to randomize values
      - terrain texture change
      - adapt default configuration
      - refactor to allow map_size as parameter (instead of min-max lat-lon)
      - new map function
      - camera and size limits
      - enemy team
      - enemy AI script
      - add flags and obstacles
      - obstacle and flag collision
      - allow dronemanager to take cartesian coordinates
      - game finish rulls
      - user score and result message
      - refactor AI default script (drone dodges obstacles)
      - new drone implementation for enemy drone (API)
      - add getDroneViewInfo to API(s)
      - restore drone color dot trace (improve color pick)
      - allow random seed as url parameter
      - handle fullscreen
      - flag weight as parameter
      - show default seed value, and make input mandatory
      - do not show enemy drone logs on UI
      - flag collision crashes the drone
      - update score calculation
      - drop flag weight (model and parameter)
      - use geo coordinates in general
      - refactor enemy drone to use cartesian
      - add debug mode for test using console logs
      - async obstacle detection (API changes)
      58c95f1c