Skip to content
Snippets Groups Projects
  1. Nov 27, 2019
  2. Nov 26, 2019
    • ThibG's avatar
      Fix empty poll options not being filtered on remote poll update (#12484) · 00c219aa
      ThibG authored
      If a poll contains empty options (which is apparently possible on Pleroma),
      it is created without them. However, the poll update code doesn't filter
      empty options, and thus:
      1. Clear known votes, as it assumes the set of options has changed
      2. Errors out because it tries adding empty options, which fails validation
      
      This commit fixes that by filtering them out the same way they are filtered
      out at poll creation time.
      00c219aa
  3. Nov 25, 2019
  4. Nov 24, 2019
  5. Nov 22, 2019
  6. Nov 21, 2019
  7. Nov 20, 2019
  8. Nov 19, 2019
  9. Nov 18, 2019
  10. Nov 17, 2019
    • Eugen Rochko's avatar
      Add cache for OEmbed endpoints to avoid extra HTTP requests (#12403) · d14e74ef
      Eugen Rochko authored
      * add youtube oembed endpoint
      
      * add check for oembed endpoint
      
      * change unless for a more readable if
      
      * clear blank lines
      
      * endpoint via https
      
      * Fix string literal in condition
      
      * use cache for endpoints
      
      * use cache for endpoints
      
      * clean up and adding check
      
      * clean up and remove redundant return
      
      * add html check
      
      * add false to return
      
      * use double quotes
      
      * use double quotes
      
      * Clean up
      d14e74ef
Loading