Commit Graph

215 Commits

Author SHA1 Message Date
Karina Kwiatek b02375985a Add option to send question to own inbox 2023-12-11 23:14:58 +01:00
Andreas Nedbal e318763801 Remove legacy smile TypeScript functionality 2023-12-09 00:59:14 +01:00
Ahmed Ejaz e5fe0c6958 #1448, add copy to clipboard button on inbox share dialogue 2023-11-26 17:12:56 +01:00
Ahmed Ejaz 8fa6c24b4a #1443, fix error upon comment 2023-11-12 01:19:04 +01:00
Ahmed Ejaz 2392153af1 #1427, fix disabled button issue 2023-11-09 20:07:10 +01:00
Andreas Nedbal 31ccc7c11b Remove TypeScript relationship functionality 2023-10-28 10:41:24 +02:00
Andreas Nedbal 42b5b6ccc2 Remove TypeScript subscription functionality 2023-10-25 03:14:57 +02:00
Andreas Nedbal c09cc85c4f Adjust class references to question CSS classes 2023-10-22 21:04:30 +02:00
Andreas Nedbal 8b86e2f123 Set text and URL separately for `navigator.share`
Apparently for most mobile OSses `url` is a required share option
2023-10-18 20:01:59 +02:00
Andreas Nedbal 87813d3005 Fix sharing condition 2023-10-17 20:14:28 +02:00
Andreas Nedbal 5ccdd9bbc2 Remove answerbox-specific sharing feature 2023-10-17 20:14:28 +02:00
Andreas Nedbal 3feb827b16 Add support for sharing dialog in inbox answer sharing 2023-10-17 20:14:28 +02:00
Karina Kwiatek 7eee7d38c6
Merge pull request #1370 from Retrospring/bugfix/webpush-registration-catch
Rewrite WebPush enable handler to properly catch errors
2023-10-15 15:35:53 +02:00
Andreas Nedbal ac05489329 Limit comment toggle querySelector call to nearest answerbox 2023-10-15 10:17:13 +02:00
Andreas Nedbal 9e35c036b1 Rewrite WebPush enable handler to properly catch errors 2023-10-14 20:57:09 +02:00
Karina Kwiatek a39696dd3e Add shortcut for writing new comment 2023-04-29 09:34:26 +02:00
Karina Kwiatek da186747cc Handle clicking the comment submit button 2023-03-18 15:24:36 +01:00
Karina Kwiatek fc90b746c9 Remove debug 2023-03-07 19:14:57 +01:00
Karina Kwiatek abff39557d Allow multi-line comments 2023-03-07 17:57:41 +01:00
Karina Kwiatek cdcff88649 Always register PWA
This is required for installability.
2023-02-23 16:54:25 +01:00
Karina Kwiatek 1c0e82053c Remove unused import in inbox 2023-02-18 18:00:49 +01:00
Karina Kwiatek 59c0dce9b4 Disable relationship action buttons while waiting for a response 2023-02-07 23:39:13 +01:00
Andreas Nedbal a4195a158f Update TypeScript to support new sharing feature 2023-02-05 21:54:51 +01:00
Andreas Nedbal 83d386267a Remove inbox entry options collapse 2023-02-05 21:54:51 +01:00
Andreas Nedbal 6c25594b88 Get the username of the currently searched author correctly 2023-01-28 19:18:02 +01:00
Andreas Nedbal 8dd49d3a8c Remove author search handler 2023-01-28 19:17:04 +01:00
Andreas Nedbal 3b1f9bf4cb Remove legacy cropping feature 2023-01-22 17:43:20 +01:00
Andreas Nedbal c122652275 Increase allowed comment length to 512 characters 2023-01-22 10:36:23 +01:00
Karina Kwiatek 9e25a36196 Fix 'Buffer is not defined' on push enable 2023-01-22 00:04:10 +01:00
Andreas Nedbal de3e04812d Merge branch 'main' into feature/theme-stimulus 2023-01-21 13:40:58 +01:00
Andreas Nedbal e81e85cf9a Remove capabilities feature 2023-01-21 04:53:20 +01:00
Andreas Nedbal 79fa204897 Remove theming handler features 2023-01-17 07:38:02 +01:00
Karina Kwiatek cfba963b55 Only reset character counters when they are present
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2023-01-08 18:51:43 +01:00
Karina Kwiatek 122be928bf
Merge pull request #934 from Retrospring/more-obvious-sharing-options
Make sharing options more obvious
2023-01-08 11:24:50 +00:00
Karina Kwiatek 4ac3483f1a Make sharing options more obvious 2023-01-06 17:38:27 +01:00
Karina Kwiatek 4457f2ed26 Prevent push enable prompt (inbox) when already subscribed 2023-01-05 23:20:36 +01:00
Karina Kwiatek 01f4ed499d Ensure enable button doesn't unexpectedly disappear
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2023-01-05 11:53:19 +01:00
Karina Kwiatek 7673ecdadf Add missing return to subscription check 2023-01-05 11:22:43 +01:00
Karina Kwiatek 8a754de85c Rename subscriptionCheck.ts to settingsButtons.ts 2023-01-05 11:22:27 +01:00
Karina Kwiatek d288f6d6a3 Move subscription check logic into separate initializer 2023-01-05 11:08:13 +01:00
Karina Kwiatek e93531a4af Prevent WebPush init from attaching events multiple times 2023-01-05 10:53:04 +01:00
Georg Gadinger b728c494d7 remove flag leftovers 2023-01-05 10:37:44 +01:00
Andreas Nedbal 49a972bfd3 Remove jQuery call to close question modal 2023-01-05 10:35:52 +01:00
Andreas Nedbal 4d417f15c5 Fix event registration for modal autofocus 2023-01-05 10:35:52 +01:00
Karina Kwiatek 9fd3940b7d Don't check push subscription when not logged in 2023-01-04 16:34:38 +01:00
Karina Kwiatek 3033ad4400 Fix error in checkSubscription and improve logging 2023-01-03 18:12:13 +01:00
Karina Kwiatek 35a3b6b87a Hide push notification prompt in inbox after accepting 2023-01-02 13:51:02 +01:00
Karina Kwiatek 05a8ef1797 Allow re-enabling push notifications after unsubscribing 2023-01-02 13:51:02 +01:00
Karina Kwiatek 1a29a19e9d Allow setting up push when service worker hasn't been registered yet.
We don't register the service worker until the user opts in for push notifications.
2023-01-02 13:51:02 +01:00
Karina Kwiatek 2417354b31 Unsubscribe client on too many failures 2023-01-02 11:52:02 +01:00