1. 15 8月, 2018 1 次提交
  2. 07 8月, 2018 1 次提交
    • P
      Web IDE & CodeSandbox · 7b4b9e1c
      Phil Hughes 提交于
      This enables JavaScripts projects to have live previews straight in the
      browser without requiring any local configuration. This uses the
      CodeSandbox package `sandpack` to compile it all inside of an iframe.
      
      This feature is off by default and can be toggled on in the admin
      settings. Only projects with a `package.json` and a `main` key are
      supported.
      
      Updates happen in real-time with hot-reloading. We just watch for
      changes to files and then send them to `sandpack` to allow it to reload
      the iframe. The iframe includes a very simple navigation bar, the text
      bar is `readonly` to stop users navigating away from the preview and
      the back and forward buttons just pop/splice the navigation stack
      which is tracked by a listener on `sandpack`
      
      There is a button inside the iframe which allows the user to open the
      projects inside of CodeSandbox. This button is only visible on
      **public** projects. On private or internal projects this button
      get hidden to protect private code being leaked into an external
      public URL.
      
      Closes #47268
      7b4b9e1c
  3. 04 8月, 2018 1 次提交
  4. 10 7月, 2018 1 次提交
  5. 26 6月, 2018 1 次提交
  6. 22 6月, 2018 1 次提交
  7. 13 6月, 2018 1 次提交
  8. 09 6月, 2018 1 次提交
    • B
      Users can accept terms during registration · 3d713ac1
      Bob Van Landuyt 提交于
      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
  9. 08 6月, 2018 1 次提交
  10. 07 5月, 2018 2 次提交
  11. 04 5月, 2018 2 次提交
    • B
      Enforces terms in the web application · 7684217d
      Bob Van Landuyt 提交于
      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
    • B
      Store application wide terms · 3d6d0a09
      Bob Van Landuyt 提交于
      This allows admins to define terms in the application settings.
      
      Every time the terms are adjusted, a new version is stored and becomes
      the 'active' version. This allows tracking which specific version was
      accepted by a user.
      3d6d0a09
  12. 05 4月, 2018 1 次提交
  13. 04 4月, 2018 3 次提交
  14. 02 4月, 2018 1 次提交
  15. 29 3月, 2018 1 次提交
  16. 27 3月, 2018 3 次提交
  17. 26 3月, 2018 1 次提交
  18. 12 7月, 2017 1 次提交
  19. 07 7月, 2017 1 次提交
  20. 20 6月, 2016 2 次提交
  21. 24 6月, 2015 1 次提交
  22. 01 5月, 2015 1 次提交
  23. 09 1月, 2015 1 次提交
  24. 08 1月, 2015 1 次提交