Commit Graph

242 Commits

Author SHA1 Message Date
Georg Gadinger 4229c7f579 first draft of the new data exporter 2022-12-10 00:39:50 +01:00
Karina Kwiatek ebc3319eb2 Bump version to 2022.1204.0 2022-12-04 23:50:08 +01:00
Karina Kwiatek 854b2fd5c6 Use `Rails.public_path.join` 2022-12-04 23:48:21 +01:00
Karina Kwiatek 5b29c78496 Fix exporter creating empty archives 2022-12-04 23:48:21 +01:00
Karina Kwiatek 31e5e30e15 Bump version to 2022.1120.0 2022-11-20 15:12:51 +01:00
Karina Kwiatek fe6a03bfaf Prevent exports crashing out if a related object is nil 2022-11-20 12:30:37 +01:00
Karina Kwiatek a62704c61e Bump version to 2022.1114.0 2022-11-14 20:08:44 +01:00
Andreas Nedbal 3cefc829f8
Merge branch 'main' into feature/privacy-require-user 2022-11-13 17:27:53 +01:00
Andreas Nedbal 9393374eab `LoginRequired` -> `NotAuthorized` 2022-11-13 14:38:11 +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 32d270113d Check for users being logged in if a user requires it in questions 2022-11-13 14:26:49 +01:00
Andreas Nedbal fa12b19b8a Prevent questions being sent to users that lock their inbox 2022-11-06 15:01:01 +01:00
Karina Kwiatek 7ee0aff7d9 Bump version to 2022.1026.0 2022-10-26 11:37:53 +02:00
Karina Kwiatek 3062741487 Bump version to 2022.1025.0 2022-10-25 21:11:17 +02:00
Karina Kwiatek 0b625453e7 Bump version to 2022.1012.0 2022-10-12 09:02:16 +02:00
Karina Kwiatek 41a338599d Bump version to 2022.1011.0 2022-10-11 23:35:57 +02:00
Karina Kwiatek fbabae9f51 Bump version to 2022.0831.2 2022-08-31 20:21:01 +02:00
Karina Kwiatek 3599dac506 Bump version to 2022.0831.1 2022-08-31 19:45:01 +02:00
Karina Kwiatek b0799f07cd Bump version to 2022.0831.0 2022-08-31 16:27:25 +02:00
Karina Kwiatek e12d5da249 Bump version to 2022.0821.0 2022-08-21 20:02:43 +02:00
Karina Kwiatek 74e309e9fc Apply anonymous blocks without an owner as global 2022-08-20 19:02:37 +02:00
Karina Kwiatek dec147a5d9 Bump version to 2022.0804.2 2022-08-04 21:10:55 +02:00
Karina Kwiatek 9a59980df8 Bump version to 2022.0804.1 2022-08-04 15:48:45 +02:00
Karina Kwiatek 33fdf1e394 Bump version to 2022.0804.0 2022-08-04 15:36:39 +02:00
Karina Kwiatek d9a2e7dde8
Merge pull request #559 from Retrospring/return-hashes-from-use-cases 2022-07-31 10:30:14 +02:00
Karina Kwiatek bd41bc171a Bump version to 2022.0731.1 2022-07-31 02:40:56 +02:00
Karina Kwiatek 06eec43051 Bump version to 2022.0731.0 2022-07-31 02:19:40 +02:00
Karina Kwiatek 481333d9dc Bump version to 2022.0730.0 2022-07-30 20:45:36 +02:00
Karina Kwiatek 050d7d5b56 Return hashes from user ban use cases 2022-07-30 15:40:37 +02:00
Karina Kwiatek a8e99723cc Return hashes from question use cases 2022-07-30 15:40:37 +02:00
Karina Kwiatek 2243a3ff99 Bump version to 2022.0725.0 2022-07-25 20:51:25 +02:00
Andreas Nedbal ed69d84d48
Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-24 22:45:04 +02:00
Andreas Nedbal 2692783518 Turn direct setting into an option for the use case 2022-07-24 22:24:48 +02:00
Andreas Nedbal bea98fa917 Always set follower created questions to not be direct explicitly 2022-07-24 22:24:24 +02:00
Andreas Nedbal 83dbd5d2e3 Don't list direct questions on user profiles 2022-07-24 21:56:03 +02:00
Karina Kwiatek 66cd8bfb2a Bump version to 2022.0724.0 2022-07-24 15:39:48 +02:00
Karina Kwiatek d62c4a69d1 Bump version to 2022.0723.1 2022-07-23 13:13:10 +02:00
Georg Gadinger 6d89304651 add rake task for easier version bumping
Just use `rake version:update` for bumping and creating the commit + tag.
2022-07-23 13:05:32 +02:00
Georg Gadinger 73da030395 version: convert to endless methods 2022-07-23 12:45:24 +02:00
Karina Kwiatek 2dac4c09ed Use endless method definition in `UseCase::Base`
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-23 12:06:24 +02:00
Karina Kwiatek 62b29b3bd1 Upgrade to Ruby 3.0.4 2022-07-23 12:06:24 +02:00
Karina Kwiatek ebda664898 Bump version to 2022.0723.0 2022-07-23 11:30:00 +02:00
Karina Kwiatek fe8be8c3cb Bump version to 2022.0722.0 2022-07-22 16:53:28 +02:00
Karina Kwiatek ec702c90b8 Bump version to 2022.0721.0 2022-07-21 12:32:56 +02:00
Karina Kwiatek c5a3f1cc2a Bump version to 2022.0719.0 2022-07-19 12:22:01 +02:00
Karina Kwiatek a5bb4c01b5 Bump version to 2022.0717.0 2022-07-17 10:05:54 +02:00
Karina Kwiatek 5d542161a0 Add tests for question create use case 2022-07-17 10:05:20 +02:00
Karina Kwiatek 0e9be78588 Create use case for deleting questions 2022-07-17 10:05:20 +02:00
Karina Kwiatek 72906ca549 Fix lint errors 2022-07-17 10:05:20 +02:00
Karina Kwiatek 1216c249e8 Return different responses for use case errors 2022-07-17 10:05:20 +02:00
Karina Kwiatek 22a66f4d1a Fix lint errors 2022-07-17 10:05:20 +02:00
Karina Kwiatek d9ff4d5765 Refactor Ajax::QuestionController#create into separate UseCases
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-17 10:05:20 +02:00
Karina Kwiatek 69826eefe3 Bump version to 2022.0716.0 2022-07-16 21:30:12 +02:00
Karina Kwiatek 0294e6eb9d Appease the dog overlords 2022-07-16 15:58:30 +02:00
Karina Kwiatek 48bd2f5bc7 Add missing file extension to export URL 2022-07-16 15:58:30 +02:00
Karina Kwiatek 428db25c71 Add test for `Exporter#publish` 2022-07-16 15:58:30 +02:00
Karina Kwiatek eaf61f1a6a Add test for `Export#finalize` with a profile header attached 2022-07-16 15:58:30 +02:00
Karina Kwiatek 76b40d012b Respect app config when generating export URL 2022-07-16 15:58:30 +02:00
Karina Kwiatek 8e8b5ddb2a Add test for `Exporter#collect_smiles` 2022-07-16 15:58:30 +02:00
Karina Kwiatek f5c0d7b1c6 Appease the dog overlords 2022-07-16 15:58:30 +02:00
Karina Kwiatek 99062d4652 Make the data exporter less platform-dependent 2022-07-16 15:58:30 +02:00
Karina Kwiatek 272ca72d3d Bump version to 2022.0711.0 2022-07-11 16:55:44 +02:00
Karina Kwiatek 5155b6dee7 Bump version to 2022.0709.0 2022-07-09 12:21:14 +02:00
Karina Kwiatek 0125ae6a45 Bump version to 2022.0709.0 2022-07-09 01:17:15 +02:00
Karina Kwiatek 7731524d85 Bump version to 2022.0706.2 2022-07-06 21:55:33 +02:00
Karina Kwiatek ced0b579dd Bump version to 2022.0706.1 2022-07-06 20:01:35 +02:00
Karina Kwiatek 970c391242 Bump version to 2022.0706.0 2022-07-06 19:00:43 +02:00
Karina Kwiatek 50e174e58e Bump version to 2022.0703.0 2022-07-03 19:00:14 +02:00
Karina Kwiatek c5e2358ea8 Bump version to 2022.0702.0 2022-07-02 18:10:18 +02:00
Andreas Nedbal 99035b42d9 Fix method name in Exporter user_stub call 2022-07-02 16:36:14 +02:00
Karina Kwiatek 93fb487cfc Bump version to 2022.0627.0 2022-06-27 00:42:24 +02:00
Andreas Nedbal 1c9f5b6f28 Bump version to 2022.0626.2 2022-06-26 23:55:31 +02:00
Karina Kwiatek 323c874af0 Bump version to 2022.0626.1 2022-06-26 23:41:47 +02:00
Karina Kwiatek 6d03eb78d9 Bump version to 2022.0626.0 2022-06-26 23:34:09 +02:00
Karina Kwiatek a857887398 Appease the dog overlords 2022-06-26 18:32:18 +02:00
Karina Kwiatek a533f68c65 Adjust exporter and user count to match new ban system 2022-06-26 18:32:18 +02:00
Karina Kwiatek 3247d1c746 Move ban invalidation to `User#unban` method 2022-06-26 18:32:18 +02:00
Karina Kwiatek 94aec26588 Move ban creation to `User#ban` method 2022-06-26 18:32:18 +02:00
Karina Kwiatek 936979896e Bump version to 2022.0625.0 2022-06-25 10:39:32 +02:00
Karina Kwiatek 4b2c84d0f8 Bump version to 2022.0623.0 2022-06-23 22:33:46 +02:00
Karina Kwiatek ef06158c40 Bump version to 2022.0621.9 2022-06-21 23:01:16 +02:00
Karina Kwiatek 486948a54c Bump version to 2022.0615.1 2022-06-15 23:16:18 +02:00
Karina Kwiatek 15af961169 Bump version 2022.0615.0 2022-06-15 15:16:04 +02:00
Karina Kwiatek 0fe06e6423 Bump version 2022.0613.1 2022-06-13 23:01:35 +02:00
Karina Kwiatek 677480902d Bump version to 2022.0613.0 2022-06-13 15:53:52 +02:00
Karina Kwiatek c8b6689a61 Fix error messages for reacting & listing errors 2022-06-13 11:56:34 +02:00
Karina Kwiatek 6a15a323cf Add tests for reacting to comments while blocked/blocking 2022-06-13 11:56:34 +02:00
Karina Kwiatek d67ae1eb19 Only accept users to relationship use cases
Dry Types was having issues with taking either an object or string so it's easier to deal with just passing in an object directly
2022-06-13 11:56:34 +02:00
Karina Kwiatek c173c4a17d Add the ability to block/unblock users from profile pages 2022-06-13 11:56:34 +02:00
Karina Kwiatek 56799f60c7 Disallow adding blocked users to lists 2022-06-13 11:56:34 +02:00
Karina Kwiatek b38ae50ba7 Disallow reacting to an answer when blocked by its author 2022-06-13 11:56:34 +02:00
Karina Kwiatek b4e5037469 Disallow commenting when blocked by the answer's author 2022-06-13 11:56:34 +02:00
Karina Kwiatek 0038272417 Add Block relationship type 2022-06-13 11:56:34 +02:00
Karina Kwiatek 1edb229baa Bump version to 2022.0427.0 2022-04-27 18:20:52 +01:00
Karina Kwiatek 5f5f8fd8f9 Bump version to 2022.0425.0 2022-04-25 18:58:50 +01:00
Andreas Nedbal e1298c7b87 Fix Hound nits 2022-04-16 12:56:18 +02:00
Andreas Nedbal 7d7bef81ca Add version class and load it in Rails 2022-04-16 12:56:18 +02:00
Karina Kwiatek b74c64c664 Fix order of types for relationship use case options 2022-01-23 16:48:53 +01:00
Karina Kwiatek 731ee4bf69 Address review comments from @nilsding 2022-01-23 16:48:53 +01:00
Karina Kwiatek b4e0699e82 Fix lint errors 2022-01-23 16:48:53 +01:00
Karina Kwiatek d609435f7c Update `Ajax::RelationshipController` to use usernames; Test Use Case 2022-01-23 16:48:53 +01:00
Karina Kwiatek c8059ccd6b Fix namespace resolution in relationship use cases 2022-01-23 16:48:53 +01:00
Karina Kwiatek 3962671135 Implement relationship logic as use case 2022-01-23 16:48:53 +01:00
Karina Kwiatek d20e07ee19 Remove relationship counters in `users` table 2022-01-23 16:48:53 +01:00
Karina Kwiatek a52de1d318 Fix user data exporter attempting to access `display_name` on `User` 2022-01-14 23:29:49 +01:00
Andreas Nedbal 691068dad7 Remove old paperclip processor 2022-01-12 22:36:06 +01:00
Andreas Nedbal 80287dcfce Remove unused vendor assets 2022-01-08 14:48:15 +01:00
Karina Kwiatek 7677ed21a4 Update tests for unbanning users 2022-01-02 19:50:44 +01:00
Karina Kwiatek 6500d7ac71 Update usages of bans 2022-01-02 19:50:44 +01:00
Karina Kwiatek 9a35584284 Refactor ban-related functionality into use cases 2022-01-02 19:50:01 +01:00
Karina Kwiatek be0cf69368 Refactor existing ban-related methods 2022-01-02 19:50:01 +01:00
Karina Kwiatek 065e56ccf1 Replace New Relic with Sentry 2021-12-28 18:32:03 +01:00
Karina Kwiatek 8302f1b396 Update exporter for carrierwave & profile fields 2021-12-22 00:25:32 +01:00
Karina Kwiatek 08bafb1d78 Adjust exporter for user profiles 2021-12-22 00:03:19 +01:00
Karina Kwiatek 9d933c933e Remove unused (removed) roles from Your Data / Export 2020-04-25 21:14:26 +01:00
Georg Gadinger 946bb3ae9d Use Rolify for admin and moderator roles 2020-04-19 22:35:58 +02:00
Georg Gadinger 2237287472 Remove Capistrano 2020-04-19 19:43:55 +02:00
Georg Gadinger 311c7ac6c0 Remove Rollbar 2020-04-19 17:20:07 +02:00
Georg Gadinger 6c6f36c726 temporarily disable restart stuffs as it's broken as fuck 2018-04-11 21:24:09 +02:00
Georg Gadinger 798e2f1bf0 Increase wait to 5 2017-04-01 00:09:15 +02:00
Georg Gadinger 07d513f5f5 a 2017-03-31 23:35:45 +02:00
Georg Gadinger 249fd96f9b (Lisp) 2017-03-31 23:31:54 +02:00
Georg Gadinger 7452516115 Fix exporter 2017-03-31 23:25:45 +02:00
Georg Gadinger 73b18af6ff Notify errors to Rollbar 2017-03-31 23:17:36 +02:00
Georg Gadinger a6f250b294 Fix deploy 2017-03-31 22:53:40 +02:00
Georg Gadinger 577bf1aea1 Fix deploy, yo. 2017-03-31 22:46:21 +02:00
Georg Gadinger dcca449de1 Add Capistrano task to create i18n JS files 2017-03-31 22:33:07 +02:00
Georg Gadinger 3e2e23e17c 🔥🦊 2017-03-29 22:40:40 +02:00
Georg Gadinger 6b054a8be2 Add Capistrano 2017-03-29 22:01:26 +02:00
Georg G 5e750b9608 this should fix it 2016-01-05 21:23:43 +01:00
Georg G 2b4b9f31b9 fuck 2016-01-05 21:18:21 +01:00
Georg G 13e0bb4c01 added a _ to the file name 2016-01-05 20:53:48 +01:00
Georg G a2d0558437 added exporter 2016-01-05 19:44:20 +01:00
Yuki 08d582da92 AARGHGHHH 2015-07-20 04:16:31 +05:30
Yuki d8bf34213a Fix image sizes (thanks jpeg) 2015-07-20 03:54:20 +05:30
Georg G 91be970cb9 fixed profile headers 2015-05-10 02:57:18 +02:00
nilsding 26363c4742 added jquery.guillotine 2014-12-29 15:47:10 +01:00
nilsding baba0335ce oh fuck 2014-12-29 14:59:12 +01:00
nilsding 7aa954e212 added cropper processor 2014-12-29 14:51:52 +01:00
nilsding b45b273f50 I TAKE A LOOK AT MY ENORMOUS MEMES 2014-12-21 22:29:52 +01:00
nilsding 6ac9af787e added Capistrano 2014-12-21 22:12:59 +01:00
nilsding 386066c55b first commit 2014-08-01 11:23:47 +02:00