浏览代码

back to development

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 3 年之前
父节点
当前提交
eee5d74e87
共有 4 个文件被更改,包括 28 次插入29 次删除
  1. 1 1
      openapi/openapi.yaml
  2. 6 0
      pkgs/debian/changelog
  3. 20 27
      pkgs/debian/patches/config.diff
  4. 1 1
      version/version.go

+ 1 - 1
openapi/openapi.yaml

@@ -26,7 +26,7 @@ info:
     SFTPGo supports groups to simplify the administration of multiple accounts by letting you assign settings once to a group, instead of multiple times to each individual user.
     SFTPGo supports groups to simplify the administration of multiple accounts by letting you assign settings once to a group, instead of multiple times to each individual user.
     The SFTPGo WebClient allows end users to change their credentials, browse and manage their files in the browser and setup two-factor authentication which works with Authy, Google Authenticator and other compatible apps.
     The SFTPGo WebClient allows end users to change their credentials, browse and manage their files in the browser and setup two-factor authentication which works with Authy, Google Authenticator and other compatible apps.
     From the WebClient each authorized user can also create HTTP/S links to externally share files and folders securely, by setting limits to the number of downloads/uploads, protecting the share with a password, limiting access by source IP address, setting an automatic expiration date.
     From the WebClient each authorized user can also create HTTP/S links to externally share files and folders securely, by setting limits to the number of downloads/uploads, protecting the share with a password, limiting access by source IP address, setting an automatic expiration date.
-  version: 2.3.0
+  version: 2.3.0-dev
   contact:
   contact:
     name: API support
     name: API support
     url: 'https://github.com/drakkan/sftpgo'
     url: 'https://github.com/drakkan/sftpgo'

+ 6 - 0
pkgs/debian/changelog

@@ -1,3 +1,9 @@
+sftpgo (2.3.0-1ppa1) bionic; urgency=medium
+
+  * New upstream release
+
+ -- Nicola Murino <nicola.murino@gmail.com>  Sat, 04 Jun 2022 10:22:53 +0200
+
 sftpgo (2.2.3-1ppa1) bionic; urgency=medium
 sftpgo (2.2.3-1ppa1) bionic; urgency=medium
 
 
   * New upstream release
   * New upstream release

+ 20 - 27
pkgs/debian/patches/config.diff

@@ -2,7 +2,16 @@ Index: sftpgo/sftpgo.json
 ===================================================================
 ===================================================================
 --- sftpgo.orig/sftpgo.json
 --- sftpgo.orig/sftpgo.json
 +++ sftpgo/sftpgo.json
 +++ sftpgo/sftpgo.json
-@@ -149,7 +149,7 @@
+@@ -58,7 +58,7 @@
+     "domains": [],
+     "email": "",
+     "key_type": "4096",
+-    "certs_path": "certs",
++    "certs_path": "/var/lib/sftpgo/certs",
+     "ca_endpoint": "https://acme-v02.api.letsencrypt.org/directory",
+     "renew_days": 30,
+     "http01_challenge": {
+@@ -180,7 +180,7 @@
    },
    },
    "data_provider": {
    "data_provider": {
      "driver": "sqlite",
      "driver": "sqlite",
@@ -11,7 +20,7 @@ Index: sftpgo/sftpgo.json
      "host": "",
      "host": "",
      "port": 0,
      "port": 0,
      "username": "",
      "username": "",
-@@ -160,7 +160,7 @@
+@@ -194,7 +194,7 @@
      "track_quota": 2,
      "track_quota": 2,
      "delayed_quota_update": 0,
      "delayed_quota_update": 0,
      "pool_size": 0,
      "pool_size": 0,
@@ -20,37 +29,21 @@ Index: sftpgo/sftpgo.json
      "actions": {
      "actions": {
        "execute_on": [],
        "execute_on": [],
        "execute_for": [],
        "execute_for": [],
-@@ -168,7 +168,7 @@
+@@ -202,7 +202,7 @@
      },
      },
      "external_auth_hook": "",
      "external_auth_hook": "",
      "external_auth_scope": 0,
      "external_auth_scope": 0,
 -    "credentials_path": "credentials",
 -    "credentials_path": "credentials",
 +    "credentials_path": "/var/lib/sftpgo/credentials",
 +    "credentials_path": "/var/lib/sftpgo/credentials",
-     "prefer_database_credentials": false,
      "pre_login_hook": "",
      "pre_login_hook": "",
      "post_login_hook": "",
      "post_login_hook": "",
-@@ -216,10 +216,10 @@
-         "web_client_integrations": []
-       }
-     ],
--    "templates_path": "templates",
--    "static_files_path": "static",
--    "openapi_path": "openapi",
+     "post_login_scope": 0,
+@@ -232,7 +232,7 @@
+     "create_default_admin": false,
+     "naming_rules": 1,
+     "is_shared": 0,
 -    "backups_path": "backups",
 -    "backups_path": "backups",
-+    "templates_path": "/usr/share/sftpgo/templates",
-+    "static_files_path": "/usr/share/sftpgo/static",
-+    "openapi_path": "/usr/share/sftpgo/openapi",
 +    "backups_path": "/srv/sftpgo/backups",
 +    "backups_path": "/srv/sftpgo/backups",
-     "web_root": "",
-     "certificate_file": "",
-     "certificate_key_file": "",
-@@ -285,7 +285,7 @@
-     "auth_type": 0,
-     "encryption": 0,
-     "domain": "",
--    "templates_path": "templates"
-+    "templates_path": "/usr/share/sftpgo/templates"
-   },
-   "plugins": []
- }
-\ No newline at end of file
+     "auto_backup": {
+       "enabled": true,
+       "hour": "0",

+ 1 - 1
version/version.go

@@ -2,7 +2,7 @@ package version
 
 
 import "strings"
 import "strings"
 
 
-const version = "2.3.0"
+const version = "2.3.0-dev"
 
 
 var (
 var (
 	commit = ""
 	commit = ""