Commit Graph

310 Commits

Author SHA1 Message Date
Fosco Marotto
958e8aad3a [group_collection] Change to -my groups- timeline 2021-01-23 03:13:47 -05:00
Fosco Marotto
1e5d12497c [group collection] default to hot posts 2021-01-22 00:46:51 -05:00
Fosco Marotto
e9cf46b4bc Reverting home timeline changes 2021-01-21 18:05:24 -05:00
Fosco Marotto
852d2f78e9 [sorting query builder] Adjust filtering 2021-01-21 17:37:12 -05:00
mgabdev
51fa8f2eb4 Added/Updated admin dashboard tables
• Added:
- New Account filtering
- PreviewCard viewing/sorting/filtering deleting (todo)
- DeletePreviewCardWorker, Service
- Status viewing/sorting/filtering deleting
- ChatMessage viewing/sorting/filtering deleting (todo)
- Account > Follows view

• Updated:
- LinkBlock to sort alphabetically
- Groups to be under "Moderation" instead of "Admin" in navigation.rb
- Status in admin to have group name/link
- Reports reset button
- Group filtering/sorting
- LinkBlock filtering/sorting
- Account now has bio and few more data points in dashboard
2021-01-19 01:25:25 -05:00
admin
90b752c91d Update statuses_controller.rb CONTEXT_LIMIT to 512 to fix terrible comment performance 2021-01-19 04:58:52 +00:00
Fosco Marotto
adf0e7ae72 Logging out takes you to the home page. 2021-01-17 00:57:21 -05:00
Fosco Marotto
2cdce808a3 redis fixes 2021-01-16 14:43:11 -05:00
Fosco Marotto
1214b0664c Redis fixes 2021-01-16 14:38:01 -05:00
Fosco Marotto
8d48c3ce3d Redis connection pooling updates 2021-01-16 13:52:11 -05:00
Fosco Marotto
8b0f566e4f [redis] Example change to redis pooling code. 2021-01-16 13:36:19 -05:00
mgabdev
2a83400d84 Removed unncessary set_data_for_meta before_action in ReactController react route
• Removed:
- unncessary set_data_for_meta before_action in ReactController react route
2021-01-15 15:02:24 -05:00
mgabdev
17af74140e Fixed issue with double render when landing on account or status page
• Fixed:
- issue with double render when landing on account or status page when using "process". Instead now just rendering the page
2021-01-15 15:01:15 -05:00
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
c33013cccf Added routes for trending_hashtags, expenses
• Added:
- routes for trending_hashtags, expenses
2021-01-15 14:28:52 -05:00
Fosco Marotto
0269c7e107 [cache] Update cache control header 2021-01-14 17:22:41 -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
7c6ef8bb9d Removed some Rack configs and moved RackAttack rate limits, headers
• Removed:
- some Rack configs and moved RackAttack rate limits, headers
2021-01-14 13:37:38 -05:00
mgabdev
feea5a65bc Fixed issue with account StatusesController
• Fixed:
- issue with account StatusesController
2021-01-14 00:10:00 -05:00
mgabdev
fb75f33b12 Updated account, groups relationships routes to post data instead of get
• Updated:
- account, groups relationships routes to post data instead of get
2021-01-13 23:51:44 -05:00
mgabdev
25118d260e Updated account StatusesController
• Updated:
- account StatusesController
2021-01-13 23:10:32 -05:00
mgabdev
129a97c1ee Updated Status comments/context to be visible to logged in users
• Updated:
- Status comments/context to be visible to logged in users
2021-01-13 22:28:09 -05:00
mgabdev
25297df30f Updated Group/Collection,Pins controllers to require user for API
• Updated:
- Group/Collection,Pins controllers to require user for API
2021-01-13 21:45:03 -05:00
mgabdev
6e475f66cb Updated MIN_UNAUTHENTICATED_PAGES to 1
• Updated:
- MIN_UNAUTHENTICATED_PAGES to 1
2021-01-13 21:43:55 -05:00
mgabdev
89a16b101f Updated admin dashboard for ChatConversationAccounts
• Updated:
- admin dashboard for ChatConversationAccounts
2021-01-13 19:12:57 -05:00
mgabdev
6234cde19c Added shortcuts back to sidebar (visible to PRO only for now)
• Added:
- shortcuts back to sidebar (visible to PRO only for now)
2021-01-13 18:46:28 -05:00
mgabdev
b15c905143 Removed API route for v1/search, only using v2/search now
• Removed:
- API route for v1/search, only using v2/search now
- v2/search requires user (for now)
2021-01-13 18:14:57 -05:00
mgabdev
8aeae9c45d Updated routes for admins dashboard
• Updated:
- routes for admins dashboard (expenses, group categories, promotions, trending hashtags) that were in the /settings path but are now in the /admin path
- /filters to be in /settings/filters

• Removed:
- authorize_follow route
2021-01-13 18:06:45 -05:00
mgabdev
2c5676a2fc Updated Explore,Group,GroupCollection timeline controllers unauth result limits
• Updated:
- Explore,Group,GroupCollection timeline controllers unauth result limits to be max 2 pages (group still empty for now)
- Max limit to be 25 (for everything, unless provided default) in BaseController
2021-01-13 14:06:28 -05:00
Fosco Marotto
46ca48b1a8 [cache] Change the base cache control to private 2021-01-12 16:42:58 -05:00
mgabdev
e689409a72 Updated AccountByUsernameController to return error 404 if suspended
• Updated:
- AccountByUsernameController to return error 404 if suspended
2021-01-12 00:51:03 -05:00
Fosco Marotto
5e6211a4f4 [feed manager] Gut the feed manager 2021-01-12 00:17:19 -05:00
Fosco Marotto
22ec66d07f [fixes] Based on APM findings 2021-01-11 23:56:42 -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
mgabdev
35f98bbfaa Updated DEFAULT_CHAT_CONVERSATION_LIMIT to 100
• Updated:
- DEFAULT_CHAT_CONVERSATION_LIMIT to 100
2020-12-31 20:51:38 -05:00
mgabdev
4d2a4cc44d Fixed issue with pagination of ChatConversations
• Fixed:
- issue with pagination of ChatConversations
2020-12-31 20:51:02 -05:00
mgabdev
5b852ae10e Updated ListsAccountsController to check if account blocks current_account
• Updated:
- ListsAccountsController to check if account blocks current_account
- Lists action and controller to only allow singular account_id instead of array
2020-12-31 19:17:55 -05:00
mgabdev
2e1f12a33a Updated admin Group editing page
• Updated:
- admin Group editing page to include list of admin mods, ability to delete group, ability to make (me/admin) admin of the group
2020-12-30 12:16:47 -05:00
mgabdev
6821909a3f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2020-12-29 13:09:08 -05:00
Fosco Marotto
42b6aeac23 [sessions] stick to master, take 2 2020-12-28 01:15:59 -05:00
Fosco Marotto
2b3c571422 [stick to master] Re-enable stick to master for media attachments, enable stick to master for user sessions 2020-12-27 01:57:18 -05:00
mgabdev
3eeb0d5b95 Fixed issue with manifest.json route
• Fixed:
- issue with manifest.json route, now returning hardcoded json successfully
2020-12-26 15:25:39 -05:00
mgabdev
91c1b769c3 Fixed issues with ExploreController, SortingQueryBuilder
• Fixed:
- issues with ExploreController when no account exists
- SortingQueryBuilder with correct status_stat path
2020-12-24 13:41:00 -05:00
mgabdev
620f50752f Updated SortingQueryBuilder for ExploreTimeline, GroupCollectionTimeline, GroupTimeline
• Updated:
- SortingQueryBuilder for ExploreTimeline, GroupCollectionTimeline, GroupTimeline

• TODO
- Test on a lot of data to ensure no repeats
- Test reducers/timeline updates to appending and concating non status.id sorted results
2020-12-24 13:34:14 -05:00
mgabdev
47dbe64df1 Updated ReactController to process account_show from routes.rb
• Updated:
- ReactController to process account_show from routes.rb
2020-12-24 13:18:19 -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
c37a5822fc Updated results to only be visible if requester has sent chat message
• Updated:
- results in RequestedConversationsController to only be visible if requester has sent chat message for count and index routes
2020-12-22 23:41:59 -05:00
mgabdev
0bf305019a Fixes
Fixes
2020-12-22 16:15:19 -05:00
mgabdev
7a62adea3e Progress on chat conversation search, scrolling 2020-12-22 13:38:52 -05:00
mgabdev
06de0c88f3 Progress 2020-12-22 12:49:40 -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
d1ff39bb81 Fixed issues 2020-12-15 19:44:01 -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
mgabdev
ba8e8942dc Added Gab Deck initial mvp
• Added:
- Gab Deck initial mvp
2020-12-05 23:47:48 -05:00
mgabdev
2f798ca1bd Added toggle option for Application superapp in admin settings
• Added:
- toggle option for Application superapp in admin settings
2020-12-04 12:28:32 -05: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
Fosco Marotto
b81b6ad1c2 [Lists] Add a 10 day limit to list query 2020-11-20 21:30:03 -08:00
Fosco Marotto
0af28e9b0a [Lists] Fix lists query 2020-11-20 21:14:33 -08:00
Fosco Marotto
62e8f846bc [Lists] Change data source and query method 2020-11-20 21:04:41 -08:00
Fosco Marotto
3fcf7fee0d [group_collection_controller] add 7 day date constraint to main query. 2020-11-20 16:37:37 -08:00
mgabdev
fb612f60c8 Commiting 2020-11-15 12:48:32 -06:00
mgabdev
1ef59c2266 Updates to fixes for deploy
• Updates:
- to fixes for deploy
2020-11-09 16:19:04 -06:00
mgabdev
6f8a1c012d Fixed issue in PopularLinksController with top links
• Fixed:
- issue in PopularLinksController with top links
2020-11-09 14:29:34 -06:00
mgabdev
10219345f7 Updated PopularLinksController
• Updated:
- PopularLinksController
2020-11-09 14:02:44 -06:00
mgabdev
21937d9e09 Added promotions to redux and added selector for setting promotions if not PRO
• Added:
- promotions to redux
- selector for setting promotions if not PRO

• Updated:
- StatusList, SidebarPanelGroup to use promotions from redux
2020-11-09 13:28:43 -06:00
mgabdev
a62de51b78 Removed unused api TrendsController from ruby
• Removed:
- unused api TrendsController from ruby
2020-11-09 12:33:28 -06:00
mgabdev
c0d3d1d6c4 Removed unused activitypub controllers from ruby
• Removed:
- unused activitypub controllers from ruby
2020-11-09 12:32:34 -06:00
mgabdev
d7cc2419a6 Removed unused DirectController for timelines from ruby
• Removed:
- unused DirectController for timelines from ruby
2020-11-09 12:31:24 -06:00
mgabdev
e5f68c3c55 Removed unused Instances api routes from ruby
• Removed:
- unused Instances api routes from ruby
2020-11-09 12:30:54 -06:00
mgabdev
cf7b554d69 Removed unused well_known routes from ruby
• Removed:
- unused well_known routes from ruby
2020-11-09 12:29:35 -06:00
mgabdev
0526e546c9 Removed unused ActivityPub workers in status PinsController
• Removed:
- unused ActivityPub workers in status PinsController
2020-11-09 12:28:36 -06:00
mgabdev
bfd1e1ef9d Removed unused GifsController
• Removed:
- unused GifsController
2020-11-09 12:15:57 -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
83006eed39 Updated EmptyController to have protections and error responses
• Updated:
- EmptyController to have protections and error responses
2020-11-09 12:10:11 -06:00
mgabdev
297fac5d21 Updated some controllers to inherit from EmptyController
• Updated:
- some controllers to inherit from EmptyController
2020-11-09 12:08:31 -06:00
mgabdev
7027cd0bf4 Added EmptyController in ruby
• Added:
- EmptyController in ruby
2020-11-09 12:05:35 -06:00
mgabdev
f175b640f0 Updated news, trends image url path in redux
• Updated:
- news, trends image url path in redux
2020-11-09 12:00:37 -06:00
mgabdev
380042cb7a Updated GabTrendsController to be disabled on prod
• Updated:
- GabTrendsController to be disabled on prod
2020-11-09 01:30:27 -06:00
mgabdev
6afa8b1f35 Added PopularLinks controller
• Added:
- PopularLinks controller to fetch popular links, most recent 2 gabs from `@gab`

• Todo:
- Clean up code, store results in redis for time
- Add top video/links
2020-11-06 23:24:16 -06:00
mgabdev
ae0132663c Added test params in GabTrendsController for local, dev envs
• Added:
- test params in GabTrendsController for local, dev envs
2020-11-06 23:23:18 -06:00
mgabdev
04cf1ad7ce Added a few route matches in ReactController
• Added:
- a few route matches in ReactController
2020-10-30 12:56:03 -05:00
mgabdev
f129d9c49b Added LinkTimeline and PreviewCard fetching by id
• Added:
- LinkTimeline and PreviewCard fetching by id
2020-10-29 18:46:54 -05:00
mgabdev
acc956777e Updated applications, development admin settings to be staff only
• Updated:
- applications, development admin settings to be staff only
2020-10-28 23:09:53 -05:00