Commit Graph

167 Commits

Author SHA1 Message Date
Karina Kwiatek 2d01d9b365 Apply review suggestions
Co-authored-by: Andreas Nedbal <git@pixelde.su>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-08-20 19:05:55 +02:00
Karina Kwiatek ae5d8931af Implement frontend for blocking users site-wide 2022-08-20 19:03:05 +02:00
Karina Kwiatek e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Georg Gadinger 66efa5d4f4 clean up routes
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
  `profile`, `question`, `answer` so `url_for` (used by Rails Admin)
  works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
  uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek 597f8b74cb Fix everyone showing up as anonymous outside of moderation view 2022-06-27 00:41:26 +02:00
Karina Kwiatek e5b8ea017c Show anon identifier in tooltip when unmasking 2022-06-26 21:07:28 +02:00
Karina Kwiatek be8ba63b95 Add a way for moderators to view user inboxes 2022-06-23 22:17:14 +02:00
Karina Kwiatek cd581fd2b1 Move anon icon tooltip text into translatable string 2022-06-23 21:29:27 +02:00
Karina Kwiatek a2937a60e9 Add icon for anonymous questions 2022-06-23 21:29:27 +02:00
Karina Kwiatek d1ad34eb9c Apply anon display name settings to question author display 2022-06-23 21:29:27 +02:00
Karina Kwiatek f379845615 Add frontend for blocking anonymous users 2022-06-15 14:26:48 +02:00
Andreas Nedbal a0741a9a68 Add translations for inbox entry 2022-04-25 19:40:23 +02:00
Andreas Nedbal 14d0074cb8 Add translations for inbox sidebar 2022-04-25 19:40:23 +02:00
Andreas Nedbal 5829dc51ec Add translations for inbox show view 2022-04-25 19:40:23 +02:00
Andreas Nedbal 4be25b2a1a Replace inline style on inbox entry options with utility class 2022-01-03 16:33:06 +01:00
Andreas Nedbal 4fb1f3f38c Fix wrong spacing in inbox entries 2022-01-01 01:50:46 +01:00
Andreas Nedbal 67ee589b5b Add question markup renderer 2021-12-31 22:40:38 +01: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 466f435116 Add rails admin link to inbox entries 2021-08-11 13:31:33 +02:00
Dominik Kwiatek cddb50cc22 Update dependencies and fix new lint warnings 2020-11-16 18:18:42 +01:00
Dominik M. Kwiatek abf78d4f49 Don't center content on Desktop
Suggestions from @pixeldesu's review

Co-authored-by: Andreas Nedbal <andy@pixelde.su>
2020-05-29 23:05:38 +02:00
Dominik M. Kwiatek ee947f2428 Make the "Load more" button center-aligned and give it "button" styling
Fixes #107
2020-05-29 23:05:38 +02:00
Andreas Nedbal 66b2afc976 Turn single-word strings into symbols 2020-05-11 19:40:45 +02:00
Andreas Nedbal 3a335798fe Fix lints in app/views/inbox 2020-05-11 19:40:43 +02:00
Andreas Nedbal 937f24839d Fix profile links on new inbox entries being not visible 2020-05-09 11:41:24 +02:00
Georg Gadinger 0d28152f3e Fix items being inserted after "Load More" button 2020-05-09 04:51:14 +02:00
Andreas Nedbal eec9637aef Add spacing to inbox user avatars 2020-05-09 00:13:53 +02:00
Andreas Nedbal d607a8790b Fix styling of new inbox entries 2020-05-07 15:01:35 +02:00
Andreas Nedbal 85d97b0c71 Rename changed classes across templates 2020-05-02 20:35:48 +02:00
Andreas Nedbal e9e0a222b0 Merge branch 'master' into feature/bootstrap 2020-04-27 02:11:54 +02:00
Georg Gadinger b2b6419b5d Use HTTPS in links 2020-04-26 23:16:20 +02:00
Georg Gadinger aeef50ad78
Merge pull request #86 from Retrospring/cleanup
Minor Cleanup
2020-04-26 20:03:46 +02:00
Andreas Nedbal 0afff3f84d Adjustments and smaller fixes
- Fixed initially selected Discover tabs being empty
- Removed spacing classes from inbox templates
- Fixed feed layout and sidebar display
- Adjust some profile layout nits
2020-04-26 16:25:54 +02:00
Andreas Nedbal e56e65cf40 Further adjustments to inbox layout
- Fixed base styling of cards due to layout differences between panels of Bootstrap 3
- Removed duplicate rendering of sidebar
2020-04-25 19:45:53 +02:00
Andreas Nedbal 2a074227ac Clean up inbox layouts 2020-04-25 18:10:48 +02:00
Andreas Nedbal 7767eeae9f Merge branch 'master' into feature/bootstrap 2020-04-25 13:14:01 +02:00
Karina Kwiatek 47fde17560 Remove deprecated gravatar_url method 2020-04-20 23:18:14 +01:00
Georg Gadinger 101b3b68d3 Use cursored pagination, remove WillPaginate 2020-04-20 23:13:24 +02:00
Andreas Nedbal b5a833e917 Remove superfluous card-default class 2020-04-19 23:31:24 +02:00
Andreas Nedbal efd2ff4db0 Convert visibility classes to Bootstrap 4 2020-04-19 23:14:05 +02:00
Andreas Nedbal 33cd5b57a3 Convert panel classes to card classes 2020-04-19 23:11:14 +02:00
Georg Gadinger 3e7497a144 Upgrade to Rails 5 2020-04-19 00:59:22 +02:00
Georg Gadinger b8701e7626 Make user_screen_name helper use kwargs, add link_only arg 2017-03-30 19:17:25 +02:00
pixeldesu 8c5badf0b8 fix Retrospring/bugs#95 2015-08-28 16:29:02 +02:00
pixeldesu 19d6ccd855 change logic for deletion when no user or no question is found 2015-07-17 22:31:10 +02:00
pixeldesu e1d38ebb89 removing more logic from templates + simpler coffeescript 2015-07-17 21:45:45 +02:00
pixeldesu 84f80c824e fix broken pagination and wrong question count for deletion 2015-07-17 20:54:11 +02:00
pixeldesu e9ae442431 add ability to show/search questions from specific users 2015-07-17 20:29:19 +02:00
pixeldesu d28f64adf1 localize placeholders 2015-06-08 20:48:23 +02:00
Yuki ce2323d675 fix tests 2015-06-07 06:27:21 +05:30
pixeldesu 75d4d5a07f localize inbox 2015-06-07 00:24:27 +02:00
Yuki 2e1cb4d273 Made titles functional, because functional programming is the future 2015-05-14 03:32:19 +05:30
pixeldesu d08692340c add pagetitles 2015-05-10 19:48:47 +02:00
nilsding 487de37477 fix jihad issue #86 2015-02-28 17:29:10 +01:00
Andreas N 66cc15971e more date tooltips 2015-02-20 00:40:41 +01:00
Georg G d5fcec4d7d hide that "Load more" button if you delete all questions 2015-02-12 22:15:01 +01:00
Georg G 66c5e46a78 this happens all the time 2015-02-12 22:10:50 +01:00
Georg G cb606f942a fixed pagination for real 2015-02-12 22:09:11 +01:00
Andreas N e3bc0d6300 add inbox pagination 2015-02-12 21:59:46 +01:00
Andreas N 3c6221eb1e indentation got fucked up here 2015-02-08 02:54:57 +01:00
Andreas N 8550760772 add inbox sidebar 2015-02-08 00:59:07 +01:00
Andreas N caa6a06ab0 small visual improvement 2015-01-30 20:34:28 +01:00
Andreas N b3d81e18ab fix this shit 2015-01-30 20:32:10 +01:00
nilsding a7fbc5b366 fixed inbox entries and toggle button 2015-01-28 06:49:17 +01:00
Andreas N 9c2b0951bf add coffescript to expand options 2015-01-27 18:25:20 +01:00
Andreas N ddbff78926 add panel-footer to inbox panel 2015-01-27 18:13:24 +01:00
Andreas N 42534982d6 move icons 2015-01-14 14:20:04 +01:00
Andreas N 3fe879768f updated sharing section 2015-01-14 14:17:24 +01:00
nilsding d97763eda0 Revert "Le Funny Emoji Meme Face x--DD"
This reverts commit 5118ba9761.
2015-01-08 22:34:50 +01:00
nilsding 5118ba9761 Le Funny Emoji Meme Face x--DD 2015-01-08 22:28:56 +01:00
nilsding 22838ebfda Meymeys 2014-12-21 23:10:26 +01:00
Andreas N 7429aca044 remove br 2014-12-21 23:09:16 +01:00
nilsding 98e9fe098f Meymeys 2014-12-21 23:07:56 +01:00
Andreas N 40b0097149 more fix 2014-12-21 23:07:01 +01:00
Andreas N 6201b7043b how to stupid fix 2014-12-21 23:05:53 +01:00
nilsding b01e1791d4 Merge remote-tracking branch 'origin/inbox' 2014-12-21 23:04:43 +01:00
Andreas N 23af34494e add share on Twitter button 2014-12-21 23:01:21 +01:00
nilsding 2169a86615 added a count 2014-12-21 15:36:57 +01:00
nilsding dc0b105b46 added .panel-title 2014-12-21 14:28:33 +01:00
nilsding 7a18790241 added disable attribute if there are no questions in the inbox 2014-12-21 14:11:35 +01:00
nilsding 1ba34c59d0 added "delete all questions" button thing 2014-12-21 13:41:57 +01:00
Andreas N 55f1680c18 hide delete inbox for now 2014-12-20 16:15:59 +01:00
Andreas N 000fa09a5e restructure inbox design 2014-12-20 14:37:14 +01:00
nilsding a2dae7c5d4 checked state is best state 2014-12-13 15:49:19 +01:00
nilsding 013d1d44b7 the checkbox should now share to services 2014-12-13 15:17:50 +01:00
pixeldesu 6e154bc462 added checkbox for Twitter sharing 2014-12-13 00:01:54 +01:00
nilsding 93540e0969 added placeholder.
thank you #based quad
2014-12-10 20:38:54 +01:00
pixeldesu 31f520ed4b fix more stuff 2014-12-10 19:14:24 +01:00
pixeldesu 2a9db637a0 how about no centered text 2014-12-10 19:11:06 +01:00
pixeldesu aa32861f7f new display to generate more questions 2014-12-10 19:09:44 +01:00
nilsding a4edb4147d generating questions is great 2014-12-09 23:37:44 +01:00
nilsding daab6ce4f5 THIS IS SPARTA 2014-12-09 23:21:41 +01:00
pixeldesu 98b63b45c6 splitting scss, pluralizing entries, etc 2014-12-09 15:32:29 +01:00
nilsding f381baa702 ZHE FIXXX 2014-12-08 17:18:26 +01:00
nilsding 2caf81d08e ayyyy vodka 2014-12-08 16:01:27 +01:00
nilsding afe9b8f743 bugFuchs 2014-12-07 20:57:10 +01:00
nilsding 7de522a82f added question#show thing and more... 2014-12-07 20:51:44 +01:00
nilsding 28df95c089 hnn 2014-11-30 21:08:00 +01:00