Merge lp:~michael.nelson/launchpad/561586-move-js-to-lp-app into lp:launchpad
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Graham Binns on 2010-08-10 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 11346 | ||||
| Proposed branch: | lp:~michael.nelson/launchpad/561586-move-js-to-lp-app | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
622 lines (+123/-91) 14 files modified
lib/lp/app/templates/base-layout-macros.pt (+10/-0) lib/lp/soyuz/javascript/archivesubscribers_index.js (+5/-4) lib/lp/soyuz/javascript/base.js (+5/-8) lib/lp/soyuz/javascript/lp_dynamic_dom_updater.js (+12/-13) lib/lp/soyuz/javascript/tests/archivesubscribers_index.js (+13/-8) lib/lp/soyuz/javascript/tests/lp_dynamic_dom_updater.js (+29/-14) lib/lp/soyuz/javascript/tests/test_archivesubscribers_index.html (+5/-5) lib/lp/soyuz/javascript/tests/test_lp_dynamic_dom_updater.html (+5/-5) lib/lp/soyuz/javascript/update_archive_build_statuses.js (+11/-9) lib/lp/soyuz/stories/ppa/xx-private-ppa-subscriptions.txt (+0/-1) lib/lp/soyuz/templates/archive-packages.pt (+4/-17) lib/lp/soyuz/templates/archive-subscribers.pt (+2/-7) lib/lp/soyuz/windmill/tests/test_yuitests.py (+21/-0) utilities/lp-deps.py (+1/-0) |
||||
| To merge this branch: | bzr merge lp:~michael.nelson/launchpad/561586-move-js-to-lp-app | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Graham Binns (community) | code | 2010-08-10 | Approve on 2010-08-10 |
|
Review via email:
|
|||
Commit Message
Move soyuz js files to lp.soyuz.
Description of the Change
Overview
========
This branch address bug 561586 for soyuz by moving the soyuz JavaScript files (and their tests) into lib/lp/
Details
=======
I followed Deryck's (and Maris') example at:
https:/
and also moved the imports from the templates to the base template (in devmode), and added a unittest for the windmill tests.
To test
=======
bin/test -vvm lp.soyuz -t test_yuitests
To demo:
1) view https:/
a) the 'Package totals' widget is updated correctly (async request)
b) if you check the JS log for your browser, you'll see the build status updates working correctly.
2) Log in as admin, create a new PPA for yourself, administer it and make it private, then click on 'Manage subscriptions'. You'll then see the 'Add access' link which expands the row for adding a new subscription.
I removed all the lint too.
