Commit Graph

1034 Commits

Author SHA1 Message Date
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 29bede6109 Fix setTimeout syntax 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 2346c97118 Always show x-toast in light mode colors if any dialog is shown; Remove redundant color specification 2023-12-08 13:57:19 +01:00
schlagmichdoch ae0cbec86e Fix wifi-tether in android icons do not have the correct size; Make favicons white 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 5a2ec9c670 Load initial translation as proper async call instead of using an event 2023-11-23 19:59:29 +01:00
schlagmichdoch 021c67bd77
Merge pull request #206 from schlagmichdoch/fix-send-text-dialog-cut-off
Make style more airy; Dark mode real black; Recreate Icons
2023-11-23 19:36:15 +01:00
schlagmichdoch e37c31a784 Merge next into fix-send-text-dialog-cut-off 2023-11-23 19:16:29 +01:00
schlagmichdoch 4b90f3e2e8
Merge pull request #202 from schlagmichdoch/tidy_up_codebase
Refactor codebase, modularize server and decrease redundancies
2023-11-23 17:58:20 +01:00
schlagmichdoch fa16341309 Merge branch 'next' into tidy_up_codebase 2023-11-23 17:57:40 +01:00
schlagmichdoch 73e38af896 Add avieshek to credits on README 2023-11-23 17:41:43 +01:00
schlagmichdoch 353a2606b6 Conform icons by making transparent icons cropped version of maskable icons (#201) 2023-11-23 17:41:43 +01:00
schlagmichdoch 4db8d09ac8 Change font to Open Sans (#200) 2023-11-23 17:41:42 +01:00
schlagmichdoch 80e34bd449 Recreate blue icons without drop shadow and gradient as background 2023-11-23 17:41:42 +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
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
schlagmichdoch 778d49e84b prevent config from being cached but preserve offline capability 2023-11-09 01:02:54 +01:00
schlagmichdoch 9a2227c30f Enable Turkish translation 2023-11-09 01:02:52 +01:00
Mustafa Açık 4773a9470d Translated using Weblate (Turkish)
Currently translated at 100.0% (147 of 147 strings)

Translation: PairDrop/pairdrop-spa
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/tr/
2023-11-09 01:02:14 +01:00
schlagmichdoch 175a0e397d prevent Apple devices from fetching non-existent image file `GET "/apple-touch-icon-precomposed.png"` 2023-11-09 01:02:14 +01:00
schlagmichdoch cf55117a61 tidy up code and conform use of setAttribute/removeAttribute 2023-11-09 01:02:14 +01:00
schlagmichdoch 55d85ea7fb fix localization of html data attributes 2023-11-09 01:02:14 +01:00
schlagmichdoch 3439e7f6d4 Decrease redundancy by changing the way the websocket fallback is included; Adding new env var SIGNALING_SERVER to host client files but use another server for signaling. 2023-11-09 01:02:03 +01:00
schlagmichdoch cb72edef20 Modularize server into multiple files 2023-11-09 01:00:07 +01:00
schlagmichdoch d9270a5560 Try to beautify code by adding line breaks 2023-11-09 00:59:55 +01:00
schlagmichdoch c068a2e329 Fix missing async in Notification class; Fix too many arguments for window.open function 2023-11-02 02:57:20 +01:00
schlagmichdoch d388f7e3cd Partly replace `_ =>` with `() =>` globally to conform with Googles JavaScript style guide if no parameters are expected in arrow functions 2023-11-02 02:57:20 +01:00
schlagmichdoch d84c7d1f84 Tidy up Javascript files 2023-11-01 21:56:25 +01:00
schlagmichdoch cb8d6448f5 Delay loading of saved displayName until after the websocket is open to display "Loading…" until then 2023-11-01 21:56:25 +01:00
schlagmichdoch ddeafd1b46 Merge branch 'translate' to add Turkish translation 2023-10-31 08:19:07 +01:00
schlagmichdoch f8e7213501 Enable Turkish translation 2023-10-31 08:18:23 +01:00
schlagmichdoch 201d30c664 Add new translations to websocket fallback version 2023-10-31 08:12:53 +01:00
schlagmichdoch dc1e1625f9
Merge pull request #193 from weblate/weblate-pairdrop-pairdrop-spa
Completed Turkish translation
2023-10-31 08:11:37 +01:00
Mustafa Açık e24a044bf1
Translated using Weblate (Turkish)
Currently translated at 100.0% (147 of 147 strings)

Translation: PairDrop/pairdrop-spa
Translate-URL: https://hosted.weblate.org/projects/pairdrop/pairdrop-spa/tr/
2023-10-30 06:15:37 +01:00
schlagmichdoch 1c79290ad6 - add guide to documentation and example files to repository to run coturn alongside PairDrop via Docker Compose
- enable TURN over TLS
- modified the .gitignore to ignore files with user-data
- should fix #105
- partly cherry-picked from #106

Co-authored-by: xundeenergie <xundeenergie@users.noreply.github.com>
2023-10-28 04:46:02 +02:00
schlagmichdoch 750f54301d Conform the use of docker images by implementing the use of environment variables for all options available to Docker images and start node on docker run automatically. 2023-10-28 03:46:31 +02:00