Commit graph

488 commits

Author SHA1 Message Date
Alex Gleason
91d511c4b9
SecurityForm: Respond to submit 2020-06-05 14:45:00 -05:00
Alex Gleason
1076788add
Security: Form confirmations 2020-06-05 14:39:27 -05:00
Alex Gleason
860b2d18f4
Security: Rudimentary email change 2020-06-05 14:25:26 -05:00
Alex Gleason
f910caed18
Account header <span> fixes 2020-06-04 23:12:14 -05:00
Alex Gleason
082d3f1121
Allow only valid locales 2020-06-04 21:50:11 -05:00
Alex Gleason
7e16536d70 Merge branch 'locales' into 'master'
Locales

Closes #7

See merge request soapbox-pub/soapbox-fe!44
2020-06-05 02:36:53 +00:00
Alex Gleason
9e20452692
Streaming: load messages async 2020-06-04 21:28:19 -05:00
Alex Gleason
956fa99ee1
Import locale messages dynamically 2020-06-04 21:22:58 -05:00
Alex Gleason
0d76b761ac
class --> className 2020-06-04 21:13:38 -05:00
Alex Gleason
2e9ce293dd
Remove whitelist files 2020-06-04 20:28:56 -05:00
Alex Gleason
39a651121b
Update language selector in Preferences with all languages 2020-06-04 20:01:00 -05:00
Alex Gleason
8b181c38f3
Fix i18n streaming.js 2020-06-04 19:43:53 -05:00
Alex Gleason
36f5b6cea8
Delete unused container components 2020-06-04 19:40:01 -05:00
Alex Gleason
52621e8db8
intl.now() --> Date.now() 2020-06-04 19:30:24 -05:00
Alex Gleason
6e1db9a013
Basic locale support 2020-06-04 18:34:28 -05:00
Alex Gleason
36447e4bf2
Add Language dropdown to Preferences 2020-06-04 18:32:46 -05:00
Alex Gleason
3ae22ce8ee
Add missing <span> tags back to some FormattedMessages 2020-06-04 18:11:24 -05:00
Alex Gleason
f0528e9d43
Better locale detection 2020-06-04 17:29:00 -05:00
Sean King
6d195aa0b7 Fix look of About pages 2020-06-04 20:08:44 +00:00
Alex Gleason
3e2b282cb8
Postpone setting the brand color until soapbox.json succeeds or fails
Fixes color flickering during load
2020-06-03 14:47:49 -05:00
Alex Gleason
8f566b70e6
Better actions names for INSTANCE_FETCH_SUCCESS etc 2020-06-03 14:26:22 -05:00
Alex Gleason
e8fcd9bf18
Actually set default brandColor in SoapboxMount 2020-06-03 14:20:45 -05:00
Alex Gleason
46b1c3041f
SidebarMenu style fixes 2020-06-03 14:11:03 -05:00
Sean King
b3d7638a9f Fix sidebar menu when in dark mode by changing to CSS variables 2020-06-03 17:48:40 +00:00
Alex Gleason
7d58694cce
Set Azure as default brandColor (can still be set blank with null) 2020-06-03 11:23:21 -05:00
Alex Gleason
6116b56676
Redirect /settings to /settings/preferences 2020-06-03 01:30:57 -05:00
Alex Gleason
6367f560ec
Promo panel css fixes 2020-06-03 01:22:58 -05:00
Alex Gleason
39f011619e
Move button scss 2020-06-03 01:10:53 -05:00
Alex Gleason
9cc9065efd
Fix missing video player styles, fix notification icon color 2020-06-02 21:35:25 -05:00
Alex Gleason
a46fb79401
React Toggle css fixes 2020-06-02 21:16:05 -05:00
Alex Gleason
077278b7dc
Break out components.scss 2020-06-02 21:11:01 -05:00
Alex Gleason
f563f6234b
More CSS fixes 2020-06-02 20:12:36 -05:00
Alex Gleason
f40fe82c4e
Refactor boost icon, match theme color 2020-06-02 19:15:06 -05:00
Alex Gleason
8966767323
Forms and input CSS tweaks 2020-06-02 18:49:50 -05:00
Alex Gleason
8159a7edc7
Emoji mart styling 2020-06-02 18:31:55 -05:00
Alex Gleason
d5fba20091
Update gab references 2020-06-02 17:45:06 -05:00
Alex Gleason
ca4bc1d8e8
Replace most color variables 2020-06-02 17:42:09 -05:00
Alex Gleason
0587798cb4
More theme tweaks 2020-06-02 16:49:42 -05:00
Alex Gleason
d21db82247
Remove theming cruft 2020-06-02 15:48:27 -05:00
Alex Gleason
eb9517873d
Extrapolate meta colors in css instead of JS 2020-06-02 15:28:15 -05:00
Alex Gleason
c4a2a86618
Theme mode set in Preferences 2020-06-02 12:16:26 -05:00
Alex Gleason
6f8ca44984
Homepage css fixes 2020-06-01 23:26:02 -05:00
Alex Gleason
be2f26980a
Various color variable replacements 2020-06-01 19:53:22 -05:00
Alex Gleason
d4a88c0243
Remove unused import 2020-06-01 08:31:42 -05:00
Alex Gleason
3fc5d7a83c
Get theme from soapbox.json 2020-06-01 00:49:43 -05:00
Alex Gleason
3a7178300f
Delete spaces in rgba colors 2020-05-31 23:24:31 -05:00
Alex Gleason
6b6c9f41ea
Reorganize styles directory 2020-05-31 23:21:25 -05:00
Alex Gleason
9e0010e2ce
Merge azure.scss and delete it 2020-05-31 23:18:39 -05:00
Alex Gleason
9d242a403b
Simplify Webpack CSS 2020-05-31 23:09:21 -05:00
Alex Gleason
4ddcb9bcd0
Lighten --primary-text-color-faint, fix wtf-panel shadow 2020-05-31 23:08:55 -05:00
Alex Gleason
f3f647961e
--primary-color-faint -> --primary-text-color-faint 2020-05-31 21:16:32 -05:00
Alex Gleason
d12bc38112
Dark theme improvements 2020-05-31 21:05:00 -05:00
Alex Gleason
97ba4b005d
Fix IconButton centering issues 2020-05-31 19:38:07 -05:00
Alex Gleason
55c958c7ad
Homepage style improvements 2020-05-31 19:22:08 -05:00
Alex Gleason
73e2649530
Delete $black and $white 2020-05-31 18:49:48 -05:00
Alex Gleason
4a2493a7e2
Replace $primary-text-color 2020-05-31 18:44:20 -05:00
Alex Gleason
36f888c027
Remove all themes except light and dark 2020-05-31 18:28:58 -05:00
Alex Gleason
8e3ad9e6b6
$ui-base-color replacements 2020-05-31 18:22:11 -05:00
Alex Gleason
50c4dac599
$ui-highlight-color replace 2020-05-31 17:34:33 -05:00
Alex Gleason
8165975308
tabs-bar button hover color 2020-05-31 17:14:18 -05:00
Alex Gleason
53cb73634d
Color replace --brand-color-med 2020-05-31 16:27:35 -05:00
Alex Gleason
a44d4d2dc8
Lower highlight text color contrast 2020-05-31 16:12:41 -05:00
Alex Gleason
78497bd924
Improve dropdown menu style 2020-05-31 15:51:20 -05:00
Alex Gleason
4d484153ac
More SCSS variable replacements 2020-05-31 15:17:10 -05:00
Alex Gleason
86d585ffbd
Merge branch 'master' into themes 2020-05-31 13:51:45 -05:00
Alex Gleason
a2c9aeb8dd
Conditionally fetch /nodeinfo/2.1.json for Pleroma < 2.1, #137 2020-05-31 12:01:21 -05:00
Alex Gleason
2c0ee3f29d
generateTheme function, refactor 2020-05-31 00:21:41 -05:00
Alex Gleason
d5632851fe
Delete unused admin.scss and scrollbars.scss 2020-05-30 22:39:08 -05:00
Alex Gleason
35db4e33c8
autosuggest_textarea smooth expand 2020-05-30 22:18:29 -05:00
Alex Gleason
54e4bff0ab
Set compose button color 2020-05-30 22:16:29 -05:00
Alex Gleason
4ac7663d3c
--nav-ui-highlight-color -> --accent-color 2020-05-30 22:06:33 -05:00
Alex Gleason
be3065405c
Use --brand-color-faint in more spots 2020-05-30 21:58:18 -05:00
Alex Gleason
0491183877
Replace $highlight-text-color 2020-05-30 21:48:37 -05:00
Alex Gleason
56540932e1
Start adding color adaptations 2020-05-30 20:11:08 -05:00
Alex Gleason
67a7adb9a9
Action to set theme, render theme CSS 2020-05-30 19:05:01 -05:00
Alex Gleason
170b436705
Merge branch 'master' into themes 2020-05-30 17:43:58 -05:00
Alex Gleason
61fcfdbc6e
Fix ComposeForm Ctrl+Enter hotkey issue, fixes #127 2020-05-30 17:29:50 -05:00
Alex Gleason
3963ae2217
Start replacing $gab-brand-default with --brand-color 2020-05-30 14:50:08 -05:00
Alex Gleason
c932872727
RegistrationForm: Refresh Captcha on registration fail 2020-05-29 15:06:14 -05:00
Alex Gleason
78732d8d43
Let Captcha be force-refreshed with idempotencyKey 2020-05-29 15:02:04 -05:00
Bárbara de Castro Fernandes
775f923708 Add 'block user' option to the report window 2020-05-29 15:05:24 -03:00
Alex Gleason
30384cbfef
Clean up auth code 2020-05-29 09:55:38 -05:00
Curtis
dbee88f795 Update auth.js to fix #97 login failure 2020-05-29 02:17:38 +00:00
Alex Gleason
c5886508eb
Pull reduceMotion from Redux store 2020-05-28 20:50:53 -05:00
Alex Gleason
f451b81e25
Remove searchEnabled 2020-05-28 20:41:18 -05:00
Alex Gleason
2e105d40ef
Remove profile_directory 2020-05-28 20:39:37 -05:00
Alex Gleason
806718a97e
Remove invitesEnabled 2020-05-28 20:38:28 -05:00
Alex Gleason
183c6538ca
Pull displayMedia from Redux store 2020-05-28 20:36:39 -05:00
Alex Gleason
ac341f0c2e
start --> flex-start
Fixes postcss runtime warnings
2020-05-28 20:04:21 -05:00
Alex Gleason
c889269ecb
Fix all scss linter warnings 2020-05-28 19:58:37 -05:00
Alex Gleason
da3e63596b
Webpack: Reduce to one entrypoint, app/application.js 2020-05-28 18:46:24 -05:00
Alex Gleason
badd64571f
Remove unused filters in index.ejs 2020-05-28 18:35:17 -05:00
Alex Gleason
27dfc64261
Remove unused files 2020-05-28 18:33:33 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00
Alex Gleason
010638cd9b
Lint: compose-form.scss 2020-05-28 17:18:37 -05:00
Alex Gleason
e4fe77d56b
Make autoPlayGif on by default, !30 2020-05-28 15:43:17 -05:00
Alex Gleason
8133e9ff8f Merge branch 'fix/autoplaygif' into 'master'
Fix autoPlayGif

See merge request soapbox-pub/soapbox-fe!30
2020-05-28 20:40:32 +00:00
Alex Gleason
786f6feacc
Merge branch 'decode_uri_on_profile_edit' 2020-05-28 15:29:54 -05:00
Alex Gleason
e6cff0f83f
EditProfile: Fix error about uncontrolled components 2020-05-28 15:29:32 -05:00
Alex Gleason
c4c99a1c1b
EditProfile: refactor initialState 2020-05-28 15:29:24 -05:00
Alex Gleason
1d44de0873
EditProfile: Unescape account params in componentWillMount() 2020-05-28 15:07:25 -05:00
crockwave
76b3849c93
Convert HTML to text value in Profile Page for Display name and Bio fields
Fixed linter errors

* used unescape method from lodash to translate HTML to plain text
* Moved translation to the componentDidMount event
* Removed decodeHtml method from utils/html
2020-05-28 14:52:09 -05:00
Alex Gleason
503072f715 Merge branch 'handle_keydown_issues' into 'master'
Handle Esc/click outside the "Are you sure you want to delete this post?" modal events. Fixes #118 and #127

Closes #127 and #118

See merge request soapbox-pub/soapbox-fe!27
2020-05-28 19:50:53 +00:00
Alex Gleason
fc95a374b3
Merge branch 'cw_input_focus' 2020-05-28 14:45:04 -05:00
Alex Gleason
9e64cd82b9
Focus spoiler input from ComposeForm, refocus textarea on close 2020-05-28 14:44:36 -05:00
crockwave
84ba6a0cc3
Added auto-focus of content warning input box when CW button clicked
Removed spoilerActive prop and used existing spoiler prop

Fixed linter issue and removed commented code
2020-05-28 14:11:42 -05:00
Alex Gleason
01d437a91e
Disable non-working links in LinkFooter for now #108 2020-05-28 13:56:36 -05:00
Alex Gleason
2e786c2f06
Remove extraneous links from LinkFooter #108 2020-05-28 13:50:49 -05:00
Alex Gleason
575a8889c1
Make home footer navlinks customizable #108 2020-05-28 13:44:44 -05:00
Alex Gleason
a9eb5c1765
Force videos to 300px height on Pleroma, fixes #117 2020-05-28 12:30:54 -05:00
Bárbara de Castro Fernandes
4505e3931a Fix autoPlayGif 2020-05-28 09:47:20 -03:00
Alex Gleason
2319d9f080
MoreFollows refactor 2020-05-27 20:22:53 -05:00
Alex Gleason
387c26939a Merge branch 'message_on_followers_diff' into 'master'
Display label at end of follows/followers lists when follows/followers count > follows/followers list.size Fixes #2

Closes #2

See merge request soapbox-pub/soapbox-fe!19
2020-05-28 00:16:42 +00:00
Curtis
4a5525adf0 Display label at end of follows/followers list when count > list.size 2020-05-28 00:16:42 +00:00
Sean King
996b61215c Change box-shadow color to make it look good on both light and dark themes. 2020-05-27 23:56:14 +00:00
crockwave
25d7df6300 - On Esc/click outside the "Are you sure you want to delete this post?" modal, now reverts back to the compose modal and retains any edited text
- Ctrl-Enter publishing also works in all of the compose modals
2020-05-27 16:30:42 -05:00
Alex Gleason
a85684835f
Fix ProfilePage issues, fixes #58 2020-05-26 23:56:54 -05:00
Alex Gleason
f04e1fddae
Use Conversation IDs instead of status IDs, fixes #77 2020-05-26 23:22:07 -05:00
Alex Gleason
70a3e53db4
Revert "Height cache stick to reduce jitteryness, fixes #117"
This reverts commit fabb300caf.
2020-05-26 21:41:35 -05:00
Alex Gleason
f3ca015e17
Open links in a new tab, fixes #98 2020-05-26 20:54:02 -05:00
Alex Gleason
fabb300caf
Height cache stick to reduce jitteryness, fixes #117 2020-05-26 20:39:55 -05:00
Alex Gleason
6f0c9840be
Fall back on auto video height if not given, fixes #91 2020-05-26 20:28:18 -05:00
Alex Gleason
6f76e1796b Merge branch 'compose-refactor' into 'master'
Fix composer issues

Closes #95, #86, and #116

See merge request soapbox-pub/soapbox-fe!25
2020-05-26 23:31:08 +00:00
Sean King
da7ed8cf35 Update action_bar.js 2020-05-26 22:57:59 +00:00
Alex Gleason
e06f8ce894
Composer: Remove preselectDate
This value is only used to track when a reply happens. On soapbox-fe, a reply causes a new ComposeForm to mount, so we can track it that way instead.
2020-05-26 17:36:56 -05:00
Alex Gleason
188067ac48
Composer: Always place cursor at the end of text 2020-05-26 17:22:32 -05:00
Alex Gleason
5633bf4317
Composer: simplify cursor update code 2020-05-26 17:03:27 -05:00
Alex Gleason
55578a4381
Composer: shouldCollapse --> isClickOutside 2020-05-26 15:26:55 -05:00
Alex Gleason
808e05a03f
Pass maxTootChars from ComposeFormContainer instead of ComposeForm 2020-05-26 15:24:03 -05:00
Alex Gleason
d9e6efbe79
Revert "Merge branch 'compose_caret_to_end' into 'master'"
This reverts commit 886e877996, reversing
changes made to b6a7404031.
2020-05-26 15:21:40 -05:00
Bárbara de Castro Fernandes
6c07579ab2 Always show 'Add or Remove from lists' menu item for Pleroma users 2020-05-26 09:49:05 -03:00
Alex Gleason
438d8009d4
Add password reset, fixes #13 2020-05-24 19:37:15 -05:00
Alex Gleason
a2e19e3720
Add resetPassword action 2020-05-24 18:22:36 -05:00
Alex Gleason
7e0dec594f
Floating action button CSS fixes 2020-05-24 18:04:27 -05:00
Sean King
1861d3227c Rework the Post compose button 2020-05-24 22:48:52 +00:00
Alex Gleason
d2d1f744ca
Improve mobile sidebar styling, fixes #94 2020-05-24 14:45:29 -05:00
Alex Gleason
6b97d4d0be
Revert "Adjusted scss for sidebar mobile menu to prevent rendering problems"
This reverts commit e9d8651208.
2020-05-24 14:39:49 -05:00
Alex Gleason
406e8c00b8
Make delete+redraft work, fixes #82 2020-05-24 14:09:16 -05:00
Alex Gleason
e04ab557ac
Make emoji reacts more responsive 2020-05-23 20:29:25 -05:00
Alex Gleason
29bcc4a0d1
Rearrange Like button events to prevent clashing 2020-05-23 20:01:16 -05:00
Alex Gleason
e9596fc191
Handle mobile emoji clicks (regular Status), use setRef 2020-05-23 19:50:03 -05:00
Alex Gleason
4af3c453e6
Click to open EmojiSelector on mobile (DetailedStatus) 2020-05-23 19:35:14 -05:00
Alex Gleason
8b505c0488
Set EmojiSelector visibility from props 2020-05-23 17:02:14 -05:00
Alex Gleason
c29d779bf5
Fix EmojiSelector position on mobile 2020-05-23 12:18:13 -05:00
Alex Gleason
02228d41e5
Make ALLOWED_EMOJI slightly configurable to let tests pass 2020-05-23 11:54:26 -05:00
Alex Gleason
7db74c7080
😂 --> 😆 2020-05-23 00:04:25 -05:00
Alex Gleason
4c9326b673
Try customizing the emoji list 2020-05-22 23:29:30 -05:00
Alex Gleason
68d40dc8ad
Improve position of inline status emoji picker 2020-05-22 21:34:07 -05:00
Alex Gleason
b13e8bdd96
Refactor simpleEmojiReact, allow inline reactions 2020-05-22 21:15:07 -05:00
Alex Gleason
850d9a1007
Refactor handleEmojiReactClick() 2020-05-22 20:16:26 -05:00