Skip to content

gui/default: Allow to degrade 'Automatic upgrades' option to 'No upgrades' (fixes #6044) - #6168

Merged
calmh merged 4 commits into
syncthing:masterfrom
AkaZecik:issue/6044
Dec 11, 2019
Merged

calmh merged 4 commits into
syncthing:masterfrom
AkaZecik:issue/6044

Conversation

@AkaZecik

Copy link
Copy Markdown
Contributor

Purpose

Fix for the issue #6044, where one couldn't change Automatic upgrades option from Stable releases and release candidates to No upgrades without changing it to Stable releases only first.

Testing

I did only a manual testing. I had to force the option 'No upgrades' to appear, because the cloned version of the repository automatically hides it, unlike the official release version. I simply modified the condition to always be true.

The new configuration got saved, based on the console logs from the GET /rest/system/config call. However, restarting Syncthing somehow causes the settings to get reverted and it happens only if I leave it at No upgrades before restarting.

I suppose it's because the cloned repo is a release candidate and not a 'stable' version, but I haven't digged dipper into that.

</button>
<button type="button" class="btn btn-default btn-sm" data-dismiss="modal">
<button type="button" class="btn btn-default btn-sm" ng-click="closeSettings()">
<span class="fas fa-times"></span>&nbsp;<span translate>Close</span>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Clicking out of the modal also closes it, which would now no longer prompt users.

@AudriusButkevicius AudriusButkevicius left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Needs a fix to clicking outside of the modal

@calmh calmh left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works for me, thanks for fixing!

@calmh
calmh merged commit 633ddba into syncthing:master Dec 11, 2019
@calmh calmh added this to the v1.3.4 milestone Dec 11, 2019
calmh added a commit to calmh/syncthing that referenced this pull request Dec 18, 2019
* master:
  golangci: Skip godox
  build(deps): bump github.com/mattn/go-isatty from 0.0.10 to 0.0.11 (syncthing#6231)
  lib/upgrade: Let Mac load .zip archives (syncthing#6230)
  lib/api: Prevent leaks in tests (syncthing#6227)
  lib/syncthing: Expose backend instead of lowlevel (syncthing#6224)
  gui: Prevent spurious api call (fixes syncthing#6222) (syncthing#6223)
  gui: Fix a typo in a class name (syncthing#6220)
  gui: Allow to degrade 'Automatic upgrades' option to 'No upgrades' (fixes syncthing#6044) (syncthing#6168)
calmh added a commit to calmh/syncthing that referenced this pull request Jan 4, 2020
* master:
  gui, lib/model: Prevent negative sync completion (fixes syncthing#4570) (syncthing#6248)
  build, pmp: Replace fork with upstream for go-nat-pmp and tidy go.mod (syncthing#6247)
  gui: Missing line break (fixes syncthing#6240) (syncthing#6241)
  docker: Fix HOME setting (fixes syncthing#6234) (syncthing#6235)
  golangci: Skip godox
  build(deps): bump github.com/mattn/go-isatty from 0.0.10 to 0.0.11 (syncthing#6231)
  lib/upgrade: Let Mac load .zip archives (syncthing#6230)
  lib/api: Prevent leaks in tests (syncthing#6227)
  lib/syncthing: Expose backend instead of lowlevel (syncthing#6224)
  gui: Prevent spurious api call (fixes syncthing#6222) (syncthing#6223)
  gui: Fix a typo in a class name (syncthing#6220)
  gui: Allow to degrade 'Automatic upgrades' option to 'No upgrades' (fixes syncthing#6044) (syncthing#6168)
  lib/db, lib/protocol: Compact FileInfo and BlockInfo alignment (syncthing#6215)
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Dec 11, 2020
@syncthing syncthing locked and limited conversation to collaborators Dec 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants