Skip to content
Snippets Groups Projects
  1. Feb 18, 2020
  2. Sep 26, 2018
    • gfyoung's avatar
      Enable even more frozen string in app/controllers · 12ee2753
      gfyoung authored
      Enables frozen string for some vestigial files as
      well as the following:
      
      * app/controllers/projects/**/*.rb
      * app/controllers/sherlock/**/*.rb
      * app/controllers/snippets/**/*.rb
      * app/controllers/users/**/*.rb
      
      Partially addresses #47424.
      12ee2753
  3. Jun 08, 2018
    • Bob Van Landuyt's avatar
      Users can accept terms during registration · 3d713ac1
      Bob Van Landuyt authored
      When a user checks the `accept` checkbox, we will track that
      acceptance as usual. That way they don't need to accept again after
      they complete the registration.
      
      When an unauthenticated user visits the `/-/users/terms` page, there
      is no button to accept, decline or continue. The 'current-user menu'
      is also hidden from the top bar.
      3d713ac1
  4. Jun 04, 2018
  5. May 11, 2018
  6. May 04, 2018
    • Bob Van Landuyt's avatar
      Enforces terms in the web application · 7684217d
      Bob Van Landuyt authored
      This enforces the terms in the web application. These cases are
      specced:
      
      - Logging in: When terms are enforced, and a user logs in that has not
        accepted the terms, they are presented with the screen. They get
        directed to their customized root path afterwards.
      - Signing up: After signing up, the first screen the user is presented
        with the screen to accept the terms. After they accept they are
        directed to the dashboard.
      - While a session is active:
        - For a GET: The user will be directed to the terms page first,
          after they accept the terms, they will be directed to the page
          they were going to
        - For any other request: They are directed to the terms, after they
          accept the terms, they are directed back to the page they came
          from to retry the request. Any information entered would be
          persisted in localstorage and available on the page.
      7684217d
    • Bob Van Landuyt's avatar
      Allow a user to accept/decline terms · 10aa55a7
      Bob Van Landuyt authored
      When a user accepts, we store this in the agreements to keep track of
      which terms they accepted. We also update the flag on the user.
      10aa55a7
    • Bob Van Landuyt's avatar
      Display terms to a user · 3629dc33
      Bob Van Landuyt authored
      When terms are present, they can be viewed on `/-/users/terms`.
      3629dc33
Loading