mirror of
https://git.cloudron.io/cloudron/syncthing-app
synced 2026-06-17 11:35:49 +00:00
Compare commits
51 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7403b5ab73 | |||
| 1e3e2bbe53 | |||
| 6bfb76fbf9 | |||
| 32094b5108 | |||
| 8cf30550e3 | |||
| a6a2bf218a | |||
| ebc099e986 | |||
| 3695f39ab6 | |||
| ad17c38599 | |||
| f861f076e4 | |||
| b3297ccc87 | |||
| efe0db3947 | |||
| b8c7faa37a | |||
| 7c3f77d272 | |||
| 653e6a11bb | |||
| dfbe17a05f | |||
| 7f76c04f69 | |||
| a3d4d57462 | |||
| a060d6e28b | |||
| 4603c3fdb4 | |||
| 8eb1d35781 | |||
| 322d537257 | |||
| b81f2273e6 | |||
| 898d1391d6 | |||
| d653dd82fa | |||
| 5b7b7da168 | |||
| dec9be581f | |||
| 2623410586 | |||
| 8cbb4641e7 | |||
| 3903af9efc | |||
| 1c860d6c63 | |||
| 8d78a37d21 | |||
| 7a267746dc | |||
| a80cb1531e | |||
| 6ac287e500 | |||
| b1f3ffd3f0 | |||
| 4a1833f7bb | |||
| 8854bd4c89 | |||
| 3cd8c5efda | |||
| aece2cbf7a | |||
| 49b7a045eb | |||
| 2d17cea7ef | |||
| 9c0df554c4 | |||
| 6c1f39247e | |||
| 151eb8e334 | |||
| 699737202d | |||
| 0afa587f81 | |||
| 457996f9cb | |||
| 33406ddc9c | |||
| 4efa85dbcb | |||
| ab2f8ca6a1 |
@@ -602,3 +602,250 @@
|
||||
* Update syncthing to 2.0.1
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.1)
|
||||
|
||||
[1.32.2]
|
||||
* Update syncthing to 2.0.2
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.2)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* build: remove netgo and osusergo build tags (fixes [#10251](https://github.com/syncthing/syncthing/issues/10251)) by [@calmh](https://github.com/calmh) in https://github.com/syncthing/syncthing/pull/10256
|
||||
|
||||
[1.33.3]
|
||||
* Fix checklist
|
||||
|
||||
[1.33.4]
|
||||
* Update syncthing to 2.0.3
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.3)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(cmd): restore --version flag for compatibility by [@acolomb](https://github.com/acolomb) in https://github.com/syncthing/syncthing/pull/10269
|
||||
|
||||
[1.33.5]
|
||||
* Update syncthing to 2.0.4
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.4)
|
||||
* fix(cmd): only start temporary API server during migration if it's enabled by [@pixelspark](https://github.com/pixelspark) in https://github.com/syncthing/syncthing/pull/10284
|
||||
* fix(model): consider MaxFolderConcurrency when calculating number of hashers by [@tomasz1986](https://github.com/tomasz1986) in https://github.com/syncthing/syncthing/pull/10285
|
||||
|
||||
[1.33.6]
|
||||
* Update syncthing to 2.0.5
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.5)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(db): only vacuum database on startup when a migration script was actually run by [@pixelspark](https://github.com/pixelspark) in https://github.com/syncthing/syncthing/pull/10339
|
||||
|
||||
[1.33.7]
|
||||
* Update syncthing to 2.0.6
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.6)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(db): remove temp_store = MEMORY pragmas by [@calmh](https://github.com/calmh) in [#10343](https://github.com/syncthing/syncthing/pull/10343)
|
||||
|
||||
[1.33.8]
|
||||
* Update syncthing to 2.0.7
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.7)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(model): earlier free-space check (fixes [#10347](https://github.com/syncthing/syncthing/issues/10347)) by [@calmh](https://github.com/calmh) in [#10348](https://github.com/syncthing/syncthing/pull/10348)
|
||||
* fix(api): redact device encryption passwords in support bundle config by [@pixelspark](https://github.com/pixelspark) in [#10359](https://github.com/syncthing/syncthing/pull/10359)
|
||||
|
||||
[1.33.9]
|
||||
* Update syncthing to 2.0.8
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.8)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(sqlite): less impactful periodic garbage collection by [@calmh](https://github.com/calmh) in [#10374](https://github.com/syncthing/syncthing/pull/10374)
|
||||
* fix(sqlite): explicitly set temporary directory location (fixes [#10368](https://github.com/syncthing/syncthing/issues/10368)) by [@calmh](https://github.com/calmh) in [#10376](https://github.com/syncthing/syncthing/pull/10376)
|
||||
|
||||
[1.33.10]
|
||||
* Update syncthing to 2.0.9
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.9)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(sqlite): add \_txlock=immediate to modernc implementation by [@calmh](https://github.com/calmh) in [#10384](https://github.com/syncthing/syncthing/pull/10384)
|
||||
* fix(api): limit size of allowed authentication request by [@calmh](https://github.com/calmh) in [#10386](https://github.com/syncthing/syncthing/pull/10386)
|
||||
|
||||
[1.33.11]
|
||||
* Update syncthing to 2.0.10
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.10)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on
|
||||
* first launch which can be lengthy for larger setups. The new database is
|
||||
* easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message
|
||||
* plus several key-value pairs). Additionally, we can now control the log
|
||||
* level per package, and a new log level WARNING has been inserted between
|
||||
* INFO and ERROR (which was previously known as WARNING...). The INFO level
|
||||
* has become more verbose, indicating the sync actions taken by Syncthing. A
|
||||
* new command line flag `--log-level` sets the default log level for all
|
||||
* packages, and the `STTRACE` environment variable and GUI has been updated
|
||||
* to set log levels per package. The `--verbose` and `--logflags` command
|
||||
* line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are
|
||||
* forgotten after fifteen months. If your use case require deletes to take
|
||||
* effect after more than a fifteen month delay, set the
|
||||
* `--db-delete-retention-interval` command line option or corresponding
|
||||
* environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are
|
||||
* no longer supported, e.g. `-home` must be given as `--home`. Some options
|
||||
* have been renamed, others have become subcommands. All serve options are
|
||||
* now also accepted as environment variables. See `syncthing --help` and
|
||||
* `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this
|
||||
* effectively never helped. Instead, scanning and syncing is faster and more
|
||||
* efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new
|
||||
* default value is to use three connections: one for index metadata and two
|
||||
* for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for
|
||||
* download at syncthing.net and on GitHub, due to complexities related to
|
||||
* cross compilation with SQLite:
|
||||
* fix: improve conflict detection by tracking previous file hash (fixes [#​10349](https://github.com/syncthing/syncthing/issues/10349)) by [@​calmh](https://github.com/calmh) in [#​10351](https://github.com/syncthing/syncthing/pull/10351)
|
||||
|
||||
[1.33.12]
|
||||
* Update syncthing to 2.0.11
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.11)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(policy): only allow approvals by non-author contributors by [@marbens-arch](https://github.com/marbens-arch) in [#10419](https://github.com/syncthing/syncthing/pull/10419)
|
||||
* fix(fs): store `getExpireAdd` mutex in `caseCache` (fixes [#9836](https://github.com/syncthing/syncthing/issues/9836)) by [@marbens-arch](https://github.com/marbens-arch) in [#10430](https://github.com/syncthing/syncthing/pull/10430)
|
||||
|
||||
[1.33.13]
|
||||
* Update syncthing to 2.0.12
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.12)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
|
||||
[1.33.14]
|
||||
* Update syncthing to 2.0.13
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.13)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(beacon): don't join multicast groups on non-multicast interfaces (fixes [#10497](https://github.com/syncthing/syncthing/issues/10497)) by [@marbens-arch](https://github.com/marbens-arch) in [#10498](https://github.com/syncthing/syncthing/pull/10498)
|
||||
|
||||
[1.33.15]
|
||||
* Update syncthing to 2.0.14
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.14)
|
||||
|
||||
[1.33.16]
|
||||
* Update syncthing to 2.0.15
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.15)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on
|
||||
* first launch which can be lengthy for larger setups. The new database is
|
||||
* easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message
|
||||
* plus several key-value pairs). Additionally, we can now control the log
|
||||
* level per package, and a new log level WARNING has been inserted between
|
||||
* INFO and ERROR (which was previously known as WARNING...). The INFO level
|
||||
* has become more verbose, indicating the sync actions taken by Syncthing. A
|
||||
* new command line flag `--log-level` sets the default log level for all
|
||||
* packages, and the `STTRACE` environment variable and GUI has been updated
|
||||
* to set log levels per package. The `--verbose` and `--logflags` command
|
||||
* line options have been removed and will be ignored if given.
|
||||
* packages, and the `STTRACE` environment variable and GUI has been updated
|
||||
|
||||
[1.33.17]
|
||||
* Update syncthing to 2.0.16
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.0.16)
|
||||
* Database backend switched from LevelDB to SQLite. There is a migration on first launch which can be lengthy for larger setups. The new database is easier to understand and maintain and, hopefully, less buggy.
|
||||
* The logging format has changed to use structured log entries (a message plus several key-value pairs). Additionally, we can now control the log level per package, and a new log level WARNING has been inserted between INFO and ERROR (which was previously known as WARNING...). The INFO level has become more verbose, indicating the sync actions taken by Syncthing. A new command line flag `--log-level` sets the default log level for all packages, and the `STTRACE` environment variable and GUI has been updated to set log levels per package. The `--verbose` and `--logflags` command line options have been removed and will be ignored if given.
|
||||
* Deleted items are no longer kept forever in the database, instead they are forgotten after fifteen months. If your use case require deletes to take effect after more than a fifteen month delay, set the `--db-delete-retention-interval` command line option or corresponding environment variable to zero, or a longer time interval of your choosing.
|
||||
* Modernised command line options parsing. Old single-dash long options are no longer supported, e.g. `-home` must be given as `--home`. Some options have been renamed, others have become subcommands. All serve options are now also accepted as environment variables. See `syncthing --help` and `syncthing serve --help` for details.
|
||||
* Rolling hash detection of shifted data is no longer supported as this effectively never helped. Instead, scanning and syncing is faster and more efficient without it.
|
||||
* A "default folder" is no longer created on first startup.
|
||||
* Multiple connections are now used by default between v2 devices. The new default value is to use three connections: one for index metadata and two for data exchange.
|
||||
* The following platforms unfortunately no longer get prebuilt binaries for download at syncthing.net and on GitHub, due to complexities related to cross compilation with SQLite:
|
||||
* The handling of conflict resolution involving deleted files has changed. A delete can now be the winning outcome of conflict resolution, resulting in the deleted file being moved to a conflict copy.
|
||||
* fix(protocol): verify compressed message length before decompression by [@​calmh](https://github.com/calmh) in [#​10595](https://github.com/syncthing/syncthing/pull/10595)
|
||||
|
||||
[1.34.0]
|
||||
* Update syncthing to 2.1.0
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.1.0)
|
||||
* fix(stdiscosrv): close file descriptor on flush error in write by [@cuiweixie](https://github.com/cuiweixie) in [#10615](https://github.com/syncthing/syncthing/pull/10615)
|
||||
* fix(gui): disable autocomplete for folder password by [@bt90](https://github.com/bt90) in [#10342](https://github.com/syncthing/syncthing/pull/10342)
|
||||
* fix(protocol): limit size of incoming request messages by [@calmh](https://github.com/calmh) in [#10629](https://github.com/syncthing/syncthing/pull/10629)
|
||||
* fix(gui): don't show local device under remote devices (ref [#10563](https://github.com/syncthing/syncthing/issues/10563)) by [@maen-bn](https://github.com/maen-bn) in [#10631](https://github.com/syncthing/syncthing/pull/10631)
|
||||
* fix(gui): order folders alphabetically and ensure local device stays hidden (ref [#10563](https://github.com/syncthing/syncthing/issues/10563), ref [#10631](https://github.com/syncthing/syncthing/issues/10631)) by [@maen-bn](https://github.com/maen-bn) in [#10637](https://github.com/syncthing/syncthing/pull/10637)
|
||||
* fix(gui): fallback to folder ID when label is empty in remove dialog by [@RealCharlesChia](https://github.com/RealCharlesChia) in [#10657](https://github.com/syncthing/syncthing/pull/10657)
|
||||
* fix(gui): fix tabs visually disabled but still clickable during ignore patterns setup (fixes [#10634](https://github.com/syncthing/syncthing/issues/10634)) by [@JRNitre](https://github.com/JRNitre) in [#10651](https://github.com/syncthing/syncthing/pull/10651)
|
||||
* fix(strelaysrv): properly use bind address for outgoing requests (fixes [#10658](https://github.com/syncthing/syncthing/issues/10658)) by [@calmh](https://github.com/calmh) in [#10659](https://github.com/syncthing/syncthing/pull/10659)
|
||||
* feat(gui, config): support simple folder grouping (fixes [#2070](https://github.com/syncthing/syncthing/issues/2070)) by [@maen-bn](https://github.com/maen-bn) in [#10563](https://github.com/syncthing/syncthing/pull/10563)
|
||||
* feat(dialer): add HTTP/HTTPS proxy support via CONNECT by [@luizluca](https://github.com/luizluca) in [#10572](https://github.com/syncthing/syncthing/pull/10572)
|
||||
|
||||
[1.34.1]
|
||||
* Update syncthing to 2.1.1
|
||||
* [Full Changelog](https://github.com/syncthing/syncthing/releases/tag/v2.1.1)
|
||||
* fix(syncthing): properly upgrade via REST when Syncthing is running (fixes [#10697](https://github.com/syncthing/syncthing/issues/10697)) by [@calmh](https://github.com/calmh) in [#10699](https://github.com/syncthing/syncthing/pull/10699)
|
||||
* fix(versioner): ensure user read/write/execute on archived dirs (fixes [#10532](https://github.com/syncthing/syncthing/issues/10532)) by [@calmh](https://github.com/calmh) in [#10696](https://github.com/syncthing/syncthing/pull/10696)
|
||||
* fix(discover): only announce wildcard for TCP punching when listening on wildcard address (fixes [#10503](https://github.com/syncthing/syncthing/issues/10503)) by [@calmh](https://github.com/calmh) in [#10691](https://github.com/syncthing/syncthing/pull/10691)
|
||||
* fix(stcrashreceiver): close source loader responses on errors by [@mattn](https://github.com/mattn) in [#10704](https://github.com/syncthing/syncthing/pull/10704)
|
||||
* fix(protocol): handle zero-size requests (fixes [#10709](https://github.com/syncthing/syncthing/issues/10709)) by [@calmh](https://github.com/calmh) in [#10710](https://github.com/syncthing/syncthing/pull/10710)
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
"description": "file://DESCRIPTION.md",
|
||||
"changelog": "file://CHANGELOG",
|
||||
"tagline": "Decentralized file synchronization",
|
||||
"version": "1.32.1",
|
||||
"upstreamVersion": "2.0.1",
|
||||
"version": "1.34.1",
|
||||
"upstreamVersion": "2.1.1",
|
||||
"healthCheckPath": "/healthcheck",
|
||||
"httpPort": 8000,
|
||||
"addons": {
|
||||
@@ -15,7 +15,8 @@
|
||||
},
|
||||
"checklist": {
|
||||
"change-default-password": {
|
||||
"message": "Change the admin password immediately."
|
||||
"message": "Change the admin password",
|
||||
"sso": false
|
||||
}
|
||||
},
|
||||
"tcpPorts": {
|
||||
@@ -23,7 +24,8 @@
|
||||
"title": "Sync Port",
|
||||
"description": "Port over which syncthing will exchange data (do not disable)",
|
||||
"defaultValue": 22000,
|
||||
"containerPort": 22000
|
||||
"containerPort": 22000,
|
||||
"enabledByDefault": true
|
||||
}
|
||||
},
|
||||
"manifestVersion": 2,
|
||||
@@ -34,7 +36,7 @@
|
||||
"storage",
|
||||
"sync"
|
||||
],
|
||||
"minBoxVersion": "8.1.0",
|
||||
"minBoxVersion": "9.0.0",
|
||||
"forumUrl": "https://forum.cloudron.io/category/56/syncthing",
|
||||
"documentationUrl": "https://docs.cloudron.io/packages/syncthing/",
|
||||
"mediaLinks": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ RUN mkdir -p /app/code
|
||||
WORKDIR /app/code
|
||||
|
||||
# renovate: datasource=github-releases depName=syncthing/syncthing versioning=semver extractVersion=^v(?<version>.+)$
|
||||
ARG SYNCTHING_VERSION=2.0.1
|
||||
ARG SYNCTHING_VERSION=2.1.1
|
||||
|
||||
RUN wget https://github.com/syncthing/syncthing/releases/download/v${SYNCTHING_VERSION}/syncthing-linux-amd64-v${SYNCTHING_VERSION}.tar.gz -O - | tar -xz -C /app/code --strip-components=1
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ mkdir -p /app/data/config /app/data/folders /run/syncthing
|
||||
|
||||
# if this if the first run, generate a useful config
|
||||
if [[ ! -f /app/data/config/config.xml ]]; then
|
||||
echo "=> Generating config"
|
||||
echo "==> Generating config"
|
||||
STNODEFAULTFOLDER=1 /app/code/syncthing generate --home="/app/data/config"
|
||||
|
||||
# The password value (changeme) was determined by reading config.xml and setting value in the GUI
|
||||
@@ -31,12 +31,11 @@ if [[ -n ${CLOUDRON_LDAP_HOST:-} ]]; then
|
||||
/app/data/config/config.xml
|
||||
fi
|
||||
|
||||
|
||||
# Set the listenAddress and the gui enabled to make sure user doesnt lock themselves out by accident.
|
||||
sed -e "s,<listenAddress>.*</listenAddress>,<listenAddress>tcp://:${SYNC_PORT}</listenAddress>," -i /app/data/config/config.xml
|
||||
sed -e 's,<gui .*>,<gui enabled="true" tls="false" debugging="false">,' -i /app/data/config/config.xml
|
||||
|
||||
chown -R cloudron:cloudron /app/data /run/syncthing
|
||||
|
||||
echo "Starting supervisor"
|
||||
echo "==> Starting supervisor"
|
||||
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i syncthing
|
||||
|
||||
Generated
-2817
File diff suppressed because it is too large
Load Diff
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"name": "test",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"chromedriver": "^139.0.1",
|
||||
"expect.js": "^0.3.1",
|
||||
"mocha": "^11.7.1",
|
||||
"selenium-webdriver": "^4.35.0"
|
||||
}
|
||||
}
|
||||
+36
-140
@@ -1,195 +1,91 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
/* jshint esversion: 8 */
|
||||
/* global it, xit, describe, before, after, afterEach */
|
||||
import { app, clearCache, click, cloudronCli, goto, password, sendKeys, setupBrowser, takeScreenshot, teardownBrowser, username, waitFor } from '@cloudron/charlie';
|
||||
|
||||
'use strict';
|
||||
|
||||
require('chromedriver');
|
||||
|
||||
const execSync = require('child_process').execSync,
|
||||
expect = require('expect.js'),
|
||||
fs = require('fs'),
|
||||
path = require('path'),
|
||||
timers = require('timers/promises'),
|
||||
{ Builder, By, until } = require('selenium-webdriver'),
|
||||
{ Options } = require('selenium-webdriver/chrome');
|
||||
|
||||
if (!process.env.USERNAME || !process.env.PASSWORD) {
|
||||
console.log('USERNAME and PASSWORD env vars need to be set');
|
||||
process.exit(1);
|
||||
}
|
||||
/* global it, describe, before, after, afterEach */
|
||||
|
||||
describe('Application life cycle test', function () {
|
||||
this.timeout(0);
|
||||
|
||||
const LOCATION = process.env.LOCATION || 'test';
|
||||
const TEST_TIMEOUT = 30000;
|
||||
const FOLDER = 'xmf'; // keep this small. long folder names fail in automation, not sure why
|
||||
const FOLDER = 'xmf'; // keep small; long folder names fail in automation
|
||||
const SYNC_PORT = 22001;
|
||||
const EXEC_ARGS = { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' };
|
||||
const adminUsername = 'admin';
|
||||
const adminPassword = 'changeme';
|
||||
|
||||
let browser, app;
|
||||
const adminUsername = 'admin', adminPassword = 'changeme';
|
||||
const username = process.env.USERNAME;
|
||||
const password = process.env.PASSWORD;
|
||||
|
||||
before(function () {
|
||||
const chromeOptions = new Options().windowSize({ width: 1280, height: 1024 });
|
||||
if (process.env.CI) chromeOptions.addArguments('no-sandbox', 'disable-dev-shm-usage', 'headless');
|
||||
browser = new Builder().forBrowser('chrome').setChromeOptions(chromeOptions).build();
|
||||
if (!fs.existsSync('./screenshots')) fs.mkdirSync('./screenshots');
|
||||
});
|
||||
|
||||
after(function () {
|
||||
browser.quit();
|
||||
});
|
||||
before(setupBrowser);
|
||||
after(teardownBrowser);
|
||||
|
||||
afterEach(async function () {
|
||||
if (!process.env.CI || !app) return;
|
||||
|
||||
const currentUrl = await browser.getCurrentUrl();
|
||||
if (!currentUrl.includes(app.domain)) return;
|
||||
expect(this.currentTest.title).to.be.a('string');
|
||||
|
||||
const screenshotData = await browser.takeScreenshot();
|
||||
fs.writeFileSync(`./screenshots/${new Date().getTime()}-${this.currentTest.title.replaceAll(' ', '_')}.png`, screenshotData, 'base64');
|
||||
await takeScreenshot(this.currentTest);
|
||||
});
|
||||
|
||||
function getAppInfo() {
|
||||
const inspect = JSON.parse(execSync('cloudron inspect'));
|
||||
app = inspect.apps.filter(function (a) { return a.location.indexOf(LOCATION) === 0; })[0];
|
||||
expect(app).to.be.an('object');
|
||||
}
|
||||
|
||||
async function waitForElement(elem) {
|
||||
await browser.wait(until.elementLocated(elem), TEST_TIMEOUT);
|
||||
await browser.wait(until.elementIsVisible(browser.findElement(elem)), TEST_TIMEOUT);
|
||||
}
|
||||
|
||||
async function login(username, password) {
|
||||
await browser.manage().deleteAllCookies();
|
||||
await browser.get('https://' + app.fqdn);
|
||||
await waitForElement(By.id('user'));
|
||||
await browser.findElement(By.id('user')).sendKeys(username);
|
||||
await browser.findElement(By.id('password')).sendKeys(password);
|
||||
await browser.findElement(By.xpath('//button[@type="submit"]')).click();
|
||||
await waitForElement(By.xpath('//span[text()="Actions"]'));
|
||||
}
|
||||
|
||||
async function logout() {
|
||||
await browser.get('https://' + app.fqdn);
|
||||
await waitForElement(By.xpath('//span[text()="Actions"]'));
|
||||
await browser.findElement(By.xpath('//span[text()="Actions"]')).click();
|
||||
await browser.sleep(4000);
|
||||
await waitForElement(By.xpath('//span[text()="Log Out"]'));
|
||||
await browser.findElement(By.xpath('//span[text()="Log Out"]')).click();
|
||||
await browser.sleep(4000);
|
||||
await waitForElement(By.id('user'));
|
||||
async function login(uname, pass) {
|
||||
await goto(`https://${app.fqdn}`, 'label=User');
|
||||
await sendKeys('label=User', uname);
|
||||
await sendKeys('label=Password', pass);
|
||||
await click('Log In');
|
||||
await waitFor('Actions');
|
||||
}
|
||||
|
||||
async function loadPage() {
|
||||
await browser.get('https://' + app.fqdn);
|
||||
await waitForElement(By.xpath('//span[text()="Actions"]'));
|
||||
await goto(`https://${app.fqdn}`, 'Actions');
|
||||
}
|
||||
|
||||
async function addFolder() {
|
||||
await browser.get('https://' + app.fqdn);
|
||||
await browser.findElement(By.css('[ng-click*=addFolder]')).click();
|
||||
await browser.sleep(8000);
|
||||
await waitForElement(By.id('folderPath'));
|
||||
await browser.sleep(8000); // wait more, not sure why this is needed
|
||||
await browser.findElement(By.id('folderLabel')).sendKeys(FOLDER);
|
||||
await browser.findElement(By.id('folderPath')).sendKeys(`/app/data/${FOLDER}`);
|
||||
await browser.sleep(8000); // without this sometimes only part of the folder name gets through
|
||||
await browser.findElement(By.css('[ng-click*=saveFolder]')).click();
|
||||
await browser.sleep(8000); // without this "stale element"
|
||||
await waitForElement(By.xpath(`//span[contains(text(), '${FOLDER}')]`));
|
||||
await browser.sleep(8000);
|
||||
await goto(`https://${app.fqdn}`, /Add Folder/);
|
||||
await click(/Add Folder/);
|
||||
await sendKeys('label=Folder Label', FOLDER);
|
||||
await sendKeys('label=Folder Path', `/app/data/${FOLDER}`);
|
||||
await click(/Save/);
|
||||
await waitFor(FOLDER);
|
||||
}
|
||||
|
||||
async function checkFolder() {
|
||||
await browser.get('https://' + app.fqdn);
|
||||
await browser.sleep(5000);
|
||||
await browser.get('https://' + app.fqdn);
|
||||
await browser.wait(until.elementLocated(By.xpath(`//span[text()="${FOLDER}"]`)), TEST_TIMEOUT);
|
||||
await goto(`https://${app.fqdn}`, FOLDER);
|
||||
}
|
||||
|
||||
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
|
||||
|
||||
// NO SSO
|
||||
it('install app (NO SSO)', function () { execSync('cloudron install --no-sso --port-bindings SYNC_PORT=' + SYNC_PORT + ' --location ' + LOCATION, EXEC_ARGS); });
|
||||
it('can get app information', getAppInfo);
|
||||
it('install app (NO SSO)', () => cloudronCli.install({ noSso: true, tcpPortFlags: { SYNC_PORT } }));
|
||||
|
||||
it('can admin login', login.bind(null, adminUsername, adminPassword));
|
||||
it('can load page', loadPage);
|
||||
it('can add folder', addFolder);
|
||||
it('can check folder', checkFolder);
|
||||
|
||||
it('uninstall app', async function () {
|
||||
await browser.get('about:blank');
|
||||
execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
|
||||
});
|
||||
it('uninstall app', cloudronCli.uninstall);
|
||||
|
||||
// SSO
|
||||
it('install app (SSO)', function () { execSync('cloudron install --port-bindings SYNC_PORT=' + SYNC_PORT + ' --location ' + LOCATION, EXEC_ARGS); });
|
||||
it('can get app information', getAppInfo);
|
||||
it('install app (SSO)', () => cloudronCli.install({ noSso: false, tcpPortFlags: { SYNC_PORT } }));
|
||||
|
||||
it('can login', login.bind(null, username, password));
|
||||
it('can load page', loadPage);
|
||||
it('can add folder', addFolder);
|
||||
it('can logout', logout);
|
||||
it('can logout', clearCache);
|
||||
|
||||
it('backup app', async function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
|
||||
it('restore app', async function () {
|
||||
await browser.get('about:blank');
|
||||
execSync('cloudron restore --app ' + app.id, EXEC_ARGS);
|
||||
await timers.setTimeout(5000);
|
||||
});
|
||||
it('backup app', cloudronCli.createBackup);
|
||||
it('restore app', cloudronCli.restoreFromLatestBackup);
|
||||
|
||||
it('can login', login.bind(null, username, password));
|
||||
it('can load page', loadPage);
|
||||
it('can check folder', checkFolder);
|
||||
it('can logout', logout);
|
||||
it('can logout', clearCache);
|
||||
|
||||
it('move to different location', async function () {
|
||||
await browser.get('about:blank');
|
||||
execSync(`cloudron configure --location ${LOCATION}2 --app ${app.id}`, EXEC_ARGS);
|
||||
await timers.setTimeout(5000);
|
||||
});
|
||||
it('can get app information', getAppInfo);
|
||||
it('move to different location', cloudronCli.changeLocation);
|
||||
|
||||
it('can login', login.bind(null, username, password));
|
||||
it('can load page', loadPage);
|
||||
it('can check folder', checkFolder);
|
||||
it('can logout', logout);
|
||||
it('can logout', clearCache);
|
||||
|
||||
it('uninstall app', async function () {
|
||||
await browser.get('about:blank');
|
||||
execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
|
||||
});
|
||||
it('uninstall app', cloudronCli.uninstall);
|
||||
|
||||
// test update
|
||||
it('can install app', async function () {
|
||||
execSync('cloudron install --port-bindings SYNC_PORT=' + SYNC_PORT + ' --appstore-id net.syncthing.cloudronapp2 --location ' + LOCATION, EXEC_ARGS);
|
||||
await timers.setTimeout(30000);
|
||||
});
|
||||
it('can get app information', getAppInfo);
|
||||
it('can install app for update', () => cloudronCli.appstoreInstall({ tcpPortFlags: { SYNC_PORT } }));
|
||||
it('can login', login.bind(null, username, password));
|
||||
it('can load page', loadPage);
|
||||
it('can add folder', addFolder);
|
||||
it('can logout', logout);
|
||||
it('can logout', clearCache);
|
||||
|
||||
it('can update', async function () {
|
||||
await browser.get('about:blank');
|
||||
execSync('cloudron update --app ' + LOCATION, EXEC_ARGS);
|
||||
await timers.setTimeout(30000);
|
||||
});
|
||||
it('can update', cloudronCli.update);
|
||||
it('can login', login.bind(null, username, password));
|
||||
it('can check folder', checkFolder);
|
||||
|
||||
it('uninstall app', async function () {
|
||||
await browser.get('about:blank');
|
||||
execSync('cloudron uninstall --app ' + app.id, EXEC_ARGS);
|
||||
});
|
||||
it('uninstall app', cloudronCli.uninstall);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user