Skip to content
Snippets Groups Projects
  1. Jul 07, 2019
    • ThibG's avatar
      Fix support for HTTP proxies (#11245) · 58276715
      ThibG authored
      * Disable incorrect check for hidden services in Socket
      
      Hidden services can only be accessed with an HTTP proxy, in which
      case the host seen by the Socket class will be the proxy, not the
      target host.
      
      Hidden services are already filtered in `Request#initialize`.
      
      * Use our Socket class to connect to HTTP proxies
      
      Avoid the timeout logic being bypassed
      
      * Add support for IP addresses in Request::Socket
      
      * Refactor a bit, no need to keep the DNS resolver around
      58276715
  2. Jul 06, 2019
  3. Jul 05, 2019
  4. Jul 02, 2019
  5. Jul 01, 2019
  6. Jun 30, 2019
  7. Jun 29, 2019
    • ThibG's avatar
      Optimize makeGetStatus (#11211) · f895bf19
      ThibG authored
      * Optimize makeGetStatus
      
      Because `ImmutableList.filter` always returns a new object and `createSelector`
      memoizes based on object identity, the selector returned by `makeGetStatus`
      would *always* execute.
      
      To avoid that, we wrap `getFilters` into a new memoizer that memoizes based on
      deep equality, thus returning the same object as long as the filters haven't
      changed, allowing the memoization of `makeGetStatus` to work.
      
      Furthermore, we memoize the compiled regexs instead of recomputing them each
      time the selector is called.
      
      * Fix memoized result being cleared too often
      
      * Make notifications use memoized getFiltersRegex
      f895bf19
    • ThibG's avatar
      When sending a toot, ensure a CW is only set if the CW field is visible (#11206) · ccc7fe3e
      ThibG authored
      In some occasions, such as the browser or a browser extension auto-filling
      the existing but disabled/hidden CW field, a CW can be set without the user
      knowing.
      ccc7fe3e
    • ThibG's avatar
  8. Jun 28, 2019
  9. Jun 27, 2019
  10. Jun 26, 2019
  11. Jun 25, 2019
Loading