Skip to content
Snippets Groups Projects
  1. Apr 03, 2023
  2. Mar 30, 2023
  3. Mar 29, 2023
  4. Mar 28, 2023
  5. Mar 24, 2023
  6. Mar 16, 2023
  7. Mar 15, 2023
  8. Mar 14, 2023
    • Pascal Ernster's avatar
      Create assets on first run in production mode · aad36d72
      Pascal Ernster authored
      Currently, starting RDMS after rebuilding and reinstalling it from
      scratch in `RAILS_ENV=production` mode fails because assets are not
      created automatically. I'd prefer to put the required commands into the
      `Dockerfile`, but this doesn't work currently because the path used to
      store these assets is a Docker volume shared between multiple Docker
      containers, which are not available at build time of these container
      images/execution time of the corresponding `Dockerfile`. Therefore, for
      the time being, we execute the commands in the container's
      `hyrax/docker-entrypoint.sh`.
    • Anusha Ranganathan's avatar
      Merge branch... · 237a70bd
      Anusha Ranganathan authored
      Merge branch '32-generate-random-passwords-with-securerandom-instead-of-devise-friendly_token' into 'develop'
      
      Generate random passwords with SecureRandom instead of Devise.friendly_token
      
      See merge request FDM/rdm-system/rdms!123
      237a70bd
    • Anusha Ranganathan's avatar
      Merge branch '35-remove-hyrax-seed-crc_users-json' into 'develop' · c5ff9847
      Anusha Ranganathan authored
      Remove hyrax/seed/crc_users.json
      
      See merge request FDM/rdm-system/rdms!126
      c5ff9847
    • Pascal Ernster's avatar
      Remove hyrax/seed/crc_users.json · f16e7f54
      Pascal Ernster authored
      According to @anusha, `hyrax/seed/crc_users.json` isn't needed anymore,
      so let's remove it.
      f16e7f54
    • Pascal Ernster's avatar
      Generate random passwords with SecureRandom instead of Devise.friendly_token · 5fb7184a
      Pascal Ernster authored
      It seems that `User` objects can't be created with a `nil` password, so we have to set a password even for Shibboleth and ORCID user accounts, even though that password is never supposed to be used. Currently, we use `Devise.friendly_token` for this, but `SecureRandom` seems a better choice since it doesn't incur external dependencies/3rd party libraries (even though we currently use `Devise` nonetheless).
      
      Note: This does create passwords with binary/non-printable characters.
      Given the 32 byte length chosen, this gives us 256 bit entropy per
      password.
      5fb7184a
  9. Mar 13, 2023
  10. Mar 09, 2023
  11. Mar 02, 2023
Loading