Commit Graph

1900 Commits

Author SHA1 Message Date
Fosco Marotto
3f6e8a62fd [groups] Change default sorts for groups and groups collection 2021-01-24 15:21:09 -05: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
admin1
07b9acc347 user master for oauth 2021-01-24 11:18:02 -05:00
Fosco Marotto
d8230aeaa0 Revert "[home] refactor the home timeline query"
This reverts commit d39664b827.
2021-01-23 23:35:52 -05:00
Fosco Marotto
d39664b827 [home] refactor the home timeline query 2021-01-23 23:23:55 -05:00
Fosco Marotto
59b1752797 [groups collection] disable custom phrase muting temporarily 2021-01-23 21:38:17 -05:00
Fosco Marotto
2e9562e2fc [home] Reduce following fanout to recent users 2021-01-23 21:36:17 -05:00
Fosco Marotto
acea03da38 Disable mute phrases on the home timeline 2021-01-23 20:31:27 -05:00
Fosco Marotto
645def5f96 SessionActivation and groups query change 2021-01-23 18:21:31 -05:00
Fosco Marotto
63ad3a1590 [doorkeeper] Attempt to fix oauth connect issues. 2021-01-23 16:33:48 -05:00
Fosco Marotto
8d09044ee4 [doorkeeper] Attempt to fix oauth connect issues. 2021-01-23 16:18:15 -05:00
Fosco Marotto
588894e2c2 [replication] Try master if replica is missing status. 2021-01-23 14:43:01 -05:00
Fosco Marotto
41790e4894 Temporarily disable inefficient filter in statuses controller. 2021-01-23 13:13:05 -05:00
rubic0n
28beb28a78 Upgrade to Rails 6
- Added listen gem because rails app:update failed without it
- Removes nsa gem because it requires activesupport < 6
  Oddly, there's a newer version per GitHub that's not on RubyGems
  that raises the requirement to < 7. But, we need a new release
  before we can use that.
- Upgrade rails-i18n to v6, for Rails 6 compatibility
- Remove redis-rails since it requires Rails < 6, but we can just use
  the regular Rails :redis_cache_store that was introduced in 5.2.
- Run `rails app:update`
  - Had to weed through the `config/environments` changes to pick up
    newly added settings, while not losing settings that were
    intentionally configured
  - This generated config/initializers/new_framework_defaults_6_0.rb.
    The goal is to uncomment all of the settings in that file. Once
    they're all uncommented, delete the file and edit
    config/application.rb's load_defaults to be 6.0.
  - force_ssl controller method is deprecated in favor of a Rails
    config setting.
  - bin/setup was generated by Rails
  - Verbose query logging in development is really helpful. It shows
    you what line of code caused a query to execute.
  - Calling establish_connection after worker boot isn't necessary
    with ActiveRecord anymore. ActiveRecord handles it gracefully.
  - Rails generated a migration to add a foreign key for ActiveStorage.
    Gab currently doesn't use ActiveStorage, and instead uses Paperclip
    (since ActiveStorage didn't exist when Mastadon started). So, this
    change isn't relevant to Gab.
- Added ` || ''` in the profiles controller, because I was unable
  to save a change to a newly created profile. (This probably
  explains the 500 error I received on prod Gab recently.)
2021-01-23 09:01:31 -06:00
Fosco Marotto
6c2a60b378 Fix previous commit. 2021-01-23 04:30:20 -05:00
Fosco Marotto
b33c16b131 Add a date limit on accounts-statusescontroller without auth 2021-01-23 04:27:48 -05:00
Fosco Marotto
940b6eb392 [group_collection] reduce date limit 2021-01-23 03:16:57 -05:00
Fosco Marotto
958e8aad3a [group_collection] Change to -my groups- timeline 2021-01-23 03:13:47 -05:00
mgabdev
3719a6cfd7 Added checks to suspension to for pro, verified, donor, investor accounts
• Added:
- checks to suspension to for pro, verified, donor, investor accounts
2021-01-23 01:41:35 -05:00
rubic0n
590dfc97e1 Run pending migrations 2021-01-22 22:53:38 -06:00
Fosco Marotto
1e5d12497c [group collection] default to hot posts 2021-01-22 00:46:51 -05:00
Fosco Marotto
d35550e535 [home] Show a status if you posted a filtered word 2021-01-22 00:17:25 -05:00
Fosco Marotto
bd3fb4994a [home feed] Still chipping away. 2021-01-22 00:09:26 -05:00
Fosco Marotto
8cc3f549e6 [home feed] Another fix. 2021-01-22 00:06:14 -05:00
Fosco Marotto
94a04d3b54 [home timeline] Fix query condition 2021-01-21 23:56:31 -05:00
Fosco Marotto
fb3b754570 [home time] Alternative method for querying the home timeline 2021-01-21 23:34:14 -05:00
Fosco Marotto
e9cf46b4bc Reverting home timeline changes 2021-01-21 18:05:24 -05:00
Fosco Marotto
0369a1b9fb Fix 2021-01-21 17:43:05 -05:00
Fosco Marotto
852d2f78e9 [sorting query builder] Adjust filtering 2021-01-21 17:37:12 -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
96b154831d Added missing group_removed_accounts in AccountInteractions
• Added:
- missing group_removed_accounts in AccountInteractions
2021-01-19 01:26:28 -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
mgabdev
24fa2d3a74 Updated StatusOptionsPopover group actions to be allowed for staff
• Updated:
- StatusOptionsPopover group actions to be allowed for staff
2021-01-19 00:38:37 -05:00
mgabdev
6354007875 Fixed issue with FA icon in ApplicationHelper
• Fixed:
- issue with FA icon in ApplicationHelper
2021-01-19 00:35:51 -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
002441af1f [redis] More connection pooling changes 2021-01-17 17:36:20 -05:00
Fosco Marotto
d2d381eb90 Raise profile photo size limit to 5mb 2021-01-17 13:15:53 -05:00
Fosco Marotto
adf0e7ae72 Logging out takes you to the home page. 2021-01-17 00:57:21 -05:00
Fosco Marotto
addfa1f8e0 Change funding bar text. 2021-01-16 15:23:33 -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
admin
8a3ed8d921 Update fetch_groups_service.rb redis 2021-01-16 18:50:11 +00:00
admin
3344afbb3d Update tag.rb redis 2021-01-16 18:47:38 +00:00
admin
29cfe511d1 Update push_update_worker.rb redis 2021-01-16 18:43:24 +00:00
Fosco Marotto
8b0f566e4f [redis] Example change to redis pooling code. 2021-01-16 13:36:19 -05:00
Fosco Marotto
919eb87d47 [temp] Remove associations from suspend account service 2021-01-16 12:59:54 -05:00
mgabdev
2c8b4f7fb4 TEST Removing all streaming for now 3
TEST

• Removing:
- all streaming for now 3 from post status
2021-01-15 20:43:07 -05:00
mgabdev
574b45e04b TEST Removing all streaming for now 2
TEST

• Removing:
- all streaming for now 2 (from server side)
2021-01-15 20:42:04 -05:00
mgabdev
8313f4b11d TEST Removing all streaming for now
TEST
• Removing:
- all streaming for now
2021-01-15 20:35:28 -05:00
mgabdev
eb8ab7c4eb Removed error line for fa_icon in ApplicationHelper
• Removed:
- error line for fa_icon in ApplicationHelper
2021-01-15 16:50:45 -05:00
mgabdev
33e758a80f Updated StatusPolicy for private group posts
• Updated:
- StatusPolicy for private group posts
- check if owner or staff first if so, show
2021-01-15 16:23:05 -05:00
mgabdev
8c14983e19 Partial revert a703b5cb7 2021-01-15 15:51:38 -05:00
mgabdev
2790408a5e Removed unused values from InitialStateSerializer
• Removed:
- unused values from InitialStateSerializer that used redis and now are in own cached api controllers for monthly_expenses_complete, trending_hashtags
2021-01-15 15:36:51 -05:00
mgabdev
2cd09a8e72 Added trending_hashtags to redux to fetch on isXS in SearchLayout
• Added:
- trending_hashtags to redux to fetch on isXS in SearchLayout

• Removed:
- trending_hashtags from initial state
2021-01-15 15:36:14 -05:00
mgabdev
f7b061845e Updated expenses action in redux to not call more than once
• Updated:
- expenses action in redux to not call more than once
2021-01-15 15:21:31 -05:00
mgabdev
33d8f571cd Updated StatusPolicy private? to include ALL hidden status types
• Updated:
- StatusPolicy private? to include ALL hidden status types
2021-01-15 15:13:04 -05:00
mgabdev
3da162bf85 Updated StatusPolicy to allow status viewing anytime status is owned by viewer
• Updated:
- StatusPolicy to allow status viewing anytime status is owned by viewer
2021-01-15 15:12:29 -05:00
mgabdev
a5caa5e352 Updated ReportFilter to use like query for filtering comments
• Updated:
- ReportFilter to use like query for filtering comments
2021-01-15 15:10:47 -05:00
mgabdev
a703b5cb78 Removed unused values, functions in InstancePresenter
• Removed:
- unused values, functions in InstancePresenter
2021-01-15 15:04:44 -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
cca9a2d24e Removed monthlyExpensesComplete from initial state, moved into API call
• Removed:
- monthlyExpensesComplete from initial state, moved into API call
- set up expenses to read from redux for Progress panel/injection
2021-01-15 15:00:20 -05:00
mgabdev
63622b5416 Removed unused setting for setting_group_in_home_feed in initial_state_serializer
• Removed:
- unused setting for setting_group_in_home_feed in initial_state_serializer
2021-01-15 14:37:19 -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
75dbf58311 Added IP address column to sessions table in settings
• Added:
- IP address column to sessions table in settings
2021-01-15 14:32:21 -05:00
mgabdev
daca5321e2 Removed log from hashtags reducer
• Removed:
- log from hashtags reducer
2021-01-15 14:29:51 -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
4d000009f5 Removed log in WelcomeReminders component
• Removed:
- log in WelcomeReminders component
2021-01-14 15:52:09 -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
ddfafa7d53 Removed UserSuggestionsPanel from HomePage sidebar for now
• Removed:
- UserSuggestionsPanel from HomePage sidebar for now
2021-01-13 23:25:57 -05:00
mgabdev
265cdbb548 Updated HomePage to show Lists, Suggestions, Groups in sidebar if PRO (for now)
• Updated:
- HomePage to show Lists, Suggestions, Groups in sidebar if PRO (for now)
2021-01-13 23:23:01 -05:00
mgabdev
05e97f741e Added feature where if no user and device dark mode enabled, enable dark mode
• Added:
- feature where if no user and device dark mode enabled, enable dark mode
2021-01-13 23:19:37 -05:00
mgabdev
25118d260e Updated account StatusesController
• Updated:
- account StatusesController
2021-01-13 23:10:32 -05:00
mgabdev
f86c1b3c6e Updated global styles and TabBarItem styles
• Updated:
- global styles and TabBarItem styles
2021-01-13 22:54:28 -05:00
mgabdev
be38ed784c Added MIN_UNAUTHENTICATED_PAGES for pagination of group, explore timelines
• Added:
- MIN_UNAUTHENTICATED_PAGES for pagination of group, explore timelines
2021-01-13 22:49:00 -05:00
mgabdev
0ef9d8410f Fixed issue in timelines reducer with wrong variable on fail
• Fixed:
- issue in timelines reducer with wrong variable on fail
2021-01-13 22:46:40 -05:00
mgabdev
763a0cb10b Updated SearchService to allow staff to view more content
• Updated:
- SearchService to allow staff to view more content
2021-01-13 22:46:08 -05:00
mgabdev
e82f89b7ac Updated timeline action use new method to stop requests from going out
• Updated;
- timeline action use new method to stop requests from going out if requires auth and no user or if no required value in function
2021-01-13 22:41:47 -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
670d6b7c65 Updated StatusList to show SignUpPanel at end of list if no user exists
• Updated:
- StatusList to show SignUpPanel at end of list if no user exists
2021-01-13 21:46:49 -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
3c252e0f4c Removed unused CommunityTimeline references, public timeline route
• Removed:
- unused CommunityTimeline references, public timeline route
2021-01-13 21:43:18 -05:00
mgabdev
89a16b101f Updated admin dashboard for ChatConversationAccounts
• Updated:
- admin dashboard for ChatConversationAccounts
2021-01-13 19:12:57 -05:00
mgabdev
183e46aa57 Added featured groups timeline injection back to timeline
• Added:
- featured groups timeline injection back to timeline
2021-01-13 18:47:58 -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
625cfab1b4 Fixed issue with emoji placement in composer
• Fixed:
- issue with emoji placement in composer
2021-01-13 18:37:07 -05:00
mgabdev
2fe5162aa8 Added WelcomeReminders component for new users
• Added:
- WelcomeReminders component for new users to complete their profile, post new status, follow a user
2021-01-13 18:31:31 -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
e754c6219b Updated HashtagTimeline to not take in multiple tags
• Updated:
- HashtagTimeline to not take in multiple tags
2021-01-13 18:10:39 -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
27389883dd Added local_following_count to account model
• Added:
- local_following_count to account model
2021-01-13 17:16:30 -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
mgabdev
d01f610da3 Added missing check in List component for if items exist
• Added:
- missing check in List component for if items exist
2021-01-13 12:05:29 -05:00
mgabdev
1899ddfbfb Updated PanelLayout footerButton styles
• Updated:
- PanelLayout footerButton styles
2021-01-13 12:03:09 -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
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
44b3484cb2 Updated chat_conversations, search actions redux
• Updated:
- chat_conversations unread_count to return 0
- search to return false if no user
2021-01-10 02:16:30 -05:00
mgabdev
60ce67309c Updated numbers util to truncate MILLIONS (!)
• Updated:
- numbers util to truncate MILLIONS
2021-01-09 20:39:59 -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
Fosco Marotto
b27c8a3238 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2021-01-09 18:20:15 -05:00
Fosco Marotto
a32c5a453b [merge_worker] disable 2021-01-09 15:44:20 -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
19a7d2f31a Fixed issue with account follow button not displaying properly
• Fixed:
- issue with account follow button not displaying properly (after removing relationship fetching in notifications and timelines)
2021-01-09 03:25:54 -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
e432c2effb Updated shortcuts to show again
• Updated:
- shortcuts to show again
2021-01-09 02:01:11 -05:00
mgabdev
8c7a52065c Added debouncing to markReadNotifications and fetchComments
• Added:
- debouncing to markReadNotifications and fetchComments
2021-01-09 01:50:18 -05:00
mgabdev
1da4cb9f0f Removed relationship fetch on timeline successful load
• Removed:
- relationship fetch on timeline successful load
2021-01-09 01:06:35 -05:00
mgabdev
5d71dc2be3 Removed fetchRelatedRelationships in streaming notifications
• Removed:
- fetchRelatedRelationships in streaming notifications
2021-01-09 01:03:05 -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
152e59a66f Updated all components that implement window resize to use redux dimensions
• Updated:
- all components that implement window resize to use redux dimensions
2021-01-08 00:15:53 -05:00
mgabdev
8744868190 Added window dimensions to redux, listener in gabsocial.js
• Added:
- window dimensions to redux, listener in gabsocial.js
2021-01-08 00:15:19 -05:00
mgabdev
a8443700a2 Removed toast on fetchCommentsFail
• Removed:
- toast on fetchCommentsFail
2021-01-07 18:46:46 -05:00
Fosco Marotto
bc35480662 [media_attachments] support NVENC_ENABLED 2021-01-07 16:10:42 -05:00
mgabdev
d9f6a142a0 Updated GroupPolicy to allow moderators to perform most group actions
• Updated:
- GroupPolicy to allow moderators to perform most group actions except for editing or destroying a group
2021-01-05 12:16:32 -05:00
mgabdev
2fcc99cccf merge resolving 2021-01-05 11:35:23 -05:00
mgabdev
b62b1166dc Updated Comment component paddings to be more compact
• Updated:
- Comment component paddings to be more compact
2021-01-05 11:34:51 -05:00
mgabdev
59384a300b Updated Account compnent dismiss and action button style alignments
• Updated:
- Account compnent dismiss and action button style alignments
2021-01-05 11:34:29 -05:00
mgabdev
698e2aa42e Fixed issue with chat mutes, blocks, requests not showing up on mobile
• Fixed:
- issue with chat mutes, blocks, requests not showing up on mobile
2021-01-05 11:34:02 -05:00
mgabdev
951e206091 Updated HomeTimeline to reload on every mount
• Updated:
- HomeTimeline to reload on every mount
2021-01-05 01:45:26 -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
6085fc2213 Updated EditProfileModal to close after clicking save
• Updated:
- EditProfileModal to close after clicking save
2020-12-31 22:07:07 -05:00
mgabdev
89225194ed Fixed issue with composer destination in group, timeline
• Fixed:
- mobile composer min height
- issue with composer destination in group, timeline (hopefully)
2020-12-31 21:46:31 -05:00
mgabdev
27f1de6af3 Updated Toast timer to be 3500ms for dismissal
• Updated:
- Toast timer to be 3500ms for dismissal
2020-12-31 21:33:22 -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
4297e1f81a Added Gab system's status page to LinkFooter
• Added:
- Gab system's status page to LinkFooter
2020-12-31 20:12:40 -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
af7c82221d Updated GroupPage to fetch group on component update if id changes
• Updated:
- GroupPage to fetch group on component update if id changes

• Fixes:
- Issue where going from group -> group (like from shortcut to shortcut) and the group children components dont update
2020-12-31 19:13:10 -05:00
mgabdev
985faeb930 Added check in deleteStatus function in timelines reducer for if timeline in map exists
• Added:
- check in deleteStatus function in timelines reducer for if timeline in map exists

• Fixes:
- Issue when muting an account it shows "success" then "fail" toasts
2020-12-31 18:55:00 -05:00
mgabdev
3809700f17 Fixed issue with cursor position in Composer, fixes emoji picker postioning
• Fixed:
- issue with cursor position in Composer, fixes emoji picker postioning
2020-12-31 18:48:35 -05:00
mgabdev
4174597a24 Updated EmojiPicker to be themed
• Updated:
- EmojiPicker to be themed - text, background colors are now matching selected theme
2020-12-31 18:47:40 -05:00
mgabdev
23e7dbee8c Removed testing log in ComposeDestinationHeader
• Removed:
- testing log in ComposeDestinationHeader
2020-12-31 17:54:43 -05:00
mgabdev
81dcab94f9 Added check in fetchStatus action for if id exists
• Added:
- check in fetchStatus action for if id exists
2020-12-31 17:49:25 -05:00
mgabdev
b129ce0f88 Fixed issue in Status page where status wont fetch on component update
• Fixed:
- issue in Status page where status wont fetch on component update
2020-12-31 17:48:59 -05:00
mgabdev
365cd86ab0 Updated ComposeDestinationHeader to not open dropdown if is edit
• Updated:
- ComposeDestinationHeader to not open dropdown if is edit
- ComposeDestinationHeader titles if is edit
2020-12-31 17:48:28 -05:00
mgabdev
e7993f9550 Fixed issue with profiles not loading when account is not fetched from DB
• Fixed:
- issue with profiles not loading when account is not fetched from DB. Like if on profile then click a account from "x reposted y", x would not load because the ProfilePage component was not fetching on update, only mount.
2020-12-31 17:16:15 -05:00
mgabdev
312289d88a Updated ProfileHeader desktop header image sizing
• Updated:
- ProfileHeader desktop header image sizing
2020-12-31 17:15:00 -05:00
mgabdev
147d7e5f05 Added group creator to admin dashboard group table
• Added:
- group creator to admin dashboard group table
2020-12-31 16:41:34 -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
mgabdev
74cc04c4cf Removed square corners on modals, popovers on small screens
• Removed:
- square corners on modals, popovers on small screens
2020-12-31 16:40:12 -05:00
mgabdev
3224ad2546 Updated position of check, arrow in ListItem
• Updated:
- position of check, arrow in ListItem
2020-12-31 16:39:46 -05:00
mgabdev
2fc8401257 Fixed issue in List for checking size for isLast of ListItem
• Fixed:
- issue in List for checking size for isLast of ListItem
2020-12-31 16:39:27 -05:00
mgabdev
33f19a3f7b Added missing size prop to Lists in popover for isXS
• Added:
- missing size prop to Lists in popover for isXS
2020-12-31 16:39:07 -05:00
mgabdev
aaaebdaea3 Updated ProfileHeader with no header image on mobile to be smaller, invisible
• Updated:
- ProfileHeader with no header image on mobile to be smaller, invisible
2020-12-31 16:37:11 -05:00
mgabdev
ab3aba4fb5 Updated Poll to show transparent background for 0%, circle radius
• Updated:
- Poll to show transparent background for 0%
- Poll to be circle radius
2020-12-31 15:30:01 -05:00
mgabdev
3b1d71c9b6 Updated DisplayName to color overflow ellipsis as same color
• Updated:
- DisplayName to color overflow ellipsis as same color
2020-12-31 15:24:44 -05:00
mgabdev
efacfeee19 Fixed issue with group join requests not showing up in list
• Fixed:
- issue with group join requests not showing up in list
2020-12-30 12:40:02 -05:00
mgabdev
2e0a781a5b Added option in GroupOptinosPopover to open group in Gab admin panel
• Added:
- option in GroupOptinosPopover to open group in Gab admin panel
2020-12-30 12:26:55 -05:00
mgabdev
699b4a3a7f Updated EditProfileModal styles
• Updated:
- EditProfileModal styles
2020-12-30 12:22:56 -05:00
mgabdev
eec863f146 Updated ProgressPanel to be more compact
• Updated:
- ProgressPanel to be more compact and have the "donate" button not blend into the progress meter
- Updated wording on both ProgressPanel, ProgressInjection
2020-12-30 12:21:43 -05:00
mgabdev
cf9f2bb824 Updated UserPanel to shrink header if no header image available
• Updated:
- UserPanel to shrink header if no header image available
2020-12-30 12:20:39 -05:00
mgabdev
92d8b3df7c Added missing semicolon in global.css class
• Added:
- missing semicolon in global.css class
2020-12-30 12:19:48 -05:00
mgabdev
81aaa98746 Fixed style issue in News page
• Fixed:
- style issue in News page when content loaded
2020-12-30 12:18:15 -05:00
mgabdev
1878a80e37 Removed toast for expandTimelineFail
• Removed:
- toast for expandTimelineFail
2020-12-30 12:17:01 -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
Fosco Marotto
381a5bacc6 [sorting query builder] from 30 days to 5 years for date_limit 2020-12-30 12:04:28 -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
b58f80eb0d [status] home timeline query update 2020-12-27 15:20:42 -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
dc1d5f6df2 Updated GroupsPanel, ListsPanel header button titles
• Updated:
- GroupsPanel, ListsPanel header button titles "All" -> "Show all"
2020-12-26 15:28:09 -05:00
mgabdev
edacb610dc Updated FileInput to have default background color
• Updated:
- FileInput to have default background color
2020-12-26 15:27:16 -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
ecc36b4670 Removed all unused styles in global.css
Removed:
- all unused styles in global.css
2020-12-25 23:11:57 -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
7dd71a06ca Updated StatusSharePopover -> SharePopover, Added group, account share
• Updated:
- StatusSharePopover -> SharePopover

• Added:
- group, account share
- group url in routes.rb
- group url in GroupSerializer.rb
- share buttons in ProfileOptionsPopover, GroupOptionsPopover
2020-12-24 13:27:55 -05:00
mgabdev
0ceccce04a Fixed issue with groups timeline composer sticking to group when leaving page
• Fixed:
- issue with groups timeline composer sticking to group when leaving page
2020-12-24 13:18:54 -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
2c51a177f1 Added back btn to ProTimeline ProPage
• Added:
- back btn to ProTimeline ProPage
2020-12-24 01:19:20 -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
19a9435203 Fixed issue in Composer, AutosuggestTextbox with textbox height pushing down media
• Fixed:
- issue in Composer, AutosuggestTextbox with textbox height pushing down media
2020-12-23 17:36:15 -05:00
mgabdev
6ffa52dbd9 Added total member count to Group Members page title
• Added:
- total member count to Group Members page title
2020-12-23 16:55:42 -05:00
mgabdev
a4aff4fef9 Updated Composer styles to hide scrollbars and fit heights
• Updated:
- Composer styles to hide scrollbars and fit heights
2020-12-23 16:37:36 -05:00
mgabdev
75c6cd9fc2 Updated PostStatusService to allow group comments without joining group
• Updated:
- PostStatusService to allow group comments without joining group
2020-12-23 15:00:30 -05:00
mgabdev
6c60d83c9c Updated noScrollbar styles
• Updated:
- noScrollbar styles in global.css
2020-12-23 14:48:18 -05:00
mgabdev
27103b174f Removed ability for non admin/mods to view GroupRemovedAccounts page
• Removed:
- ability for non admin/mods to view GroupRemovedAccounts page
2020-12-23 14:47:58 -05:00
mgabdev
bdfa42d421 Fixed issue with blocking not working
• Fixed:
- issue with blocking not working
2020-12-23 01:13:12 -05:00
mgabdev
88638cc262 Removed autofollow_inviter in BootstrapTimelineService
• Removed:
- autofollow_inviter in BootstrapTimelineService
2020-12-23 00:42:36 -05:00
mgabdev
5b40f62498 Fixed issue with status url not resolving to host
• Fixed:
- issue with status url not resolving to host
- fixes issue with status copy url in share menu
2020-12-23 00:10:34 -05:00
mgabdev
e197f2091f Fixed issue with status reposts, quote posts not showing group name after the dot
• Fixed:
- issue with status reposts, quote posts not showing groups name after the dot
2020-12-22 23:53:54 -05:00
mgabdev
70893b7e4c Fixed issue with timeline, accounts being fetched with undefined/null id
• Fixed:
- issue with timeline, accounts being fetched with undefined/null id
2020-12-22 23:52:59 -05:00
mgabdev
7142375c0b Updated Statuses to open in modal dialog when in Gab Deck
• Updated:
- Statuses to open in modal dialog when in Gab Deck instead of going out of Gab Deck to normal status page
2020-12-22 23:49:51 -05:00
mgabdev
0e860dd563 Updated styles in ChatBlocks, ChatMutes, ChatRequests to not overflow container
• Updated:
- styles in ChatBlocks, ChatMutes, ChatRequests to not overflow container so now it scrolls
2020-12-22 23:48:37 -05:00
mgabdev
0e7a336e5c Updated AccountTimeline, GroupTimeline to not include pinned posts in Gab Deck
• Updated:
- AccountTimeline, GroupTimeline to not include pinned posts in Gab Deck
2020-12-22 23:48:01 -05:00