Commit Graph

253 Commits

Author SHA1 Message Date
schlagmichdoch 99b0c6ff01 Fix URL not replaced with link node (fixes #258), beautify text via regex without rendering it, and fix execution order 2024-02-01 14:25:38 +01:00
schlagmichdoch 76e08927de Enable drag and drop and pasting in text fields; Tidy up existing drag and drop code. 2024-02-01 14:25:38 +01:00
schlagmichdoch 2e15a018da Fix Error Invalid Group Specifier Name on Safari by removing REGEX lookbehind group construct (fixes #239) 2024-01-12 01:23:14 +01:00
schlagmichdoch d58f380565 Prevent executing _onCopy() when text is selected on receive text dialog 2024-01-03 16:53:09 +01:00
schlagmichdoch 676c68b6e7 Clear text field when closing receive text dialog 2024-01-03 16:52:26 +01:00
schlagmichdoch dd0dc21db5 Fix replacement of sent URLs with actual links (fixes #231) 2024-01-03 16:51:44 +01:00
schlagmichdoch b90924af68 Merge branch 'master' into translate 2023-12-15 23:51:11 +01:00
schlagmichdoch 6737dcacf7 Defer scripts and prevent deferred stylesheets from being render blocking 2023-12-15 23:40:30 +01:00
schlagmichdoch 939ca3d35d Enable Kannada translation 2023-12-15 22:08:25 +01:00
schlagmichdoch c08b324d6a Refactor localization.js 2023-12-15 21:20:35 +01:00
schlagmichdoch d3a623d352 Refactor for loops to specify imagesOnly to Array.prototype.every() 2023-12-15 21:19:56 +01:00
schlagmichdoch d8f9532039 Parallelize asset loading 2023-12-15 19:39:26 +01:00
schlagmichdoch e06fa47c96 Implement customizable buttons via env vars (fixes #214) 2023-12-13 17:40:48 +01:00
schlagmichdoch 16921cb855 Merge branch 'master' into translate 2023-12-13 17:33:09 +01:00
schlagmichdoch 9b8d824bfc Enable Catalan translation (fixes #217) 2023-12-13 17:33:02 +01:00
schlagmichdoch 132b2ffa65 Rename deferred style sheet 2023-12-13 17:21:21 +01:00
schlagmichdoch 037dab1e46 Merge branch 'translate' into next 2023-12-12 19:10:12 +01:00
schlagmichdoch a94ff0845b Blur base64 fallback textarea when hiding the dialog 2023-12-12 14:19:41 +01:00
schlagmichdoch 73759be0a9 Fix thumbnail creation on iOS devices 2023-12-12 14:07:15 +01:00
schlagmichdoch a5cc115fa6 - Fix theme-wrapper size on touch devices
- Make x-instructor shrinkable on small screens
- Evaluate x-Peers overflow when header expand button is clicked
- Refactor padding/margin classnames
2023-12-12 13:39:55 +01:00
schlagmichdoch 770fb8f1af Fix overflowing Brazilian Portuguese button and change style of current language button 2023-12-12 12:30:01 +01:00
schlagmichdoch da56a7b6bc Merge branch 'next' into translate 2023-12-11 20:10:38 +01:00
schlagmichdoch dcdc9a5269
Merge pull request #208 from schlagmichdoch/enable-multiple-files-cli
Enable sending multiple files via cli
2023-12-11 19:13:49 +01:00
schlagmichdoch 86d1aa3560 Implement thumbnail creation for heic images 2023-12-11 19:00:14 +01:00
schlagmichdoch bf6ac1f02c Refactor .share-panel to .shr-panel because of iOS Safari quirk 2023-12-10 19:41:10 +01:00
schlagmichdoch 2a97a8e5d9 Show placeholder when paired device is removed to prevent removing multiple devices 2023-12-09 19:13:35 +01:00
schlagmichdoch b5535c7ace Make overflowing icons expandable via caret button and fix header btn opacity 2023-12-09 19:13:27 +01:00
schlagmichdoch 78b758b990 Implement the ability to initiate public room creation or device pairing via URL parameter (#207) 2023-12-08 13:57:19 +01:00
schlagmichdoch 5f77c785f9 PublicRoomDialog and PairDeviceDialog method names renamed 2023-12-08 13:57:19 +01:00
schlagmichdoch 10b658e2e9 Centralize evaluation of URL parameters to clean up code and remove redundancies, and streamline Base64Dialog class 2023-12-08 13:57:19 +01:00
schlagmichdoch cb86ce0e39 Streamline client initiation by using await/async instead of .then and events 2023-12-08 13:57:19 +01:00
schlagmichdoch 25d6595a8f Use default translation if any placeholder is missing in the translation string 2023-12-08 13:57:19 +01:00
schlagmichdoch 6a599ed318 Replace checkboxes with sliders to conform the style on all platforms 2023-12-08 13:57:19 +01:00
schlagmichdoch f9a32c3e82 Fix QR-code color and make cursor a pointer for QR-codes 2023-12-08 13:57:19 +01:00
schlagmichdoch 69c8b91239 Revert some "airy" changes and rewrite style sheets to make dialogs centered but scrollable on small screens; Brighten public-room-color slightly 2023-12-08 13:57:19 +01:00
schlagmichdoch a8242cecf7 Refactor URL arguments, localStorage and sessionStorage entries, and IndexedDB/PersistentStorage entries to snake_case. 2023-12-08 13:57:19 +01:00
schlagmichdoch da8178d72e !fixup this if working 2023-12-08 13:57:12 +01:00
schlagmichdoch 0c2da78ed2 Refactor "paste mode" to "share mode"; Introduce a small clipboard panel instead of changing the xNoPeer instructions. This also enables the use of the header btns while sharing; Add possibility to change shared text before sending via a dialog; Add a setting that specifies whether that dialog should always be opened when sharing text 2023-12-08 03:48:43 +01:00
schlagmichdoch 62e198b5d3 Remove File Handling API (fixes #190) 2023-11-23 19:59:56 +01:00
schlagmichdoch 5a2ec9c670 Load initial translation as proper async call instead of using an event 2023-11-23 19:59:29 +01:00
schlagmichdoch d78c138dad Merge branch 'next' into translate 2023-11-23 19:46:02 +01:00
schlagmichdoch e37c31a784 Merge next into fix-send-text-dialog-cut-off 2023-11-23 19:16:29 +01:00
schlagmichdoch f27ecf1541 Remove connection-hash from UI for now 2023-11-23 17:41:42 +01:00
schlagmichdoch 713929d581 Change document title to "PairDrop | Transfer Files Cross-Platform. No Setup, No Signup." 2023-11-23 17:41:42 +01:00
schlagmichdoch e99f841067 Change button and dialog style and add soft gradients to make it more "airy" and give it overall a more modern look; Make dark mode real black; Add overflow shadow to ReceiveText, SendText and EditPairedDevices Dialog 2023-11-23 17:41:16 +01:00
schlagmichdoch f53832ead1 Increase text input font size to 16px to prevent automatic zooming on iOS devices; Remove spellcheck and autocapitalize prevention and change receive text style 2023-11-20 05:27:22 +01:00
Luiz Fernando 1e5bae6c21 add Brazilian Portuguese translate 2023-11-16 15:02:13 -03:00
schlagmichdoch 00e7394740 Reduce Scripts needed on start up to reduce critical requests aka speed up initial loading 2023-11-11 19:56:23 +01:00
schlagmichdoch bdc8a6b111 Only start loading of deferred assets after UI is ready 2023-11-11 19:16:00 +01:00
schlagmichdoch 99332037bf Defer loading of all render-blocking resources until the UI has loaded 2023-11-09 04:45:46 +01:00