Commit Graph

557 Commits

Author SHA1 Message Date
Yorick Peterse a4a8cae7e1
Document not using database hash indexes 2017-08-16 16:39:37 +02:00
Yorick Peterse 6735e1dc9a
Document how to handle different DB (versions) 2017-08-16 16:39:37 +02:00
Yorick Peterse 39c5be7a13
State that comma separated data is serialised data
Comma separated values really are a form of serialised data so we should
clarify that we shouldn't store such data in the DB.
2017-08-16 16:39:37 +02:00
Yorick Peterse 862da3cfed
Add more database development related docs 2017-08-16 16:39:33 +02:00
Jacob Schatz 73c2964533 Update docs with Javascript accord. 2017-08-15 01:42:43 +00:00
Robert Speicher bd36637bdb Merge branch '35804-document-table-based-tests' into 'master'
Use rspec-parameterized for table-based tests

Closes #35804

See merge request !13469
2017-08-14 18:26:53 +00:00
Sean McGivern 2a4304aea7 Merge branch 'rc/32308-rspec-retry-hack' into 'master'
Detect and keep track of flaky specs

See merge request !13021
2017-08-11 14:59:17 +00:00
Rémy Coutable 40bbc9d900 Document rspec-retry and rspec-flaky
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-08-11 14:56:00 +02:00
Lin Jen-Shin 4f0fa13eb8 Show error message for API 500 error in tests, and
document have_gitlab_http_status
2017-08-11 20:50:35 +08:00
Nick Thomas caa498fd31 Use rspec-parameterized for table-based tests 2017-08-11 12:57:06 +01:00
Robert Speicher add765e623 Remove documentation about rules that are now enforced by RuboCop
RuboCop is _living_ documentation! 

[ci skip]
2017-08-10 19:29:42 -04:00
Robert Speicher 65ad11b46b Merge branch '21949-add-type-to-changelog' into 'master'
Let's start labeling our CHANGELOG entries

Closes #21949

See merge request !11579
2017-08-10 21:56:57 +00:00
Sean McGivern 4c8b666893 Merge branch 'zj-project-templates' into 'master'
Allow projects to be started from a template

Closes #32420

See merge request !13108
2017-08-07 19:24:14 +00:00
Z.J. van de Weg 2e6aa4f25e
After merge cleanup 2017-08-07 15:09:14 +02:00
Sean McGivern d5e72a3ba1 Merge branch 'docs/upgrades-for-background-migrations' into 'master'
Update the guides for updating GitLab and adding background migrations

See merge request !13284
2017-08-07 08:46:21 +00:00
Lin Jen-Shin b7547ade67 Backport to CE for:
https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2483
2017-08-04 21:45:14 +08:00
Yorick Peterse d5cb29434a
Mention schema migrations and patch releases 2017-08-04 13:34:42 +02:00
Yorick Peterse 9d3f27a22d
Removed commit guidelines for migrations
At some point we decided this isn't really necessary, so let's get rid
of it.
2017-08-04 13:34:42 +02:00
Yorick Peterse ea2d0c4861
Update the update guides for background migrations
The introduction of background migrations means some of our requirements
for online upgrades have to be adjusted / clarified.

See https://gitlab.com/gitlab-org/gitlab-ce/issues/35939 for more
information.
2017-08-04 13:34:37 +02:00
Robert Speicher 64d6a48b56 Remove documentation about `:empty_project` since we're removing it 2017-08-02 15:26:16 -04:00
Marin Jankovski 0430007ec8 Add code review guidelines related to Build [CI skip]. 2017-08-01 14:01:48 +00:00
tauriedavis c734aa8608 Add copy about search terms to ux guide 2017-07-28 09:12:34 -07:00
Tim Zallmann 710d0435f7 Changed Images in Blob Viewer to image_tag
Updated documentation about the lazy class
2017-07-27 15:01:27 +02:00
Rémy Coutable fa3e4ddff0 Remove mentions of SeanPackham since he's no longer with GitLab 2017-07-27 12:27:09 +00:00
Simon Knox 069a4a02e0 Add directives to Vue component ordering 2017-07-25 21:52:40 +10:00
Tim Zallmann 52b8a0db68 Resolve "Lazy load images on the Frontend" 2017-07-24 17:36:52 +00:00
Rémy Coutable fe10d1a1d9 Merge branch 'enhance-backend-review-guide' into 'master'
Add GitLab-specific concerns to code review guide

Closes #35099

See merge request !12999
2017-07-24 15:17:20 +00:00
Sean McGivern e597fa613d Add GitLab-specific concerns to code review guide 2017-07-24 14:12:39 +01:00
Jacopo eb2b895a20 Let's start labeling our CHANGELOG entries
Added the type attribute to a CHANGELOG entry. When you create a new
entry the software asks for the category of the change and sets the
associated type in the file.
2017-07-22 11:19:56 +02:00
Sean McGivern f23d74345a Merge branch 'dz-sidekiq-remove-queue' into 'master'
Update sidekiq style guide with rename/remove queue instructions

Closes #34223

See merge request !13009
2017-07-21 18:50:42 +00:00
Dmitriy Zaporozhets 921e5ab0e1 Capitalize Sidekiq word in dev doc 2017-07-21 17:40:48 +00:00
Grzegorz Bizon 433b6fed29 Copy-edit background migrations guidelines 2017-07-21 13:19:35 +02:00
Dmitriy Zaporozhets 5d90de1cb2 Update sidekiq_style_guide.md with removing or renaming queues instructions 2017-07-21 07:20:35 +00:00
Grzegorz Bizon 367a895511 Extend background migration development guidelines 2017-07-20 13:46:13 +02:00
Robert Speicher b92709eaf4 Remove developer documentation about not describing symbols
This is now covered by rubocop-rspec.
2017-07-18 16:58:05 -04:00
Rémy Coutable 3f50f6ca5b Merge branch 'rs-disable-test-log-in-ci' into 'master'
Disable Rails logging in CI test environments

See merge request !12847
2017-07-18 19:29:35 +00:00
Robert Speicher fc76ff1051 Disable Rails logging in CI test environments
See https://jtway.co/speed-up-your-rails-test-suite-by-6-in-1-line-13fedb869ec4
2017-07-18 12:33:15 -04:00
Achilleas Pipinellis 63b66f1d0c Fix wrong link to docs in docs styleguide 2017-07-16 19:12:56 +03:00
kamesh 9cf5cc310e Fixed typo 2017-07-14 06:26:14 +00:00
Lin Jen-Shin (godfat) 170ec4af2b Add more notes about developer seeds 2017-07-13 15:43:57 +00:00
Filipa Lacerda aaa78199c2 Update vue-resource 2017-07-12 14:47:09 +00:00
Grzegorz Bizon 420f6b5474 Merge branch 'fix/gb/stage-id-reference-background-migration' into 'master'
Add build stage_id reference background migration

Closes #34151

See merge request !12513
2017-07-08 11:04:25 +00:00
Sean McGivern b151951418 Merge branch '33929-allow-to-enable-perf-bar-for-a-group' into 'master'
Allow to enable the performance bar per user or Feature group

Closes #33929 and #34528

See merge request !12362
2017-07-07 18:18:22 +00:00
Yorick Peterse ff78af152c
Added EachBatch for iterating tables in batches
This module provides a class method called `each_batch` that can be used
to iterate tables in batches in a more efficient way compared to Rails'
`in_batches` method. This commit also includes a RuboCop cop to
blacklist the use of `in_batches` in favour of this new method.
2017-07-07 16:39:36 +02:00
Grzegorz Bizon b7b3aef444 Merge remote-tracking branch 'origin/active-record-each-batch' into fix/gb/stage-id-reference-background-migration
* origin/active-record-each-batch: (59 commits)
  Added EachBatch for iterating tables in batches
  Extend MR tabs a bit to cover up the avatar holder and collapse icon on scroll
  Update VERSION to 9.4.0-pre.
  Add CHANGELOG
  Fix some N+1 queries in the GET /projects API
  Don't show auxiliary blob viewer for README when there is no wiki
  Improve & fix the performance bar UI and behavior
  Remove orphaned haml files
  Fixed CHANGELOG.md for 9.3.4 release
  Add table for merge request commits
  34727 Remove two columned layout from project member settings
  Just draw :legacy_builds
  Re-enable polling for environments
  Cleanup minor UX issues in the performance dashboard
  Upgrade GitLab Workhorse to v2.3.0
  Added test for the chart legend
  Use correct field for label name, fix default for unit to be blank
  Fix shorter route helpers in production environment
  Encode certificate-authority-data in base64
  Revert "Merge branch 'winh-mr-widget-no-pipeline' into 'master'"
  ...
2017-07-07 15:08:24 +02:00
Grzegorz Bizon 4fa822ae9d Improve code examples in background migrations docs 2017-07-07 15:08:15 +02:00
Grzegorz Bizon 945cdf326e Make it possible to schedule bg migrations in bulk 2017-07-07 15:08:15 +02:00
Yorick Peterse 5f9c84584e
Added EachBatch for iterating tables in batches
This module provides a class method called `each_batch` that can be used
to iterate tables in batches in a more efficient way compared to Rails'
`in_batches` method. This commit also includes a RuboCop cop to
blacklist the use of `in_batches` in favour of this new method.
2017-07-07 14:49:05 +02:00
Rémy Coutable 97611c88fc
Don't use Flipper for the Performance Bar
The implementation now simply rely on the
`performance_bar_allowed_group_id` Application Setting.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-07 02:34:51 +02:00
Rémy Coutable e5a7d1da8c Improve Features API and its docs and add a Changelog item
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06 11:18:26 +02:00