Commit Graph

2124 Commits

Author SHA1 Message Date
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
Rob Colbert
a1dd247795 Merge branch 'bugfix/menu-blocked-on-mobile' into 'develop'
Patch Fix for blocked navigation items on mobile due to compose button position.

See merge request gab/social/gab-social!11
2019-07-10 22:09:54 +00: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
Rob Colbert
3cfc948869 Merge branch 'bugfix/patch-fix-poll-results-text' into 'develop'
Fixes to poll results and scrollbar colors. Remove username from Mention buttons.

See merge request gab/social/gab-social!10
2019-07-10 21:33:50 +00: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