Permalink
Commits on Feb 22, 2016
  1. Add a deployment config for the Python 2016 course

    Also stop booting a Sidekiq daemon for the old editions of the course.
    
    I've also changed the deploy domain to contain the year of the course
    for consistency with previous editions of the config.
    mitio committed Feb 22, 2016
  2. Merge pull request #173 from vladimiroff/python3.5

    Run tests for the Python course with Python 3.5
    mitio committed Feb 22, 2016
Commits on Feb 21, 2016
  1. Run tests for the Python course with Python 3.5

    vladimiroff committed Feb 21, 2016
  2. Send process result and exceptions via pipe

    Doing it by sharing a state inside the process' instance is an
    undocumented behavior and no longer works in 3.5.
    vladimiroff committed Feb 21, 2016
Commits on Feb 10, 2016
  1. Merge pull request #172 from stormbreakerbg/hide-test-results-if-not-…

    …graded
    
    Hide the passed and failed test count if task is not checked
    mitio committed Feb 10, 2016
Commits on Feb 2, 2016
  1. Hide the passed and failed test count if task is not checked

    stormbreakerbg committed Feb 2, 2016
Commits on Jan 31, 2016
  1. Merge pull request #170 from stormbreakerbg/timeout-spec-parameter

    Parametrize the timeout time for solution examples
    mitio committed Jan 31, 2016
Commits on Jan 30, 2016
  1. Merge pull request #171 from stormbreakerbg/synchronize-runner-output…

    …-log
    
    Synchronize output to log file in Ruby task runner
    mitio committed Jan 30, 2016
  2. Synchronize output to log file in Ruby task runner

    Redirecting stdout and stderr separately to a single file results in
    unsynchronized writes to the file. Running a command which writes to
    stdout and stderr results in the two outputs "merging" mid-line and
    sometimes mid-utf sequence.
    
    If one of the outputs is inserted in the middle of a utf character
    sequence then we get `ArgumentError: invalid byte sequence` when trying
    to split the JSON output from the log at `Language::Ruby#run_tests`.
    
    The problem is caused by `system` opening the same file two times
    (one for stdout and one for stderr) and writing to it at the same time.
    
    The fix specifies the file redirection of both streams at the same time
    so that the file is open only once.
    stormbreakerbg committed Jan 30, 2016
  3. Parametrize the timeout time for solution examples

    Sometimes we want to give tests more time to execute. One example is the
    retrospective automated check which frequently takes some more time and
    is a single example.
    stormbreakerbg committed Jan 30, 2016
Commits on Nov 23, 2015
  1. Merge pull request #164 from SophiaPetrova/fix-user-about-visibility

    Fix user about info visibility
    committed Nov 23, 2015
Commits on Nov 21, 2015
  1. Update skeptic to 0.0.16

    mitio committed Nov 21, 2015
Commits on Nov 16, 2015
  1. Update skeptic to 0.0.15

    Fixes a bug with spaces around unary operators in some cases.
    mitio committed Nov 16, 2015
Commits on Nov 11, 2015
  1. Don't depend on CWD when running tests

    Tests are run in a Sidekiq thread. Sometimes a broken job may change the
    CWD of the main Sidekiq process thus chainging it for all future jobs.
    It's better that the test job doesn't depend on the CWD of the process
    which is running the tests.
    
    For some language runners, this might result in the following error
    visible in the Sideliq queue:
    
    A JSON text must at least contain two octets!
    mitio committed Nov 11, 2015
Commits on Nov 9, 2015
  1. Update skeptic to 0.0.14

    mitio committed Nov 9, 2015
Commits on Oct 31, 2015
  1. Send us an email if the lectures compilation fails

    If the compilation fails now, it will no longer be silently overlooked
    and we will get notified and take appropriate action.
    mitio committed Oct 31, 2015
Commits on Oct 21, 2015
  1. Fix `go version` output in go tasks guide

    hahcho committed Oct 21, 2015
Commits on Oct 20, 2015
  1. Merge pull request #168 from hahcho/go-tasks-guide-update-version

    Fix `go version` output in go tasks guide
    mitio committed Oct 20, 2015
  2. Merge pull request #167 from ironsmile/golang-version-in-tasks-guide

    Updates the go version in the tasks guide
    mitio committed Oct 20, 2015
  3. Updates the go version in the tasks guide

    ironsmile committed Oct 20, 2015
Commits on Oct 14, 2015
  1. Update skeptic to 0.0.12 to fix some false positives

    mitio committed Oct 14, 2015
Commits on Oct 11, 2015
  1. Merge pull request #165 from ironsmile/bugfix/lectures-script-is-actu…

    …ally-a-bash-script
    
    The lectures script is actually a bash script
    mitio committed Oct 11, 2015
  2. The lectures script is actually a bash script

    The `pushd` and `popd` commands are bash commands. Expecting them
    while being executed by /bin/sh does not make any sense. Indeed,
    some linux distributions symlink /bin/sh to bash, but this is not
    a good idea.
    
    The lectures script fails on all standard distros such as Ubuntu
    which is used for running the courses' sites.
    ironsmile committed Oct 11, 2015
Commits on Oct 7, 2015
  1. Make the tasks guide less Ruby-version dependent

    mitio committed Oct 7, 2015
Commits on Oct 6, 2015
  1. Remove about from factory

    SophiaPetrova committed Oct 6, 2015
  2. Fix user about info visibility

    SophiaPetrova committed Oct 6, 2015
Commits on Sep 30, 2015
  1. Add a ruby-2015 deployment config

    mitio committed Sep 30, 2015
Commits on Aug 28, 2015
  1. Merge branch 'ruby-2.2-upgrade'

    A lot of gems needed upgrading to fix errors or deprecation warnings.
    mitio committed Aug 28, 2015
  2. Set RSpec’s config.infer_spec_type_from_file_location

    This fixes an RSpec deprecation warning:
    
    rspec-rails 3 will no longer automatically infer an example group's spec type
    from the file location. You can explicitly opt-in to this feature using this
    snippet:
    
    RSpec.configure do |config|
      config.infer_spec_type_from_file_location!
    end
    
    If you wish to manually label spec types via metadata you can safely ignore
    this warning and continue upgrading to RSpec 3 without addressing it.
    mitio committed Aug 28, 2015
  3. Add the rspec-collection_matchers gem

    This fixes an RSpec deprecation warning:
    
    `expect(collection_owner).to have(1).question` is deprecated. Use the rspec-collection_matchers gem or replace your expectation with something like `expect(collection_owner.question.size).to eq(1)` instead. Called from /Users/dimitar/projects/fmi/evans/spec/models/polls/submission_spec.rb:12:in `block (2 levels) in <module:Polls>'.
    
    …and others
    mitio committed Aug 28, 2015
  4. Add the rspec-activemodel-mocks gem

    This fixes an RSpec deprecation warning:
    
    `mock_model` is deprecated. Use the `rspec-activemodel-mocks` gem instead. Called from /Users/dimitar/projects/fmi/evans/spec/controllers/announcements_controller_spec.rb:31:in `block (3 levels) in <top (required)>'.
    mitio committed Aug 28, 2015
  5. Use “be true” instead of be_true

    This is again to fix an RSpec deprecation warning:
    
    `be_true` is deprecated. Use `be_truthy` (for Ruby's conditional semantics) or `be true` (for exact `== true` equality) instead. Called from /Users/dimitar/projects/fmi/evans/spec/helpers/tasks_helper_spec.rb:9:in `block (3 levels) in <top (required)>'.
    mitio committed Aug 28, 2015
  6. Use “be false” instead of “be_false”

    This is to fix an RSpec deprecation:
    
    `be_false` is deprecated. Use `be_falsey` (for Ruby's conditional semantics) or `be false` (for exact `== false` equality) instead. Called from /Users/dimitar/projects/fmi/evans/spec/helpers/tasks_helper_spec.rb:23:in `block (3 levels) in <top (required)>'.
    mitio committed Aug 28, 2015