summaryrefslogtreecommitdiff
path: root/lib/api/features.rb
Commit message (Collapse)AuthorAgeFilesLines
* Allow setting feature flags per GitLab groupJames Edwards-Jones2019-02-191-0/+1
| | | | | | | | Building on support for setting feature flags by project, this adds support for setting them by GitLab group path. This is different from setting them by Flipper feature_groups, which are for batch updating pre-registered collections.
* Allow setting of feature gates per projectZeger-Jan van de Weg2019-01-141-8/+7
| | | | | | | | | For features the feature gates are sometimes projects, not groups or users. For example for git object pools: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5872 This commit allows for setting feature group gates based on projects, by its path as that seems most convenient.
* Make getting a user by the username case insensitiveWilliam George2018-10-181-1/+1
|
* Enable frozen string in lib/api and lib/backupgfyoung2018-09-291-0/+2
| | | | | | | | | | Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190
* Disable existing offenses for the CodeReuse copsYorick Peterse2018-09-111-0/+2
| | | | | This whitelists all existing offenses for the various CodeReuse cops, of which most are triggered by the CodeReuse/ActiveRecord cop.
* Allow feature gate removal through the APIzj-feature-gate-remove-http-apiZeger-Jan van de Weg2018-04-031-0/+7
| | | | | | Features could be listed and added through the api, now also removed. This was needed in the case of gitlab.com as the number of gates that were ever used just grows and cleaning up is hard.
* Improve Features API and its docs and add a Changelog itemRémy Coutable2017-07-061-12/+17
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rename flipper_group to feature_group34078-allow-to-enable-feature-flags-with-more-granularityRémy Coutable2017-06-281-4/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Rename FLippable to FeatureGate and make `flipper_group` and `user` mutually ↵Rémy Coutable2017-06-271-0/+1
| | | | | | exclusive Signed-off-by: Rémy Coutable <remy@rymai.me>
* Allow the feature flags to be enabled/disabled with more granularityRémy Coutable2017-06-271-5/+33
| | | | | | | | This allows to enable/disable a feature flag for a given user, or a given Flipper group (must be declared statically in the `flipper.rb` initializer beforehand). Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add feature toggles through FlipperAlejandro Rodríguez2017-05-311-0/+36