Ver Fonte

urlwatch bug fix

Fixed a bug in the generation of the urlwatch configuration: on yunohosts with mulitple flohmarkt installations the second and any further installation used a wrong url path to access flohmarkts couchdb.
Chris Vogel há 11 meses atrás
pai
commit
e190d9bef8
3 ficheiros alterados com 9 adições e 3 exclusões
  1. 1 1
      conf/urlwatch_urls.yaml
  2. 6 0
      doc/PRE_UPGRADE.md
  3. 2 2
      manifest.toml

+ 1 - 1
conf/urlwatch_urls.yaml

@@ -1,6 +1,6 @@
 name: "watch for changes in user database"
 kind: "url"
-url: "http://__APP__:__PASSWORD_COUCHDB_FLOHMARKT__@127.0.0.1:5984/flohmarkt/_find"
+url: "http://__APP__:__PASSWORD_COUCHDB_FLOHMARKT__@127.0.0.1:5984/__APP__/_find"
 method: "POST"
 data: '{"selector": { "role": "User", "name": { "$ne": "instance" }}, 
   "fields": ["name","email","active"], "sort": [ "name" ]}'

+ 6 - 0
doc/PRE_UPGRADE.md

@@ -1,3 +1,9 @@
+# new in 0.6.1~ynh2
+
+No new features.
+
+Fixed a bug in the generation of the urlwatch configuration: on yunohosts with mulitple flohmarkt installations the second and any further installation used a wrong url path to access flohmarkts couchdb.
+
 # new in 0.6.1~ynh1
 
 ## new features

+ 2 - 2
manifest.toml

@@ -7,7 +7,7 @@ name = "flohmarkt"
 description.en = "A decentral federated small ads platform"
 description.fr = "Plateforme de petites annonces fédérées décentralisées"
 
-version = "0.6.1~ynh1"
+version = "0.6.1~ynh3"
 
 maintainers = ["Chris Vogel"]
 
@@ -26,7 +26,7 @@ code = "https://codeberg.org/flohmarkt/flohmarkt"
 # fund = "???"
 
 [integration]
-yunohost = ">= 11.2.11"
+yunohost = ">= 12.0.10"
 architectures = "all"
 # https://codeberg.org/ChriChri/flohmarkt_ynh/issues/11
 multi_instance = true