summaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Starrers view: fix search bar when a query did not match anythingCamil Staps2019-08-071-1/+1
|
* Starrers view: fix search icon, change placeholder, fix "no starrers" when ↵Camil Staps2019-08-071-11/+14
| | | | search does not match
* Refactor UsersController to present personal, contributed and starred ↵Camil Staps2019-08-071-19/+7
| | | | projects in the same way
* Avoid unnecessary includes in StarredProjectsFinderCamil Staps2019-08-071-1/+1
|
* Add pagination to {user}/starred viewCamil Staps2019-08-071-3/+5
|
* Rewrite StarredProjectsFinder to use ProjectsFinderCamil Staps2019-08-072-30/+5
|
* Add pagination to {project}/starrers viewCamil Staps2019-08-075-20/+12
|
* Change sorting options for starrers: name (asc/desc), most/least recent starCamil Staps2019-08-078-20/+84
|
* Fix code styleCamil Staps2019-08-071-1/+1
|
* Add message on starrers view when nobody has starred a repository yetCamil Staps2019-08-071-18/+22
|
* Make sure starred_since is of the requested project in StarrersController; ↵Camil Staps2019-08-072-13/+3
| | | | cleanup
* Add "Starred projects" tab to user overviewCamil Staps2019-08-075-3/+67
|
* Add starring date to overview of starrersCamil Staps2019-08-075-17/+31
|
* 4-column table layout for starrers viewCamil Staps2019-08-073-2/+19
|
* Add links to starrers in lists of projectsCamil Staps2019-08-071-1/+3
|
* Add /starrers view for projectsCamil Staps2019-08-0712-42/+174
|
* Save instance administration project id in DBReuben Pereira2019-08-073-20/+96
| | | | | - 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-078-21/+272
| | | | | | | | | | | | | | | | 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-074-10/+18
| | | | | | 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/+1
|\ | | | | | | | | | | | | 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/+1
| | | | | | | | | | Prevents manual action button from being rendered twice in the job log empty state
* | Merge branch '47814-search-view-labels' into 'master'Paul Slaughter2019-08-075-36/+61
|\ \ | | | | | | | | | | | | | | | | | | 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-073-33/+48
| | | | | | | | | | | | | | | | | | - Re-organising search.scss - Rely more on utility-classes instead of component classes - Update relevant specs
| * | Increasing width of filter dropdownsMarcel van Remmerden2019-08-071-6/+11
| | |
| * | Updated Search JS handler to not use defaultLabelDenys Mishunov2019-08-071-6/+0
| | | | | | | | | | | | - Changelog entry
| * | Properly labelling fields on Search pageDenys Mishunov2019-08-073-13/+20
| | | | | | | | | | | | | | | 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-071-1/+5
| | |
* | | Merge branch 'sh-disable-registry-delete' into 'master'Thong Kuah2019-08-071-0/+1
|\ \ \ | |/ / |/| | | | | | | | 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/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-071-2/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow masking @ and : characters Closes #63043 See merge request gitlab-org/gitlab-ce!31065
| * | | Document new masking requirementsmc/feature/add-at-colon-variable-maskingMatija Čupić2019-07-231-1/+2
| | | |
| * | | Allow masking @ and : charactersMatija Čupić2019-07-231-1/+1
| | | |
* | | | ActiveSession.cleaned_up_lookup_entries to use Redis#pipelinedImre Farkas2019-08-071-2/+4
| | | |
* | | | Merge branch 'sh-support-csp-nonce' into 'master'Ash McKenzie2019-08-0711-58/+64
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Content-Security-Policy Closes #65330 See merge request gitlab-org/gitlab-ce!31402
| * | | | Add support for Content-Security-PolicyStan Hu2019-08-0711-58/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0712-133/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-074-11/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-5/+4
| | | | |
* | | | | Merge branch 'remove-peek-gc' into 'master'Stan Hu2019-08-061-6/+0
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Remove GC metrics from performance bar Closes gitlab-org/quality/nightly#122 See merge request gitlab-org/gitlab-ce!31550
| * | | | Remove GC metrics from performance barSean McGivern2019-08-061-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were disabled in production mode, but that also broke the rest of the performance bar. As they were only enabled in development mode, we can just remove them for now.
* | | | | Merge branch '64608-double-tooltips' into 'master'Annabel Dunstone Gray2019-08-062-13/+11
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | Prevents showing 2 tooltips in pipelines Closes #64608 See merge request gitlab-org/gitlab-ce!31521
| * | | | Prevents showing 2 tooltips in pipelines64608-double-tooltipsFilipa Lacerda2019-08-062-13/+11
| |/ / / | | | | | | | | | | | | | | | | In pipeline's table two tooltips were being rendered With this change only one tooltip is trigerred on hover
* | | | Merge branch 'analytics-top-nav' into 'master'Clement Ho2019-08-061-0/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Add top navigation analytics link See merge request gitlab-org/gitlab-ce!30324
| * | | | Add top navigation analytics linkanalytics-top-navLuke Bennett2019-08-061-0/+5
| |/ / /
* | | | Merge branch '65152-selective-highlight' into 'master'Bob Van Landuyt2019-08-062-19/+23
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | Support selective highlighting of lines See merge request gitlab-org/gitlab-ce!31361
| * | | Support selective highlighting of lines65152-selective-highlightPatrick Bajao2019-08-062-19/+23
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-066-39/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Improve the performance of viewing deploy keys Closes #43080 See merge request gitlab-org/gitlab-ce!31384
| * | | Speed up loading and filtering deploy keys and their projectsNick Thomas2019-08-055-33/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | Stop using pluck to get deploy keys for a userNick Thomas2019-08-052-6/+6
| | | |
| * | | Fix a bug in User#accessible_deploy_keysNick Thomas2019-08-051-1/+1
| | | |