1. 10 9月, 2019 1 次提交
  2. 05 9月, 2019 3 次提交
  3. 04 9月, 2019 2 次提交
  4. 03 9月, 2019 3 次提交
  5. 02 9月, 2019 1 次提交
    • A
      Replace indexes for counting active users · 5b4108f0
      Andreas Brandl 提交于
      This adjusts the partial condition for an index. The index is intended
      to be used when counting active users with `ghost IS NOT TRUE AND
      bot_type IS NULL`.
      
      With the current index, this wasn't working as the partial condition
      didn't match the query: `ghost <> TRUE` is not semantically equivalent
      to `ghost IS NOT TRUE` (null semantics).
      
      The reason we add an index particularly intended for EE is that the EE
      query is going to have the additional part `AND bot_type IS NULL`
      whereas the CE query doesn't. Logically, it'd be enough to have an index
      for `ghost IS NOT TRUE`. However, on GitLab.com, the query planner makes
      poor choices when the additional `AND bot_type IS NULL` part is present:
      It goes for the index on `bot_type` and doesn't use the partial index.
      
      Note the existing index isn't being used at all according to GitLab.com
      index statistics. Hence we can first remove it and don't have to worry
      about the window of time without an index.
      
      Relates to https://gitlab.com/gitlab-org/gitlab-ce/issues/66770
      5b4108f0
  6. 30 8月, 2019 2 次提交
  7. 29 8月, 2019 3 次提交
  8. 28 8月, 2019 2 次提交
  9. 27 8月, 2019 4 次提交
  10. 24 8月, 2019 2 次提交
  11. 21 8月, 2019 2 次提交
  12. 17 8月, 2019 2 次提交
    • G
      Add new table to store email domain · 3b32ac56
      Gosia Ksionek 提交于
      In order to save user preferences regarding
      user emails allowed to be invited to group
      
      Add foreign_key and down method
      
      Change adding foreign key
      
      Add partial call to view
      
      Add changelog entry
      
      Fix schema
      3b32ac56
    • M
      Optimize DB indexes for ES indexing of notes · a3e71610
      Markus Koller 提交于
      To index notes, we exclude system notes and use `find_in_batches` to
      load them in batches for submission to the ES bulk import API.
      These queries often result in DB timeouts because the usage of
      `ORDER BY id` results in the `notes_pkey` index being used.
      
      This adds an optimized partial index, and removes the unused index
      `index_notes_on_noteable_type` which is already covered for our
      usage by the existing `index_notes_on_noteable_id_and_noteable_type`.
      
      Newer versions of PostgreSQL (at least 11) are smarter about this and
      use `index_notes_on_project_id_and_noteable_type` instead, so we might
      be able to remove the partial index again in the future.
      a3e71610
  13. 16 8月, 2019 2 次提交
    • A
      Migrations for Cycle Analytics backend · ca6cfde5
      Adam Hegyi 提交于
      This change lays the foundation for customizable cycle analytics stages.
      The main reason for the change is to extract the event definitions to
      separate objects (start_event, end_event) so that it could be easily
      customized later on.
      ca6cfde5
    • B
      Allow disabling group/project email notifications · 3489dc3d
      Brett Walker 提交于
      - Adds UI to configure in group and project settings
      - Removes notification configuration for users when
      disabled at group or project level
      3489dc3d
  14. 15 8月, 2019 1 次提交
  15. 14 8月, 2019 1 次提交
  16. 09 8月, 2019 1 次提交
  17. 08 8月, 2019 2 次提交
  18. 07 8月, 2019 3 次提交
  19. 06 8月, 2019 1 次提交
  20. 05 8月, 2019 2 次提交