Compare commits

..

4 Commits

Author SHA1 Message Date
renovate da15e410d8 fix(deps): update module github.com/wneessen/go-mail to v0.4.1
continuous-integration/drone/pr Build is failing Details
2024-02-17 13:06:32 +00:00
kolaente 32edef2d38
fix(editor): set default id of tasklist items
continuous-integration/drone/push Build is passing Details
This fixes a bug where all tasklist items would have the same id which would check all of them when checking one of them.
2024-02-17 11:38:20 +01:00
renovate 44c1f0d281 chore(deps): update pnpm to v8.15.3
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is failing Details
2024-02-15 11:07:31 +00:00
kolaente 2dab2ccedd
feat: allow using sqlite in memory database
continuous-integration/drone/push Build is failing Details
This allows running vikunja for testing purposes. You almost never want to run this in production.
2024-02-15 10:48:48 +01:00
3 changed files with 6 additions and 2 deletions

View File

@ -13,7 +13,7 @@
},
"homepage": "https://vikunja.io/",
"funding": "https://opencollective.com/vikunja",
"packageManager": "pnpm@8.15.2",
"packageManager": "pnpm@8.15.3",
"keywords": [
"todo",
"productivity",

View File

@ -394,7 +394,7 @@ const editor = useEditor({
return {
...this.parent?.(),
id: {
default: createRandomID,
default: () => createRandomID(),
parseHTML: element => element.getAttribute('data-id'),
renderHTML: attributes => ({
'data-id': attributes.id,

View File

@ -179,6 +179,10 @@ func initSqliteEngine() (engine *xorm.Engine, err error) {
path = "./db.db"
}
if path == "memory" {
return xorm.NewEngine("sqlite3", "file::memory:?cache=shared")
}
// Try opening the db file to return a better error message if that does not work
var exists = true
if _, err := os.Stat(path); err != nil {