Bläddra i källkod

upgrade to flohmarkt 0.6.1

added new patch to requirements.txt to make sure that in the venv pydantic (until
know a dependency of fastapi) is installed as version >=2.0.0.
Chris Vogel 1 år sedan
förälder
incheckning
ed02f2fe8d
4 ändrade filer med 32 tillägg och 5 borttagningar
  1. 3 0
      conf/flohmarkt.conf
  2. 18 0
      doc/PRE_UPGRADE.md
  3. 3 5
      manifest.toml
  4. 8 0
      sources/patches/main-requirements-pydantic-2.patch

+ 3 - 0
conf/flohmarkt.conf

@@ -17,6 +17,9 @@ Database = __APP__
 MailMethod = smtp
 From = __MAIL_USER__@__MAIL_DOMAIN__
 
+[Email.Sendmail]
+SendmailExecutable = /usr/sbin/sendmail
+
 [Email.SMTP]
 Server = 127.0.0.1
 Port = 587

+ 18 - 0
doc/PRE_UPGRADE.md

@@ -1,3 +1,21 @@
+# new in 0.6.1~ynh1
+
+## new features
+
+* instance name is shown as page title of browsers (make sure to set it in the "Administration" menu)
+* visually reworked item page
+* most tabs now feature icons
+* visually reworked item tags
+* sticky menu
+* Search Users in Admin View
+* The instance name is now shown in the page title. Before it was just "Flohmarkt" for everyone (see "Take Action")
+* Most used tags are now shown as clickable buttons on the front page.
+* User settings dialog is now split into tabs "Profile" and "Account". "Profile" is for the public-facing unproblematic stuff and "Account" contains the more dangerous actions like "delete account" and "change email" e.t.c
+* Item authors may now change the order of the uploaded images.
+
+## breacking changes
+* new couchdb database view in this release: yunohost upgrade will run initialize_couchdb.py automatically for you
+
 # new in 0.2.0~ynh1
 
 Starting with this update the venv of flohmarkt will be updated.

+ 3 - 5
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.2.0~ynh1"
+version = "0.6.1~ynh1"
 
 maintainers = ["Chris Vogel"]
 
@@ -115,10 +115,8 @@ ram.runtime = "100M"
     #    ynh_setup_source --dest_dir="$install_dir"
     # You can also define other assets than "main" and add --source_id="foobar" in the previous command
     #
-    # 2024-09-29 This is one commit behind 0.2.0, because for yunohost 11.x.y needed this issue be resolved:
-    # https://codeberg.org/flohmarkt/flohmarkt/issues/333
-    url = "https://codeberg.org/flohmarkt/flohmarkt/archive/70afb387b9c755a2e0f485759263658f6f21af6c.tar.gz"
-    sha256 = "05ff98940b23b9e7d856a4fbc75d38005f92c1f67cbac636c52531b825f66615"
+    url = "https://codeberg.org/flohmarkt/flohmarkt/archive/0.6.1.tar.gz"
+    sha256 = "e52dc810c8f0da130979c811fa44f5b5545e4ecf57885af97aae66fd08e81094"
 
     # These infos are used by https://github.com/YunoHost/apps/blob/master/tools/autoupdate_app_sources/autoupdate_app_sources.py
     # to auto-update the previous asset urls and sha256sum + manifest version

+ 8 - 0
sources/patches/main-requirements-pydantic-2.patch

@@ -0,0 +1,8 @@
+diff -ruN app.orig/requirements.txt app/requirements.txt 
+--- app.orig/requirements.txt	2024-09-28 22:14:58.000000000 +0200
++++ app/requirements.txt	2024-12-20 10:16:37.130864077 +0100
+@@ -1,3 +1,4 @@
++pydantic >= 2.0.0
+ fastapi >= 0.110.2, == 0.*
+ PyJWT >= 2.8.0, == 2.*
+ aiohttp >= 3.9.5, == 3.*