Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-11-10 | Make sure there's only one slash as path separator | Stan 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-22 | Enable frozen string for lib/gitlab/*.rb | gfyoung | |
2018-10-11 | Support pushing of feature flags to the frontend | Yorick 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-29 | Fix various bugs related to relative_url_root in development | Douwe Maan | |
2018-05-24 | Replace 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-02 | Optimize Emoji Sprite Handling | Tim Zallmann | |
2018-03-05 | Add `suggest_colors` from LabelsHelper | Kushal Pandya | |
2018-03-01 | Remove u2f webpack bundle | Mike Greiling | |
2018-02-06 | Merge branch 'master' into jivl-update-katex | Jose Ivan Vargas | |
2018-02-02 | use Gitlab::UserSettings directly as a singleton instead of ↵ | Mario de la Ossa | |
including/extending it | |||
2018-01-03 | Multi File Editor File icons | Tim Zallmann | |
2017-12-21 | Removed the katex precompile steps from the application configuration | Jose Ivan Vargas | |
2017-12-21 | added katex.js and load it via webpack | Jose Ivan Vargas | |
2017-11-09 | Icon Sprite URL is also local even if asset_host is set | Tim Zallmann | |
2017-09-22 | Resolve "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-29 | configure webpack publicPath dynamically to account for CDN or relative path ↵ | Mike Greiling | |
settings | |||
2017-05-26 | Add rubocop:disable to gon_helper.rb | Luke "Jared" Bennett | |
2017-05-26 | Restore notifications to MR widget | Luke "Jared" Bennett | |
2017-05-21 | Use Gitlab::REVISION over reading HEAD sha from git | Luke "Jared" Bennett | |
2017-05-18 | Add current_user_avatar_url to gon | Luke "Jared" Bennett | |
2017-05-05 | Review changes | Luke "Jared" Bennett | |
2017-04-28 | Fixed specs | Luke "Jared" Bennett | |
2017-04-28 | Remove unneeded helper include | Luke "Jared" Bennett | |
2017-04-28 | Fixed view to correct property | Luke "Jared" Bennett | |
2017-04-28 | Attempted adding separate clientside_sentry settings | Luke "Jared" Bennett | |
2017-04-13 | [ci skip] Remove loadscript class in favour of backend conditional | Luke "Jared" Bennett | |
2017-04-04 | Merge branch 'master' into add-sentry-js-again-with-vue | Luke "Jared" Bennett | |
2017-03-14 | Update API on frontend to use v4 | Sam Rose | |
Use options object to pass params for project endpoint | |||
2017-03-07 | Merge 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-07 | re-add Assign to Me link on new MR/Issue forms | Simon Knox | |
2017-03-06 | Fix wrong image src with cached gl-emoji and relative root | Eric Eastwood | |
2017-03-06 | Use native unicode emojis | Eric 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-01 | Make JS use API v3 because v4 is not frozen yet | Valery Sizov | |
2017-02-23 | Enable Style/ColonMethodCall | Douwe Maan | |
2017-01-23 | Added 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-10 | Add username to gon | Clement Ho | |
2016-12-14 | Render math in Asciidoc and Markdown with KaTeX using code blocks | Munken | |
2016-09-19 | Stop putting private tokens in Gon | Nick Thomas | |
2016-07-19 | Fix 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-28 | Unused got variable with very bad performance | Paco 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-09 | Move award_menu_url variable into gon object. | Fatih Acet | |
2016-04-21 | Merge remote-tracking branch 'origin/master' into issue_14904 | Alfredo Sumaran | |
2016-04-21 | Revert "Merge branch 'sentry-js' into 'master' " | Jacob Schatz | |
This reverts commit 0f309794e78243b1ee16ba6f1451dbb0752956c5, reversing changes made to 1e596fef1c42a1dd925636c48fea01be444dc3ab. | |||
2016-04-21 | Merge remote-tracking branch 'origin/master' into issue_14904 | Alfredo Sumaran | |
# Conflicts: # app/views/shared/issuable/_sidebar.html.haml | |||
2016-04-20 | place the sentry config into a new file, and some changes | Arinde Eniola | |
2016-04-18 | Add shortcut_path to GonHelper module | Alfredo Sumaran | |
2016-04-18 | Add sentry logger to GitLab | Jacob Schatz | |
2016-04-14 | Add spec for deletion of authorized OAuth2 application | Stan Hu | |
Closes #14370 Move gon function into its own helper |