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
2021-08-31Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-06-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-05-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-04Avoid calling freeze on already frozen strings in lib/gitlabdineshpanda
2019-01-15Adopt Fugit to replace Rufus::SchedulerLin Jen-Shin
2018-10-27Enable frozen string for lib/gitlab/cigfyoung
Enables frozen string for the following: * lib/gitlab/ci/*.rb * lib/gitlab/ci/build/**/*.rb * lib/gitlab/ci/config/**/*.rb * lib/gitlab/ci/pipeline/**/*.rb * lib/gitlab/ci/reports/**/*.rb Partially addresses #47424.
2018-04-29[Rails5] Fix TZInfo::InvalidTimezoneIdentifier exceptionblackst0ne
In Rails 4.2.10 the `ActiveSupport::TimeZone.find_tzinfo(timezone_name)` method calls `TZInfo::TimezoneProxy.new(timezone_name)` which returns `timezone_name` if it is invalid. But in Rails 5.0 the `ActiveSupport::TimeZone.find_tzinfo(timezone_name)` method now calls the `TZInfo::Timezone.new(timezone_name)` method which throws the `TZInfo::InvalidTimezoneIdentifier: Invalid identifier` exception if `timezone_name` is invalid. This commit adds the rescue block to return timezone name if the exception is raised. Also this change fixes the error: ``` 1) Ci::PipelineSchedule validations does not allow invalid cron patters Failure/Error: ActiveSupport::TimeZone.find_tzinfo(timezone).name TZInfo::InvalidTimezoneIdentifier: Invalid identifier # ./lib/gitlab/ci/cron_parser.rb:28:in `timezone_name' # ./lib/gitlab/ci/cron_parser.rb:9:in `initialize' # ./app/validators/cron_validator.rb:6:in `new' # ./app/validators/cron_validator.rb:6:in `validate_each' # ./spec/models/ci/pipeline_schedule_spec.rb:26:in `block (3 levels) in <top (required)>' ```
2017-05-10Resolve "Update gem sidekiq-cron from 0.4.4 to 0.6.0 and rufus-scheduler ↵Dosuken shinya
from 3.1.10 to 3.4.0"
2017-05-03Fix lazy error handling of cron parserDosuken shinya
2017-04-06Improve instantiate recursion in cron_parser.rbShinya Maeda
2017-04-06Add empty line in cron_parser.rbShinya Maeda
2017-04-06Rename cron_time_zone to cron_timezone. Separate add_concurrent_foreign_key.Shinya Maeda
2017-04-06Ommit begin block in try_parse_cronShinya Maeda
2017-04-06Separate cron_valid? and cron_time_zone_valid?Shinya Maeda
2017-04-06Dry up next_time_from. Move cron_parser_spec to appropriate location.Shinya Maeda
2017-04-06Move Ci::CronParser to Gitlab::Ci::CronParserShinya Maeda