This project is mirrored from https://github.com/hackmdio/hackmd. Pull mirroring updated .
  1. 18 May, 2020 5 commits
  2. 17 May, 2020 4 commits
  3. 16 May, 2020 2 commits
  4. 15 May, 2020 1 commit
  5. 13 May, 2020 2 commits
  6. 11 May, 2020 2 commits
  7. 04 May, 2020 1 commit
    • tarlety's avatar
      Fix session flood issue after prometheus metrics are implemented. · ac31e51d
      tarlety authored
      Root cause:
      - prometheus metrics '/metrics/codimd' exported by 3ca0341 are still in 'routes need sessions' section.
      - prometheus scrapes metrics repeatedly.
      - new session created every time while prometheus scrapes metrics '/metrics/codimd'.
      
      Solution:
      - move /metrics/codimd from lib/routes.js to lib/metrics.js.
      - move /metrics/codimd from section 'routes need sessions' of app.js to 'routes without sessions'.
      Signed-off-by: default avatartarlety <tarlety@gmail.com>
      ac31e51d
  8. 01 May, 2020 2 commits
  9. 29 Apr, 2020 1 commit
  10. 25 Apr, 2020 2 commits
  11. 20 Apr, 2020 1 commit
    • Rafal Proszowski's avatar
      Fix GitHub's avatar URL · e1977a1d
      Rafal Proszowski authored
      At the moment, the URL is being composed and modified with the use of
      string composition.
      
      This causes issues, if the URL returned by GitHub slightly differs from
      the time developer initially had a look into it.
      
      In our case, the URL from GitHub has two query parameters in it, whilst
      the codebase only expected one.
      
      This change will take all of these parameters and only set the one we
      care about, whilst leaving others intact and carry on with the full URL.
      
      Fixes #1489
      Signed-off-by: default avatarRafal Proszowski <paroxp@gmail.com>
      e1977a1d
  12. 19 Apr, 2020 9 commits
  13. 11 Apr, 2020 3 commits
  14. 09 Apr, 2020 4 commits
  15. 05 Apr, 2020 1 commit