Skip to content

Commit

Permalink
update README and docs, apply new dumpAll output
Browse files Browse the repository at this point in the history
  • Loading branch information
krustowski committed Sep 11, 2024
1 parent 9633bfc commit dc7507a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
#

APP_NAME=littr
APP_VERSION=0.39.28
APP_VERSION=0.40.0
GOLANG_VERSION=1.23
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,13 @@ Successfully copied 3.07kB to /home/user/littr/run_data/
+ write integration and e2e tests
+ [...]

### roadmap to v0.41
+ user activation via mail

### roadmap to v0.40
+ ~~convert GIFs to WebPs~~
+ ~~e-mail duplicity check for registration~~
+ user activation via mail
+ ~~introduce the hideReplies feature~~

### roadmap to v0.39
+ ~~fix avatar image uploading, resizing and cropping~~
Expand Down
2 changes: 1 addition & 1 deletion api/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"name": "MIT",
"url": "https://github.com/krustowski/littr/blob/master/LICENSE"
},
"version": "0.39.28"
"version": "0.40.0"
},
"host": "www.littr.eu",
"basePath": "/api/v1",
Expand Down
5 changes: 4 additions & 1 deletion cmd/littr/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ func initServer() {

// load up data from local dumps (/opt/data/)
// TODO: catch an error there!
db.LoadAll()
loadReport := db.LoadAll()
l.Println(loadReport, http.StatusOK)

l.Println("dumped data loaded", http.StatusOK)

Expand Down Expand Up @@ -156,12 +157,14 @@ func initServer() {
},
AutoUpdateInterval: time.Minute * 1,
Icon: app.Icon{
//Maskable: "/web/android-chrome-192x192.png",
Default: "/web/android-chrome-192x192.png",
SVG: "/web/android-chrome-512x512.svg",
Large: "/web/android-chrome-512x512.png",
AppleTouch: "/web/apple-touch-icon.png",
},
Image: "/web/android-chrome-512x512.svg",
//Domain: "www.littr.eu",
Body: func() app.HTMLBody {
return app.Body().Class("dark")
},
Expand Down
2 changes: 2 additions & 0 deletions configs/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ var UserDeletionList []string = []string{
"passphrase",
"user",
"nickname",
"test",
"tester",
}

// This array is used in a procedure's loop to manually unshade listed users.
Expand Down
2 changes: 1 addition & 1 deletion pkg/backend/router.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// @title littr
// @version 0.39.28
// @version 0.40.0
// @description a simple nanoblogging platform as PWA built on go-app framework
// @termsOfService https://littr.eu/tos

Expand Down

0 comments on commit dc7507a

Please sign in to comment.