1. 10 3月, 2016 2 次提交
  2. 05 3月, 2016 1 次提交
  3. 20 2月, 2016 2 次提交
  4. 04 2月, 2016 4 次提交
  5. 03 2月, 2016 3 次提交
  6. 02 2月, 2016 1 次提交
    • K
      Make the CI permission model simpler · 055afab5
      Kamil Trzcinski 提交于
      This MR simplifies CI permission model:
      - read_build: allows to read a list of builds, artifacts and trace
      - update_build: allows to cancel and retry builds
      - create_build: allows to create builds from gitlab-ci.yml (not yet implemented)
      - admin_build: allows to manage triggers, runners and variables
      - read_commit_status: allows to read a list of commit statuses (including the overall of builds)
      - create_commit_status: allows to create a new commit status using API
      
      Remove all extra methods to manage permission.
      Made all controllers to use explicitly the new permissions.
      055afab5
  7. 15 1月, 2016 1 次提交
  8. 14 1月, 2016 1 次提交
  9. 04 1月, 2016 1 次提交
  10. 16 12月, 2015 1 次提交
    • J
      Avoid allocations in Ability class. · 03a40a7e
      Jason Lee 提交于
      It won't change anything after they are first invoke, so add method cache to avoid allocations and avoid GC.
      
      Benchmarks:
      
      ```
      Calculating -------------------------------------
      project_guest_rules without method cache
                              79.352k i/100ms
      project_guest_rules with method cache
                              93.634k i/100ms
      -------------------------------------------------
      project_guest_rules without method cache
                                2.865M (±32.5%) i/s -     11.982M
      project_guest_rules with method cache
                                4.419M (± 7.4%) i/s -     22.004M
      
      Comparison:
      project_guest_rules with method cache:  4418908.0 i/s
      project_guest_rules without method cache:  2864514.0 i/s - 1.54x slower
      
      Calculating -------------------------------------
      project_report_rules without method cache
                              53.126k i/100ms
      project_report_rules with method cache
                              97.473k i/100ms
      -------------------------------------------------
      project_report_rules without method cache
                                1.093M (±36.5%) i/s -      4.675M
      project_report_rules with method cache
                                4.420M (± 7.2%) i/s -     22.029M
      Comparison:
      project_report_rules with method cache:  4420054.3 i/s
      project_report_rules without method cache:  1092509.6 i/s - 4.05x slower
      ```
      
      https://gist.github.com/huacnlee/b04788ae6df42fe769e4
      03a40a7e
  11. 02 12月, 2015 2 次提交
  12. 18 11月, 2015 1 次提交
  13. 17 11月, 2015 2 次提交
  14. 16 11月, 2015 1 次提交
  15. 12 11月, 2015 1 次提交
  16. 11 11月, 2015 1 次提交
  17. 10 11月, 2015 1 次提交
    • K
      Implement Build Artifacts · d0e3e823
      Kamil Trzcinski 提交于
      - Offloads uploading to GitLab Workhorse
      - Use /authorize request for fast uploading
      - Added backup recipes for artifacts
      - Support download acceleration using X-Sendfile
      d0e3e823
  18. 03 11月, 2015 2 次提交
  19. 30 10月, 2015 1 次提交
  20. 14 10月, 2015 1 次提交
  21. 13 10月, 2015 1 次提交
  22. 12 10月, 2015 1 次提交
  23. 14 9月, 2015 1 次提交
  24. 09 9月, 2015 2 次提交
  25. 28 7月, 2015 1 次提交
  26. 25 7月, 2015 1 次提交
  27. 20 7月, 2015 2 次提交
    • D
      Fix access to disabled features for unauthenticated users · 4a0e4c85
      Daniel Gerhardt 提交于
      Unauthenticated users had access to disabled features of public
      projects. The code has been slightly refactored so that feature checks
      are done in a separate method and can also be applied for public access.
      4a0e4c85
    • D
      Fix label read access for unauthenticated users · 69417d36
      Daniel Gerhardt 提交于
      The label page was added to navigation for unauthorized users because
      the previously used milestone read permission was still checked. This
      has been fixed and read access to labels is now granted (again) for
      public projects.
      
      This regression has been introduced in
      07efb17e (7.12).
      
      See also 9bcd3639.
      
      Refs !836, !842.
      69417d36
  28. 30 6月, 2015 1 次提交