Commit graph

627 commits

Author SHA1 Message Date
Alex Gleason
4a01b80ede
Test: LoginForm snapshot 2020-06-09 22:15:00 -05:00
Alex Gleason
49589e1e7c
Test: Refactor helper functions 2020-06-09 22:14:48 -05:00
Alex Gleason
f147940d22
Test: CaptchaField 2020-06-09 22:04:22 -05:00
Alex Gleason
6d6dbd9113
Test: Start creating component snapshots 2020-06-09 21:29:50 -05:00
Alex Gleason
522170c07f
Oops. Typofix. 2020-06-09 20:17:37 -05:00
Alex Gleason
7de801f176
Fonts: spinster --> soapbox 2020-06-09 20:14:18 -05:00
Alex Gleason
f4c12c6986
Tests: Boilerplate all reducers 2020-06-09 20:08:07 -05:00
Alex Gleason
0c1eeb9efa
Tests: start reducers/auth tests 2020-06-09 19:31:52 -05:00
Alex Gleason
9da7037fcf Merge branch 'patch-1' into 'master'
Update soapbox.js to log soapbox.json parsing errors to the console.  Fixes #171

Closes #171

See merge request soapbox-pub/soapbox-fe!66
2020-06-10 00:22:06 +00:00
Alex Gleason
98a38fe2e0
Compose: fix mobile padding, fixes #166 2020-06-09 19:15:21 -05:00
Curtis
76b620a802 Update soapbox.js to log soapbox.json parsing errors to the console. Fixes #171
Removed unnecessary semicolon at end of file
2020-06-09 23:53:35 +00:00
Alex Gleason
9fa7f7bf0f
Tests: Start auth actions 2020-06-09 18:29:55 -05:00
Alex Gleason
6ee3d77e55
Forms: set id in state, fixes #178 2020-06-09 18:26:49 -05:00
Alex Gleason
23039c353e
Tests: DRY mockStore() 2020-06-09 17:28:32 -05:00
Alex Gleason
628d73eb81
Tests: actions/about.js 2020-06-09 17:22:35 -05:00
Alex Gleason
f71f7e4dbd
Tests: Clear API mocks between each test 2020-06-09 17:16:22 -05:00
Alex Gleason
842f35ebc5
Tests: Allow stubbing API 2020-06-09 17:07:27 -05:00
Alex Gleason
6810f8d0b6
Tests: Start mocking API for action tests 2020-06-09 16:47:41 -05:00
Alex Gleason
85a56d86f3
Locales: Remove unused index.js 2020-06-09 16:34:12 -05:00
Alex Gleason
1b36699021
API: Remove unused CSRF token logic 2020-06-09 16:34:00 -05:00
Isabell Deinschnitzel
28992cdec1 Update de.json: minor changes 2020-06-09 11:00:33 +00:00
Alex Gleason
5bfa2603db
Favourite --> Like, fixes #167 2020-06-08 20:48:11 -05:00
Alex Gleason
5d7393d6ee
CSS fixes 2020-06-08 14:04:39 -05:00
Isabell Deinschnitzel
b9fc66523d Update de.json: typo 2020-06-08 07:53:25 +00:00
Sean King
e0ac688017 Switch to Back to <instance name> when logged in on mobile view as well. 2020-06-08 02:00:49 +00:00
Alex Gleason
aed445954d
Jest: Restore avatar tests 2020-06-07 19:57:54 -05:00
Alex Gleason
5ee3ec1114
SpoilerButton: fix CSS, fixes 163 2020-06-07 19:42:53 -05:00
Alex Gleason
3a6b4e9628 Merge branch 'czech-translation' into 'master'
Czech translation

See merge request soapbox-pub/soapbox-fe!60
2020-06-07 23:51:00 +00:00
matrix07012
467719524d Czech translation 2020-06-07 23:51:00 +00:00
Alex Gleason
2b409fb6cd Merge branch 'patch-7' into 'master'
Update de.json: More minor changes

See merge request soapbox-pub/soapbox-fe!61
2020-06-07 23:50:12 +00:00
Alex Gleason
d78760e188
Composer: Improve design, fixes #158 2020-06-07 18:05:54 -05:00
Isabell Deinschnitzel
ba04b4cbb1 Update de.json: More minor changes 2020-06-07 22:44:53 +00:00
Alex Gleason
807815c9d8
Search: Use more --accent-color 2020-06-07 17:38:15 -05:00
Alex Gleason
dda0e243e8
Search: Fix mobile styling, fixes #157 2020-06-07 17:36:06 -05:00
Alex Gleason
52e0d1f475
Support injecting custom CSS, fixes #145 2020-06-07 17:30:47 -05:00
Alex Gleason
289f90dd4e
Fix PropType errors 2020-06-07 17:18:26 -05:00
Alex Gleason
d295368170
RegistrationForm: Handle email confirmation, fixes #137 2020-06-07 17:11:14 -05:00
Alex Gleason
e120b56e8f
/auth/sign_up --> /, fixes #106 2020-06-07 16:55:28 -05:00
Alex Gleason
73fd6d67f9
Logged out CSS fixes 2020-06-07 16:44:17 -05:00
Alex Gleason
e78d8d59b6
Compose: Fix content retention on close, fixes #139 2020-06-07 16:40:56 -05:00
Alex Gleason
346d84351c
LandingPage: Conditionally show "Back to {site_title}" instead of login form, fixes #135 2020-06-07 16:16:47 -05:00
Alex Gleason
374e985e37
Composer: Only process mentions if they exist, fixes #133 2020-06-07 16:06:31 -05:00
Alex Gleason
9871d0f37c
Fix CW video height, fixes #46 2020-06-07 15:46:16 -05:00
Alex Gleason
4737dc6da9
Compose: Fix NSFW tag error on CW 2020-06-07 15:30:21 -05:00
Alex Gleason
74a01a7b3e
MoreFollows: count can never be negative, fixes #146 2020-06-07 15:11:41 -05:00
Alex Gleason
886b241433
MoreFollows: Only show when all follows have been loaded 2020-06-07 15:09:25 -05:00
Alex Gleason
409431d7e8
Focal Point: make conditional based on BE, fixes #159 2020-06-07 14:57:13 -05:00
Alex Gleason
dfb133b22c
Features: focalPoint check 2020-06-07 14:52:13 -05:00
Alex Gleason
8f532b1b92
Media gallery: Fix upload limit, hotfix for #150 2020-06-07 14:40:54 -05:00
Alex Gleason
75412ca078
Features: add attachmentLimit check 2020-06-07 14:31:04 -05:00
Alex Gleason
cc6aae5937
Reformat features-test.js 2020-06-07 14:26:28 -05:00
Alex Gleason
d772608df4
Search: Conditionally display hashtag features, fixes #142 2020-06-07 14:09:33 -05:00
Sean King
a0ac0aac92 Minor change to registration form box 2020-06-07 18:36:18 +00:00
Alex Gleason
24979c9461
Use --accent-color more through UI 2020-06-07 13:14:18 -05:00
Alex Gleason
ccf452e028
Refactor --accent-color, yet again 2020-06-07 12:17:10 -05:00
Alex Gleason
cbb81f18f4
Self-document CSS variable naming conventions 2020-06-07 12:03:33 -05:00
Alex Gleason
1f751cd324
TimelineQueueButtonHeader: yarn manage:translations and merge DE change 2020-06-07 11:37:57 -05:00
Alex Gleason
81fa77b8a5
TimelineQueueButtonHeader: Make more i18n friendly 2020-06-07 11:26:08 -05:00
Isabell Deinschnitzel
61c34b93e7 timeline_queue.label updated 2020-06-07 15:01:48 +00:00
Alex Gleason
80ddf656d8
Theming: RGB --> HSL 2020-06-06 22:55:00 -05:00
Alex Gleason
109b043153
Timeline tab animations 2020-06-06 19:29:22 -05:00
Isabell Deinschnitzel
78fe7f24d4 Update de.json. Some minor changes. 2020-06-06 22:54:46 +00:00
Alex Gleason
52b85ba451
Post compose button: remove static width 2020-06-06 17:02:54 -05:00
Alex Gleason
7f8d3c0f42
Merge branch 'patch-2' 2020-06-06 16:48:22 -05:00
Isabell Deinschnitzel
b2a0e9870b
Update de.json: Weitere Übersetzungen ergänzt 2020-06-06 16:47:58 -05:00
Alex Gleason
edbc6f0f31
Truncate long filenames in notifications, fixes #151 2020-06-06 16:36:00 -05:00
Alex Gleason
0fc3952cd8
Use a more appealing accent color 2020-06-06 16:29:57 -05:00
Alex Gleason
86508da96e
EditProfile: i18n 2020-06-06 15:52:33 -05:00
Alex Gleason
f3fb5bbed4
Preferences: i18n 2020-06-06 15:36:00 -05:00
Alex Gleason
f143f053b1 Merge branch 'patch-1' into 'master'
Update de.json: Weitere Überarbeitungen.

See merge request soapbox-pub/soapbox-fe!50
2020-06-06 20:03:53 +00:00
Alex Gleason
af8d35469c
Add many more translatable fields 2020-06-06 14:57:05 -05:00
Alex Gleason
92d909e3c7
Run yarn manage:translations 2020-06-06 14:08:26 -05:00
Alex Gleason
9323cf1fdf
Pluralize messages on more_follows.js 2020-06-06 14:06:45 -05:00
Isabell Deinschnitzel
5868133ec1 Update de.json 2020-06-06 11:39:00 +00:00
Isabell Deinschnitzel
190366336b Update de.json 2020-06-05 23:46:57 +00:00
Sean King
f4cbb506f7 Fix mobile look of About pages 2020-06-05 23:17:27 +00:00
Isabell Deinschnitzel
5c6e47f4a6 Update de.json 2020-06-05 23:12:05 +00:00
Isabell Deinschnitzel
9778be3608 Update de.json 2020-06-05 22:50:18 +00:00
Alex Gleason
2178c0d595
SecurityForm: Style OAuth tokens 2020-06-05 16:24:07 -05:00
Alex Gleason
35d5e7d649
SecurityForm: Revoke OAuth token 2020-06-05 15:54:09 -05:00
Alex Gleason
db1ad3e16f
SecurityForm: Display OAuth tokens 2020-06-05 15:43:03 -05:00
Alex Gleason
8fd5a3cd35
Consolidate actions/security.js --> actions/auth.js 2020-06-05 15:27:31 -05:00
Alex Gleason
c1f3dbd22d
SecurityForm: i18n 2020-06-05 15:21:29 -05:00
Alex Gleason
75a0062dd4
Make /auth/edit a private route 2020-06-05 15:21:19 -05:00
Alex Gleason
da44a769d6
Get ChangePasswordForm working 2020-06-05 15:14:27 -05:00
Alex Gleason
e972cfc191
SecurityForm: Break ChangeEmailForm into separate component 2020-06-05 15:03:21 -05:00
Alex Gleason
f99d1300c2
Security --> SecurityForm 2020-06-05 15:00:24 -05:00
Alex Gleason
ab280b80e1
SecurityForm: Add navigation links 2020-06-05 14:58:59 -05:00
Alex Gleason
683950b73c
SecurityForm: Disable on submit 2020-06-05 14:50:24 -05:00
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