| 2018-10-03 |
Change to remove multi select box as an answer format.
...
- Removed test multiselectbox_questions_spec.rb, as multi-select
functionality no longer used.
Fix for issue #1771
John Pinto
committed
on 3 Oct 2018
|
| 2018-08-28 |
Issue 532 (#1847)
...
* Replaced instances of `raw` with `sanitize`
* Updated Brakeman ignores
* Remove unnecessary sanitation
* Add support for TinyMCE tags
Gavin Morrice
authored
on 28 Aug 2018
GitHub
committed
on 28 Aug 2018
|
| 2018-05-23 |

Template Versioning
...
This commit is a complete refactor of all the pages involved with Template creating/editing. The database, models, controllers, views and JS have all been changed.
------------------------------------------------------------
removed unused template methods from Plan model and removed references to 'Dmptemplate' from tests
started updating model scopes and began creating new unit tests and test_helper methods
Rebased with template customization fixes. updated tests and latest_version queries
Grouping class methods. Grouping scope methods into separate class
removed Template::valid scope method in favour of Template::unarchived
Moved class methods to scope rails flavour.
Removed Template::get_public_published_template_versions method
Model#deep_copy instead of Model::deep_copy. Model#deep_copy without side effects
added customize method to model
updated customize to use new deep_copy and added some tests
fixed test
fixed broken tests after latest PR. DMPRoadmap/roadmap#1341
generate_version with unit test associated
customize with unit test associated
upgrade_customization first attempt
added tests for upgrade_customization
upgrade_customization with several unit test associated
added generate_copy
fixed tests and added test_helper for phase/section/question/annotation/question_option equality for verifying template copy/version/customize
added comments
finished up tests
Removed template.update! in favour of a more re-usable deep_copy with atomic saving.
removed new_copy.save! from templates_controller#copy. Atomic save for upgrade_customization method
renamed to bang notation generate_copy, generate_version, customize and upgrade_customization
question mark methods for generate_version, customize and upgrade_customization
unique indices for template and template customisations. #1341
init functionality for versionable concern
updated errors, added get_new
unique indices for template and template customisations. #1341
new schema dump generated from rails
manually set up the default for org.links
Fix for rake tasks
updated template controller and tests
finished tests for template controller update http verbs for customize and copy methods
updated template versioning intgeration to use new test_helper methods
updated template controller and tests
finished tests for template controller update http verbs for customize and copy methods
updated template versioning intgeration to use new test_helper methods
wired in the new versionable concern
wired in the new versionable concern
updated query structure in template_filter
updated routes and paths
moved phases controller to org_admin namespace
changes to phase model and unit tests
started moving phase views to new org_admin namespace and tests
fixed tests
started fixing up references to moved plan/phase status
started fixing up references to moved plan/phase status
moved js file, fixed tests and manually checked pages
set schema.rb back to sprint2
added in versionable concern and fixed tests
removed unused phase_status method
removed test for phase_status method
fixed issue with template visibility for the default template
fixed issue with default templates and versioning/customization
versionable_test.rb
versionable concern updated
find_or_generate_version! into template, test associated
annotation and question model using has_one through adequately
templates_controller#update action refactored
tweaks to template_test
get_new and get_modifiable test cases for RuntimeError capture
passing parent object ids to children during deep_copy
updated question_option and annotation deep copy
removed old deep_copy method from section model and updated unit tests
removed old deep_copy method from section model and updated unit tests
updates to sections controller, model, routes and tests
fixed broken tests
updated both phases and sections controller to use versionable
fixed tests
started work on new template show/edit
finished up templates UI
fixed tests
consolidated form
consolidated form
fixed history page
removed old view
fixed test
fixed typo in en_US app.po
removed old deep_copy method from section model and updated unit tests
updates to sections controller, model, routes and tests
fixed broken tests
updated both phases and sections controller to use versionable
fixed tests
fixed tests and missing policy
fixed tests
created separate routes for each template index tab
updates to template index page structure
added callback to template model to ensure only one published version
finished up first pass of templates index page
fixed tests
removed current_tab from phase views. DMPRoadmap/roadmap#1407
section#create refactored. DMPRoadmap/roadmap#1407
sections loaded on demand for a phase. DMPRoadmap/roadmap#1407
ExpandAll triggers click instead of using collapse. DMPRoadmap/roadmap#1407
added phase/section/question overview back to template details page
send customizer to show section page
updated button text
updated history controller action
updated controller
updated views
added customization distinction to page title
updates to phase/section to introduce referrer logic and added section-show for customizable
removed old 'edit phase details button
removed edit question partial from section show
tweaks to templates index pages
fixed tests and default scope
added test for default customizations
added namespace to org section of templates index and made autocomplete combobox aware of form namespace
fixed issue with container view
removed old policies
updated statuses of templates
fixed typo in phases/overview view. DMPRoadmap/roadmap#1377
annotations moved to org_admin namespace. DMPRoadmap/roadmap#1377
annotations_controller#(create|update|destroy) with test associated. DMPRoadmap/roadmap#1377
flash notice for successful action carried out. DMPRoadmap/roadmap#1377
flash notice for success actions. create? method for annotation policy. DMPRoadmap/roadmap#1377
started refactor of sections/questions
fixed nil references. DMPRoadmap/roadmap#1462
annotations as fields_for nested attributes. DMPRoadmap/roadmap#1462
commented out version check on template update
removed invalid test
fixed reference to moved partials and family to family_id
fixed question update
updated guidances to work with modified themes form
finished up questions
fixed broken tests
updated preview and customize
fixed issue with sections index
cleaned up remaining issues with template editing and customization
added in check for nil phase to sections create
any user with readable rights should see download tab for a plan. DMPRoadmap/roadmap#1483
updated history to use new template.draft? logic to determine when to show draft icon
added latest check
added check for default option
added checks for historical and customization on preview page
added redirect to show if template is customization
added redirect to show if template is customization
updated ajax success/error for section display
fixed issues with create plan template selection and changing plan visibility
forgot to include model change
reverted schema.rb changes
adding org to chained scope in order to have searchable and sortable templates. DMPRoadmap/roadmap#1495
improved customization template search against all funder templates. DMPRoadmap/roadmap#1499
started work on adding edit/show/new/cancel buttons for questions
added toggle functionality between question show/edit
removed whitespace
made text area the default
updated template statuses
updated class to fix layout
introducing event delegation for sections/questions/annotations. DMPRoadmap/roadmap#1502
removed console.log
fixed JS for section/question
annotation loading tinymce when section show only permits customisation. DMPRoadmap/roadmap#1502
fixed issue with customizating by adding a section/question
removed reload
set focus to first invalid form input
fixed placement of focus for new validation.js
Added joins for customizations table
updated query
fixed initial numbering for new phases/sections
reverted referrer change
made section fields required
added ariatise to new section form
fixed referrer check
fixed inconsistent status message for transfer customization workflow
fixed issue with csv download
fixed csv header
fixed links for customization on history page
updated sections index so new section doesn't show unless its the current template
Added joins for customizations table
added includes to customisable query
fixed issue with paginable history
fixed merge conflicts in templates_controller and questions/_show.html.erb
resolved additional rebase conflict
briley
committed
on 23 May 2018
|
| 2018-04-06 |
added base_template_org and updated write plan to show correct org in guidance tab
...
updated example answers logic
added missing code to answers conroller and fixed test
Brian Riley
committed
on 6 Apr 2018
|
| 2018-03-06 |
bugfixes/tweaks
xsrust
committed
on 6 Mar 2018
|
capture changes
xsrust
committed
on 6 Mar 2018
|
rda backend implimented, bugfixing ui/JS
xsrust
committed
on 6 Mar 2018
|
| 2018-02-24 |
simplified logic for selected templates tab
...
perpetuate edit flag throughout partials
updated preview
updated preview
Brian Riley
committed
on 24 Feb 2018
|
| 2018-02-21 |
fixed issue with phase accordions on template page
...
fixed issue with retaining current template tab
updated urls in test
briley
committed
on 21 Feb 2018
|
| 2018-02-07 |
propogate templates page current tab selection
...
fixed tests
removed logic from plans page
briley
committed
on 7 Feb 2018
|
| 2018-01-29 |
Replace institution with organisation for UI messages. DMPRoadmap/roadmap#1085
Jose Lloret
committed
on 29 Jan 2018
|
| 2018-01-25 |
Removed circular tick icon progress indicators from each section in write plan. DMPRoadmap/roadmap#867
...
Ensure the question text comes before an example answer. DMPRoadmap/roadmap#867
Made the "Answered X mins ago" alert smaller. DMPRoadmap/roadmap#867
drew a line between questions to visually demarcate one from another. DMPRoadmap/roadmap#867
Fixed accordion HTML elements hierarchy and optimised expandCollapseAll. DMPRoadmap/roadmap#867
Reinstate borders around active areas. DMPRoadmap/roadmap#867
Ensure edges are consistent throughout UI - sharp not curved. DMPRoadmap/roadmap#867
Ensure edges are consistent throughout UI - sharp not curved. DMPRoadmap/roadmap#867
example answer for plans tweaked. Answer status html refactored. DMPRoadmap/roadmap#867
fixes problem rendering tinymce when a stale answer is found. DMPRoadmap/roadmap#867
refactored styles into classes. DMPRoadmap/roadmap#867
.
Jose Lloret
committed
on 25 Jan 2018
|
| 2018-01-05 |
updated to auto expand section on page reload after annotation change
...
commented out delete buttons and fixed hide button js
removed JS line and removed commented out lines
fixed tests
Brian Riley
committed
on 5 Jan 2018
|
| 2017-12-18 |
consolidated edit/add view and controller action for annotations
...
fixed tests
updated annotation show page to work for both template editing and plan answering
made adjustments from PR feedback
briley
committed
on 18 Dec 2017
|
| 2017-12-15 |
added popover for theme selection
...
added popover js
reverted changes to package.json
switch load order or popover/tooltip
Brian Riley
committed
on 15 Dec 2017
|
| 2017-12-13 |
added theme selector
...
fixed issue causing tests to fail
briley
committed
on 13 Dec 2017
|
| 2017-12-11 |
alignment of button on the right side. DMPRoadmap/roadmap#898
Jose Lloret
committed
on 11 Dec 2017
|
| 2017-12-08 |
removed 'None' from the Guidances and Templates pages
Brian Riley
committed
on 8 Dec 2017
|
fixing missed merge conflict
xsrust
committed
on 8 Dec 2017
|
added template customization back in #791
xsrust
committed
on 8 Dec 2017
|
| 2017-12-05 |
removed after_create callback for answers since no longer is needed after introducing transactions. DMPRoadmap/roadmap#893
...
unit test for answer#is_valid?. DMPRoadmap/roadmap#893
answer#update based on current_user. input text for answer based on either answer.text or question.default_text. DMPRoadmap/roadmap#893
renamed answers#update to answers#create_or_update and added new tests. DMPRoadmap/roadmap#893
Jose Lloret
committed
on 5 Dec 2017
|
| 2017-12-01 |
Fix template layout issues (#874)
bhavi
committed
on 1 Dec 2017
|
| 2017-11-16 |
phases edit view and its sub-templates using local variables instead of instance variables. DMPRoadmap/roadmap#677
...
conditional displaying of sub-templates at edit phase. This permits being re-used when previewing a template phase. DMPRoadmap/roadmap#677
Improved views logic. Conditional event handlers for when user does not have permissions to edit plan answer. DMPRoadmap/roadmap#677
Jose Lloret
committed
on 16 Nov 2017
|
| 2017-10-19 |
tinymce load for template, phase, section. DMPRoadmap/roadmap#655
...
question_options logic for adding and removing. DMPRoadmap/roadmap#655
add question form bootstrap. DMPRoadmap/roadmap#655
edit question form bootstrap. DMPRoadmap/roadmap#655
Jose Lloret
committed
on 19 Oct 2017
|
| 2017-10-16 |
option_based questions rename UI text comments to Additional Information. DMPRoadmap/roadmap#709
Jose Lloret
committed
on 16 Oct 2017
|
| 2017-10-10 |

Removed unused views and renamed ones in annotations/templates until those pages have been Bootstrapped DMPRoadmap/roadmap#667
...
Removed unused views and renamed ones in annotations/templates until those pages have been Bootstrapped DMPRoadmap/roadmap#667
moved plan navigation partial from shared to plans dir
removed old es5 version of org details JS. was causing JS compilation issues
fixed typos in location of plan nav partial
removed unused views and renamed a few in annotations and templates until those pages have been bootstrapped and we can confirm they are not needed.
switched API docs link to point to wiki docs
added template history view back in. remove token_permission_type controller and test. it was being used to list the API permission types and was linked from the 'How to use API' link. Updated that link to point to Wiki docs
added answer locking partial and phase preview back
added question preview back
converted popovers/tooltips on guidance group pages
briley
committed
on 10 Oct 2017
|
| 2017-10-06 |

Converted popovers and tooltips to Bootstrap tooltips DMPRoadmap/roadmap#568
...
commented out import of old ES5 tooltip JS
added bootstrap tooltip wiring to application.js
removed boostrap tooltip/popover calls from devise/regisitrations/edit and updated html
added placement and animation rules to general tooltip init. converted edit plan details page to use tooltips
removed irrelevant data-placement from edit profile tooltips
converted guidance group popovers to tooltips
converted guidance popovers to tooltips
converted popovers on phase edit/add to tooltips
converted popoevers to bootstrap tooltips on sections and questions
removed popover references from annotations, and templates
boostrapped the shibboleth_ds page and converted ES5 to ES6
fixed linter issues with shib_ds. added tooltip functionality to autocomplete erb
updated tooltip on create account page
updated tooltips on table filter and grant permissions pages
removed redundant right placement on personal details form
fixed broken test
briley
authored
on 5 Oct 2017
Brian Riley
committed
on 6 Oct 2017
|
| 2017-09-27 |
templates index view bootstrapped. DMPRoadmap/roadmap#643
...
admin_template action and views associated bootstrap. DMPRoadmap/roadmap#562
edit_template and add_phase using new partials tooltip and popover. DMPRoadmap/roadmap#643
layout view for template show, its phases, sections and add new phace. DMPRoadmap/roadmap#643
accordion for section phases. Edit and show phase. DMPRoadmap/roadmap#643
add section to a phase completed. DMPRoadmap/roadmap#643
show and edit sections completed. DMPRoadmap/roadmap#643
fixed broken tests. DMPRoadmap/roadmap#643
Jose Lloret
committed
on 27 Sep 2017
|
| 2017-09-11 |
DMPRoadmap/roadmap#562
...
edit phases using plan navigation layout
bootstrap plan progress. bootstrap sections header. added togglable section icons for expand/collapse
answers_controller returning a JSON with partial views rendered. Split question types in different partials. Started new answers/status.js
Rename view to edit_plan_answers.html.erb. Load tinymce through ES6 for question answers. Delete old status.js ES5. Added timeago to vendor
fixed broken test regarding answers_controller
Jose Lloret
committed
on 11 Sep 2017
|
| 2017-09-08 |
Merge pull request #629 from CDLUC3/issue567
...
Bootstrapped Accordions on Write Plan page
Jose Lloret
authored
on 8 Sep 2017
GitHub
committed
on 8 Sep 2017
|