- 08 Jan, 2017 1 commit
-
-
Yorick Peterse authored
This column used to be a 32 bits integer, allowing for only a maximum of 2 147 483 647 rows. Given enough users one can hit this limit pretty quickly, as was the case for GitLab.com. Changing this type to bigint (= 64 bits) would give us more space, but we'd eventually hit the same limit given enough users and projects. A much more sustainable solution is to simply drop the "id" column. There were only 2 lines of code depending on this column being present, and neither truly required it to be present. Instead the code now uses the "project_id" column combined with the "user_id" column. This means that instead of something like this: DELETE FROM project_authorizations WHERE user_id = X AND id = Y; We now run the following when removing rows: DELETE FROM project_authorizations WHERE user_id = X AND project_id = Y; Since both user_id and project_id are indexed this should not slow down the DELETE query. This commit also removes the "dependent: destroy" clause from the "project_authorizations" relation in the User and Project models. Keeping this prevents Rails from being able to remove data as it relies on an "id" column being present. Since the "project_authorizations" table has proper foreign keys set up (with cascading removals) we don't need to depend on any Rails logic.
-
- 06 Jan, 2017 17 commits
-
-
Rémy Coutable authored
Fixed failing markdown button tests See merge request !8471
-
Rémy Coutable authored
Fixed edit form authenticity_token call failing the tests See merge request !8472
-
Douglas Barbosa Alexandre authored
[ci skip]
-
Rémy Coutable authored
With Gitea v1.0.0, notes are imported See merge request !8298
-
Fatih Acet authored
Added animations to issue boards Closes #25630 See merge request !8417
-
Alfredo Sumaran authored
Precompile all frontend test fixtures Closes #26226 See merge request !8384
-
Sean McGivern authored
Speed up group milestone index by passing group_id to IssuesFinder See merge request !8363
-
Phil Hughes authored
-
Adam Niedzielski authored
-
Rémy Coutable authored
Whitelist next project names: assets, profile, public See merge request !8470
-
Rémy Coutable authored
Fix 500 errors when creating a user with identity via API Closes #26295 See merge request !8442
-
Phil Hughes authored
Changed CSS transition property for only values that change
-
Phil Hughes authored
-
Rémy Coutable authored
LDAP attributes needs default values See merge request !8465
-
Dmitriy Zaporozhets authored
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-
Drew Blessing authored
-
Alfredo Sumaran authored
Fix timezone due date picker Closes #24253 See merge request !8081
-
- 05 Jan, 2017 22 commits
-
-
Alfredo Sumaran authored
Replace static JavaScript fixtures for u2f See merge request !8426
-
Alfredo Sumaran authored
-
Annabel Dunstone Gray authored
26352 Change Profile settings to User / Settings Closes #26352 See merge request !8453
-
Fatih Acet authored
Fixed new line being included in bold/italic in GFM form Closes #25456 See merge request !8086
-
Fatih Acet authored
Resolve "Merge request tabs don't render when no commits available" Closes #26155 and #24556 See merge request !8347
-
Mike Greiling authored
-
Mike Greiling authored
-
Mike Greiling authored
* fix-u2f-fixtures: generate u2f frontend fixtures dynamically force utf-8 encoding for prior to fixture parsing to prevent nokogiri issues exclude script type=text/template from dom scrubbing
-
Mike Greiling authored
-
Mike Greiling authored
-
Mike Greiling authored
-
Fatih Acet authored
Resolve "Cannot reset or remove MR/Issues description templates" Closes #26346 See merge request !8446
-
Annabel Dunstone Gray authored
Pipelines graph HTML and CSS improvements and bug fixing Closes #26257 See merge request !8443
-
Rémy Coutable authored
Merge branch '19966-api-call-to-move-project-to-different-group-fails-when-using-group-and-project-names-instead-of-id' into 'master' Fix groups API to accept path when transferring a project Closes #19966 See merge request !8408
-
Rémy Coutable authored
Move admin deploy keys spinach to rspec See merge request !8405
-
Rémy Coutable authored
Merge branch '26261-post-api-v3-projects-idorproject-commits-commits-does-not-work-with-project-path' into 'master' Fix Commits API to accept a Project path upon POST Closes #26261 See merge request !8406
-
Filipa Lacerda authored
-
Alfredo Sumaran authored
Refactor discussion edit widget to have only one at a time. Closes #23227 See merge request !8356
-
Annabel Dunstone Gray authored
-
Alfredo Sumaran authored
Removes CustomEvent polyfill and tests See merge request !8400
-
Fatih Acet authored
Decreases font-size on login page See merge request !8454
-
Filipa Lacerda authored
Creates individual html for dropdown Adds simplified CSS for the new dropdown Removes old CSS Improves dropdown item in Chrome, Firefox and Safari Use SCSS variables for colors. Fix scss linter errors Adds animation when the stage is hovered. Adds back tooltip on dropdown toggle Fixes broken tests additional css changes to get more into direction of mockups
-