diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 1254a84a63..d0d0ea12b0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -38,13 +38,13 @@ If applicable, add screenshots to help explain your problem. - Version (e.g. 22) **Environment (please complete the following information):** -Specify if using demo instance or self-hosted instance. +Specify if using SAAS (https://design.penpot.app) or self-hosted instance. If self-hosted instance, add OS and runtime information to help explain your problem. - OS Version: (e.g. Ubuntu 16.04) -Also provide Docker commands or docker-compose file if possible. +Also provide Docker commands or docker-compose file if possible and if proceed.x - Docker / Docker-compose Version: (e.g. Docker version 18.03.0-ce, build 0520e24) - Image (e.g. alpine) diff --git a/CHANGES.md b/CHANGES.md index a9ef44e59e..a1e53635be 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,15 +1,60 @@ # CHANGELOG # -## Next +## :rocket: Next -### New features +### :sparkles: New features -### Bugs fixed +### :bug: Bugs fixed + +### :heart: Community contributions by (Thank you!) + + +## 1.3.0-alpha + +### :sparkles: New features + +- Add emailcatcher and ldap test containers to devenv. [#506](https://github.com/penpot/penpot/pull/506) +- Add major refactor of internal pubsub/redis code; improves scalability and performance [#640](https://github.com/penpot/penpot/pull/640) +- Add more chinese transtions [#687](https://github.com/penpot/penpot/pull/687) +- Add more presets for artboard [#654](https://github.com/penpot/penpot/pull/654) +- Add optional loki integration [#645](https://github.com/penpot/penpot/pull/645) +- Add proper http session lifecycle handling. +- Allow to set border radius of each rect corner individually +- Bounce & Complaint handling [#635](https://github.com/penpot/penpot/pull/635) +- Disable groups interactions when holding "Ctrl" key (deep selection) +- New action in context menu to "edit" some shapes (binded to key "Enter") + + +### :bug: Bugs fixed + +- Add more improvements to french translation strings [#591](https://github.com/penpot/penpot/pull/591) +- Add some missing database indexes (mainly improves performance on large databases on file-update rpc method, and some background tasks). +- Disables filters in masking elements (problem with Firefox rendering) +- Drawing tool will have priority over resize/rotate handlers [Taiga #1225](https://tree.taiga.io/project/penpot/issue/1225) +- Fix broken bounding box on editing paths [Taiga #1254](https://tree.taiga.io/project/penpot/issue/1254) +- Fix corner cases on invitation/signup flows. +- Fix errors on onboarding file [Taiga #1287](https://tree.taiga.io/project/penpot/issue/1287) +- Fix infinite recursion on logout. +- Fix issues with frame selection [Taiga #1300](https://tree.taiga.io/project/penpot/issue/1300), [Taiga #1255](https://tree.taiga.io/project/penpot/issue/1255) +- Fix local fonts error [#691](https://github.com/penpot/penpot/issues/691) +- Fix problem width handoff code generation [Taiga #1204](https://tree.taiga.io/project/penpot/issue/1204) +- Fix problem with indices refreshing on page changes [#646](https://github.com/penpot/penpot/issues/646) +- Have language change notification written in the new language [Taiga #1205](https://tree.taiga.io/project/penpot/issue/1205) +- Hide register screen when registration is disabled [#598](https://github.com/penpot/penpot/issues/598) +- Properly handle errors on github, gitlab and ldap auth backends. +- Properly mark profile auth backend (on first register/ auth with 3rd party auth provider). +- Refactor LDAP auth backend. + + +### :heart: Community contributions by (Thank you!) + +- girafic [#538](https://github.com/penpot/penpot/pull/654) +- arkhi [#591](https://github.com/penpot/penpot/pull/591) ## 1.2.0-alpha -### New features +### :sparkles: New features - Add horizontal/vertical flip - Add images lock proportions by default [#541](https://github.com/penpot/penpot/discussions/541), [#609](https://github.com/penpot/penpot/issues/609) @@ -22,7 +67,7 @@ - Fix behavior of select all command when there are objects outside frames [Taiga #1209](https://tree.taiga.io/project/penpot/issue/1209) -### Bugs fixed +### :bug: Bugs fixed - Fix 404 when access shared link [#615](https://github.com/penpot/penpot/issues/615) - Fix 500 when requestion password reset @@ -42,7 +87,7 @@ - Fix updates on collaborative editing not updating selection rectangles [Taiga #1127](https://tree.taiga.io/project/penpot/issue/1127) - Make the team deletion deferred (in the same way other objects) -### Community contributions by (Thank you! :heart:) +### :heart: Community contributions by (Thank you!) - abtinmo [#538](https://github.com/penpot/penpot/pull/538) - kdrag0n [#585](https://github.com/penpot/penpot/pull/585) diff --git a/backend/deps.edn b/backend/deps.edn index c178b10a89..c4cd8b435e 100644 --- a/backend/deps.edn +++ b/backend/deps.edn @@ -7,6 +7,7 @@ org.clojure/clojurescript {:mvn/version "1.10.773"} org.clojure/data.json {:mvn/version "1.0.0"} org.clojure/core.async {:mvn/version "1.3.610"} + org.clojure/tools.cli {:mvn/version "1.0.194"} ;; Logging org.clojure/tools.logging {:mvn/version "1.1.0"} @@ -16,6 +17,8 @@ org.apache.logging.log4j/log4j-jul {:mvn/version "2.14.0"} org.apache.logging.log4j/log4j-slf4j-impl {:mvn/version "2.14.0"} org.slf4j/slf4j-api {:mvn/version "1.7.30"} + org.zeromq/jeromq {:mvn/version "0.5.2"} + org.graalvm.js/js {:mvn/version "20.3.0"} com.taoensso/nippy {:mvn/version "3.1.1"} @@ -32,7 +35,7 @@ expound/expound {:mvn/version "0.8.7"} com.cognitect/transit-clj {:mvn/version "1.0.324"} - io.lettuce/lettuce-core {:mvn/version "5.2.2.RELEASE"} + io.lettuce/lettuce-core {:mvn/version "6.0.2.RELEASE"} java-http-clj/java-http-clj {:mvn/version "0.4.1"} info.sunng/ring-jetty9-adapter {:mvn/version "0.14.2"} @@ -43,7 +46,6 @@ org.postgresql/postgresql {:mvn/version "42.2.18"} com.zaxxer/HikariCP {:mvn/version "3.4.5"} - funcool/log4j2-clojure {:mvn/version "2020.11.23-1"} funcool/datoteka {:mvn/version "1.2.0"} funcool/promesa {:mvn/version "6.0.0"} funcool/cuerdas {:mvn/version "2020.03.26-3"} diff --git a/backend/dev/user.clj b/backend/dev/user.clj index 6e66cd6c17..5b861a9fac 100644 --- a/backend/dev/user.clj +++ b/backend/dev/user.clj @@ -9,24 +9,24 @@ (ns user (:require + [app.common.exceptions :as ex] [app.config :as cfg] [app.main :as main] [app.util.time :as dt] [app.util.transit :as t] - [app.common.exceptions :as ex] - [taoensso.nippy :as nippy] - [clojure.data.json :as json] + [app.util.json :as json] [clojure.java.io :as io] - [clojure.test :as test] [clojure.pprint :refer [pprint]] [clojure.repl :refer :all] [clojure.spec.alpha :as s] [clojure.spec.gen.alpha :as sgen] [clojure.test :as test] + [clojure.test :as test] [clojure.tools.namespace.repl :as repl] [clojure.walk :refer [macroexpand-all]] [criterium.core :refer [quick-bench bench with-progress-reporting]] - [integrant.core :as ig])) + [integrant.core :as ig] + [taoensso.nippy :as nippy])) (repl/disable-reload! (find-ns 'integrant.core)) diff --git a/backend/resources/emails/feedback/en.subj b/backend/resources/emails/feedback/en.subj index 2ecd8c0c4f..7f1c38c4b0 100644 --- a/backend/resources/emails/feedback/en.subj +++ b/backend/resources/emails/feedback/en.subj @@ -1 +1 @@ -[FEEDBACK]: From {{ profile.email }} +[PENPOT FEEDBACK]: {{subject|abbreviate:19}} (from {{email}}) diff --git a/backend/resources/emails/feedback/en.txt b/backend/resources/emails/feedback/en.txt index f6e602a199..a60d380c8e 100644 --- a/backend/resources/emails/feedback/en.txt +++ b/backend/resources/emails/feedback/en.txt @@ -1,6 +1,8 @@ -Feedback from: {{profile.fullname}} <{{profile.email}}> - -Profile ID: {{profile.id}} +{% if profile %} +Feedback profile: {{profile.fullname}} <{{profile.email}}> / {{profile.id}} +{% else %} +Feedback from: {{email}} +{% endif %} Subject: {{subject}} diff --git a/backend/resources/error-report.tmpl b/backend/resources/error-report.tmpl index 3a420a60cb..a04f0df6b0 100644 --- a/backend/resources/error-report.tmpl +++ b/backend/resources/error-report.tmpl @@ -31,7 +31,7 @@ .table-key { font-weight: 600; - width: 70px; + width: 60px; padding: 4px; } @@ -70,27 +70,43 @@ {% if user-agent %}
{{params}}
@@ -133,7 +163,7 @@
{% endif %}
{% if explain %}
- {{explain}}
@@ -142,7 +172,7 @@
{% endif %}
{% if data %}
- {{data}}
@@ -150,12 +180,14 @@
{{message}}
+ {{error.trace}}