Skip to content
Snippets Groups Projects
  1. Dec 10, 2019
  2. Dec 09, 2019
    • Eugenia Grieff's avatar
      Add GraphQL endpoint for group issues timelogs · c895dc26
      Eugenia Grieff authored
      This will return data containing time tracked
      for the group issues by group members and within
      a time frame (limited to 60 days)
      
      To get the collection of timelogs for a certain
      group we include in Group a new concern
      HasTimelogsReport that will use Timelog scopes
      to filter results.
      
      We use a TimelogPresenter to display additional
      fields in TimelogType
      
      Group timelogs is a premium feature so we added
      group_timelogs feature to license
      
      TimelogType is authorized with read_group_timelogs
      permission that checks for a minimun access level of
      reporter and group_timelogs feature being available
      Refactor changes to improve code quality
      
      - Include subgroups in Issue and Timelog scopes
      - Field timelogs in GroupType is never null
      - Add error to object validation in TimelogResolver
      - Use fields UserType and IssueType  in TimelogType
      - Improve rule in GroupPolicy
      - Remove redundant TimelogPresenter
      - Add missing specs for new scopes
      - Extend specs for GroupType and  TimelogType
      - Add new matcher fon non null graphql fields
      
      Update GraphQL schema
      Add index for spent_at in timelogs table
      
      Fix Timelog scope to use group descendants
      c895dc26
    • Sebastián Arcila Valenzuela's avatar
      Personal Access Token expiration notification · 2d3a71c4
      Sebastián Arcila Valenzuela authored and Imre (Admin)'s avatar Imre (Admin) committed
      It adds a worker (cron) that runs every day at 1AM that will notify the
      user that some of its tokens are about to be expired.
      2d3a71c4
    • David Fernandez's avatar
      Add NPM dependencies support · 899e36f7
      David Fernandez authored
      
      Add `Packages::Dependency` and `Packages::DependencyLink`
        models
      Add or update related services
      Update `NpmPackagePresenter` to properly include dependencies
      
      Co-Authored-By: default avatarSara Ahbabou <sahbabou@gitlab.com>
      899e36f7
    • Shinya Maeda's avatar
      Persist and control auto stop date for environments · 189565fa
      Shinya Maeda authored
      This commit persists and controls auto stop date for environments
      189565fa
  3. Dec 06, 2019
  4. Dec 05, 2019
  5. Dec 04, 2019
  6. Dec 02, 2019
  7. Nov 29, 2019
    • Francisco Javier López's avatar
      Add limit to snippet content size · c02587ed
      Francisco Javier López authored
      This commit add a setting to snippets in order
      to set a max limit to the content.
      
      It can only be set through the Rails console
      or the API.
      
      The limit will affect to new snippets and existing
      ones when the content is updated.
      
      The default limit is 50MB.
      Unverified
      c02587ed
    • Nicolas Dular's avatar
      Add path based targeting to broadcast messages · 604b3f8a
      Nicolas Dular authored
      This adds `target_path` to `BroadcastMessages` to allow to show
      broadcast messages at certain URLs.
      To match complex URLs, we allow to use `*` as wildcard characters for
      the `target_url`. Since SQL is using `%` for wildcards, we need to
      replace these characters in our query.
      604b3f8a
  8. Nov 28, 2019
  9. Nov 27, 2019
  10. Nov 26, 2019
    • Arturo Herrero's avatar
      Encrypt application settings with pre and post deployments · e28f58ec
      Arturo Herrero authored and Alessio Caiazza's avatar Alessio Caiazza committed
      We had concerns about the cached values on Redis with the previous two
      releases strategy:
      
      First release (this commit):
        - Create new encrypted fields in the database.
        - Start populating new encrypted fields, read the encrypted fields or
          fallback to the plaintext fields.
        - Backfill the data removing the plaintext fields to the encrypted
          fields.
      Second release:
        - Remove the virtual attribute (created in step 2).
        - Drop plaintext columns from the database (empty columns after
          step 3).
      
      We end up with a better strategy only using migration scripts in one
      release:
        - Pre-deployment migration: Add columns required for storing encrypted
          values.
        - Pre-deployment migration: Store the encrypted values in the new
          columns.
        - Post-deployment migration: Remove the old unencrypted columns
      e28f58ec
    • Arturo Herrero's avatar
      Encrypt application setting tokens · a1e4bc7c
      Arturo Herrero authored and Alessio Caiazza's avatar Alessio Caiazza committed
      This is the plan to encrypt the plaintext tokens:
      
      First release (this commit):
        1. Create new encrypted fields in the database.
        2. Start populating new encrypted fields, read the encrypted fields or
           fallback to the plaintext fields.
        3. Backfill the data removing the plaintext fields to the encrypted fields.
      
      Second release:
        4. Remove the virtual attribute (created in step 2).
        5. Drop plaintext columns from the database (empty columns after step 3).
      a1e4bc7c
    • Ho Tuan Duong's avatar
      Add ability to make Jira comments optional · 3eee5743
      Ho Tuan Duong authored and Bob Van Landuyt :neckbeard:'s avatar Bob Van Landuyt :neckbeard: committed
      - Add column to store setting
      - Update views, controller and params to handle updating the setting
      - Add logic to jira_service to disable comments
      3eee5743
  11. Nov 25, 2019
    • Adam Hegyi's avatar
      Label based CA event query · 3864f874
      Adam Hegyi authored
      - Implement query to join `resource_label_events` table.
      - Extend the event serializer to show if an event is label based.
      - Expose the label in a stage if the event is label based.
      - Add missing event pairs for Issue events.
      3864f874
    • Manoj M J's avatar
      Add migrations for 'soft-delete for groups' feature · 5033f628
      Manoj M J authored
      This change adds database changes required
      for 'soft-delete for groups' feature
      5033f628
  12. Nov 22, 2019
  13. Nov 21, 2019
  14. Nov 20, 2019
  15. Nov 19, 2019
Loading