flatnotes.git
19 months agoMerge pull request #182 from dullage/develop
Adam Dullage [Wed, 24 Apr 2024 20:43:52 +0000 (21:43 +0100)]
Merge pull request #182 from dullage/develop

Merge develop into client-refactor

19 months agoRe-lock pipfile on Linux
Adam Dullage [Wed, 24 Apr 2024 20:33:09 +0000 (20:33 +0000)]
Re-lock pipfile on Linux

19 months agoAdded devcontainer config
Adam Dullage [Wed, 24 Apr 2024 20:25:23 +0000 (20:25 +0000)]
Added devcontainer config

19 months ago4.0.4
Adam Dullage [Wed, 24 Apr 2024 07:28:46 +0000 (08:28 +0100)]
4.0.4

19 months agoMerge pull request #179 from Code-Otto/trimmed-docker
Adam Dullage [Wed, 24 Apr 2024 07:20:45 +0000 (08:20 +0100)]
Merge pull request #179 from Code-Otto/trimmed-docker

19 months agoButtons & Breakpoints
Adam Dullage [Tue, 23 Apr 2024 20:36:10 +0000 (21:36 +0100)]
Buttons & Breakpoints

19 months agoInstall prettier-plugin-tailwindcss and pin versions
Adam Dullage [Tue, 23 Apr 2024 20:35:12 +0000 (21:35 +0100)]
Install prettier-plugin-tailwindcss and pin versions

19 months agoNavBar and Logo
Adam Dullage [Tue, 23 Apr 2024 19:40:48 +0000 (20:40 +0100)]
NavBar and Logo

19 months agoTheming
Adam Dullage [Tue, 23 Apr 2024 19:16:05 +0000 (20:16 +0100)]
Theming

19 months agoEntrypoint script fix for updated Flatnotes installs
Code-Otto [Tue, 23 Apr 2024 17:32:29 +0000 (19:32 +0200)]
Entrypoint script fix for updated Flatnotes installs

19 months agotailwindcss
Adam Dullage [Tue, 23 Apr 2024 11:51:23 +0000 (12:51 +0100)]
tailwindcss

19 months agoVue 3
Adam Dullage [Tue, 23 Apr 2024 07:19:47 +0000 (08:19 +0100)]
Vue 3

19 months agoAdded FLATNOTES_PORT env var
Adam Dullage [Fri, 19 Apr 2024 11:58:39 +0000 (12:58 +0100)]
Added FLATNOTES_PORT env var

19 months agoParcel > Vite
Adam Dullage [Wed, 17 Apr 2024 20:33:57 +0000 (21:33 +0100)]
Parcel > Vite

19 months ago4.0.3
Adam Dullage [Wed, 17 Apr 2024 16:47:21 +0000 (17:47 +0100)]
4.0.3

20 months agoMerge pull request #171 from Code-Otto/trimmed-docker
Adam Dullage [Sat, 13 Apr 2024 19:01:12 +0000 (20:01 +0100)]
Merge pull request #171 from Code-Otto/trimmed-docker

Reduce size of Docker image and add an experimental Dockerfile

20 months agoMove the new Dockerfile to Dockerfile.experimental
Code-Otto [Fri, 12 Apr 2024 15:35:19 +0000 (17:35 +0200)]
Move the new Dockerfile to Dockerfile.experimental

 - Moved new Dockerfile to Dockerfile.experimental
 - Restored previous Dockerfile and added pip/pipenv cache cleanup
 - Dockerfile can now choose between su-exec/gosu via an environment variable

20 months agoBump JS dependencies
Adam Dullage [Fri, 12 Apr 2024 07:14:00 +0000 (08:14 +0100)]
Bump JS dependencies

20 months agoBump and pin Python dependencies
Adam Dullage [Thu, 11 Apr 2024 11:50:47 +0000 (12:50 +0100)]
Bump and pin Python dependencies

20 months agoDockerfile fixes for arm64 and armv6/7 compatibility
Code-Otto [Thu, 28 Mar 2024 00:30:06 +0000 (01:30 +0100)]
Dockerfile fixes for arm64 and armv6/7 compatibility

- pipenv installation moved to a separate build stage
- Added build tools for pipenv to sucessfully compile from sources

20 months agoDocker image size reduction
Code-Otto [Tue, 26 Mar 2024 19:48:58 +0000 (20:48 +0100)]
Docker image size reduction

- Use the python:3.11-alpine3.19 image as runtime container base
- Replace gosu with su-exec
- Clean pip and pipenv package cache

21 months agoAdded sponsorship message to entrypoint script.
Adam Dullage [Sun, 18 Feb 2024 11:07:50 +0000 (11:07 +0000)]
Added sponsorship message to entrypoint script.

21 months agoRemoved v3.x breaking changes warning.
Adam Dullage [Sun, 18 Feb 2024 10:33:36 +0000 (10:33 +0000)]
Removed v3.x breaking changes warning.

21 months agoAdded /health endpoint, Docker HEALTHCHECK and improved access log formatting.
Adam Dullage [Sun, 18 Feb 2024 10:31:54 +0000 (10:31 +0000)]
Added /health endpoint, Docker HEALTHCHECK and improved access log formatting.

22 months ago4.0.2
Adam Dullage [Thu, 8 Feb 2024 16:26:54 +0000 (16:26 +0000)]
4.0.2

22 months agoAdd missing reference to 'parent'.
Adam Dullage [Thu, 8 Feb 2024 15:01:58 +0000 (15:01 +0000)]
Add missing reference to 'parent'.

22 months ago4.0.1
Adam Dullage [Thu, 8 Feb 2024 13:03:51 +0000 (13:03 +0000)]
4.0.1

22 months agoFixed entity too large toast.
Adam Dullage [Thu, 8 Feb 2024 13:03:17 +0000 (13:03 +0000)]
Fixed entity too large toast.

22 months ago4.0.0
Adam Dullage [Thu, 8 Feb 2024 12:52:53 +0000 (12:52 +0000)]
4.0.0

22 months agoAdd GET /api/attachments endpoint.
Adam Dullage [Tue, 6 Feb 2024 19:34:46 +0000 (19:34 +0000)]
Add GET /api/attachments endpoint.

22 months agoFixed issue preventing password auth type from being used.
Adam Dullage [Tue, 6 Feb 2024 19:34:19 +0000 (19:34 +0000)]
Fixed issue preventing password auth type from being used.

22 months agoMove filename and URL decisions to the server. Resolves #153.
Adam Dullage [Tue, 6 Feb 2024 13:51:34 +0000 (13:51 +0000)]
Move filename and URL decisions to the server. Resolves #153.

22 months agoFix bug when searching for phrases. Resolves #152.
Adam Dullage [Mon, 5 Feb 2024 21:25:35 +0000 (21:25 +0000)]
Fix bug when searching for phrases. Resolves #152.

22 months agoCentralised toast messaging.
Adam Dullage [Mon, 5 Feb 2024 20:50:05 +0000 (20:50 +0000)]
Centralised toast messaging.

22 months agoAdded "Entity too large" failure toast.
Adam Dullage [Mon, 5 Feb 2024 13:20:02 +0000 (13:20 +0000)]
Added "Entity too large" failure toast.

22 months agoFix "Incorrect login credentials" message.
Adam Dullage [Mon, 5 Feb 2024 13:05:46 +0000 (13:05 +0000)]
Fix "Incorrect login credentials" message.

22 months agoMerge branch 'refactor' into develop
Adam Dullage [Sun, 4 Feb 2024 16:11:47 +0000 (16:11 +0000)]
Merge branch 'refactor' into develop

22 months agoFormatting
Adam Dullage [Sun, 4 Feb 2024 16:07:00 +0000 (16:07 +0000)]
Formatting

22 months agoRefactor
Adam Dullage [Sun, 4 Feb 2024 16:04:49 +0000 (16:04 +0000)]
Refactor

23 months agoBundle Poppins font
Adam Dullage [Thu, 21 Dec 2023 12:46:54 +0000 (12:46 +0000)]
Bundle Poppins font

2 years agoSeparate server and client code
Adam Dullage [Tue, 12 Dec 2023 18:28:20 +0000 (18:28 +0000)]
Separate server and client code

2 years agoFix bullet point alignment
Adam Dullage [Mon, 11 Dec 2023 15:49:34 +0000 (15:49 +0000)]
Fix bullet point alignment

2 years agoFix menu icon alignment
Adam Dullage [Sat, 9 Dec 2023 15:15:19 +0000 (15:15 +0000)]
Fix menu icon alignment

2 years ago3.6.1
Adam Dullage [Thu, 7 Dec 2023 08:30:04 +0000 (08:30 +0000)]
3.6.1

2 years agoAdded maskable purpose to icons in webmanifest
Adam Dullage [Thu, 7 Dec 2023 08:28:45 +0000 (08:28 +0000)]
Added maskable purpose to icons in webmanifest

2 years agoAdded wikilink support to README feature list
Adam Dullage [Tue, 5 Dec 2023 13:00:59 +0000 (13:00 +0000)]
Added wikilink support to README feature list

2 years ago3.6.0
Adam Dullage [Tue, 5 Dec 2023 12:39:13 +0000 (12:39 +0000)]
3.6.0

2 years agoRemove top margin from first-of-type headers
Adam Dullage [Sun, 3 Dec 2023 22:07:09 +0000 (22:07 +0000)]
Remove top margin from first-of-type headers

2 years agoAdded hr under title
Adam Dullage [Sun, 3 Dec 2023 22:04:36 +0000 (22:04 +0000)]
Added hr under title

2 years agoChanged font-family to Poppins
Adam Dullage [Sun, 3 Dec 2023 18:14:02 +0000 (18:14 +0000)]
Changed font-family to Poppins

2 years agoResolve odd text shadow using dark themed code blocks in the WYSIWYG editor
Adam Dullage [Wed, 29 Nov 2023 21:33:05 +0000 (21:33 +0000)]
Resolve odd text shadow using dark themed code blocks in the WYSIWYG editor

2 years agoDecrease title margin on smaller screens
Adam Dullage [Wed, 29 Nov 2023 08:23:51 +0000 (08:23 +0000)]
Decrease title margin on smaller screens

2 years agoReplace calculated height on .ProseMirror
Adam Dullage [Wed, 29 Nov 2023 08:12:18 +0000 (08:12 +0000)]
Replace calculated height on .ProseMirror

2 years agoFixed inconsistent padding in preview mode
Adam Dullage [Tue, 28 Nov 2023 21:25:52 +0000 (21:25 +0000)]
Fixed inconsistent padding in preview mode

2 years agoAdded separation between note header and content
Adam Dullage [Tue, 28 Nov 2023 17:05:54 +0000 (17:05 +0000)]
Added separation between note header and content

2 years agoIncreased font weight
Adam Dullage [Tue, 28 Nov 2023 17:02:59 +0000 (17:02 +0000)]
Increased font weight

2 years agoAdjusted header line-height
Adam Dullage [Tue, 28 Nov 2023 08:27:50 +0000 (08:27 +0000)]
Adjusted header line-height

2 years agoSwapped explicit font sizes to rem values
Adam Dullage [Tue, 28 Nov 2023 08:20:33 +0000 (08:20 +0000)]
Swapped explicit font sizes to rem values

2 years agoUpdate font to Noto Sans
Adam Dullage [Tue, 28 Nov 2023 08:14:36 +0000 (08:14 +0000)]
Update font to Noto Sans

2 years agoReduced heading font-size
Adam Dullage [Mon, 27 Nov 2023 15:21:34 +0000 (15:21 +0000)]
Reduced heading font-size

2 years agoReverse note title flex wrap
Adam Dullage [Mon, 27 Nov 2023 12:54:06 +0000 (12:54 +0000)]
Reverse note title flex wrap

2 years agoTypography
Adam Dullage [Mon, 27 Nov 2023 12:47:49 +0000 (12:47 +0000)]
Typography

2 years agoUsed elevated bg in dark theme code blocks
Adam Dullage [Sat, 25 Nov 2023 16:01:19 +0000 (16:01 +0000)]
Used elevated bg in dark theme code blocks

2 years agoRemove shadow and x padding from note viewer/editor
Adam Dullage [Fri, 24 Nov 2023 13:20:23 +0000 (13:20 +0000)]
Remove shadow and x padding from note viewer/editor

2 years agoChange light theme background to pure white
Adam Dullage [Fri, 24 Nov 2023 13:10:19 +0000 (13:10 +0000)]
Change light theme background to pure white

2 years agoUse non-elevated background colour in note viewer/editor
Adam Dullage [Fri, 24 Nov 2023 13:07:43 +0000 (13:07 +0000)]
Use non-elevated background colour in note viewer/editor

2 years agoReorganised toast ui css overrides
Adam Dullage [Fri, 24 Nov 2023 12:55:32 +0000 (12:55 +0000)]
Reorganised toast ui css overrides

2 years agoUse basePaths constant when constructing wikilink
Adam Dullage [Wed, 22 Nov 2023 16:46:11 +0000 (16:46 +0000)]
Use basePaths constant when constructing wikilink

2 years agoRaise FileNoteFoundError on Note init if applicable
Adam Dullage [Wed, 22 Nov 2023 13:04:36 +0000 (13:04 +0000)]
Raise FileNoteFoundError on Note init if applicable

2 years agoMerge pull request #136 from trescenzi/add-wikilinks
Adam Dullage [Wed, 22 Nov 2023 12:46:08 +0000 (12:46 +0000)]
Merge pull request #136 from trescenzi/add-wikilinks

Implement wikilinks in viewer.

2 years agoTrim note name when creating wikilink + formatting
Adam Dullage [Wed, 22 Nov 2023 12:44:52 +0000 (12:44 +0000)]
Trim note name when creating wikilink + formatting

2 years ago3.5.0
Adam Dullage [Thu, 9 Nov 2023 19:20:50 +0000 (19:20 +0000)]
3.5.0

2 years agoRemoved unnecessary css import
Adam Dullage [Thu, 9 Nov 2023 19:20:24 +0000 (19:20 +0000)]
Removed unnecessary css import

2 years agoEditor header layout improvements
Adam Dullage [Wed, 8 Nov 2023 13:23:34 +0000 (13:23 +0000)]
Editor header layout improvements

2 years agoRemoved menu offset
Adam Dullage [Wed, 8 Nov 2023 12:59:42 +0000 (12:59 +0000)]
Removed menu offset

2 years agoMoved navbar buttons to dropdown menu
Adam Dullage [Tue, 7 Nov 2023 12:59:43 +0000 (12:59 +0000)]
Moved navbar buttons to dropdown menu

2 years agoimplement wikilinks in viewer
Thomas Crescenzi [Sat, 4 Nov 2023 00:30:55 +0000 (20:30 -0400)]
implement wikilinks in viewer

2 years ago3.4.0
Adam Dullage [Fri, 27 Oct 2023 06:48:43 +0000 (07:48 +0100)]
3.4.0

2 years agoMerge branch 'attachments' into develop
Adam Dullage [Fri, 20 Oct 2023 12:11:55 +0000 (13:11 +0100)]
Merge branch 'attachments' into develop

2 years agoImplemented image attachment functionality
Adam Dullage [Fri, 20 Oct 2023 12:11:41 +0000 (13:11 +0100)]
Implemented image attachment functionality

2 years ago3.3.1
Adam Dullage [Tue, 17 Oct 2023 12:10:02 +0000 (13:10 +0100)]
3.3.1

2 years agoStore and return last modified as float
Adam Dullage [Tue, 17 Oct 2023 07:20:22 +0000 (08:20 +0100)]
Store and return last modified as float

2 years agoFormatting
Adam Dullage [Fri, 13 Oct 2023 11:43:26 +0000 (12:43 +0100)]
Formatting

2 years ago3.3.0
Adam Dullage [Thu, 28 Sep 2023 13:22:28 +0000 (14:22 +0100)]
3.3.0

2 years agoMerge pull request #123 from kitsumed/fix_unsaved
Adam Dullage [Thu, 21 Sep 2023 11:36:12 +0000 (12:36 +0100)]
Merge pull request #123 from kitsumed/fix_unsaved

Add more confirmations for unsaved notes.

2 years agoOnly confirm cancellation when there are changes
Adam Dullage [Tue, 19 Sep 2023 07:22:53 +0000 (08:22 +0100)]
Only confirm cancellation when there are changes

2 years agoentrypoint DRY refactor and removal of user/group creation
Adam Dullage [Sun, 10 Sep 2023 14:46:01 +0000 (15:46 +0100)]
entrypoint DRY refactor and removal of user/group creation

2 years agoUpdate entrypoint.sh
Med [Sat, 9 Sep 2023 15:51:03 +0000 (11:51 -0400)]
Update entrypoint.sh

Re-instoring breaking change warning.

2 years agoUpdate entrypoint.sh
Med [Sat, 9 Sep 2023 15:50:10 +0000 (11:50 -0400)]
Update entrypoint.sh

Comparability issue.

2 years agoUpdate entrypoint.sh
Med [Sat, 9 Sep 2023 15:44:54 +0000 (11:44 -0400)]
Update entrypoint.sh

Added a check to verify is the .sh is starting with a user set by docker, if it is, it skip the permission setup and gosu. If not, it does it's old behaviors.

Also re-introduced the PORT environment variable. Not everyone will run that program on docker, and conflict may arise with others program, putting aside the fact that 8080 is commonly used, begin able to change the PORT without the needed of recompiling everything is useful.

2 years agoAllow custom headers to show real IP in logs when behind proxy
Adam Dullage [Sat, 9 Sep 2023 05:19:59 +0000 (06:19 +0100)]
Allow custom headers to show real IP in logs when behind proxy

2 years agoUpdate NoteViewerEditor.vue
kitsumed [Fri, 8 Sep 2023 23:35:30 +0000 (19:35 -0400)]
Update NoteViewerEditor.vue

Add a confirm dialog when the user press the Close button, wait for the user agreement before clearing the saved text on local side.

2 years agoUpdate NoteViewerEditor.vue
Med [Fri, 8 Sep 2023 21:30:41 +0000 (17:30 -0400)]
Update NoteViewerEditor.vue

Add beforeunload confirmation to prevent losing unsaved written text.

2 years ago3.2.3
Adam Dullage [Mon, 4 Sep 2023 11:17:58 +0000 (12:17 +0100)]
3.2.3

2 years agoImproved API models and swagger documentation
Adam Dullage [Tue, 29 Aug 2023 11:36:10 +0000 (12:36 +0100)]
Improved API models and swagger documentation

2 years agoBump fastapi and dependencies
Adam Dullage [Tue, 29 Aug 2023 11:02:56 +0000 (12:02 +0100)]
Bump fastapi and dependencies

2 years agoMerge branch 'develop' of https://github.com/Dullage/flatnotes into develop
Adam Dullage [Tue, 29 Aug 2023 10:05:02 +0000 (11:05 +0100)]
Merge branch 'develop' of https://github.com/Dullage/flatnotes into develop

2 years agoFixed issues with site.webmanifest file. Resolves #116.
Adam Dullage [Tue, 29 Aug 2023 10:05:00 +0000 (11:05 +0100)]
Fixed issues with site.webmanifest file. Resolves #116.

2 years agoAdded isort config
Adam Dullage [Fri, 25 Aug 2023 06:04:15 +0000 (08:04 +0200)]
Added isort config

2 years agoConsistent password in README.md for shell run and compose (#110)
Mladia [Wed, 23 Aug 2023 05:18:48 +0000 (07:18 +0200)]
Consistent password in README.md for shell run and compose (#110)

git clone https://git.99rst.org/PROJECT