1. 10 Jul, 2017 3 commits
    • Shinya Maeda's avatar
      Use respond_to · 2c1cbde7
      Shinya Maeda authored
      2c1cbde7
    • Shinya Maeda's avatar
      6361e8e7
    • Shinya Maeda's avatar
      CE feature gropu-level variable · 29342210
      Shinya Maeda authored
      Basic BE change
      
      Fix static-snalysis
      
      Move the precedence of group secure variable before project secure variable. Allow project_id to be null.
      
      Separate Ci::VariableProject and Ci::VariableGroup
      
      Add the forgotton files
      
      Add migration file to update type of ci_variables
      
      Fix form_for fpr VariableProject
      
      Fix test
      
      Change the table structure according to the yorik advice
      
      Add necessary migration files. Remove unnecessary migration spec.
      
      Revert safe_model_attributes.yml
      
      Fix models
      
      Fix spec
      
      Avoid self.variable. Use becomes for correct routing.
      
      Use unique index on group_id and key
      
      Add null: false for t.timestamps
      
      Fix schema version
      
      Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable
      
      Rename the rest of them
      
      Add the rest of files
      
      Basic BE change
      
      Fix static-snalysis
      
      Move the precedence of group secure variable before project secure variable. Allow project_id to be null.
      
      Separate Ci::VariableProject and Ci::VariableGroup
      
      Add the forgotton files
      
      Add migration file to update type of ci_variables
      
      Fix form_for fpr VariableProject
      
      Fix test
      
      Change the table structure according to the yorik advice
      
      Add necessary migration files. Remove unnecessary migration spec.
      
      Revert safe_model_attributes.yml
      
      Fix models
      
      Fix spec
      
      Avoid self.variable. Use becomes for correct routing.
      
      Use unique index on group_id and key
      
      Add null: false for t.timestamps
      
      Fix schema version
      
      Rename VariableProject and VariableGroup to ProjectVariable and GroupVariable
      
      Rename the rest of them
      
      Add the rest of files
      
      Implement CURD
      
      Rename codes related to VariableGroup and VariableProject FE part
      
      Remove unneccesary changes
      
      Make Fe code up-to-date
      
      Add protected flag to migration file
      
      Protected group variables essential package
      
      Update schema
      
      Improve doc
      
      Fix logic and spec for models
      
      Fix logic and spec for controllers
      
       Fix logic and spec for views(pre feature)
      
      Add feature spec
      
      Fixed bugs. placeholder. reveal button. doc.
      
      Add changelog
      
      Remove unnecessary comment
      
      godfat nice catches
      
      Improve secret_variables_for arctecture
      
      Fix spec
      
      Fix StaticAnlysys & path_regex spec
      
      Revert "Improve secret_variables_for arctecture"
      
      This reverts commit c3216ca212322ecf6ca534cb12ce75811a4e77f1.
      
      Use ayufan suggestion for secret_variables_for
      
      Use find instead of find_by
      
      Fix spec message for variable is invalid
      
      Fix spec remove variable.group_id = group.id
      
      godffat spec nitpicks
      
      Use include Gitlab::Routing.url_helpers for presenter spec
      
      Copyedit docs for group-level secret variables
      
      [ci skip]
      
      Wrap additional routes by dash(-). And remove those routes from path_regex.rb.
      
      Add dash for GROUP_ROUTES
      
      Fix variables_controller.rb and format
      
      ayufan nice catches
      
      Use ancestors for avoiding N queries
      
      Add CASE When Clause for saving order when using where IN
      
      secret_variables_for: rails readability versino
      
      Adopt project_variable_path instead of namespace_project_variable_path. (Resolve confilct from master)
      
      gb nice catches
      
      Use new project_variables_path in this MR
      
      Fix to Variable was successfully created
      
      Use variable_params && variable_params_attributes in project variables_controller.rb
      
      Name as variable_params like project variable controller
      29342210
  2. 09 Jul, 2017 1 commit
  3. 08 Jul, 2017 1 commit
  4. 07 Jul, 2017 35 commits