2017-04-06
@briley
added initial plans controller tests
briley committed on 6 Apr 2017
2017-04-05
@briley
fixed rebase issues
briley committed on 5 Apr 2017
@briley
rebuilt locale json files after adding timeago values. updated main <html> tag to include current locale for use with JS. DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
removed rake wrapper task because json dir can be set in initializer. Added initializer and updated _('') to __('') DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
swapped out all other I18n calls in JS with gettext calls DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
hacked jquery.timeago.js to work with new gettext localisation. Added timeago text to pot and po files. DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
replaced all of the old I18n('helpers...') references in JS files with new gettext method DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
updated plans.js so that 'Answered by' is now coming from JSON locales DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
added gettext_i18n_rails gem. aded rake task that calls gem's po_to_json task and then moves generated json files from app/assets to lib/assets DMPRoadmap/roadmap#204
briley committed on 5 Apr 2017
@briley
removed template->question dropdowns on guidance pages. updated controller and JS accordingly. fixed issue with themes not being saved. DMPRoadmap/roadmap#221
briley committed on 5 Apr 2017
@briley
added roles controller tests and updated controller to use strong params and handle failures properly
briley committed on 5 Apr 2017
2017-04-04
@briley
patched organisation_type reference in view, added secure params to orgs controller. Added functional tests for orgs controller
briley committed on 4 Apr 2017
@briley
added checks to make sure records are actually created/updated/deleted
briley committed on 4 Apr 2017
2017-04-03
@briley
added notes controller tests
briley committed on 3 Apr 2017
@briley
added home controller test. updated test helper to reload LANGUAGES constant if its blank during TravisCI build
briley committed on 3 Apr 2017
@briley
added error messaging to guidances controller's update and create methods
briley committed on 3 Apr 2017
@briley
resolved rebase conflicts from merge with development
briley committed on 3 Apr 2017
@briley
cleaned up guidances controller and added functional tests
briley committed on 3 Apr 2017
2017-03-30
@briley
switched all Perm::CONSTANT to Perm.scope calls. Travis could not handle CONSTANT definitions likely due to rails/ruby evironment. Its better to use scope for queries anyway
briley committed on 30 Mar 2017
@briley
testing switch from constant to scope on perm
briley committed on 30 Mar 2017
@briley
added debug to User perm check
briley committed on 30 Mar 2017
@briley
Added freeze back to perm constants. did not turn out to be the issue with travis tests
briley committed on 30 Mar 2017
@briley
removed 'freeze from Perm constant definitions. this is deprecated in Rails 4
briley committed on 30 Mar 2017
@briley
removed 'freeze from Perm constant definitions. this is deprecated in Rails 4
briley committed on 30 Mar 2017
@briley
switch from doing Perm.where(name: [...]) to [Perm::VALUE, ...] in test_helper
briley committed on 30 Mar 2017
@briley
added debug to sections controller test
briley committed on 30 Mar 2017
@briley
added debug to sections controller test
briley committed on 30 Mar 2017
@briley
removed debug lines and got tests pasing locally
briley committed on 30 Mar 2017
@briley
switched travis file to isolate tests against a single controller
briley committed on 30 Mar 2017
@briley
added hack to override the application controller's current_user since its nil in the controller and causing policy check to fail in Travis
briley committed on 30 Mar 2017