Commit Graph

668 Commits

Author SHA1 Message Date
mgabdev
c7760b6ce0 Added schedule post dropdown component and container, styles 2019-09-18 20:15:27 -04:00
mgabdev
6ede1426f2 Added redux functionality for scheduled posts 2019-09-18 20:15:01 -04:00
mgabdev
904a6b5556 Added new styles for promoted gab button/label 2019-09-18 19:50:43 -04:00
mgabdev
646fb4fcf9 Updated group create button to open upgrade to pro modal if not pro 2019-09-18 19:49:12 -04:00
mgabdev
af954beeab Updated promoted status label to open upgrade to pro modal on click 2019-09-18 19:48:37 -04:00
mgabdev
05c54a9f8b Added pro upgrade modal component and styles 2019-09-18 19:48:09 -04:00
mgabdev
f7db2ec2f2 Updated promo panel to include button for upgrading to pro 2019-09-18 19:45:59 -04:00
mgabdev
9195193d80 Added sidebar menu item for upgrading to pro 2019-09-18 19:44:43 -04:00
mgabdev
b53ff5ac44 Added check if user isn't pro, don't allow scheduled statuses 2019-09-18 19:43:43 -04:00
Rob Colbert
645f53a0cb Merge branch 'feature/revision-history' of https://code.gab.com/gab/social/gab-social into develop 2019-09-18 16:20:44 -04:00
2458773093
4c12aa8741 responsive fixes 2019-09-18 23:17:59 +03:00
Rob Colbert
5135622fe2 Merge branch 'feature/revision-history' of https://code.gab.com/gab/social/gab-social into develop 2019-09-18 13:19:24 -04:00
2458773093
20cce5fc39 show edit indicator on detail page 2019-09-18 19:20:52 +03:00
Rob Colbert
4de30bd8d0 Merge branch 'feature/revision-history' of https://code.gab.com/gab/social/gab-social into develop 2019-09-18 11:08:04 -04:00
2458773093
498630f20f revision history ui 2019-09-17 18:23:51 +03:00
2458773093
7219c9b5e6 service + seerializer completed 2019-09-17 17:22:02 +03:00
2458773093
d1f7d17ef5 new revision model 2019-09-17 17:21:29 +03:00
2458773093
6465713858 annotation fix 2019-09-17 17:20:55 +03:00
mgabdev
b340a49e5a Updated upload limits for pro accounts 2019-09-17 01:13:25 -04:00
mgabdev
6b4969dbdd Updated media attachment on create to always include account param 2019-09-17 01:13:02 -04:00
mgabdev
deb9ed29bd commit 2019-09-16 19:31:30 -04:00
mgabdev
956c06ea59 Updated follow limit for pro accounts to 50,000 2019-09-14 10:43:02 -04:00
mgabdev
cfda2c2562 Updated promotions to not show if user is pro 2019-09-14 09:53:49 -04:00
mgabdev
280895a073 Updated status card
Check for if cardImg exists and if is interactive to set image accordingly.
Updated action button color to primary as it stands out more.
2019-09-10 00:05:37 -04:00
mgabdev
8014a87f85 Updated terms of sale 2019-09-06 19:58:10 -04:00
mgabdev
eb552e4473 Fixed support email in terms of sale 2019-09-06 19:43:26 -04:00
mgabdev
37a9c75a64 Updated terms of sale 2019-09-05 18:06:53 -04:00
Rob Colbert
1559f19b84 change blog.gab.com to news.gab.com 2019-09-03 23:20:54 -04:00
Rob Colbert
e856e2a136 Merge branch 'feature/promoted-gabs' of https://code.gab.com/gab/social/gab-social into develop 2019-09-03 18:38:37 -04:00
2458773093
d853beebb7 admin for promotions 2019-09-04 01:29:46 +03:00
2458773093
daf5eeb905 convert status ids to string 2019-09-04 00:54:18 +03:00
2458773093
168642a1b9 promotion fe 2019-09-04 00:54:03 +03:00
2458773093
0499184b38 added active promoted statuses to initial state 2019-09-04 00:15:32 +03:00
2458773093
044e9695fe model/migration for promoted statuses 2019-09-04 00:14:50 +03:00
mgabdev
89ac473195 Adding display: block to .columns-area--mobile 2019-08-29 22:32:56 -04:00
Rob Colbert
780512ef6d Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-08-29 21:05:14 -04:00
mgabdev
f21f2651d6 Added status.account_id to redis socket for statuscard stream 2019-08-28 16:41:49 -04:00
mgabdev
30c30c696a Added password reset via admin panel 2019-08-28 16:13:56 -04:00
2458773093
fda449bf27 cover edited mentions 2019-08-28 17:27:33 +03:00
2458773093
5f352c4771 fixed repopulating composer for edits to handle mentions 2019-08-28 17:26:06 +03:00
Rob Colbert
81e8b3294f Merge branch 'develop' of https://code.gab.com/gab/social/gab-social into develop 2019-08-28 02:22:15 -04:00
Rob Colbert
1196ef362d disable group posts in home feed 2019-08-28 02:21:42 -04:00
mgabdev
d382c557b1 Added status update stream connection in gabsocial.js 2019-08-28 01:31:25 -04: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
mgabdev
3aa905b391 Removed muted prop on video in video feature 2019-08-27 23:36:55 -04:00
mgabdev
557d0cce08 Updated all videos to have muted and playsInline keys
Removed autoplay on extended-video-player. Removed test border on <video />.
2019-08-27 14:22:35 -04:00
mgabdev
b4f9f302de Added check for if no video buffered exists in video feature 2019-08-26 21:59:57 -04:00
mgabdev
19c0064e2f (Test) Added muted, playsInline keys on <video />
border style for reference
2019-08-26 21:59:44 -04:00
mgabdev
b4f67a7223 Updated card component
Set new max description. Removed compact prop. Updated variables, classes and positions.
2019-08-26 21:58:54 -04:00
mgabdev
eade08706a Removed compact key on status card 2019-08-26 21:57:56 -04:00
mgabdev
8d31d29d60 Updated status-card styles 2019-08-26 21:57:40 -04:00
mgabdev
32b04999b1 Removed head request in FetchLinkCardService 2019-08-26 21:57:11 -04:00
Rob Colbert
0cc5dfab07 Merge branch 'feature/updating_media_aspect_ratio' of https://code.gab.com/gab/social/gab-social into develop 2019-08-23 13:52:45 -04:00
mgabdev
4a4589bf0a Updated media_gallery component for new aspect ratios 2019-08-23 00:04:32 -04:00
mgabdev
449dd24b7f Updated Video component added aspect ratio for sizing 2019-08-23 00:03:17 -04:00
mgabdev
9b1f13487f Updated media gallery for updated aspect ratios 2019-08-23 00:01:50 -04:00
mgabdev
5f366a013a Added media_aspect_ratio util 2019-08-23 00:00:10 -04:00
2458773093
65ce2a4b06 remove redraft + delete feature 2019-08-23 03:58:25 +03:00
2458773093
39dc2b1287 allow existing images of the account for edits 2019-08-23 03:53:02 +03:00
2458773093
29d5656fb2 add edit to status detail action bar + comment out delete&redraft 2019-08-23 03:43:33 +03:00
2458773093
a8bef0faab reset compose state after success 2019-08-23 03:20:11 +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
2458773093
dd73e1b00e edit status service 2019-08-23 01:07:54 +03:00
2458773093
6752b9f936 update method for statuses 2019-08-23 01:05:53 +03:00
2458773093
159193bbf5 status edit policy 2019-08-23 01:04:16 +03:00
mgabdev
4ef6af99ee Removed store links from sidebar and promo panel 2019-08-22 13:52:48 -04:00
Rob Colbert
cd3a4b20fb auto-confirm new users to compensate for lack of SMTP relay service 2019-08-21 02:15:05 -04:00
Rob Colbert
ee2efd0be3 auto-confirm users to compensate for lack of SMTP relay 2019-08-21 01:01:48 -04:00
mgabdev
41940d0e52 Updated repost button/icon styles 2019-08-20 23:19:59 -04:00
Rob Colbert
ad07cde21b Merge branch 'feature/group-posts-in-timeline' of https://code.gab.com/gab/social/gab-social into develop 2019-08-20 19:31:58 -04:00
mgabdev
8157e543e5 Updated promo panel styles
Added background, borders similar to other panels.
2019-08-20 16:36:07 -04:00
mgabdev
241368b804 Updated sidebar menu icons to all be fixed widths 2019-08-20 16:25:50 -04:00
mgabdev
6590f43f6b Updated promo panel items
Gab news, store, partners, apps.
2019-08-20 16:00:54 -04:00
mgabdev
13a24a852b Updated sidebar menu
Added "more" inner menu. Added new links.
2019-08-20 15:59:49 -04:00
mgabdev
a532d5a513 Fixed account avatar background size on tabs bar for small devices
Introduced when sidebar added.
2019-08-20 15:51:47 -04:00
mgabdev
218c064433 Fixed repost color to match all other action button icon colors
fixes: #45
2019-08-20 15:48:21 -04:00
mgabdev
00246a2205 Removed profile directory toggle in profile settings
fixes: #69
2019-08-20 15:02:31 -04:00
Developer
6f6a45f535 Merge branch 'mute-button-fix' into 'develop'
Make "muted words" button work, fixes #77

Closes #77

See merge request gab/social/gab-social!38
2019-08-20 15:45:57 +00:00
Developer
2873ac7190 Merge branch 'fix-pro-dashboard' into 'develop'
Add PRO conditional to dashboard, fixes #78

Closes #78

See merge request gab/social/gab-social!37
2019-08-20 15:44:53 +00:00
Developer
447478a791 Merge branch 'mentions-fix' into 'develop'
Make mention links internal, fixes #74

Closes #74

See merge request gab/social/gab-social!34
2019-08-20 15:39:25 +00: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
2458773093
8a6623e463 fix group local account list for distributions so it does not include users who disabled group posts in feed 2019-08-20 03:10:22 +03:00
2458773093
3214ad5d50 regeneration and database feed generation updates for group posts in feeds 2019-08-20 02:54:26 +03:00
2458773093
1f0f96415e group posts in feed db builder 2019-08-20 02:25:10 +03:00
2458773093
213d5862ac fan out to group members 2019-08-20 02:11:11 +03:00
mgabdev
d41a63a21d Updated promo panel
Removed invite, added apps and news
2019-08-18 12:19:10 -04:00
mgabdev
14df0de9d8 Removed apps item from tabs_bar 2019-08-18 12:17:37 -04:00
mgabdev
0ef81876dc Merge branch 'feature/adding_embed_and_meta_tags' of https://code.gab.com/gab/social/gab-social into develop 2019-08-18 00:12:28 -04:00
mgabdev
d3501953f4 Added check for account variable exists in home_controller meta function 2019-08-18 00:11:41 -04:00
mgabdev
d084b8d5f9 Updated route matches in home_controller
Added in set_data_for_meta too
2019-08-18 00:09:25 -04:00
mgabdev
5750786d1a Removed bang operator from account, tag finders in home_controller
If account or tag does not exist, it tosses an error. without bang it ignores if doesn't exist.
2019-08-17 12:16:15 -04:00
mgabdev
9ed74bcc08 Updated sidebar to be disabled if no current user 2019-08-17 01:35:29 -04:00
mgabdev
1e6cf79f9e Added checks in application.html.haml for tag, status, account for meta tags
enables meta tag content for search engine indexing and titles per each
2019-08-17 01:23:21 -04:00
mgabdev
5b27b6b646 Updated home_controller.rb to check for meta data for accounts, statuses, tags
if route is account/profile page, status page or tags page, set data to send to application.html.haml to render meta tag content
2019-08-17 01:22:27 -04:00
mgabdev
499bf9eb69 Updated status_finder to check for home#index for updated status route
check previous commit: dcb0572

this enables status embeding to work fully
2019-08-17 01:21:33 -04:00
mgabdev
4b1c4c31d1 Upated /tags/:id in react app to be a public route 2019-08-17 01:15:30 -04:00
mgabdev
57b37e0555 Updated stream_entries view detailed_status "open in web" link 2019-08-17 01:15:02 -04:00
mgabdev
e576c2c3d7 Added a new file for account view meta content 2019-08-17 01:14:41 -04:00
mgabdev
a7185dc9ca Added a new file for stream_entries view meta content 2019-08-17 01:14:24 -04:00
mgabdev
8ac59b3336 Added a new file for tags view meta content 2019-08-17 01:13:56 -04:00
mgabdev
004dde2543 Updated notification badge positioning
align with updated tabs bar design
2019-08-15 14:33:21 -04:00
mgabdev
c60617cc00 Updated sidebar menu avatar link
removed extra curly
2019-08-15 14:19:29 -04:00
mgabdev
f4bc6aedb7 Removed sidebar menu flex displays
updated responsiveness
2019-08-15 11:48:06 -04:00
mgabdev
342feb90ca Updated sidebar menu item placement
added body class to to stop scroll when sidebar menu is open
2019-08-15 11:38:55 -04:00
mgabdev
9e3d4f5385 Updated sidebar menu theming 2019-08-15 11:38:26 -04:00
mgabdev
0be86d6ec5 Added sidebar menu feature 2019-08-14 23:04:03 -04:00
mgabdev
915f7f891a Updated floating-action-button to show at 895px 2019-08-14 23:03:05 -04:00
mgabdev
a2bb97d412 Updated tabs bar
updated responsiveness of tabs bar
2019-08-14 23:02:48 -04:00
Rob Colbert
8812cda2a2 make room for quoted post and constrain the quoted post 2019-08-13 14:00:09 -04:00
mgabdev
293c6502da Added sass-resources-loader to css webpack rules 2019-08-13 12:14:57 -04:00
mgabdev
c58d621daf Updated components, style modules 2019-08-13 11:54:29 -04:00
mgabdev
ecd081b5ed Removed unused italic fonts 2019-08-13 11:52:31 -04:00
Rob Colbert
352217c5b4 process_quote_service call made conditional 2019-08-13 02:16:01 -04:00
mgabdev
47b43d78d9 Updated all component styles
new mixins, consolidated
all original styles files uncomitted
2019-08-12 16:48:46 -04:00
2458773093
cca45c54f1 Merge branch 'quote-notifs' into feature/groups-improvements
* quote-notifs:
  quote notifs
  migration
2019-08-12 16:25:42 +03:00
2458773093
623fa7da80 quote notifs 2019-08-12 16:25:28 +03:00
2458773093
a12fa0573f remove share 2019-08-11 16:08:48 +03:00
2458773093
e64cbdfd8e group timeline reply filter 2019-08-11 15:57:12 +03:00
2458773093
57ddfabf20 group timeline improvements and prep for sorting 2019-08-11 15:41:56 +03:00
Rob Colbert
f7118a39df group accounts improvements 2019-08-11 14:40:44 +03:00
mgabdev
3d509c84a2 Another 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 group page components.
2019-08-09 12:06:27 -04:00
Rob Colbert
c8ce87e4f9 migration 2019-08-07 15:53:28 -04:00
Alex Gleason
d694d4a1a7
Fix "delete & redraft" to pop up modal, fixes #71 2019-08-07 15:50:09 -04:00
Rob Colbert
05037f60be Remove investing information
- Removed "Invest" from unauthenticated home page in Navbar
- Removed button/link from promo area of authenticated home page in
sidebar
- Updated Investors page to remove link leaving two beyind (reports)
2019-08-07 15:47:34 -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
mgabdev
5505f60119 Updated utils 2019-08-07 00:55:49 -04:00
Alex Gleason
cc39821efa
Make "muted words" button work, fixes #77 2019-08-05 20:04:35 -04:00
Alex Gleason
f6ee98a2f0
Add PRO conditional to dashboard, fixes #78 2019-08-05 18:50:35 -04:00
Rob Colbert
b9f9ae2231 Merge branch 'remote-profile-fix' into 'develop'
Actually fix remote profile loading

See merge request gab/social/gab-social!30
2019-08-05 04:51:57 +00:00
Rob Colbert
aed10a5a3b Merge branch 'feature/quoting-statuses' into 'develop'
Feature/quoting statuses

See merge request gab/social/gab-social!36
2019-08-04 21:46:10 +00:00
2458773093
92ebfbd076 quoted post preview added to status composer 2019-08-04 23:56:17 +03:00
2458773093
8bc76713a9 use feed manager to filter posts in group feeds 2019-08-04 21:58:17 +03:00
2458773093
900342a251 quote action bar to detailed view 2019-08-04 17:05:59 +03:00
2458773093
c876f90d54 quote icon 2019-08-04 16:55:58 +03:00
2458773093
e488ad6775 quote preview added to detailed_status component 2019-08-04 16:53:37 +03:00
2458773093
3cf262c79b relationship presenter + serializer updated for quotes 2019-08-04 16:46:59 +03:00
2458773093
12504c4f34 quote ui 2019-08-04 16:46:23 +03: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
6b583577f4 quote support to status creation 2019-08-04 15:26:35 +03:00
2458773093
318ab7beb6 status quote relations 2019-08-04 15:25:23 +03:00
mgabdev
42917806e9 Updated all basic components
removed unnecessary components, combined where necessary
added each component to a folder, added individual css style modules
optimized some component rendering flows
removed functional components in favor of pure components
linted and formatted all of the files
2019-08-03 02:00:45 -04:00
mgabdev
16a9bc6e93 Added cursor_token_match util file 2019-08-03 01:51:48 -04:00
Alex Gleason
524a438a9b
Make mention links internal, fixes #74 2019-08-02 19:42:57 -04:00
Alex Gleason
526af3dba0
Hide "verified" emoji from usernames to avoid confusion 2019-08-01 20:20:32 -04:00
Alex Gleason
c3f36e9142
Actually fix remote profile loading 2019-08-01 19:22:20 -04:00
Rob Colbert
1bfbb53c14 Merge branch 'compose-css' into 'develop'
Restrict compose modal textarea size, #67

See merge request gab/social/gab-social!28
2019-08-01 18:47:57 +00:00
2458773093
3fa8eb1bac Added restriction to group policy. Create link hidden for non-pro. 2019-08-01 19:46:17 +03:00
Alex Gleason
e48e14f6ea
Restrict compose modal textarea size, #67 2019-08-01 12:37:12 -04:00
Rob Colbert
8c837a0c36 quick fix for processing of username@domain.:format 2019-08-01 11:04:15 -04:00
Rob Colbert
cab7181b5b Merge branch 'refactor-allFediverse' into 'develop'
Refactor "All Fediverse" setting

See merge request gab/social/gab-social!25
2019-08-01 12:49:52 +00:00
Rob Colbert
fa574e4ec3 Merge branch 'feature/emails-from-gabcom-notification-option' into 'develop'
New option to notificaion preferences for emails from gab.com for...

See merge request gab/social/gab-social!26
2019-08-01 12:48:33 +00:00
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