-
Notifications
You must be signed in to change notification settings - Fork 4
Improve T&C (and all) mobile rendering (CFM-501) #447
Open
arlen
wants to merge
13
commits into
COmanage:develop
Choose a base branch
from
arlen:feature-cfm501-mobileRendering
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+960
−555
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
98f489a
Improve UI/UX for Terms and Conditions Review (CFM-501)
arlen b8d117d
Move common code and language strings from TermsAgreer plugin to core…
arlen 76436fb
Further cleanup to Terms and Conditions (CFM-501)
arlen d247605
Fix preview link to TandC Mostly Static Page (CFM-501)
arlen 10b8ee5
Add JavaScript nonce to TandC script tag (CFM-501)
arlen 628ec8e
Implement ajax UI for CO-level Terms and Conditions agreements (CFM-501)
arlen f8fe46e
Simplify TermsAndConditionsController::review() now that ajax is used…
arlen 37f7d66
Move ajax request check from maybeEnforceTAndCs() to beforeFilter() (…
arlen 15e99bd
Add inline-alert feature (CFM-501)
arlen faffd00
Improve T&C (and all) mobile rendering (CFM-501)
arlen 2c74fc9
Ensure elements under #main can overflow when necessary (CFM-501)
arlen 2fd4840
Ensure hover state underlines ignore icons (CFM-501)
arlen 748c0c8
Move TAndCEnrollmentModeEnum to core TAndCAgreementModeEnum (CFM-510)
arlen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realize this is existing code, but what's to stop somebody from sending a random person ID as either the subject or the actor? The original intent of the
/recordAPI was for API Users, not AJAX requests, and API Users are already trusted to make calls on behalf of other users.We probably need to split
recordTAndCinto two: one for the "regular" API and one for the AJAX API. The second call can set the Actor Person ID based on the currently authenticated user. Person ID would either (1) be the currently authenticated user, or (2) if the user is an Admin, allow Person ID to be asserted if it is any Person the Actor can manage.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with this concern. Can we break this issue out into a different ticket independent of this PR since this one doesn't change the existing code (other than to ensure the (int) type is properly cast)?