leomartinez2019
943bd6f15b
Fixing cgi.escape DeprecationWarning
...
- Change cgi.escape to html.escape
- Add quote=False to html.escape
- Use function HTML() to address python-wrap-html warning
2020-06-22 14:41:27 -04:00
Feanil Patel
6e3fe00fff
Fix all E303 pep8 errors.
2019-12-30 12:25:38 -05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Maxim Dorovkov
8702e40589
INCR-230 - Run python-modernize and isort on common/lib/xmodule/xmodule ( #20506 )
...
* INCR-230 - Run python-modernize and isort on common/lib/xmodule/xmodule, plus a few minor fixes suggested by Jeremy
2019-05-16 10:09:15 -04:00
Jeremy Bowman
113e8dde61
PLAT-1885 Stop using deprecated BlockUsageLocator properties
2018-01-12 16:40:21 -05:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Gregory Martin
e1e47793df
change help strings
2017-01-12 09:02:28 -05:00
cahrens
b8ddf709dc
Convert javascript_loader to JS.
...
Also reformat to 4 spaces per indent.
2016-10-13 13:59:00 -04:00
Syed Hassan Raza
a32d48cfa9
Escape characters for poll-module
2016-08-12 18:58:00 +05:00
Christina Roberts
2497f0a0eb
WIP: xblock pipeline work ( #10176 )
...
[PERF-303] Integer XBlocks/XModules into the static asset pipeline.
This PR, based on hackathon work from Christina/Andy, implements a way to discover all installed XBlocks and XModules and to enumerate their public assets, then pulling them in during the collectstatic phase and hashing them. In turn, the methods for generating URLs to resources will then returned the hashed name for assets, allowing them to be served from nginx/CDNs, and cached heavily.
2016-04-29 10:52:42 -04:00
David Baumgold
36e77c7463
Fixing pep8 issues
2014-12-11 13:04:49 -05:00
Sarina Canelake
725e4908e3
Remove more pep8 violations
2014-11-04 07:37:41 -05:00
Don Mitchell
3c42e8c725
Performance enhancements for unit tests
...
in test_contentstore, don't load the xml course if not necessary
2014-10-09 11:47:56 -04:00
Christina Roberts
719a898e0f
Merge pull request #2018 from edx/christina/export-bug
...
Bug fixes related to unicode support in export workflow.
2013-12-27 08:34:49 -08:00
Calen Pennington
3bb67a8b0e
Merge pull request #1996 from cpennington/conditional-module-acceptance-tests
...
Add acceptance tests of the conditional module
2013-12-20 11:01:07 -08:00
cahrens
dc3b5ab57a
Support unicode in text field.
...
Part of STUD-868
2013-12-20 13:31:16 -05:00
Calen Pennington
06fadcdc0c
Make conditional module and poll modules a little easier to understand
2013-12-20 12:32:15 -05:00
Valera Rozuvan
1542a74d2b
Removed logme module. Using console.log() instead.
...
Removing "logme" from comments.
BLD-608
2013-12-20 16:25:44 +02:00
Calen Pennington
8201b1412e
Use XBlock 0.3
2013-09-06 09:45:59 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
Carlos Andrés Rocha
e4ee1c6c9b
Rename arguments of modx_dispatch and handle_ajax related functions
...
Refactor a bit modx_dispatch
2013-06-25 13:38:57 -04:00
Christina Roberts
9e0997d3c8
Merge pull request #111 from edx/feature/christina/unify-fields
...
Move "stringy" functionality into xblock fields
2013-06-13 13:49:14 -07:00
Calen Pennington
e791e84ea7
Remove the stores_state field from XModule
...
stores_state is now only used in a single test, in conjunction with
has_score. In practice, it's never the case that stores_state is false
when has_score is true, so we can delete stores_state entirely, and just
use has_score for the grading test.
2013-06-13 14:38:59 -04:00
cahrens
89d0003603
Be strict about ModelType expected types, rename Object as Dict.
2013-06-12 14:59:17 -04:00
Alexander Kryklia
e5daeb41fb
update docstring
2013-05-13 14:44:00 +03:00
Calen Pennington
039ccb83cc
Migrate to the open source XBlock repo
2013-04-04 10:55:31 -04:00
Calen Pennington
5379a9fd2b
Make the id property available on both modules and descriptors, and make it a property, so that we aren't duplicating the location data
2013-03-13 11:56:53 -04:00
Calen Pennington
92e99d7a8b
Move field definitions for XModules into mixin classes, so that descriptors and modules always have the same set of fields
2013-03-13 11:35:50 -04:00
Alexander Kryklia
ebc37f1d2d
reset updates
2013-02-25 13:35:58 +02:00
Alexander Kryklia
f5dc0afa07
fixed reset json
2013-02-25 12:54:56 +02:00
Alexander Kryklia
82a74abd65
return ok on poll_reset
2013-02-25 12:12:28 +02:00
Alexander Kryklia
3dae4d29bd
reset part-1
2013-02-25 11:21:47 +02:00
Alexander Kryklia
059b9f66e3
poll and conditional finished
2013-02-15 18:48:39 +02:00
Calen Pennington
789ac3fc87
Use the XBlock library as the base for XModule, so that we can incrementally rely on more and more of the XBlock api
2013-01-04 16:19:58 -05:00
Calen Pennington
8874d9d7f8
Add a draft implementation of the Poll module for Justice
2013-01-03 12:21:13 -05:00