1. 14 Jun, 2016 2 commits
  2. 13 Jun, 2016 2 commits
  3. 10 Jun, 2016 7 commits
    • Harrison Healey's avatar
      619827fe
    • enahum's avatar
    • Martin Schenck's avatar
      PLT-2058 Debugging incoming web hook content (#3150) · 737b3950
      Martin Schenck authored
      * PLT-2058 Debugging incoming web hook content
      
      This change debugs contents of incoming webhooks using l4g.
      
      The problem is that in order to debug the request body, it neads to be
      read. And a Reader can only be read once. Hence, the body is only read
      for Debugging if it is actually enabled. Furthermore, a new reader is
      created from the content of the old reader in order for the rest of the
      method to work as usual (with or without debugging).
      
      The debug statement is wrapped in a closure, so that the content is
      only copied if Debug is actually enabled.
      
      It is not possible to return `(string, string)` from the closure to
      `l4g.Debug()`. That is the reason the debugging is not done with `=%v`,
      but the translations strings end with a space.
      
      I tested the change with a `application/json` HTTP header as well as
      `payload=`
      
      The debug method is extracted into util/log.go in order to be re-usable
      for debugging `io.Reader`
      
      * Added a config flag to turn off incoming webhook debugging
      
      Setting `EnableWebhookDebugging` to false in the `config.json` will
      disable the printing of the content of incoming webhooks to the console
      
      * Defaulting webhook debugging to true
      
      * Added the setting of debugging incoming webhooks to the system console
      737b3950
    • samogot's avatar
      Scrolling fixes (#3200) · 32ab6e85
      samogot authored
      * scrolling fixes:
      - jumps on free scroll when somebody posts a new message (and old one disappears at top)
      - jumps on closing RHS (no compensation of resize)
      - scroll blinking on opening/closing RHS (delay before resize compensation)
      
      * fix scroll slipping up on multiple open/close RHS in case when (this.refs.postlist.offsetHeight % Constants.SCROLL_PAGE_FRACTION === 0)
      32ab6e85
    • Anthony M. Powers's avatar
      PLT-3156 Typo in 'Edit Nickname' message when nickname is set through login provider (#3204) · f3fd8179
      Anthony M. Powers authored
      * Fixed a typo to an error message regarding editing an account field handled by a login provider. (PLT-3156)
      
      * Added 'field_handled_externally' to the en language file.
      Other languages are needed.
      f3fd8179
    • enahum's avatar
      daily translations 20160609 (#3305) · d48fcf76
      enahum authored
      d48fcf76
    • Kevyn Bruyere's avatar
  4. 09 Jun, 2016 8 commits
  5. 07 Jun, 2016 10 commits
  6. 06 Jun, 2016 11 commits