Commit Graph
40 Commits
Author SHA1 Message Date
rmcamposandGitHub 4ba705d6c4 chore: improve CI and fix navigation (#352)
* chore: simple change to trigger new ci

* feat: make PR CD work

issue #338

* ci: fix target deploy url

* ci: improve deployments into just one matrix job

* ci: put secret on env

* fix: fix nagivation when creating notes and tasks from the home page

* test: add sidebar test cases

* chore: test files cleanup
2025-03-13 13:56:57 -03:00
rmcamposandGitHub e5f3e339f6 feat: add gravatar support (#347)
* feat: add gravatar support

issue #323

chore: fix sidbar issues

* test: fix test case

* chore: fix sonar issues

* chore: fix sonar cloud issues

* test: fix test cases

* test: add more test cases

* ci: fix caddyfile and docker compose
2025-03-11 21:01:00 -03:00
rmcamposGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a65e55caae feat: improve notes UI (#339)
* build(deps-dev): bump @eslint/eslintrc from 3.2.0 to 3.3.0 in /client

Bumps [@eslint/eslintrc](https://github.com/eslint/eslintrc) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/eslint/eslintrc/releases)
- [Changelog](https://github.com/eslint/eslintrc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslintrc/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: "@eslint/eslintrc"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump sass from 1.83.4 to 1.85.1 in /client

Bumps [sass](https://github.com/sass/dart-sass) from 1.83.4 to 1.85.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.83.4...1.85.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump react-i18next from 15.4.0 to 15.4.1 in /client

Bumps [react-i18next](https://github.com/i18next/react-i18next) from 15.4.0 to 15.4.1.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v15.4.0...v15.4.1)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump @types/node from 22.13.8 to 22.13.9 in /client

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.13.8 to 22.13.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump typescript from 5.7.3 to 5.8.2 in /client

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.7.3 to 5.8.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump actions/cache from 4.2.1 to 4.2.2

Bumps [actions/cache](https://github.com/actions/cache) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: improve notes UI

issue #322

issue #337

issue #301

* feat: enable notes tracking for the users

* chore: reduce duplications creating components

* chore: fix wordy and add JS Docs

* test: add AlertError test cases

* feat: add contentHeader tests

* test: fix taskAdd test component

* test: add modalMarkdown test cases

* chore: refactor to reduce duplication

* test: add noteTitle component test case

* test: add more tests to About view

* test: add more tests to Account view

* test: add home view test cases

* test: add noteAdd view tests

* test: add note view test cases

* test: add note service unit tests

* chore: fix Sonar issues

* test: add more tests to note service

* chore: small fixes to backend

* test: fix noteAdd view test case

* chore: fix sonar issue

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-09 18:39:31 -03:00
rmcamposandGitHub 0234c77538 feat: load dashboard data (#333)
* fix: task progress data from back-end

* chore: make backend candidate image default

* feat: load data for the dashboard home from the back-end

issue #320

* test: add tets for completedTasks and TaskProgress components

* test: fix test case in the backend

* feat: fix unauthorized requests

test: add home controller test cases

* test: add home service test cases
2025-03-06 18:51:26 -03:00
rmcamposandGitHub 4ba3d1962d feat: enable user to update his name and data (#332)
* feat: enable user to update his name and data

issue #307

* docs: add JSDocs

* test: fix sidebar tests

* test: fix test cases

* test: add account test cases

* test: add user controller and auth service tests
2025-03-05 12:05:14 -03:00
rmcamposandGitHub 494c77e0af feat: add pr number to images and tag them as prod (#325)
* feat: add pr number to images and tag them as prod

* feat: add labels to docker images
2025-03-03 17:14:52 -03:00
rmcamposandGitHub 32969dc861 fix: loggin issues (#319)
* fix: loggin issues

closes #302

feat: improve build number in docker image

* test: fix integration test for the taskController

* test: add unit test to taskService

* test: add more unit tests to taskService

* test: add delete unit tests for taskService

* test: add patch unit tests for taskService
2025-03-02 18:45:36 -03:00
rmcamposandGitHub 255ce7c193 fix: improve application properties and enable more logs (#316)
* fix: improve application properties and enable more logs

* chore: fix application properties

* test: fix test cases

* ci: fix sonarloud project key for the backend

* chore: add variable to manage root logging level

* chore: debug log mode

* feat: fix healthcheck for tasknote api

* feat: fix dockerfile for client - finally

Issue #308

* chore: bump some versions

closes #311

closes #312

closes #313

closes #314

closes #315

closes #317

closes #318

* test: add backend test case

chore: fix note type error on frontend

* test: add test case
2025-03-02 14:35:24 -03:00
rmcamposGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>snyk-bot
4538151871 feat: add new UI (#291)
* feat: implement new ui for tasks

issue #199

* feat: enable tasks to manage urls

* feat: add sidebar and remove header - wip

issue #199

time spent: 01h07m

* feat: sidebar improvements - wip

issue #199

* feat: side menu - partial

* feat: sidebar finished

* feat: sidebar finished

* feat: dashboard initial

* feat: new about page design

issue #199

* build(deps-dev): bump vitest and @vitest/coverage-v8 in /client

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) and [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8). These dependencies needed to be updated together.

Updates `vitest` from 3.0.4 to 3.0.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.0.5/packages/vitest)

Updates `@vitest/coverage-v8` from 3.0.4 to 3.0.5
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.0.5/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: deprecated element and response for 201

* feat: home page almost finished

issue #199

* build(deps-dev): bump eslint-plugin-jsdoc in /client

Bumps [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) from 50.6.1 to 50.6.3.
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc)
- [Commits](https://github.com/gajus/eslint-plugin-jsdoc/compare/v50.6.1...v50.6.3)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsdoc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump eslint-config-prettier in /client

Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 9.1.0 to 10.0.1.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v9.1.0...v10.0.1)

---
updated-dependencies:
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump vite from 6.0.11 to 6.1.0 in /client

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.0.11 to 6.1.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@6.1.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump @eslint/js from 9.17.0 to 9.20.0 in /client

Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.17.0 to 9.20.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.20.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: upgrade react-router from 7.1.1 to 7.1.3

Snyk has created this PR to upgrade react-router from 7.1.1 to 7.1.3.

See this package in npm:
react-router

See this project in Snyk:
https://app.snyk.io/org/ricardocampos-dcn/project/4d31651d-a849-4b8a-83a3-f8aaba677c53?utm_source=github&utm_medium=referral&page=upgrade-pr

* fix: upgrade react-bootstrap from 2.10.7 to 2.10.8

Snyk has created this PR to upgrade react-bootstrap from 2.10.7 to 2.10.8.

See this package in npm:
react-bootstrap

See this project in Snyk:
https://app.snyk.io/org/ricardocampos-dcn/project/4d31651d-a849-4b8a-83a3-f8aaba677c53?utm_source=github&utm_medium=referral&page=upgrade-pr

* test: add test cases

issue #199

* test: add TaskUrlRepository data tests

issue #199

* test: add TaskService unit tests and fix intentionality Sonar issue

issue #199

* ci: attempt to fix sonar analysis and add badges

* ci: change pr and main workflows server tests

* chore: fix lint issues in the front-end

issue #199

* test: fix test cases for views and components

* chore: fix lint issues

* ci: update node version when running tests

* test: add taskTimeLeft test case

* chore: fix css rule according to css specifications

* chore: address sonar issues

* chore: address sonar issues again

* test: add Sidebar unit tests

* fix: client/Dockerfile to reduce vulnerabilities

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8690013
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8690013
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201
- https://snyk.io/vuln/SNYK-ALPINE320-OPENSSL-8235201

* chore: refactor and improve taskTag component and tests

* chore: improve the taskTitle component and add tests

* chore: improve taskUrl component and add test cases

* test: add count view tests

* test: add count view tests files

* test: add taskAdd tests

* test: fix task add

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2025-02-22 16:29:54 -03:00
rmcamposandGitHub 02cc7a7d74 doc: improve jsdocs (#235)
* doc: improve jsdocs

* ci: fix sonar project key on main workflow

* chore: improvements and refactoring

* test: fix test case

* chore: upadte sonar

* ci: add sonar propertiles file for client

* chore: fix delete request
2025-01-02 17:03:21 -03:00
rmcamposGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
67dee07835 feat: dependabot server (#233)
* build(deps): bump org.springframework.boot:spring-boot-starter-parent

Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.3.6 to 3.3.7.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.3.6...v3.3.7)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump org.hibernate.orm.tooling:hibernate-enhance-maven-plugin

Bumps [org.hibernate.orm.tooling:hibernate-enhance-maven-plugin](https://github.com/hibernate/hibernate-orm) from 6.6.2.Final to 6.6.4.Final.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.4/changelog.txt)
- [Commits](https://github.com/hibernate/hibernate-orm/compare/6.6.2...6.6.4)

---
updated-dependencies:
- dependency-name: org.hibernate.orm.tooling:hibernate-enhance-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: try to bump spring to 3.4.1

* feat: decrease code coverage

* fix: add flyway to cloud native config

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 14:57:57 -03:00
rmcamposandGitHub 0b48a7d816 test: add more unit and integration tests for the backend (#202)
* test: add server unit tests for controllers - partial

issue #71

* test: add task controller unit tests

issue #71

* docs: add cloud scripts to start services

* docs: add sonar to backend

issue #198

* docs: add sonar params

* fix: russian text

* test: add note controller test

issue #71

* test: add auth service unit tests - wip

issue #71

* test: add auth and home service unit tests

issue #71
2024-12-27 16:19:31 -03:00
rmcamposandGitHub e198907546 Feat/102 notes with more than 300 characters (#175)
* feat: update tasks UI and add high priority and and due-date option

issue #57

* improve ui

* improve ui for task

* feat: handles due date and high priority tasks

issue #57

* feat: update task with new features

issue #52

* feat: allow users to set high priority tasks and due date done

issue #52

issue #57

* test: add unit tests

* doc: improve readme

* doc: fix table of contents on readme

* feat: enable users to type up to 2000 chars on notes

issue #102
2024-11-22 11:42:00 -03:00
rmcamposandGitHub 63e696b2b1 feat: Create user area and allow users to delete their account (#153)
* feat: create migration to update task table schema

issue #52

issue #57

* chore: fix docker compose and client package-lock file

* fix: wrong placeholder for email at the login page

issue #134

* fix: wrong placeholder for email at the register page

issue #134

* feat: update all forms to start as valid

* feat: create user area where he can manage data and language

issue #135

issue #130

issue #104

* chore: simplify back-end services

* feat: delete user data from server

issue #104

* test: add simple test case for login and register and fix footer
2024-11-10 17:10:14 -03:00
rmcamposandGitHub 44d3fb23aa feat: Add Brazilian Portuguese and Spanish languages (#132)
* feat: add languages - wip

issue #90

based on article https://dev.to/franklin030601/building-a-multi-language-app-with-react-js-2och

* feat: translate landing, login and register pages

issue #90

* feat: translate all the external texts and messages

issue #90

* feat: add new automations scripts and remove old ones

* feat: add server build info on actuator health page

* feat: language handling for all external pages

issue #90

* feat: start translation at the home page - wip

issue #90

* feat: improve automation to run services on docker

* feat: more automations for the client this time

* feat: translate finished for the home page

issue #90

* feat: translate about page, header and footer

issue #90

* feat: translate task page

issue #90

* feat: translate notes

issue #90

* feat: increase token expiration to one week

* test: fix test cases

* ci: remove client docker image from workflow

* feat: improve reliability

* chore: reduce duplications

* feat: fix lint issues

thansk to https://dev.to/aolyang/eslint-9-flat-config-tutorial-2bm5

* fix: path when login or register
2024-11-01 15:25:57 -03:00
rmcamposGitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
787bcd1773 feat: server versions bump (#129)
* build(deps): bump com.puppycrawl.tools:checkstyle in /server

Bumps [com.puppycrawl.tools:checkstyle](https://github.com/checkstyle/checkstyle) from 10.18.2 to 10.19.0.
- [Release notes](https://github.com/checkstyle/checkstyle/releases)
- [Commits](https://github.com/checkstyle/checkstyle/compare/checkstyle-10.18.2...checkstyle-10.19.0)

---
updated-dependencies:
- dependency-name: com.puppycrawl.tools:checkstyle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump org.apache.maven.plugins:maven-checkstyle-plugin

Bumps [org.apache.maven.plugins:maven-checkstyle-plugin](https://github.com/apache/maven-checkstyle-plugin) from 3.5.0 to 3.6.0.
- [Commits](https://github.com/apache/maven-checkstyle-plugin/compare/maven-checkstyle-plugin-3.5.0...maven-checkstyle-plugin-3.6.0)

---
updated-dependencies:
- dependency-name: org.apache.maven.plugins:maven-checkstyle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps): bump org.springframework.boot:spring-boot-starter-parent

Bumps [org.springframework.boot:spring-boot-starter-parent](https://github.com/spring-projects/spring-boot) from 3.3.4 to 3.3.5.
- [Release notes](https://github.com/spring-projects/spring-boot/releases)
- [Commits](https://github.com/spring-projects/spring-boot/compare/v3.3.4...v3.3.5)

---
updated-dependencies:
- dependency-name: org.springframework.boot:spring-boot-starter-parent
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* feat: add backend version to all responses in a header

issue #105

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-29 18:55:24 -03:00
Ricardo Campos 2c47eb7416 feat: fix backend validation for passwords and max attemps
issue #56
2024-10-10 21:35:29 -03:00
Ricardo Campos 340ed324e5 feat: improve login with max attempt limit and better passwords
issue #56
2024-10-09 19:19:24 -03:00
Ricardo Campos dfcd6b2171 fix: npe when formatting 2024-10-09 12:27:18 -03:00
Ricardo Campos 1dd3311c8c feat: remove lib and format manually
docs: add javadoc
2024-10-09 12:06:33 -03:00
Ricardo Campos e87e1aa557 feat: add all prettytime resources to config cloudnative 2024-10-09 10:55:26 -03:00
Ricardo Campos b5d050eab8 fix: attempt to fix locale issue again again again 2024-10-08 19:37:57 -03:00
Ricardo Campos d6a11a5e07 fix: attempt to fix locale issue again again 2024-10-08 19:21:31 -03:00
Ricardo Campos fd2db315cc fix: attempt to fix locale issue again 2024-10-08 19:06:50 -03:00
Ricardo Campos a571501992 fix: attempt to fix locale issue 2024-10-08 18:46:45 -03:00
Ricardo Campos 55a570a969 fix: locale settings for server 2024-10-08 18:11:34 -03:00
Ricardo Campos 0e73d48a30 feat: sort by undone first
feat: add time ago format for the last updated task time

issue #54
2024-10-08 15:48:51 -03:00
rmcampos b1891277e9 test: fix test case for the home controller test 2024-10-06 18:57:01 -03:00
rmcampos 73f8741013 feat: improve about page, fix home summary adding notes count
issue #87
2024-10-06 18:52:15 -03:00
rmcampos 9e603f8bb6 fix: disable csrf for testing 2024-10-05 19:57:41 -03:00
rmcampos fc93ca4d0b fix: csrf token filter handler - attemp #2 2024-10-05 19:45:55 -03:00
rmcampos d303d4050d fix: csrf token filter handler 2024-10-05 19:23:47 -03:00
rmcampos e501e2b4a4 feat: another attempt to fix backend cors 2024-10-05 14:58:48 -03:00
Ricardo Campos 6e820c9104 chore: get back changes 2024-10-04 12:41:06 -03:00
rmcamposandGitHub 9acd7afa1d Update application.properties 2024-10-04 12:02:23 -03:00
rmcampos c4da2a7b7f feat: enable security on backend for digitalocean 2024-10-03 21:55:22 -03:00
rmcampos 8fa20a00f6 feat: fix cloud native image running graalvm 2024-09-28 21:07:22 -03:00
Ricardo Campos 161764a233 fix: CSRF finally
issue #69
2024-09-27 18:58:08 -03:00
rmcampos ce2d168fb7 feat: rename packages 2024-09-27 11:02:48 -03:00
rmcampos 8bca2025db feat: rename java-api to server 2024-09-27 09:03:48 -03:00