diff --git a/project.clj b/project.clj index 3af100b..0fb4b39 100644 --- a/project.clj +++ b/project.clj @@ -1,38 +1,45 @@ +;;; We need to allow http connections because some dependencies are fetched +;;; over http instead of https. See here for more detail: +;;; https://github.com/technomancy/leiningen/blob/master/doc/FAQ.md +(require 'cemerick.pomegranate.aether) +(cemerick.pomegranate.aether/register-wagon-factory! + "http" #(org.apache.maven.wagon.providers.http.HttpWagon.)) + (defproject yenu "1.0.1" :description "yenu -- The image sharing tool for friends" :url "https://yenu.de/" :dependencies [[bouncer "1.0.1"] - [compojure "1.6.1"] - [conman "0.7.8"] - [cprop "0.1.11"] - [luminus-immutant "0.2.4"] - [luminus-migrations "0.5.0"] - [luminus-nrepl "0.1.4"] - [metosin/ring-http-response "0.9.0"] - [mount "0.1.12"] - [org.clojure/clojure "1.9.0"] - [org.clojure/tools.cli "0.3.5"] - [org.clojure/tools.logging "0.4.0"] - [org.webjars/jquery "3.3.1"] - [org.webjars/bootstrap "4.1.0"] + [compojure "1.6.2"] + [conman "0.9.1"] + [cprop "0.1.18"] + [luminus-immutant "0.2.5"] + [luminus-migrations "0.7.1"] + [luminus-nrepl "0.1.7"] + [metosin/ring-http-response "0.9.2"] + [mount "0.1.16"] + [clojure.java-time "0.3.2"] + [org.clojure/clojure "1.10.3"] + [org.clojure/tools.cli "1.0.206"] + [org.clojure/tools.logging "1.1.0"] + [org.webjars/jquery "3.6.0"] + [org.webjars/bootstrap "5.0.1"] [org.webjars/webjars-locator-jboss-vfs "0.1.0"] - [org.webjars.bower/tether "1.4.3"] + [org.webjars.bower/tether "1.4.7"] [org.webjars.bower/font-awesome "4.7.0"] - [org.xerial/sqlite-jdbc "3.21.0"] + [org.xerial/sqlite-jdbc "3.36.0"] [ring-webjars "0.2.0"] - [ring-middleware-format "0.7.2"] - [ring/ring-core "1.6.3"] - [ring/ring-defaults "0.3.1"] - [selmer "1.11.7"] + [ring-middleware-format "0.7.4"] + [ring/ring-core "1.9.3"] + [ring/ring-defaults "0.3.3"] + [selmer "1.12.44"] [hiccup "1.0.5"] [image-resizer "0.1.10"] [me.raynes/fs "1.4.6"] ;; R.I.P. Anthony! - [digest "1.4.8"] - [markdown-clj "1.0.2"] + [digest "1.4.10"] + [markdown-clj "1.10.5"] [clj-exif-orientation "0.2.1"] - [clj-time "0.14.3"] - [buddy/buddy-auth "2.1.0"]] + [buddy/buddy-auth "3.0.1"]] :min-lein-version "2.0.0" @@ -43,11 +50,11 @@ :main yenu.core :migratus {:store :database :db ~(get (System/getenv) "DATABASE_URL")} - :plugins [[lein-cprop "1.0.1"] - [migratus-lein "0.4.3"] + :plugins [[lein-cprop "1.0.3"] + [migratus-lein "0.7.3"] [lein-immutant "2.1.0"] - [lein-sassc "0.10.4"] - [lein-auto "0.1.2"]] + [lein-sassc "0.10.5"] + [lein-auto "0.1.3"]] :sassc [{:src "resources/scss/screen.scss" :output-to "resources/public/css/screen.css" diff --git a/resources/templates/admin/upload.html b/resources/templates/admin/upload.html index 44cabe5..7e8d360 100644 --- a/resources/templates/admin/upload.html +++ b/resources/templates/admin/upload.html @@ -2,51 +2,49 @@ {% block content %} {% if image %} -
Hier kann ein bestehendes Bild bearbeitet werden. Das Bild selbst kann nicht - verändert werden (hierzu muss das Bild gelöscht und neu angelegt werden)
+Edit an image metadata. To change the image itself, you need to delete and add a new one.
{% else %} -Hier kann ein neues Bild der Gallerie hinzugefügt werden. Dabei sind alle - gängigen Bildformate und Auflösungen möglich. Das hochgeladene Bild wird - zugeschnitten (Thumbnail) und skaliert (Detailseite).
+Here you can add a new image to the gallery. You can use all common image types. The uploaded + image will be cropped (Thumbnail) and resized (detail image).
{% endif %}