Andreas Nedbal
97d55127e4
Fix double nested layouts
2022-11-21 20:26:01 +01:00
Andreas Nedbal
c464e80e45
Fix lints
2022-11-21 20:26:01 +01:00
Andreas Nedbal
d42f1ba0c5
Fix tests
2022-11-21 20:26:01 +01:00
Andreas Nedbal
9bd9c7af9f
Disable Turbo on announcement forms
2022-11-21 20:26:01 +01:00
Andreas Nedbal
54e157ec76
`AnnouncementController` -> `Admin::AnnouncementController`
2022-11-21 20:26:01 +01:00
Andreas Nedbal
cc00fff8cd
Add global anon blocks to moderation sidebar
2022-11-21 20:26:01 +01:00
Andreas Nedbal
695ce57762
Use moderation layout on specific views
2022-11-21 20:26:01 +01:00
Andreas Nedbal
95b501301d
Move moderation layout to proper location
2022-11-21 20:26:01 +01:00
Andreas Nedbal
6d462cbd1b
Add link to admin dashboard to profile dropdown
2022-11-21 20:26:01 +01:00
Andreas Nedbal
d0654d7d9d
Use new layout in announcements views
2022-11-21 20:26:01 +01:00
Andreas Nedbal
4504d5ebac
Add layout and sidebar for administration views
2022-11-21 20:26:01 +01:00
Andreas Nedbal
c61ccfa5c1
Add admin dashboard controller
2022-11-21 20:26:01 +01:00
Andreas Nedbal
f91246986c
Update generated entries to not be new after rendering
2022-11-18 23:35:38 +01:00
Andreas Nedbal
22289f2946
Hide empty text as soon as another inbox entry appears
2022-11-18 23:35:38 +01:00
Andreas Nedbal
44c0136c9e
Remove AJAX question generation code
2022-11-18 23:35:38 +01:00
Andreas Nedbal
d3eae22f13
Generate inbox entries using Turbo Streams
2022-11-18 23:35:38 +01:00
Andreas Nedbal
23dafb5bcb
Merge branch 'main' into feature/privacy-noindex
2022-11-18 23:23:01 +01:00
Andreas Nedbal
d3bfbff30a
Merge branch 'main' into feature/input-placeholder-theming
2022-11-18 23:21:08 +01:00
Andreas Nedbal
fe9a77cd67
Fix lints
2022-11-18 23:19:24 +01:00
Andreas Nedbal
8699a4ca08
Redirect from follower/following page if social graph is hidden
2022-11-18 23:19:24 +01:00
Andreas Nedbal
51a70b67f4
Hide follower/followings tabs if social graph is hidden
2022-11-18 23:19:24 +01:00
Andreas Nedbal
9249ef976b
Add social graph field to privacy settings view
2022-11-18 23:19:24 +01:00
Andreas Nedbal
4c820b472e
Set noindex robots tag on content of users that enable it
2022-11-16 22:33:04 +01:00
Andreas Nedbal
f8e43a9bb0
Add noindex setting to privacy settings view
2022-11-16 22:32:40 +01:00
Andreas Nedbal
921f02c4c9
Fix lints in ThemeHelper
2022-11-15 00:32:54 +01:00
Andreas Nedbal
f35d49e575
Properly handle placeholder fields in theme application
2022-11-14 23:13:22 +01:00
Andreas Nedbal
420a25872e
Allow input placeholder in theme settings
2022-11-14 23:12:39 +01:00
Andreas Nedbal
752d6cb987
Make input placeholder themable
2022-11-14 23:11:23 +01:00
Andreas Nedbal
3cefc829f8
Merge branch 'main' into feature/privacy-require-user
2022-11-13 17:27:53 +01:00
Andreas Nedbal
16c6e7c096
Show message in questionbox that users need to log in
2022-11-13 14:27:33 +01:00
Andreas Nedbal
18b3ac641b
Add user requirement setting to privacy settings
2022-11-13 14:26:03 +01:00
Andreas Nedbal
024a37bdd6
Merge branch 'main' into feature/inbox-locking
2022-11-12 13:39:35 +01:00
Karina Kwiatek
68ca431165
Prevent questions from being sent to banned users
2022-11-12 11:58:20 +01:00
Andreas Nedbal
38332194c7
Show message in questionbox that user locked their inbox
2022-11-06 15:01:20 +01:00
Andreas Nedbal
fa12b19b8a
Prevent questions being sent to users that lock their inbox
2022-11-06 15:01:01 +01:00
Andreas Nedbal
f6c28eefbd
Add inbox locking setting to privacy settings
2022-11-06 15:00:28 +01:00
Andreas Nedbal
049f92e138
Add inbox locking setting to user
2022-11-06 14:59:56 +01:00
Andreas Nedbal
bef1c23a66
reset questionbox character counts after successful submit
2022-10-31 21:23:22 +01:00
Andreas Nedbal
15d05f1699
Merge branch 'main' into feature/stimulus-character-count
2022-10-31 20:56:38 +01:00
Karina Kwiatek
d3b59ae169
Merge pull request #767 from Retrospring/fix/missing-unsubscribe-text-on-comment
...
Fix missing unsubscribe string in answer actions when posting a comment
2022-10-26 11:37:38 +02:00
Karina Kwiatek
0090d1ca4a
Merge pull request #766 from Retrospring/fix/comment-error-on-answer-pages
...
Prevent error when commenting via an answer page
2022-10-26 11:37:29 +02:00
Karina Kwiatek
29608c54c9
Fix missing unsubscribe string in answer actions when posting a comment
2022-10-26 11:32:39 +02:00
Karina Kwiatek
f9f49198fa
Prevent error when commenting via an answer page
2022-10-26 11:29:58 +02:00
Karina Kwiatek
9e52d5b623
Use Lexend 300 as 400
2022-10-26 10:57:55 +02:00
Karina Kwiatek
16ac195ab9
Center-align load more buttons on single column pages
2022-10-25 22:12:51 +02:00
Georg Gadinger
caf73558d6
views: rename .haml to .html.haml
2022-10-25 20:10:31 +02:00
Georg Gadinger
cffb962194
fix parent_layout for HAML 6
2022-10-25 19:35:53 +02:00
Karina Kwiatek
bc1fc50780
Prevent comments from submitting after input as composition ends
2022-10-25 18:57:36 +02:00
Georg Gadinger
430abe8743
make the shared links visible everywhere again
2022-10-25 18:57:11 +02:00
Karina Kwiatek
f6abb8a8ca
Use body font in sweet-alert
2022-10-25 18:56:19 +02:00
Karina Kwiatek
474fac757a
Merge pull request #759 from Retrospring/goodbye-summer
...
Replace Lato font with Lexend
2022-10-25 08:26:05 +02:00
Karina Kwiatek
99955e5452
Replace Lato font with Lexend
2022-10-24 23:43:53 +02:00
Andreas Nedbal
3498bd9072
Use data-turbo-method for mod (un)masking link
2022-10-24 23:34:15 +02:00
Andreas Nedbal
559ed3ecf8
Merge branch 'main' into feature/stimulus-character-count
2022-10-24 23:26:31 +02:00
Georg Gadinger
87ec3093a9
allow for using SVG logos in the navbar
...
this uses our ✨ new and improved✨ logo by default, but can be easily
changed by modifying `/public/logo.svg`. the svg is loaded only once
when the application starts, so any modifications to it after a
deployment are visible immediately.
thanks to the power of CSS and SVG being able to make use of it, custom
colour schemes still work too.
2022-10-24 23:19:51 +02:00
Andreas Nedbal
14199059b4
Filter out selected list from lists dropdown
2022-10-24 23:19:39 +02:00
Andreas Nedbal
c5efbee938
Remove sidebar from timeline layout
2022-10-24 23:19:39 +02:00
Andreas Nedbal
d3faccf85e
Apply review suggestions from @nilsding
...
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-10-24 13:58:54 +02:00
Andreas Nedbal
d11aff1db9
Decrease vertical spacing of inbox action bar
2022-10-24 13:58:54 +02:00
Andreas Nedbal
ccaf519b8f
Remove sidebar template
2022-10-24 13:58:54 +02:00
Andreas Nedbal
9bfc2b9dac
Add top action bar to Inbox
2022-10-24 13:58:54 +02:00
Andreas Nedbal
941e79d33c
Adjust layout of comment input
2022-10-13 22:29:25 +02:00
Andreas Nedbal
724c241bed
Count character count downwards instead of up
2022-10-13 22:29:04 +02:00
Andreas Nedbal
0983ffca3a
Merge branch 'main' into feature/stimulus-character-count
2022-10-13 22:07:15 +02:00
Georg Gadinger
0f9c6f1e07
typoed_email_validator: check for valid TLDs
...
i'm sure there are many more typos waiting to happen. one thing we
can already catch though is the usage of invalid TLDs.
this makes use of my new TLDv gem -- the data it uses can be updated
independently from the main gem.
2022-10-13 21:38:54 +02:00
Georg Gadinger
ea4a661368
typoed_email_validator: add new endings to the typo list
2022-10-13 07:59:54 +02:00
Karina Kwiatek
9004da9bd1
Disable Turbo on Service Settings
2022-10-12 08:58:22 +02:00
Karina Kwiatek
29618d399d
Fix profile menu direction on desktop
2022-10-12 00:04:09 +02:00
Karina Kwiatek
bb94845262
Merge pull request #727 from Retrospring/feature/i19n.js
...
Install i18n-js 4 2: Electric Boogaloo
2022-10-11 23:34:52 +02:00
Georg Gadinger
96d3216d39
Merge pull request #730 from Retrospring/hocus-pocus-there's-pizza-on-your-focus
...
auto-focus text field in ask modal
2022-10-11 22:53:12 +02:00
Karina Kwiatek
59b619324c
Merge pull request #728 from Retrospring/feature/lazy
...
Use appropriate image sizes and lazy loading
2022-10-11 22:36:20 +02:00
Georg Gadinger
4b8490a2d1
auto-foxus text field in ask modal
...
resolves #557
2022-10-11 22:08:59 +02:00
Georg Gadinger
0294225269
typoed_email_validator: add new endings to the typo list
...
gmail.co.uk is registered by the big ad company with the 5000 chat apps,
but it doesn't have a NX record
2022-10-11 20:43:29 +02:00
Andreas Nedbal
3cf985eb11
Use appropriate image sizes and lazy loading in userbox
2022-10-10 23:16:57 +02:00
Andreas Nedbal
ec6f25e16b
Use appropriate image sizes and lazy loading in questions
2022-10-10 23:16:44 +02:00
Andreas Nedbal
8d1bd30615
Use appropriate image sizes and lazy loading in notifications
2022-10-10 23:15:05 +02:00
Andreas Nedbal
fedfbb1333
Use appropriate image sizes and lazy loading in moderationbox
2022-10-10 23:14:45 +02:00
Andreas Nedbal
66c80d2add
Use appropriate image sizes and lazy loading in inbox entry
2022-10-10 23:14:30 +02:00
Andreas Nedbal
99b523bf9c
Use appropriate image sizes and lazy loading in answerbox
2022-10-10 23:14:07 +02:00
Andreas Nedbal
a8c1961af3
Migrate entrypoint to support new i18n-js version
2022-10-10 21:40:30 +02:00
Georg Gadinger
2dfbc1dd3c
typoed_email_validator: add new endings to the typo list
2022-10-02 22:13:34 +02:00
Andreas Nedbal
93d1a4e2cb
Add Stimulus controller to relevant views
2022-10-02 22:10:04 +02:00
Andreas Nedbal
ff5210a891
Implement character count as Stimulus controller
2022-10-02 22:09:34 +02:00
Andreas Nedbal
58d8c827e0
Install and setup Stimulus
2022-10-02 22:09:01 +02:00
Andreas Nedbal
8f2200d3e0
Remove Turbo from 2FA form
2022-09-11 21:59:20 +02:00
Andreas Nedbal
6ee96446dc
Remove legacy pagination
2022-09-08 23:48:01 +02:00
Andreas Nedbal
62b53d8740
Fix notifications pagination not working
2022-09-08 23:35:41 +02:00
Andreas Nedbal
fe922d7aa2
Fix identation
2022-09-08 23:35:41 +02:00
Andreas Nedbal
6ae03dbd7f
Refactor questions to use a Turbo Stream-backed pagination
2022-09-08 23:35:41 +02:00
Andreas Nedbal
b595910564
Refactor timelines to use a Turbo Stream-backed pagination
2022-09-08 23:18:21 +02:00
Andreas Nedbal
5d88dfcb9c
Remove turbo-frame tags in user views
2022-09-08 22:11:26 +02:00
Andreas Nedbal
c60acebf21
Refactor user relationships to use a Turbo Stream-backed pagination
2022-09-08 22:11:26 +02:00
Andreas Nedbal
688a68e769
Refactor user questions to use a Turbo Stream-backed pagination
2022-09-08 22:11:26 +02:00
Andreas Nedbal
753424f2d2
Refactor user answers to use a Turbo Stream-backed pagination
2022-09-08 22:11:26 +02:00
Andreas Nedbal
3074ce3bbe
Set up proper response codes for Turbo Stream responses
2022-09-08 01:00:06 +02:00
Andreas Nedbal
1ac6475fb2
Remove turbo-frame tag in notifications view
2022-09-08 01:00:06 +02:00
Andreas Nedbal
57b638faaa
Remove turbo-frame tag in moderation inbox view
2022-09-08 01:00:06 +02:00
Andreas Nedbal
9212d485fc
Remove turbo-frame tag in inbox view
2022-09-08 01:00:06 +02:00
Andreas Nedbal
073343f56f
Remove turbo-frame tag in moderation report view
2022-09-08 01:00:06 +02:00
Andreas Nedbal
427c6b5d64
Remove obsolete view
2022-09-08 01:00:06 +02:00
Andreas Nedbal
1375293f31
Refactor moderation to use a Turbo Stream-backed pagination
2022-09-08 01:00:06 +02:00
Andreas Nedbal
ae607ac840
Don't duplicate pagination on paging
2022-09-08 00:04:27 +02:00
Andreas Nedbal
c118dab903
Refactor notifications to use a Turbo Stream-backed pagination
2022-09-08 00:04:27 +02:00
Andreas Nedbal
8c14fb5423
Refactor mod inbox to use a Turbo Stream-backed pagination
2022-09-07 22:31:28 +02:00
Andreas Nedbal
8226198f76
Disable Turbo for all Devise forms
2022-09-07 22:19:38 +02:00
Andreas Nedbal
3f79ca70aa
Remove obsolete view
2022-09-04 21:33:37 +02:00
Andreas Nedbal
136f7f117d
Refactor inbox to use a Turbo Stream-backed pagination
2022-09-04 20:24:32 +02:00
Andreas Nedbal
a7e17a07cc
Fix deleting 2FA and regenerating codes not working
2022-09-04 18:34:23 +02:00
Andreas Nedbal
8d1e32e0f3
Disable Turbo for settings forms
2022-09-04 18:34:23 +02:00
Andreas Nedbal
dc91d91c2e
Directly call matching route instead of redirecting for themes
2022-09-04 18:34:23 +02:00
Andreas Nedbal
4b4deecf9c
Update theme deletion to work with Turbo
2022-09-04 18:34:23 +02:00
Andreas Nedbal
674fc04a8b
Update account deletion to work with Turbo
2022-09-04 18:34:23 +02:00
Andreas Nedbal
42a34bced4
Update logout link to work with Turbo
2022-09-04 18:34:23 +02:00
Andreas Nedbal
8814cce171
Rename `turbolinks-track` attribute to `turbo-track`
2022-09-04 18:34:23 +02:00
Andreas Nedbal
f05abed6ef
Rename `turbolinks:load` event to `turbo:load`
2022-09-04 18:34:23 +02:00
Andreas Nedbal
c7ca416e67
Import (and setup) Turbo in TypeScript
2022-09-04 18:34:23 +02:00
Andreas Nedbal
203db7565d
Remove UJS and Turbolinks initializers
2022-09-04 18:34:23 +02:00
Karina Kwiatek
5baafdc38d
Merge pull request #662 from Retrospring/feature/request-js-user
...
Refactor user TS functionality to use `@rails/request.js`
2022-09-03 21:44:48 +02:00
Karina Kwiatek
bc9db3e8fc
Merge pull request #661 from Retrospring/feature/request-js-question
...
Refactor question(box) TS functionality to use `@rails/request.js`
2022-09-03 21:44:38 +02:00
Karina Kwiatek
67546ec857
Merge pull request #660 from Retrospring/feature/request-js-moderation
...
Refactor moderation TS functionality to use `@rails/request.js`
2022-09-03 21:31:24 +02:00
Karina Kwiatek
10b596ed99
Merge pull request #659 from Retrospring/feature/request-js-lists
...
Refactor lists TS functionality to use `@rails/request.js`
2022-09-03 21:31:06 +02:00
Karina Kwiatek
904285ae47
Merge pull request #657 from Retrospring/feature/request-js-answerbox
...
Refactor answerbox TS functionality to use `@rails/request.js`
2022-09-03 21:30:55 +02:00
Andreas Nedbal
6a083230dd
Fixed wrong call of translation method in ban action
2022-09-03 16:42:17 +02:00
Andreas Nedbal
2643d1a524
Refactor user actions to use request.js
2022-09-03 16:36:02 +02:00
Andreas Nedbal
d116e338a3
Move destroying and deleting questions to question/
2022-09-03 16:20:07 +02:00
Andreas Nedbal
dba817c8b6
Refactor question asking on profiles to use request.js
2022-09-03 16:19:32 +02:00
Andreas Nedbal
9c9f56e231
Refactor question asking to use request.js
2022-09-03 16:19:00 +02:00
Andreas Nedbal
2f05708a65
Refactor question answering to use request.js
2022-09-03 16:18:31 +02:00
Andreas Nedbal
918c514f12
Refactor user privilege changing to use request.js
2022-09-03 08:43:19 +02:00
Andreas Nedbal
fe6b6b198f
Refactor report removal to use request.js
2022-09-03 08:42:55 +02:00
Andreas Nedbal
389e1271d7
Refactor global anon blocks to use request.js
2022-09-03 08:42:37 +02:00
Andreas Nedbal
6639519905
Refactor user banning to use request.js
2022-09-03 08:42:17 +02:00
Andreas Nedbal
5aab54acdb
Refactor list membership functionality to use request.js
2022-09-03 07:51:30 +02:00
Andreas Nedbal
41fea7fd5e
Refactor list removal to use request.js
2022-09-03 07:50:33 +02:00
Andreas Nedbal
af0258c8aa
Refactor list creation to use request.js
2022-09-03 07:50:16 +02:00
Andreas Nedbal
3b6ade483f
Refactor question generating to use request.js
2022-09-03 06:58:08 +02:00
Andreas Nedbal
90f33dd76c
Refactor inbox entry deleting to use request.js
2022-09-03 06:57:52 +02:00
Andreas Nedbal
969f7e80f8
Refactor anon blocking to use request.js
2022-09-03 06:57:32 +02:00
Andreas Nedbal
a893d11aa1
Refactor inbox answering to use request.js
2022-09-03 06:57:15 +02:00
Andreas Nedbal
f55efbb017
Refactor inbox deleting to use request.js
2022-09-03 06:56:47 +02:00
Andreas Nedbal
f091fd4193
Remove unused import
2022-09-03 05:20:52 +02:00
Andreas Nedbal
5295dc83c8
Refactor answer subscribing to use request.js
2022-09-03 05:05:43 +02:00
Andreas Nedbal
0aff344581
Refactor answer smile to use request.js
2022-09-03 05:05:21 +02:00
Andreas Nedbal
508c7e844b
Refactor answer destroy to use request.js
2022-09-03 05:05:06 +02:00
Andreas Nedbal
5ea28e1830
Refactor comment smiling to use request.js
2022-09-03 05:04:01 +02:00
Andreas Nedbal
40637c5f6d
Refactor comment creation to use request.js
2022-09-03 05:03:25 +02:00
Andreas Nedbal
2c5da2bc5c
Refactor comment destroy to use request.js
2022-09-03 05:03:04 +02:00
Andreas Nedbal
8ad0cf24b8
Fix bug preventing deletion of freshly created mute rules
2022-09-02 19:59:43 +02:00
Andreas Nedbal
812c9617ff
Refactor mute rule handling to use request.js
2022-08-31 21:46:47 +02:00
Andreas Nedbal
d521800a59
Refactor removal of anon blocks to use request.js
2022-08-31 21:46:10 +02:00