Commit Graph

516 Commits

Author SHA1 Message Date
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
Rémy Coutable c8ce1f0d5d Document the feature groups
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-06 11:18:25 +02:00
Sean McGivern 31c21d50fc Merge branch 'sha-attributes-for-postgresql-and-mysql' into 'master'
Added code for defining SHA attributes

See merge request !12555
2017-06-29 15:20:47 +00:00
Yorick Peterse af1f6844c9
Added code for defining SHA attributes
These attributes are stored in binary in the database, but exposed as
strings. This allows one to query/create data using plain SHA1 hashes as
Strings, while storing them more efficiently as binary.
2017-06-29 15:37:37 +02:00
Sean McGivern 8c5538be40 Merge branch 'refactor/declarative-policy' into 'master'
Refactor/declarative policy

See merge request !10515
2017-06-29 13:20:24 +00:00
Sid Sijbrandij 604db40bbe Update architecture.md 2017-06-28 00:47:54 +00:00
http://jneen.net/ 72dc16dabd add some extremely rough documentation 2017-06-27 12:44:38 -07:00
Eric Eastwood 6cb575d612 Add support for multiple tooltips in the same Vue component
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33223
2017-06-23 02:12:45 -05:00
Sean McGivern 352a9ed562 Merge branch '27070-rename-slash-commands-to-quick-actions' into 'master'
Rename "Slash commands" to "Quick actions"

Closes #27070

See merge request !11811
2017-06-16 16:32:53 +00:00
Rémy Coutable 8a23cc7e82
Add a link to spec/migrations/README.md in the testing documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-15 18:45:13 +02:00
Eric Eastwood ea090291bb Rename "Slash commands" to "Quick actions"
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/27070

Deprecate "chat commands" in favor of "slash commands"

We looked for things like:

 - `slash commmand`
 - `slash_command`
 - `slash-command`
 - `SlashCommand`
2017-06-15 09:01:56 -05:00
blackst0ne bc00806a4e Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
Yorick Peterse d83ee2bbd1
Add the ability to perform background migrations
Background migrations can be used to perform long running data
migrations without these blocking a deployment procedure.

See MR https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11854 for
more information.
2017-06-12 13:24:04 +02:00
Bob Van Landuyt 42d6973688 Mention the cause of missing translations in the docs 2017-06-09 13:24:13 +02:00
Rémy Coutable b845cfe8bc Merge branch 'document-polymorphing-columns' into 'master'
Document using separate tables instead of polymorphic associations and STI

See merge request !11168
2017-06-07 21:46:57 +00:00
Clement Ho ac608715cd Merge branch 'edge-cases-integration-frontend-testing' into 'master'
Update testing.md `# Frontend Testing` to include integration spec for edge cases

See merge request !11784
2017-06-07 16:46:11 +00:00
Yorick Peterse 4ff1aaedc2
Document not using STI 2017-06-07 17:36:55 +02:00
Yorick Peterse 44d65c36db
Document not using polymorphic associations
Instead of using polymorphic associations a developer should use
separate tables.
2017-06-07 17:36:55 +02:00
Achilleas Pipinellis 1e671309a3 Merge branch 'evn-crosslink-to-architecture' into 'master'
Make sketch dynamic and link back to production architecture

See merge request !11617
2017-06-06 11:27:51 +00:00
Ruben Davila 9d699a90e3 Add new Rake task to simplify the compilation of PO files 2017-06-01 15:07:56 -05:00
Douwe Maan 483d88a9cd Merge branch 'document-not-using-serialize' into 'master'
Document not using ActiveRecord's serialize method

See merge request !11821
2017-06-01 13:06:30 +00:00
Alejandro Rodríguez 671284ba37 Add feature toggles through Flipper 2017-05-31 21:06:01 +00:00
Yorick Peterse 3d160480c0
Document not storing serialized data 2017-05-31 13:59:00 +02:00
Luke "Jared" Bennett 9bb4c08a6e Update testing.md `# Frontend Testing` to include integration spec for edge cases 2017-05-30 08:40:28 +00:00
Ruben Davila 07eeb5d206 Add small update for the i18n guide. 2017-05-25 14:21:53 -05:00
Ernst van Nierop 93b22677ac Per discussion 2017-05-22 21:33:34 +00:00
ernstvn 5915b219e3 Make sketch dynamic and link back to production architecture 2017-05-22 13:10:36 -07:00
Winnie Hellmann fe3458e36b Minor changes to Testing Promises section 2017-05-18 18:27:18 +00:00
Clement Ho 6ca5a9890c Merge branch 'winh-testing-promises' into 'master'
Document Promise testing best practice

See merge request !11284
2017-05-18 16:49:33 +00:00
Valery Sizov cf9d9d865d [Migration guide] Add note about prefering change_column_null over change_column 2017-05-18 11:35:59 +03:00
winh 4950dd9792 Document Promise testing best practice (!11284) 2017-05-17 23:14:18 +02:00
Luke "Jared" Bennett bcd4ef2e85 Update fe_guide testing.md 2017-05-17 18:21:52 +00:00
Luke "Jared" Bennett 1f9c701cc2 Update fe_guide/index.md to use readable ascii tree 2017-05-16 21:40:27 +00:00
Rubén Dávila Santos 1c1cb21e82 Add guide to collaborate with i18n. 2017-05-16 18:26:12 +00:00
Rémy Coutable bf56c3a942 Merge branch 'docs-add-more-conventions-for-docs-only-tests' into 'master'
Add more choices to name the branch for docs only tests

See merge request !11413
2017-05-16 14:59:15 +00:00
Achilleas Pipinellis 0c59aa0a46 Add more choices to name the branch for docs only tests
http://rubular.com/r/51mKdLm6RF
2017-05-16 16:33:52 +02:00
Pedro Moreira da Silva 12591d9274 Update UX guide to use monospace type for commit, branch, and tag refs 2017-05-15 13:31:36 +01:00
Rémy Coutable bb879d923b Merge branch 'patch-18' into 'master'
Fix the GitLab EE link

See merge request !11021
2017-05-15 07:22:17 +00:00
Marcia Ramos 9e8ed540b7 Complement tech articles guidelines 2017-05-11 10:51:39 +00:00
Balasankar C 3b5134f6a9 Add screenshots to Triggered Build docs 2017-05-09 15:53:23 +00:00
Sean McGivern 4b463dcb8d Fix links in code review docs 2017-05-09 14:41:06 +01:00
Filipa Lacerda e98f12aff9 Merge branch '28794-standardize-jasmine-test-describe-block-names-that-test-specific-methods' into 'master'
Resolve "Standardize jasmine test describe block names that test specific methods"

Closes #28794

See merge request !11137
2017-05-08 15:28:53 +00:00