Commit Graph

311 Commits

Author SHA1 Message Date
Douwe Maan 17758dddf7 Merge branch 'translation-timeago-a-while-ago' into 'master'
Fix translation for 'a while' => 'in a while'

See merge request gitlab-org/gitlab-ce!14433
2017-10-02 10:16:33 +00:00
Phil Hughes 333cb069af
Fixed anchored content not being scrolled into view
Correctly scrolls anchored content into view when the user loads the
page. This is most obvious when the user loads a link note in a
merge request & the page does not scroll down to the note.

Closes #38326
2017-09-29 09:24:56 +01:00
Phil Hughes f389f9081f
refactor tests to actually test browser behaviour 2017-09-25 11:40:40 +01:00
Phil Hughes 65415e3208
removed commented out CSS 2017-09-25 10:57:23 +01:00
Kim "BKC" Carlbäcker a7ff47b799 Fix translation for 'in a while' 2017-09-22 22:31:52 +02:00
Phil Hughes 7ce70dd5a0
Dynamically create offset for sticky bar 2017-09-22 11:13:19 +01:00
Tim Zallmann 55f772bb98 Resolve "Better SVG Usage in the Frontend" 2017-09-22 08:39:47 +00:00
Bryce Johnson cca06da2e4 Standardize access to CSRF token in JavaScript 2017-09-21 17:53:28 +00:00
Phil Hughes 598b1a17a0 Merge branch '37220-es-modules' into 'master'
Use modules in common utils

See merge request gitlab-org/gitlab-ce!14074
2017-09-21 09:01:51 +00:00
Filipa Lacerda 8784d362ab
Exports all the methods in the same place 2017-09-18 18:02:18 +01:00
Mike Greiling 57c97a10b0 Merge branch 'master' into 37220-es-modules
* master: (148 commits)
  Remove gaps under nav on build page
  Replace the 'project/snippets.feature' spinach test with an rspec analog
  Use correct group members path for members flyout link
  Replace the 'project/commits/revert.feature' spinach test with an rspec analog
  Merge branch 'rs-incoming-email-domain-docs' into 'security-10-0'
  Replace the 'project/archived.feature' spinach test with an rspec analog
  Fix broken link in docs/api/wiki.md
  Fixed the new sidebars width when browser has scrollbars
  Improve 'spec/features/profiles/*' specs
  Replace the 'search.feature' spinach test with an rspec analog
  dedupe yarn packages
  add dependency approvals (all MIT license)
  update build image to latest with node 8.x, yarn 1.0.2, and chrome 61
  Ensure we use `Entities::User` for non-admin `users/:id` API requests
  Minor update to address Sean McGivern's comment.
  Add data migration
  Fix setting share_with_group_lock
  created services for keys
  Prepare Repository#merge for migration to Gitaly
  Never connect to webpack-dev-server over SSL
  ...
2017-09-18 10:56:04 -05:00
Filipa Lacerda 14a932f180
Fix context for jquery event
Remove unused function
2017-09-15 14:24:46 +01:00
Bryce Johnson 03b7df7b2e Lightly refactor prettyTime module. 2017-09-14 16:33:15 -04:00
Bryce Johnson ce6a02eeb4 Remove animate.js and the issuable label pulse animation.
Nobody tell @jschatz1 :P
2017-09-13 15:21:49 -04:00
Filipa Lacerda 96e6fc70b4 Import modules instead of using the ones in global namespace
Removes set favicon related methods from global scope
Improves test related with favicon

Removes convertPermissionToBoolean from global scope.
Adds tests for convertPermissionToBoolean - were non existant

Removes setParamInURL from gl.utils

Removes parseIntPagination from gl.utils namespace

Remove normalizeCRLFHeaders from gl.utils namespace

Removes normalizeHeaders from gl.utils namespace

Use gl.utils for filtered search

Fix bad import

Fix broken test by cleaning window.history namespace

Adds changelog
2017-09-09 09:54:27 +01:00
Filipa Lacerda 6a1b84c7b4 Use modules in common utils 2017-09-09 09:54:24 +01:00
Jose Ivan Vargas 45900c3030 Added support for named colors, also added interpolations for the graphs 2017-09-07 09:19:13 -05:00
Jacob Schatz 8100274518 Merge branch 'issue-discussions-refactor' into 'master'
Issue discussions Vue refactor

See merge request !12069
2017-09-02 11:55:18 +00:00
Bryce Johnson dde56a7837 Add support for custom daysPerWeek and hoursPerDay to prettyTime.parseSeconds. 2017-08-31 15:07:57 -04:00
Douwe Maan b181d3124e Merge branch 'master' into issue-discussions-refactor
# Conflicts:
#	app/models/issue.rb
2017-08-30 10:14:56 +02:00
Phil Hughes ab3c8302af Fixes the diff changes buttons from toggling when scrolling
Closes #36698
2017-08-29 13:34:12 +01:00
Douwe Maan fbe82e4cd9 Merge branch 'master' into issue-discussions-refactor
# Conflicts:
#	package.json
2017-08-23 11:31:17 +02:00
Fatih Acet 46ed6cd8ca IssueNotesRefactor: Fix eslint errors. 2017-08-23 01:19:28 +03:00
Fatih Acet 48acfb5c05 IssueNotesRefactor: Show Cmd+Enter to comment tooltip. 2017-08-21 21:48:09 +03:00
Mike Greiling d4cb1ec9e9 fix unnecessarily long gl.utils.backOff test 2017-08-18 03:01:23 -05:00
Douwe Maan 834f1b30d5 Merge branch 'master' into issue-discussions-refactor
# Conflicts:
#	package.json
#	spec/support/features/reportable_note_shared_examples.rb
2017-08-17 14:01:31 +02:00
Phil Hughes 2f3eeb1081
Fixes sticky class being removed when over-scrolling in Safari
Closes #36457
2017-08-15 09:46:16 +01:00
Filipa Lacerda 23334ac0a1 Merge branch 'master' into issue-discussions-refactor
* master: (481 commits)
  Make sure that we have author and committer
  disable file upload button while uploading
  Fix bar chart does not display label at hour 0
  Fixed activity not loading on project homepage
  Expose noteable_iid in Note
  Fix fly-out width when it has long items
  Add a test to show that threshold 40 would corrupt
  Add changelog entry
  Raise encoding confidence threshold to 50
  Fix the /projects/:id/repository/commits endpoint to handle dots in the ref name when the project full path contains a `/`
  Fix the /projects/:id/repository/tags endpoint to handle dots in the tag name when the project full path contains a `/`
  Add Italian translations of Pipeline Schedules
  Restrict InlineJavaScript for haml_lint to dev and test environment
  Incorporate Gitaly's CommitService.FindCommit RPC
  Move `deltas` and `diff_from_parents` logic to Gitlab::Git::Commit
  fix repo_edit_button_spec.js
  fix test failures in repo_preview_spec.js
  fix repo_loading_file_spec tests
  Refactor Gitlab::Git::Commit to include a repository
  use 100vh instead of flip flopping between the two - works on all suported browsers
  ...
2017-08-08 16:15:16 +01:00
Filipa Lacerda 6a6a1e5b9e Merge branch '35052-please-select-a-file-when-attempting-to-upload-or-replace-from-the-ui' into 'master'
Resolve "'Please select a file' when attempting to upload or replace from the UI"

Closes #35052

See merge request !12863
2017-08-08 14:45:49 +00:00
Simon Knox f363479808 disable file upload button while uploading
hide placeholder text when files have been added
vertically center dropzone area content
close modal after file upload succeeds
2017-08-08 22:12:08 +10:00
Filipa Lacerda e4f8aa719b Merge branch 'master' into issue-discussions-refactor
* master: (162 commits)
  Since mysql is not a priority anymore, test it less
  Add container registry and spam logs icons
  Fix different Markdown styles
  Backport to CE for:
  Make new dropdown dividers full width
  Bump GITLAB_SHELL_VERSION and GITALY_VERSION to support unhiding refs
  Install yarn via apt in update guides
  Use long curl options
  Remove monkey-patched Array.prototype.first() and last() methods
  Openshift Getting Started
  35659 Rename Pipelines tab to CI / CD in new navigation
  Don't bother going through an entire Banzai pipeline for empty text
  Add active state for pipelines settings on old nav
  Bump rspec to 3.6.0
  Resolve "Specific Async Script Loading by using a Page Variable"
  Revert "Merge branch 'rs-warm-capybara-only-in-ci' into 'master'"
  another rubocop style fix
  Use mixin for new dropdown style
  Migrate Repository#last_commit_for_path to Gitaly
  Migrate blame loading to Gitaly
  ...
2017-08-04 19:38:37 +01:00
Filipa Lacerda fe5086c28f Merge branch 'diff-changed-files-dropdown' into 'master'
Moved changed files into a dropdown

Closes #29778

See merge request !13128
2017-08-04 07:52:36 +00:00
Tim Zallmann dab08be606 Resolve "Specific Async Script Loading by using a Page Variable" 2017-08-03 20:31:53 +00:00
Phil Hughes b8770ba98b
fixed karma failure 2017-08-03 17:03:49 +01:00
Phil Hughes d86cbe6941
fixed alignment in button
correctly scroll to element with sticky height offset
2017-08-03 17:03:49 +01:00
Phil Hughes 30777178e3
fixed jumping when bar gets stuck
added specs to sticky util file
added `No files found.` text when results are empty
2017-08-03 17:03:49 +01:00
Phil Hughes b507682d6e
made the changed files holder sticky 2017-08-03 17:03:49 +01:00
Clement Ho 974a04026d Add filtered search to group issue dashboard 2017-08-02 09:27:24 +00:00
Fatih Acet 3c2d98f4c2 IssueNotesRefactor: Address MR comments. 2017-07-21 22:35:26 +03:00
Fatih Acet 993936fbd0 IssueNotesRefactor: Implement jumping to target note. 2017-07-21 22:35:25 +03:00
Stan Hu 9d03637307 Merge branch 'fix-date-off-by-1' into 'master'
Fix date bug in JS that makes dates not work with strings

Closes #29916

See merge request !12147
2017-07-19 22:50:38 +00:00
Jacob Schatz 9a303fb7e8 Fixes eslint bugs. 2017-07-18 18:28:05 -04:00
Jacob Schatz 0c97f3574a Fixes code quality issues 2017-07-18 15:07:14 -04:00
Jacob Schatz c9ddfab4df moves the date to the right place 2017-07-18 15:03:29 -04:00
Jacob Schatz 1b98ee7538 Adds datefix class. 2017-07-18 13:38:40 -04:00
Simon Knox 53e7bf0470 fix transient rspec failure due to Poll.js race condition
don't treat aborted requests as failures, they are often triggered during unload (e.g after clicking a link)
2017-07-18 12:17:55 +10:00
Bryce Johnson 4c20ee71a9 Restore timeago translations in renderTimeago. 2017-06-30 12:20:21 -04:00
Bryce Johnson def0f62810 Remove initTimeagoTimeout and let timeago.js update timeagos internally.
MR: !12468
2017-06-29 14:46:02 -04:00
Clement Ho 500d3a990e Merge branch 'winh-no-current-user-search-bar' into 'master'
Add condition if there is a current user to DropdownUser

See merge request !12415
2017-06-28 16:16:46 +00:00
winh 6ab12777bc Introduce addClassIfElementExists utility 2017-06-27 20:37:30 +02:00