Commit Graph

228 Commits

Author SHA1 Message Date
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
mgabdev
575d62f695 Updated user action to use importFetchedAccount, better undefined checks
• Updated:
- user action to use importFetchedAccount
- better undefined checks
2020-07-17 15:19:40 -05:00
mgabdev
118e766b01 Added note_plain to account normalizer
• Added:
- note_plain to account normalizer for a plain text bio/description/note
2020-07-17 15:18:56 -05:00
mgabdev
de834cd586 Updated Introduction/onboarding flow
• Updated:
- Introduction/onboarding flow

• Added:
- autoJoinGroup to default "Introduce Yourself" group in gab.com if you post the welcome post in introduction last slide
2020-07-14 22:31:54 -05:00
mgabdev
f8d2b4845d Added user redux for updating profile/credentials
• Added:
- user redux for updating profile/credentials
2020-07-14 18:44:42 -05:00
mgabdev
e9475219c9 Added welcome page/introduction/onboarding flow
• Added:
- welcome page/introduction/onboarding flow

• Todo:
- clean up code for showing new user the page
- add code for saving profile, cover photos, display name from intro slides
2020-07-14 01:05:05 -05:00
mgabdev
1c1bfabb17 Updated submitCompose to take in groupId intead of group
• Updated:
- submitCompose to take in groupId intead of group
2020-07-14 00:26:46 -05:00
mgabdev
91d5a81b72 Added composeClear function in redux
• Added:
- composeClear function in redux
2020-07-14 00:19:02 -05:00
mgabdev
f572608b60 Updated shop api request url
• Updated:
- shop api request url
2020-07-08 19:56:14 -05:00
mgabdev
2f1673a886 Updated trends, shop api request routes
• Updated:
- trends, shop api request routes
2020-07-08 19:36:50 -05:00
mgabdev
f3b57b5810 Added Explore page with Gab Trends partner data
• Added:
- Explore page with Gab Trends partner data
2020-07-01 22:39:43 -04:00
mgabdev
bc2eeee497 Added pro feed
• Added:
- pro feed
2020-07-01 21:40:00 -04:00
mgabdev
f41274efc7 Added verified accounts/suggestions panel, updated suggestions route
• Added:
- verified accounts/suggestions panel

• Updated:
- suggestions route
2020-07-01 21:36:53 -04:00
mgabdev
095e646661 Added ShopPanel to home sidebar
• Added:
- ShopPanel to home sidebar
- DIssenter shop redux, api route/controller
2020-07-01 21:33:10 -04:00
mgabdev
fc80955306 Updating composer to fix line breaks and other rich text issues
• Updating:
- composer to fix line breaks and other rich text issues
2020-06-19 21:02:13 -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
2387c3314a Updating Rich Text editor x 1 2020-06-17 17:29:24 -04:00
mgabdev
f7e0528d3b Merge branch 'feature/rich_text_editor' of https://code.gab.com/gab/social/gab-social into develop 2020-06-17 16:45:45 -04:00
mgabdev
1a506327db Rich Text Editor (WIP) x3 2020-06-17 13:25:10 -04:00
mgabdev
861ae55aec Rich Text Editor (WIP) x2 2020-06-16 19:44:30 -04:00
mgabdev
6f12f94c8c Updated fetchRelationships for accounts and importing
• Updated:
- fetchRelationships for accounts and importing relationships on timeline fetches
2020-06-12 19:38:05 -04:00
mgabdev
20a3221c4b Rich Text Editor (WIP) 2020-06-12 12:01:54 -04:00
mgabdev
823e01ca6a Removed testing log
• Removed:
- testing log in accounts action
2020-06-10 23:28:16 -04:00
mgabdev
4e72076b98 Added click to refresh on Home and Notifications
• Added:
- click to refresh on Home and Notifications... If click on notifications or home button, it refreshes the data
2020-06-10 17:44:38 -04:00
mgabdev
ddcf85c672 Updated user lists
• Updated:
- user lists
- follow_requests, followers, following, mutes, blocks
2020-06-09 16:47:12 -04:00
mgabdev
4a23c62ec8 Updated Gab Trends api, redux, panel
• Updated:
- Gab Trends api, redux, panel
- GabTrendsController takes in query string for feed type
2020-06-08 22:10:51 -04:00
mgabdev
efd9d684e0 Updated comment composer to include mentions on first focus
This will (somewhat & temporarily) fix the issue of people not getting notifications when others comment via inline comment composer in the timeline

• Updated:
- comment composer to include mentions on first focus

• Todo:
- Test on develop
- Work in backend to resolve issue completely of non-mentioned people not getting notified on their own replies
2020-06-08 19:46:22 -04:00
mgabdev
a5e99dd7c3 Added unique photos and videos tab to profile
• Added:
- unique photos and videos tab to profile
- mediaType/media_type query string in api/statuses_controller

• Updated:
- /media to redirect to /photos
- AccountGallery, selector to accept mediaType and update on change in componentWillReceiveProps

• Removed:
- Generic "media" tab

• Todo:
- Create index for MediaAttachment.type
2020-06-08 19:38:36 -04:00
mgabdev
1f78bc6879 Updated emoji in status, comments to be large if conditions apply
• Updated:
- emoji in status, comments to be large if conditions apply: no other text and < 4 emojis
2020-06-08 11:35:57 -04:00
mgabdev
250e6a4357 Removed "identity proofs" from frontend and api route
• Removed:
- "identity proofs" from frontend, settings
- "identity proofs" api route
2020-06-07 13:47:22 -04:00
mgabdev
66fc8269cc Added follow requests to notifications page
• Added:
- follow requests to notifications

• Updated:
- ui.js will mount to listen for path for follow_requests to set filter
- notification action expandNotifications to not request if filter is follow_request
- order of notification_filters
- AccountAuthorize
- FollowRequest page
2020-06-07 13:27:08 -04:00
mgabdev
7b4faf3bf5 Removed domain blocks
• Removed:
- domain blocks as we are not using any other domains than gab.com
2020-06-06 20:14:20 -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
91a227913a Added emoji support for composer
• Added:
- emoji support for composer
- new emoji sheet

• Updated:
- Textarea to accomodate
- Reducers and actions to retrieve caretPosition on text change when typing

• Removed:
- Unused input type on AutosuggestTextbox
- Old emoji sheet.png
2020-06-05 21:43:08 -04:00
mgabdev
9c67882cf1 Updated group_lists reducer booleans
• Updated:
- group_lists reducer booleans to be isLoading, isFetched
2020-06-04 18:52:26 -04:00
mgabdev
4f7728b2fa Updated how groups are fetched, loaded
• Updated:
- how groups are fetched, loaded by setting flags for isLoading, isFetched per tab (new, admin, member, featured)

• Todo:
- Reload on group added, group removal
2020-06-04 18:48:24 -04:00
mgabdev
260553b7e7 Added comment sorting
• Added:
- comment sorting to comments on status page
- new comment sorting options popover, web setting, constants
2020-05-27 01:15:10 -04:00
mgabdev
163f6ab1e7 Updated nav and page title for profiles
• Updated:
- nav and page title for profiles to be emojified
2020-05-26 20:33:53 -04:00
mgabdev
08365cbead revert c280c102b 2020-05-22 02:55:58 -04:00
mgabdev
c280c102b6 TESTING - Notification logs - 1
TESTING - Notification logs - 1
2020-05-22 02:33:52 -04:00
mgabdev
46b1206be1 Removed refreshHomeTimelineAndNotification from streaming.js
• Removed:
- refreshHomeTimelineAndNotification from streaming.js
2020-05-22 01:26:40 -04:00
mgabdev
3c310c457b Updated notifications to set filter if view query is present on load
• Updated:
- notifications to set filter if view query is present on load
2020-05-21 18:03:35 -04:00
mgabdev
663f46b166 Updated frontend notification filtering and configuration
• Updated:
- frontend notification filtering and configuration

• Added:
- lastReadNotificationId to initial_state
- minWidth20PX for responsive notification icon hiding on xs

• Removed:
- unused code
2020-05-21 15:37:40 -04:00
mgabdev
2444f77e03 Fixed issue with reassigning const for scheduled posts
• Fixed:
- issue with reassigning const for scheduled posts
- schedule posts now work as expected
2020-05-15 16:57:21 -04:00
mgabdev
3725bfa5ef Fix issue with quote repost not opening modal dialog 2020-05-15 01:34:01 -04:00
mgabdev
e321c36c25 Progress 2020-05-14 23:46:10 -04:00
mgabdev
805012ab72 Progress 2020-05-14 23:36:10 -04:00
mgabdev
a1977ba450 Progress 2020-05-14 23:17:31 -04:00
mgabdev
59466ccc08 Progress 2020-05-14 22:31:24 -04:00
mgabdev
8d452f0f6b Progress 2020-05-14 19:56:27 -04:00
mgabdev
4acc21944c Progress 2020-05-14 02:03:22 -04:00
mgabdev
b620cb1372 Progress 2020-05-08 22:17:19 -04:00
mgabdev
c1131db577 Progress 2020-05-06 19:40:54 -04:00
mgabdev
e1e26afe11 Progress 2020-05-06 00:33:54 -04:00
mgabdev
01bb440385 Progress
comments yo
2020-05-05 01:16:01 -04:00
mgabdev
498f163880 Progress 2020-05-04 14:44:37 -04:00
mgabdev
055b5a430f progress 2020-05-03 01:22:49 -04:00
mgabdev
196a906cec Progress 2020-05-02 02:25:55 -04:00
mgabdev
8e349c368c Progress 2020-05-01 01:50:27 -04:00
mgabdev
8673eb8975 Progress 2020-04-30 00:34:50 -04:00
mgabdev
03de4c4fea Progress 2020-04-29 18:32:49 -04:00
mgabdev
5efe40f301 Progress 2020-04-28 22:24:35 -04:00
mgabdev
c3d0d8bde2 Progress 2020-04-28 01:33:58 -04:00
mgabdev
01c8041a6a Progress 2020-04-23 23:17: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
mgabdev
595208780e Progress 2020-04-11 18:29:19 -04:00
mgabdev
7249143d9f Progress 2020-04-09 15:18:14 -04:00
mgabdev
bb4fcdf32d Progress 2020-04-07 21:06:59 -04:00
mgabdev
b5e3c2a94f Progress 2020-04-06 21:53:23 -04:00
mgabdev
e485e2f955 Progress 2020-04-03 19:18:26 -04:00
mgabdev
416bc3d603 Progress 2020-04-02 12:57:04 -04:00
mgabdev
d79133c72d Progress 2020-04-02 00:07:47 -04:00
mgabdev
80d41b8d94 Progress 2020-04-01 23:17:21 -04:00
mgabdev
1a33759e19 Progress 2020-03-31 12:04:50 -04:00
mgabdev
bc631b65db Progress 2020-03-27 18:57:03 -04:00
mgabdev
0f01c1bc97 Progress 2020-03-24 23:08:43 -04:00
mgabdev
0d9dbdfecd Progress 2020-03-24 00:39:12 -04:00
mgabdev
65af72faae Progress 2020-03-14 13:31:29 -04:00
mgabdev
7712ebdbbd Progress 2020-03-11 19:56:18 -04:00
mgabdev
0b94033011 Progress 2020-03-08 19:02:28 -04:00
mgabdev
557c6470f5 Progress 2020-03-06 23:53:28 -05:00
mgabdev
567894f614 Progress 2020-03-04 17:26:01 -05:00
mgabdev
33952e424f Progress 2020-03-03 22:45:16 -05:00
mgabdev
0df3c073a5 Progress 2020-03-02 17:26:25 -05:00
mgabdev
c6aa4e08a1 Progress 2020-02-29 10:42:47 -05:00
mgabdev
3ca4ffcc6b Progress 2020-02-28 10:20:47 -05:00
mgabdev
e37500c0cf Progress 2020-02-19 18:57:07 -05:00
mgabdev
2bd01457a6 Updating files after merge 2020-01-29 11:45:17 -05:00
mgabdev
0a3c6cea89 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into feature/frontend_refactor 2020-01-28 11:29:26 -05:00
mgabdev
7fb0b462e2 Fix notifications
https://gitlab.com/soapbox-pub/soapbox/merge_requests/120/diffs#diff-content-917c7fb80cf426cfae1e7baaa21b3d90ccb2b29c
2020-01-16 18:24:10 -05:00
mgabdev
adde863246 Merge branch 'feature/search_updates_groups' of https://code.gab.com/gab/social/gab-social into develop 2020-01-16 17:56:04 -05:00
mgabdev
76981e56c5 Updated search result limit
Removed search from client side, increased from 20 to 100 in search_controller.rb
2020-01-14 18:12:04 -05:00
mgabdev
8dcdda95ac Added moment utc transformation to post compose api call for scheduled posts 2020-01-14 11:39:44 -05:00
mgabdev
09a8778856 Added alert for successfully scheduling a status 2019-09-18 22:52:45 -04:00
mgabdev
6ede1426f2 Added redux functionality for scheduled posts 2019-09-18 20:15:01 -04:00
2458773093
498630f20f revision history ui 2019-09-17 18:23:51 +03:00
mgabdev
31d4660947 Added streaming of updated status from fetch_link_card_service
Sends updated status down after adding/updating/removing preview card.
2019-08-28 01:26:34 -04:00
mgabdev
dc87184ef0 Added handleComposeSubmit in actions/compose
Split up from submitCompose() so it can be called elsewhere
2019-08-28 01:24:06 -04:00
2458773093
65ce2a4b06 remove redraft + delete feature 2019-08-23 03:58:25 +03:00
2458773093
e5a05a9210 edit integration 2019-08-23 02:05:20 +03:00
2458773093
2fdeccd1c6 edit ui 2019-08-23 01:09:15 +03:00
mgabdev
c6f8f4fa61 Removed unused imports in actions/statuses 2019-08-20 11:29:35 -04:00
Developer
3e43d062ca Merge branch 'delete-redraft' into 'develop'
Fix "delete & redraft" to pop up modal, fixes #71

Closes #71

See merge request gab/social/gab-social!39
2019-08-20 15:28:35 +00:00
mgabdev
0be86d6ec5 Added sidebar menu feature 2019-08-14 23:04:03 -04:00
Rob Colbert
f7118a39df group accounts improvements 2019-08-11 14:40:44 +03:00
Alex Gleason
d694d4a1a7
Fix "delete & redraft" to pop up modal, fixes #71 2019-08-07 15:50:09 -04:00
mgabdev
280dc51d85 Large update for all components
reorganization, linting, updating file imports, consolidation
warning: there will be errors in this commit
todo: update webpack, add missing styles, scss files, consolidate the rest of components within features/*
2019-08-07 01:02:36 -04:00
2458773093
064cc88b35 normalizing state updated for quotes 2019-08-04 16:45:53 +03:00
2458773093
aae01581d9 quote compose 2019-08-04 15:27:49 +03:00
2458773093
04b219355c Merge branch 'develop' into groups-updates
* develop:
  Updated status component to use properStatus when going to status page
  Added floating action button to ui/index
  Removed floating action button from columns area
  Fix issue with notification badge number not showing on mobile
  Updated scrollable_list to use documentElement for (primary/only) scrolling functionality
  Added onScroll props to status_list
  Added timeline scrollTop action, added to status_list_container, scrollable_list
  Removed unnecessary scrollContainer in status, account_gallery
  Added missing isLoading prop to ScrollableList
  Updated scrollable_list intersectionObserverWrapper
  Updated floatingActionButton to only show if someone is logged in
  Updated timeline_queue_button_header
  Removed focus of compose/cw after submit or spoiler change
  Removed set height of 100% on body
  Removed unused redirect after compose submit
  Patch Fix for hidden poll choices and results on light theme.
  Updated notification badge number formatter
  Fixed status/repost functionality to show status if owned by given username
  admin tool for editing pro status of accounts
2019-07-18 23:02:16 +03:00
mgabdev
dea606b62d Added timeline scrollTop action, added to status_list_container, scrollable_list
(previously removed, adding back now)
2019-07-17 18:59:50 -04:00
mgabdev
5ca9ea500d Removed unused redirect after compose submit
route: /posts/new no longer exists
2019-07-17 18:46:42 -04:00
2458773093
6104e45d18 group edit ui 2019-07-17 21:56:06 +03:00
2458773093
db5a85a657 move cover image stuff to its own concern and add processing 2019-07-17 21:35:40 +03:00
2458773093
ea1378ada7 group creation form 2019-07-17 21:22:19 +03:00
2458773093
62b1707a85 remove status from group ui 2019-07-17 01:42:26 +03:00
2458773093
caaa9253d6 add remove account from group to status bar actions 2019-07-17 01:25:23 +03:00
2458773093
f13214f1f9 removing removed accounts 2019-07-16 23:18:23 +03:00
2458773093
7b2d3aa281 removed accounts ui + preparation for more group admin tools 2019-07-16 22:57:35 +03:00
2458773093
c56a8914f3 Merge remote-tracking branch 'origin/styling/add-groups-link' into groups-updates
* origin/styling/add-groups-link: (31 commits)
  Comment out the "groups" button until ready to reveal.
  Changed the method of adding main navigation icons. Created a png sprite sized @2x based on largest usage (for retina). This will fix some rendering issues caused by using svg images. It will allow adding depth and more color / shading if we choose later.
  intents fix
  federation fix
  two more federation fixes
  Removed unused imports
  Removed unused PublicTimeline component
  Updated CommunityTimeline to add option for "all federated" content
  Removed unused import in unauthorized_modal
  Updated registration legal links
  Updated compose_form to account for if compose modal open
  Added empty message to pinned statuses page
  Updated nextProps withReplies for account timeline
  Added empty message to account_gallery media page
  Updated timeline/notification dequeue to be in componentDidMount
  Added TimelineQueueButtonHeader to status_list
  Added queue functionality status_list_container for status timelines
  Updated all Redis.current.publish, PushUpdateWorker.perform_async to work again
  Added timeline dequeue functionality to onSubmitCompose action
  Added redux functionality for queueing/dequeueing timelines
  ...
2019-07-16 14:29:38 +03:00
2458773093
1fabd28498 New groups 2019-07-15 16:47:05 +03:00
mgabdev
ebc44ed743 Added timeline dequeue functionality to onSubmitCompose action
when a status is composed and there's queued statuses, it attempts to dequeue those statuses with optional dequeueArgs
2019-07-11 12:10:46 -04:00
mgabdev
0356e21747 Added redux functionality for queueing/dequeueing timelines
using streaming.js, when a status comes in to the current page, it queues up using updateTimelineQueue action, it then goes to the reducer to add "queuedItems" to state (up to max:40) and to tally up all count in that timeilne state "totalQueuedItemsCount".

the dequeueTimeline action takes in a "timelineId", "expandFunc", and "optionalExpandArgs". when clicking on the "click to load more" it passes in the timelineId (e.g. "home", "community", etc.) and the "handleLoadMore" function from the timeline component. if within the range of the max: 40, it pushes them to the dom, if over the max: 40 it clears the timeline and refreshes the page/timeline to show the most recent 20 statuses. Then, it resets the "queuedItems" and "totalQueuedItemsCount" in timeline state.

if no expandFunc is added, and timeline is "home" or "community" it expands those timelines with "optionalExpandArgs". Otherwise, it queues up to any other timeline (e.g. "hashtags", etc.)
2019-07-11 12:09:41 -04:00
mgabdev
c8e8618f64 Added notification queueing functionality
updated streaming functionality to load notifications into a queue (if currently on notitications page) and to display TimelineQueueButtonHeader with outstanding notification count. (if not on notifications page, it behaves as normal, adding/updating notification state). Max 40 are saved to queuedNotifications state and all are tallied into the totalQueuedNotificationsCount state. On click of TimelineQueueButtonHeader it dequeues the queuedNotifications and loads on page if <= max, otherwise it refreshes the page and shows latest 20 (default count) and clears/resets the state for queuedNotifications and totalQueuedNotificationsCount.
2019-07-11 00:02:18 -04:00
mgabdev
f10878ceaa Removed unused column param actions 2019-07-10 14:22:18 -04:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00