Commit Graph

1093 Commits

Author SHA1 Message Date
Andreas Nedbal 383ef62603 Translate `ServicesController` views 2022-01-29 20:08:41 +01:00
Andreas Nedbal 594eaedce2 Fix HAML codestyle 2022-01-25 22:31:25 +01:00
Andreas Nedbal f334a6fea9 Remove error section on announcement new/edit forms 2022-01-25 22:31:25 +01:00
Andreas Nedbal 1a3cc96809 Translate `Announcement#index` 2022-01-25 22:31:25 +01:00
Andreas Nedbal 3404b337eb Add ActiveModel-scoped locales for `Announcement` model 2022-01-25 22:31:25 +01:00
Andreas Nedbal 8d73008ebf Address review suggestions 2022-01-24 20:13:09 +01:00
Andreas Nedbal aec10cbb9a Hide locale switcher 2022-01-24 20:13:09 +01:00
Karina Kwiatek d20e07ee19 Remove relationship counters in `users` table 2022-01-23 16:48:53 +01:00
Karina Kwiatek ce951453a2 Make relationships polymorphic 2022-01-23 16:48:53 +01:00
Andreas Nedbal d56dfc02f9 Move consent POST-logic to separate action 2022-01-22 22:50:32 +01:00
Andreas Nedbal 77c6dc7120 Turn `feedback_features_path` into snake_case 2022-01-22 22:50:32 +01:00
Andreas Nedbal 153ba70aea Sort feedback items alphabetically 2022-01-22 22:50:32 +01:00
Andreas Nedbal eecaaeab2d Hide navigation section if Canny is not configured 2022-01-22 22:50:32 +01:00
Andreas Nedbal 2f7d7b2601 Fix HAML codestyle of navigation partials 2022-01-22 22:50:32 +01:00
Andreas Nedbal 3bd43f1cf2 Add feedback links to navigation 2022-01-22 22:50:32 +01:00
Andreas Nedbal 4e9f83330b Fix HAML codestyle 2022-01-22 22:50:32 +01:00
Andreas Nedbal 7374aba6d3 Add generation of the Canny SSO token 2022-01-22 22:50:32 +01:00
Andreas Nedbal 0b76ceb73d WIP: Canny integration 2022-01-22 22:50:32 +01:00
Karina Kwiatek 04177cc135 Use `button_to` instead of `link_to` for post in security settings 2022-01-15 17:57:51 +01:00
Karina Kwiatek f13e84319e Use `button_to` instead of `link_to` for post in service settings 2022-01-15 17:57:51 +01:00
Andreas Nedbal 75b93d3535 Use `button_to` helper to generate a proper logout button 2022-01-15 09:25:30 +01:00
Andreas Nedbal 2647a553ec Remove legacy stylesheet pack tag 2022-01-12 22:36:17 +01:00
Andreas Nedbal 25408cdcf2 Remove unneeded stylesheet_link_tag 2022-01-11 22:41:37 +01:00
Georg Gadinger 331f6477b8 confirmation_instructions: add "do not reply" remark to the email body
There have been several replies to this email containing nothing but the
sentence `Yes, I confirm.` or just simply `Confirmed`.  It seems like
someone discovered that replying to the email with exactly that helped
with recovering their Twitter account after it was locked, and now people
try to do this everywhere else.
2022-01-09 22:57:01 +01:00
Andreas Nedbal da26bbc6c0 Port comment toggle functionality to TypeScript 2022-01-09 16:05:37 +01:00
Andreas Nedbal 75853612f6 Completely remove legacy moderation script entrypoint 2022-01-08 20:28:52 +01:00
Andreas Nedbal 01bedd1143 Port report comment toggle feature to TypeScript 2022-01-08 20:28:52 +01:00
Andreas Nedbal 00cd54e082 Port ban functionality to TypeScript 2022-01-08 20:28:52 +01:00
Andreas Nedbal 5b324caf7c Add stylesheet pack tag import to load library styles 2022-01-07 22:17:29 +01:00
Karina Kwiatek 136e2fa016
Merge pull request #272 from Retrospring/feature/social-post-tagging
Add the ability to post to services with a tag
2022-01-07 19:40:52 +01:00
Karina Kwiatek fed37ec81c
Merge pull request #277 from Retrospring/refactor/typescript-settings
Port Settings functionality to TypeScript
2022-01-07 15:14:29 +01:00
Karina Kwiatek 96e48a833b
Merge pull request #194 from Retrospring/refactor/user-bans
Implement ban history
2022-01-06 14:05:33 +01:00
Karina Kwiatek 75d24db1b9
Merge pull request #269 from Retrospring/feature/mod-pagination
Pagination in moderation panel
2022-01-06 14:05:12 +01:00
Andreas Nedbal 12430aebf1 Port theme functionality to TypeScript 2022-01-06 03:21:09 +01:00
Karina Kwiatek 023b642bc1 Disallow @ symbols from post tags
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2022-01-05 19:50:01 +01:00
Karina Kwiatek 683fffd734 Add the ability to post to services with a tag 2022-01-05 19:49:59 +01:00
Andreas Nedbal ceeca7483e Fix haml-lint nits 2022-01-04 00:05:11 +01:00
Andreas Nedbal 3df0196e1f Add `questionbox` class to questions
...so they get removed from the DOM after deletion
2022-01-04 00:05:11 +01:00
Andreas Nedbal a524a244a9 Use utility class instead of inline style on promotion container 2022-01-04 00:05:11 +01:00
Karina Kwiatek c19b2df93c Implement pagination in Moderation Panel view 2022-01-03 23:23:12 +01:00
Karina Kwiatek 2cab96b9af Implement cursored pagination in Moderation Panel 2022-01-03 22:43:37 +01:00
Andreas Nedbal 4be25b2a1a Replace inline style on inbox entry options with utility class 2022-01-03 16:33:06 +01:00
Karina Kwiatek 6500d7ac71 Update usages of bans 2022-01-02 19:50:44 +01:00
Karina Kwiatek ea62d91014 Make ban UI more intuitive when a user is already banned 2022-01-02 19:50:02 +01:00
Karina Kwiatek 9a35584284 Refactor ban-related functionality into use cases 2022-01-02 19:50:01 +01:00
Karina Kwiatek b7ce9cdbba
Merge pull request #222 from Retrospring/feature/muting 2022-01-02 15:31:49 +01:00
Karina Kwiatek abe33a831f Fix lint errors 2022-01-02 01:55:52 +01:00
Karina Kwiatek 23a5fb55d1 Implement frontend for adding mute rules 2022-01-02 01:55:52 +01:00
Karina Kwiatek 6b626765a8 Create views for managing muted words 2022-01-02 01:55:52 +01:00
Andreas Nedbal bc316757c3 Fix haml-lint nit 2022-01-02 01:27:03 +01:00
Andreas Nedbal dabc917ab5 Align dropdown-menu to the right 2022-01-02 01:27:03 +01:00
Andreas Nedbal 92544370b6 Make entirity of "Lists" dropdown clickable 2022-01-02 01:27:03 +01:00
Andreas Nedbal a4041e5da6 Remove another paragraph where questions are rendered 2022-01-01 02:04:49 +01:00
Andreas Nedbal 4fb1f3f38c Fix wrong spacing in inbox entries 2022-01-01 01:50:46 +01:00
Andreas Nedbal f803a972b9 Fix haml-lint nit 2021-12-31 22:40:38 +01:00
Andreas Nedbal a0a403ca4f Use `rel="nofollow"` in linkfilter view 2021-12-31 22:40:38 +01:00
Andreas Nedbal 1f2c9a08eb Fix haml-lint nits 2021-12-31 22:40:38 +01:00
Andreas Nedbal 67ee589b5b Add question markup renderer 2021-12-31 22:40:38 +01:00
Andreas Nedbal 09172a56ef Add linkfilter action 2021-12-31 22:40:38 +01:00
Georg Gadinger 34aeb2350c views: add rel=nofollow to some links 2021-12-31 19:30:18 +01:00
Andreas Nedbal a78cb2f2c9 Open profile website links in a new tab 2021-12-30 00:32:46 +01:00
Andreas Nedbal e3c9d1b7b4 Update mail notice to mention people to look at their spam folder 2021-12-27 20:51:36 +01:00
Andreas Nedbal 3f4bd13486 Add notice on registering about issues with Hotmail/Outlook 2021-12-27 01:44:10 +01:00
Andreas Nedbal 5fcf24646e Open share widgets in new tab 2021-12-26 23:28:46 +01:00
Andreas Nedbal fa37f5c857 Add share links to answerboxes 2021-12-26 22:06:52 +01:00
Karina Kwiatek 053ebafbc5
Merge pull request #213 from Retrospring/refactor/profile
Move profile fields to seperate table
2021-12-25 22:44:10 +01:00
Karina Kwiatek 842f51d745 Replace remaining usages of `user.display_name` 2021-12-23 22:01:56 +01:00
Karina Kwiatek df606a768e Update usage of `display_name` in shared sidebar 2021-12-23 21:49:42 +01:00
Karina Kwiatek c995ead1e0 Add accept attribute to file inputs 2021-12-22 16:38:37 +01:00
Karina Kwiatek 8fa4feb469 Add endpoint for updating profile 2021-12-22 00:03:19 +01:00
Karina Kwiatek 00496a1596 Update remaining references to profile fields 2021-12-22 00:03:19 +01:00
Karina Kwiatek ab720f3f55 Update references to profile fields 2021-12-22 00:03:18 +01:00
Andreas Nedbal 6639f6646a only count active users on about page 2021-10-03 20:40:25 +02:00
Karina Kwiatek adf9301971
Merge pull request #201 from Retrospring/fix/tablet-ask-fab
Fix ask fab not being visible at tablet size
2021-09-24 00:42:38 +02:00
Karina Kwiatek 3a8d207b70 Fix ask fab not being visible at tablet size 2021-09-24 00:06:23 +02:00
Karina Kwiatek ab83ee197e Remove quotes in rails admin option 2021-08-30 00:21:34 +02:00
Karina Kwiatek 89ce3e6e53
Merge pull request #184 from Retrospring/mobile-layout
Adjust site layout to be nicer to use on smaller screens
2021-08-13 12:11:38 +02:00
Karina Kwiatek d76af263ce Style and position badges on mobile nav 2021-08-12 21:56:28 +02:00
Karina Kwiatek 72e9ca61aa
Merge pull request #187 from Retrospring/fix/question-link-visibility
Show question link for answered questions with only one answer
2021-08-12 15:40:09 +02:00
Karina Kwiatek ec2332818c Show mobile nav bar badges as pills 2021-08-12 13:29:50 +02:00
Karina Kwiatek da70238667 Fix linter errors 2021-08-12 01:18:10 +02:00
Karina Kwiatek 31bcc33850 Set the correct theme-color when top navigation is being used 2021-08-12 00:38:03 +02:00
Karina Kwiatek aeb924cab9 Use correct body padding when not logged in to allow for top navigation bar 2021-08-12 00:37:59 +02:00
Karina Kwiatek d86bf2bf9d Use notification_count helper to get notification count for icon badge 2021-08-12 00:37:47 +02:00
Karina Kwiatek 38bd282b38 Make notification icon show notification count badge 2021-08-12 00:37:47 +02:00
Karina Kwiatek 31a8bf6f00 Add mobile user menu 2021-08-12 00:37:47 +02:00
Karina Kwiatek 0886daa62d Remove icon from brand in desktop navbar 2021-08-12 00:37:47 +02:00
Karina Kwiatek d27ae910c2 Adjust theme-color for mobile layout 2021-08-12 00:37:47 +02:00
Karina Kwiatek e213041d47 Add mobile navigation bar 2021-08-12 00:37:47 +02:00
Karina Kwiatek be1afe01e9 Fill horizontal space on medium-sized viewports
This removes the horrible side margins on portrait tablets
2021-08-12 00:37:41 +02:00
Karina Kwiatek c90daf1756 Skip inbox entry actions menu if it's be empty 2021-08-11 22:38:53 +02:00
Karina Kwiatek 649bacfc45 Move report and rails admin buttons to a dropdown menu in the card header 2021-08-11 22:35:07 +02:00
Karina Kwiatek 77ec8e2f4b Add report button to answerboxes 2021-08-11 22:11:23 +02:00
Karina Kwiatek 56786ebb38 Add direct field to questions
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2021-08-11 16:56:58 +02:00
Karina Kwiatek 5e7042ad6c Show question link for answered questions with only one answer
Closes #43
2021-08-11 14:44:41 +02:00
Karina Kwiatek 466f435116 Add rails admin link to inbox entries 2021-08-11 13:31:33 +02:00
Karina Kwiatek 11e8555dae
Merge pull request #183 from Retrospring/feature/web-share
Add share buttons to answers using Web Share API
2021-08-10 20:26:47 +02:00
Karina Kwiatek aa9fc54ad2 Ensure answerboxes on profiles can properly attach sharing functionality 2021-08-10 18:07:33 +02:00
Karina Kwiatek 86d179d590
Merge branch 'master' into feature/opengraph 2021-08-08 14:24:05 +02:00
Karina Kwiatek 5b087cde3c Use :ruby filter in user/show 2021-08-06 13:52:11 +02:00