Skip to content

Commit

Permalink
config: Default to Wallabag 2
Browse files Browse the repository at this point in the history
It has been years since Wallabag 2 has been released so let’s allow people to remove wallabag_version=2 from their configs by making it the default value. This is potentially breaking change but hopefully, no one uses Wallabag 1 any more.
  • Loading branch information
jtojnar committed Apr 27, 2021
1 parent bf8558c commit c536cd7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
* Traditional Chinese `zh-TW`
* Norwegian Bokmål `nb`
* Swedish `sv`
- Wallabag sharer now targets Wallabag 2 by default. This is potentially breaking change but hopefully, no one uses Wallabag 1 any more. ([#1261](https://github.com/fossar/selfoss/pull/1261))

### Other changes
- The front-end has been modernized using React framework, this will greatly simplify future development. ([#1216](https://github.com/fossar/selfoss/pull/1216))
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/administration/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ URL of your [Wallabag](https://www.wallabag.org/) instance.
### `wallabag_version`
<div class="config-option">

Set to `1` or `2` depending on your wallabag version (`1` for version 1.x or `2` for version 2.x).
Set to `2` or `1` depending on your wallabag version (`2` for version 2.x or `1` for version 1.x).
</div>

### `wordpress`
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class Configuration {
public $wallabag = '';

/** @var string */
public $wallabagVersion = '1';
public $wallabagVersion = '2';

/** @var ?string */
public $wordpress = null;
Expand Down

0 comments on commit c536cd7

Please sign in to comment.