Commit graph

2943 commits

Author SHA1 Message Date
RoccoSmit
bfe57b9202
chore: set max thumbnail width to home/explore image max width (#3852)
* Set max thumbnail width to timeline img max width

* Prevent images less than thumbnail size from being scaled up

* Apply suggestions from code review

---------

Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
2024-08-31 03:37:07 +08:00
aqyuki
0156c7e11f
perf: reduce image size by 21.3MB (#3849)
- Change base image to distroless (static-debian12)
- Remove unnecessary RUN instructions
- Add build options
  - add options to delete debug information
  - add options to remobe embedded paths
2024-08-30 19:36:34 +08:00
Steven
960af444fa chore: fix linter 2024-08-30 08:25:06 +08:00
Steven
20570fc771 refactor: resource thumbnail 2024-08-30 08:09:07 +08:00
RoccoSmit
9b1adfbbe9
feat: reintroducing thumbnails (#3821)
* Reintroducing thumbnails

* Aligned with linting rules

* making recomended code review change
- changed method names to start with lower case as they are not used outside of their package
- made receiver types for struct funcs to be pointers to not need to create copies

Trying to cover all linting issues
- converted slog warning to use attributes when logging warnings
- seperated imports to have package files in their own section

* Update go.mod

---------

Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
2024-08-29 21:01:57 +08:00
Steven
615aa94793 fix: base path of migrator 2024-08-29 20:40:50 +08:00
Steven
710961d336 chore: fix text color in dark mode 2024-08-29 20:39:24 +08:00
Steven
bb86482b71 chore: tweak setting name 2024-08-29 08:28:11 +08:00
Steven
f0abd792c7 chore: update auth service 2024-08-29 00:06:15 +08:00
Steven
1167df29d8 feat: add security related settings 2024-08-28 23:46:06 +08:00
Steven
4e5810e205 chore: update workspace setting section 2024-08-28 23:29:30 +08:00
Steven
a8ea28066e chore: retire export memos 2024-08-28 23:20:32 +08:00
Steven
9bea6e1eea chore: go mod tidy 2024-08-28 22:56:17 +08:00
Michel Heusschen
2dbf92f7f1
perf: reduce bundle size by 21% with direct icon imports (#3844) 2024-08-28 22:55:28 +08:00
Steven
d11bd30ec6 chore: tweak logger 2024-08-28 22:53:57 +08:00
Steven
de980fb7d7 chore: update setting display name 2024-08-28 22:44:13 +08:00
Steven
cce92f513c chore: tweak readme 2024-08-27 23:44:03 +08:00
Steven
7134ad4883 chore: fix migration history 2024-08-27 09:20:23 +08:00
Steven
fbdfaf85d9 chore: update migrator 2024-08-26 22:50:46 +08:00
Steven
ccd3fdcd38 chore: fix tests 2024-08-26 08:59:35 +08:00
Steven
70837f88cb chore: fix linter 2024-08-26 08:47:29 +08:00
Steven
525223c261 chore: add tests for migrator 2024-08-26 08:41:26 +08:00
Steven
96b9269cd3 chore: fix golangci linter 2024-08-24 22:38:22 +08:00
Steven
80f9b5b861 chore: fix golangci linter 2024-08-24 22:30:41 +08:00
Steven
fb23f43431 chore: update golangci config 2024-08-24 20:39:46 +08:00
RoccoSmit
eca9649be3
fix: cancel removes memo cache (#3826)
Clear local storage record of memo changes if chanes to a memo are cancelled
2024-08-24 06:48:16 +08:00
Steven
5f35ac5ca0 chore: update frontend dependencies 2024-08-22 23:38:11 +08:00
Steven
b376a20fb4 chore: tweak linter warnings 2024-08-20 08:25:34 +08:00
Steven
2999f472dd chore: fix typo 2024-08-20 08:17:27 +08:00
Steven
45ddd05c42 chore: tweak linter warning 2024-08-20 08:13:52 +08:00
Steven
d1280bc04f chore: implement memo property runner 2024-08-20 08:07:48 +08:00
Steven
f4d6675363 chore: add enable memo comment setting 2024-08-19 09:13:44 +08:00
Steven
3c5aa41a78 feat: implement week start day setting 2024-08-18 23:18:45 +08:00
Steven
06c460b476 chore: tweak linter warning 2024-08-16 08:15:59 +08:00
Steven
07012e3f60 chore: remove unused files 2024-08-16 08:14:02 +08:00
Steven
1b6685d7cf chore: tweak linter warning 2024-08-16 08:12:09 +08:00
Steven
710d1b304e chore: update dev mode 2024-08-16 08:08:26 +08:00
Steven
6e901fc940 refactor: store migrator 2024-08-16 08:07:30 +08:00
Steven
1ae3afc0ba chore: tweak memo relation popover 2024-08-14 23:15:04 +08:00
Jakub Wołynko
18db78172c
feat: add translation for collapse/expand button and update polish locale (#3811)
add: collapse, expand, polish locale
2024-08-14 18:02:02 +08:00
Steven
aae3e8ae64 chore: update memo property checks 2024-08-13 23:29:40 +08:00
Steven
506d2ed8ca chore: tweak menu style 2024-08-13 23:28:02 +08:00
Steven
c3f381c8c5 chore: add instance url to profile 2024-08-13 22:16:43 +08:00
Steven
9a27fdf855 chore: tweak load more button 2024-08-12 23:52:23 +08:00
Steven
fc2cd43dc2 chore: tweak util tests 2024-08-12 23:44:04 +08:00
Mykal Machon
c0826c43b0
fix: explicitly disabling autocapitalize and spellcheck (#3797)
fix #3747: removing autocapitalize and spellcheck
2024-08-12 12:24:37 +08:00
Steven
724db203f7 chore: tweak seed data 2024-08-08 23:45:26 +08:00
Steven
04b4fa1d02 chore: tweak icon button container 2024-08-07 22:56:47 +08:00
Steven
61b8cee31d chore: retire preview markdown dialog 2024-08-07 22:48:16 +08:00
Steven
4ad6028681 refactor: use popover instead of dialog for memo relations 2024-08-07 22:44:39 +08:00