Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main rebased upon upgraded Avalon 7.2 #124

Merged
merged 142 commits into from
Dec 1, 2020
Merged

Main rebased upon upgraded Avalon 7.2 #124

merged 142 commits into from
Dec 1, 2020

Conversation

bwatson78
Copy link

All files: Result of rebasing the upgraded Avalon to the 'main' branch.

Dananji and others added 30 commits November 30, 2020 11:13
SupplementalFile ids should always be strings
New Avalon error classes

Co-authored-by: Phil Dinh <phuongdh@gmail.com>
Co-authored-by: Dananji Withana <dwithana@iu.edu>
Co-authored-by: phuongdh <phuongdh@gmail.com>
Co-authored-by: phuongdh <phuongdh@gmail.com>
Co-authored-by: Chris Colvard <cjcolvar@indiana.edu>
Co-authored-by: Dananji Withana <dwithana@iu.edu>
Co-authored-by: cjcolvar <cjcolvar@indiana.edu>
Remove zero-width characters from the beginning and end of all parameters in all controller actions

* Add String#remove_zero_width_chars to remove all zero width unicode characters
* Add before action in ApplicationController to strip zero-width
characters from all parameters including child arrays and hashes.

Co-authored-by: Sumith Baddam <sumith.reddy2@gmail.com>
LoadError is thrown by the AWS SDK when the activestorage adapter is set to s3 but is not configured properly.
Co-authored-by: phuongdh <phuongdh@gmail.com>
encoder class to avoid issue of #descendants iterating over all
instatiated objects and possibly returning classes that are not longer
declared as constants.  This is probably an edge-case which only affects
tests but this new approach may also be faster.

Also declare classes as anonymous classes and stub constants within
test.
phuongdh and others added 23 commits November 30, 2020 12:10
Co-authored-by: phuongdh <phuongdh@gmail.com>
encoder class to avoid issue of #descendants iterating over all
instatiated objects and possibly returning classes that are not longer
declared as constants.  This is probably an edge-case which only affects
tests but this new approach may also be faster.

Also declare classes as anonymous classes and stub constants within
test.
* Refactor s3 localize code to FileLocator

* Cache s3 object locally for faster waveform job

* Fix passthrough test

* Use Tempfile for easy clean up

* Update spec/jobs/waveform_job_spec.rb

Co-authored-by: Chris Colvard <cjcolvar@indiana.edu>
… for the same. (avalonmediasystem#4230)

* Handling collection names with s3 special characters. Added test case for the same

* Handling collection names with s3 special characters. Added test case for the same

Co-authored-by: Sumith Baddam <srbaddam@iu.edu>
Co-authored-by: Phil Dinh <phuongdh@gmail.com>

[WIP] Adding tests for the supplemental files controller

Co-authored-by: Phil Dinh <phuongdh@gmail.com>

Complete tests for supplemental files controller

Co-authored-by: Phil Dinh <phuongdh@gmail.com>

Move captions and supplemental to Manage Files tab

Co-authored-by: Dananji Withana <dwithana@iu.edu>

Fix CSS issues and rework views

Co-authored-by: Dananji Withana <dwithana@iu.edu>

Change forms in file upload step to update each master file in masterfiles controller

Co-authored-by: Phil Dinh <phuongdh@gmail.com>

Add more UI fixes for Manage files step

Co-authored-by: Dananji Withana <dwithana@iu.edu>

Fix CodeClimate issues

Add end user UI, fix test

Fix failing tests

Fix indentation
Co-authored-by: Phil Dinh <phuongdh@gmail.com>
Co-authored-by: Dananji Withana <dwithana@iu.edu>
* This commit also changes the uid to point to the urn for PPID
and adds additional attrs to statements.
@bwatson78 bwatson78 changed the title Upgrade avalon 7 2 Main rebased upon upgraded Avalon 7.2 Nov 30, 2020
@bwatson78 bwatson78 mentioned this pull request Nov 30, 2020
3 tasks
Copy link

@devanshu-m devanshu-m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on this @bwatson78

@devanshu-m devanshu-m merged commit 160ab99 into main Dec 1, 2020
@devanshu-m devanshu-m deleted the upgrade_avalon_7_2 branch December 1, 2020 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants