fixes OUT-2961
test plan:
- have at least 2 student in a course
- submit to several of the assignments in the course
- go to the students ePortfolio and confirm their submissions
appear on the "Welcome to Your ePortfolio" page
- make the ePortfolio public under 'ePortfolio' settings
- view the ePortfolio as another student, confirm that no
"Recent Submissions" list appears for the public portfolio
(only should appear when logged in as the user who owns the
portfolio)
Change-Id: I651db17382e151b44fd2b2d59a2ac5f26f28451f
Reviewed-on: https://gerrit.instructure.com/179302
Tested-by: Jenkins
Reviewed-by: Augusto Callejas <acallejas@instructure.com>
QA-Review: Brian Watson <bwatson@instructure.com>
Product-Review: Neil Gupta <ngupta@instructure.com>
test plan: ensure you can upload a file to:
1. the root of a new eportfolio
(example url: /eportfolios/123?view=preview)
2. a section added to an eportfolio
(example url: /eportfolios/123/SectionName)
3. a page added to an eportfolio section
(example url: /eportfolios/123/SectionName/PageName)
fixes ADMIN-924
Change-Id: I62db3a0f49438c21e9b56cff8201fc86d530011a
Reviewed-on: https://gerrit.instructure.com/145748
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Mysti Sadler <mysti@instructure.com>
QA-Review: Mysti Sadler <mysti@instructure.com>
this was fixed for blank eportfolio entries, but categories can also
occasionally have blank slugs, if their name contains no characters
which are "slugable"
fixes CNVS-25592
test plan:
- create a eportfolio category without any letters or numbers (like
"+++")
- links to this category won't work, but you should still be able to
navigate other parts of the eportfolio normally
Change-Id: I2f3a0169f22b3fbc2e868fefb70de0bf92b04a73
Reviewed-on: https://gerrit.instructure.com/68422
Reviewed-by: Spencer Olson <solson@instructure.com>
Tested-by: Jenkins
QA-Review: August Thornton <august@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
test plan:
* running Rails 4
* create an eportfolio and add an entry to it
* in the database, set name and slug to ''
* verify that you don't get a page error viewing
the eportfolio
Change-Id: I20f6855001ea4e0d7a3deb5b1eee610f0a67cd57
Reviewed-on: https://gerrit.instructure.com/68413
Reviewed-by: Spencer Olson <solson@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Tested-by: Jenkins
Product-Review: Cody Cutrer <cody@instructure.com>
refs #CNVS-21596
Change-Id: I5dedaab90a2abe6bf288ff30401c9b31629b45b2
Reviewed-on: https://gerrit.instructure.com/59220
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
Product-Review: James Williams <jamesw@instructure.com>
QA-Review: James Williams <jamesw@instructure.com>
fixes CNVS-14580
test plan:
1. create an eportfolio
2. click organize/manage pages
3. create a second page
4. open the eportfolio in a new tab
5. in one tab, delete the welcome page
6. in the second tab, delete the new page
7. refresh the eportfolio
8. it should still load the welcome page (having recreated it)
Change-Id: I400b2d4689773a8f48d8b3bfa577982492a4bfb4
Reviewed-on: https://gerrit.instructure.com/38847
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Cameron Matheson <cameron@instructure.com>
QA-Review: Amber Taniuchi <amber@instructure.com>
Product-Review: Simon Williams <simon@instructure.com>
String#map and String#[] are no longer defined in 1.9.
Change-Id: I9deedd7ad12b7dbd93f73447e43f7809bb891c1d
Reviewed-on: https://gerrit.instructure.com/10798
Tested-by: Jenkins <jenkins@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>
EportfolioEntry.content_sections returns the database ID of any
attachments. EportfolioPage was expecting a UUID. This commit
teaches EportfolioPage to expect the correct value and, just
because the author is so awesome, remove that terrible, blanket
rescue statement. That was done out of the kindness of the author's
heart.
Change-Id: I5c8fb3cc16f38a66d76a233f951e410ffc536317
Reviewed-on: https://gerrit.instructure.com/7696
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Brian Palmer <brianp@instructure.com>