Commit Graph

2039 Commits

Author SHA1 Message Date
Fosco Marotto a1a97bb483 Revert "Merge branch 'features/null_bearer2' into 'develop'"
This reverts commit c14fc2fa9d, reversing
changes made to 22c3fa995d.
2021-02-09 23:58:00 -05:00
Fosco Marotto ad35c7fa72 Revert "Merge branch 'fix_null_bearer' into 'develop'"
This reverts commit 22c3fa995d, reversing
changes made to 3931ba4f81.
2021-02-09 23:57:16 -05:00
Free Speech Forever c14fc2fa9d Merge branch 'features/null_bearer2' into 'develop'
Fix authorization header when no access token

See merge request gab/social/gab-social!58
2021-02-10 03:34:35 +00:00
Free Speech Forever 22c3fa995d Merge branch 'fix_null_bearer' into 'develop'
Avoid redundant Doorkeeper queries when not signed in

See merge request gab/social/gab-social!57
2021-02-10 03:33:16 +00:00
Free Speech Forever 3931ba4f81 Merge branch 'feature/worker-updates' into 'develop'
Some worker updates.

See merge request gab/social/gab-social!59
2021-02-10 03:32:48 +00:00
Fosco Marotto 729c00a5a9 Bundle of corrections and one doorkeeper writing role change 2021-02-09 22:32:24 -05:00
admin 382fd31ec7 Update database.yml 2021-02-09 19:41:12 +00:00
admin 669b378c6f Merge branch 'features/db-fun' into 'develop'
Replace Makara with an initial Rails 6 role based splitting method.

See merge request gab/social/gab-social!60
2021-02-09 19:38:10 +00:00
Free Speech Forever 473c48b2aa Replace Makara with an initial Rails 6 role based splitting method. 2021-02-09 19:38:10 +00:00
Fosco Marotto ae036995bf Fix authorization header when no access token 2021-02-09 11:16:04 -05:00
rubic0n 57a88c5904 Avoid redundant OAuth queries when not signed in
If you aren't signed in, you don't have an auth token.
When you don't have an auth token, React was sending the headers

"Authorization: Bearer null"

This caused 5 Doorkeeper token lookups using
WHERE "oauth_access_tokens"."token" = 'null'
on the Explore page (the root of the app when not signed in).
2021-02-06 22:41:35 -06:00
admin 31922ea58b Merge branch 'feature/home_feed4' into 'develop'
Feature/home feed4

See merge request gab/social/gab-social!56
2021-02-06 18:33:23 +00:00
azuregc7 e1a8d158d6 [home] Changed sort back to created_ad after adding new index to accounts 2021-02-06 09:48:18 -08:00
azuregc7 2baebbab18 [home] Changed sort back to created_ad after adding new index to accounts 2021-02-06 09:45:34 -08:00
azuregc7 dd6cbd0c17 Reduce home feed statuses per batch to 10 2021-02-05 15:58:01 -08:00
Fosco Marotto a43a7af771 Some worker updates. 2021-02-05 13:25:46 -05:00
Fosco Marotto c45d8adbf2 Another group collection controller sort change. 2021-02-05 00:12:51 -05:00
Fosco Marotto 5b89095a55 Switch group collection view back to newest sorting. 2021-02-04 23:57:03 -05:00
Fosco Marotto fdca30cd97 Move Link Crawler to different queue 2021-02-04 18:09:04 -05:00
azuregc7 5f939abfbe [home] Home feed optimizations, sorting 2021-02-04 12:02:51 -08:00
Fosco Marotto 22b7b2ab8b Disable unused DistributionWorker and activity:interactions 2021-02-04 13:48:50 -05:00
Fosco Marotto 34a888ca10 Change weighting for top_order 2021-02-04 12:37:01 -05:00
Fosco Marotto b705c82304 Update mention_html formatter again. 2021-02-03 13:26:32 -05:00
Fosco Marotto 8d9db14121 Revert "Remove local checks from formatter"
This reverts commit c30f600f09.
2021-02-03 13:14:22 -05:00
Fosco Marotto e4a214a0c4 Revert "deleted unneccessary looping queries in EntityCache"
This reverts commit d20330f391.
2021-02-03 13:13:29 -05:00
Fosco Marotto c30f600f09 Remove local checks from formatter 2021-02-03 13:07:37 -05:00
admin 1def861fa0 Merge branch 'feature/entity-cache-fix' into 'develop'
Feature/entity cache fix

See merge request gab/social/gab-social!55
2021-02-03 17:00:52 +00:00
admin fa9f0ce6f3 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2021-02-03 11:56:36 -05:00
admin d20330f391 deleted unneccessary looping queries in EntityCache 2021-02-03 11:56:22 -05:00
Fosco Marotto 584482f325 Fix explore page correctly. 2021-02-03 11:55:57 -05:00
Fosco Marotto 4e0605165d Fix explore page. 2021-02-03 11:32:25 -05:00
admin 7d8ecac125 Update elastic_apm.yml 2021-02-03 15:17:38 +00:00
admin 6a620f388e Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2021-02-03 10:13:04 -05:00
admin 80297c4d21 added elastic-apm to gemfile 2021-02-03 10:12:57 -05:00
admin 82bdbbcb5f added elastic apm and fixed session updated_at bug 2021-02-03 10:12:05 -05:00
mgabdev dd8531237d Added filter in account moderation to for spam
• Added:
- filter in account moderation to for spam
2021-02-03 00:58:58 -05:00
mgabdev 33f4bc4650 Added button to reset a spam bool on an account
• Added:
- button to reset a spam bool on an account in admin dashboard
2021-02-02 21:11:48 -05:00
mgabdev e047a50967 Fixed issue with statuses moderation interface
• Fixed:
- issue with statuses moderation interface
2021-02-02 20:49:01 -05:00
Fosco Marotto b06afbcd4a [spam] Hide statuses from accounts marked as spam. 2021-02-02 15:17:04 -05:00
mgabdev 496f624c3a Updated IP in captcha
• Updated:
- IP in captcha
2021-02-02 14:20:27 -05:00
mgabdev 6b6cd76bb2 Merge branch 'feature/adding_sign_up_captcha' of https://code.gab.com/gab/social/gab-social into develop 2021-02-02 12:01:15 -05:00
Fosco Marotto e4527e5210 Remove scout apm 2021-02-01 15:04:16 -05:00
Fosco Marotto 440a1ce6ff Minor changes to workers. 2021-02-01 03:43:56 -05:00
azuregc7 48ba509234 Merge branch 'feature/homefeed_cte' of https://code.gab.com/gab/social/gab-social into feature/homefeed_cte 2021-01-30 21:50:18 -08:00
azuregc7 738584c1b1 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/homefeed_cte 2021-01-30 21:48:13 -08:00
azuregc7 b793f5f908 [home] Remove duplicate reposts from timeline feed, improve query performance, and increase batch size 2021-01-30 21:45:35 -08:00
azuregc7 0b03e79889 [home] Remove duplicate reposts from timeline feed, improve query performance, and increase batch size 2021-01-30 20:24:57 -08:00
Fosco Marotto 58cc000b0f [scout] Monitor is off by default. 2021-01-30 22:45:23 -05:00
Fosco Marotto 8b8e8ec8e5 [scout_apm] Add scout apm to Gemfile, add config file 2021-01-30 21:19:12 -05:00
Fosco Marotto 3196dfbda9 Fix and re-enable user activity update 2021-01-30 01:49:22 -05:00