-
Notifications
You must be signed in to change notification settings - Fork 7
Modernize specimen, report, and messages rendering #7746
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
Open
labkey-adam
wants to merge
19
commits into
release25.7-SNAPSHOT
Choose a base branch
from
25.7_fb_modernize
base: release25.7-SNAPSHOT
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.
Open
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
fbf365a
Modernize specimen, report, and messages rendering
labkey-adam 28ebf81
Messages rendering
labkey-adam c38f90b
Exception URL rendering
labkey-adam 5c3154f
Consolidate validation
labkey-adam 850b318
Eliminate BeanViewForm use
labkey-adam 75a7cf1
No stacktrace anymore
labkey-adam d5dbdb5
Validate container
labkey-adam 61606aa
Add some tests
labkey-adam 8951b22
Test summary actions
labkey-adam c6b4ce2
Check data file test
labkey-adam 8436557
Ensure no stack trace
labkey-adam 10276b3
Don't mess with the /home project
labkey-adam 2b3c4d6
PROPPATCH check
labkey-adam f59a061
PROPPATCH adjust
labkey-adam 3e8acf4
Unused import
labkey-adam c5d63a9
Merge remote-tracking branch 'origin/release25.7-SNAPSHOT' into 25.7_…
labkey-adam dc0587d
DataStatesTest
labkey-adam e97224d
Try the most obvious check first
labkey-adam 9201fac
Fix check
labkey-adam 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
23 changes: 23 additions & 0 deletions
23
announcements/src/org/labkey/announcements/model/AnnouncementFullModel.java
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| package org.labkey.announcements.model; | ||
|
|
||
| import java.util.Date; | ||
|
|
||
| public class AnnouncementFullModel extends AnnouncementModel | ||
| { | ||
| private Date _approved = null; | ||
|
|
||
| public Date getApproved() | ||
| { | ||
| return _approved; | ||
| } | ||
|
|
||
| public void setApproved(Date approved) | ||
| { | ||
| _approved = approved; | ||
| } | ||
|
|
||
| public boolean isSpam() | ||
| { | ||
| return AnnouncementManager.SPAM_MAGIC_DATE.equals(getApproved()); | ||
| } | ||
| } |
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.
It seems possible we'd want to set default values on a per-container basis, and not just in the domain's owning container. I haven't checked if that's possible today.