1. 06 2月, 2019 1 次提交
  2. 26 12月, 2018 1 次提交
  3. 27 7月, 2018 1 次提交
  4. 05 6月, 2018 1 次提交
  5. 23 5月, 2018 1 次提交
  6. 16 5月, 2018 2 次提交
    • J
      Changed order of include · 32e22468
      Jan Provaznik 提交于
      32e22468
    • J
      Delete remote uploads · 7da3b2cd
      Jan Provaznik 提交于
      ObjectStore uploader requires presence of associated `uploads` record
      when deleting the upload file (through the carrierwave's after_commit
      hook) because we keep info whether file is LOCAL or REMOTE in `upload`
      object.
      
      For this reason we can not destroy uploads as "dependent: :destroy" hook
      because these would be deleted too soon. Instead we rely on
      carrierwave's hook to destroy `uploads` in after_commit hook.
      
      But in before_destroy hook we still have to delete not-mounted uploads
      (which don't use carrierwave's destroy hook). This has to be done in
      before_Destroy instead of after_commit because `FileUpload` requires
      existence of model's object on destroy action.
      
      This is not ideal state of things, in a next step we should investigate
      how to unify model dependencies so we can use same workflow for all
      uploads.
      
      Related to #45425
      7da3b2cd
  7. 06 4月, 2018 1 次提交
  8. 01 3月, 2018 3 次提交
  9. 02 2月, 2018 1 次提交
  10. 05 12月, 2017 1 次提交
  11. 10 8月, 2017 1 次提交
    • Y
      Cache Appearance instances in Redis · 26bb5041
      Yorick Peterse 提交于
      This caches the result of Appearance.first in a similar fashion to how
      ApplicationSetting instances are cached. We also add some NOT NULL
      constraints to the table and correct the timestamp types.
      
      Fixes gitlab-org/gitlab-ce#36066, fixes gitlab-org/gitlab-ce#31698
      26bb5041
  12. 06 7月, 2017 1 次提交
    • Y
      Added Cop to blacklist the use of `dependent:` · 8fbbf41e
      Yorick Peterse 提交于
      This is allowed for existing instances so we don't end up 76 offenses
      right away, but for new code one should _only_ use this if they _have_
      to remove non database data. Even then it's usually better to do this in
      a service class as this gives you more control over how to remove the
      data (e.g. in bulk).
      8fbbf41e
  13. 07 3月, 2017 1 次提交
  14. 07 10月, 2016 1 次提交
    • N
      Add markdown cache columns to the database, but don't use them yet · e94cd6fd
      Nick Thomas 提交于
      This commit adds a number of _html columns and, with the exception of Note,
      starts updating them whenever the content of their partner fields changes.
      
      Note has a collision with the note_html attr_accessor; that will be fixed later
      
      A background worker for clearing these cache columns is also introduced - use
      `rake cache:clear` to set it off. You can clear the database or Redis caches
      separately by running `rake cache:clear:db` or `rake cache:clear:redis`,
      respectively.
      e94cd6fd
  15. 03 6月, 2016 2 次提交
  16. 10 5月, 2016 1 次提交
    • J
      Remove the annotate gem and delete old annotations · f1479b56
      Jeroen van Baarsen 提交于
      In 8278b763 the default behaviour of annotation
      has changes, which was causing a lot of noise in diffs. We decided in #17382
      that it is better to get rid of the whole annotate gem, and instead let people
      look at schema.rb for the columns in a table.
      
      Fixes: #17382
      f1479b56
  17. 06 5月, 2016 1 次提交
  18. 26 2月, 2016 1 次提交
    • Z
      Branded login page also in CE · 9a2869ab
      Zeger-Jan van de Weg 提交于
      The only major difference with the EE version is the change from a light and dark logo to only a header logo
      The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
      9a2869ab