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

Test collection linearizer service #2153

Closed
wants to merge 90 commits into from
Closed
Show file tree
Hide file tree
Changes from 70 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
2459246
Merge remote-tracking branch 'upstream/develop' into develop
Feb 16, 2016
6ee3a35
Merge remote-tracking branch 'upstream/develop' into develop
Feb 29, 2016
44c7704
Merge remote-tracking branch 'upstream/develop' into develop
Mar 21, 2016
1e56ba2
Merge remote-tracking branch 'upstream/develop' into develop
Mar 21, 2016
2916029
Merge remote-tracking branch 'upstream/develop' into develop
Mar 31, 2016
9b7e10a
Merge remote-tracking branch 'upstream/develop' into develop
Apr 5, 2016
f44d255
Merge remote-tracking branch 'upstream/develop' into develop
Apr 5, 2016
644766c
Merge remote-tracking branch 'upstream/develop' into develop
Apr 6, 2016
b529b02
Merge remote-tracking branch 'upstream/develop' into develop
Apr 11, 2016
dee6f96
Merge remote-tracking branch 'upstream/develop' into develop
Apr 17, 2016
93acb54
Merge remote-tracking branch 'upstream/develop' into develop
Apr 27, 2016
95d8f1c
Merge remote-tracking branch 'upstream/develop' into develop
May 3, 2016
9b2d4a1
Merge remote-tracking branch 'upstream/develop' into develop
May 4, 2016
07982c1
Merge branch 'develop' of https://github.com/oppia/oppia into develop
May 18, 2016
752f2b0
Merge branch 'develop' of https://github.com/oppia/oppia into develop
May 19, 2016
163cf12
Merge branch 'develop' of https://github.com/oppia/oppia into develop
May 21, 2016
da9c4e6
Merge branch 'develop' of https://github.com/oppia/oppia into develop
May 23, 2016
24841f9
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jun 1, 2016
e2380e2
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jun 1, 2016
544ecab
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jun 2, 2016
ee61ab8
Merge remote-tracking branch 'upstream/develop' into develop
Jun 4, 2016
2e7eb7f
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jun 8, 2016
ab09cd6
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jun 9, 2016
1cf0740
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jun 15, 2016
1df408a
Merge remote-tracking branch 'upstream/develop' into develop
Jun 22, 2016
1fbf73f
Added tests for CollectionLinearizerService.js
Jun 22, 2016
72a2bf1
Responded to Ben's comments and added more tests
Jun 28, 2016
dbb3ac8
Merge remote-tracking branch 'upstream/develop' into develop
Jun 28, 2016
aea25ca
Merge remote-tracking branch 'origin/develop' into test-collection-li…
Jun 28, 2016
a6f19f4
Fix #2017: Update publish button to show changes that are made (#2192)
raju249 Jul 5, 2016
8486f1a
Fixes #2197 and #2195: Refresh admin page keeps it at same location; …
Jul 6, 2016
67bb97d
Fix #2094 Change Done button to Save button and color it green (#2226)
raju249 Jul 7, 2016
79dc42a
#2048 add performance tests for various Oppia pages. (#2167)
gvishal Jul 7, 2016
0384b98
Fix #2232: Do not show unnecessary feconf version change info in the …
brunnre8 Jul 7, 2016
e26ee9a
Fix part of #1366: Cron job to keep history of dashboard statistics (…
526avijitgupta Jul 7, 2016
a149b83
Fix part of #1366: Unresolved answers part of creator dashboard (#2101)
526avijitgupta Jul 9, 2016
d676c76
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jul 12, 2016
3522ffd
Merge remote-tracking branch 'upstream/develop' into test-collection-…
Jul 12, 2016
f606a3c
Removed underscore on private functions
Jul 12, 2016
bc6392d
Fix #2176: Added minimum length parameter to the goal of exploration.…
souravbadami Jul 13, 2016
14cac95
Fix part of #1366: Display open feedback in creator dashboard (#2239)
526avijitgupta Jul 13, 2016
b515356
Fix #2247 Updated ReadMe image (#2250)
giritheja Jul 14, 2016
23da8a9
Removed PAGE_NAME_FOR_CSRF when generating CSRF token (#2243)
maitbayev Jul 15, 2016
1c078df
Fix #2196: alternating colors of jobs list on admin page (#2245)
MinhHuong Jul 15, 2016
bfb18b6
Fix #2229: add test to match en.json and qqq.json (#2257)
Jul 16, 2016
5c8a54a
Fix #2116: remove return to collection button (#2262)
arunabh98 Jul 17, 2016
5aff800
fix #2258: feedback messages should not be sent if user has already s…
prasanna08 Jul 18, 2016
7c652ff
Add a new main_taskqueue.py file for taskqueue handlers. (#2273)
seanlip Jul 19, 2016
5915c38
Alphabetize and limit GLOBALS to 80 chars in html (#2275)
526avijitgupta Jul 19, 2016
9ec339e
Fix #2222: width of tiles is adding up to the width of the top bar (#…
arunabh98 Jul 20, 2016
2aeb715
Fix part of #1366: Implement realtime layer for UserStats continuous …
526avijitgupta Jul 21, 2016
87a640a
Update chromedriver to fix an e2e test bug. (#2285)
seanlip Jul 22, 2016
e8a2de2
Add more logging to the Python linter. (#2279)
seanlip Jul 22, 2016
3adb944
(Partially) Fix #2100: add cache slugs. (#2208)
gvishal Jul 23, 2016
0bd72da
Fix part of #1366: Display new feedback in creator dasboard (#2281)
526avijitgupta Jul 24, 2016
f42c6ee
Fix #2277:credit columns are of equal length (#2280)
arunabh98 Jul 24, 2016
b60a24e
In the dashboard, don't show the creation modal in the "create activi…
seanlip Jul 24, 2016
fbce422
Fix part of #1366: Display relative (weekly) change in average rating…
526avijitgupta Jul 24, 2016
fe5438e
Fix #2211: send suggestion email to owner of exploration. (#2289)
prasanna08 Jul 25, 2016
3c2ecaf
Kept underscore for conflicting private and public function names
Jul 25, 2016
346721b
Merge branch 'develop' of https://github.com/oppia/oppia into develop
Jul 25, 2016
aaa2048
Merge remote-tracking branch 'origin/develop' into test-collection-li…
Jul 25, 2016
aa4e928
Fix #2271: Add documentation about minification flag and check for ba…
makoscafee Jul 26, 2016
f9c6c33
Fix #2188: Make current UI of creator dashboard responsive. (#2291)
526avijitgupta Jul 27, 2016
11a32f2
Fix #1863: suppress warnings if all answers handled in item selection…
anthkris Jul 27, 2016
a3dcbe7
Combined multiple font requests into one (#2303)
gvishal Jul 27, 2016
cd22af3
Update About, Teach and Contact pages. (#2300)
seanlip Jul 28, 2016
5fc38d4
Update text on 'Teach' page. (#2307)
seanlip Jul 29, 2016
de26931
Responded to Ben's comments
Jul 29, 2016
1f84958
Merge remote-tracking branch 'upstream/develop' into test-collection-…
Jul 29, 2016
0e72fec
Splash page experiments (#2310)
seanlip Jul 31, 2016
3ce1bf4
Donation redesign (#2304)
kerryxwang Jul 31, 2016
13d03fa
Hide the 'Activities' tab in the production environment.
seanlip Jul 31, 2016
b2d6d8a
Replace usage of default as key name (#2317)
526avijitgupta Aug 1, 2016
a64218c
Merge branch 'develop' into safer-admin-page
seanlip Aug 2, 2016
f72309c
Merge pull request #2314 from oppia/safer-admin-page
kevinlee12 Aug 2, 2016
30514fa
Fix #1966: remove the option Open in same window in editor (#2299)
MinhHuong Aug 2, 2016
5173d53
Fix #1862: Creator no longer has to remove pre-existing text in RTEs …
arunabh98 Aug 3, 2016
0c785ea
Fix #2274: use $translate.proposedLanguage (#2315)
abh3po Aug 3, 2016
136e1ae
Fix #2063: convert continuous jobs into one-off jobs. (#2320)
seanlip Aug 3, 2016
63b9230
Fix #1990: Add ability to edit language code and tags in collection e…
kevinlee12 Aug 3, 2016
c0dba60
Update alternate text for the first part of the description of Oppia …
seanlip Aug 3, 2016
289f425
proof of concept for pre-rendering (#2305)
gvishal Aug 3, 2016
548808c
Fix incorrect docstring. (#2326)
seanlip Aug 3, 2016
9f48fd8
Add new splash landing pages. Change Forum link in sidebar to Donate.…
seanlip Aug 3, 2016
d4513b1
Update wording on Teach page; fix CSS on Teach and About pages. (#2323)
seanlip Aug 4, 2016
39feb5b
Minor corrections to theSpanish and Portuguese translations. (#2329)
seanlip Aug 5, 2016
381aa64
Fix #2292: gulpfile.js changes, build files directly into build direc…
gvishal Aug 5, 2016
f75d136
Removed iit
Aug 5, 2016
710f2bb
Merge remote-tracking branch 'upstream/develop' into test-collection-…
Aug 5, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,8 @@ venv/
.DS_Store
.idea
.vagrant/*

# Oppia uses cache slugs for various resources and we need separate resource
# directories for dev and prod. Resource directories for prod are generated
# via build.py and should not be committed to the repo.
build/*
6 changes: 4 additions & 2 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@
"extensions/interactions/LogicProof/static/js/generatedParser.js",
"integrations/**",
"integrations_dev/**",
"static/scripts/**",
"third_party/**"
"assets/scripts/**",
"third_party/**",
"build/**",
"**.min.js"
],
"fileExtensions": [".js"],
"extract": ["*.html"],
Expand Down
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,10 @@ script:
# Travis aborts test run if nothing is printed back to STDOUT for some time.
# -x is used to avoid that.
- if [ $RUN_FRONTEND_TESTS == 'true' ]; then bash -x scripts/run_frontend_tests.sh --run-minified-tests=true; fi
- if [ $RUN_PERFORMANCE_TESTS == 'true' ]; then bash scripts/run_performance_tests.sh; fi
# TODO(gvishal): add all tests to travis. Running all tests on travis fails currently due to
# unexplained reasons. Sometimes 2-4 out of the total 7 page tests succeed and then the next one
# gets stuck for a long time.
- if [ $RUN_PERFORMANCE_TESTS == 'true' ]; then bash scripts/run_performance_tests.sh --test_name=splash_test; fi

after_success:
- if [ $RUN_BACKEND_TESTS == 'true' ] && [ $REPORT_BACKEND_COVERAGE == 'true' ]; then codecov; fi
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Oppia is written using Python and AngularJS, and is built on top of Google App E

<p align="center">
<a href="http://www.youtube.com/watch?v=Ntcw0H0hwPU" target="_blank">
<img src="http://img.youtube.com/vi/Ntcw0H0hwPU/0.jpg">
<img src="https://cloud.githubusercontent.com/assets/8845039/16814722/b219cac0-4954-11e6-9573-c37557d1b410.png">
</a>
</p>

Expand Down
46 changes: 25 additions & 21 deletions app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,36 @@ inbound_services:

handlers:
- url: /favicon.ico
static_files: static/images/favicon.ico
upload: static/images/favicon.ico
static_files: assets/common/favicon.ico
upload: assets/common/favicon.ico
secure: always
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /images
static_dir: static/images
- url: /robots.txt
static_files: assets/common/robots.txt
upload: assets/common/robots.txt
secure: always
http_headers:
Cache-Control: 'public, max-age=600'
- url: /static/pages
static_dir: static/pages
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /build
static_dir: build
secure: always
http_headers:
Cache-Control: 'public, max-age=600'
- url: /robots.txt
static_files: static/pages/robots.txt
upload: static/pages/robots.txt
Cache-Control: 'public, max-age=2592000'
- url: /assets/common
static_dir: assets/common
secure: always
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /scripts
static_dir: static/scripts
# WARNING TO DEVELOPERS: Files in this folder may be stale for
# up to 10 mins after a code release.
Cache-Control: 'public, max-age=600'
- url: /assets
static_dir: assets
secure: always
http_headers:
Cache-Control: 'no-cache'
Cache-Control: 'public, max-age=60'
- url: /css
# NB: not minified. TODO(sll): fix.
static_dir: core/templates/dev/head/css
Expand All @@ -53,11 +55,6 @@ handlers:
http_headers:
Cache-Control: 'public, max-age=2592000'
Vary: Accept-Encoding
- url: /i18n
static_dir: i18n
secure: always
http_headers:
Cache-Control: 'no-cache'
- url: /third_party/generated
static_dir: third_party/generated
secure: always
Expand Down Expand Up @@ -98,6 +95,10 @@ handlers:
login: admin
script: main_cron.app
secure: always
- url: /task/.*
login: admin
script: main_taskqueue.app
secure: always
- url: /.*
script: main.app
secure: always
Expand All @@ -109,5 +110,8 @@ libraries:
version: '1.6.1'
- name: webapp2
version: '2.5.2'
# This environmental variable is for serving minified resources
# when set to true. It allows minified resources to be used when
# running the server in the dev environment.
env_variables:
MINIFICATION: false
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions i18n/en.json → assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"I18N_ABOUT_PAGE_TITLE": "About us - Oppia",
"I18N_ACTION_APPLY_TO_TEACH_WITH_OPPIA": "Apply to Teach With Oppia",
"I18N_ACTION_BROWSE_EXPLORATIONS": "Browse our Explorations",
"I18N_ACTION_CREATE_EXPLORATION": "Create your own Exploration",
"I18N_CREATE_ACTIVITY_QUESTION": "What do you want to create?",
Expand All @@ -12,6 +13,7 @@
"I18N_CREATE_EXPLORATION_UPLOAD": "Upload",
"I18N_CREATE_NO_THANKS": "No, Thanks",
"I18N_CREATE_YES_PLEASE": "Yes, please!",
"I18N_DASHBOARD_OPEN_FEEDBACK": "Open Feedback",
"I18N_DASHBOARD_MY_COLLECTIONS": "My Collections",
"I18N_DASHBOARD_MY_EXPLORATIONS": "My Explorations",
"I18N_DIRECTIVES_DRAG_IMAGE_HERE": "Drag image here",
Expand Down
2 changes: 2 additions & 0 deletions i18n/es.json → assets/i18n/es.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"I18N_ABOUT_PAGE_TITLE": "Acerca de nosotros - Oppia",
"I18N_ACTION_APPLY_TO_TEACH_WITH_OPPIA": "Aplica para \"Teach with Oppia\"",
"I18N_ACTION_BROWSE_EXPLORATIONS": "Navega nuestras exploraciones",
"I18N_ACTION_CREATE_EXPLORATION": "Crea tu propia exploración",
"I18N_CREATE_ACTIVITY_QUESTION": "¿Que quieres crear?",
Expand All @@ -14,6 +15,7 @@
"I18N_CREATE_YES_PLEASE": "¡Sí, por favor!",
"I18N_DASHBOARD_MY_COLLECTIONS": "Mis Colecciones",
"I18N_DASHBOARD_MY_EXPLORATIONS": "Mis Exploraciones",
"I18N_DASHBOARD_OPEN_FEEDBACK": "Retroalimentación abierta",
"I18N_DIRECTIVES_DRAG_IMAGE_HERE": "Arrastra una imagen aquí",
"I18N_DIRECTIVES_OR_SELECT_FILE": "o selecciona un archivo de imagen:",
"I18N_ERROR_DISABLED_EXPLORATION": "Exploración deshabilitada",
Expand Down
2 changes: 2 additions & 0 deletions i18n/id.json → assets/i18n/id.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"I18N_ABOUT_PAGE_TITLE": "Tentang kami - Oppia",
"I18N_ACTION_APPLY_TO_TEACH_WITH_OPPIA": "Mendaftar ke \"Teach with Oppia\"",
"I18N_ACTION_BROWSE_EXPLORATIONS": "Lihat eksplorasi kami",
"I18N_ACTION_CREATE_EXPLORATION": "Buat eksplorasimu sendiri",
"I18N_CREATE_ACTIVITY_QUESTION": "Apa yang ingin anda buat?",
Expand All @@ -12,6 +13,7 @@
"I18N_CREATE_EXPLORATION_UPLOAD": "Unggah",
"I18N_CREATE_NO_THANKS": "Tidak, Terima Kasih",
"I18N_CREATE_YES_PLEASE": "Ya, tentu!",
"I18N_DASHBOARD_OPEN_FEEDBACK": "Terbuka umpan balik",
"I18N_DASHBOARD_MY_COLLECTIONS": "Koleksiku",
"I18N_DASHBOARD_MY_EXPLORATIONS": "Eksplorasiku",
"I18N_DIRECTIVES_DRAG_IMAGE_HERE": "Tarik gambar ke sini",
Expand Down
3 changes: 3 additions & 0 deletions i18n/pt.json → assets/i18n/pt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"I18N_ABOUT_PAGE_TITLE": "Sobre nós - Oppia",
"I18N_ACTION_APPLY_TO_TEACH_WITH_OPPIA": "Candidata-te ao programa \"Teach with Oppia\"",
"I18N_ACTION_BROWSE_EXPLORATIONS": "Procura as nossas explorações",
"I18N_ACTION_CREATE_EXPLORATION": "Cria a tua exploração",
"I18N_CREATE_ACTIVITY_QUESTION": "O que queres criar?",
Expand All @@ -12,6 +13,7 @@
"I18N_CREATE_EXPLORATION_UPLOAD": "Carregar",
"I18N_CREATE_NO_THANKS": "Não, obrigado",
"I18N_CREATE_YES_PLEASE": "Sim, por favor!",
"I18N_DASHBOARD_OPEN_FEEDBACK": "Feedback aberto",
"I18N_DASHBOARD_MY_COLLECTIONS": "As minhas colecções",
"I18N_DASHBOARD_MY_EXPLORATIONS": "As minhas Explorações",
"I18N_DIRECTIVES_DRAG_IMAGE_HERE": "Arranta uma imagem para aqui",
Expand Down Expand Up @@ -134,6 +136,7 @@
"I18N_LIBRARY_GROUPS_SCIENCE" : "Ciências",
"I18N_LIBRARY_GROUPS_SOCIAL_SCIENCE": "Ciências Sociais",
"I18N_LIBRARY_GROUPS_TOP_RATED_EXPLORATIONS": "Explorações bem Classificadas",
"I18N_LIBRARY_LAST_UPDATED": "Ultima atualização",
"I18N_LIBRARY_LOADING": "A carregar",
"I18N_LIBRARY_MAIN_HEADER": "Imagina o que poderás aprender hoje...",
"I18N_LIBRARY_N/A": "N/D",
Expand Down
2 changes: 2 additions & 0 deletions i18n/qqq.json → assets/i18n/qqq.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"I18N_ABOUT_PAGE_TITLE": "Title of the About page that explains Oppia mission and the Oppia foundation.",
"I18N_ACTION_APPLY_TO_TEACH_WITH_OPPIA": "Text displayed in a button on the Teach page. - When the user clicks the button they are taken to a form that allows them to apply to the 'Teach with Oppia' program.",
"I18N_ACTION_BROWSE_EXPLORATIONS": "Text displayed in a button on the Home and Teach pages. - When the user clicks the button they are taken to the library page.",
"I18N_ACTION_CREATE_EXPLORATION": "Text displayed in a button on the Home and Teach pages. - When the user clicks the button they are taken to their dashboard, and a dialog is opened where the user can create a new exploration.",
"I18N_CREATE_ACTIVITY_QUESTION": "Text displayed as the first sentence in a dialog. - The dialog appears when the user clicks the I18N_CREATE_EXPLORATION_CREATE button.",
Expand All @@ -12,6 +13,7 @@
"I18N_CREATE_EXPLORATION_UPLOAD": "Text displayed in a button in the navigation bar",
"I18N_CREATE_NO_THANKS": "Text of the cancel button of a dialog. - see I18N_CREATE_EXPLORATION_CREATE.",
"I18N_CREATE_YES_PLEASE": "Text of the confirmation button of a dialog. - see I18N_CREATE_EXPLORATION_CREATE.",
"I18N_DASHBOARD_OPEN_FEEDBACK": "Text of feedback icon shown in summary tile of an exploration in card view in the user's dashboard page.",
"I18N_DASHBOARD_MY_COLLECTIONS": "Title shown in a tab header in the user's dashboard page. - Clicking on this tab header shows a list of the collections the user has created.",
"I18N_DASHBOARD_MY_EXPLORATIONS": "Title shown in a tab header in the user's dashboard page. - Clicking on this tab header shows a list of the explorations the user has created.",
"I18N_DIRECTIVES_DRAG_IMAGE_HERE": "Text displayed in the preferences page. - Text shown in the dialog shown to upload a profile picture. The user can upload the picture by dragging a file to the area with this text.",
Expand Down
Binary file added assets/images/general/background.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added assets/images/general/icons-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/general/warning.png
Loading