Commit Graph

528 Commits

Author SHA1 Message Date
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
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