summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* Fix Sidekiq scheduling_latency_ssh-fix-sidekiq-scheduling-latencyStan Hu2019-08-081-2/+2
| | | | | | | This number was reporting a negative number because `current_time` was a monotonic counter, not an absolute time. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/65748
* Add a field for released_at to GH importerCindy Pallares 🦉2019-08-091-2/+5
|
* Merge branch 'sh-rename-githost-to-gitjson' into 'master'Mayra Cabrera2019-08-081-1/+1
|\ | | | | | | | | Rename githost.log -> git_json.log See merge request gitlab-org/gitlab-ce!31634
| * Rename githost.log -> git_json.logStan Hu2019-08-081-1/+1
| | | | | | | | | | | | The githost.log name was often confused with GitHost.io. Rename this to git_json.log to make it clear it's coming from Git and that it's JSON data.
* | Merge branch 'jejacks0n-remove-bad-spec' into 'master'Tim Zallmann2019-08-081-7/+0
|\ \ | |/ |/| | | | | Clean up an incomplete thought as a spec See merge request gitlab-org/gitlab-ce!31541
| * Clean up an incomplete thought as a specjejacks0n-remove-bad-specjejacks0n2019-08-061-7/+0
| |
* | Bring scoped environment variables to coreHordur Freyr Yngvason2019-08-0811-4/+339
| | | | | | | | As decided in https://gitlab.com/gitlab-org/gitlab-ce/issues/53593
* | Record usage on snippet usageMark Chao2019-08-086-0/+164
| | | | | | | | Generalize wiki page counter for other page types to extend to.
* | Merge branch '63181-collapsible-line' into 'master'Kushal Pandya2019-08-083-3/+37
|\ \ | | | | | | | | | | | | | | | | | | Makes section title clickable and collapsible Closes #63181 See merge request gitlab-org/gitlab-ce!31571
| * | Makes title section collapsible63181-collapsible-lineFilipa Lacerda2019-08-073-3/+37
| |/ | | | | | | | | In the job log, if the user clicks the section title the job log section will be collapsed
* | CE port for bulk updating group labelsEugenia Grieff2019-08-081-151/+168
| | | | | | | | - Original EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14827
* | Merge branch '20137-starrers' into 'master'Stan Hu2019-08-089-25/+319
|\ \ | | | | | | | | | | | | | | | | | | Add possibilty to view starrers ("stargazers") of a repository & any user's starred repositories Closes #20137 See merge request gitlab-org/gitlab-ce!24690
| * | Fix public/private starrers counts in special cases20137-starrersCamil Staps2019-08-071-5/+38
| | |
| * | Handle reviewer comments on !24690Camil Staps2019-08-073-6/+12
| | |
| * | Address reviewer commentsCamil Staps2019-08-071-1/+1
| | |
| * | Fix test styleCamil Staps2019-08-071-3/+4
| | |
| * | Add tests for starrers viewsCamil Staps2019-08-075-1/+255
| | |
| * | Add /starrers view for projectsCamil Staps2019-08-074-24/+24
| | |
* | | Simplify getTimeDiff functionSimon Knox2019-08-084-14/+69
| | | | | | | | | | | | Pass keyname instead of translated string
* | | Merge branch 'sh-add-missing-csp-report-uri' into 'master'Mayra Cabrera2019-08-071-1/+3
|\ \ \ | |/ / |/| | | | | | | | Add missing report-uri to CSP config See merge request gitlab-org/gitlab-ce!31593
| * | Add missing report-uri to CSP configsh-add-missing-csp-report-uriStan Hu2019-08-071-1/+3
| | | | | | | | | | | | | | | This is supported in Rails 5.2, although it may be deprecated in the future by reports-to.
* | | Save instance administration project id in DBReuben Pereira2019-08-073-32/+94
| | | | | | | | | | | | | | | - This will make it easy to identify the project even if admins change the name of the project or move it.
* | | Support dashboard params for metrics dashboardSarah Yasonik2019-08-079-11/+519
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/issues/62971 Adds support to EnvironmentsController#metrics_dashboard for the following params: group, title, y_label These params are used to uniquely identify a panel on the metrics dashboard. Metrics are stored in several places, so this adds utilities to find a specific panel from the database or filesystem depending on the metric specified. Also moves some shared utilities into separate classes, notably default values and errors.
* | | Do not persist notes filter when auto-switchingHeinrich Lee Yu2019-08-073-1/+41
| | | | | | | | | | | | | | | | | | Send a `persist_filter: false` param to backend when opening links to notes and auto-switching to show all notes
* | | Merge branch '65705-two-buttons' into 'master'Kushal Pandya2019-08-071-1/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Removes duplicate button from job log page Closes #65705 See merge request gitlab-org/gitlab-ce!31544
| * | | Removes duplicate button65705-two-buttonsFilipa Lacerda2019-08-061-1/+7
| | |/ | |/| | | | | | | | | | Prevents manual action button from being rendered twice in the job log empty state
* | | Initial commit of WIP code for considerationKerri Miller2019-08-071-0/+11
| | | | | | | | | | | | Squash this commit and reword before merging..
* | | Merge branch '47814-search-view-labels' into 'master'Paul Slaughter2019-08-075-2/+70
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | Resolve "Selected project in the search view is not fully readable" Closes #47814 See merge request gitlab-org/gitlab-ce!31137
| * | Limiting search-field styling to search only47814-search-view-labelsDenys Mishunov2019-08-071-1/+1
| | | | | | | | | | | | | | | | | | - Re-organising search.scss - Rely more on utility-classes instead of component classes - Update relevant specs
| * | Properly labelling fields on Search pageDenys Mishunov2019-08-072-0/+31
| | | | | | | | | | | | | | | Adding proper <label>s while removing labels from the fields themselves. This gives more space for the field's content
| * | Replaced breadcrumbs with title on Search pageDenys Mishunov2019-08-072-1/+38
| | |
* | | Merge branch 'sh-disable-registry-delete' into 'master'Thong Kuah2019-08-071-0/+12
|\ \ \ | |/ / |/| | | | | | | | Don't attempt to contact registry if it is disabled See merge request gitlab-org/gitlab-ce!31553
| * | Don't attempt to contact registry if it is disabledsh-disable-registry-deleteStan Hu2019-08-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21679 moved the deletion of registry tags outside of a transaction, but introduced an issue where Sidekiq would attempt to contact the container registry during project destruction even if it were disabled. Relates to: * https://gitlab.com/charts/gitlab/issues/1455 * https://gitlab.com/gitlab-org/gitlab-ce/issues/45941
* | | Merge branch 'mc/feature/add-at-colon-variable-masking' into 'master'Grzegorz Bizon2019-08-072-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow masking @ and : characters Closes #63043 See merge request gitlab-org/gitlab-ce!31065
| * | | Allow masking @ and : charactersMatija Čupić2019-07-232-2/+2
| | | |
* | | | Clean tmpdirs in metrics endpoint specsPeter Leitzen2019-08-071-1/+8
| | | |
* | | | Merge branch 'sh-support-csp-nonce' into 'master'Ash McKenzie2019-08-071-0/+59
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Content-Security-Policy Closes #65330 See merge request gitlab-org/gitlab-ce!31402
| * | | | Add support for Content-Security-PolicyStan Hu2019-08-071-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A nonce-based Content-Security-Policy thwarts XSS attacks by allowing inline JavaScript to execute if the script nonce matches the header value. Rails 5.2 supports nonce-based Content-Security-Policy headers, so provide configuration to enable this and make it work. To support this, we need to change all `:javascript` HAML filters to the following form: ``` = javascript_tag nonce: true do :plain ... ``` We use `%script` throughout our HAML to store JSON and other text, but since this doesn't execute, browsers don't appear to block this content from being used and require the nonce value to be present.
* | | | | Use separate Kubernetes namespaces per environmentTiger Watson2019-08-0720-371/+626
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kubernetes deployments on new clusters will now have a separate namespace per project environment, instead of sharing a single namespace for the project. Behaviour of existing clusters is unchanged. All new functionality is controlled by the :kubernetes_namespace_per_environment feature flag, which is safe to enable/disable at any time.
* | | | | Convert RestClient to Gitlab::HTTP for Prometheus MonitorDavid Wilkins2019-08-0711-32/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Closes #60024 - Change PrometheusClient.new to accept a base url instead of an already created RestClient - Use Gitlab::HTTP in PrometheusClient instead of creating RestClient in PrometheusService - Move http_options from PrometheusService to PrometheusClient (follow_redirects: false) - ensure that base urls don't have the trailing slash - Created a `PrometheusClient#url` method that might not be strictly required - Change rescued exceptions from RestClient::* to HTTParty::ResponseError where possible and StandardError for the rest
* | | | | Fix nil take regressionmc/bug/nil-takeMatija Čupić2019-08-071-14/+21
| |_|/ / |/| | |
* | | | Merge branch 'analytics-top-nav' into 'master'Clement Ho2019-08-061-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add top navigation analytics link See merge request gitlab-org/gitlab-ce!30324
| * | | | Add top navigation analytics linkanalytics-top-navLuke Bennett2019-08-061-1/+1
| |/ / /
* | | | Merge branch '65152-selective-highlight' into 'master'Bob Van Landuyt2019-08-062-3/+57
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Support selective highlighting of lines See merge request gitlab-org/gitlab-ce!31361
| * | | Support selective highlighting of lines65152-selective-highlightPatrick Bajao2019-08-062-3/+57
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of highlighting all lines when not all of them are needed, only highlight specific lines. The `BlobPresenter#highlight` method has been updated to support `since` and `to` params. These params will be used to limit the content to be highlighted. Modify `Gitlab::Highlight` to support `since` param which will then be used to determine the starting line number.
* | | Merge branch '43080-speed-up-deploy-keys' into 'master'Thong Kuah2019-08-062-8/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Improve the performance of viewing deploy keys Closes #43080 See merge request gitlab-org/gitlab-ce!31384
| * | | Add spec for User#accessible_deploy_keysStan Hu2019-08-051-0/+18
| | | |
| * | | Speed up loading and filtering deploy keys and their projectsNick Thomas2019-08-051-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes how we eager-load projects, routes, and namespaces required by the deploy keys endpoint, getting a 10x improvement in my local testing. The endpoint still doesn't scale in-general, but going from ~13 seconds to dump a 63K result to generating the same thing in ~1.6 seconds seems like a good improvement to me.
* | | | Merge branch 'make-issue-boards-importable' into 'master'Sean McGivern2019-08-065-1/+109
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Make issue boards importable See merge request gitlab-org/gitlab-ce!31434
| * | | | Make issue boards importableJason Colyer2019-08-025-1/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added Importable to models/list.rb - Did unless: :importable? on board validation - Created changelog - Modified haml to show issue boards are importable - Added needed spec tests - Modified project.json to include board information - Added relevant models to all_models - Added relevant models to import_export - Added relevant models to safe_model_attributes