5 Commits

Author SHA1 Message Date
Nils Burghardt
5d7329a811 Merge branch 'master' into feature/2_adjust_dashboard
# Conflicts:
#	src/main/java/de/nilzbu/mytimetracker/ui/view/DashboardOverView.java
2025-07-21 14:52:49 +02:00
ac3993545e .gitea/workflows/restart.yaml aktualisiert
All checks were successful
Build-und-Deploy / build (push) Successful in 11s
2025-07-21 12:21:10 +00:00
c62127e24d .gitea/workflows/restart.yaml aktualisiert
All checks were successful
Build-und-Deploy / build (push) Successful in 12s
2025-07-21 12:19:09 +00:00
f36fd63a04 addRestartAction (#12)
All checks were successful
Build-und-Deploy / build (push) Successful in 12s
Co-authored-by: Nils Burghardt <nilzbu@gmail.com>
Reviewed-on: #12
2025-07-21 12:09:45 +00:00
75ddbecc79 Enhance Dashboard (#11)
All checks were successful
Build-und-Deploy / build (push) Successful in 23s
Co-authored-by: Nils Burghardt <nilzbu@gmail.com>
Reviewed-on: #11
2025-07-21 10:53:08 +00:00
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
name: Docker Restart Manuell
on:
workflow_dispatch:
jobs:
restart-docker:
runs-on: ubuntu-latest
steps:
- name: Docker Compose Restart
run: |
cd /home/docker/apps/mytimetracker
docker compose down
docker compose up -d

View File

@@ -23,6 +23,10 @@ public class TimeEntryService {
return repository.findAllByUserOrderByDateDesc(user);
}
public int getNumberOfEntriesForUser(User user) {
return getEntriesForUser(user).size();
}
public TimeEntry save(TimeEntry entry) {
return repository.save(entry);
}