Reece
f4dd4deb7b
revert rile reducer
2025-10-28 21:37:58 +00:00
Reece
c188cc3a0b
revert base params, clean top gap
2025-10-28 21:05:55 +00:00
Reece
039de2dde2
Fixes
2025-10-28 19:38:53 +00:00
Reece
c6c986ade2
Clean up
2025-10-28 18:09:55 +00:00
Reece
3bd1c9f83a
Fixes
2025-10-28 15:15:20 +00:00
Reece
7de8347472
Squashed commit of the following:
...
commit f1901a2e56
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 27 18:23:27 2025 +0000
revert lint
commit 09b0fbefcd
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 27 15:47:38 2025 +0000
Hide file names in posthog
commit 3497ccd7bd
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 27 12:45:31 2025 +0000
remove page break settings modal
commit 5e27dc88f8
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 27 12:37:00 2025 +0000
retain interleaving
commit b276eb5b68
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 27 11:32:31 2025 +0000
Lint
commit aec1f97ff8
Author: Reece <reece@stirlingpdf.com >
Date: Sat Oct 25 14:19:32 2025 +0100
-
commit fbe2dc2958
Author: Reece <reece@stirlingpdf.com >
Date: Sat Oct 25 13:06:10 2025 +0100
Fixed file reordering placeholder
commit aaae81c68e
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 15:57:30 2025 +0100
-
commit 3aa77819f2
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 15:54:30 2025 +0100
-
commit 28dab07870
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 15:51:37 2025 +0100
-
commit ed6199de61
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 15:51:29 2025 +0100
lint and revert onboarding
commit 4d59ebfb2a
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 15:27:44 2025 +0100
fixed drag and drop when some files aren't selected in context
commit ea4f37cccf
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 15:06:21 2025 +0100
Merge history change
commit c25131ae9b
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 14:48:14 2025 +0100
lint
commit 25df9410cd
Merge: 494f92421 848ff9688
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 14:33:27 2025 +0100
Merge branch 'V2' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/selected-pageeditor
commit 494f92421f
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 13:28:50 2025 +0100
Enhance drag-and-drop functionality with new drop hint resolution and target index calculation; refactor file color mapping in PageEditor and implement dropdown state management for improved file handling.
commit eef5dce849
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 24 11:33:31 2025 +0100
Drag and drop improvements basic box select
commit ddefe81082
Author: Reece <reece@stirlingpdf.com >
Date: Thu Oct 23 20:46:58 2025 +0100
Enhance DragDropGrid and PageEditor with improved undo manager functionality and scroll handling during drag operations
commit be037b727f
Author: Reece <reece@stirlingpdf.com >
Date: Thu Oct 23 18:15:37 2025 +0100
File reorder logic
commit 7a56f0504e
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 21 17:35:55 2025 +0100
Refactor file handling to support StirlingFileStubs and improve drag-and-drop functionality
commit f7c9855489
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 21:45:00 2025 +0100
glow scaling
commit 36a358f907
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 21:25:44 2025 +0100
Visual tweaks
commit 0bcb1810d6
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 21:08:18 2025 +0100
tweak
commit aee535214d
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 20:55:45 2025 +0100
Pretty lights
commit 6d3154a7ae
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 20:44:48 2025 +0100
Update top bar controls visually
commit 658ce2dab9
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 18:45:14 2025 +0100
add file
commit 15df5cf168
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 18:05:55 2025 +0100
-
commit 23d7f38100
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 17:24:16 2025 +0100
lint
commit 472fc2939e
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 15:56:54 2025 +0100
lint 2
commit a21047e8b0
Merge: 8ee03fa1c 3e23dc59b
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Mon Oct 20 15:52:23 2025 +0100
Merge branch 'V2' into feature/v2/selected-pageeditor
commit 8ee03fa1c6
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 15:50:14 2025 +0100
Lint
commit a22913e1e4
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 14:16:41 2025 +0100
page editor fixes post merge
commit b3c0c69a7c
Merge: 2289080f9 3e6236d95
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 20 13:42:08 2025 +0100
Merge branch 'V2' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/selected-pageeditor
commit 2289080f9c
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 17 16:55:29 2025 +0100
remove buttons
commit a5ec62fa08
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 17 15:24:05 2025 +0100
Performance improvements
commit e7f7b7e201
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 17 14:15:21 2025 +0100
improved
commit 74e8388bce
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 15 21:33:54 2025 +0100
Working mostly
commit e7c6db082c
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 15 16:31:30 2025 +0100
Rejig arrays
commit 05a7161412
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 15 00:01:30 2025 +0100
Structural tweaks
commit 39267e795c
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 14 12:41:50 2025 +0100
Reworked page editor - dirty commit
commit 6acce968a5
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 19:32:41 2025 +0100
fix 2
commit 0722ecc6c4
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 19:27:15 2025 +0100
fix
commit 3597a8b7bd
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 19:16:04 2025 +0100
Initial set up
commit c260394b95
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 17:15:07 2025 +0100
Cleanup
commit 93fcfb280a
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 17:09:36 2025 +0100
Remove logs tweak visuals, use fit text component
commit 69cb8e7aec
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 16:54:05 2025 +0100
Fix signwith tab based system
commit 8e8e06628e
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 15:57:41 2025 +0100
Nav based file select
commit 5d3710260f
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 13:37:52 2025 +0100
Lint
commit ad8789d82a
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 13:35:18 2025 +0100
remove file that came from nowhere
commit 749966a197
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 13:30:15 2025 +0100
Remove mantine theme
commit d9e429aa3a
Merge: ad0b6cf2d b695e3900
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 13:00:56 2025 +0100
Merge branch 'V2' of https://github.com/Stirling-Tools/Stirling-PDF into feature/V2/ViewerTabs
commit ad0b6cf2d6
Author: Reece <reece@stirlingpdf.com >
Date: Fri Oct 10 12:55:03 2025 +0100
Viewer tabs, embed update and layout fixes
commit b63f2c16a2
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 15:12:39 2025 +0100
Remove unused legacy text signing Linting errors
commit edcc788d1a
Merge: 5b47ab5bb fdba336c0
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 15:02:39 2025 +0100
Merge branch 'feature/v2/improve-sign' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/improve-sign
commit 5b47ab5bbf
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 15:02:33 2025 +0100
Remove debug logs
commit fdba336c05
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Wed Oct 8 14:57:29 2025 +0100
Update frontend/src/components/annotation/shared/DrawingCanvas.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
commit 5db6b85fb9
Merge: 70d941a40 13e88943b
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 14:56:10 2025 +0100
Merge branch 'feature/v2/improve-sign' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/improve-sign
commit 70d941a400
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 14:55:43 2025 +0100
translations
commit 13e88943b7
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Wed Oct 8 14:55:04 2025 +0100
Update frontend/src/components/tools/sign/SignSettings.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
commit 339e5cfb65
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Wed Oct 8 14:54:31 2025 +0100
Update frontend/src/contexts/ViewerContext.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
commit 10944d9d57
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 14:45:39 2025 +0100
Remove debug logging
commit 0c9f460fb6
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 14:02:43 2025 +0100
Remove arbitrary timers
commit fa6e01b46e
Author: Reece <reece@stirlingpdf.com >
Date: Wed Oct 8 12:26:34 2025 +0100
Clean up
commit 23f85d7267
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 7 22:40:58 2025 +0100
tweaks
commit f6290c0238
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 7 21:52:40 2025 +0100
- Refactored signature saving process
commit 991be9ffa2
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 7 21:38:07 2025 +0100
Add text color and font size options to signature settings and API
commit 07bf79f3ee
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 7 14:54:14 2025 +0100
Improved canvas mode with signaturepad.js
commit 3a0acd0a21
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 7 12:56:12 2025 +0100
Single canvas
commit fff637286f
Author: Reece <reece@stirlingpdf.com >
Date: Tue Oct 7 12:08:32 2025 +0100
Clean up annotation layer and signature API
- Remove duplicate imports in LocalEmbedPDF
- Remove duplicate setAnnotations state declaration
- Rename enableSignature prop to enableAnnotations for consistency
- Remove debug console.log statements from SignatureAPIBridge
- Remove async image preloading wrapper (was debugging code)
- Clean up formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com >
commit 8f94c8f57e
Merge: 708a296f8 2a29bda34
Author: Reece <reece@stirlingpdf.com >
Date: Mon Oct 6 22:25:30 2025 +0100
Merge branch 'V2' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/improve-sign
commit 708a296f8d
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 19:14:40 2025 +0100
Auto update canvas signature
commit b486d1270e
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 19:03:24 2025 +0100
Fix flicker on apply
commit 80faf0bc1e
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 18:55:09 2025 +0100
-
commit 6555a9554a
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 18:53:16 2025 +0100
Fix even more linting errors (Thanks James)
commit fdee719c89
Merge: 1be48c276 fd9fb9b97
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 18:14:42 2025 +0100
Merge branch 'feature/v2/sign' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/sign
commit 1be48c276b
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 18:12:13 2025 +0100
fix text infinite loop
commit 2b6b7a8e1d
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 18:04:01 2025 +0100
better error handling and killing logs
commit fd9fb9b972
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Fri Sep 26 17:58:52 2025 +0100
Update frontend/src/hooks/tools/sign/useSignParameters.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
commit d8d6197008
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 17:48:41 2025 +0100
fix page count issue
commit 1edd133e09
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 17:31:44 2025 +0100
license checker use commonJS
commit 8685bf2a7c
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 17:26:19 2025 +0100
gap
commit 36475069de
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 17:23:16 2025 +0100
lint fix
commit 3aa8572c9e
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 17:16:17 2025 +0100
Fix suggestions
commit 2e2d8477b9
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 17:01:06 2025 +0100
Clean up
commit 90880eddf9
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Fri Sep 26 16:51:19 2025 +0100
Update docker/frontend/nginx.conf
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
commit 31fd6886dc
Merge: 3fdbf425b abc0988fd
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Fri Sep 26 16:40:34 2025 +0100
Merge branch 'V2' into feature/v2/sign
commit 3fdbf425b4
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 16:39:38 2025 +0100
Fix lintineg errors
commit 50e60d4972
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 16:27:52 2025 +0100
Simple export block
commit a22330ebf4
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 16:09:20 2025 +0100
Only flatten current annotations
commit 172f622c5f
Merge: cfd00b2c7 d82b958d9
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 15:10:54 2025 +0100
Merge branch 'feature/v2/sign' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/sign
commit cfd00b2c71
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 15:10:47 2025 +0100
Render signature to pdf
commit d82b958d9f
Merge: c94ee388f 0bdc6466c
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Fri Sep 26 12:53:54 2025 +0100
Merge branch 'V2' into feature/v2/sign
commit c94ee388fc
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 12:47:32 2025 +0100
Restructure and bug fix
commit aa5333dcd9
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 03:23:59 2025 +0100
Change to button based placement to avoid performance issue on canvas
commit a8265efff4
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 03:19:05 2025 +0100
Improved performance
commit b9b425aba0
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 02:18:47 2025 +0100
Fix undo/redo
commit 51caad636c
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 01:51:17 2025 +0100
Reduce logs
commit 023fd43b72
Author: Reece <reece@stirlingpdf.com >
Date: Fri Sep 26 01:49:33 2025 +0100
Save file
commit a8a0808274
Author: Reece <reece@stirlingpdf.com >
Date: Thu Sep 25 09:46:20 2025 +0100
history tweaks
commit 3d2607f72a
Author: Reece <reece@stirlingpdf.com >
Date: Wed Sep 24 19:01:36 2025 +0100
fixes
commit f9542a9257
Merge: a12e45757 963787316
Author: Reece <reece@stirlingpdf.com >
Date: Wed Sep 24 18:35:16 2025 +0100
Merge branch 'feature/v2/exportpdf' into feature/v2/sign
commit 963787316a
Author: Reece <reece@stirlingpdf.com >
Date: Wed Sep 24 17:42:58 2025 +0100
Export with embedpdf
commit a12e457577
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Wed Sep 24 14:58:10 2025 +0100
Add undo/redo functionality and refactor signature settings UI
- Introduced HistoryAPIBridge for managing undo/redo actions.
- Updated SignSettings component to include undo/redo buttons.
- Refactored signature type selection to use Tabs for better UI.
- Enhanced SignatureAPIBridge to store image data for annotations.
- Integrated history management into SignatureContext for state handling.
commit bac61c7e9e
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Tue Sep 23 18:16:21 2025 +0100
Delete signature
commit fc2f34ee15
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Tue Sep 23 17:18:39 2025 +0100
fix add image
commit d9798badae
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Tue Sep 23 14:06:41 2025 +0100
Fix sidebar refresh. Updated UI
commit efc0c1aab3
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Tue Sep 23 12:24:58 2025 +0100
text and improved drawing
commit 10672403c9
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 22 14:14:35 2025 +0100
Colours on document draw + translations
commit 32fed96aa7
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 22 14:03:49 2025 +0100
Canvas and dosument draw split, drawing improvements
commit a70472b172
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Sat Sep 20 01:59:04 2025 +0100
Initial set up
commit 3b87ca0c3c
Merge: 0e1da982b 6172351ee
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 19 11:38:58 2025 +0100
Merge branch 'feature/v2/embed-pdf' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/embed-pdf
commit 0e1da982b6
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 19 11:38:53 2025 +0100
Fix vite
commit 6172351eed
Merge: 1174b6a4d ae7be50ec
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Fri Sep 19 11:23:28 2025 +0100
Merge branch 'V2' into feature/v2/embed-pdf
commit 1174b6a4da
Merge: a970c44d0 21a2433dd
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 19 11:16:22 2025 +0100
Merge branch 'feature/v2/embed-pdf' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/embed-pdf
commit a970c44d03
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 19 11:14:58 2025 +0100
improvements
commit b574cef54a
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 19 10:48:29 2025 +0100
improvements
commit 21a2433dd8
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Thu Sep 18 13:14:44 2025 +0100
Remove marginTop style from Workbench component
commit 07cc250176
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Thu Sep 18 13:12:58 2025 +0100
Remove comment regarding EmbedPDF import
Removed comment about dynamic import of EmbedPDF.
commit dc71b3007b
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 18 12:32:42 2025 +0100
clean up
commit 1598057ed0
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 18 08:44:57 2025 +0100
Tweaks
commit 312fc2d615
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 18 02:14:31 2025 +0100
Clean up
commit 72375d89d1
Merge: a990ecc02 7ff1c66d0
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Thu Sep 18 01:53:59 2025 +0100
Merge branch 'V2' into feature/v2/embed-pdf
commit a990ecc02a
Merge: da6ecc661 b51c2e42a
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Thu Sep 18 01:53:47 2025 +0100
Merge branch 'V2' into feature/v2/embed-pdf
commit da6ecc6619
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Wed Sep 17 14:35:44 2025 +0100
Fix scroll page identification
commit dac176f0c6
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Wed Sep 17 12:07:44 2025 +0100
Fix colours
commit 41e5a7fbd6
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Wed Sep 17 12:00:20 2025 +0100
Restructure to avoid global variables
fix zoom
commit b81ed9ec2e
Merge: 9b5c50db0 81c5d8ff4
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Tue Sep 16 19:37:50 2025 +0100
Merge branch 'feature/v2/embed-pdf' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/embed-pdf
commit 9b5c50db07
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Tue Sep 16 19:36:36 2025 +0100
Improved Structure with context at root
commit 81c5d8ff46
Author: James Brunton <james@stirlingpdf.com >
Date: Tue Sep 16 16:06:40 2025 +0100
Potential fix for mime type issues
commit a67f5199d3
Author: James Brunton <james@stirlingpdf.com >
Date: Tue Sep 16 16:06:27 2025 +0100
Improvements for scroll gestures
commit 3755bfde34
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 18:20:11 2025 +0100
Set zoom to 140%
commit 2834eec3be
Merge: 19d7111ca d89e1b5b1
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 17:31:06 2025 +0100
Merge branch 'feature/v2/embed-pdf' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/embed-pdf
commit d89e1b5b1e
Merge: 5d7fb638a a57373b96
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Mon Sep 15 17:27:51 2025 +0100
Merge branch 'V2' into feature/v2/embed-pdf
commit 19d7111cab
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 17:27:22 2025 +0100
Remove unused code
commit ca9d7ef465
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 17:03:52 2025 +0100
Remove unused code
commit fad4f84c9c
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 16:53:41 2025 +0100
translations
commit 35863ac610
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 16:53:32 2025 +0100
remove select mode
commit c17dd25069
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 16:05:19 2025 +0100
Rotate
commit 5d7fb638af
Merge: 2fb4710dd 7dad484aa
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Mon Sep 15 15:31:45 2025 +0100
Merge branch 'V2' into feature/v2/embed-pdf
commit 2fb4710dd7
Merge: 85a74c1d4 cfdb6eaa1
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Mon Sep 15 13:34:00 2025 +0100
Merge branch 'V2' into feature/v2/embed-pdf
commit 85a74c1d46
Merge: 21a93d6ca 9599bca8a
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 13:33:45 2025 +0100
Merge branch 'feature/v2/embed-pdf' of https://github.com/Stirling-Tools/Stirling-PDF into feature/v2/embed-pdf
commit 21a93d6cac
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Mon Sep 15 13:33:39 2025 +0100
Context based right rail controls for viewer
commit 9599bca8a9
Author: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
Date: Mon Sep 15 12:37:07 2025 +0100
Update frontend/src/components/viewer/ThumbnailSidebar.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
commit 1709ca9049
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 16:38:29 2025 +0100
Rems
commit 18e4e03220
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 16:26:05 2025 +0100
rename APIBridge
commit 9901771572
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 16:19:07 2025 +0100
improve search
commit 514956570c
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 15:06:06 2025 +0100
pan state improvements
commit 423617db52
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 14:21:31 2025 +0100
thumbnail sidebar
commit 143f0c5031
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 01:56:51 2025 +0100
search pdf
commit 368e9801a1
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Fri Sep 12 00:35:27 2025 +0100
Zoom with wheel and +/-
commit afc9ca5858
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 11 23:52:38 2025 +0100
spread/multipage
commit 8815575124
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 11 22:51:10 2025 +0100
pan
commit fb9b01f53b
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 11 20:07:43 2025 +0100
improved scaling and fix grey void
commit 93607937f6
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 11 19:38:04 2025 +0100
selection also
commit 687ab39286
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 11 19:36:44 2025 +0100
Text selection
commit 83a3222cf6
Author: Reece Browne <reecebrowne1995@gmail.com >
Date: Thu Sep 11 19:08:44 2025 +0100
Set up
2025-10-28 14:39:11 +00:00
James Brunton
d2b38ef4b8
Restructure frontend code to allow for extensions ( #4721 )
...
# Description of Changes
Move frontend code into `core` folder and add infrastructure for
`proprietary` folder to include premium, non-OSS features
2025-10-28 10:29:36 +00:00
ConnorYoh
960d48f80c
Customised Analytics for admins and users ( #4687 )
...
Adds granular privacy controls for analytics - splits single
enableAnalytics toggle into separate PostHog and Scarf controls with
improved admin
UX.
Backend Changes
Configuration (ApplicationProperties.java)
- Added enablePosthog and enableScarf boolean fields
- New methods: isPosthogEnabled(), isScarfEnabled() (null = enabled when
analytics is on)
Services
- PostHogService: Now checks isPosthogEnabled() instead of
isAnalyticsEnabled()
- ConfigController: Exposes new flags via API
- SettingsController: Changed endpoint from @RequestBody to
@RequestParam
Frontend Changes
Architecture
- Converted useAppConfig hook → AppConfigContext provider for global
access
- Added refetch() method for config updates without reload
New Features
1. AdminAnalyticsChoiceModal: First-launch modal when enableAnalytics
=== null
- Enable/disable without editing YAML
- Includes documentation link
2. Scarf Tracking System: Modular utility with React hook wrapper
- Respects config + per-service cookie consent
- Works from any code location (React or vanilla JS)
3. Enhanced Cookie Consent: Per-service toggles (PostHog and Scarf
separate)
Integration
- App.tsx: Added AppConfigProvider + scarf initializer
- HomePage.tsx: Shows admin modal when needed
- index.tsx: PostHog opt-out by default, service-level consent
Key Benefits
✅ Backward compatible (null defaults to enabled)
✅ Granular control per analytics service
✅ First-launch admin modal (no YAML editing)
✅ Privacy-focused with opt-out defaults
✅ API-based config updates
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-27 16:54:59 +00:00
Ludy
81dec53488
style(frontend): remove redundant React imports in TypeScript components ( #4738 )
...
# Description of Changes
This pull request removes unnecessary imports of the default React
object from multiple frontend files. The changes help clean up the
codebase by only importing specific React hooks where needed, rather
than importing the entire React object.
**Code cleanup and import optimization:**
* Removed default `React` imports from component files, retaining only
the necessary React hooks (such as `useEffect`, `useState`, `useMemo`,
etc.) in files like `FileEditor.tsx`, `FullscreenToolList.tsx`,
`ToolPanel.tsx`, `PageNumberPreview.tsx`, `AdjustContrastPreview.tsx`,
`AutomationRun.tsx`, `LocalEmbedPDFWithAnnotations.tsx`,
`ToolRegistryProvider.tsx`, `useTranslatedToolRegistry.tsx`, and
`AdjustContrast.tsx`.
[[1]](diffhunk://#diff-481d0a2d8a1714d34d21181db63a020b08dfccfbfa80bf47ac9af382dff25310L1-R1)
[[2]](diffhunk://#diff-1d6e9507cb0744e03ec0e80c510874bfc5054986b0275ae3b8592eb67b5ec0f2L1-R1)
[[3]](diffhunk://#diff-8ee3da71652291722dc6130f44565c098fe0f9cdf5e8ec0ba3c631be8980b13eL1-R1)
[[4]](diffhunk://#diff-ecc12bf9b557e947ae2f1866d07446b19bad1fbdf143bf231dd3076b1e794826L1-R1)
[[5]](diffhunk://#diff-6ba4ca6f491368b62e160639e97207f5c1d35fee77f4eebd39133630e0ecb7a1L1-R1)
[[6]](diffhunk://#diff-ff7cba3dba3b1f4ec4c8758a9fbe539351f96225284d0c61cca2642ec7a8e486L1-R1)
[[7]](diffhunk://#diff-d99cf54aa50d266c08844fac31c79e73a7f1714adeedb186d1decab8b9fb7f78L1-R1)
[[8]](diffhunk://#diff-3467ae2b00d2ea95c360bc367adfbae124a4fb1d2627e889d12fb00e288bf508L1-R1)
[[9]](diffhunk://#diff-0a3e636736c137356dd9354ff3cacbd302ebda40147545e13c62d073525d1969L1-R1)
[[10]](diffhunk://#diff-2fed64bea41254c30dcc038f6b92943272bcaa771af200b8a3dc1a2cef6b5ca7L2-R2)
* Removed default `React` imports from presentational and settings
components that do not use JSX at the top level, such as
`Workbench.tsx`, `SliderWithInput.tsx`,
`AdjustContrastBasicSettings.tsx`, `AdjustContrastColorSettings.tsx`,
`AdjustContrastSingleStepSettings.tsx`, `FileSummaryHeader.tsx`,
`SignatureSection.tsx`, `SignatureStatusBadge.tsx`, and
`ThumbnailPreview.tsx`.
[[1]](diffhunk://#diff-6ffa9f7048b8e2a454ccf52b712179784cf32d42ecac9c85331c595a4cee39b4L1)
[[2]](diffhunk://#diff-a1159e58f6668bc6de9595b4014fd7b8e0a19f9efa75294ba80184cfe54b601fL1)
[[3]](diffhunk://#diff-ce5bbd748c15bc456e7f01180b7ff04c80c782e3d6662384f28e032af36ed3ccL1)
[[4]](diffhunk://#diff-494006ec5e237eb7b3a16b9bc144a6ed49ed38c547d95b68a89f69a5af6676ceL1)
[[5]](diffhunk://#diff-e61a3e2d98c9601eea868062258b925e6f6d672f49df14e3684b12f736622db4L1)
[[6]](diffhunk://#diff-97df8b451114e347bb3f581ff5c91057601fb821e224479e1106493ce9479dcdL1)
[[7]](diffhunk://#diff-cc070bfc4dc892a4e9a2be725c9f27ab66bdbc821a525fad10e14b27096d4e5aL1)
[[8]](diffhunk://#diff-c179df2634412e4938bcd686f86b3bdbd1a6039d8a8b62c44fd0c085cc58af74L1)
[[9]](diffhunk://#diff-64403230a8c8e90135bd8d7cd275c40d8e22bd3a22ed642dec5451018eec3c10L1)
These changes reduce unnecessary imports and make the codebase cleaner
and more consistent.
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com >
2025-10-27 16:40:43 +00:00
Anthony Stirling
c33d705c32
update terms ( #4642 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com >
2025-10-27 16:37:13 +00:00
Ludy
12d7165f83
fix: add missing id and name attributes to form input ( #4589 )
...
# Description of Changes
- Updated `TextInput` component to require `id` and `name` props.
- Passed `id` and `name` down to the underlying `<input>` element.
- Updated `ToolSearch` component to provide explicit `id` and `name` for
the search input.
- This ensures form fields have unique identifiers, improving
accessibility, browser autofill support, and form handling.
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com >
2025-10-27 16:26:08 +00:00
Ludy
3e9c55243e
style(frontend): enforce semicolons across auth & shared components ( #4737 )
...
# Description of Changes
This pull request primarily focuses on code style improvements across
several frontend files, standardizing the use of semicolons and ensuring
consistent formatting. No functional or logic changes are introduced;
the updates are purely syntactic to improve code readability and
maintainability.
**Code Style and Formatting Improvements:**
* Added missing semicolons and standardized import statements in
multiple files, including `DividerWithText.tsx`,
`LoginRightCarousel.tsx`, `loginSlides.ts`, `AuthCallback.tsx`,
`Landing.tsx`, `Login.tsx`, and `Signup.tsx`.
[[1]](diffhunk://#diff-5de1b22e63fe3b6c9781c2a476db7440818f18d2aeb5c6c1ddeb446517cf001fL1-R1)
[[2]](diffhunk://#diff-7cc961105816564bebd8656fe59119970d5859b4557f48c37fe920d344a948c3L1-R1)
[[3]](diffhunk://#diff-1fc806abd10f8882945f54b56828db4c4b9a8b986743250b26dd9bdf0ec49bdbL41-R43)
[[4]](diffhunk://#diff-540ce2405611334ce0bdff1f48d187218be99ce64fb92f054b9cf5a71cb1ed8cL1-R3)
[[5]](diffhunk://#diff-d55dde4f28998eb9b30f332a1c96a4c79ec6a70b568bb51eea81d11a3715c35cL1-R5)
[[6]](diffhunk://#diff-183a38f7c78b7c2950c4bed87ff2843de146d960e28591865d91c3cd86c3fadbL1-R39)
[[7]](diffhunk://#diff-0a98c2e661e58f226f98c90b2e82198090b9fd986bbd98c2af6574d19f2ee37aL1-R25)
* Updated function bodies and return statements to use consistent
semicolon placement and code formatting throughout the affected files.
[[1]](diffhunk://#diff-5de1b22e63fe3b6c9781c2a476db7440818f18d2aeb5c6c1ddeb446517cf001fL13-R15)
[[2]](diffhunk://#diff-5de1b22e63fe3b6c9781c2a476db7440818f18d2aeb5c6c1ddeb446517cf001fL27-R35)
[[3]](diffhunk://#diff-7cc961105816564bebd8656fe59119970d5859b4557f48c37fe920d344a948c3L17-R63)
[[4]](diffhunk://#diff-7cc961105816564bebd8656fe59119970d5859b4557f48c37fe920d344a948c3L82-R82)
[[5]](diffhunk://#diff-7cc961105816564bebd8656fe59119970d5859b4557f48c37fe920d344a948c3L158-R158)
[[6]](diffhunk://#diff-540ce2405611334ce0bdff1f48d187218be99ce64fb92f054b9cf5a71cb1ed8cL13-R56)
[[7]](diffhunk://#diff-540ce2405611334ce0bdff1f48d187218be99ce64fb92f054b9cf5a71cb1ed8cL72-R72)
[[8]](diffhunk://#diff-d55dde4f28998eb9b30f332a1c96a4c79ec6a70b568bb51eea81d11a3715c35cL15-R26)
[[9]](diffhunk://#diff-d55dde4f28998eb9b30f332a1c96a4c79ec6a70b568bb51eea81d11a3715c35cL39-R61)
[[10]](diffhunk://#diff-183a38f7c78b7c2950c4bed87ff2843de146d960e28591865d91c3cd86c3fadbL51-R118)
[[11]](diffhunk://#diff-183a38f7c78b7c2950c4bed87ff2843de146d960e28591865d91c3cd86c3fadbL188-R188)
[[12]](diffhunk://#diff-0a98c2e661e58f226f98c90b2e82198090b9fd986bbd98c2af6574d19f2ee37aL1-R25)
No business logic, UI, or feature behavior has been changed as part of
this update.
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
Co-authored-by: ConnorYoh <40631091+ConnorYoh@users.noreply.github.com >
2025-10-27 16:22:56 +00:00
James Brunton
c67859a1ff
Ban lint warnings ( #4753 )
...
# Description of Changes
[See my comment here on why I think we should never allow lint warnings
to be merged into our
source](https://github.com/Stirling-Tools/Stirling-PDF/pull/4738#issuecomment-3451053692 ).
This doesn't change how ESLint behaves at all other than if only
warnings are reported, it'll report failure instead of success.
2025-10-27 16:05:24 +00:00
Dario Ghunney Ware
848ff9688b
V2: Login Feature ( #4701 )
...
This PR migrates the login features from V1 into V2.
---
- Login via username/password
- SSO login (Google & GitHub)
-- Fixed issue where users authenticating via SSO (OAuth2/SAML2) were
identified by configurable username attributes (email,
preferred_username, etc.), causing:
- Duplicate accounts when username attributes changed
- Authentication failures when claim/NameID configuration changed
- Data redundancy from same user having multiple accounts
- Added `sso_provider_id` column to store provider's unique identifier
(OIDC sub claim / SAML2 NameID)
- Added `sso_provider` column to store provider name (e.g., "google",
"github", "saml2")
- User.java:65-69
Backend Changes:
- Updated UserRepository with findBySsoProviderAndSsoProviderId() method
(UserRepository.java:25)
- Modified UserService.processSSOPostLogin() to implement lookup
priority:
a. Find by (`ssoProvider`, `ssoProviderId`) first
b. Fallback to username for backward compatibility
c. Automatically migrate existing users by adding provider IDs
(UserService.java:64-107)
- Updated saveUserCore() to accept and store SSO provider details
(UserService.java:506-566)
OAuth2 Integration:
- CustomOAuth2UserService: Extracts OIDC sub claim and registration ID
(CustomOAuth2UserService.java:49-59)
- CustomOAuth2AuthenticationSuccessHandler: Passes provider info to
processSSOPostLogin()
(CustomOAuth2AuthenticationSuccessHandler.java:95-108)
SAML2 Integration:
- CustomSaml2AuthenticationSuccessHandler: Extracts NameID from SAML2
assertion (CustomSaml2AuthenticationSuccessHandler.java:120-133)
---
- Configurable Rate Limiting
Changes:
- Added RateLimit configuration class to ApplicationProperties.Security
(ApplicationProperties.java:314-317)
- Made reset schedule configurable: security.rate-limit.reset-schedule
(default: "0 0 0 * * MON")
- Made max requests configurable: security.rate-limit.max-requests
(default: 1000)
- Updated RateLimitResetScheduler to use @Scheduled(cron =
"${security.rate-limit.reset-schedule:0 0 0 * * MON}")
(RateLimitResetScheduler.java:16)
- Updated SecurityConfiguration.rateLimitingFilter() to use configured
value (SecurityConfiguration.java:377)
---
- Enable access without security features
Backend:
- Added /api/v1/config to permitAll endpoints
(SecurityConfiguration.java:261)
- Config endpoint already returns enableLogin status
(ConfigController.java:60)
Frontend:
- AuthProvider now checks enableLogin before attempting JWT validation
(UseSession.tsx:98-112)
- If enableLogin=false, skips authentication entirely and sets
session=null
- Landing component bypasses auth check when enableLogin=false
(Landing.tsx:42-46)
- Added createAnonymousUser() and createAnonymousSession() utilities
(springAuthClient.ts:440-464)
Closes #3046
---
## Checklist
### General
- [x] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [x] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [x] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [x] I have performed a self-review of my own code
- [x] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [x] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: stirlingbot[bot] <stirlingbot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ludy <Ludy87@users.noreply.github.com >
Co-authored-by: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com >
Co-authored-by: Ethan <ethan@MacBook-Pro.local >
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com >
Co-authored-by: stirlingbot[bot] <195170888+stirlingbot[bot]@users.noreply.github.com>
2025-10-24 10:49:52 +01:00
James Brunton
c9eee00d66
Refactor to fix circular imports ( #4700 )
...
# Description of Changes
Refactors code to avoid circular imports everywhere and adds linting for
circular imports to ensure it doesn't happen again. Most changes are
around the tool registry, making it a provider, and splitting into tool
types to make it easier for things like Automate to only have access to
tools excluding itself.
2025-10-21 14:53:18 +01:00
James Brunton
3e23dc59b6
Add onboarding flow using Reactour ( #4635 )
...
# Description of Changes
Add onboarding flow
2025-10-20 15:07:40 +01:00
James Brunton
3e6236d957
Add test for missing translations ( #4696 )
...
# Description of Changes
Adds a test to scan the code for any static translation keys which are
not present in the GB translations file. The test won't catch every
missing translation present in our code, but it should greatly help us
keep the translations file up to date.
2025-10-17 16:50:04 +01:00
EthanHealy01
5354f08766
Chore/v2/right rail cleanup ( #4689 )
...
# Description of Changes
- Migrated all dynamic right-rail controls into their owning views (file
editor, page editor, viewer) using dedicated helper hooks, so the rail
is
purely a renderer now.
- Tightened layout/animation: dynamic buttons grow in with a top-down
reveal
and center correctly.
---
## Checklist
### General
- [x] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [x] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [x] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [x] I have performed a self-review of my own code
- [x] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
2025-10-16 15:58:20 +01:00
EthanHealy01
a8573c99b7
V2 Validate PDF Signature tool ( #4679 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com >
2025-10-16 13:45:59 +01:00
ConnorYoh
f6a7b983a0
Hotfix removed UrlSync ( #4685 )
...
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-15 15:30:51 +00:00
EthanHealy01
949a16e6eb
quick Z index fix for file modal ( #4686 )
...
# Description of Changes
<img width="1540" height="788" alt="Screenshot 2025-10-15 at 3 38 45 PM"
src="https://github.com/user-attachments/assets/8e2a486c-1955-4a7b-832f-148883611325 "
/>
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
2025-10-15 16:03:52 +01:00
ConnorYoh
43887c8179
Fix/V2/unzip_images ( #4647 )
...
Method Usage by Context
| Context | Method Used | Respects Preferences | HTML Detection |
|------------------------------|-------------------------------------------------------|------------------------|----------------|
| Tools (via useToolResources) | extractZipFiles() →
extractWithPreferences() | ✅ Yes | ✅ Yes |
| Automation | extractAutomationZipFiles() → extractAllFiles() | ❌ No
(always extracts) | ✅ Yes |
| Manual Unzip | extractAndStoreFilesWithHistory() → extractAllFiles() |
❌ No (always extracts) | ✅ Yes |
| Auto-Upload | extractAllFiles() directly | ❌ No (always extracts) | ✅
Yes |
Detailed Behavior Matrix
| Context | HTML Files | Auto-Unzip OFF | Within Limit | Exceeds Limit |
Notes |
|--------------------------|-------------|----------------|--------------|---------------|----------------------------------------|
| Tools (useToolResources) | Keep zipped | Keep zipped | Extract all |
Keep zipped | Respects user preferences |
| Automation | Keep zipped | Extract all | Extract all | Extract all |
Ignores preferences (automation needs) |
| Manual Unzip | Keep zipped | Extract all | Extract all | Extract all |
User explicitly unzipping |
| Auto-Upload | Keep zipped | Extract all | Extract all | Extract all |
User dropped files |
Simplified Decision Flow
ZIP File Received
│
├─ Contains HTML? → Keep as ZIP (all contexts)
│
└─ No HTML
│
├─ Tools Context
│ ├─ Auto-unzip OFF? → Keep as ZIP
│ └─ Auto-unzip ON
│ ├─ File count ≤ limit? → Extract all
│ └─ File count > limit? → Keep as ZIP
│
└─ Automation/Manual/Auto-Upload
└─ Extract all (ignore preferences)
Key Changes from Previous Version
| Entry Point | Code Path | skipAutoUnzip | Respects Preferences? | HTML
Detection? | Extraction Behavior |
|-----------------------------------------------|----------------------------------------------------------------------------------------|---------------|-----------------------|---------------------------|-------------------------------------------------------------------------|
| Direct File Upload (FileEditor, LandingPage) |
FileContext.addRawFiles() → fileActions.addFiles() | True | ❌ No | ✅ Yes
| Always extract (except HTML ZIPs) |
| Tool Outputs (Split, Merge, etc.) | useToolResources.extractZipFiles()
→ zipFileService.extractWithPreferences() | false | ✅ Yes | ✅ Yes |
Conditional: Only if autoUnzip=true AND file count ≤ autoUnzipFileLimit
|
| Load from Storage (FileManager) | fileActions.addStirlingFileStubs() |
N/A | N/A | N/A | No extraction - files already processed |
| Automation Outputs |
AutomationFileProcessor.extractAutomationZipFiles() →
zipFileService.extractAllFiles() | N/A | ❌ No | ✅ Yes | Always extract
(except HTML ZIPs) |
| Manual Unzip Action (FileEditor context menu) |
zipFileService.extractAndStoreFilesWithHistory() → extractAllFiles() |
N/A | ❌ No | ✅ Yes (blocks extraction) | Always extract (except HTML
ZIPs) - explicit user action |
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-15 14:17:44 +00:00
James Brunton
bcd7762594
Replace kebab menu in file editor with on hover menu ( #4624 )
...
Replace kebab menu in file editor with on hover menu by refactoring page
editor's menu into a new component. In mobile sizes, the hover menus are
always visible.
2025-10-15 14:05:32 +01:00
James Brunton
28e45917a2
Refactor user preferences ( #4667 )
...
# Description of Changes
Refactor user preferences to all be in one service and all stored in
localStorage instead of indexeddb. This allows simpler & quicker
accessing of them, and ensures that they're all neatly stored in one
consistent place instead of spread out over local storage.
2025-10-15 11:53:00 +01:00
Reece Browne
af57ae02dd
Feature/v2/viewer tabs ( #4646 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: James Brunton <james@stirlingpdf.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-10-13 15:03:07 +01:00
ConnorYoh
3cebcc70af
Ignore FIle name and preview in mobile layout of file manager ( #4665 )
...
Ignore filename and preview in compact view of filemanager
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-13 12:13:34 +01:00
Anthony Stirling
e542f4bc61
legacy UI ( #4612 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: EthanHealy01 <ethan.healy.21@gmail.com >
Co-authored-by: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com >
2025-10-10 15:36:35 +01:00
EthanHealy01
a339f71116
Overlay PDF tool ( #4620 )
...
# Description of Changes
- Added the OverlayPDF tool
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
2025-10-10 14:35:09 +01:00
Reece Browne
b695e3900e
Feature/v2/improve sign ( #4627 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: James Brunton <james@stirlingpdf.com >
Co-authored-by: Claude <noreply@anthropic.com >
2025-10-09 13:35:42 +01:00
ConnorYoh
2158ee4db6
Feature/v2/googleDrive ( #4592 )
...
Google drive oss. Shouldn't have any effect on pr deployment.
Mainly the removal of the old integration via backend.
I have added the picker service and lazy loading of the required google
dependency scripts when the necessary environment variables have been
implemented.
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
Co-authored-by: James Brunton <jbrunton96@gmail.com >
2025-10-09 10:22:17 +01:00
James Brunton
3090a85726
Assign shortcuts by default to only the quick access items ( #4622 )
...
# Description of Changes
Change shortcuts to just be a limited set for Quick Access tools rather
than for everything to avoid breaking browser key commands by default.
Also fixes a bunch of types of variables that were representing
`ToolId`s (I stopped at `automate` because there's loads in there so
I've just introduced some `any` casts for now 😭 )
2025-10-08 17:18:05 +01:00
James Brunton
d714a1617f
V2 File Editor Shortcuts ( #4619 )
...
# Description of Changes
Add shortcut icons for Pin and Download, and rename Delete to Close for
consistency with the rest of the tool.
2025-10-07 11:48:42 +01:00
James Brunton
2a29bda34f
Enable ESLint no-undef rule ( #4346 )
...
# Description of Changes
Enable ESLint [no-undef
rule](https://eslint.org/docs/latest/rules/no-undef )
2025-10-06 12:10:00 +00:00
ConnorYoh
ab6edd3196
Feature/v2/toggle_for_auto_unzip ( #4584 )
...
## default
<img width="1012" height="627"
alt="{BF57458D-50A6-4057-94F1-D6AB4628EFD8}"
src="https://github.com/user-attachments/assets/85e550ab-0aed-4341-be95-d5d3bc7146db "
/>
## disabled
<img width="1141" height="620"
alt="{140DB87B-05CF-4E0E-A14A-ED15075BD2EE}"
src="https://github.com/user-attachments/assets/e0f56e84-fb9d-4787-b5cb-ba7c5a54b1e1 "
/>
## unzip options
<img width="530" height="255"
alt="{482CE185-73D5-4D90-91BB-B9305C711391}"
src="https://github.com/user-attachments/assets/609b18ee-4eae-4cee-afc1-5db01f9d1088 "
/>
<img width="579" height="473"
alt="{4DFCA96D-792D-4370-8C62-4BA42C9F1A5F}"
src="https://github.com/user-attachments/assets/c67fa4af-04ef-41df-9420-65ce4247e25b "
/>
## pop up and maintains version metadata
<img width="1071" height="1220"
alt="{7F2A785C-5717-4A79-9D45-74BDA46DF273}"
src="https://github.com/user-attachments/assets/9374cd2a-b7e5-46c4-a722-e141ab42f0de "
/>
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-06 11:29:38 +00:00
Ludy
be7e79be55
fix(viewer): make initial zoom setup robust and clear timers in ZoomAPIBridge ( #4588 )
...
# Description of Changes
**What was changed**
- Reworked the initial zoom `useEffect`:
- Early return when `zoom` is unavailable or initial zoom was already
applied.
- Extracted an `attemptInitialZoom` function with a single retry path.
- Introduced proper timeout handles (`timer`, `retryTimer`) and added a
cleanup function to clear them on unmount/re-render.
- Expanded the effect dependency array to include `zoomState` to avoid
stale state issues.
- Switched to nullish coalescing for safer defaulting of
`currentZoomLevel` (`zoomState.currentZoomLevel ?? 1.4`).
- Minor logging adjustments to clarify delayed/failed initialization
paths.
**Why the change was made**
- The previous implementation risked leaving dangling timers and could
re-attempt zoom unnecessarily, causing flicker or inconsistent initial
zoom when the viewport wasn’t ready.
- Including `zoomState` in dependencies ensures the component reacts to
state changes correctly and avoids stale reads.
- Cleanup of timers prevents memory leaks and race conditions during
rapid mounts/unmounts or navigation.
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
2025-10-06 12:24:12 +01:00
ConnorYoh
eba93a3b6c
Frontend V2 Ui Tweaks ( #4590 )
...
* Top Controls only show when files > 0
* Moved content down so top controls don't obscure
* Viewer background set to match workbench and shadow around pages added
so that page boundaries are visible
* unsaved-changes modal rework
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-03 17:02:05 +01:00
Reece Browne
03e81a0f16
Bug/v2/mime ( #4582 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
2025-10-03 09:19:44 +01:00
Reece Browne
f9ac1bd62e
Feature/v2/navigate save prompt ( #4586 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
2025-10-02 20:14:35 +01:00
ConnorYoh
8aa6aff53a
Config becomes account when enableLogin ( #4585 )
...
<img width="1023" height="1257"
alt="{36B7A86A-4B9A-433F-9784-B9E923FF4872}"
src="https://github.com/user-attachments/assets/b4cf4f1b-d161-457b-a8ef-642e67988cb1 "
/>
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-02 17:49:10 +01:00
EthanHealy01
458bb641b5
Feature/adjust colors contrast tool ( #4544 )
...
# Description of Changes
- Addition of the "Adjust Colors/Contrast" tool
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
2025-10-02 17:48:39 +01:00
ConnorYoh
247f82b5a7
Created shared component ( #4580 )
...
## New one on the left
<img width="1184" height="351"
alt="{A4B797C1-E52E-4F90-8EAA-C53CDD0BBB95}"
src="https://github.com/user-attachments/assets/d6cfbc9f-350d-48b9-8ae3-def723b72ad7 "
/>
<img width="1144" height="1268"
alt="{4EE3680E-EFF2-4C7E-A12F-1050CA96D687}"
src="https://github.com/user-attachments/assets/a7f4c0bc-67c8-4400-bcad-be68108809e1 "
/>
<img width="1114" height="784"
alt="{2811741D-9CEB-47A4-8E7D-CB8CE50B8088}"
src="https://github.com/user-attachments/assets/982dca0f-8505-4f04-b699-7332b1ee81da "
/>
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-02 13:10:13 +01:00
ConnorYoh
06b4c147bd
ph-no-capture tags ( #4579 )
...
added no capture tags to stop posthog capturing recordings of pdf
content
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
2025-10-02 11:36:11 +01:00
Reece Browne
25154e4dbe
Feature/v2/more landing zones ( #4575 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-02 10:40:33 +01:00
Reece Browne
989eea9e24
Feature/viewer annotation toggle ( #4557 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: James Brunton <james@stirlingpdf.com >
2025-10-02 10:40:18 +01:00
ConnorYoh
510e1c38eb
Fix/v2/automate_settings_gap_fill ( #4574 )
...
All implemented tools now support automation bar Sign. Sign will need
custom automation UI support
---------
Co-authored-by: Connor Yoh <connor@stirlingpdf.com >
Co-authored-by: Reece Browne <74901996+reecebrowne@users.noreply.github.com >
2025-10-01 23:13:54 +01:00
Anthony Stirling
d86a13cc89
shortcuts and config menu ( #4530 )
...
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Claude <noreply@anthropic.com >
2025-10-01 20:22:04 +01:00
Anthony Stirling
85dedf4b28
feat: add mobile slider layout for home page ( #4571 )
...
- Fix mobile view toggle buttons not working when clicked (use
offsetWidth instead of clientWidth)
- Add flag to prevent scroll handler interference during programmatic
scrolls
- Move Files button from header to bottom navigation bar
- Add bottom navigation bar with All Tools, Automate, and Files buttons
- Add RightRail to mobile workspace view
- Auto-switch to Tools view when clicking All Tools or Automate in
mobile
- Style bottom bar buttons as full-width clickable areas with labels
🤖 Generated with [Claude Code](https://claude.com/claude-code )
Co-Authored-By: Claude <noreply@anthropic.com ># Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: Claude <noreply@anthropic.com >
2025-10-01 13:21:13 +01:00
Anthony Stirling
0fa53185f2
Add translations for ar-AR, de-DE, fr-FR, it-IT, pt-BR, ru-RU and ena… ( #4572 )
...
…ble in frontend
- Updated ar-AR (Arabic) to 98.7% completion (1088 entries)
- Updated fr-FR (French) to 97.3% completion (1296 entries)
- Updated pt-BR (Portuguese Brazil) to 98.6% completion (1294 entries)
- Updated ru-RU (Russian) to 98.1% completion (1277 entries)
- Updated ja-JP (Japanese) to 73.4% completion (796 entries, batches
1-2)
- Updated es-ES minor corrections
- Enabled 8 languages with >90% completion in LanguageSelector
- Added JSON validation scripts for translation quality assurance
- RTL support already enabled for ar-AR
Enabled languages: en-GB, ar-AR, de-DE, es-ES, fr-FR, it-IT, pt-BR,
ru-RU, zh-CN
🤖 Generated with [Claude Code](https://claude.com/claude-code )
# Description of Changes
<!--
Please provide a summary of the changes, including:
- What was changed
- Why the change was made
- Any challenges encountered
Closes #(issue_number)
-->
---
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
Co-authored-by: Claude <noreply@anthropic.com >
2025-10-01 12:58:41 +01:00
Anthony Stirling
3dd4a33595
Add page numbers ( #4500 )
...
# Description of Changes
Idk why i added a brightness detector for white/black text but hey its
been done now
## Checklist
### General
- [ ] I have read the [Contribution
Guidelines](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/CONTRIBUTING.md )
- [ ] I have read the [Stirling-PDF Developer
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md )
(if applicable)
- [ ] I have read the [How to add new languages to
Stirling-PDF](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md )
(if applicable)
- [ ] I have performed a self-review of my own code
- [ ] My changes generate no new warnings
### Documentation
- [ ] I have updated relevant docs on [Stirling-PDF's doc
repo](https://github.com/Stirling-Tools/Stirling-Tools.github.io/blob/main/docs/ )
(if functionality has heavily changed)
- [ ] I have read the section [Add New Translation
Tags](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/HowToAddNewLanguage.md#add-new-translation-tags )
(for new translation tags only)
### UI Changes (if applicable)
- [ ] Screenshots or videos demonstrating the UI changes are attached
(e.g., as comments or direct attachments in the PR)
### Testing (if applicable)
- [ ] I have tested my changes locally. Refer to the [Testing
Guide](https://github.com/Stirling-Tools/Stirling-PDF/blob/main/devGuide/DeveloperGuide.md#6-testing )
for more details.
---------
Co-authored-by: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com >
2025-10-01 12:18:31 +01:00
Anthony Stirling
a15b0e33d5
test ( #4559 )
2025-10-01 00:03:26 +01:00