Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
a7a9abab
Commit
a7a9abab
authored
Aug 21, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a course to test start dates
parent
d3f1f0f8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
52 additions
and
0 deletions
+52
-0
common/test/data/test_start_date/README.md
+1
-0
common/test/data/test_start_date/course.xml
+2
-0
common/test/data/test_start_date/course/2012_Fall.xml
+15
-0
common/test/data/test_start_date/html/toylab.html
+3
-0
common/test/data/test_start_date/html/toylab.xml
+2
-0
common/test/data/test_start_date/policies/2012_Fall.json
+27
-0
common/test/data/test_start_date/roots/2012_Fall.xml
+2
-0
No files found.
common/test/data/test_start_date/README.md
0 → 100644
View file @
a7a9abab
Simple course. If start dates are on, non-staff users should see Overview, but not Ch 2.
common/test/data/test_start_date/course.xml
0 → 120000
View file @
a7a9abab
roots/2012_Fall.xml
\ No newline at end of file
common/test/data/test_start_date/course/2012_Fall.xml
0 → 100644
View file @
a7a9abab
<course>
<chapter
url_name=
"Overview"
>
<videosequence
url_name=
"Toy_Videos"
>
<html
url_name=
"toylab"
/>
<video
url_name=
"Video_Resources"
youtube=
"1.0:1bK-WdDi6Qw"
/>
</videosequence>
<video
url_name=
"Welcome"
youtube=
"1.0:p2Q6BrNhdh8"
/>
</chapter>
<chapter
url_name=
"Ch2"
>
<html
url_name=
"test_html"
>
<h2>
Welcome
</h2>
</html>
</chapter>
</course>
common/test/data/test_start_date/html/toylab.html
0 → 100644
View file @
a7a9abab
<b>
Lab 2A: Superposition Experiment
</b>
<p>
Isn't the toy course great?
</p>
common/test/data/test_start_date/html/toylab.xml
0 → 100644
View file @
a7a9abab
<html
filename=
"toylab.html"
/>
\ No newline at end of file
common/test/data/test_start_date/policies/2012_Fall.json
0 → 100644
View file @
a7a9abab
{
"course/2012_Fall"
:
{
"graceperiod"
:
"2 days 5 hours 59 minutes 59 seconds"
,
"start"
:
"2011-07-17T12:00"
,
"display_name"
:
"Toy Course"
},
"chapter/Overview"
:
{
"display_name"
:
"Overview"
},
"chapter/Ch2"
:
{
"display_name"
:
"Chapter 2"
,
"start"
:
"2015-07-17T12:00"
},
"videosequence/Toy_Videos"
:
{
"display_name"
:
"Toy Videos"
,
"format"
:
"Lecture Sequence"
},
"html/toylab"
:
{
"display_name"
:
"Toy lab"
},
"video/Video_Resources"
:
{
"display_name"
:
"Video Resources"
},
"video/Welcome"
:
{
"display_name"
:
"Welcome"
}
}
common/test/data/test_start_date/roots/2012_Fall.xml
0 → 100644
View file @
a7a9abab
<course
org=
"edX"
course=
"test_start_date"
url_name=
"2012_Fall"
/>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment