Commit Graph
95 Commits
Author SHA1 Message Date
abcangandGitHub efffdd3778 Fix rubocop config and warnings (#15503)
* disable NewCops

* update TargetRubyVersion

* Fix Lint/MissingSuper for ActiveModelSerializers::Model

* Fix Lint/MissingSuper for feed

* Fix Lint/FloatComparison

* Do not use instance variables
2021-01-07 09:40:55 +01:00
abcangandGitHub 7cb72956a6 Set RAILS_ENV in Procfile.dev (#15502)
* Set RAILS_ENV in Procfile.dev

* Also set on sidekiq
2021-01-07 09:30:12 +01:00
abcangandGitHub 69763b6385 update codeclimate-rubocop (#15500) 2021-01-06 07:49:48 +01:00
abcangandGitHub a2da02626e Fixed ESLint error (#15214)
* eslint --fix

* fix consistent-return

* fix promise/catch-or-return

* ignore import rule
2020-11-23 17:35:14 +01:00
abcangandGitHub 9649ca0fbe Removed disabling comments for Style/MethodMissingSuper (#15014)
* Removed disabling comments for Style/MethodMissingSuper

* Update rubocop for codeclimate
2020-10-20 09:13:39 +02:00
abcangandGitHub e79d719e92 Changed tag most_used to recently_used (#14760) 2020-09-07 17:47:41 +02:00
abcangandGitHub 4a4d08f3a0 Fix eslint error (#14521) 2020-08-07 10:40:33 +02:00
abcangandGitHub 6a96af4d20 Fix rubocop warning (#14288)
* Fix rubocop warning

* use limit variable

* use ContextCreatingMethods option
2020-07-14 19:05:07 +02:00
abcangandGitHub bb9d4e2776 Enable promise/catch-or-return allowFinally (#14289) 2020-07-11 23:51:22 +02:00
abcangandGitHub 61a7390b66 Search account domain in lowercase (#13016)
* Search account domain in lowercase

* fix rubocop error

* fix spec/models/account_spec.rb
2020-02-01 15:42:24 +01:00
abcangandEugen Rochko 9ef5532a7e Fix follow requests N+1 (#12004) 2019-09-30 17:02:03 +02:00
abcangandEugen Rochko 07b057eabb Validate Web::PushSubscription (#11971) 2019-09-27 15:24:13 +02:00
abcangandEugen Rochko 059945c97c Improve status pin query (#11972) 2019-09-27 15:23:30 +02:00
abcangandEugen Rochko 0e6390753d Add users remember_token index (#11881) 2019-09-18 10:58:08 +02:00
abcangandEugen Rochko c21386cff5 Improve IP cleanup query (#11871) 2019-09-17 08:44:25 +02:00
abcangandEugen Rochko f6e7f94146 node v12 support (#11706) 2019-08-30 07:41:38 +02:00
abcangandEugen Rochko 3593b85423 Display notifications count on a new single column (#10859) 2019-05-27 21:56:29 +02:00
abcangandEugen Rochko ca6c93a2f5 Migrate from uws to cws (#10805) 2019-05-22 18:19:16 +02:00
abcangandEugen Rochko a5e7ada62f Improve account media query (#10121) 2019-02-26 15:23:24 +01:00
abcangandEugen Rochko e186bd2fb0 Fix Tombstone.delete_all ArgumentError (#9978) 2019-02-06 02:50:52 +01:00
abcangandEugen Rochko 1e2695198a Skip link-back check if body is nil (#9107) 2018-10-26 03:31:23 +02:00
abcangandEugen Rochko ac15c26c29 Fix requirie bootsnap (#8836) 2018-10-01 14:06:40 +02:00
abcangandEugen Rochko 2058af4a26 config/boot is required first (#8619) 2018-09-07 05:42:54 +02:00
abcangandEugen Rochko 9e75aa30cd Unuse ActiveRecord::Base#cache_key (#8185)
* Unuse ActiveRecord::Base#cache_key

* Enable cache_versioning

* Call cache_collection
2018-08-19 15:52:38 +02:00
abcangandEugen Rochko 9ad334f65c Call address instead of exchange (#8076) 2018-07-26 04:49:28 +02:00
abcangandEugen Rochko 69bf116345 Add secure option to additional cookie (#8069) 2018-07-25 18:49:47 +02:00
abcangandEugen Rochko 3c3cf7e208 Update supported Node.js version (#8041) 2018-07-17 15:29:33 +02:00
abcangandEugen Rochko 90908fc24b Fix N+1 on AtomSerializer (#7669) 2018-05-29 13:34:02 +02:00
abcangandEugen Rochko 3793e598d0 Call media.present? because media may be nil (#7474) 2018-05-14 12:51:53 +02:00
abcangandEugen Rochko db012b57c2 Fix distribute_add_activity and distribute_remove_activity (#7393) 2018-05-07 09:30:18 +02:00
abcangandEugen Rochko 71a7cea73f Keep notification when muting_notifications is true (#7311)
* Keep notification when muting_notifications is true

* Retrun mute object

* Fix test
2018-05-02 16:14:51 +02:00
abcangandEugen Rochko 0ba49eca8b Fix comparing id (#7180) 2018-04-18 16:50:19 +02:00
abcangandEugen Rochko 897199910f Improve web api protect (#6343) 2018-04-17 15:23:46 +02:00
abcangandEugen Rochko 727917e91e Fix caret position after inserting emoji (#7167) 2018-04-17 13:50:33 +02:00
abcangandEugen Rochko 609bf93029 Perform processing that does not use the database before connecting to the database (#7168) 2018-04-17 13:49:09 +02:00
abcangandEugen Rochko 37b043d447 Improve performance of account_media_status_ids (#6729) 2018-03-10 17:44:26 +01:00
abcangandEugen Rochko 219aac7800 Show media on report UI (#6619) 2018-03-04 20:29:12 +01:00
abcangandEugen Rochko 7124881273 Improve performance of feed_manager_spec (#6517) 2018-02-20 16:50:12 +01:00
abcangandEugen Rochko ecdac9017e Fix media button type (#6478) 2018-02-15 04:40:42 +01:00
abcangandEugen Rochko 298c81c00f Clear account cache of notification target_status (#6442) 2018-02-08 15:33:23 +01:00
abcangandEugen Rochko cf32f7da5c Fix response of signature_verification_failure_reason (#6441) 2018-02-08 05:00:45 +01:00
abcangandEugen Rochko 9b6223f5e2 Validation of count works even when text of status is nil (#6429) 2018-02-04 12:32:41 +01:00
abcangandEugen Rochko 3f35d43222 Exclude nil from relationships array (#6427) 2018-02-04 12:32:10 +01:00
abcangandEugen Rochko c156a83e7d Make sure status is not nil (#6428) 2018-02-04 12:31:46 +01:00
abcangandEugen Rochko 33f56811e3 Fix column header button (#6411) 2018-02-02 13:31:28 +01:00
abcangandEugen Rochko 7e5c433dfc Fix saving of oEmbed image (#6409) 2018-02-02 11:57:59 +01:00
abcangandEugen Rochko 1afc70c990 Fix mistake in cache deletion (#6408) 2018-02-02 10:10:18 +01:00
abcangandEugen Rochko ffb2b8ef8c Fix button hiding when header title is too long (#6406) 2018-02-01 17:17:17 +01:00
abcangandEugen Rochko a3c0a20373 Fix initial_state me in push_notification_register (#6349) 2018-01-24 14:37:46 +01:00
abcangandEugen Rochko 8cd2828e91 Fix hide and show media button on admin page (#6347) 2018-01-24 13:29:46 +01:00
abcangandEugen Rochko cfa3f55221 Remove duplicate indexes in lists (#5990) 2017-12-12 17:38:42 +01:00
abcangandEugen Rochko 3caec1ecc2 Save media outside transaction (#5959) 2017-12-10 16:33:52 +01:00
abcangandEugen Rochko fcc0795a40 Remove unused function (#5950) 2017-12-09 23:37:31 +01:00
abcangandEugen Rochko 99242b92bc Keep WebPush settings (#5879) 2017-12-09 02:31:37 +01:00
abcangandEugen Rochko 269a445c0b Fix unnecessary order (#5807) 2017-11-24 18:41:07 +01:00
abcangandEugen Rochko a78f66c069 Add index of account and reblog to statuses (#5785) 2017-11-24 14:42:09 +01:00
abcangandEugen Rochko 3dce6cbbd7 Fixed duplicating URL of photo type of oEmbed (#5763) 2017-11-20 20:45:54 +01:00
abcangandEugen Rochko 2bcc81700c Fix NoMethodError at ActivityPub::FetchRemoteStatusService (#5753) 2017-11-19 15:33:15 +01:00
abcangandEugen Rochko 53e95c4efc Fix N+1 at notification (#5752) 2017-11-19 15:32:48 +01:00
abcangandEugen Rochko 2eab41cd1a Close connection when succeeded posting (#5390)
* Close connection when succeeded posting

* Update webmock
2017-10-14 14:38:57 +02:00
abcangandEugen Rochko cb3b0c1a0f Update react-router-scroll at yarn.lock (#5154) 2017-09-30 15:50:02 +02:00
abcangandEugen Rochko 3d9b8847d2 Flush body when POST requests (#5128) 2017-09-28 15:04:32 +02:00
abcangandEugen Rochko e756c4f5ec Fix media spoiler of DetailedStatus (#5071) 2017-09-24 11:15:11 +02:00
abcangandEugen Rochko 44245926f1 Fix cancellation of scroll to the right (#4978) 2017-09-17 11:59:23 +02:00
abcangandEugen Rochko 1aad015bbb Revert unique retry job (#4937)
* Revert "Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836)"

This reverts commit 6859d4c028.

* Revert "Do not execute the job with the same arguments as the retry job (#4814)"

This reverts commit be7ffa2d75.
2017-09-14 15:12:43 +02:00
abcangandEugen Rochko 60944d5dca Fix height cache (#4909) 2017-09-13 10:24:33 +02:00
abcangandEugen Rochko 6859d4c028 Enable UniqueRetryJobMiddleware even when called from sidekiq worker (#4836) 2017-09-07 16:44:14 +02:00
abcangandEugen Rochko be7ffa2d75 Do not execute the job with the same arguments as the retry job (#4814) 2017-09-05 20:56:20 +02:00
abcangandEugen Rochko 334a633c2a Fix a problem that notification column goes to top (#4792) 2017-09-03 20:31:51 +02:00
abcangandEugen Rochko 6ec1aa372d Validate data of Imports (#4782) 2017-09-02 20:45:42 +02:00
abcangandEugen Rochko f59ed3a4fa Scroll smoothly to the right (#4735) 2017-08-29 17:06:19 +02:00
abcangandEugen Rochko 0827c09c44 Generalized the infinite scrollable list (#4697) 2017-08-28 22:23:44 +02:00
abcangandEugen Rochko ce9a5f358e rescue HTTP::ConnectionError in RemoteFollowController#create (#4726) 2017-08-28 19:12:09 +02:00
abcangandEugen Rochko ea958cae7f Refactoring streaming connections (#4645) 2017-08-21 15:04:34 +02:00
abcangandEugen Rochko 23792f5a7c Fix hasUnread on HashtagTimeline (#4644) 2017-08-20 17:12:06 +02:00
abcangandEugen Rochko e120d09c98 Fix require_user! behavior when not logged in (#4604) 2017-08-15 14:14:12 +02:00
abcangandEugen Rochko 4d42a38954 Improve admin page (#4121)
* Improve admin page

* Fix test

* Add spec

* Improve select style
2017-07-18 16:38:22 +02:00
abcangandEugen Rochko afa52e4d63 Fixed issue that the NSFW image is not hidden on detail page (#4244) 2017-07-18 15:24:57 +02:00
abcangandEugen Rochko 617208053c Rescue exceptions related to Goldfinger at FetchRemoteStatusService (#4138) 2017-07-10 13:59:29 +02:00
abcangandEugen Rochko 307f3e0dd7 Rescue exceptions related to Goldfinger (#4044)
* Rescue exceptions related to Goldfinger

* Exclude Goldfinger::SSLError
2017-07-09 17:33:21 +02:00
abcangandEugen Rochko 794781d121 Change account link to admin account link on report page (#4119) 2017-07-08 18:35:08 +02:00
abcangandEugen Rochko f76e71825d Improve Activity stream spoiler (#4088) 2017-07-06 21:31:03 +02:00
abcangandEugen Rochko 5e6acf9601 Fix Nokogiri::HTML at FetchLinkCardService (#4072) 2017-07-05 14:54:21 +02:00
abcangandEugen Rochko a6d02cff36 Rescue exceptions caused by FetchLinkCardService (#4045) 2017-07-03 11:03:34 +02:00
abcangandEugen Rochko 1273fbf86e Rescue Addressable::URI::InvalidURIError at Remotable (#4017) 2017-06-30 13:38:36 +02:00
abcangandEugen Rochko b342c81c17 rescue HTTP::ConnectionError (#3992) 2017-06-29 13:04:07 +02:00
abcangandEugen Rochko 1840a352f5 Fix ogp url (#3802) 2017-06-16 22:38:26 +02:00
abcangandEugen Rochko bbc3db8b20 Add test when hashtag and URL are concatenated (#3279) 2017-05-24 15:36:10 +02:00
abcangandEugen Rochko d22cec81fb Unify the method of extracting tags (#3138) 2017-05-19 20:19:14 +02:00
abcangandEugen Rochko 08e94d1b19 Fixed bug that timeline can not be displayed by InvalidURIError (#2947) 2017-05-09 18:17:41 +02:00
abcangandEugen Rochko 91ddd345f2 Enable disableHostCheck option of webpack-dev-server (#2790) 2017-05-04 17:49:05 +02:00
abcangandEugen Rochko 629a4d0fca fix DB_URL (#2778) 2017-05-04 15:53:44 +02:00
abcangandEugen Rochko bea117a4b6 changed to run foreman with vagrant (#2742)
* changed to run foreman with vagrant

* change port specification method and database setting

* delete changes of environment variable related code

* hard coated the port
2017-05-04 04:39:50 +02:00
abcangandEugen 70891a99a9 Fix html escape characters in the URL (#2138)
* fix character escaping in URL

* add tests

* put a comma after the last item

* add HTML escape test
2017-04-19 14:52:18 +02:00
abcangandEugen 90760eae4c fix regex filter (#1845)
* fix regex filter

* fixed br to linebreak and, stlip tags.

* change to send raw content

* changed to unescape in reducer
2017-04-16 16:33:38 +02:00