- 23 Feb, 2017 1 commit
-
-
Douwe Maan authored
-
- 22 Feb, 2017 1 commit
-
-
Yorick Peterse authored
This allows you to set a custom host when calling Gitlab::Database.create_connection_pool. This is necessary for load balancing as in this case we want to inherit all settings except for the hostname.
-
- 21 Feb, 2017 2 commits
-
-
Yorick Peterse authored
This was initially not implemented simply because I forgot about the size limit of constraint names in PostgreSQL (63 bytes). Using the old technique we can't add foreign keys for certain tables. For example, adding a foreign key on protected_branch_merge_access_levels.protected_branch_id would lead to the following key name: fk_protected_branch_merge_access_levels_protected_branches_protected_branch_id This key is 78 bytes long, thus violating the PostgreSQL size requirements. The hashing strategy is copied from Rails' foreign_key_name() method, which unfortunately is private and subject to change without notice.
-
Z.J. van de Weg authored
-
- 20 Feb, 2017 2 commits
-
-
Douglas Barbosa Alexandre authored
The returned email by the GitHub API is the user's publicly visible email address (or null if the user has not specified a public email address in their profile)
-
Jan Christophersen authored
This commit adds CI/CD Badges Snippets for AsciiDoc as requested in #26087. I've however run into an issue in highlighting the snippet, it seems as if AsciiDoc is currently not being highlighted properly (displayed as plaintext) Add testcase for to_asciidoc Update test case for Badges list
-
- 17 Feb, 2017 2 commits
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- 16 Feb, 2017 4 commits
-
-
Douwe Maan authored
-
James Lopez authored
-
James Lopez authored
Also update repo restorer to use project wiki method.
-
James Lopez authored
-
- 15 Feb, 2017 5 commits
-
-
Annabel Dunstone Gray authored
-
Semyon Pupkov authored
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/20305
-
James Lopez authored
-
Robert Speicher authored
Fix XSS in rdoc and other markups See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2058
-
Robert Speicher authored
Add sanitization filter to asciidocs output to prevent XSS See https://dev.gitlab.org/gitlab/gitlabhq/merge_requests/2057
-
- 14 Feb, 2017 1 commit
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
- 13 Feb, 2017 3 commits
-
-
Dmitriy Zaporozhets authored
Signed-off-by:
Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Lin Jen-Shin authored
-
Yorick Peterse authored
We don't need to connect when requesting the name of the database adapter. This in turn should prevent us from requesting/leaking connections just by asking whether we're using PostgreSQL or MySQL.
-
- 10 Feb, 2017 4 commits
-
-
Robert Speicher authored
-
Yorick Peterse authored
This method allows one to create foreign keys without blocking access to the source table, but only on PostgreSQL. When creating a regular foreign key the "ALTER TABLE" statement used for this won't return until all data has been validated. This statement in turn will acquire a lock on the source table. As a result this lock can be held for quite a long amount of time, depending on the number of rows and system load. By breaking up the foreign key creation process in two steps (creation, and validation) we can reduce the amount of locking to a minimum. Locking is still necessary for the "ALTER TABLE" statement that adds the constraint, but this is a fast process and so will only block access for a few milliseconds.
-
dixpac authored
Reason for renaming is to comply with naming convention of services in codebase.
-
Lin Jen-Shin authored
This could prevent errors described in: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8970 Everything we're using right now, should be valid of course.
-
- 08 Feb, 2017 1 commit
-
-
Ershad Kunnakkadan authored
-
- 07 Feb, 2017 6 commits
-
-
Douwe Maan authored
-
Ruben Davila authored
We can't properly use foreign keys on columns that are configured for polymorphic associations which has disadvantages related to data integrity and storage. Given we only use time tracking for Issues and Merge Requests we're moving to the usage of regular associations.
-
Grzegorz Bizon authored
-
James Lopez authored
-
James Lopez authored
-
Douwe Maan authored
-
- 06 Feb, 2017 8 commits
-
-
Douwe Maan authored
-
Douwe Maan authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
James Lopez authored
-
Grzegorz Bizon authored
-
Grzegorz Bizon authored
-