Repository navigation
[6.x] Support non-revisable fields in entries #11252
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
edalzell
wants to merge
60
commits into
statamic:6.x
Choose a base branch
from
edalzell:non-revisable-fields
base: 6.x
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.
+481
−6
Open
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
c33ed4d
add to base field
edalzell 4aff3fa
tiny refactor to prep
edalzell 8817d35
update the contract and implement in entry
edalzell 42b23b7
better
edalzell cac88a7
get the non-revisable fields
edalzell 59c9267
save the non-revisable data
edalzell 83108ea
tidier
edalzell 4f5106a
tidy
edalzell 668de50
move this so all revisable data can use it
edalzell 34b3dc5
first test
edalzell 9a32871
Field test
edalzell 34e8b23
fix tests
edalzell b7eefe1
tidy
edalzell bc3645a
test revision attributes
edalzell d7cb176
test makeFromRevision
edalzell 5b26aa1
support terms
edalzell 9b5c6e2
term controller
edalzell 06028e1
entry revision tests
edalzell e6543e3
lint
edalzell 3c4df11
Merge branch 'statamic:5.x' into non-revisable-fields
edalzell 710f61f
prep for revisions
edalzell 1f89ced
get base test going
edalzell 5e845ff
add test and pass
edalzell 5c149ad
lint
edalzell bc25912
Merge branch 'statamic:5.x' into non-revisable-fields
edalzell 75dbadb
Merge branch '5.x' into non-revisable-fields
edalzell 2149c64
whoops need to return all data to the front end
edalzell 0e2ea62
remove debugging
edalzell 17067fa
Discard changes to src/Http/Controllers/CP/Taxonomies/TermsController…
edalzell 0473902
Discard changes to src/Taxonomies/LocalizedTerm.php
edalzell dcb5fdd
Merge branch '5.x' into non-revisable-fields
edalzell 4392357
remove term stuff
edalzell 2ac126d
Merge branch '5.x' into non-revisable-fields
edalzell eee0405
Merge branch '5.x' into non-revisable-fields
edalzell c9ddfcd
Merge branch '5.x' into non-revisable-fields
edalzell 96b2540
Computed fields are always revisable cuz they shouldn’t be saved
edalzell 63f722c
Add test
edalzell 72939c8
Merge branch '5.x' into non-revisable-fields
edalzell 0b914cd
Merge branch '6.x' into non-revisable-fields
edalzell 1d55d8c
get from container now that these have query builders
edalzell a26fcd4
fix tests
edalzell 6f9ee06
remove debugging
edalzell 2b77d78
fix test
edalzell f29b6db
Merge branch '6.x' into non-revisable-fields
edalzell e9e36e0
Merge branch '6.x' into non-revisable-fields
edalzell 690ab94
Merge remote-tracking branch 'upstream/6.x' into non-revisable-fields
edalzell 16a940b
Merge branch '6.x' into non-revisable-fields
edalzell 24d08bd
Fully replace data when making an entry from a revision, keeping only…
edalzell 0225065
Save non-revisable fields from raw data and skip the save when there …
edalzell 527fa91
Add revisable instructions text and hide the toggle for computed fields
edalzell 05c2f6e
Merge remote-tracking branch 'origin/6.x' into non-revisable-fields
jasonvarga 1c4dde1
Remove non-revisable fields from a localization when they're unsynced
edalzell a2fbefa
Skip the non-revisable write-through when the revision is cancelled
edalzell 5cdadd2
Touch updated_at when writing non-revisable fields
edalzell db0882a
Default an explicit null revisable to true
edalzell 36a52e9
Clarify that revisable only applies to top level fields
edalzell 02778dd
Merge branch '6.x' into non-revisable-fields
edalzell aa90445
Let the publish array take revisable from the field config
edalzell f95e67f
Derive un-localized non-revisable fields from the entry data
edalzell d171d5f
Trim non-revisable coverage in the entry revisions tests
edalzell 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.