Phil Hughes
061be86e05
added specs
2017-11-28 14:43:47 +00:00
Phil Hughes
fd818194f1
fixed web worker performance
...
[ci skip]
2017-11-28 09:23:42 +00:00
Phil Hughes
3a1c3c5df5
added web worker to calculate diffs
...
[ci skip]
2017-11-28 09:23:42 +00:00
Phil Hughes
809a27e61e
started move to web worker for diff calculation
2017-11-28 09:23:42 +00:00
Phil Hughes
7c04e4086c
changed endLineNumber calculation
...
[ci skip]
2017-11-28 09:23:41 +00:00
Phil Hughes
caa2f10e71
change how diffing works
...
[ci skip]
2017-11-28 09:23:41 +00:00
Phil Hughes
eb8a609519
added disposable manager
...
added model manager
[ci skip]
2017-11-28 09:23:41 +00:00
Phil Hughes
c90b520d79
created editor library to manage all things editor
...
[ci skip]
2017-11-28 09:23:40 +00:00
Phil Hughes
37864fb0da
Multi-file editor dirty diff indicator
...
[ci skip]
2017-11-28 09:23:39 +00:00
Kamil Trzciński
94c5ca71b7
Merge branch 'tm/feature/namespace-by-id-api' into 'master'
...
Add new API endpoint - get a namespace by ID
Closes #40254
See merge request gitlab-org/gitlab-ce!15442
2017-11-28 08:57:39 +00:00
Douwe Maan
74b5036394
Merge branch '40226-refactor-the-issuable-s-webhooks-data-architecture' into 'master'
...
Refactor the way we pass `old associations` to issuable's update services
Closes #40226
See merge request gitlab-org/gitlab-ce!15542
2017-11-28 08:25:18 +00:00
Fatih Acet
25a3a1838a
Merge branch 'backport-disable-autocomplete' into 'master'
...
Backport disable autocomplete
See merge request gitlab-org/gitlab-ce!15557
2017-11-27 21:40:31 +00:00
Fatih Acet
04ceeac1f6
Merge branch 'backport-epic-fullscreen' into 'master'
...
Backport epic fullscreen
See merge request gitlab-org/gitlab-ce!15437
2017-11-27 20:35:18 +00:00
Fatih Acet
f8de23e626
Merge branch 'backport-add-epic-sidebar' into 'master'
...
Backport of add-epic-sidebar
See merge request gitlab-org/gitlab-ce!15335
2017-11-27 20:21:53 +00:00
Rémy Coutable
a7f6ab952a
Merge branch '39601-create-issuable-destroy-service' into 'master'
...
Create issue and merge request destroy services
Closes #39601
See merge request gitlab-org/gitlab-ce!15604
2017-11-27 16:16:20 +00:00
haseeb
d1e00b1eb6
Fix 404 on empty branch
2017-11-27 13:36:02 +00:00
Kamil Trzcinski
07c7ba1bf4
Allow to drop jobs for deleted projects
2017-11-27 11:56:15 +01:00
Kamil Trzcinski
d58bab4aa5
Use not-ordered search
2017-11-27 11:56:15 +01:00
Kamil Trzcinski
a26e25ea75
Optimise StuckCiJobsWorker
2017-11-27 11:56:15 +01:00
George Andrinopoulos
7fb1bb01bd
Create issue and merge request destroy services
2017-11-25 22:09:18 +02:00
Tim Zallmann
d199ecd452
Merge branch 'fl-upgrade-svg' into 'master'
...
Update svg external dependency
See merge request gitlab-org/gitlab-ce!15596
2017-11-24 21:28:45 +00:00
Rémy Coutable
b355ebc4c9
Merge branch 'jej/fix-protected-branch-validations-ce' into 'master'
...
Fix ProtectedBranch access level validations
See merge request gitlab-org/gitlab-ce!15586
2017-11-24 16:16:31 +00:00
Sean McGivern
7230a34453
Merge branch 'dm-project-search-performance' into 'master'
...
Drastically improve project search performance by no longer searching namespace name
Closes #40510 and #39623
See merge request gitlab-org/gitlab-ce!15590
2017-11-24 16:10:53 +00:00
Filipa Lacerda
2089b5802f
Update svg external dependency
2017-11-24 15:42:39 +00:00
Douwe Maan
8041a87288
Drastically improve project search performance by no longer searching namespace name
2017-11-24 15:57:17 +01:00
James Edwards-Jones
96106287db
Deduplicate protected ref human_access_levels
...
Previously these were duplicated so they could be different for push/merge,
but this was no longer necessary after
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11232
2017-11-24 13:47:03 +00:00
James Edwards-Jones
d6dd9d712a
Fix ProtectedBranch access level validations
...
Before an access_level was required in EE even when an
it had been set for a user/group.
2017-11-24 13:20:56 +00:00
Rémy Coutable
ba62143ac3
Refactor the way we pass `old associations` to issuable's update services
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-24 13:08:25 +01:00
Sean McGivern
c4d844f08b
Merge branch 'issue_40374' into 'master'
...
Fix WIP system note not being created
Closes #40374
See merge request gitlab-org/gitlab-ce!15528
2017-11-24 09:38:45 +00:00
Filipa Lacerda
7e72fcaa09
Prevent 500 error when inspecting job after trigger was removed
2017-11-24 09:20:34 +00:00
Eric Eastwood
eb1f663fc6
Add classList polyfill for IE classList.toggle(.., force)
...
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/38916
2017-11-24 01:03:33 -06:00
Felipe Artur
5c2c471a83
Fix WIP system note not being created
2017-11-23 17:25:14 -02:00
Sean McGivern
dd11f0e053
Merge branch 'dm-cleanup-fetch-and-mirror-methods' into 'master'
...
Clean up repository fetch and mirror methods
See merge request gitlab-org/gitlab-ce!15424
2017-11-23 17:01:47 +00:00
Tomasz Maczukin
97f966c445
Introduce :read_namespace access policy for namespace and group
2017-11-23 17:44:05 +01:00
Douwe Maan
7a1e93d35b
Rename fetch_refs to refmap
2017-11-23 16:59:58 +01:00
Douwe Maan
0e6beaf50c
Clean up repository fetch and mirror methods
2017-11-23 16:59:50 +01:00
Filipa Lacerda
d22c885743
Merge branch 'fix-mermaid-import' into 'master'
...
Fixed import of render mermaid & render math methods
See merge request gitlab-org/gitlab-ce!15550
2017-11-23 15:47:17 +00:00
Rémy Coutable
3026cb2047
Merge branch 'jej-rename-legacy-protected-branches-api-service' into 'master'
...
Renamed ProtectedBranches::ApiUpdateService to LegacyApiUpdateService
See merge request gitlab-org/gitlab-ce!15575
2017-11-23 15:28:41 +00:00
Douwe Maan
dbf97574dc
Merge branch '39887-move-identical-check-to-merged-branches' into 'master'
...
Move identical merged branch check to merged_branch_names
Closes #39887
See merge request gitlab-org/gitlab-ce!15464
2017-11-23 15:16:37 +00:00
Douwe Maan
ad70fb7bdc
Merge branch 'use-merge-requests-diff-id-column' into 'master'
...
Use foreign key to get latest MR diff
Closes #37631
See merge request gitlab-org/gitlab-ce!15126
2017-11-23 15:01:30 +00:00
Sean McGivern
038f5a412d
Merge branch 'jk-group-mentions-fix' into 'master'
...
Fix link text from group context
Closes gitlab-ee#4100
See merge request gitlab-org/gitlab-ce!15565
2017-11-23 14:04:42 +00:00
Markus Koller
257fd57134
Allow password authentication to be disabled entirely
2017-11-23 13:16:14 +00:00
James Edwards-Jones
fceffe4dca
Renamed ProtectedBranches::ApiUpdateService to LegacyApiUpdateService
2017-11-23 12:43:13 +00:00
Sean McGivern
991bf24ec8
Use latest_merge_request_diff association
...
Compared to the merge_request_diff association:
1. It's simpler to query. The query uses a foreign key to the
merge_request_diffs table, so no ordering is necessary.
2. It's faster for preloading. The merge_request_diff association has to load
every diff for the MRs in the set, then discard all but the most recent for
each. This association means that Rails can just query for N diffs from N
MRs.
3. It's more complicated to update. This is a bidirectional foreign key, so we
need to update two tables when adding a diff record. This also means we need
to handle this as a special case when importing a GitLab project.
There is some juggling with this association in the merge request model:
* `MergeRequest#latest_merge_request_diff` is _always_ the latest diff.
* `MergeRequest#merge_request_diff` reuses
`MergeRequest#latest_merge_request_diff` unless:
* Arguments are passed. These are typically to force-reload the association.
* It doesn't exist. That means we might be trying to implicitly create a
diff. This only seems to happen in specs.
* The association is already loaded. This is important for the reasons
explained in the comment, which I'll reiterate here: if we a) load a
non-latest diff, then b) get its `merge_request`, then c) get that MR's
`merge_request_diff`, we should get the diff we loaded in c), even though
that's not the latest diff.
Basically, `MergeRequest#merge_request_diff` is the latest diff in most cases,
but not quite all.
2017-11-23 12:14:56 +00:00
Filipa Lacerda
4563156256
Improve environments performance
2017-11-23 12:04:03 +00:00
Jarka Kadlecova
e826c5d091
Fix link text from group context
2017-11-23 12:59:14 +01:00
Kamil Trzciński
ffa2a98034
Merge branch 'fix/sm/37991-avoid-deactivation-when-pipeline-schedules-execute-a-commit-includes-ci-skip' into 'master'
...
Avoid deactivation when pipeline schedules execute a branch includes `[ci skip]` comment
Closes #37991
See merge request gitlab-org/gitlab-ce!15405
2017-11-23 10:39:52 +00:00
Lin Jen-Shin
7df1cb528e
Move identical merged branch check to merged_branch_names
2017-11-23 18:26:41 +08:00
Filipa Lacerda
3e558d8dbd
Merge branch '39653-hide-section_start-and-section_end-in-pipeline-emails' into 'master'
...
Resolve "Hide `section_start` and `section_end` in pipeline emails"
Closes #39653
See merge request gitlab-org/gitlab-ce!15534
2017-11-23 09:46:02 +00:00
Jose Ivan Vargas Lopez
e882455a9d
Change star, filter and settings icons to the their sprite based replacements
2017-11-23 07:52:15 +00:00