Commit Graph
838 Commits
Author SHA1 Message Date
Dmitriy Zaporozhets 235d70da73 Update db/schema.rb after running db:migrate:reset
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-05-06 16:33:23 +02:00
Stan Hu b9672d4b38 Limit the number of merge requests per project to avoid long seeds
This step was taking a long time because seed_fu creates N / 2 merge requests
for each repo, where N is the number of branches for that repo. At the time of
this writing, there are 234 branches on the gitlab-ce repo, leading to 117
merge requests.
2016-05-04 09:22:01 -07:00
Gabriel Mazetto 0cd5edf35c Backported minimal safewebhook implementation to GitLab CE 2016-04-30 05:04:10 -03:00
Jacob Vosmaer b80bf57d37 Disable 'repository check' feature in 8.7.0
It still causes too many false alarms.
2016-04-21 16:50:26 +02:00
Yorick Peterse a5ed44fd71 Merge branch 'add-pg-trgrm-in-migration' into 'master'
Attempt to create pg_trgm extension in migration for test/dev environments

See merge request !3805
2016-04-21 09:10:45 +00:00
Kamil Trzciński d240666800 Merge branch 'ci-commit-as-pipeline' into 'master'
Ci::Commit becomes a Pipeline object

1. Ci::Commit receives context: ref, :tag.
1. One Ci::Commit describes a one Pipeline
1. Pipeline is created from `.gitlab-ci.yml`
1. Pipeline is a ordered group of builds
1. We test MR against Pipeline
1. Pipelines have a separate view (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703)
1. Pipeline can be triggered from UI (https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3703)
1. Later we change `Trigger -> TriggerRequest -> Build` to `Trigger -> Pipeline` (future)
1. We add a Pipeline Hook that will be triggered on Pipeline status change  (future)
1. We extend notifications to use `Pipeline Hook` to send summary on pipeline changes (future)

After merging that I'll prepare a separate MR that will unify naming, database columns, table names:
```
Ci::Commit -> Pipeline
Ci::Build -> Build
CommitStatus -> Job
GenericCommitStatus -> ExternalJob

ci_commits -> pipelines
ci_builds -> jobs
```

This MR implements first 5 points.

This is made to solve this issue https://gitlab.com/gitlab-org/gitlab-ce/issues/14149.

See merge request !3653
2016-04-21 08:10:37 +00:00
Stan Hu dcd54f6345 Attempt to create pg_trgm extension in migration for test/dev environments
Closes #15210
2016-04-20 20:59:01 -07:00
Rémy CoutableandRobert Speicher 6cdf4acd4e Address MR feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-20 15:43:32 -04:00
Mehmet BeydoganandRobert Speicher c1f51655a0 Add index to issues due date 2016-04-20 15:42:09 -04:00
Mehmet BeydoganandRobert Speicher 3afd08170d Add due_date:time field to Issue model
Add due_date text field to sidebar issue#show
Add ability sorting issues by due date ASC and DESC
Add ability to filtering issues by No Due Date, Any Due Date, Due to tomorrow, Due in this week options
Add handling issue due_date field for MergeRequest
Update CHANGELOG
Fix ambigous match for issues#show sidebar
Fix SCREAMING_SNAKE_CASE offenses for due date contants
Add specs for due date sorting and filtering on issues
2016-04-20 15:42:09 -04:00
Sebastian Klier d472810e49 formatting and test structure 2016-04-20 08:25:41 +08:00
Sebastian Klier 54661d3d44 add slack notifications for wiki pages
update changelog
2016-04-20 08:25:40 +08:00
Kamil Trzcinski 27e0c7723c Merge remote-tracking branch 'origin/master' into ci-commit-as-pipeline
# Conflicts:
#	db/schema.rb
2016-04-19 14:00:14 -04:00
Yorick Peterse 229f3ce9ce Configuring of points per UDP packet
This allows users to configure the number of points stored in a single
UDP packet. This in turn can be used to reduce the number of UDP packets
being sent at the cost of these packets being somewhat larger.

The default setting is 1 point per packet so nothing changes for
existing users.
2016-04-19 14:35:25 +02:00
Kamil Trzciński ee812a8707 Merge branch 'configurable-shared-runners-text' into 'master'
Add configurable shared runners text

cc @axil @rspeicher @grzesiek 

See merge request !3750
2016-04-19 12:15:59 +00:00
Stan Hu f30053ba60 Use raw SQL commands for 20140502125220 MigrateRepoSize
Partial fix for #15210
2016-04-18 11:05:16 -07:00
Kamil Trzcinski 6b124d42d9 Add configurable shared runners text 2016-04-18 09:54:52 -04:00
Kamil Trzcinski 065e0c0fe4 Merge remote-tracking branch 'origin/master' into ci-commit-as-pipeline
# Conflicts:
#	db/schema.rb
2016-04-16 19:55:14 +02:00
James Lopez 05985b49a4 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/project-import_url 2016-04-15 08:49:08 +02:00
Douglas Barbosa Alexandre 70c9ceb7b1 Fix datetime format when migrating new notification settings on MySQL 2016-04-14 18:46:18 -03:00
James Lopez e5f7a54530 Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/project-import_url 2016-04-14 18:12:10 +02:00
James Lopez efff7e9e54 updated migration based on testing findings 2016-04-14 12:03:45 +02:00
Jacob Vosmaer f07316f27c Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsck 2016-04-13 17:38:59 +02:00
Jacob Vosmaer bf31b4495e Schema improvements suggested by Yorick 2016-04-13 17:07:12 +02:00
Kamil Trzcinski 8fb976a3ff Fix migrations on MySQL 2016-04-13 16:14:27 +02:00
Kamil Trzcinski f3a4f85449 Update db/schema.rb 2016-04-13 16:07:29 +02:00
Kamil Trzcinski 251a78022d Cleanup changes 2016-04-13 15:58:22 +02:00
Kamil Trzcinski 4af0968c43 Merge remote-tracking branch 'origin/master' into ci-commit-as-pipeline 2016-04-13 15:47:18 +02:00
Kamil Trzcinski 872bbb9fe2 Cleanup required migrations 2016-04-13 15:46:35 +02:00
Kamil Trzcinski daa29729cc Add indexes concurrently on PostgreSQL 2016-04-13 15:40:26 +02:00
Kamil Trzcinski 4d72ca3980 Remove the use of default scope for Builds 2016-04-13 11:01:10 +02:00
Kamil Trzcinski 8e84acbf2e Optimise CI status accessor 2016-04-12 20:37:57 +02:00
Jacob Vosmaer 7b1bb0f4db Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsck 2016-04-12 17:44:02 +02:00
Jacob Vosmaer b37d3b9423 Add repository_checks_enabled setting 2016-04-12 16:21:23 +02:00
Kamil Trzcinski af7214d0f0 Fix specs 2016-04-11 23:32:55 +02:00
Kamil Trzcinski 5d69f5b46d Use Ci::Commit as Pipeline 2016-04-11 23:32:54 +02:00
Douglas Barbosa Alexandre 9a44d6977a Merge branch 'master' into decouple-member-notification 2016-04-11 10:34:49 -03:00
James Lopez fb63173df2 typo 2016-04-11 11:28:35 +02:00
James Lopez be834c4de9 changed a few things based on feedback 2016-04-11 11:13:51 +02:00
Stan Hu 13c00262f7 Use false/true mixin in migration from !3640 2016-04-10 22:04:24 -07:00
Stan Hu 93cfc0b25e Merge branch 'fix-raw-sql-migrations' into 'master'
Fix more SQL migrations to use raw commands

gitlab-org/gitlab-development-kit#109

See merge request !3640
2016-04-11 03:51:02 +00:00
Stan Hu 3b77a07856 Fix more SQL migrations to use raw commands
gitlab-org/gitlab-development-kit#109
2016-04-10 15:51:45 -07:00
Stan Hu 8536dedbb1 Fix seed_fu failure with inserting milestones into test DB
Milestones were not being saved due to "invalid state" validation errors
2016-04-10 06:39:42 -07:00
Stan Hu 66102e5017 Use raw SQL instead of Rails models in 20130403003950 migration
Closes gitlab-org/gitlab-development-kit#109

Closes https://github.com/gitlabhq/gitlabhq/issues/10123
2016-04-09 18:36:07 -07:00
connorshea fb8afae186 Apparently I missed updating the schema.rb when removing the Twitter "Congrats" button
From commit 85cc172959
2016-04-09 11:28:47 -06:00
Douglas Barbosa Alexandre 99067a505c Fix schema.rb 2016-04-08 18:46:46 -03:00
Douglas Barbosa Alexandre d11288be95 Use query instead of model on migrations 2016-04-08 16:49:01 -03:00
Douglas Barbosa Alexandre 7afeace354 Merge branch 'master' into decouple-member-notification 2016-04-08 15:48:09 -03:00
James Lopez 0ceee903f1 fix schema file [ci skip] 2016-04-07 15:49:46 +02:00
James Lopez 15044e7d85 refactored a few things based on MR feedback 2016-04-07 15:00:20 +02:00