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

Disable incompatible properties for shared database #1826

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

obraliar
Copy link
Contributor

@obraliar obraliar commented Aug 23, 2016

Issue: #1703.

Database properties dialog:
Do not show "Save sort order" - database sorts arbitrarily 😇
Do not show "Database protection" - makes no sense in a shared database setting

Depends on: #1818 and https://github.com/JabRef/help.jabref.org/pull/57

  • Manually tested changed features in running JabRef

@Braunch Braunch added the stupro label Aug 23, 2016
@@ -79,6 +80,18 @@ public void setPanel(BasePanel panel) {
this.metaData = panel.getBibDatabaseContext().getMetaData();
}

public void updateEnableStatus() {
DatabaseLocation location = panel.getBibDatabaseContext().getLocation();
boolean isNotShared = (location != DatabaseLocation.SHARED);
Copy link
Member

Choose a reason for hiding this comment

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

name it isShared. Reason: Negations should not be used in variable names.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@obraliar obraliar force-pushed the ImproveSharedDatabaseFeature branch from 55f0543 to ac70cff Compare August 24, 2016 01:01
@koppor koppor changed the title [WIP] Improve shared database feature [WIP] Disable incompatible properties for shared database Aug 24, 2016
@mlep
Copy link
Contributor

mlep commented Aug 24, 2016

Noticing the new title of this PR, I am wondering if this PR affects the related help file ( http://help.jabref.org/en/DatabaseProperties )

@obraliar
Copy link
Contributor Author

@boceckts
Copy link
Contributor

LGTM 👍

@boceckts boceckts added status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers and removed stupro-ready-for-internal-review labels Aug 24, 2016
@boceckts boceckts changed the title [WIP] Disable incompatible properties for shared database Disable incompatible properties for shared database Aug 24, 2016
@oscargus
Copy link
Contributor

LGTM! 👍

@koppor koppor merged commit 1b1e489 into JabRef:master Aug 25, 2016
Siedlerchr added a commit that referenced this pull request Aug 25, 2016
* master:
  Disable incompatible properties for shared database. (#1826)
  Allow setting the etal-string empty. Implements #1841 (#1848)
  fix SplitPaneChangeListener (#1840)
  French localization: Jabref_fr: empty strings translated (#1847)
  Fixes #1687 "month" field ascending/descending sorting swapped (#1837)
  Fix localization entry.
  Update German translation (#1829)
  entry scrolling  didn't work if the entry in question was just 1 row outside the table (bottom) (<; <= mistake)
  fix indent
  when pasting an entry search the entry from the back, b/c we want to select the duplicate, not the original
  fix issues and delete a duplicate method
  when inserting a duplicate the right entry will be selected
ayanai1 pushed a commit to ayanai1/jabref that referenced this pull request Sep 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants