Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-10Make sure there's only one slash as path separatorStan Hu
In Ruby 2.4, `URI.join("http://test//", "a").to_s` will remove the double slash, however it's not the case in Ruby 2.5. Using chomp should work better for the intention, as we're not trying to allow things like ../ or / paths resolution. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53180
2018-10-22Enable frozen string for lib/gitlab/*.rbgfyoung
2018-10-11Support pushing of feature flags to the frontendYorick Peterse
This adds a method to Gitlab::GonHelper called `push_frontend_feature_flag`. This method can be used to easily expose the state of a feature flag to Javascript code. For example, using this method we may write the following controller code: before_action do push_frontend_feature_flag(:vim_bindings) end def index # ... end def edit # ... end In Javascript we can then check the state of the flag as follows: if ( gon.features.vimBindings ) { // ... } Fixes https://gitlab.com/gitlab-org/release/framework/issues/17
2018-05-29Fix various bugs related to relative_url_root in developmentDouwe Maan
2018-05-24Replace Gitlab::REVISION with Gitlab.revision and handle installations ↵Rémy Coutable
without a .git directory Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-05-02Optimize Emoji Sprite HandlingTim Zallmann
2018-03-05Add `suggest_colors` from LabelsHelperKushal Pandya
2018-03-01Remove u2f webpack bundleMike Greiling
2018-02-06Merge branch 'master' into jivl-update-katexJose Ivan Vargas
2018-02-02use Gitlab::UserSettings directly as a singleton instead of ↵Mario de la Ossa
including/extending it
2018-01-03Multi File Editor File iconsTim Zallmann
2017-12-21Removed the katex precompile steps from the application configurationJose Ivan Vargas
2017-12-21added katex.js and load it via webpackJose Ivan Vargas
2017-11-09Icon Sprite URL is also local even if asset_host is setTim Zallmann
2017-09-22Resolve "Better SVG Usage in the Frontend"Tim Zallmann
2017-08-31`current_application_settings` belongs on `Gitlab::CurrentSettings`Sean McGivern
The initializers including this were doing so at the top level, so every object loaded after them had a `current_application_settings` method. However, if someone had rack-attack enabled (which was loaded before these initializers), it would try to load the API, and fail, because `Gitlab::CurrentSettings` didn't have that method. To fix this: 1. Don't include `Gitlab::CurrentSettings` at the top level. We do not need `Object.new.current_application_settings` to work. 2. Make `Gitlab::CurrentSettings` explicitly `extend self`, as we already use it like that in several places. 3. Change the initializers to use that new form.
2017-06-29configure webpack publicPath dynamically to account for CDN or relative path ↵Mike Greiling
settings
2017-05-26Add rubocop:disable to gon_helper.rbLuke "Jared" Bennett
2017-05-26Restore notifications to MR widgetLuke "Jared" Bennett
2017-05-21Use Gitlab::REVISION over reading HEAD sha from gitLuke "Jared" Bennett
2017-05-18Add current_user_avatar_url to gonLuke "Jared" Bennett
2017-05-05Review changesLuke "Jared" Bennett
2017-04-28Fixed specsLuke "Jared" Bennett
2017-04-28Remove unneeded helper includeLuke "Jared" Bennett
2017-04-28Fixed view to correct propertyLuke "Jared" Bennett
2017-04-28Attempted adding separate clientside_sentry settingsLuke "Jared" Bennett
2017-04-13[ci skip] Remove loadscript class in favour of backend conditionalLuke "Jared" Bennett
2017-04-04Merge branch 'master' into add-sentry-js-again-with-vueLuke "Jared" Bennett
2017-03-14Update API on frontend to use v4Sam Rose
Use options object to pass params for project endpoint
2017-03-07Merge branch '23948-assign-to-me' into 'master' Alfredo Sumaran
re-add Assign to Me link on new MR/Issue forms Closes #23948 See merge request !9499
2017-03-07re-add Assign to Me link on new MR/Issue formsSimon Knox
2017-03-06Fix wrong image src with cached gl-emoji and relative rootEric Eastwood
2017-03-06Use native unicode emojisEric Eastwood
- gl_emoji for falling back to image/css-sprite when the browser doesn't support an emoji - Markdown rendering (Banzai filter) - Autocomplete - Award emoji menu - Perceived perf - Immediate response because we now build client-side - Update `digests.json` generation in gemojione rake task to be more useful and include `unicodeVersion` MR: !9437 See issues - #26371 - #27250 - #22474
2017-03-01Make JS use API v3 because v4 is not frozen yetValery Sizov
2017-02-23Enable Style/ColonMethodCallDouwe Maan
2017-01-23Added raven and raven-vue plugin, updated gon_helper with data needed for ↵Luke Bennett
raven and created raven_config, required by application.js Added is_production to define sentry environment Removed as much jQuery as possible Added public_sentry_dsn application_settings helper method Use URI module instead of regex for public dsn Removed raven-vue and load raven on if sentry is enabled Add load_script spec added raven_config spec added class_spec_helper and tests added sentry_helper spec added feature spec
2017-01-10Add username to gonClement Ho
2016-12-14Render math in Asciidoc and Markdown with KaTeX using code blocksMunken
2016-09-19Stop putting private tokens in GonNick Thomas
2016-07-19Fix help page paths to make sure shortcuts and the UI help page work.Connor Shea
Add a test to make sure the help page UI path doesn't break in the future. Fix #19972 and #19889.
2016-06-28Unused got variable with very bad performancePaco Guzman
In any case if just want the value which is always ‘gitlab’ require 'benchmark/ips' Project.first # To load database things GitlabIssueTrackerService.first # To load database things Benchmark.ips do |x| x.config(:time => 5, :warmup => 2) x.report("current") do Project.new.default_issue_tracker.to_param end x.report("") do 'gitlab' end x.compare! end Calculating ------------------------------------- current 4.000 i/100ms 30.938k i/100ms ------------------------------------------------- current 47.298 (±10.6%) i/s - 232.000 4.366M (±20.9%) i/s - 17.202M Comparison: : 4366456.0 i/s current: 47.3 i/s - 92318.26x slower
2016-06-09Move award_menu_url variable into gon object.Fatih Acet
2016-04-21Merge remote-tracking branch 'origin/master' into issue_14904Alfredo Sumaran
2016-04-21Revert "Merge branch 'sentry-js' into 'master' "Jacob Schatz
This reverts commit 0f309794e78243b1ee16ba6f1451dbb0752956c5, reversing changes made to 1e596fef1c42a1dd925636c48fea01be444dc3ab.
2016-04-21Merge remote-tracking branch 'origin/master' into issue_14904Alfredo Sumaran
# Conflicts: # app/views/shared/issuable/_sidebar.html.haml
2016-04-20place the sentry config into a new file, and some changesArinde Eniola
2016-04-18Add shortcut_path to GonHelper moduleAlfredo Sumaran
2016-04-18Add sentry logger to GitLabJacob Schatz
2016-04-14Add spec for deletion of authorized OAuth2 applicationStan Hu
Closes #14370 Move gon function into its own helper