Commit Graph

397 Commits

Author SHA1 Message Date
Fatih Acet 5106f88a48 Merge branch 'kp-7325-add-lib-helpers' into 'master'
CE Backport: Add library helpers to use in Roadmap

See merge request gitlab-org/gitlab-ce!24232
2019-01-08 15:06:20 +00:00
Kushal Pandya 2bb73dab72 Add `newDate` helper, update `getTimeframeWindowFrom`
Adds `newDate` helper to copy date object without keeping reference.
Adds negative length support in `getTimeframeWindowFrom` to go
back in time.
2019-01-08 19:41:57 +05:30
Kushal Pandya 214d741ba5 Add support for `offset` values in `isInViewport` 2019-01-08 18:37:21 +05:30
Phil Hughes 12edecd002
Add headers to files in the tree list on merge requests
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54807
2019-01-08 09:31:23 +00:00
Sam Bigelow 066a99b6e9 Add markdown buttons to file editor
Currently, we have markdown files in many places (e.g. comments, new
issues, etc.). This Merge Request detects if the file being edited is a
markdown file and adds markdown buttons and their functionality to the
single file editor (Not the web IDE)
2019-01-02 08:24:32 -08:00
Phil Hughes 3019a567f0
Fixes the markdown toolbar buttons
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55618
2018-12-21 10:37:53 +00:00
Oswaldo Ferreira ed3034bbb7 Allow suggesting single line changes in diffs 2018-12-13 19:17:19 +00:00
André Luís 85daddbec9 Resolve "Navigating unresolved discussions on Merge Request page" 2018-12-08 07:19:03 +00:00
Tim Zallmann ddd4cc649f Resolve "Extended user centric tooltips" 2018-12-08 03:12:23 +00:00
Paul Slaughter 38431c8f99 CE Port of "Web Terminal FE" 2018-12-07 16:29:32 +00:00
Nick Thomas 9395d198f9
Use BFG object maps to clean projects 2018-12-06 18:58:00 +00:00
Paul Slaughter 83a95a02c2
Add some 400 statuses to http_status 2018-12-05 14:40:07 -06:00
Thomas Holder fe76827f17 Resolve "mergeUrlParams wrong with fragment url" 2018-11-30 09:49:22 +00:00
Winnie Hellmann 47fad3353f Add parseBoolean helper function 2018-11-27 09:18:48 +01:00
Thomas Pathier 7ed62abf7e Resolve "The reply shortcut can add any text of the page to the "comment" text area" 2018-11-20 18:18:29 +00:00
Johann Hubert Sonntagbauer 65de10ec6d Refine cursor positioning in Markdown Editor for wrap tags. 2018-11-20 06:57:00 +00:00
Constance Okoghenun 6e911a119f CE backport - Chart showing issues created per month 2018-11-07 17:22:15 +00:00
Constance Okoghenun baa37edd93 Resolve "Issue board card design" 2018-11-07 17:20:17 +00:00
Mike Greiling 160157a92b
Prettify remaining files with differences in CE and EE 2018-10-31 14:33:12 -05:00
Phil Hughes 2bbfca8240 Merge branch '52115-Link-button-in-markdown-editor-should-recognize-URLs' into 'master'
Link button in markdown editor recognize URLs

Closes #52115

See merge request gitlab-org/gitlab-ce!22547
2018-10-26 07:56:32 +00:00
Winnie Hellmann 50222d4dc6 Add calculateRemainingMilliseconds() helper function 2018-10-25 18:46:45 +02:00
Kushal Pandya a6788c1add Run through Prettier and remove ESLint disables
Formats the file to match Prettier rules
Removes all blacklisted ESLint rules
2018-10-25 15:11:14 +05:30
Kushal Pandya f9c28dc2cb Add pretty_time methods
Adds methods from `app/assets/javascripts/lib/utils/pretty_time.js`
and deletes the file
2018-10-25 15:10:45 +05:30
Kushal Pandya 135ef0465d Add pikaday parsing methods
Adds methods from `app/assets/javascripts/lib/utils/datefix.js`
and deletes the files
2018-10-25 15:09:50 +05:30
Kushal Pandya b686b3d524 Convert methods to ES6 exports 2018-10-25 11:50:24 +05:30
Johann Hubert Sonntagbauer 861772846b Link button in markdown editor recognize URLs 2018-10-24 19:25:52 +02:00
Mike Greiling 1dae485c7b Merge branch '52686-project-slug-does-not-auto-populate-in-ie11' into 'master'
Resolve "Project slug does not auto populate in IE11"

Closes #52686

See merge request gitlab-org/gitlab-ce!22367
2018-10-16 17:08:43 +00:00
Martin Wortschack d0191e294f Use literal instead of constructor for creating regex 2018-10-15 15:32:47 +02:00
Zeger-Jan van de Weg 399056ed78 Remove dependencies on Linguist
This saves about 128 MB of baseline RAM usage per Unicorn and
Sidekiq process (!).

Linguist wasn't detecting languages anymore from CE/EE since
9ae8b57467. However, Linguist::BlobHelper
was still being depended on by BlobLike and others.

This removes the Linguist gem, given it isn't required anymore.
EscapeUtils were pulled in as dependency, but given Banzai depends on
it, it is now added explicitly.

Previously, Linguist was used to detect the best ACE mode. Instead,
we rely on ACE to guess the best mode based on the file extension.
2018-10-12 17:17:30 -07:00
Mike Greiling f7a3e8ff53
Prettify lib/utils modules 2018-10-10 02:30:24 -05:00
Mike Greiling d76190371c Resolve "Harmonize prettier and eslint configs" 2018-10-09 15:25:53 +00:00
Winnie Hellmann 0fc93df02b Add component tests for scheduled job frontend 2018-10-04 14:54:22 +02:00
Shinya Maeda 5381985bd0 Merge branch 'master-ce' into scheduled-manual-jobs 2018-10-04 09:44:14 +09:00
Filipa Lacerda c375171bfd Merge branch 'mr-file-tree-data' into 'master'
Merge Request file tree

Closes #14249

See merge request gitlab-org/gitlab-ce!21833
2018-10-03 10:30:15 +00:00
Phil Hughes 33c4c5b8f3
Added file tree to merge request diffs
This file tree displays all the diff files in a tree like format
Each file is taken and converted into a tree with folders
Each folder can be toggled open & closed
Clicking a file will scroll to the diff file & highlight with a glow affect

Searching the tree list will search only files & return a list of the
files without any folders

Each file row contains an icon to show changed, new file or deleted
Each row will also contain the added & removed lines count

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/14249
2018-10-03 10:05:43 +01:00
Winnie Hellmann fc8d4c7046 Add scheduled job dropdown to pipelines list 2018-10-02 17:08:14 +02:00
Jan Beckmann ceafbbd317 Resolve "Add "Link" shortcut/icon in markdown editor to make it easier to add references" 2018-10-02 13:59:42 +00:00
Johann Hubert Sonntagbauer d366ea1438 circumvent browser cache on browser back navigation 2018-10-02 10:00:58 +00:00
Filipa Lacerda bcc9492cbd Extracts scroll position checks into reusable functions
With the new Job Log page in Vue, we'll need to reuse the same functions for scrolling
that we're using in the jQuery one.
This page extracts that logic into reusable functions
2018-09-26 17:35:23 +01:00
André Luís 38beacc926 Resolve "Link to file in Changes tab of MR no longer works for all files after incremental rendering improvement" 2018-09-20 08:21:17 +00:00
Mike Greiling 08c3920ce1
Move findAndFollowLink to lib/utils 2018-09-18 14:43:46 -05:00
Martin Wortschack 03ab130e4b Resolve "Create new project: Re-add project name field" 2018-09-08 06:03:00 +00:00
Tim Zallmann 44cb8a7407 Merge branch 'boards-querystring-backport' into 'master'
don't add trailing = when in urlParamsToArray function

See merge request gitlab-org/gitlab-ce!21179
2018-09-07 10:20:27 +00:00
Dennis Tang 5b74a1aebc Resolve "Improve handling of projects shared with a group" 2018-09-07 06:09:13 +00:00
🌴🌴 Filipa Lacerda - OOO back on September 17th 🌴🌴 55582b4359 Adds Vuex store for the job log page 2018-09-03 07:49:52 +00:00
Simon Knox 8a5121eb8e don't add trailing = when in urlParamsToArray function 2018-08-29 06:28:06 +10:00
Paul Slaughter fbfe04401d Add vanilla JS avatar_helper and update existing avatar helpers 2018-08-01 19:43:50 +00:00
André Luís 32737672fa Revert "Merge branch 'tz-mr-refactor-mem-posting' into 'master'"
This reverts commit 9c121352aa, reversing
changes made to c1b335e012.
2018-08-01 13:45:14 +01:00
Filipa Lacerda 49948c1ff6
Changes poll.js to keep polling on any 2xx http status code 2018-07-30 15:44:01 +01:00
Phil Hughes 7dabb48e9b Merge branch 'kp-stacked-progress-bar-decimal-places' into 'master'
Show decimal place up to single digit in Stacked Progress Bar

Closes gitlab-ee#6028

See merge request gitlab-org/gitlab-ce!20776
2018-07-24 11:33:09 +00:00