Skip to content
Snippets Groups Projects
  1. Feb 12, 2014
  2. Feb 11, 2014
    • Xavier Antoviaque's avatar
      splash-screen: Add ability to redirect to a splash screen URL · e6f4f4f4
      Xavier Antoviaque authored
      Checks for the presence of a cookie with specific values when activated,
      and redirect the user to a configurable URL when it is not found, or not
      with an accepted value.
      
      To be used to display a splash screen to users upon the first visit.
      It's the responsability of the splash page at the redirected URL to set
      the proper cookie value before sending users back to the LMS.
      e6f4f4f4
  3. Feb 10, 2014
  4. Feb 08, 2014
  5. Feb 04, 2014
  6. Feb 03, 2014
  7. Jan 31, 2014
  8. Jan 30, 2014
  9. Jan 29, 2014
    • Chris Dodge's avatar
      Add optional feature to lock out accounts after N failed login attempts.... · 8c60f293
      Chris Dodge authored
      Add optional feature to lock out accounts after N failed login attempts. Lockouts will last M seconds.
      
      add DB migration and fix earlier mistakes in student migration history
      
      add tests and fix bugs that came out of those unit tests
      
      remove unused import
      
      pep8/pylint
      
      address some PR feedback
      
      fix tests
      
      fix broken test
      
      try to mock time
      
      use freeze-gun to overload the system time to simulate the future
      8c60f293
    • Calen Pennington's avatar
      271fbdb4
    • Calen Pennington's avatar
      Add config_model, a library for database backed configuration · d379b35f
      Calen Pennington authored
      ConfigurationModels can be managed using the admin site. They are
      append-only, and track the user who is making the change, and the time
      that the change was made. The configuration is stored in the database,
      and cached for performance.
      
      [LMS-1220]
      d379b35f
    • Calen Pennington's avatar
      Add the ability to dark-launch languages · 881e3ba5
      Calen Pennington authored
      To mark a language as dark-launched, add it to the DARK_LANGUAGES
      django conf setting. To activate a dark-launched language, set he
      query parameter `preview-lang` to the language code on any url.
      
      [LMS-2045]
      [LMS-2077]
      [LMS-2076]
      881e3ba5
    • Xavier Antoviaque's avatar
      Selectively require/hide registration fields & add country/city fields · 386115ae
      Xavier Antoviaque authored
      Extend the capabilities of the REGISTRATION_OPTIONAL_FIELDS
      configuration variable, to allow to select, for each individual field,
      if it should be 'hidden', 'optional' or 'required'.
      
      Rename the configuration variable to REGISTRATION_EXTRA_FIELDS to reflect
      the additional capabilities, and updates the defaults.
      
      As extra fields, configurable through the REGISTRATION_EXTRA_FIELDS
      variable. Hidden by default.
      
      Tickets: MCKIN-168 MCKIN-184
      
      Note: Studio also has a registration page, which uses the same account
      creation page. It should be possible to use it without requiring the
      variable from the LMS, as the fields are different.
      386115ae
  10. Jan 28, 2014
  11. Jan 27, 2014
    • daniel cebrian's avatar
      annotation tools · 7e2652b5
      daniel cebrian authored
      First set of fixes from the pull request
      
      This does not include some of the testing files. The textannotation and
      videoannotation test files are not ready. waiting for an answer on the
      issue.
      
      Deleted token line in api.py and added test for token generator
      
      Added notes_spec.coffee
      
      remove spec file
      
      fixed minor error with the test
      
      fixes some quality errors
      
      fixed unit test
      
      fixed unit test
      
      added advanced module
      
      Added notes_spec.coffee
      
      remove spec file
      
      Quality and  Testing Coverage
      
      1. in test_textannotation.py I already check for line 75 as it states
      in the diff in line 43, same with test_videoanntotation
      2. Like you said, exceptions cannot be checked for
      firebase_token_generator.py. The version of python that is active on
      the edx server is 2.7 or higher, but the code is there for correctness.
      Error checking works the same way.
      3. I added a test for student/views/.py within tests and deleted the
      unused secret assignment.
      4. test_token_generator.py is now its own file
      
      Added Secret Token data input
      
      fixed token generator
      
      Annotation Tools in Place
      
      The purpose of this pull request is to install two major modules: (1) a
      module to annotate text and (2) a module to annotate video. In either
      case an instructor can declare them in advanced settings under
      advanced_modules and input content (HTML in text, mp4 or YouTube videos
      for video). Students will be able to highlight portions and add their
      comments as well as reply to each other. There needs to be a storage
      server set up per course as well as a secret token to talk with said
      storage.
      
      Changes:
      1. Added test to check for the creation of a token in tests.py (along
      with the rest of the tests for student/view.py)
      2. Removed items in cms pertaining to annotation as this will only be
      possible in the lms
      3. Added more comments to firebase_token_generator.py, the test files,
      students/views.py
      4. Added some internationalization stuff to textannotation.html and
      videoannotation.html. I need some help with doing it in javascript, but
      the html is covered.
      
      incorporated lib for traslate
      
      fixed quality errors
      
      fixed my notes with catch token
      
      Text and Video Annotation Modules - First Iteration
      
      The following code-change is the first iteration of the modules for
      text and video annotation.
      
      Installing Modules:
      1. Under “Advanced Settings”, add “textannotation” and
      “videoannotation” to the list of advanced_modules.
      2. Add link to an external storage for annotations under
      “annotation_storage_url”
      3. Add the secret token for talking with said storage under
      “annotation_token_secret”
      
      Using Modules
      1. When creating  new unit, you can find Text and Video annotation
      modules under “Advanced” component
      2. Make sure you have either Text or Video in one unit, but not both.
      3. Annotations are only allowed on Live/Public version and not Studio.
      
      Added missing templates and fixed more of the quality errors
      
      Fixed annotator not existing issue in cmd and tried to find the get_html() from the annotation module class to the descriptor
      
      Added a space after # in comments
      
      Fixed issue with an empty Module and token links
      
      Added licenses and fixed vis naming scheme and location.
      7e2652b5
  12. Jan 24, 2014
    • Chris Dodge's avatar
      add middleware to be able to expire inactive sessions after N seconds · fcefada2
      Chris Dodge authored
      configure middleware
      
      add test for session inactive timeouts
      
      add Studio inactive session timeout test
      
      change login method used
      
      add create_test_account to test
      
      make sure the expected redirect URL is right
      
      fix indenting problem
      
      fix doc string since we moved from minutes to seconds
      
      use utility methods rather than calling another test to set up and activate an account
      
      clean up code violations
      
      respond to PR feedback
      
      use optional params to make code cleaner
      
      pylint fix on test files
      fcefada2
  13. Jan 16, 2014
    • Diana Huang's avatar
      Migrations for LinkedIn. · fdf531ae
      Diana Huang authored
      Clean up common.
      
      Add the ability to dry-run the command without sending e-mail.
      
      Don't save courses sent during a dry run
      
      Switch to EmailMessage for LinkedIn so we can send HTML emails
      
      Update subject copy.
      
      Use correct name for CertificationName
      
      Fix up certificate url information.
      fdf531ae
    • David Ormsbee's avatar
      Remove unused parts of LinkedIn API · db7308ad
      David Ormsbee authored
      Fix whitelist logic to handle empty lists.
      db7308ad
  14. Jan 15, 2014
  15. Jan 14, 2014
    • Chris Dodge's avatar
      Introduction of the Microsite feature which allows for limited multi-tenant... · a3211a74
      Chris Dodge authored
      Introduction of the Microsite feature which allows for limited multi-tenant branding on a subdomain basis, e.g. foo.edx.org and bar.edx.org
      
      fix errorenous logic when running a microsite that could reside in a hosting environment with a marketing site in front of it
      
      pep8/pylint fixes
      
      address PR feedback, remove underscore from test hostname
      
      more pep8/pylint cleanup. Skip test_microsites test, it works on localdev, not on Jenkins. Need to talk with QA team
      
      manually add Ned's single-to-double quote fix
      
      change aws.py runtimes so that the microsite_dir that is read from configuration is changed to a python path
      
      Conflicts:
      	lms/templates/help_modal.html
      a3211a74
    • Chris Rossi's avatar
      Add individual due dates feature. · 831f907c
      Chris Rossi authored
      Adds a feature to the edX platform which allows instructors to set
      individual due dates for students on particular coursework. This code is
      meant primarily for on-campus use--it is not intended that this feature
      would be used for MOOCs. It adds a new tab, "Extensions", to the beta
      instructor dashboard which allows changing due dates per student. This
      feature is enabled by setting FEATURES['INDIVIDUAL_DUE_DATES'] = True.
      831f907c
  16. Jan 10, 2014
  17. Jan 09, 2014
  18. Jan 08, 2014
  19. Jan 06, 2014
  20. Dec 19, 2013
    • Will Daly's avatar
      Moved stub servers to terrain · 0fd03cfb
      Will Daly authored
      Refactored stub services for style and DRY
      
      Added unit tests for stub implementations
      
      Updated acceptance tests that depend on stubs.
      
      Updated Studio acceptance tests to use YouTube stub server; fixed failing tests in devstack.
      0fd03cfb
  21. Dec 18, 2013
    • Julia Hansbrough's avatar
      Fixing email link injection bug · f351b050
      Julia Hansbrough authored
      Several templates used a variable set by the user (the request host header).  This led to a vulnerability where an attacker could inject their domain name into these templates (i.e., activation emails).  This patch fixes this vulnerability.
      
      LMS-532
      f351b050
  22. Dec 17, 2013
  23. Dec 16, 2013
    • Carson Gee's avatar
      Add sysadmin dashboard · ccc87337
      Carson Gee authored
      For seeing overview of system status, for deleting and loading
      courses, for seeing log of git imports of courseware.  Includes command
      for importing course XML from git repositories.
      
      Added a lot of tests for additional coverage with some minor fixes
      those tests discovered
      ccc87337
  24. Dec 12, 2013
  25. Dec 10, 2013
  26. Dec 04, 2013
  27. Dec 03, 2013
  28. Nov 26, 2013
Loading