diff --git a/.github/workflows/image-build.yml b/.github/workflows/image-build.yml new file mode 100644 index 000000000..6d6cb91df --- /dev/null +++ b/.github/workflows/image-build.yml @@ -0,0 +1,32 @@ +name: image-build +on: + push: + branches: + - master +jobs: + build: + name: opendsa-lti-image + runs-on: self-hosted + steps: + - + name: Checkout + uses: actions/checkout@v3 + - + name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - + name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - + name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_TOKEN }} + - + name: Build and push + uses: docker/build-push-action@v5 + with: + context: . + push: true + tags: opendsa/opendsa-lti:latest diff --git a/app/assets/javascripts/inst_books.js b/app/assets/javascripts/inst_books.js index 1385e6940..dcbd0e07e 100644 --- a/app/assets/javascripts/inst_books.js +++ b/app/assets/javascripts/inst_books.js @@ -805,7 +805,7 @@ } }) $('.form-control').each(function(index, element) { - if(!(/^\d\d\/\d\d\/\d\d\d\d \d\d:\d\d ([AaPp][Mm])$/.test($(element).val())) && $(element).val() != 'undefined') { + if(!(/^\d\d\/\d\d\/\d\d\d\d \d?\d:\d\d ([AaPp][Mm])$/.test($(element).val())) && $(element).val() != 'undefined') { messages.push('Dates must be in the format YYYY/MM/DD HH:MM SOURCE: ' + $(element).attr('data-source')); return false; } diff --git a/app/views/guides/opendsa-moodle.erb b/app/views/guides/opendsa-moodle.erb index a8fd6f987..c6ac813a4 100644 --- a/app/views/guides/opendsa-moodle.erb +++ b/app/views/guides/opendsa-moodle.erb @@ -36,7 +36,8 @@

Step 2: Send an email to opendsa@cs.vt.edu - and ask for instructor access. + and ask for instructor access. If this is your first time using OpenDSA, + please include your Moodle URL in the email.

Step 3: Once you are provided with the instructor diff --git a/lib/tasks/update_module_versions.rake b/lib/tasks/update_module_versions.rake index 66639efff..4693f71f6 100644 --- a/lib/tasks/update_module_versions.rake +++ b/lib/tasks/update_module_versions.rake @@ -7,7 +7,9 @@ task :update_module_versions => :environment do REFERENCE_CONFIGS = [ 'Everything', 'PL', - 'PIFLAS23' + 'PIFLAS23', + 'SWDesignAndDataStructs', + 'IntroToSoftwareDesign' ] FULL_CONFIG_FILENAME = '_config.json'