Commit Graph

61 Commits

Author SHA1 Message Date
Fosco Marotto
e9cf46b4bc Reverting home timeline changes 2021-01-21 18:05:24 -05:00
Fosco Marotto
5b4b633702 [home feed] Fix for previous update. 2021-01-21 17:19:15 -05:00
Fosco Marotto
8413ca93a4 [home feed] Changes to reduce database use. 2021-01-21 17:09:46 -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
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
46ceced444 [home] Home feed update to 21 days and always from database 2021-01-03 00:38:23 -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
75d52c841e Progress 2020-12-15 19:31:30 -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
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
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
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
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
e1fb44af86 Added new visibility in Status: private_group
• Added:
- new visibility in Status: private_group
2020-09-14 11:05:05 -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
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
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
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
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
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
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
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
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
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
mgabdev
bb0182c1e1 pull 2020-05-11 23:34:18 -04:00
mgabdev
8e349c368c Progress 2020-05-01 01:50:27 -04:00
mgabdev
e2e7e8c0af Progress 2020-04-23 02:13:29 -04:00
mgabdev
fed036be08 Progress 2020-04-22 01:00:11 -04:00
mgabdev
4d7aee59c9 Progress 2020-04-17 01:35:46 -04:00
2458773093
d1f7d17ef5 new revision model 2019-09-17 17:21:29 +03:00
Rob Colbert
1196ef362d disable group posts in home feed 2019-08-28 02:21:42 -04:00