Commit Graph

1063 Commits

Author SHA1 Message Date
Rob Colbert
21d86f2375 Merge branch 'remote-profile-fix' into 'develop'
Properly load remote profiles

See merge request gab/social/gab-social!27
2019-08-01 12:47:07 +00:00
Rob Colbert
f7e8d8c344 remove email notification for admin and moderation actions 2019-08-01 08:15:46 -04:00
Alex Gleason
82ba2a7d5f
Properly load remote profiles 2019-08-01 00:10:28 -04:00
2458773093
c832fb6cbc New option to notificaion preferences for emails from gab.com for announcements and other information 2019-08-01 01:16:22 +03:00
Alex Gleason
f8113f705a
Refactor "All Fediverse" setting 2019-07-31 11:07:02 -04:00
mgabdev
4d458d5778 Added "Apps" link on home page, updated responsiveness 2019-07-30 23:04:05 -04:00
mgabdev
328faded44 Updated Apps link in tabs_bar to open in same tab 2019-07-30 23:03:33 -04:00
mgabdev
fb98dbdde4 Updated column header button responsiveness 2019-07-30 10:32:37 -04:00
mgabdev
73b0ec583f Updated groups member, manage titles 2019-07-30 10:31:41 -04:00
mgabdev
8331e38567 Updated feature group limit to 50 2019-07-30 10:03:12 -04:00
mgabdev
e7b7146374 Added "Apps" tab bar link & icon, updated tab bar responsiveness 2019-07-29 19:08:27 -04:00
2458773093
43210360e9 group admin methods for essential management 2019-07-29 22:45:29 +03:00
mgabdev
2044648179 Added webpack.ProvidePlugin for most used imports
Removed imports of React, connect, PropTypes throughout
Removed the "React" in React.Component/PureComponent
2019-07-29 15:20:00 -04:00
mgabdev
06bda6e9e6 Fixed issue with logout, dropdown menu on mobile
removed _blank, open in same tab
added data-method=delete if isLogout
2019-07-28 15:01:56 -04:00
mgabdev
dd6129e218 Reorganized utils files 2019-07-27 21:49:17 -04:00
Rob Colbert
7fe0390698 Merge branch 'feature/show-group-in-status-component' of https://code.gab.com/gab/social/gab-social into develop 2019-07-27 14:30:17 -04:00
2458773093
20a12f736a added group label to detailedstatus 2019-07-27 21:27:33 +03:00
Rob Colbert
fcd7b87057 Merge branch 'modal-css' into 'develop'
Fix truncated "Publish" button in Compose modal, fixes #64

Closes #64

See merge request gab/social/gab-social!22
2019-07-26 19:05:57 +00:00
2458773093
c4ca0b9d4d pass group down from group timeline and hide group section of status component 2019-07-26 21:28:26 +03:00
2458773093
7503d5728e show group in status component 2019-07-26 21:19:13 +03:00
2458773093
c311f6b9d0 group added to status serialization and old group_id usages changed 2019-07-26 21:08:51 +03:00
Alex Gleason
da861725fb
Fix truncated "Publish" button in Compose modal, fixes #64 2019-07-25 19:35:15 -04:00
Dank Gabs
ce3cefa1cb cleanup 2019-07-25 00:30:46 -04:00
Dank Gabs
493634aee5 Finess for the add / edit groups forms. Is now pixel-perfect to mockup specs.
Added all post-function icon sprites to the app.
Remove FA icon from the form and used bg sprite for upload button.
Will match all other post / composer / widget ui buttons eventually.
2019-07-25 00:27:58 -04:00
Dank Gabs
c1bf87b666 Fixed the column sizing again.
Adjusted breakpoints to stop the "bouncing column" issue on mobile devices.
2019-07-24 23:02:09 -04:00
Dank Gabs
8a4af878da Re-committing some code that caused mobile issues.
Will work out a proper fix.
2019-07-24 22:35:36 -04:00
mgabdev
a272a640b8 revert 713deb81
fixes: #61
2019-07-23 16:24:04 -04:00
mgabdev
db065b3c0b Updated account action notification email checkbox
false/off by default to not alert user via email
2019-07-23 15:12:43 -04:00
mgabdev
f604b18f0f Merge branch 'styling/groups-styling-updates' of https://code.gab.com/gab/social/gab-social into develop 2019-07-23 00:39:23 -04:00
mgabdev
f5f166a985 Removed unused display_name_badge
unused now that we have component specific badges
2019-07-23 00:22:36 -04:00
mgabdev
757fde8798 Added user badges and "member since"
added ProBadge, InvestorBadge, DonorBadge components, css
removed "PRO" from appending in display_name
fixes: #50
2019-07-23 00:21:46 -04:00
Dank Gabs
15f4427bb9 Merge branch 'develop' into styling/groups-styling-updates 2019-07-22 23:23:40 -04:00
Dank Gabs
48b66e4352 Adjustments made to the standard form text input and textarea for both themes. 2019-07-22 23:22:42 -04:00
mgabdev
b61596b1a7 Added confirmation to compose modal on close if has text
Added to modal_root if modal type is compose
Added to compose_modal
Fixes: #51
2019-07-22 23:10:05 -04:00
mgabdev
efd441d0ba Added onCancel function prop to confirmation_modal
Added an optional function to call on confirmation modal
2019-07-22 23:02:14 -04:00
mgabdev
8aeeaa7244 Added type to modal_root base 2019-07-22 23:01:12 -04:00
Dank Gabs
bdedac71f1 Fixed border radius. 2019-07-22 22:36:54 -04:00
Dank Gabs
47a18f6024 Adjustments to the create group form to match mockup specs.
Strip out css for form input from component css file.
Created global form input css.
Padding adjustments.
2019-07-22 22:35:46 -04:00
Dank Gabs
97ad49c617 Added container standards to the inline composer block.
Some css cleanup.
2019-07-22 21:40:19 -04:00
Dank Gabs
fceb5dccb0 Added gab container standards css to the center column.
The center columns still need a lot of work to bring to spec with the mockups.
This is just one small step closer.
2019-07-22 21:37:45 -04:00
Dank Gabs
f7ca5f28df Adjust bottom margin of group cards to match mockup specs. 2019-07-22 21:10:11 -04:00
Dank Gabs
9752de6a3e Added the forgotten commit from the last merge request.
The gab-container-standards mixin contains all standard container common properties (background color, corner radius, anything else shared across the board).
2019-07-22 21:08:29 -04:00
Dank Gabs
deaa6b41c2 A little bit of cleanup. 2019-07-22 21:05:50 -04:00
Rob Colbert
b40199f878 Merge branch 'styling/new-groups-icon' into 'develop'
New Groups icon and adjustments to tabs bar css.

See merge request gab/social/gab-social!18
2019-07-23 00:04:36 +00:00
Dank Gabs
3f59aab944 New Groups icon and adjustments to tabs bar css.
Tweaked all the positioning of everything so it's precise in zoomed in screenshots against the mockups.
2019-07-22 17:43:11 -04:00
2458773093
0015e2c585 avatar/header serializer issue for accounts with imported data from legacy fixed 2019-07-23 00:10:41 +03:00
Andrew Torba
7f05f4d47c Merge branch 'group-css' into 'develop'
Fix alignment of group cards

See merge request gab/social/gab-social!15
2019-07-22 20:45:15 +00:00
mgabdev
1054e0c51b Updated list_timeline to check for new list id on to reload new list
added check in componentWillReceiveProps for new params.id for updating list
fixes: #53
2019-07-22 16:02:48 -04:00
mgabdev
efb3ac7ac3 Added unauthorized modal on detail status action buttons
fixes: #52
added isRequired propType on onOpenUnauthorizedModal on normal status
2019-07-22 15:39:45 -04:00
Alex Gleason
83763d5ec8
Fix alignment of group cards 2019-07-22 15:21:14 -04:00
mgabdev
606a6c7f12 Removed hard limit on PotentialFriendshipTracker.get
the default is now set at: 10
DEFAULT_ACCOUNTS_LIMIT=40, we dont want 40
2019-07-22 00:13:44 -04:00
mgabdev
6ca001bc67 Updated PotentialFriendshipTracker max to 10
from 20
2019-07-22 00:11:00 -04:00
mgabdev
ef3f9a801e Updated GroupSidebarPanel locations, keys
added/updated keys to layout array to remove "missing key" error in ui/index
updated location of group sidebar panel to always be above wtf panel
2019-07-22 00:10:45 -04:00
mgabdev
0216aa973c Updated groups sidebar title
Capitalized the title
2019-07-22 00:09:30 -04:00
Rob Colbert
c344219057 Merge branch 'groups-updates' of https://code.gab.com/gab/social/gab-social into develop 2019-07-21 23:50:19 -04:00
Rob Colbert
b1e6b63d1f migration 2019-07-21 23:50:09 -04:00
mgabdev
7c64900f49 Updated theming for group background colors 2019-07-21 23:46:38 -04:00
Rob Colbert
46bec5710f Merge branch 'groups-updates' of https://code.gab.com/gab/social/gab-social into develop 2019-07-21 23:08:31 -04:00
Rob Colbert
6b43c2ee76 Merge branch 'styling/patch-colors-for-groups-updates' into 'groups-updates'
Updates for the Groups styling

See merge request gab/social/gab-social!14
2019-07-22 02:55:26 +00:00
2458773093
6c9b5b4be2 remove unnecessary cache remove block 2019-07-22 05:46:35 +03:00
2458773093
708e7bfcee group relationship remove caching 2019-07-22 05:46:09 +03:00
2458773093
aefe5a44f3 show group sidebar panel across the site 2019-07-22 05:12:59 +03:00
2458773093
ff03e6a55f home feed group toggle 2019-07-22 04:50:09 +03:00
2458773093
bf2d54201b group member count optimization 2019-07-22 03:46:00 +03:00
2458773093
bd3f453c0d fix 2019-07-22 03:10:42 +03:00
2458773093
06e1c47ff4 group sidebar panel improvements 2019-07-22 02:45:14 +03:00
2458773093
61134fb645 group sidebar panel ui 2019-07-22 02:36:55 +03:00
2458773093
c5c2585239 group unread count 2019-07-22 02:04:08 +03:00
2458773093
a6f09dc0c7 group unread count 2019-07-22 01:06:32 +03:00
Dank Gabs
d5d52d4df9 Added a standard button class for anchor tags to become pseudo-buttons.
Button and anchor-button render exactly the same.
Applied standard-small class to create group anchor.
2019-07-20 00:31:16 -04:00
Dank Gabs
d6ebbad3c9 Change blue reference in variable name.
Keep color names out of color variables so they can be changed later and still make sense.
Name based on primary function.
2019-07-20 00:14:13 -04:00
Dank Gabs
9637e35e17 Added a "buttons" component file to css stack.
Removed button style spec from group form into a re-usable class.
2019-07-20 00:10:29 -04:00
Dank Gabs
e008cb292a Update cards to use gab standard container properties. 2019-07-19 23:56:23 -04:00
Dank Gabs
20c36b1e94 Allow group cards to expand and contract with the height of their content. 2019-07-19 23:54:17 -04:00
Dank Gabs
b97d23f9e2 Adjustments to margins and container sizing to match mockup specs. 2019-07-19 23:34:15 -04:00
Dank Gabs
713deb810f Quick adjustments to column position and margins to match mockup spec. 2019-07-19 23:25:43 -04:00
Dank Gabs
187d9bd4e2 Adjust column padding to match mockup specs 2019-07-19 23:04:43 -04:00
Dank Gabs
5061e8f9e4 Removed the mixins that were moved from the variables file. 2019-07-19 22:23:32 -04:00
mgabdev
bc3959fce2 Added search button to list editor modal 2019-07-19 18:53:16 -04:00
mgabdev
5077165275 Updated edit list form
only show "save title" button if title has been changed
2019-07-19 18:32:05 -04:00
mgabdev
94b8ea23fd Added onClose function to list editor modal 2019-07-19 18:02:36 -04:00
mgabdev
937a7540bd Updated column backBtnSlim prop type 2019-07-19 15:33:42 -04:00
mgabdev
57bc960da0 Added keys to layout items in ui/index
fixes the error displaying in console for missing keys
2019-07-19 15:33:27 -04:00
mgabdev
0ba57e695a Updated generic compose-modal to not take up full screen
leave some space to make users aware its a dialog
2019-07-19 15:32:54 -04:00
mgabdev
284a9ef082 Added min-height to error indicator 2019-07-19 15:32:18 -04:00
mgabdev
60c77a6ca3 Updated list components
Updated list edit/add modal to be more user friendly. Added titles where necessary. Spaced out components/divs. Added text buttons instead of checkmark and plus icons for list titles. Updated title where list is empty of accounts/posts where user can click to add people to list. Added add/remove to list from account action dropdown
2019-07-19 15:31:55 -04:00
Dank Gabs
8e1d931996 Stopping point.
Just saving current progress to pick back up tomorrow.
2019-07-19 00:53:20 -04:00
Dank Gabs
96bd40f2ff Removed Height from group card.
Each card's height is determined by it's content.
Use flex positioning to position them top-aligned for each row like mockups.
2019-07-19 00:34:01 -04:00
mgabdev
cfe4d7530c Updated home_column_header for lists
if no lists, go to /lists page
2019-07-19 00:20:33 -04:00
mgabdev
94566e0ab4 Added list functionality to home page, updated column header buttons for list 2019-07-19 00:03:57 -04:00
mgabdev
3ec39ee7c9 Updated scrollable list to improve infinite scoll 2019-07-18 23:55:32 -04:00
mgabdev
db480928ec Added column back button to column component by default 2019-07-18 23:27:54 -04:00
mgabdev
0510fe0915 Added column back button to hashtag timeline component 2019-07-18 23:27:22 -04:00
mgabdev
9f9103b11c Removed column back button from all feature component 2019-07-18 23:27:07 -04: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
2458773093
f33c178b5a New form style for groups 2019-07-18 22:37:53 +03:00
mgabdev
8ccb710665 Updated status component to use properStatus when going to status page
Takes into account if is reblog or not and uses the original poster information if so, otherwise use status url as normal.

Fixes issue with clicking on status and it goes to wrong url of the reposter and shows error message.
2019-07-18 00:59:54 -04:00
mgabdev
abd4a831a2 Added floating action button to ui/index
hide on search, post, getting-started, if no user
2019-07-18 00:22:19 -04:00
mgabdev
b163726651 Removed floating action button from columns area 2019-07-18 00:17:36 -04:00
mgabdev
42e9d5a360 Fix issue with notification badge number not showing on mobile
only hide first descendants of tab bar btn (the title of the tab) instead of all span children
2019-07-17 23:59:28 -04:00
Rob Colbert
7cea08ce35 Merge branch 'bugfix/hidden-poll-results-light-theme' into 'develop'
CSS updates

See merge request gab/social/gab-social!13
2019-07-17 23:07:57 +00:00
mgabdev
4ee4d7c8e8 Merge branch 'feature/updating_page_scroll' of https://code.gab.com/gab/social/gab-social into develop 2019-07-17 19:05:39 -04:00
mgabdev
a8bc9be5e7 Updated scrollable_list to use documentElement for (primary/only) scrolling functionality
added infinite scrolling, updated intersection observer, updates all components that send onScroll, onScrollTop props, removed div ref/setRef to this.node, removed all references to this.node
2019-07-17 19:03:25 -04:00
mgabdev
a6e80559ad Added onScroll props to status_list
(previously removed, adding back now)
2019-07-17 19:00:31 -04: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
d978734bce Removed unnecessary scrollContainer in status, account_gallery
document scrolls, not individual containers/components
simply removed the wrapping <ScrollContainer /> and updated indentation
2019-07-17 18:57:44 -04:00
mgabdev
c466fc6b86 Added missing isLoading prop to ScrollableList 2019-07-17 18:55:28 -04:00
mgabdev
08f3f5f6ec Updated scrollable_list intersectionObserverWrapper
removed root, uses the document/window to scroll so no options are needed
2019-07-17 18:54:48 -04:00
mgabdev
399891f25e Updated floatingActionButton to only show if someone is logged in 2019-07-17 18:54:02 -04:00
mgabdev
2aa38d53ea Updated timeline_queue_button_header
fixes: #27
put queue header in dom but hide if no count
if count, animate in so it doesn't jump the feed
2019-07-17 18:53:09 -04:00
mgabdev
2eea427148 Removed focus of compose/cw after submit or spoiler change
fixes: #21
2019-07-17 18:49:52 -04:00
mgabdev
6abffdb505 Removed set height of 100% on body 2019-07-17 18:47:58 -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
Dank Gabs
601d91f73e Patch Fix for hidden poll choices and results on light theme. 2019-07-16 17:09:47 -04:00
Dank Gabs
e3e98084e7 Merge branch 'develop' into bugfix/hidden-poll-results-light-theme 2019-07-16 16:54:41 -04: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
1d6564cf88 error message update 2019-07-16 22:10:38 +03:00
2458773093
6e37a72ed6 forbid removed users from joining the group again 2019-07-16 22:10:14 +03:00
2458773093
b9641b41e7 fix admin tab query 2019-07-16 21:58:29 +03:00
2458773093
2558251cc5 removed users controller 2019-07-16 21:53:56 +03:00
mgabdev
45754503ca Updated notification badge number formatter
fixes: #44
2019-07-16 14:50:37 -04:00
2458773093
17a6756bcb group_removed_users associations 2019-07-16 21:43:31 +03:00
mgabdev
17af572ec9 Fixed status/repost functionality to show status if owned by given username
fixes: #47
2019-07-16 14:41:36 -04:00
2458773093
520c125e21 group_removed_users table to forbid users joining once removed 2019-07-16 20:46:03 +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
Dank Gabs
062353cfd6 Comment out the "groups" button until ready to reveal. 2019-07-16 00:10:14 -04:00
Dank Gabs
eed65d2d04 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.
2019-07-16 00:07:51 -04:00
2458773093
826773ee79 admin tool for editing pro status of accounts 2019-07-16 00:51:05 +03:00
2458773093
b1cd12c976 group timeline styling 2019-07-15 19:08:36 +03:00
2458773093
3227e74ac6 group relationship cache 2019-07-15 17:29:54 +03:00
2458773093
fd0d9fc261 without replies for group feeds 2019-07-15 17:13:51 +03:00
2458773093
1fabd28498 New groups 2019-07-15 16:47:05 +03:00
Rob Colbert
6226cc1dfd intents fix 2019-07-14 03:22:15 -04:00
Rob Colbert
c804d6d438 federation fix 2019-07-14 03:22:03 -04:00
Rob Colbert
37be893d12 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-14 03:03:37 -04:00
Rob Colbert
0a95b2df66 two more federation fixes 2019-07-14 03:03:29 -04:00
mgabdev
1c8273e9e6 Removed unused imports 2019-07-12 16:29:17 -04:00
mgabdev
8f13fe0515 Removed unused PublicTimeline component
now that this functionality is within the CommunityTimeline component from: dfb8d53
2019-07-12 16:27:59 -04:00
mgabdev
dfb8d53785 Updated CommunityTimeline to add option for "all federated" content
added a toggle for showing only gab (off) or all fediverse content (on)
2019-07-12 16:26:06 -04:00
mgabdev
ee433f57fb Removed unused import in unauthorized_modal 2019-07-12 16:10:24 -04:00
mgabdev
ca1984e499 Updated registration legal links
removed server rules, updated all localizations for "checkbox_agreement_html"
2019-07-12 15:30:08 -04:00
mgabdev
4e9b22640c Updated compose_form to account for if compose modal open
fixes #9
since there are multiple compose_form on the page (on top of timeline = shouldCondense) and within the modal when replying. if isModalOpen and is the compose form that's on top of timeline then dont set the ref so we can set the cursor on the textarea of the compose modal after the existing reply content.
2019-07-12 12:22:05 -04:00
mgabdev
1e68c5d4fe Added empty message to pinned statuses page 2019-07-12 00:08:50 -04:00
mgabdev
9795c1139c Updated nextProps withReplies for account timeline
fixes #12
2019-07-12 00:08:26 -04:00
mgabdev
092bc3898c Added empty message to account_gallery media page 2019-07-12 00:07:11 -04:00
mgabdev
45dcd5a1ab Updated timeline/notification dequeue to be in componentDidMount 2019-07-11 17:31:04 -04:00
mgabdev
4043355b01 Merge branch 'feature/adding_queued_timeline' of https://code.gab.com/gab/social/gab-social into develop 2019-07-11 12:18:37 -04:00
mgabdev
a7f2837a37 Added TimelineQueueButtonHeader to status_list
updated render return to add timeline queue button header before scrollable list
added handleDequeueTimeline action with totalQueuedItemsCount props
2019-07-11 12:14:27 -04:00
mgabdev
a41e6f2876 Added queue functionality status_list_container for status timelines
added totalQueuedItemsCount to props per timeline
added dequeueTimeline action with timeline onLoadMore for expanding/dequeueing
2019-07-11 12:13:32 -04:00
mgabdev
49e533244c Updated all Redis.current.publish, PushUpdateWorker.perform_async to work again
added back now that we will have timeline/notification queueing functionality
2019-07-11 12:11:57 -04: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
6ad747a609 Added TimelineQueueButtonHeader component, styles
button at top of feeds to show "click to load more"
2019-07-10 23:54:19 -04:00
Dank Gabs
9e926a34b0 Patch Fix for blocked navigation items on mobile due to compose button position.
Added 100px to bottom padding overall.
This will be fine tuned with the design evolution.
2019-07-10 17:56:51 -04:00
Dank Gabs
b7da0b3d38 Patch Fix for bar background colors for polls.
Polls need a tighter design overall, especially when one bar shows 0%.
2019-07-10 17:19:06 -04:00
mgabdev
f10878ceaa Removed unused column param actions 2019-07-10 14:22:18 -04:00
mgabdev
6b5b0dc162 Removed unused hashtag timeilne column settings
non visible functionality to change visiblility of filtering hashtags on hashtag timeline
2019-07-10 14:21:24 -04:00
mgabdev
038e7db5b9 Removed unused columnId throughout app 2019-07-10 14:20:31 -04:00
mgabdev
a385210c09 Removed unused import in scrollable_list 2019-07-10 14:17:07 -04:00
Dank Gabs
d9d8721655 Patch Fix for scrollbar colors.
Complaints about not being able to see scrollbars on the light theme.
This adjusts both themes to become visible.
Adjustments may follow, along with incorporating into all supported browsers.
2019-07-09 16:33:07 -04:00
Dank Gabs
e1a00a26b1 Removed username from property files used on mention button within the app. 2019-07-09 14:40:28 -04:00
Dank Gabs
1c5fd06b8c Merge branch 'develop' into bugfix/patch-fix-mention-button-mobile 2019-07-09 14:34:39 -04:00
Dank Gabs
b15a1f0951 Removing the username from the mention button.
Gab has some very long usernames which will break the button.
2019-07-09 14:25:11 -04:00
robcolbert
fd50f03304 Gabbers like servers that are less pushy. 2019-07-09 00:48:11 -04:00
mgabdev
22eaad1846 Added functionality to notifications page to scroll top on component mount
clears notification badge (unread count) on page open
2019-07-09 00:19:03 -04:00
mgabdev
451e5eaca0 Updated community/home timeilne to use new HomeColumnHeader
removed duplicate components from home_timeline that is now in home_page like compose, avatar, etc.
removed unused imports
2019-07-08 23:59:11 -04:00
mgabdev
2a7e3bb782 Fixed issue with scrollbar showing on main column pane 2019-07-08 23:58:19 -04:00
mgabdev
29215a2479 Updated column header style to match other panels with rounded corners 2019-07-08 23:58:07 -04:00
mgabdev
a74d1ce2fc Updated padding of column header buttons 2019-07-08 23:57:52 -04:00
mgabdev
100076ab6f Updated margin of compose block 2019-07-08 23:57:24 -04:00
mgabdev
7b2aa82ac5 Updated style updates for column header buttons for grouped, active 2019-07-08 23:57:06 -04:00
mgabdev
41895b12ab Added home_column_header
includes custom tabs for home, all buttons to switch between home page and all/community page
2019-07-08 23:56:11 -04:00
mgabdev
2c047a1126 Fixed issue with key warning/error log 2019-07-08 23:52:18 -04:00
mgabdev
de2126bd60 Removed unused imports 2019-07-08 23:51:08 -04:00
mgabdev
cf83aa58c3 Added all/community timeline route 2019-07-08 23:50:57 -04:00
mgabdev
899be5b4f0 Removed home layout in ui/index
unused now that we have HomePage
2019-07-08 23:50:30 -04:00
mgabdev
c7b70b77c5 Updated home route to use HomePage instead of home layout 2019-07-08 23:50:12 -04:00
mgabdev
f12145eb47 Added HomePage
for use with components that require all home page related features such as compose, user panel, etc.
2019-07-08 23:49:44 -04:00
Rob Colbert
503cdaa22b Merge branch 'bugfix/33-reply-composer-vertical-height-renders-reply-impossible-for-mobile' into 'develop'
Fix issue 33: reply composer vertical height renders reply impossible for mobile

See merge request gab/social/gab-social!7
2019-07-08 22:28:11 +00:00
mgabdev
003113a0da Added legal in-text links to legal pages
for: privacy, terms, sales, dmca
2019-07-08 17:19:48 -04:00
Dank Gabs
d5efb5540c gab/social/gab-social#33
Adjustment to the patch fix for inaccessible publish button.
2019-07-08 16:16:47 -04:00
Dank Gabs
877780755f gab/social/gab-social#33
The composer window will go through a round of major improvements.
This is a patch fix to lock the height of the composer window original message.
Prevents publish button from being inaccessible when replying to long posts.
2019-07-08 15:28:18 -04:00
robcolbert
301cf54cff change prompt for verified users re: display name change 2019-07-08 06:16:33 -04:00
robcolbert
d4bc274d11 add check to make sure a change is submitted for display name 2019-07-08 06:16:14 -04:00
robcolbert
14f6771e77 for now, stop sending push updates to clients (auto-scroll timelines)
One of the biggest complaints received at launch was the update speed of
the home timeline. This change disables the jobs and signals that
trigger the update to get pushed without altering other logic.
2019-07-08 06:02:42 -04:00
robcolbert
948ba449fb revert OStatus xmlns to mastodon.social 2019-07-06 21:57:50 -04:00
robcolbert
b9ad92b539 remove trends 2019-07-05 09:24:16 -04:00
Dank Gabs
5176ede41d Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-04 14:24:28 -04:00
Dank Gabs
5cd0a404da Patch fix for long usernames breaking the compose modal on narrow screens.
Also patch fixes any case where a user has a super long username with no spaces.
2019-07-04 14:20:46 -04:00
robcolbert
a0a1c8d1f9 add ability to log in w/username or email address
accepts:
@user, user, user@domain.com
2019-07-04 13:50:51 -04:00
robcolbert
9040b6bdcf update 2019-07-04 03:27:52 -04:00
robcolbert
c108da80ee strip post content 2019-07-04 03:17:36 -04:00
mgabdev
a115471df7 Added gitlab link to about page 2019-07-04 02:04:44 -04:00
mgabdev
4354c6ec99 Removed ability to change display name if account is verified
if account is verified, display name input in settings is not visible
if attempting to change the display name by other means, an error is return and you are redirected
2019-07-04 02:01:50 -04:00
mgabdev
70e3cef5a6 Updated footer link text cases 2019-07-04 01:28:26 -04:00
mgabdev
2f43a48c61 Added "Invest" link to home page nav 2019-07-04 01:25:43 -04:00
mgabdev
7f538c8809 Updated account-header.scss to fix "k" fragment on thousands on account header counts
1300 was showing up as two lines with 1.3 | k
this fixes it so it shows up normally like 1.3k
2019-07-04 01:16:14 -04:00
mgabdev
a0da2e237c Updated number formatter util to return single span child, not multiple fragments 2019-07-04 01:14:44 -04:00
mgabdev
35b24e687c Removed ability to view lists
redirect lists for the time being to home page
todo: replace this functionalty soon and make into pro feature
2019-07-04 00:52:20 -04:00
mgabdev
f849321b07 Updated favourited_by_accounts_controller to return empty object
Removed ability to view accounts that favorited a status
2019-07-04 00:10:24 -04:00
mgabdev
e210c70e21 Removed visiblity favorites of a status
todo: remove account ids from returning in "favourited_by"
2019-07-03 23:47:23 -04:00
Rob Colbert
99e25130e1 Merge branch 'styling/patch_fixes_for_theme_colors' into 'develop'
Patch fixes for theme colors

See merge request gab/social/gab-social!4
2019-07-04 03:08:20 +00:00
mgabdev
0cf879db3a Updated press support link from gab.ai to gab.com 2019-07-03 23:01:14 -04:00
mgabdev
50701822e6 Updated user panel cover and photo 2019-07-03 23:01:00 -04:00
mgabdev
dc13ab4b76 Updated invite footer link to not open new tab 2019-07-03 23:00:36 -04:00
mgabdev
1414f36ee4 Updated all legal links and texts
added dmca, sales
removed guidelines
2019-07-03 23:00:14 -04:00
Dank Gabs
15938f169c patch fix for the open panel color on dark theme vs light theme. 2019-07-03 23:00:01 -04:00
mgabdev
51283fdbca Updated account dropdown to not open settings in new tab 2019-07-03 22:57:41 -04:00
Dank Gabs
3f2958289b Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 22:49:27 -04:00
mgabdev
d5ea487abc Updated placeholder for favorite/pinned statuses on profile header 2019-07-03 21:58:50 -04:00
mgabdev
4084d14c97 Updated toLowerCase function on pinned, favorite statuses
fixes #6
2019-07-03 21:57:22 -04:00
robcolbert
5fefd73229 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 21:53:23 -04:00
robcolbert
b6dd794f99 disable 'ribbit' sound for launch (needs preference in Settings) 2019-07-03 21:53:16 -04:00
mgabdev
37f5d81324 Removed direct message option on compose privacy dropdown
fixes #4
2019-07-03 21:33:59 -04:00
mgabdev
09acd0850f Updated z-index on compose privacy dropdown 2019-07-03 21:33:27 -04:00
robcolbert
05ffe63e3d remove test 2019-07-03 20:42:55 -04:00
robcolbert
60c1ae1b30 revert 2019-07-03 20:26:40 -04:00
robcolbert
85e181d447 change /home => / 2019-07-03 20:25:05 -04:00
robcolbert
1ec2327652 move 2019-07-03 20:20:14 -04:00
robcolbert
ef2cc01cd8 strip tags from content 2019-07-03 20:07:57 -04:00
robcolbert
5e08c29598 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 19:31:17 -04:00
robcolbert
4c36e57afc GitHub => GitLab; github => gitlab 2019-07-03 19:30:54 -04:00
robcolbert
964925e5ff update open source statement 2019-07-03 19:30:29 -04:00
robcolbert
79cbd342b5 target /home #homehack 2019-07-03 19:30:15 -04:00
robcolbert
fb49559d05 explicitly nav to /home #homehack 2019-07-03 19:29:54 -04:00
robcolbert
54fe77650d remove downloads#source supporting gab-social.zip src download from pre-launch 2019-07-03 19:28:44 -04:00
mgabdev
400f434c8c Removed introduction from showing
fixes #13
2019-07-03 19:10:12 -04:00
robcolbert
ec8c4f8bae handler for gab:// mapping scheme 2019-07-03 18:32:03 -04:00
robcolbert
482ff69549 Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 15:50:18 -04:00
robcolbert
14ec087075 It's GitLab, self-hosted, and not GitHub 2019-07-03 15:50:12 -04:00
robcolbert
c93755cff2 remove weekly logins report from activity controller 2019-07-03 15:49:58 -04:00
Dank Gabs
3359453363 Patch fix for email text color. 2019-07-03 15:22:14 -04:00
Dank Gabs
bb716d44e2 Patch fix for email notification body text. 2019-07-03 15:20:48 -04:00
Dank Gabs
508bf78702 Comment out the Groups navbar link until post-launch. 2019-07-03 14:36:09 -04:00
Dank Gabs
9842cc5557 Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 14:19:40 -04:00
Dank Gabs
9540eb2775 Proper fix for the position of the notification counter in the mobile navigation.
Everything in the main navigation is matching the mockup specs tightly.
2019-07-03 14:18:54 -04:00
robcolbert
7f3f321639 Restore normal footer source link functionality
Hard-coded a direct link to a source .zip file as a stop-gab while
porting Gab. Restored back to normal functionality on correct configs.
2019-07-03 14:17:20 -04:00
Dank Gabs
68503930a4 Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 13:50:17 -04:00
Dank Gabs
69e0f95bf2 Patch fixes to colors on the home feed accordion panel options. 2019-07-03 13:49:45 -04:00
robcolbert
21bed9d36f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-07-03 13:29:38 -04:00
robcolbert
1ef1a3881d change all GitHub links to Gab's GitLab at code.gab.com 2019-07-03 13:26:13 -04:00
Dank Gabs
447de8e6dc Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-03 12:24:06 -04:00
mgabdev
2721cc13f2 Updated actions modal
fixes #1
2019-07-03 08:34:38 -04:00
Dank Gabs
1783ec0d1f Comment out the Direct Message option from a couple of drop down menus. 2019-07-03 00:19:20 -04:00
Dank Gabs
201481ffb7 Fix z-index of the emoji picker in compose modals. 2019-07-02 23:53:16 -04:00
Dank Gabs
5be3eb5dec Fixed the broken size on the profile block avatar image.
Handled by CSS.
2019-07-02 23:42:28 -04:00
Dank Gabs
d9e943f6f4 Patch fix for colors in compose modal when replying to a post. 2019-07-02 23:30:53 -04:00
Dank Gabs
a84ccff4cc Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-02 22:50:53 -04:00
mgabdev
1c694c90d3 Updated, Added all non webapp routes for service worker 2019-07-02 19:01:24 -04:00
mgabdev
346a14635f Removed redirect to home on ui/index 2019-07-02 18:27:13 -04:00
Dank Gabs
05a0b47a1a Merge branch 'develop' into styling/patch_fixes_for_theme_colors 2019-07-02 16:57:26 -04:00
robcolbert
0c8a68adce change to allow loading avatar/covers from Legacy's media store 2019-07-02 16:18:06 -04:00
Dank Gabs
267deeb04b Changed a couple of badly named color variables. 2019-07-02 15:50:43 -04:00
Dank Gabs
459aeb5dcc Patch Fix for display name color on profile page. 2019-07-02 15:27:42 -04:00
Dank Gabs
0a26d068ec Define the standard body text color for light theme.
Fixes white text showing up on unspecified elements when using the light theme.
2019-07-02 15:12:34 -04:00
robcolbert
bd0b5afc92 Gab Social. All are welcome. 2019-07-02 03:10:25 -04:00