gitlab-org--gitlab-foss/lib/gitlab
Lin Jen-Shin 050103f209 Make sure TraceReader uses Encoding.default_external
Encoding.default_external was chosen over
Encoding.default_internal because File.read is
returning Encoding.default_external, therefore
we should align with it. Alternatively, we could
force both of them to be Encoding.default_internal.

However, ideally this should be determined by different
projects. For example, some projects might want to use
an encoding different to what GitLab is using.

This might not happen soon though.

Closes #27052
2017-01-26 18:29:44 +08:00
..
auth Introduce has_access_to? so that we could reuse it 2016-11-16 20:31:23 +08:00
backend Refine Git garbage collection 2016-11-04 14:30:11 +01:00
badge Also use latest_status, feedback: 2016-12-15 18:12:33 +08:00
bitbucket_import Add Wiki import to BB importer 2016-12-19 20:48:08 +02:00
chat_commands Revert specific URL 2016-12-27 10:43:23 +01:00
checks Remove useless permission checks in Gitlab::Checks::ChangeAccess 2017-01-12 17:37:14 -05:00
ci Make sure TraceReader uses Encoding.default_external 2017-01-26 18:29:44 +08:00
conflict Add blob_ace_mode to conflict content response 2016-10-13 14:16:35 -05:00
cycle_analytics fix spec 2017-01-17 11:32:55 +01:00
data_builder Added Ci::Stage specs 2016-12-06 16:04:30 +01:00
database refactor fetcher and fixed specs 2017-01-17 11:32:55 +01:00
diff Fix MR with files hidden by .gitattributes 2016-12-26 16:25:55 +00:00
downtime_check
email Handles unsubscribe from notifications via email 2017-01-13 10:11:46 -05:00
fogbugz_import Pass user instance to Labels::FindOrCreateService or skip_authorization: true 2016-10-28 11:31:45 +02:00
gfm Fix cross-project references copy to include the project reference 2017-01-03 13:01:46 +01:00
git Remove some useless require_relative statements 2017-01-17 01:22:01 -05:00
github_import Revert "Merge branch 'revert-9cac0317' into 'master' " 2017-01-23 16:35:24 +01:00
gitlab_import
google_code_import Pass user instance to Labels::FindOrCreateService or skip_authorization: true 2016-10-28 11:31:45 +02:00
graphs
import_export Merge branch 'fix/import-users' into 'master' 2017-01-20 16:03:44 +00:00
ldap Fix Rubocop offenses in LDAP related code and spec 2017-01-10 14:31:21 +01:00
markdown
metrics Check for env[Grape::Env::GRAPE_ROUTING_ARGS] instead of endpoint.route 2017-01-12 23:15:25 -05:00
middleware Inject ::UploadedFile from Multipart middleware 2016-12-21 13:07:53 +01:00
o_auth Improve the `Gitlab::OAuth::User` error message 2016-11-30 11:23:04 -06:00
request_profiler
saml
sanitizers
serialize/ci Keep the value type for YAML variables 2016-12-19 21:15:47 +08:00
sherlock
sidekiq_middleware Merge branch 'aiionx_sidekiq_log_patch' into 'master' 2016-10-03 14:20:18 +00:00
sidekiq_status Fix race conditions for AuthorizedProjectsWorker 2017-01-25 13:22:15 +01:00
slash_commands
sql Merge branch 'jej-note-search-uses-finder' into 'security' 2016-12-15 11:40:12 -03:00
template Rename "autodeploy" to "auto deploy" 2016-12-23 11:08:18 +01:00
view/presenter More improvements to presenters 2017-01-18 16:38:35 +01:00
access.rb Allow Member.add_user to handle access requesters 2016-09-28 09:43:00 +02:00
allowable.rb Remove trailing blank line from Allowable module 2016-12-14 08:36:03 +01:00
app_logger.rb
asciidoc.rb Add support for PlantUML diagrams in Asciidoc. 2017-01-12 10:04:52 +00:00
auth.rb Rename the `token_has_scope?` method. 2016-12-16 16:29:32 +05:30
award_emoji.rb
blame.rb
changes_list.rb
chat_name_token.rb Add most of specs for chat names 2016-11-17 21:34:23 +01:00
closing_issue_extractor.rb
color_schemes.rb
config_helper.rb
contributions_calendar.rb Merge branch '23403-fix-events-for-private-project-features' into 'security' 2016-11-09 12:27:41 +01:00
contributor.rb
current_settings.rb Rescue from ActiveRecord::UnknownAttributeError and fallback to fake settings 2017-01-23 16:58:13 +01:00
database.rb Refresh project authorizations using a Redis lease 2016-11-25 13:35:01 +01:00
devise_failure.rb
downtime_check.rb
ee_compat_check.rb Ensure we sanitize branch names with path-unfriendly characters 2016-11-23 10:55:28 +01:00
emoji.rb Convert UTF-8 Emoji to Gitlab emoji 2016-10-13 13:18:30 +02:00
environment_logger.rb Show log corresponding to env in admin/logs 2016-11-03 22:02:47 +01:00
exclusive_lease.rb Refine Git garbage collection 2016-11-04 14:30:11 +01:00
file_detector.rb Unify detecting of special repository files 2016-11-21 12:51:40 +01:00
git.rb
git_access.rb Rubocop prefers to indent this way 2016-12-20 23:30:01 +08:00
git_access_status.rb
git_access_wiki.rb Prefer guest_can_download_code? and fix typo 2016-12-06 21:10:27 +08:00
git_logger.rb
git_post_receive.rb
git_ref_validator.rb
gl_id.rb
gon_helper.rb Add username to gon 2017-01-09 16:00:53 -06:00
highlight.rb
identifier.rb Use Commit#author so we share logic and cache 2016-11-24 02:33:55 +08:00
import_export.rb Fix import/export labels to cope with project and group labels. Added relevant specs. 2016-10-19 14:58:25 -02:00
import_formatter.rb
import_sources.rb Rescue from ActiveRecord::UnknownAttributeError and fallback to fake settings 2017-01-23 16:58:13 +01:00
incoming_email.rb Handles unsubscribe from notifications via email 2017-01-13 10:11:46 -05:00
issues_labels.rb Pass user instance to Labels::FindOrCreateService or skip_authorization: true 2016-10-28 11:31:45 +02:00
job_waiter.rb Fix race conditions for AuthorizedProjectsWorker 2017-01-25 13:22:15 +01:00
key_fingerprint.rb
kubernetes.rb Add terminals to the Kubernetes deployment service 2016-12-19 19:53:04 +00:00
lazy.rb
lfs_token.rb Fix race condition that can be triggered if the token expires right after we retrieve it, but before we can set the new expiry time. 2016-09-29 10:25:26 -05:00
logger.rb
mail_room.rb Make mail_room idle_timeout option configurable. 2016-11-16 12:46:37 +01:00
markup_helper.rb
metrics.rb
optimistic_locking.rb Make retry_lock to not be infinite 2016-10-27 12:34:35 +01:00
other_markup.rb
popen.rb Accept environment variables from the `pre-receive` script. 2016-12-16 23:32:25 +05:30
project_search_results.rb Search feature: redirects to commit page if query is commit sha and only commit found 2017-01-24 14:58:00 +03:00
protocol_access.rb
recaptcha.rb
redis.rb Allow to use ENV variables in redis config 2017-01-13 10:41:50 +05:00
reference_extractor.rb
regex.rb Allow to use + symbol in filenames 2017-01-15 19:48:35 +11:00
repository_check_logger.rb
request_profiler.rb
routing.rb Make it possible to mix `Gitlab::Routing` in 2016-12-13 14:51:23 +01:00
search_results.rb Search feature: redirects to commit page if query is commit sha and only commit found 2017-01-24 14:58:00 +03:00
seeder.rb
sentry.rb
sherlock.rb
sidekiq_logger.rb
sidekiq_status.rb Fix race conditions for AuthorizedProjectsWorker 2017-01-25 13:22:15 +01:00
sidekiq_throttler.rb Refactored Sidekiq Throttler and updated documentation 2016-11-11 11:14:58 -06:00
snippet_search_results.rb
themes.rb rename theme to match actual colors 2016-12-06 12:51:06 -07:00
time_tracking_formatter.rb Add some API endpoints for time tracking. 2017-01-18 10:48:16 -06:00
timeless.rb
update_path_error.rb Fix error 500 renaming group. Also added specs and changelog. 2016-12-20 17:52:27 +01:00
upgrader.rb
uploads_transfer.rb
url_builder.rb API: Endpoint to expose personal snippets as /snippets 2016-12-01 19:07:49 +01:00
url_sanitizer.rb
user_access.rb Allow creating protected branch when it doesn't exist 2017-01-13 10:53:59 -05:00
utils.rb Fix project features default values 2016-11-01 11:03:56 -02:00
version_info.rb
visibility_level.rb Backport changes introduced by https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1083 2017-01-20 12:25:53 +01:00
workhorse.rb Pass Gitaly resource path to gitlab-workhorse if Gitaly is enabled 2017-01-18 19:43:17 +02:00