Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.15.x into central-develop #4513

Merged
merged 196 commits into from
Oct 8, 2015
Merged

0.15.x into central-develop #4513

merged 196 commits into from
Oct 8, 2015

Conversation

MCGallaspy
Copy link
Contributor

No description provided.

djallado and others added 30 commits July 29, 2015 09:55
Add qtip to global jQuery object; remove redundant setting

Add try-except block for individual screenshots

Add kwarg wait_time to browser_activate_element, use in screenshots

Escape and un-escape spaces in command line argument

Screenshots can be annotated, but whitepspace is stripped from cl arguments.
As a work-around, even earlier we escape the whitespace in an annotation, and
then un-escape it again in the screenshots management command.
The replacement is not literal -- all whitespace (matching r'\s') will be
replaced with a single space (' ').

Clean up screenshot management command & browser mixins

In screenshots.py:
  * Add the "shot" to output of snap_all exception handling
  * Remove unnecessary logging-in/logging-out functionality
    from process_snap. The login endpoint logs out users already.
    Not using browser_is_logged_in avoids overhead.
  * Unconditionally browse to start url in process_snap.

In the browser mixins:
  * Refactor browse_to to not use wait_for_page_change. WebDriver
    already waits for the page's onload event.
  * Add better error handling to browser_activate_element, by logging kwargs.
    Collected named args into kwargs to facilitate error message.
  * Add js snippet to browser_send_keys, to ensure a given state.

Escape & unescape more whitespace
Clean up default model cruft in RatingView -- an unspecified
  model will just default to null.

Always use RatingModel.debounced_save instead of explicit save, to ensure
  saves are made at most once for fast input.

In the StarView, separate a save call from display logic and move to
  appropriate callback.

In topics/views.js, don't set an empty default model -- it can now
  safely be null.

In the display logic of show_rating, handle the case when the model is
  unset, and also queue up a debounced_save before switching out a model.
If a user interacted with the rating and set quality, but never set
  difficulty, then subsequent loads would cause the filled-in quality
  to display, but not difficulty. Changed so that difficulty is now
  also displayed if quality is already set.
aronasorman and others added 26 commits October 5, 2015 09:42
Final docs of KA-Lite Monitor installation in OSX.
Use correct name for progress_log.
Minor documentation corrections
Strictly enforce video-js version for srt compatability.
Put cache database in user-writable location
The central server sends a short version (e.g. 0.14), which the distributed server
then compares to its long version (e.g. 0.14.1). The problem is that 0.14 compares
as less than 0.14.1, so language packs are shown as unavailable. Instead,
when comparing two mismatched-length versions, only consider the shortest version
available -- thus 0.14 and 0.14.1 would compare equal. Then the languagepack versions
will be compared, which is the actual intent.
Updated content from KA, via contentload.
Conflicts:
	kalite/main/api_resources.py

Conflicts:
	kalite/main/api_resources.py
Raspbian uses an old distribution of wget resulting in a certificate error upon attempting the download as documented in the installation guidelines. Including the "--no-check-certificate" parameter fixes this issue.
Conflicts:
	docs/installguide/install_all.rst
Conflicts:
	data/version.yml
	kalite/version.py
Conflicts:
	data/version.yml
	kalite/version.py
Log whenever we fail to load the SQLite content cache.
0.15.x cherry-picks from 0.14.x
@rtibbles
Copy link
Member

rtibbles commented Oct 8, 2015

Let's do this!

rtibbles added a commit that referenced this pull request Oct 8, 2015
@rtibbles rtibbles merged commit d7cdc84 into central-develop Oct 8, 2015
@rtibbles rtibbles removed the has PR label Oct 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.