Commit Graph

2165 Commits

Author SHA1 Message Date
admin 74b3700f58 Merge branch 'improve_home_feed_query' into 'develop'
Improve home feed query

See merge request gab/social/gab-social!68
2021-03-01 01:58:36 +00:00
rubic0n 3b704cec7d Use a constant 2021-02-28 19:50:01 -06:00
rubic0n 6e42e3b1ec Improve home feed query 2021-02-28 19:45:44 -06:00
Developer fa8b6a3377 Removed account search_for in Account.rb model
• Removed:
- account search_for in Account.rb model
2021-02-28 20:19:58 -05:00
Developer 35276edde1 Merge branch 'fix_preview_card_search' into 'develop'
Fix preview card search

See merge request gab/social/gab-social!67
2021-03-01 00:26:46 +00:00
Developer ea3e126579 Fixed issue with Notification status url 'to' value
• Fixed:
- issue with Notification status url 'to' value
2021-02-28 19:24:42 -05:00
Fosco Marotto 0839160efd Address issue with notifications page. 2021-02-28 19:14:36 -05:00
Developer 444f9a156b Partial revert 3f90b0be
Partial revert 3f90b0be
2021-02-28 18:09:36 -05:00
rubic0n 8a329b67a5 Fix preview card search 2021-02-28 15:33:38 -06:00
Developer 10ec03f28b Removed GroupsController search by tag, category
• Removed:
- GroupsController search by tag, category
2021-02-26 17:45:48 -05:00
Developer f1cc618fdd Updated reports page to be more mobile friendly
• Updated:
- reports page to be more mobile friendly

• Added:
- Helper for account elements in AccountModerationNotesHelper
2021-02-26 13:14:06 -05:00
Developer 3f90b0be69 Updated all instances of request.remote_ip to use new ip headers
• Updated:
- all instances of request.remote_ip to use new ip headers
2021-02-26 12:50:25 -05:00
Developer 4d43158fe2 Updated NotificationsPage to reset to 'all' every time page loads
• Updated:
- NotificationsPage to reset to 'all' every time page loads
2021-02-25 11:06:42 -05:00
Developer 573fdbc981 Fixed issue with MediaModal causing page to scroll to top on open
• Fixed:
- issue with MediaModal causing page to scroll to top on open

The code in this removal was used to enable a back-btn to close the media modal. But unintended scrolling is more important than a third option to close a dialog. (Click X, press escape)
2021-02-25 11:02:45 -05:00
Developer 444263a8b2 Updated Notification timestamp to link to status/mention/comment
• Updated:
- Notification timestamp to link to status/mention/comment
2021-02-25 10:40:52 -05:00
Developer 0c1d84262f Add missing uri attribute in StatusSerializer
• Add:
- missing uri attribute in StatusSerializer
2021-02-25 10:37:50 -05:00
Fosco Marotto c7b17c5bde Add missing icons 2021-02-25 10:13:19 -05:00
Fosco Marotto a72be3b45b Add missing apple icons 2021-02-25 10:09:36 -05:00
Developer 71b428e348 Added checks in emails regarding GabPRO if email is confirmed and allows GabPRO emails
• Added:
- checks in emails regarding GabPRO if email is confirmed and allows GabPRO emails
2021-02-23 13:31:00 -05:00
Developer 4b8df32371 Added opt-out/unsubscribe links at bottom of all emails
• Added:
- opt-out/unsubscribe links at bottom of all emails in layout
2021-02-23 13:30:28 -05:00
Developer 8deb255593 Added new email opt out for GabPRO reminders/introducing
• Added:
- new email opt out for GabPRO reminders/introducing
2021-02-23 13:30:04 -05:00
admin 16b053b72d Update list_controller.rb 2021-02-21 04:40:32 +00:00
Fosco Marotto a2793f04d6 Revert "Updated BaseController to return false if doorkeeper_token nil for superapp"
This reverts commit e5ea8fb487.
2021-02-20 22:25:59 -05:00
Free Speech Forever fde3821450 Merge branch 'feature/Username_Search_Case' into 'develop'
Feature/username search case

See merge request gab/social/gab-social!65
2021-02-20 13:11:47 +00:00
azuregc7 4fcae80457 Feature/username search case 2021-02-20 13:11:47 +00:00
Fosco Marotto 1a7c34724e Merge branch 'fix/confirmations' of https://code.gab.com/gab/social/gab-social into develop 2021-02-19 22:58:23 -05:00
Developer 285cccdb83 Removed unused AppsController, apps routes
• Removed:
- unused AppsController, apps routes
2021-02-19 22:32:20 -05:00
Developer e5ea8fb487 Updated BaseController to return false if doorkeeper_token nil for superapp
• Updated:
- BaseController to return false if doorkeeper_token nil for superapp
2021-02-19 22:23:36 -05:00
Developer 58a8a17bfe Updated ConfirmationsController to set new email after confirmation to unconfirmed email only
• Updated:
- ConfirmationsController to set new email after confirmation to unconfirmed email only
2021-02-19 21:57:09 -05:00
Fosco Marotto c01328c8a0 Add require_unconfirmed to the confirmations controller 2021-02-19 21:29:07 -05:00
Developer f1a857a7b4 Added created date to reports page for each report
• Added:
- created date to reports page for each report in admind moderation dashboard
2021-02-19 12:38:13 -05:00
Developer 32ac987ef0 Updated SuspendAccountService to resolve outstanding reports on suspend
• Updated:
- SuspendAccountService to resolve outstanding reports on suspend
2021-02-19 12:31:52 -05:00
Developer b7d6d5f18c Removed validation on spam_field for int in Account model
• Removed:
- validation on spam_field for int in Account model
2021-02-19 12:31:06 -05:00
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
Developer d7271b899f Fixed issue with account.rb for spam_flag to include nil by default
• Fixed:
- issue with account.rb for spam_flag to include nil by default

Was causing failure to account sign up where new values are nil and the validation failed because it expected 0,1,2 values.
2021-02-19 11:05:30 -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 da522f8841 Added check in PostStatusService for limited posting functionality to users with unconfirmed emails
• Added:
- check in PostStatusService for limited posting functionality to users with unconfirmed emails
- users with unconfirmed emails can not post mentions that are not a reply
- users with unconfirmed emails can not post to a group that is not the introduce yourself group
2021-02-19 00:08:23 -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 bf1d00b5f8 Added new follow limit for unconfirmed accounts to 10
• Added:
- new follow limit for unconfirmed accounts to 10
2021-02-18 23:18:16 -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
Developer 5149c613f2 Added StatusSimilarityService to check against spamming same statuses over and over
• Added:
- StatusSimilarityService to check against spamming same statuses over and over
- StatusSimilarityService check to PostStatusService and EditStatusService
2021-02-18 20:12:40 -05:00
Developer a955c51eb6 Added similar_text gem
• Added:
- similar_text gem
2021-02-18 20:11:39 -05:00
Developer 00e6d799e8 Fixed AddIsFlaggedAsSpamToAccounts migration down removal value 2021-02-18 23:21:09 +00:00
Developer bec3360b66 Added checks in ModalBase, PopoverBase if page goes back/forward to dismiss
• Added:
- checks in ModalBase, PopoverBase if page goes back/forward (popstate) to dismiss the modal, popover
2021-02-18 17:22:11 -05:00
Developer 7000902ecb Added check for if node exists before handleKeyDown on PopoverBase
• Added:
- check for if node exists before handleKeyDown on PopoverBase
2021-02-18 17:21:02 -05:00
Developer c85ad3e92a Updated account_flags_block to only be visible for staff
• Updated:
- account_flags_block to only be visible for staff
2021-02-18 17:01:25 -05:00
Fosco Marotto fea1b9389b Add a writing role to the shortcuts controller 2021-02-18 16:57:34 -05:00
Developer be5fc25544 Added missing account flags in admin group moderator list
• Added:
- missing account flags in admin group moderator list
2021-02-18 16:50:17 -05:00
Developer fa74c34095 Added account_flags_block partial to admin pages
• Added:
- account_flags_block partial to admin pages (groups, accounts, reports) so admin/moderators can easily see pro, verified, investor, donor, spam flags of an account
2021-02-18 16:49:14 -05:00
Developer c7df309df5 Added total report count to admin reports page
• Added:
- total report count to admin reports page
2021-02-18 16:44:49 -05:00