Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-01-11Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉
2018-01-09Save user ID and username in Grape API log (api_json.log)Stan Hu
This will enable admins to identify who actually made the API request. Relates to #36960
2018-01-05Merge branch 'backport-issue_3413' into 'master'Sean McGivern
[EE-backport] Add group boards API endpoint See merge request gitlab-org/gitlab-ce!16194
2018-01-04EE-BACKPORT group boardsFelipe Artur
2018-01-03Fix API endpoints to edit wiki pages where project belongs to a groupRubén Dávila
In some cases is prefered to manually create a ProjectWiki over using Project#wiki. This is because Project#wiki always uses the #owner (which is a User sometimes) as the author of the wiki changes but sometimes the owner is a Group and it doesn't respond to #username
2017-11-30Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (170 commits) support ordering of project notes in notes api Redirect to an already forked project if it exists Reschedule the migration to populate fork networks Create fork networks for forks for which the source was deleted. Fix item name and namespace text overflow in Projects dropdown Minor backport from EE fix link that was linking to `html` instead of `md` Backport epic tasklist Add timeouts for Gitaly calls SSHUploadPack over Gitaly is now OptOut fix icon colors in commit list Fix star icon color/stroke Backport border inline edit Add checkboxes to automatically run AutoDevops pipeline BE for automatic pipeline when enabling Auto DevOps I am certainly weary of debugging sidekiq but I don't think that's what was meant Ensure MRs always use branch refs for comparison Fix issue comment submit button disabled on GFM paste Lock seed-fu at the correct version in Gemfile.lock Improve indexes on merge_request_diffs ...
2017-11-23Introduce :read_namespace access policy for namespace and groupTomasz Maczukin
2017-11-23Allow request namespace by ID or pathTomasz Maczukin
2017-11-22Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (126 commits) Update VERSION to 10.3.0-pre Update CHANGELOG.md for 10.2.0 default fill color for SVGs ignore hashed repos (for now) when using `rake gitlab:cleanup:repos` Use Redis cache for branch existence checks Update CONTRIBUTING.md: Link definition of done to criteria Use `make install` for Gitaly setups in non-test environments FileUploader should check for hashed_storage?(:attachments) to use disk_path Set the default gitlab-shell timeout to 3 hours Update composite pipelines index to include "id" Use arrays in Pipeline#latest_builds_with_artifacts Fix blank states using old css Skip confirmation user api Custom issue tracker Revert "check for `read_only?` first before seeing if request is disallowed" add `#with_metadata` scope to remove a N+1 from the notes' API Fix promoting milestone updating all issuables without milestone Batchload blobs for diff generation check for `read_only?` first before seeing if request is disallowed use `Gitlab::Routing.url_helpers` instead of `Rails.application.routes.url_helpers` ...
2017-11-22Move ModuleWithInstanceVariables to Gitlab namespaceLin Jen-Shin
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
2017-11-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin
2017-11-17Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (507 commits) Add dropdowns documentation Convert migration to populate latest merge request ID into a background migration Set 0.69.0 instead of latest for codeclimate image De-duplicate background migration matchers defined in spec/support/migrations_helpers.rb Update database_debugging.md Update database_debugging.md Move installation of apps higher Change to Google Kubernetes Cluster and add internal links Add Ingress description from official docs Add info on creating your own k8s cluster from the cluster page Add info about the installed apps in the Cluster docs Resolve "lock/confidential issuable sidebar custom svg icons iteration" Update HA README.md to clarify GitLab support does not troubleshoot DRBD. Update license_finder to 3.1.1 Make sure NotesActions#noteable returns a Noteable in the update action Cache the number of user SSH keys Adjust openid_connect_spec to use `raise_error` Resolve "Clicking on GPG verification badge jumps to top of the page" Add changelog for container repository path update Update container repository path reference ...
2017-11-17Moved Exceptions to Gitlab::AuthFrancisco Lopez
2017-11-17Moving exceptions to UserAuthFindersFrancisco Lopez
2017-11-13Add administrative endpoint to list all pages domainsTravis Miller
2017-11-06Merge remote-tracking branch 'upstream/master' into no-ivar-in-modulesLin Jen-Shin
* upstream/master: (1723 commits) Resolve "Editor icons" Refactor issuable destroy action Ignore routes matching legacy_*_redirect in route specs Gitlab::Git::RevList and LfsChanges use lazy popen Gitlab::Git::Popen can lazily hand output to a block Merge branch 'master-i18n' into 'master' Remove unique validation from external_url in Environment Expose `duration` in Job API entity Add TimeCop freeze for DST and Regular time Harcode project visibility update a changelog Put a condition to old migration that adds fast_forward column to MRs Expose project visibility as CI variable fix flaky tests by removing unneeded clicks and focus actions fix flaky test in gfm_autocomplete_spec.rb Use Gitlab::Git operations for repository mirroring Encapsulate git operations for mirroring in Gitlab::Git Create a Wiki Repository's raw_repository properly Add `Gitlab::Git::Repository#fetch` command Fix Gitlab::Metrics::System#real_time and #monotonic_time doc ...
2017-11-06Support custom attributes on projectsMarkus Koller
2017-11-02Update specs for sudo behaviorDouwe Maan
2017-11-02Add sudo API scopeDouwe Maan
2017-10-22Add pages domains API implementationTravis Miller
2017-10-12Move all API authentication code to APIGuardDouwe Maan
2017-10-06Send API parameters as extra data for sentry errorsAlejandro Rodríguez
2017-09-29Ensure no exception is raised when Raven tries to get the current user in ↵Rémy Coutable
API context Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-09-28Make sure API responds with 401 when invalid authentication info is providedDouwe Maan
2017-09-18Allow simple ivar ||= form. Update accordinglyLin Jen-Shin
2017-09-18Add cop to make sure we don't use ivar in a moduleLin Jen-Shin
2017-09-07Make Members with Owner and Master roles always able to create subgroupsRuben Davila
2017-09-07Merge branch 'wiki_api' into 'master'Grzegorz Bizon
Add API support for wiki pages Closes #12747 See merge request !13372
2017-09-07Add API support for wiki pagesblackst0ne
2017-09-06Respond with a bad request if artifact path is invalidGrzegorz Bizon
2017-09-06Extract job artifacts API code to a separate fileGrzegorz Bizon
2017-09-05Use API helper to send artifact file through WorkhorseGrzegorz Bizon
2017-08-30Don't use public_send in destroy_conditionally! helperSean McGivern
As we only override in two places, we could just ask for the value rather than the method name.
2017-08-28Update remaining endpointsRobert Schilling
2017-08-28Conditionally destroy a ressourceRobert Schilling
2017-08-28API: Respect the 'If-Unmodified-Since' for delete endpointsRobert Schilling
2017-08-16Upgrade grape to 1.0Zeger-Jan van de Weg
Main feature was the deprication of the Hashie stuff, so the access by calling keys as method is gone now.
2017-08-11Show error message for API 500 error in tests, andLin Jen-Shin
document have_gitlab_http_status
2017-08-02Do not validate CSRF token in API unless neededDouwe Maan
2017-07-26Rescue only from ActionController::InvalidAuthenticityTokenDouwe Maan
2017-07-26Add `rescue false`.blackst0ne
2017-07-26Refactor CSRF protectionblackst0ne
2017-07-26Add CSRF token verification to APIblackst0ne
2017-07-21Add group milestones API endpointFelipe Artur
2017-07-06Add user projects APIvanadium23
2017-06-28Implement review comments from @dbalexandre for !12300.Timothy Andrew
2017-06-28When verifying scopes, manually include scopes from `API::API`.Timothy Andrew
- They are not included automatically since `API::Users` does not inherit from `API::API`, as I initially assumed. - Scopes declared in `API::API` are considered global (to the API), and need to be included in all cases.
2017-06-28Allow API scope declarations to be applied conditionally.Timothy Andrew
- Scope declarations of the form: allow_access_with_scope :read_user, if: -> (request) { request.get? } will only apply for `GET` requests - Add a negative test to a `POST` endpoint in the `users` API to test this. Also test for this case in the `AccessTokenValidationService` unit tests.
2017-06-28Initial attempt at refactoring API scope declarations.Timothy Andrew
- Declaring an endpoint's scopes in a `before` block has proved to be unreliable. For example, if we're accessing the `API::Users` endpoint - code in a `before` block in `API::API` wouldn't be able to see the scopes set in `API::Users` since the `API::API` `before` block runs first. - This commit moves these declarations to the class level, since they don't need to change once set.
2017-06-02Enable the Style/PreferredHashMethods copRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>