1. 07 May, 2018 6 commits
  2. 06 May, 2018 10 commits
  3. 05 May, 2018 7 commits
  4. 04 May, 2018 12 commits
  5. 03 May, 2018 5 commits
    • ThibG's avatar
      Fixes/do not override timestamps (#7336) · a2460596
      ThibG authored
      * Revert "Fixes/do not override timestamps (#7331)"
      
      This reverts commit 581a5c9d.
      
      * Document Snowflake ID corner-case a bit more
      
      Snowflake IDs are used for two purposes: making object identifiers harder to
      guess and ensuring they are in chronological order. For this reason, they
      are based on the `created_at` attribute of the object.
      
      Unfortunately, inserting items with older snowflakes IDs will break the
      assumption of consumers of the paging APIs that new items will always have
      a greater identifier than the last seen one.
      
      * Add `override_timestamps` virtual attribute to not correlate snowflake ID with created_at
      a2460596
    • ThibG's avatar
    • Akihiko Odaki's avatar
      a7e71bbd
    • Akihiko Odaki's avatar
      Throttle media post (#7337) · b1d4471e
      Akihiko Odaki authored
      The previous rate limit allowed to post media so fast that it is possible
      to fill up the disk space even before an administrator notices. The new
      rate limit is configured so that it takes 24 hours to eat 10 gigabytes:
      10 * 1024 / 8 / (24 * 60 / 30) = 27 (which rounded to 30)
      
      The period is set long so that it does not prevent from attaching several
      media to one post, which would happen in a short period. For example,
      if the period is 5 minutes, the rate limit would be:
      10 * 1024 / 8 / (24 * 60 / 5) = 4
      
      This long period allows to lift the limit up.
      b1d4471e
    • Yamagishi Kazutoshi's avatar
      Add el and te (#7332) · 7495a347
      Yamagishi Kazutoshi authored
      * Add el and te
      
      * Add missing locale files
      7495a347