Commit Graph

118 Commits

Author SHA1 Message Date
65ec8cb29a MOVE clip creation method from ClipService to JobService
The original clip creation method in ClipService handled many different services, like metadata handling, callback methods and more. Moving it to a more suitable location in the JobService allows it to easily access the Job object and update it upon failure.
2025-12-15 21:23:01 +00:00
0f5fc76e55 ADD unified metadata validation to the MetadataService
Validation was happening in two places, in both EditService and in MetadataService doing different validations. This unifies them both into a singular method
2025-12-15 21:19:53 +00:00
2d0d168784 ADD information-level logging to EditService 2025-12-15 20:28:27 +00:00
decf2703bd RENAME "getProgress" to "getStatus" in EditService for accuracy
getProgress() returns a JobStatus object, not just progress-related information.
2025-12-15 20:01:50 +00:00
92cb9265ca ADD job failed attribute to display failed status in API
If a compression processing job fails, the JobStatus object within the Job should update to reflect this fail.
2025-12-15 19:57:40 +00:00
f9daef9a4b UPDATE constant name in DirectoryService for consistency 2025-12-15 19:57:40 +00:00
739d215c27 REMOVE deleteFile in DirectoryService and replace with local methods 2025-12-07 01:14:08 +00:00
08ef00c22e UPDATE "endPoint" to "duration" in frontend to match backend 2025-12-07 01:05:18 +00:00
9ebf69a9e7 RENAME VideoMetadata to ClipOptions and update related references 2025-08-19 14:56:50 +02:00
6433294ced REFACTOR code to use Optional entity 2025-08-12 15:39:06 +02:00
Dylan De Faoite
662966f138 14 standardize and clean api and fix bruno configuration (#25)
* ADD JWT authentication support with token generation and validation

* ADD JWT handling after successful login

* ADD user authentication and standardize user retrieval

* COMBINE token dtos

* ADD JWT authentication filter

* IMPROVE token handling

* STANDARDIZE API endpoints and improve JWT handling

* REMOVE extra logging

* REMOVE redundant job existence checks

* UPDATE Bruno Google token

* REFACTOR some classes

* ADD JWT cookie check

* ADD AuthProvider and CORS configuration; UPDATE API endpoints for consistency

* ADD JWT validation check;

* ADD profile picture to database

* ADD reload after login to update page

* PATCH login issue

* REMOVE unused classes

* ADJUST logging in JwtFilter

* REMOVE unused React component
2025-08-10 22:41:37 +02:00
Dylan De Faoite
20f7ec8db4 Backend MP4 conversion (#23)
* ADD conversion queue

* ADD RemuxService for MP4 conversion

* REMOVE unused conversion queue

* REORGANISE Job-related classes

* ADD Job stages

* REVERT to old commit, using Spring Async instead

* ADD asynchronous processing for video tasks

* PATCH and streamline progress tracking

* ADD asynchronous video processing and job restructuring

* REFACTOR job service method

* ADD job remux functionality

* ADD remuxing endpoint

* PATCH complete flag not updating in API response

* ADD progress type in frontend

* ADD reset functionality for job status

* PATCH missing progress bar for subsequent exports

* REDESIGN settings box

* ADD tracking video file conversion in frontend

* PATCH extension bug

* REMOVE autowired decorator
2025-07-31 20:48:34 +02:00
Dylan De Faoite
338eb605fd 20 modularize the code to split up large classes (#21)
* MODULARIZE ClipService by introducing CompressionService, MetadataService, and ThumbnailService

* ADD deleteClip functionality to ClipController
2025-07-29 23:01:21 +02:00
Dylan De Faoite
f0a4eed381 17 clean up services structure (#18)
* Refactor ClipService and MediaService

* Refactor ClipService for less coupling to Jobs

* PATCH unnecessary requests in frontend

* REFACTOR MetadataService to use CommandRunner

* REFACTOR DirectoryService and UploadService

* REFACTOR ClipService

* MERGE MetadataService with MediaService
2025-07-26 22:21:56 +02:00
618c140449 REPLACE AtomicProgress with simple ProgressTracker 2025-07-23 00:18:25 +02:00
f6e6aae5c6 ADD user authentication checks for clip access 2025-07-23 00:00:45 +02:00
Dylan De Faoite
87ad7e3537 ADD thumbnail to database (#12)
* ADD thumbnail to database

* ADD thumbnail generation and retrieval functionality

* ADD thumbnail availability check in VideoCard component

* ADD ClipDTO to reduce exposed internals

* REFactor move APIResponse and VideoMetadata to dto package

* REMOVE unused props from VideoCard

* ADD isThumbnailAvailable function
2025-07-17 23:21:01 +02:00
4c49a1daf8 PATCH video start bug 2025-07-16 19:17:47 +02:00
416da3281a ADD functionality to retrieve and display clips by ID 2025-07-14 13:36:26 +02:00
3f5d325efd ADD directory sharding for permanent clips 2025-07-12 19:12:25 +02:00
9f8894798d ADD VideoPlayer component and implement video fetching functionality 2025-07-12 14:27:51 +02:00
a78aecdfb6 ADD ClipController for clip retrieval 2025-07-09 21:57:23 +02:00
c512f055ee Refactor FfmpegService to improve progress tracking and streamline command building 2025-07-09 18:25:51 +02:00
fa89c66260 REFACTOR clipService and ADD ffmpegService 2025-07-08 18:26:47 +02:00
6d4146ed85 ADD input structure for metadata 2025-07-08 18:11:41 +02:00
2958dd8cd7 ADD ClipNames component for title and description input in ClipEdit 2025-07-07 22:35:40 +02:00
466b6b35f5 ADD scheduled cleanup for temporary directories in DirectoryService 2025-07-07 22:16:03 +02:00
dcb2bcff22 ADD DirectoryService integration for clip persistence and file management 2025-07-07 21:59:54 +02:00
12eafcdd3e REFactor storage configuration and introduce DirectoryService for file management 2025-07-05 10:37:27 +02:00
3abdfe3978 ADD file size retrieval and update VideoMetadata object 2025-07-03 22:40:29 +02:00
8de4a147f2 REMOVE JobService dependency from MetadataService 2025-07-03 22:17:22 +02:00
159bcac5c4 MOVE user authentication and clip creation to ClipService 2025-07-02 22:03:39 +02:00
6cf454c484 RENAME CompressionService to ClipService and update references 2025-06-25 19:31:37 +02:00
f37c4fc75d REFACTOR Clip creation in Editservice 2025-06-25 19:19:10 +02:00
e93ccd2ecd ADD Clip database insertion & UPDATE schema 2025-06-25 19:07:38 +02:00
c11cdb0ee6 REFACTOR JobService to not busily wait 2025-06-06 20:08:49 +02:00
bff85731a5 ADD some temporary default values in VideoMetadata 2025-06-05 20:49:27 +02:00
9d2830302b ADD extra error checking 2025-06-05 20:30:22 +02:00
3132bae98f ADD readme & ADD mvnw 2025-06-03 10:39:06 +02:00
544a736f66 REFACTOR error handling 2025-06-03 09:58:31 +02:00
783485dd39 REFACTOR float to long for better precision 2025-05-28 22:31:00 +02:00
c468625a74 PATCH scrollbar issue 2025-05-28 19:49:34 +02:00
96574efcdc add old frontend code back 2025-05-28 14:49:09 +02:00
59fb65d377 MOVED frontend out of Vaadin/Spring 2025-05-28 12:20:27 +02:00
ab645316a1 REFACTOR for consistency 2025-05-24 17:40:34 +02:00
8fa6b11e70 ADD logging to MetadataService 2025-05-24 16:54:28 +02:00
2bc4a6af33 ADD export button calling backend to process clip 2025-05-24 16:47:57 +02:00
9348dd928e ADD metadata endpoints + update Bruno 2025-05-20 14:12:12 +02:00
a639cfbb0e ADD MetadataService to track inital metadata 2025-05-20 13:56:00 +02:00
b09577fc81 RENAME ClipConfig entity to VideoMetadata 2025-05-20 12:07:25 +02:00