Skip to content

Commit dc7507a

Browse files
committedSep 11, 2024·
update README and docs, apply new dumpAll output
1 parent 9633bfc commit dc7507a

File tree

6 files changed

+13
-5
lines changed

6 files changed

+13
-5
lines changed
 

‎.env.example

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
#
44

55
APP_NAME=littr
6-
APP_VERSION=0.39.28
6+
APP_VERSION=0.40.0
77
GOLANG_VERSION=1.23

‎README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,13 @@ Successfully copied 3.07kB to /home/user/littr/run_data/
171171
+ write integration and e2e tests
172172
+ [...]
173173

174+
### roadmap to v0.41
175+
+ user activation via mail
176+
174177
### roadmap to v0.40
175178
+ ~~convert GIFs to WebPs~~
176179
+ ~~e-mail duplicity check for registration~~
177-
+ user activation via mail
180+
+ ~~introduce the hideReplies feature~~
178181

179182
### roadmap to v0.39
180183
+ ~~fix avatar image uploading, resizing and cropping~~

‎api/swagger.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"name": "MIT",
1414
"url": "https://github.com/krustowski/littr/blob/master/LICENSE"
1515
},
16-
"version": "0.39.28"
16+
"version": "0.40.0"
1717
},
1818
"host": "www.littr.eu",
1919
"basePath": "/api/v1",

‎cmd/littr/http_server.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ func initServer() {
9696

9797
// load up data from local dumps (/opt/data/)
9898
// TODO: catch an error there!
99-
db.LoadAll()
99+
loadReport := db.LoadAll()
100+
l.Println(loadReport, http.StatusOK)
100101

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

@@ -156,12 +157,14 @@ func initServer() {
156157
},
157158
AutoUpdateInterval: time.Minute * 1,
158159
Icon: app.Icon{
160+
//Maskable: "/web/android-chrome-192x192.png",
159161
Default: "/web/android-chrome-192x192.png",
160162
SVG: "/web/android-chrome-512x512.svg",
161163
Large: "/web/android-chrome-512x512.png",
162164
AppleTouch: "/web/apple-touch-icon.png",
163165
},
164166
Image: "/web/android-chrome-512x512.svg",
167+
//Domain: "www.littr.eu",
165168
Body: func() app.HTMLBody {
166169
return app.Body().Class("dark")
167170
},

‎configs/backend.go

+2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ var UserDeletionList []string = []string{
5252
"passphrase",
5353
"user",
5454
"nickname",
55+
"test",
56+
"tester",
5557
}
5658

5759
// This array is used in a procedure's loop to manually unshade listed users.

‎pkg/backend/router.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// @title littr
2-
// @version 0.39.28
2+
// @version 0.40.0
33
// @description a simple nanoblogging platform as PWA built on go-app framework
44
// @termsOfService https://littr.eu/tos
55

0 commit comments

Comments
 (0)
Please sign in to comment.