Commit Graph

317 Commits

Author SHA1 Message Date
Developer
187eb5ae78 Updated elapsed registration_form_time to 5 seconds
• Updated:
- elapsed registration_form_time to 5 seconds
2021-02-19 12:30:46 -05:00
Fosco Marotto
4acf7f0bce Limit the user and session tracking concerns to the home timeline 2021-02-19 09:50:59 -05:00
Developer
2a8ca2cd56 Added new spam_flag to Accounts, replacing is_flagged_as_spam
• Added:
- new spam_flag to Accounts, replacing is_flagged_as_spam
- null/0: no spam, 1: spam, 2: safe from spam

• Updated:
- Comment, Status to reflect changes

• Todo:
- Fully remove is_flagged_as_spam
- Update SortingQueryBuilder
2021-02-18 23:46:53 -05:00
Developer
c18bcf2b21 Added check to RegistrationsController for checking if form was submitted too quickly
• Added:
- check to RegistrationsController for checking if form was submitted too quickly
2021-02-18 21:35:09 -05:00
Fosco Marotto
fea1b9389b Add a writing role to the shortcuts controller 2021-02-18 16:57:34 -05:00
Developer
65949c7e71 Removed ImageProxyController API route
• Removed:
- ImageProxyController API route
- removed from news reducer for trends.

• Todo:
- Devise solution for integrating cross site images from trends -> social
2021-02-18 13:34:08 -05:00
Fosco Marotto
6b7ece9123 Add a nil check during require_user 2021-02-17 00:20:06 -05:00
admin
5793d2aa33 remove local monkeypatch 2021-02-16 13:43:09 -05:00
admin
69f3cf08c9 fixed app/controllers/concerns/signature_verification.rb 2021-02-16 13:41:49 -05:00
admin
5d9750fa25 forgot to push these changes 2021-02-16 13:35:19 -05:00
Fosco Marotto
7bfe6c7709 More writing role changes in sessions controller 2021-02-14 23:21:53 -05:00
Fosco Marotto
0f85ba2f12 Change the oauth authorizations controller writing role method. 2021-02-14 15:52:38 -05:00
Developer
0341cd8572 Updated RegistrationsController captcha values
• Updated:
- RegistrationsController captcha values
2021-02-13 13:31:57 -05:00
Fosco Marotto
7a2594e105 Add writing role for some moderation classes, update verification method. 2021-02-11 18:34:04 -05:00
Fosco Marotto
4bb2f1b745 Verification requests should use the writing role 2021-02-11 01:18:36 -05:00
Developer
8a2f34d815 Added check in RegistrationsController to ensure email and password don't match
• Added:
- check in RegistrationsController to ensure email and password don't match. If so, return back to registration form with alert
2021-02-11 00:33:28 -05:00
Developer
30c05a6e96 Added new flags to admin dashboard account search
• Added:
- new flags to admin dashboard account search for PRO, investor, donor, verified
- moved spam to the flags column instead of next to username

• Removed:
- IP Address in account list

• Updated:
- Title for flags in account moderation header
2021-02-10 12:24:09 -05:00
Fosco Marotto
65d8c7ee86 Possible fix for home timeline 2021-02-10 11:02:54 -05:00
Fosco Marotto
cacfb6e7ba Possible doorkeeper fix 2021-02-10 00:41:25 -05:00
Fosco Marotto
729c00a5a9 Bundle of corrections and one doorkeeper writing role change 2021-02-09 22:32:24 -05:00
Free Speech Forever
473c48b2aa Replace Makara with an initial Rails 6 role based splitting method. 2021-02-09 19:38:10 +00:00
azuregc7
dd6cbd0c17 Reduce home feed statuses per batch to 10 2021-02-05 15:58:01 -08:00
Fosco Marotto
5b89095a55 Switch group collection view back to newest sorting. 2021-02-04 23:57:03 -05: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
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
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
azuregc7
b793f5f908 [home] Remove duplicate reposts from timeline feed, improve query performance, and increase batch size 2021-01-30 21:45:35 -08:00
Fosco Marotto
3196dfbda9 Fix and re-enable user activity update 2021-01-30 01:49:22 -05:00
Fosco Marotto
8b701c11e3 Re-enable session activity update 2021-01-30 01:38:43 -05:00
Fosco Marotto
0587875a75 Fix current_resource_owner caching implementation 2021-01-30 01:27:11 -05:00
Fosco Marotto
c84e7e3451 [mark_read] first pass at quickly re-enabling this endpoint 2021-01-29 20:20:52 -05:00
Free Speech Forever
75d041af77 Merge branch 'requested_messages_unnecessary_queries' into 'develop'
Remove unnecessary queries from requested conversations count

See merge request gab/social/gab-social!50
2021-01-29 05:09:04 +00:00
Fosco Marotto
7a3cbe60ec [temp] Disable mark_read and some failing updates until they can be fixed. 2021-01-28 20:51:05 -05:00
admin
cf691f491c Update application_controller.rb 2021-01-28 21:12:29 +00:00
admin
d0b1f28430 Merge branch 'feature/rails_6' into 'develop'
Upgrade to Rails 6

See merge request gab/social/gab-social!52
2021-01-28 17:01:42 +00:00
admin
87138932a0 Merge branch 'gab_provision' of https://code.gab.com/gab/social/gab-social into develop 2021-01-27 16:16:48 -05:00
Fosco Marotto
2b99918b26 Group admins can't leave by clicking 'member' button 2021-01-27 12:16:49 -05:00
Fosco Marotto
3d06e94595 [fix] Logged out user session issue. 2021-01-27 00:24:54 -05:00
admin
132c46ac9a Session and user caching 2021-01-26 23:33:22 +00:00
mgabdev
a3ef16bc8c Added captcha for sign up form
• Added:
- captcha for sign up form
- empty ENV variables for: GAB_CAPTCHA_SECRET_KEY, GAB_CAPTCHA_CLIENT_KEY to be configured within captcha.gab.com
- Script insertion within registrations/new.html.haml containing instantiation for captcha.gab.com with our client key and challenge buster
- Div within registration form for #gab-captcha for the challenge to get inserted within
- Checks in RegistrationsController for captcha verification using server token (automatically generated in form), secret [server] key before checking if username/password/email is valid
2021-01-26 15:04:05 -05:00
mgabdev
ba4fb61712 Fixed issue in account StatusesController pagination for cached timelines
• Fixed:
- issue in account StatusesController pagination for cached timelines
2021-01-25 15:45:11 -05:00
Fosco Marotto
81489b7a17 [explore] Remove group posts from explore page. 2021-01-25 02:35:10 -05:00
rubic0n
1b9349bc52 Remove unnecessary queries from requested conversations count 2021-01-24 23:19:20 -06:00
Fosco Marotto
1c647b0b06 [reset] cleanup 2021-01-24 13:50:51 -05:00
admin
553ca5afa2 Revert "user master for oauth"
This reverts commit 07b9acc347
2021-01-24 16:36:00 +00:00
admin
5d13162204 Revert "Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop"
This reverts commit ccf98d2002
2021-01-24 16:29:57 +00:00
admin1
ccf98d2002 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2021-01-24 11:20:23 -05:00