summaryrefslogtreecommitdiff
path: root/app/controllers
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Use metadata stored in artifacats metadata fileGrzegorz Bizon2016-01-141-2/+2
| | | |
* | | | Add artifacts metadata uploader filedGrzegorz Bizon2016-01-141-1/+1
| | | | | | | | | | | | | | | | | | | | Artifacts metadata field will be used to store a filename of gzipped file containing metadata definition for given artifacts archive.
* | | | Update specs for CI Build, add `artifacts?` methodGrzegorz Bizon2016-01-141-0/+2
| | | | | | | | | | | | | | | | `artifacts?` method checks if artifacts archive is available.
* | | | Remove artifacts metadata column from databaseGrzegorz Bizon2016-01-141-4/+1
| | | |
* | | | Add artifacts browserGrzegorz Bizon2016-01-141-4/+2
| | | | | | | | | | | | | | | | | | | | This implementation makes it possible to browse artifacts, it depends on artifacts metadata.
* | | | Use `Gitlab::StringPath` in CI build artifacts controllerGrzegorz Bizon2016-01-141-1/+8
| | | |
* | | | Move artifacts controller level upGrzegorz Bizon2016-01-141-2/+2
| | | | | | | | | | | | | | | | This reverts nesting artifacts controller in builds module.
* | | | Add view action to artifacts controllerGrzegorz Bizon2016-01-141-0/+4
| | | |
* | | | Move build artifacts implementation to separate controllerGrzegorz Bizon2016-01-142-27/+36
| | | |
* | | | Merge branch 'feature/ldap-sync-edgecases' into 'master' Douwe Maan2016-01-142-1/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LDAP Sync blocked user edgecases Allow GitLab admins to block otherwise valid GitLab LDAP users (https://gitlab.com/gitlab-org/gitlab-ce/issues/3462) Based on the discussion on the original issue, we are going to differentiate "normal" block operations to the ldap automatic ones in order to make some decisions when its one or the other. Expected behavior: - [x] "ldap_blocked" users respond to both `blocked?` and `ldap_blocked?` - [x] "ldap_blocked" users can't be unblocked by the Admin UI - [x] "ldap_blocked" users can't be unblocked by the API - [x] Block operations that are originated from LDAP synchronization will flag user as "ldap_blocked" - [x] Only "ldap_blocked" users will be automatically unblocked by LDAP synchronization - [x] When LDAP identity is removed, we should convert `ldap_blocked` into `blocked` Mockup for the Admin UI with both "ldap_blocked" and normal "blocked" users: ![image](/uploads/4f56fc17b73cb2c9e2a154a22e7ad291/image.png) There will be another MR for the EE version. See merge request !2242
| * | | | Code style fixes and some code simplifiedGabriel Mazetto2016-01-081-2/+2
| | | | |
| * | | | Repair ldap_blocked state when no ldap identity exist anymoreGabriel Mazetto2016-01-081-0/+2
| | | | |
| * | | | Prevent ldap_blocked users from being unblocked by the Admin UIGabriel Mazetto2016-01-081-1/+3
| |/ / /
* | | | Merge branch 'fix/private-references' into 'master' Douwe Maan2016-01-141-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show referenced MRs & Issues only when the current viewer can access them This addresses both issues identified in #6066. ## The private MR by user `remy2` with a note referencing to a public issue ![Screen_Shot_2016-01-12_at_16.45.02](/uploads/c245ec2c1fdea1f9ba05183c24e142d9/Screen_Shot_2016-01-12_at_16.45.02.png) --- ## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** before the fix ![Screen_Shot_2016-01-12_at_18.14.50](/uploads/8db5580e803f5bddd6cb935233c579a0/Screen_Shot_2016-01-12_at_18.14.50.png) --- ## The public issue viewed by user `remy` **who doesn't have access to `remy2/private-project`** with the fix ![Screen_Shot_2016-01-13_at_12.02.32](/uploads/cb199f7b78191fba486a11412412e307/Screen_Shot_2016-01-13_at_12.02.32.png) --- ## The public issue viewed by user `remy2` with the fix (no change) ![Screen_Shot_2016-01-13_at_11.54.06](/uploads/ddece590d69f597a95559beddcd36660/Screen_Shot_2016-01-13_at_11.54.06.png) See merge request !2405
| * \ \ \ Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into ↵Rémy Coutable2016-01-132-4/+3
| |\ \ \ \ | | | |/ / | | |/| | | | | | | fix/private-references
| * | | | Show referenced MRs & Issues only when the current viewer can access themRémy Coutable2016-01-131-1/+1
| | | | |
* | | | | Broadcast Messages can now be editedRobert Speicher2016-01-131-5/+17
| | | | | | | | | | | | | | | | | | | | Closes #3046
* | | | | Remove alert_type attribute from BroadcastMessageRobert Speicher2016-01-131-4/+7
| |/ / / |/| | |
* | | | Merge branch 'configure-randomize-metrics-sample-interval' into 'master' Yorick Peterse2016-01-131-0/+1
|\ \ \ \ | | | | | | | | | | See merge request !2406
| * | | | Make the metrics sampler interval configurableYorick Peterse2016-01-131-0/+1
| |/ / /
* | | | Block the reported user before destroying the recordrs-block-user-before-removalRobert Speicher2016-01-121-4/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | This is intended to prevent the user from creating new objects while the transaction that removes them is being run, resulting in objects with nil authors which can then not be edited. See https://gitlab.com/gitlab-org/gitlab-ce/issues/7117
* | | Merge branch 'fix/ci-linter-sequence-validations' into 'master' Robert Speicher2016-01-111-2/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Allow subsequent validations in CI Linter Closes #5851 See merge request !2368
| * | | Allow subsequent validations in CI Linterfix/ci-linter-sequence-validationsGrzegorz Bizon2016-01-111-2/+4
| | | | | | | | | | | | | | | | Closes #5851
* | | | Merge branch 'group-issues-sorting' into 'master' Dmitriy Zaporozhets2016-01-111-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve performance of getting issues on group level For testing I used the URL http://localhost:3000/groups/gitlab-org/issues?milestone_title=8.1. Prior to these changes said URL would take about 10-12 seconds to load. By applying these changes the loading time has been reduced to roughly 2-3 seconds. There's still some stuff going on in some views that I have to look at, resolving those changes might reduce the loading time a bit more. I also still have to check if I didn't break too many tests. Fixes: gitlab-org/gitlab-ce#3707 gitlab-org/gitlab-ce#4071 See merge request !2318
| * | | Sort by ID when sorting using "Recently created"Yorick Peterse2016-01-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sorting by "id" has the same effect as sorting by created_at while performing far better and without the need of an extra index (in case one wanted to speed up sorting by "created_at"). Sorting by "Recently updated" still uses the physical "updated_at" column as there's no way to use the "id" column for this instead.
* | | | Merge gitlab.com:gitlab-org/gitlab-ceJeroen Nijhof2016-01-081-2/+8
|\ \ \ \ | | |/ / | |/| |
| * | | Add support for ref and path to commits filteringDmitriy Zaporozhets2016-01-071-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
| * | | Filter commits by search parameterDmitriy Zaporozhets2016-01-071-2/+8
| |/ / | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* | | Merge gitlab.com:gitlab-org/gitlab-ceJeroen Nijhof2016-01-074-3/+29
|\ \ \ | |/ /
| * | Merge branch 'master' of github.com:gitlabhq/gitlabhqJacob Vosmaer2016-01-072-0/+28
| | |
| * | Merge branch 'remove-influxdb-credentials' into 'master' Yorick Peterse2016-01-071-2/+0
| |\ \ | | | | | | | | See merge request !2319
| | * | Remove InfluxDB username/passwordremove-influxdb-credentialsYorick Peterse2016-01-061-2/+0
| | | | | | | | | | | | | | | | | | | | InfluxDB over UDP doesn't use authentication, thus there's no need for these settings.
| * | | Merge branch 'master' into merge-when-build-succeeds-uncheckedmerge-when-build-succeeds-uncheckedDouwe Maan2016-01-061-0/+5
| |\ \ \ | | |/ /
| * | | Get "Merge when build succeeds" to work when commits were pushed to MR ↵Douwe Maan2016-01-051-1/+1
| | | | | | | | | | | | | | | | target branch while builds were running
* | | | Merge gitlab.com:gitlab-org/gitlab-ceJeroen Nijhof2016-01-0679-870/+1139
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'brunsa2/gitlab-ce-diverging-branch-graphs' into 'master' Douwe Maan2016-01-051-0/+5
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Add graphs of commits ahead/behind default branch (by @brunsa2) Replaces https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/1716 See merge request !2301
| | * | Merge branch 'master' into diverging-branch-graphsJeff Stubler2015-12-0333-241/+366
| | |\ \
| | * \ \ Merge branch 'master' into diverging-branch-graphsJeff Stubler2015-11-1214-40/+166
| | |\ \ \
| | * | | | Refactor for style issuesJeff Stubler2015-11-111-2/+1
| | | | | |
| | * | | | Add graphs showing commits ahead and behind default to branches pageJeff Stubler2015-11-011-0/+6
| | | | | |
| * | | | | Add `AbuseReport#notify`rs-abuse-reports-refactorRobert Speicher2016-01-041-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Tell, Don't Ask.
| * | | | | Redirect back to user profile page after abuse reportRobert Speicher2016-01-041-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now the reporter will see the fruits of their labor, namely, the red icon!
| * | | | | Merge branch 'show-all-builds-by-default' into 'master' Robert Speicher2016-01-042-6/+6
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Show all builds by default in the builds page Fixes #4240 See merge request !2243
| | * | | | | Show 'All' tab by default in the builds pageshow-all-builds-by-defaultDouglas Barbosa Alexandre2016-01-042-6/+6
| | | | | | |
| * | | | | | remove public field from namespace and refactoringnamespace-clean_upValery Sizov2016-01-042-2/+2
| |/ / / / /
| * | | | | Write to InfluxDB directly via UDPYorick Peterse2015-12-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the need for Sidekiq and any overhead/problems introduced by TCP. There are a few things to take into account: 1. When writing data to InfluxDB you may still get an error if the server becomes unavailable during the write. Because of this we're catching all exceptions and just ignore them (for now). 2. Writing via UDP apparently requires the timestamp to be in nanoseconds. Without this data either isn't written properly. 3. Due to the restrictions on UDP buffer sizes we're writing metrics one by one, instead of writing all of them at once.
| * | | | | When reCAPTCHA is disabled, allow registrations to go through without a codefeature/recaptcha_settingsStan Hu2015-12-281-1/+1
| | | | | |
| * | | | | reCAPTCHA is configurable through Admin Settings, no reload needed.Gabriel Mazetto2015-12-283-1/+9
| | |_|_|/ | |/| | |
| * | | | Move InfluxDB settings to ApplicationSettingrelocate-influxdb-settingsYorick Peterse2015-12-281-0/+8
| | | | |
| * | | | Merge branch 'add-recaptcha-support' into 'master' Dmitriy Zaporozhets2015-12-282-6/+30
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Google reCAPTCHA in user registration to prevent spammers To do: - [x] Failing reCAPTCHA test causes all the fields to be lost - ~~[ ] Improve styling of reCAPTCHA box~~ (not possible) - ~~[ ] Put settings in `application_settings` (?)~~ ![image](/uploads/d38ca89820d3c0066fb8aeb645fd77f0/image.png) ![image](/uploads/6b050749963691b023d076682abcf736/image.png) Page when you fail CAPTCHA: ![image](/uploads/bc4846f0a5144985bc41dfa75eeab4c1/image.png) See merge request !2216