-
Notifications
You must be signed in to change notification settings - Fork 4.2k
annotation tools #2188
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
annotation tools #2188
Changes from all commits
5c8b9cd
d1a150d
667203b
a6ab62c
1d087e2
ff0983c
35c8000
63e8260
8360060
5af91ef
a9a92c2
4e7a420
6098902
c52669b
e39d51d
1138dfe
03a7197
88014a2
60beeb7
ccc686a
54321cc
4e9a549
8ea802e
a62ef9d
9b15ce8
eb5fab8
63c84fe
d5f88b0
750a515
f92ae77
dc91aa2
71857a6
df92827
de0e728
5835ecf
c49f308
211827b
07bb623
2a88dc6
d408310
9f12006
aafc2ed
f900e8b
2aab8f8
ac4d3e1
3336cc7
c82e4ed
e64ab5e
4636b27
a41bdb4
b8e1e74
e21118f
ebe0749
c876e33
174604c
5773fe3
85598fc
e6591d1
471b081
a904358
2027bcd
1e6ee71
f9cfaa1
18307e6
2a5e932
64a8e5a
638abf7
b88bc4b
220f914
18c7787
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -281,6 +281,16 @@ | |
| 'css/vendor/jquery.qtip.min.css', | ||
| 'js/vendor/markitup/skins/simple/style.css', | ||
| 'js/vendor/markitup/sets/wiki/style.css', | ||
| 'css/vendor/ova/edx-annotator.css', | ||
| 'css/vendor/ova/annotator.css', | ||
| 'css/vendor/ova/video-js.min.css', | ||
| 'css/vendor/ova/rangeslider.css', | ||
| 'css/vendor/ova/share-annotator.css', | ||
| 'css/vendor/ova/richText-annotator.css', | ||
| 'css/vendor/ova/tags-annotator.css', | ||
| 'css/vendor/ova/flagging-annotator.css', | ||
| 'css/vendor/ova/ova.css', | ||
| 'js/vendor/ova/catch/css/main.css' | ||
| ], | ||
| 'output_filename': 'css/cms-style-vendor.css', | ||
| }, | ||
|
|
@@ -316,6 +326,25 @@ | |
| 'output_filename': 'js/cms-modules.js', | ||
| 'test_order': 1 | ||
| }, | ||
| 'main_vendor': { | ||
| 'source_filenames': [ | ||
| 'js/vendor/ova/annotator-full.js', | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let @jtauber know about all these 3rd party libraries (and their licenses).
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am in contact with him and have given him a list of 3rd party libraries and where the licenses can be found. Thanks!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This library was in edx, but I have updated it. |
||
| 'js/vendor/ova/video.dev.js', | ||
| 'js/vendor/ova/vjs.youtube.js', | ||
| 'js/vendor/ova/rangeslider.js', | ||
| 'js/vendor/ova/share-annotator.js', | ||
| 'js/vendor/ova/tinymce.min.js', | ||
| 'js/vendor/ova/richText-annotator.js', | ||
| 'js/vendor/ova/reply-annotator.js', | ||
| 'js/vendor/ova/tags-annotator.js', | ||
| 'js/vendor/ova/flagging-annotator.js', | ||
| 'js/vendor/ova/jquery-Watch.js', | ||
| 'js/vendor/ova/ova.js', | ||
| 'js/vendor/ova/catch/js/catch.js', | ||
| 'js/vendor/ova/catch/js/handlebars-1.1.2.js' | ||
| ], | ||
| 'output_filename': 'js/cms-main_vendor.js', | ||
| }, | ||
| } | ||
|
|
||
| PIPELINE_COMPILERS = ( | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,6 +48,9 @@ | |
| # ajax view that actually does the work | ||
| url(r'^login_post$', 'student.views.login_user', name='login_post'), | ||
| url(r'^logout$', 'student.views.logout_user', name='logout'), | ||
|
|
||
| #added token | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What is this comment supposed to mean?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is to give information of a new permission to generate a token for the catch (annotation backend)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If I'm not mistaken, with a few changes we've made as of late this comment and the line below will be deleted momentarily. |
||
| url(r'^token/', 'student.views.token', name="token"), | ||
| ) | ||
|
|
||
| # restful api | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of putting these dependencies here, it would be better to update CMS' RequireJS configuration. See /cms/templates/base.html.
FYI, LMS does not use RequireJS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These files aren't really used in CMS. You should not be able to create annotations in Studio mode, only do the set up and actually annotate in the LMS. Where would they go if not in this file if we only needed them for the LMS?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is specifically for CMS. It does not impact LMS at all.
LMS has a similar file, and I believe it already has the libraries listed there (in this PR).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I'm sorry, you are correct. We'll remove it from here and the line in cms/urls.py that is associated with it as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, you are right. At the beginning, we thought to use annotator in the CMS and finally we decided to put in the LMS. But we are going to remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please look over the rest of the PR and make sure the files are what you want in the final version? When you have addressed all the outstanding issues and feel that the PR is good shape for review, add a comment and I will start reviewing again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I am working on this.