Robert Speicher
01f6db4f64
Disallow blank (non-null) values for a Note's line_code attribute
...
It's unclear how these blank values got added, but GitLab.com had a few:
```
irb(main):002:0> Note.where("line_code IS NOT NULL AND line_code = ''").count
=> 439
```
We've added a migration to convert any existing records to use a NULL
value when blank, and updated Note to set blank values to nil before
validation.
2016-03-11 17:46:50 -05:00
Yorick Peterse and Robert Speicher
67143e25a2
More detailed trigram migration error message
...
This explains the user what they need to run and where to go in case
they want to learn more about "CREATE EXTENSION".
2016-03-11 15:26:32 -05:00
Yorick Peterse and Robert Speicher
d24ee2a206
Added trigram indexes for various searched columns
...
This allows the LIKE condition to use an index. Without a GIN + trigram
index LIKE queries using a wildcard at the start _won't_ use an index
and instead perform a sequence scan.
2016-03-11 15:25:21 -05:00
Douglas Barbosa Alexandre
22140ced0b
Remove invalid todos from database
2016-03-09 11:18:13 -03:00
Dmitriy Zaporozhets
bc14d81af0
Merge branch 'rs-snippets-dont-expire' into 'master'
...
Remove `Snippet#expires_at`
This was removed from the interface in
https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation
lingered around for two years.
See merge request !3103
2016-03-09 09:02:17 +00:00
tiagonbotelho and Yorick Peterse
c2c5572e22
adds swp and swo to gitignore and improves migration for project main_language
2016-03-07 21:59:39 +01:00
tiagonbotelho and Yorick Peterse
a14b98f858
implements project languages saving them onto the database
2016-03-07 21:59:39 +01:00
Robert Speicher
836d593033
Remove Snippet#expires_at
...
This was removed from the interface in
https://github.com/gitlabhq/gitlabhq/pull/6027 but its implementation
lingered around for two years.
2016-03-05 18:12:17 -05:00
Jacob Vosmaer
1764e1b7cb
Use Gitlab::Git::DiffCollections
2016-03-03 18:38:44 +01:00
Dmitriy Zaporozhets
7e5e825a65
Fix broken migration
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2016-02-29 16:41:45 +01:00
Zeger-Jan van de Weg
9a2869ab46
Branded login page also in CE
...
The only major difference with the EE version is the change from a light and dark logo to only a header logo
The dark logo wasn't used anyway, so it seemed to make sense to me to rename the field to the actual function of it
2016-02-26 15:50:51 +01:00
Douglas Barbosa Alexandre
3d52e139b1
Rename Tasks to Todos
2016-02-20 12:39:27 -02:00
Douglas Barbosa Alexandre
1d476b0656
Create a pending task when a user is mentioned on a note
2016-02-20 12:12:05 -02:00
Douglas Barbosa Alexandre
41d8f5649e
Add task model
2016-02-20 12:10:26 -02:00
Douwe Maan
31682eb987
Merge branch 'visibletrap/gitlab-ce-label'
2016-02-19 17:54:13 -08:00
Rubén Dávila and Robert Speicher
f56ee9d3b9
Save merge commit id when MR is merged
2016-02-19 13:14:49 -05:00
Grzegorz Bizon
293999cabb
Fix name of build erasable, remove superfluous method from it
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and Grzegorz Bizon
433de7baca
Remove boolean erase column from ci build and foreign key
2016-02-19 17:24:59 +01:00
Grzegorz Bizon and Grzegorz Bizon
bae3701073
Add build eraseable columns to ci builds table
2016-02-19 17:24:59 +01:00
Tap
2e81b1558b
Label description and Label row
...
- Add label description
- Show label row when filtering issues or merge requests by label
2016-02-17 21:52:12 +08:00
Robert Speicher
7ea60fbfc8
Merge remote-tracking branch 'dev/master' into 'master'
2016-02-09 12:13:58 -05:00
Douwe Maan
a52c5778bb
Merge branch 'index_snippet' into 'master'
...
Add index for snippet's updated_at
@DouweM We are ordering by `updated_at` but there is no index.
cc @yorickpeterse
See merge request !2768
2016-02-09 16:12:58 +00:00
Valery Sizov
6c3cd241e8
Add index for snippet's updated_at
2016-02-09 15:10:22 +02:00
Jason Lee and Rémy Coutable
9474e36f46
Add option to include the sender name in body of Notify email. fix #7824
2016-02-09 12:58:13 +01:00
Douwe Maan
a5c2e7a486
Merge branch 'fix/atom-url-issue' into 'master'
...
do not rename .aToM but only .atom projects in migration
Sorry @DouweM forgot to add this.
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/2651/diffs#bc35672f73f4ee025132aee428f383acdf0f755e_0_51
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699
See merge request !2712
2016-02-09 10:39:20 +00:00
Kamil Trzcinski
170ca8435a
Merge branch 'master' into ci-permissions
...
# Conflicts:
# db/schema.rb
2016-02-05 20:15:32 +01:00
James Lopez
c663ca434f
remove unnecessary lower function on SQL
2016-02-04 18:38:11 +01:00
Douwe Maan
ac923b4fb4
Merge branch 'fix/atom-url-issue' into 'master'
...
Fix atom url issue on projects
This MR adds prevents a project to have a path ending in .atom that conflicts with the feed
and
Adds a migration to migrate old .atom projects to a different path
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/3699
See merge request !2651
2016-02-04 16:12:47 +00:00
James Lopez
5dc77d7577
refactored migration based on feedback
2016-02-04 15:35:03 +01:00
James Lopez
7b868c61ab
refactored migration and spec based on feedback
2016-02-04 13:20:55 +01:00
Kamil Trzcinski
6fea7c386f
Merge remote-tracking branch 'origin/master' into ci-permissions
...
# Conflicts:
# app/views/projects/builds/index.html.haml
2016-02-04 13:16:48 +01:00
Kamil Trzcinski
b4c36130cc
Rename allow_guest_to_access_builds to public_builds
2016-02-04 12:57:46 +01:00
Kamil Trzcinski
627909c2a4
Add CI setting: allow_guest_to_access_builds
...
Add the `read_build` ability if user is anonymous or guest and allow_guest_to_access_builds is enabled.
2016-02-02 17:59:37 +01:00
James Lopez
ecb174bfea
fixed move project method in migration
2016-02-02 17:28:14 +01:00
Stan Hu and Douglas Barbosa Alexandre
d20e75a8d8
Support Akismet spam checking for creation of issues via API
...
Currently any spam detected by Akismet by non-members via API will be logged
in a separate table in the admin page.
Closes #5612
2016-02-02 11:25:44 -02:00
James Lopez
94b27f9d79
added TODO to not working method
2016-02-01 15:49:52 +01:00
James Lopez
850942ceba
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/atom-url-issue
2016-02-01 15:49:03 +01:00
James Lopez
927ab48101
WIP - refactored migration
2016-02-01 15:47:11 +01:00
Dmitriy Zaporozhets
f862b4ae0f
Merge remote-tracking branch 'origin/background-delete-process'
2016-01-30 12:14:48 +01:00
James Lopez
7dffec2c43
WIP - add migration
2016-01-29 18:52:49 +01:00
Drew Blessing
873f336ecc
Increase LFS objects size column
2016-01-29 08:28:58 -06:00
Josh Frye
f255313ea4
Update CHANGELOG
2016-01-29 09:23:24 -05:00
Josh Frye
91b9cbff8d
First pass at deleting projects in the background.
2016-01-29 09:14:16 -05:00
Robert Speicher
ca05054ea2
Partially revert "Add IP check against DNSBLs at account sign-up"
...
This partially reverts 6a5cd3ca - we keep the migration and add a new
migration that reverts it in order to keep migration history intact.
2016-01-28 16:28:19 -05:00
Rubén Dávila
985297d82a
Merge branch 'master' into issue_3945
2016-01-20 15:07:00 -05:00
Robert Speicher
1553c560e0
Merge branch 'feature/check-against-rbl-only' into 'master'
...
Split from !2455
References #9092
See merge request !2515
2016-01-20 14:24:20 -05:00
Douwe Maan
7d347ae564
Merge branch 'master' into issue_3945
2016-01-20 20:04:15 +01:00
Douwe Maan
577f2fb47a
Save and use actual diff base commit for MR diff highlighting
2016-01-20 18:44:27 +01:00
Tomasz Maczukin
8536e083f7
Add IP blocking against DNSBL at sign-up
2016-01-20 15:28:19 +01:00
Jeroen Nijhof
7658a64469
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into sentry-integration
...
Conflicts:
db/schema.rb
2016-01-20 09:07:10 +01:00