| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Aligns with the other reactive cache options by
providing a default that can be overridden if necessary.
|
|
|
|
| |
It's not needed anymore as we require `#cache_key` instead.
|
|
|
|
|
| |
This commit also includes some changes in specs to use
`Class.new` approach.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows using `CacheMarkdownField` for models that are not backed
by ActiveRecord.
When the including class inherits `ActiveRecord::Base` we include
`Gitlab::MarkdownCache::ActiveRecord::Extension`. This will cause the
markdown fields to be rendered and the generated HTML stored in a
`<field>_html` attribute on the record. We also store the version
used for generating the markdown.
All other classes that include this model will include the
`Gitlab::MarkdownCache::Redis::Extension`. This add the `<field>_html`
attributes to that model and will generate the html in them. The
generated HTML will be cached in redis under the key
`markdown_cache:<class>:<id>`. The class this included in must
therefore respond to `id`.
|
|\
| |
| |
| |
| |
| |
| | |
'master'
Port: EE adjust burndown chart opened issues count
See merge request gitlab-org/gitlab-ce!28777
|
| |
| |
| |
| |
| |
| | |
* Adjust opened issues count in the milestone burndown chart
to match current opened issues in the milestone.
* Fix completion rate calculation to include milestones only.
|
|/
|
|
|
| |
This turns Notable::RESOLVABLE_TYPES into a
`Notable.resolvable_types`. That allows us to override it in EE.
|
|
|
|
| |
Refactor
|
|
|
|
| |
spec/features/groups/group_page_with_external_authorization_service_spec to EE
|
|
|
|
|
| |
Backports https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/10161
(code out of ee/ folder).
|
|
|
| |
This reverts merge request !26823
|
|
|
|
| |
spec/features/groups/group_page_with_external_authorization_service_spec to EE
|
|
|
|
|
|
|
| |
- rewords examples starting with 'should'
- rewords examples starting with 'it'
Note: I had to manually fixup "onlies" to "only"
|
|
|
|
|
|
|
|
| |
Add support for defining a reactive_cache_worker_finder function
that will be used by the reactive_caching_worker to generate/initialize
the calling object. This allows reactive caching to work with Services
where the object cannot be obtained from DB but a new object can be
initialized.
|
|
|
|
|
|
|
|
|
| |
Adds support for start and end parameters in the #additional_metrics
endpoint of the EnvironmentsController. start and end are meant to be
unix timestamps, per the Prometheus API (as the consumer of this
endpoint will eventually be transitioned to a prometheus endpoint).
This functionality is behind the :metrics_time_window feature flag
for development.
|
|\
| |
| |
| |
| | |
[CE] Reduce diff with EE in `spec/models`
See merge request gitlab-org/gitlab-ce!26847
|
| |
| |
| |
| | |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\ \
| |/
|/|
| |
| |
| |
| | |
Migrate issuable states to integer patch 1 of 2
Closes #51789
See merge request gitlab-org/gitlab-ce!25107
|
| |\ |
|
| |\ \ |
|
| | | | |
|
| |_|/
|/| |
| | |
| | | |
Adds `# frozen_string_literal: true` to spec/models ruby files
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Create project-specific Kubernetes resources just-in-time
See merge request gitlab-org/gitlab-ce!25586
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Introduces a new status for builds between :created and :pending
that will be used when builds require one or more prerequisite
actions to be completed before being picked up by a runner
(such as creating Kubernetes resources before deploying).
The existing :created > :pending transition is unchanged, so
only builds that require preparation will use the :preparing
status.
|
| | | | |
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add spec
Fix
Fix
Add changelog
Drop attached
Remove attached
Update changelog
ok
|
| | |
| | |
| | |
| | |
| | |
| | | |
This makes code to support encrypted runner tokens.
This code also finished previously started encryption
process.
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Display only labels and assignees of issues
visible by the currently logged user
Display only issues visible to user in the burndown chart
|
|\ \ \ \
| |/ / / |
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
[master] Check issue milestone availability
See merge request gitlab/gitlabhq!2788
|
| | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add project when creating milestone in specs
We validate milestone is from the same
project/parent group as issuable ->
we need to set project in specs correctly
Improve methods names and specs organization
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Show only MRs visible to user on milestone detail
See merge request gitlab/gitlabhq!2895
|
| | |/ / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
between Ci::Pipeline and Ci::Build
Add spec
Add more tests
ok
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Fix misspellings in app/spec executable lines
See merge request gitlab-org/gitlab-ce!25521
|
| |/ / /
| | | |
| | | |
| | | | |
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
|
|/ / /
| | |
| | |
| | |
| | | |
This reverts commit f5201a816f2eff9393e16f362403451e5d86ee6c, reversing
changes made to 48e6db0dad6f256e8423e0bd6c9b254803f50ccf.
|
| | |
| | |
| | |
| | |
| | |
| | | |
into 'master'"
This reverts merge request !25293
|
| | |
| | |
| | |
| | |
| | | |
This adds a concern that abstracts the concept of masking a variable,
including the RegEx for validation.
|
| |/
|/|
| |
| |
| | |
Token column are no longer used as token values are stored digested in
token_digest.
|
|/
|
|
|
|
| |
Reactive caching concern was using .present? to determine if it got
a valid value from the cache. This returns false for values such as
false, [], {}. Change this check to !.nil? instead.
|
|
|
|
|
|
| |
Cached markdown version is composed both from global and local
markdown version. This allows admins to bump version locally when
needed (e.g. when external URL is changed).
|
|\
| |
| |
| |
| |
| |
| | |
Remove Redcarpet markdown engine
Closes #51374
See merge request gitlab-org/gitlab-ce!24819
|
| |
| |
| |
| |
| | |
This engine was replaced with CommonMarker in 11.4, it was deprecated
since then.
|
|\ \
| |/
|/|
| |
| | |
Add 'in' filter that modifies scope of 'search' filter to issues and merge requests API
See merge request gitlab-org/gitlab-ce!24350
|
| | |
|
| |
| |
| |
| | |
requests API
|
| | |
|