Commit Graph

203 Commits

Author SHA1 Message Date
mgabdev
7bc93ff98f Removed all occurances of "theme" from backend, settings
• Removed:
- all occurances of "theme" from backend, settings

Theme is set in WebSettings through client. And set in <Display />.
2021-01-15 14:35:50 -05:00
mgabdev
285aa17024 Added search to admin reports page
• Added:
- search to admin reports page
2021-01-14 14:17:05 -05:00
mgabdev
27389883dd Added local_following_count to account model
• Added:
- local_following_count to account model
2021-01-13 17:16:30 -05:00
Fosco Marotto
22ec66d07f [fixes] Based on APM findings 2021-01-11 23:56:42 -05:00
mgabdev
31de5a0a2d Updated home timeline in Status.rb to find from max 3 days ago
• Updated:
- home timeline in Status.rb to find from max 3 days ago
2021-01-11 03:29:07 -05:00
Fosco Marotto
f873a1f925 Revert "[sidekiq] disable bootstraptimelineworker"
This reverts commit 50f010652e.
2021-01-09 18:23:49 -05:00
Fosco Marotto
50f010652e [sidekiq] disable bootstraptimelineworker 2021-01-09 18:21:41 -05:00
mgabdev
aac506bd4e Removed all usage of unused MergeWorker
• Removed:
- all usage of unused MergeWorker
2021-01-09 14:33:01 -05:00
mgabdev
5e82d71a9f Fixed issue in notifications to show notifications GT not LT 7 days ago
• Fixed:
- issue in notifications to show notifications GT not LT 7 days ago
2021-01-09 02:04:07 -05:00
mgabdev
f4512b4411 Added/removed some functionality to better handle requests/load
- Removed status counting in dashboard for admins
- Added limit to notifications to only 7 days ago
- Removed ability for non-logged in users to view group, group-collection timelines
- Limited account realtime search on compose, list, chat actions
- Removed fetching of user suggestions
- Removed fetching of shortcuts
- Removed featured groups, user suggestions timeline injections
- Removed group featured panel from explore layout for non logged in users
- Removed media gallery panel from profile layout
- Removed lists, suggestions, groups panel from home page
- Removed user suggestions to list page
- Updated pro_timelie in status.rb to find only from 1 hour ago
- Updated home timeline to not include groups and to find only latest from 5 days ago
- Removed search for non logged in users
2021-01-08 21:46:03 -05:00
Fosco Marotto
bc35480662 [media_attachments] support NVENC_ENABLED 2021-01-07 16:10:42 -05:00
mgabdev
2fcc99cccf merge resolving 2021-01-05 11:35:23 -05:00
Fosco Marotto
46ceced444 [home] Home feed update to 21 days and always from database 2021-01-03 00:38:23 -05:00
Fosco Marotto
ecb5c6554c [index] add index on status_revisions.status_id 2021-01-02 23:12:32 -05:00
mgabdev
585b0eccdb Updated Status recent scope to sort by created_at not updated_at
• Updated:
- Status recent scope to sort by created_at not updated_at

Whenever someone makes an edit or updates their status it is sorted by updated_at and goes to the top of the list. We don't want that.
2020-12-31 16:40:56 -05:00
Fosco Marotto
b58f80eb0d [status] home timeline query update 2020-12-27 15:20:42 -05:00
mgabdev
aa88fc16c9 Fixed issue with showing status meta in html head/title tags
• Fixed:
- issue with showing status meta in html head/title tags
2020-12-23 17:38:18 -05:00
mgabdev
0a4c31d39e Fixed issue with poll vote counts not showing
• Fixed:
- issue with poll vote counts not showing by not including !hide_totals? in poll.rb
2020-12-22 23:46:43 -05:00
mgabdev
4e1e29571b Progress on chat 2020-12-22 14:19:38 -05:00
mgabdev
34f6a1ab5b Progress
new MediaAttachment video style :playable for mp4 to make videojs work with multiple files, hiding albums, hiding bookmark collections. may need tweaks on mediaattachment for mov and other formats : todo :
2020-12-22 12:11:22 -05:00
mgabdev
6fbea0a59e Progress on little important things
removing .mov for now until we can figure out solution with videojs, added model to track username changes, got chat creation flow down, progress on bookmark collections, albums, filtering blocks/mutes from group, explore, collection timelines
2020-12-22 01:36:38 -05:00
mgabdev
67d94858dc Progress
hashtag in top of tag feed, scroll to comment, chat blocking, muting, filtering
2020-12-21 18:30:46 -05:00
mgabdev
ee91809e8d Progress
Albums almost done, group, chat moderation, photo, video page updates
2020-12-21 13:25:05 -05:00
mgabdev
1a8ecc672c Progress on group account search
Added group member search, group removed account, album add styles
2020-12-20 19:28:32 -05:00
mgabdev
67eb9d5890 Progress
Report modal style fix, chat updates, statusserializer revert, display name truncation
2020-12-20 12:27:24 -05:00
mgabdev
7ec426e3d8 Progress on DMs
Progress on DMs
2020-12-19 01:33:33 -05:00
mgabdev
47cd60f851 Progress
added composer query string functionality for url, text. fixed issue with no user in base_controller, cleaned up video component, albums starting
2020-12-17 23:46:37 -05:00
mgabdev
5a37a7090e Progress
accounts approved, video player testing, bookmark collections
2020-12-17 01:34:00 -05:00
mgabdev
8f94ffad9c Progress 2020-12-16 02:39:07 -05:00
mgabdev
75d52c841e Progress 2020-12-15 19:31:30 -05:00
mgabdev
de0c977950 Progress on deck, dms 2020-12-10 11:51:45 -05:00
mgabdev
6c13144fbc Progress 2020-12-09 15:02:43 -05:00
mgabdev
586935f07f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk 2020-12-09 00:00:35 -05:00
mgabdev
c18991f174 Added LinkBlock functionality in admin
• Added:
- LinkBlock functionality in admin
2020-12-08 23:19:10 -05:00
Fosco Marotto
95d326936b [media] Force media attachments query from master on status post, change home query 2020-12-06 11:16:04 -08:00
mgabdev
f6a7422704 Progress on DMs responsiveness
Progress on DMs responsiveness
2020-12-03 22:27:09 -05:00
mgabdev
137a36b810 Progress with DMs
Progress with DMs
2020-12-03 17:13:11 -05:00
mgabdev
9a43c51085 Progress on dms, code cleanup
Progress on dms, code cleanup
2020-12-02 23:22:51 -05:00
mgabdev
20d4fc09af Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/removing_ruby_junk 2020-11-25 16:43:09 -06:00
mgabdev
b4e370d3d3 Commiting 2020-11-25 15:22:37 -06:00
mgabdev
fb612f60c8 Commiting 2020-11-15 12:48:32 -06:00
admin
06125bf882 change created_at to updated_at for recent statuses to use index 2020-11-14 13:14:33 +00:00
admin
6a8a538d33 Added date constraint to as_group_timeline in status.rb 2020-11-13 15:37:32 +00:00
admin
b75e34253c Changed home timeline to be last 5 days instead of 30 2020-11-13 15:23:00 +00:00
mgabdev
4100f3dd63 Removed unused ostatus, activitypub actions from service code
• Removed:
- unused ostatus, activitypub actions from service code
2020-11-09 12:25:14 -06:00
mgabdev
b0e3d611f5 Removed unused code from initial_state and ReactController
• Removed:
- unused code from initial_state and ReactController
2020-11-09 12:14:42 -06:00
mgabdev
6e45eb18ca Updated SearchService Group, PreviewCard, Tag to be limit to 25
• Updated:
- SearchService Group, PreviewCard, Tag to be limit to 25
2020-11-04 13:50:39 -06:00
mgabdev
75e3ac6c7d Updated PreviewCard, Group search_for functions to return max 25
• Updated:
- PreviewCard, Group search_for functions to return max 25
2020-11-03 13:10:02 -06:00
mgabdev
b634e4f482 Updated cashtags to be any number of characters
• Updated:
- cashtags to be any number of characters
2020-11-02 14:30:53 -06:00
mgabdev
7e673d4e7f Added link/PreviewCard search to search
• Added:
- link/PreviewCard search to search
2020-10-31 18:10:59 -05:00
mgabdev
6db1cf421b Added cashtag support for statuses
• Added:
- cashtag support for statuses

Ref: e23931b255
2020-10-30 14:01:55 -05:00
mgabdev
4e9d76dda1 Updated user model to call function immediately after_create
• Updated:
- user model to call function immediately after_create to welcome, auto follow
2020-10-16 18:35:13 -05:00
mgabdev
3c07e9d63b Added new security question to sign up, Added notification for unconfirmed emails
• Added:
- new security question to sign up
- notification for unconfirmed emails
- modal for describing issue with Gab emails
2020-10-16 16:25:37 -05:00
mgabdev
871aeca198 Removed private_group from selectable_visibilties in preferences page
• Removed:
- private_group from selectable_visibilties in preferences page
2020-10-08 11:52:08 -04:00
mgabdev
5cb35c7b31 Fixed issue with empty passwords for groups
• Fixed:
- issue with empty passwords for groups
2020-09-15 00:14:22 -05:00
mgabdev
e1fb44af86 Added new visibility in Status: private_group
• Added:
- new visibility in Status: private_group
2020-09-14 11:05:05 -05:00
mgabdev
6e17b7c17b Updated GroupCategory functionality with Groups
• Updated:
- GroupCategory functionality with Groups
2020-09-10 17:12:43 -05:00
mgabdev
217aab9faa Added join requests to Groups
• Added:
- join requests to Groups
- redux actions, reducers
- controller and functionality for fetching join requests, accepting, rejecting join requests
2020-09-10 17:07:00 -05:00
mgabdev
d030783089 Added GroupPinnedStatuses
• Added:
- GroupPinnedStatuses
- controllers for timeline, creation, deletion
- redux actions, reducers for creation, deletion
- timeline fetching in timelines action
- options to pin, unpin in status options popover for group admin
2020-09-10 15:07:01 -05:00
mgabdev
ac9b9e8448 Added new role for moderator to Groups
• Added:
- new role for moderator to Groups
2020-09-02 18:06:38 -05:00
mgabdev
cc224d7659 Added password field to Group model
• Added:
- password field to Group model
2020-09-02 17:56:16 -05:00
mgabdev
baee8d1141 Updated GroupCoverImage to have max 5MB
• Updated:
- GroupCoverImage to have max 5MB
2020-09-02 17:55:44 -05:00
mgabdev
6d36474d13 Updated as_group_collection_timeline query in Status.rb
• Updated:
- as_group_collection_timeline query in Status.rb
2020-08-20 17:22:38 -05:00
mgabdev
addf9d9dd1 Fixed issue with locked/private users displaying in Pro feed and Verified wtf
• Fixed:
- issue with locked/private users displaying in Pro feed and Verified wtf
2020-08-19 11:37:31 -05:00
mgabdev
f7bf7e2263 Updated Group model to search for sort by most member_count
• Updated:
- Group model to search for sort by most member_count
2020-08-12 17:41:55 -05:00
mgabdev
57d27420ca Updated group timelines and sorting
• Updated:
- group timelines and sorting
2020-08-07 17:59:39 -05:00
mgabdev
e4b7328174 Added onlyVerified for searching account.rb
• Added:
- onlyVerified for searching account.rb

• Todo:
- fully implement
2020-08-06 23:12:19 -05:00
mgabdev
e72cb27362 Updated group mode to show visible groups
• Updated:
- group mode to show visible groups
2020-08-06 23:11:50 -05:00
mgabdev
6fb9701f0d Updated status.recent scope
• Updated:
- status.recent scope to use created_at not updated_at
2020-08-06 23:10:59 -05:00
mgabdev
7d4ff8df63 Upated GroupController, Removed GroupQueryService
• Upated:
- GroupController

• Removed:
- GroupQueryService
2020-08-06 00:15:47 -05:00
mgabdev
0c99ac60c0 Updated status model only_replies, without_replies to check reply boolean
• Updated:
- status model only_replies, without_replies to check reply boolean instead of in_reply_to_id because if a status is deleted then we don't want a comment to show as a normal status
2020-08-05 23:33:39 -05:00
mgabdev
a5540d3106 Added group.rb model descriptions
• Added:
- group.rb model descriptions
2020-08-05 23:17:38 -05:00
mgabdev
32c62955bf Added has_quote to status_serializer and set in status.rb
• Added:
- has_quote to status_serializer and set in status.rb
2020-08-05 23:17:17 -05:00
mgabdev
926477fe45 Added group_categories model file, redux
• Added:
- group_categories model file, redux
2020-08-05 23:13:49 -05:00
mgabdev
f0347b1c23 Updated status_bookmark model
• Updated:
- status_bookmark model definitions
2020-08-05 22:51:49 -05:00
mgabdev
13af58da7a Added bookmarks
• Added:
- bookmarks for GabPRO members only
- migration for creation of StatusBookmarks
- all necessary routes, controllers
- redux for adding, removing, fetching and displaying bookmarks
- bookmark icon
- doorkeeper scopes
- backend and frontend support

Bookmarks behave like likes/favorites, except they aren't shared with other users and do not have an associated counter.

dfea7368c9
2020-07-24 18:48:31 -05:00
mgabdev
7aa7b66374 Updated PreviewCard, FetchLinkCardService, FetchOEmbedService
• Updated:
- PreviewCard, FetchLinkCardService, FetchOEmbedService to work better
2020-07-22 13:51:08 -05:00
mgabdev
f92f75d747 Added shortcuts
• Added:
- shortcuts functionality
- shortcuts route, controller, model
- shortcut error message for "exists"
- shortcut redux
- EditShortcutsModal, constant
- links to sidebar, sidebar_xs
- options to add/remove group, account in GroupOptionsPopover, ProfileOptionsPopover
- shortcuts page, feature/list
2020-07-21 22:24:26 -05:00
admin
b37597e178 Update status.rb 2020-07-10 14:29:51 +00:00
mgabdev
6d6f2b8562 Removed is_investor, is_donor from popular_accounts query in status.rb
• Removed:
- is_investor, is_donor from popular_accounts query in status.rb
2020-07-08 21:18:44 -05:00
mgabdev
2f2e1a13d0 Updated as_pro_timeline to check for 2 hours ago
• Updated:
- as_pro_timeline to check for 2 hours ago
2020-07-08 17:46:40 -05:00
mgabdev
5c36a30b69 Added new migrations for adding indexes
• Added:
- new migrations for adding indexes
2020-07-07 17:25:47 -05:00
mgabdev
0fdf762815 Updated GabTrendsController, ShopController to use Request instead of Net
• Updated:
- GabTrendsController, ShopController to use Request instead of Net
2020-07-07 16:01:51 -05:00
mgabdev
bc2eeee497 Added pro feed
• Added:
- pro feed
2020-07-01 21:40:00 -04:00
mgabdev
7ad7fe06bd Removed public/community timeline for non-admins
• Removed:
- public/community timeline for non-admins
- links to the page
- web sockets for the page
2020-06-19 15:42:13 -04:00
mgabdev
79330acb21 Updated account search result sorting
• Updated:
- search to order results for users by follow count, rank and if they're verified or not
2020-06-12 21:45:35 -04:00
mgabdev
985e1458d5 Removed unused/old/pre-refactor settings
•Removed:
- unused/old/pre-refactor settings
2020-06-07 14:01:54 -04:00
mgabdev
b7e24f4245 Updated status.rb scopes and api public timline controller to be always local only
• Updated:
- status.rb scopes and api public timline controller to be always local only
2020-06-06 16:25:07 -04:00
mgabdev
ce69d939b7 Removed AdminMailer emails for reports and pending accounts
• Removed:
- AdminMailer emails for reports and pending accounts
2020-05-28 19:30:37 -04:00
mgabdev
6d330716cd Updated as_public_timeline to be date restricted
Updated:
- as_public_timeline to be date restricted to only 30 minutes
2020-05-27 17:59:15 -04:00
mgabdev
6f8416de68 Removed custom_css setting
• Removed:
- custom_css setting, controller, locales
2020-05-26 00:56:11 -04:00
mgabdev
9da92ab9a5 Update search to include only local accounts 2020-05-25 16:53:49 -04:00
mgabdev
4b5493eeda Updated as_public_timeline to be date restricted
• Updated:
- as_public_timeline to be date restricted to only 1 day
2020-05-23 01:08:51 -04:00
mgabdev
cc50b4f8d1 revert f091e9a3d 2020-05-22 17:17:56 -04:00
mgabdev
f091e9a3d4 Updated as_public_timeline to be date restricted
• Updated:
- as_public_timeline to be date restricted to only 5 days
2020-05-22 12:46:47 -04:00
mgabdev
3bfbfbf3d8 Updated home_feed.rb as_home_timeline date restriction again
• Updated:
- home_feed.rb as_home_timeline date restriction again
2020-05-22 01:00:56 -04:00
mgabdev
72df048f84 Updated home_feed.rb as_home_timeline to be date restricted
• Updated:
- home_feed.rb as_home_timeline to be date restricted to only 45 days
2020-05-22 00:40:31 -04:00
mgabdev
78c8100768 Updated home_feed.rb as_home_timeline to include max_id
• Updated:
- home_feed.rb as_home_timeline to include max_id
- if no max_id (its the initial page load) then query only between now - 60 days
- else, dont add the date restraint
2020-05-21 23:48:05 -04:00
mgabdev
9f9b410207 Updated status.rb replies scopes to check in_reply_to_id
• Updated:
- status.rb replies scopes to check in_reply_to_id instead of reply
2020-05-19 13:35:17 -04:00
mgabdev
483f8fb888 Updated status.rb recent scope to reorder by updated_at
• Updated:
- status.rb recent scope to reorder by updated_at from id
2020-05-19 13:00:57 -04:00