Commit Graph

5 Commits

Author SHA1 Message Date
Cody Cutrer 15bd8d81d4 strand brand config regeneration jobs
fixes CNVS-33934

so that they can't run out of order

Change-Id: I6f8c0e680a20b2b78828818447e0d72899d01ee6
Reviewed-on: https://gerrit.instructure.com/116253
Tested-by: Jenkins
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
QA-Review: Cody Cutrer <cody@instructure.com>
2017-06-20 20:01:27 +00:00
Landon Wilkins 7473953da1 da licença part 26
add consistent license headers to all source files
(ruby, coffeescript, javascript)

except for vendor files

Change-Id: I74f079254fdbff56b4f9d7013b01f11fc862777a
Reviewed-on: https://gerrit.instructure.com/110049
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
Product-Review: Jon Jensen <jon@instructure.com>
QA-Review: Jon Jensen <jon@instructure.com>
2017-04-27 21:52:25 +00:00
Simon Williams 544282af02 theme editor for siteadmin
fixes CNVS-28289

this enables theme editor to work as a virtual "parent" account for root
account themes, but only root accounts on the same shard as the site
admin account.  this is a limitation we hope to remove in the future,
but replicating the site admin theme to all shards is going to be
significantly more complicated.

test plan:
- create a mixture of root accounts on the same shard as site admin and
different shards
- regression test theme editor in siteadmin.  it should act as a parent
for same-shard accounts and not interact with different-shard accounts

Change-Id: Ia7e3e1a8adbb7bc2e49b2d9b5ef3b4d30cf4c581
Reviewed-on: https://gerrit.instructure.com/82000
Reviewed-by: Cody Cutrer <cody@instructure.com>
Reviewed-by: Ryan Shaw <ryan@instructure.com>
Tested-by: Jenkins
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
Product-Review: Colleen Palmer <colleen@instructure.com>
2016-07-12 22:02:04 +00:00
Ryan Shaw fe91cf9fd4 Allow people to revert back to the "Default Theme"
fixes: CNVS-29805

test plan:

* apply a theme to an account
* pick the "default theme" card
* make no changes
* the save button should disabled with a
  "you have not set any custom values..." message
* you should be able to click the apply button
* you should now be looking at the "default theme"
* window.ENV.active_brand_config should be null

Change-Id: I362d8fde96faf0ebceed12e4c0560532a6e4e5b7
Reviewed-on: https://gerrit.instructure.com/81765
Product-Review: Colleen Palmer <colleen@instructure.com>
Tested-by: Jenkins
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
Reviewed-by: Simon Williams <simon@instructure.com>
2016-06-23 16:35:54 +00:00
Ryan Shaw bcd0569251 handle regenerating all sub account themes & shared themes
fixes: CNVS-28400

test plan:

test 1.
for root account with unbranded child but branded
grandchild. aka:
When you have Acct (with Theme A) -> 
Sub Acct (with no theme) -> 
Sub Sub Account (with theme B), 
and update Theme A, Theme B is not updated to inherit 
from the new A.

* start with root no brand config, child no brand
* create a theme for grandchild with red buttons
  and js file with "console.log('from grandchild')"
* go to root. set a theme with blue nav bg &
  js file with "console.log('from root')"
* you should see progress for generating grandchild
  when you hit "save"
* go to page in grandchild. buttons should be red,
  nav bg should be blue. js console should have
  "from root" logged first, then "from grandchild"

test 2:
* create a bunch of saved themes in child and grandchild
* save a new theme to "root"
* when any of the saved themes are applied they
  should be based on the new root's theme (use
  colors and console.log's to verify)


Change-Id: Ic9dbeea1524034ef60b758398eca30bc019aa32e
Reviewed-on: https://gerrit.instructure.com/79739
Tested-by: Jenkins
QA-Review: Benjamin Christian Nelson <bcnelson@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
2016-05-18 22:22:39 +00:00