Commit graph

50 commits

Author SHA1 Message Date
d687608ba8
♻️ Refactor: Remove unused variable in handleError
The LSP I use now caught that I never used this variable
2024-06-26 10:03:24 -05:00
3461144e69
📝 Docs: Update README spelling and project details
Remove spelling errors, add missing env variables, no longer in capstone
2024-06-26 09:55:27 -05:00
74bacfa0f0 Remove build status 2023-12-10 20:51:47 -06:00
21be0be896 Change HTTP routing for index and add new route for
About page rendering
2023-12-05 19:40:19 -06:00
88ea7a0046 Improve user experience and add about page
The home page was a bit busy for some so I have cleaned it up and moved its contents
to about.html
The code changes include the addition of an "about" page to enhance the
user experience and provide information about the application. This
helps users understand the purpose and features of the application,
making it more user-friendly. The "about" page contains a comparison
table of different text editors and highlights the unique features of
Notatio. These changes aim to improve usability and provide valuable
information to users.
2023-12-03 17:35:00 -06:00
6497dfae89 Try fix template modal 2023-11-30 12:16:20 -06:00
bcc9135851 Update templates with viewport meta tag
This addition helps ensure proper rendering and
responsiveness of the webpage across
different devices and screen sizes.
2023-11-30 03:23:38 -06:00
de49f8fbc7 Improve editor usability on phone 2023-11-30 03:12:04 -06:00
f2251dba22 Add Dark mode toggle 2023-11-30 02:40:55 -06:00
11b374743c Take intial mode from prefers-color-scheme 2023-11-30 01:37:27 -06:00
2588ef9729 Add dark mode 2023-11-30 01:32:08 -06:00
bcd45d9006 Add link offset for files with underscores 2023-11-29 23:59:54 -06:00
0054cf8168 Remove debug text 2023-11-29 23:55:20 -06:00
9e04cd43b0 Move delete functio javascript back into html
The {{.Filename}} does not propogate to the javascript files
2023-11-29 23:50:13 -06:00
9ce0d02be7 Rework how form data is collected for signup 2023-11-29 23:30:12 -06:00
174655a07c Disable button for a longer time 2023-11-29 21:10:57 -06:00
8e10778d8e Make Signup Process work like login 2023-11-29 21:03:28 -06:00
4093202bf5 Allow spaces in desired name 2023-11-29 20:57:14 -06:00
ab2682fd3c Refactor form submission handling for sign up
- Disable submit button and display spinner during form submission to
prevent multiple clicks
- Obtain form field values and send signup request as form data for
processing on the server
2023-11-29 19:02:07 -06:00
93532e65ca Update Singup Modal Javascript 2023-11-29 18:38:02 -06:00
53c4fb0f89 Switch submit order 2023-11-29 18:14:09 -06:00
7682d9fd47 Refactor form submission handling for sign up
- Disable submit button and display spinner during form submission to
prevent multiple clicks
- Obtain form field values and send signup request as form data for
processing on the server
2023-11-29 17:58:43 -06:00
d2ed1a6007 [Fix] Prevent clicking of signup button repeatedly 2023-11-29 17:41:04 -06:00
8020e8dcd0 Remove extra HR button from toolbar 2023-11-29 17:36:15 -06:00
2f38c76f4e Update go dependencies 2023-11-29 17:29:47 -06:00
f04ec9ff56 Move File List Javascript to seperate file 2023-11-29 17:25:58 -06:00
814c114dcd Remove uneeded template 2023-11-29 17:21:01 -06:00
19c79427ed Move homepage javascript to seperate file 2023-11-29 17:20:25 -06:00
6b582fadd2 Remove Sponsor button, that was a github feature 2023-11-29 17:14:54 -06:00
ef9e1a3864 Spelling error, move jquery import to bootstrap 2023-11-29 17:13:35 -06:00
808f3f3772 Remove kanban links from main.go, delete tables.go
This commit removes unnecessary endpoints from the HTTP server and
deletes the tables.go file, consolidating the relevant code under
main.go. The kanban and update-task-status handlers are no longer
needed, as well as the createTableDB function.  No major consequences or
considerations arise from these changes.
2023-11-29 17:07:36 -06:00
a311be9630 Switch links to the new repository 2023-11-23 17:27:51 -06:00
3a350c70cd Add Trunk Linter to repo 2023-11-21 16:04:37 -06:00
846de5c396 Refactor and style the welcome page
for improved user experience

This commit refactors the newuser.html template for improved user
experience by adding a title, meta viewport tag, and Bootstrap CSS. It
also enhances the layout and styling, including the use of Bootstrap
alerts and input groups. The form for creating a new file is now
displayed in a more organized manner.
2023-11-21 15:58:45 -06:00
4493397b38 Change the CSS class of the login error alert div 2023-11-21 15:24:25 -06:00
a9a3b7d2e6 Update Golang base image in Dockerfile 2023-11-21 15:14:22 -06:00
438bc71f18 Add alert class to login modal error div 2023-11-21 15:10:42 -06:00
4484051063 Remove wait.sh 2023-11-21 15:02:59 -06:00
418201dbc8 Remove Wait.sh 2023-11-21 15:00:59 -06:00
70ffa674d3 Hail Mary 2 2023-11-21 14:59:09 -06:00
f1fcd37ebd Hail Mary 2023-11-21 14:56:18 -06:00
4fb018b2cd Try to fix again 2023-11-21 14:49:14 -06:00
473919fb61 Fix Dockerfile COPY command to correctly copy 2023-11-21 14:42:18 -06:00
362a3793a8 Fix Dockerfile COPY command to correctly copy
files from builder image to notatio user.
2023-11-21 14:39:42 -06:00
51addc16b6 Try to fix paths in dockerfile 2023-11-21 14:37:58 -06:00
4fc8725438 Improve user creation in Dockerfile 2023-11-21 14:23:56 -06:00
ccdd52afa4 Build notatio binary with updated file path
The Dockerfile is updated to build the notatio binary with the new file
path "/home/notatio/notatio" instead of "/notatio". The final image is
also updated to copy the necessary files to the new file path
"/home/notatio". The entrypoint is modified to change the working
directory before executing the notatio binary.
2023-11-21 14:03:30 -06:00
7da4f9830f Add user 'notatio' 2023-11-21 12:54:35 -06:00
c2a76ed51a Update Dockerfile with custom base image and add
healthcheck

- Update base image to `docker.io/library/alpine:3.18.4` to ensure the
latest version is used.
- Set the user in the container to `notatio` for security purposes.
- Add a healthcheck to monitor the app's availability.
- Modify the `ENTRYPOINT` to delay the execution by 10 seconds before
starting the application.
2023-11-21 12:45:52 -06:00
9da51a1e6b Switch Repo to notatio/notatio 2023-11-20 22:10:40 -06:00