Brett Walker
45a04f9374
Enable CommonMark source line position information
...
This adds 'data-sourcepos' to tags, indicating which
line of markdown it came from. Sets the stage for
intelligently manipulating specific lines of markdown.
2019-01-21 13:45:16 -06:00
Takuya Noguchi
e902f462c2
Eliminate duplicated words
...
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2018-11-22 01:01:23 +09:00
gfyoung
ebf98f27c4
Enable even more frozen string in lib/gitlab
...
Enables frozen string for the following:
* lib/gitlab/fogbugz_import/**/*.rb
* lib/gitlab/gfm/**/*.rb
* lib/gitlab/git/**/*.rb
* lib/gitlab/gitaly_client/**/*.rb
* lib/gitlab/gitlab_import/**/*.rb
* lib/gitlab/google_code_import/**/*.rb
* lib/gitlab/gpg/**/*.rb
* lib/gitlab/grape_logging/**/*.rb
* lib/gitlab/graphql/**/*.rb
* lib/gitlab/graphs/**/*.rb
* lib/gitlab/hashed_storage/**/*.rb
* lib/gitlab/health_checks/**/*.rb
Partially address gitlab-org/gitlab-ce#47424 .
2018-11-13 11:42:15 -08:00
Jarka Košanová
4af1712d01
Extract code from Issues::MoveService
...
Extract code to make it easier reusable
- introduce AttributesRewriter and ContentRewriter
- support group entites when rewriting content
- make Uploader copy_to working for Namespaces
2018-11-12 08:57:25 +01:00
Micaël Bergeron
cebdd267e6
add support for file copy on object storage
2018-07-03 09:57:15 -07:00
Stan Hu
e61f66b3d1
When moving issues, don't attempt to move files in object storage
...
Closes #48505
2018-07-03 09:57:15 -07:00
🙈 jacopo beschi 🙉
c6b1043e9d
Resolve "Make a Rubocop that forbids returning from a block"
2018-04-18 09:19:40 +00:00
Micaël Bergeron
74ddc80590
add the uploader context to the upload model
2018-02-02 09:28:15 -05:00
Micaël Bergeron
2057a6acde
port of 594e6a0a625^..f74c90f68c6
2018-02-01 12:14:46 -05:00
Grzegorz Bizon
b49bd4d3bb
Fix rewriting issue references with group milestones
2017-09-20 09:55:54 +00:00
James Lopez
112f470572
Fix cross-project references copy to include the project reference
...
Also added relevant specs and refactored to_references in a bunch of places to be more consistent.
2017-01-03 13:01:46 +01:00
Jacob Vosmaer
6731ab5d76
Add Gitlab::Middleware::Multipart
2016-12-15 12:26:36 +01:00
Douglas Barbosa Alexandre
1e6d136af3
Keep cross project reference logic in GroupLabel#to_reference
2016-10-19 14:58:26 -02:00
Douglas Barbosa Alexandre
07709c5576
Unfold references for group labels when moving issue to another project
2016-10-19 14:58:25 -02:00
Grzegorz Bizon
b9f5719285
Remove reduntant move_to_store
override
2016-03-30 12:50:19 +02:00
Grzegorz Bizon
99ee822857
Add method that returns markdown in file uploader
2016-03-30 10:56:25 +02:00
Grzegorz Bizon
e64b1e52a2
Check if GFM rewriters need rewrite internally
2016-03-30 10:44:18 +02:00
Grzegorz Bizon
f2674c7b98
Refactor uploads rewriter used when moving issue
2016-03-30 10:44:18 +02:00
Grzegorz Bizon
701976e081
Add uploads rewriter and use it when moving issue
2016-03-30 10:44:18 +02:00
Grzegorz Bizon
db8f70d508
Do not rewrite reference if already a cross reference
2016-03-21 14:12:49 +01:00
Grzegorz Bizon
6eb3105634
Find referable for each ref found in references rewriter
2016-03-20 10:52:01 +01:00
Grzegorz Bizon
323d328c86
Rename reference unfolder to rewriter, minor refactorings
2016-03-20 10:14:25 +01:00
Grzegorz Bizon
18f25bc942
Update reference unfolder according to recent ability changes
...
Commit 43d8bdb4f0
introduced additional
checks for permissions to read issue in references extractor.
2016-03-19 18:58:52 +01:00
Grzegorz Bizon
9b13ce0b7a
Improvements in issue move feaure (refactoring)
...
According to endbosses' suggestions.
2016-03-19 18:46:01 +01:00
Grzegorz Bizon
5e3c9475a9
Add minor improvements in code related to issue move
2016-03-17 07:39:16 +01:00
Grzegorz Bizon
4354bfaba5
Add implementation of reference unfolder using banzai
2016-03-17 07:39:16 +01:00
Grzegorz Bizon
fd8394faae
Move reference unfolder for GFM to separate class
2016-03-17 07:39:15 +01:00