Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream changes #25979

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4631 commits
Select commit Hold shift + click to select a range
5b58ebb
Fix JS crashing if initial-state is not set (#2193)
ClearlyClaire Apr 22, 2023
aea7866
Change `drawer--header` to `drawer__header` (#2189)
Plastikmensch Apr 25, 2023
678480d
Fix small mistakes in RTL layout (#2182)
Plastikmensch Apr 25, 2023
1565af1
[Glitch] [Proposal] Make able to write React in Typescript (#2190)
Plastikmensch Apr 26, 2023
12b935f
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Apr 29, 2023
612a1ee
Fix `body_classes` test for glitch-soc
ClearlyClaire Apr 29, 2023
66bda47
[Glitch] Allow `==` when null checking
takayamaki Apr 19, 2023
0a813d9
[Glitch] Fix characters being emojified even when using Variation Sel…
ClearlyClaire Apr 20, 2023
11b34a9
[Glitch] Fix infinite loop in emoji replacement code
ClearlyClaire Apr 21, 2023
0091b28
[Glitch] Use CSS to trim long card descriptions
c960657 Apr 23, 2023
374a109
[Glitch] Change styling of the recommended accounts to allow bio to b…
chike00 Apr 23, 2023
8015297
[Glitch] Change label from "For you" to "People" on explore screen in…
Gargron Apr 28, 2023
7b01b7c
[Glitch] Add lines to threads in web UI
Gargron Apr 24, 2023
103b6de
[Glitch] Fix sass warning about deprecated slash as division (#24653)
ClearlyClaire Apr 25, 2023
cb97a92
[Glitch] Fix thread lines in right-to-left locales (#24714)
ClearlyClaire Apr 28, 2023
edec08b
Disable full-width media in thread view
ClearlyClaire Apr 29, 2023
1033598
[Glitch] Enable formatjs/prefer-pound-in-plural
nschonni Apr 24, 2023
38eeed6
[Glitch] Change logo version in header based on screen size in web UI
Gargron Apr 28, 2023
e79998a
Restore translations from not-yet-ported onboarding changes as glitch…
ClearlyClaire Apr 29, 2023
c18884d
Merge pull request #2198 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Apr 30, 2023
a6207d2
New Crowdin updates (#2202)
ClearlyClaire May 7, 2023
6f64c79
Fix SCSS linting issues (#2207)
ClearlyClaire May 7, 2023
9b59748
Fix rubocop warnings (#2206)
ClearlyClaire May 7, 2023
3fb7fe1
Fix some of the Javascript linting issues, as well as bugs and unneed…
ClearlyClaire May 7, 2023
179e38c
Reset language to default when cancelling a reply (#2114)
Plastikmensch May 7, 2023
ed0a407
Fix thread lines not being properly updated when new posts are receiv…
ClearlyClaire May 7, 2023
de74acb
Fix some more Javascript linting issues and discrepancies with upstre…
ClearlyClaire May 7, 2023
16c5354
Fix some more JS linting issues (#2211)
ClearlyClaire May 8, 2023
5d18840
Fix more JS linting issues (#2212)
ClearlyClaire May 8, 2023
2d029de
Merge commit '0ad2413b35287958f59073a5b63aecc659a64d98' into glitch-s…
ClearlyClaire May 8, 2023
09054f5
[Glitch] Fix media description not being cleared
c960657 Apr 30, 2023
51479f5
[Glitch] Add eslint-plugin-jsdoc
nschonni Apr 30, 2023
e9eab01
[Glitch] Fix audio player width in thread view
ClearlyClaire Apr 30, 2023
7835f8f
[Glitch] Fix icons having an image role
Gargron Nov 13, 2022
a49707d
[Glitch] Rewrite Icon and IconWithBadge with typescript
takayamaki Apr 30, 2023
aff2d55
[Glitch] Add type annotation for RelativeTimestamp component
takayamaki Apr 30, 2023
75e2873
[Glitch] Fix transaction around settings migration
Gargron May 1, 2023
8bf9bd5
[Glitch] Fix n+1 query in settings migration
Gargron May 2, 2023
61f3e0e
Merge pull request #2213 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire May 8, 2023
f89f3a8
Fix glitch-soc's thread line styling (#2214)
ClearlyClaire May 8, 2023
d77fbbe
Merge commit 'f877aa9d70d0d600961989b8e97c0e0ce3ac1db6' into glitch-s…
ClearlyClaire May 8, 2023
8b31030
Fix rubocop issues in glitch-soc-specific code
ClearlyClaire May 8, 2023
20f1f3a
[Glitch] Add type annotation for IconButton component
takayamaki May 2, 2023
9ab89bb
[Glitch] Add type annotation for Blurhash component
takayamaki May 2, 2023
10f5329
[Glitch] Fix incorrect box shadow on avatar in thread view
ClearlyClaire May 3, 2023
a8939e9
[Glitch] Change media elements to use aspect-ratio rather than comput…
ClearlyClaire May 2, 2023
bbd0e9c
[Glitch] Add ALT badges to media that has alternative text in web UI
Gargron May 2, 2023
f4e3e30
[Glitch] use configureStore of redux-toolkit instead of createStore o…
takayamaki May 2, 2023
f3af434
[Glitch] Fix incorrect import of redux store
ClearlyClaire May 3, 2023
5f0d2b6
Copy Typescript type definitions to glitch-soc
ClearlyClaire May 8, 2023
e8243d5
[Glitch] Add type annotation for some js files
takayamaki May 3, 2023
a33d6c9
[Glitch] Remove MastodonMap TS type
renchap May 3, 2023
3d9e353
[Glitch] Rewrite actions/app.ts and reducers/missed_updates.ts with c…
takayamaki May 3, 2023
ea04f33
[Glitch] Fixes build errors from some previous TS-related commits
renchap May 3, 2023
f08f6d2
Merge pull request #2215 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire May 9, 2023
8b56875
Merge commit '89269e4b713e3291a5c8c29b8d2e7b950b60eb35' into glitch-s…
ClearlyClaire May 9, 2023
1edaf58
[Glitch] Rewrite <NotSignedInIndicator /> as FC
taichi221228 May 8, 2023
bd851d3
[Glitch] Rewrite Image component as function component
taichi221228 May 8, 2023
87a704f
[Glitch] Rewrite RadioButton component as FC
taichi221228 May 8, 2023
468dfff
[Glitch] Use LayoutType from is_mobile in actions/app
takayamaki May 8, 2023
f94eb65
[Glitch] Rewrite Domain component as function component
takayamaki May 8, 2023
6415981
[Glitch] Mark `wheel` events on scrollable list as passive
renchap May 9, 2023
8e806b6
Fix IconButton prop types in glitch-soc
ClearlyClaire May 9, 2023
42bdc2a
Copy hooks/useHovering.ts to glitch-soc
ClearlyClaire May 9, 2023
887112a
[Glitch] Add TypeScript support for `mastodon` alias and image imports
taichi221228 May 8, 2023
c81d1b0
Merge commit 'c8181eb0a41c4f5c1655d4e400cab071aee4182a' into glitch-s…
ClearlyClaire May 9, 2023
108720d
[Glitch] Dont use CommonJS (`require`, `module.exports`) anywhere
renchap May 9, 2023
b509b96
[Glitch] Enforce React Rules of Hooks with eslint
renchap May 9, 2023
5f2071d
[Glitch] Enforce stricter rules for Typescript files
renchap May 9, 2023
0fff2b6
Disable broken onboarding code
ClearlyClaire May 9, 2023
1a66456
Merge commit '6aeb162927e6f9bbfd597632a10d82d9656c2385' into glitch-s…
ClearlyClaire May 9, 2023
e22a88b
[Glitch] Add more detailed type annotation for Account
takayamaki May 9, 2023
526fe33
[Glitch] Rework polyfills loading
renchap May 9, 2023
a56c71f
[Glitch] Remove unused iOS agent sniffing function
renchap May 9, 2023
5aa0882
[Glitch] Type Redux store and middleware
renchap May 9, 2023
facc7ab
Merge commit '51b83ed19536b06ce3f57b260400ecec2d1dd187' into glitch-s…
ClearlyClaire May 9, 2023
96e99e2
Run prettier on Typescript files
ClearlyClaire May 9, 2023
f371464
Remove our copy of image.d.ts as tsconfig already uses upstream's
ClearlyClaire May 9, 2023
054df2d
Merge pull request #2216 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire May 14, 2023
0588988
Fix AvatarComposite and DisplayName referencing undefined props (#2222)
ClearlyClaire May 17, 2023
2f2f74e
[Glitch] Update style of captcha confirmation page to match sign-up f…
ClearlyClaire May 25, 2023
cb6f445
Greatly simplify history management code (#2230)
ClearlyClaire May 25, 2023
69903b5
Fix margins around small avatars (reply indicators, autocompletion su…
ClearlyClaire May 25, 2023
646cde7
Change captcha to be presented even for invited users (#2227)
ClearlyClaire May 25, 2023
b735954
Merge commit '2ce0b666a139726dc406e6c1887728553b947e59' into glitch-s…
ClearlyClaire May 25, 2023
ea1f9b4
[Glitch] Rename Image component to ServerHeroImage
takayamaki May 9, 2023
7d9b7f2
[Glitch] Add type annotation for DisplayName component
takayamaki May 9, 2023
79c43b6
[Glitch] Disable RTK safety middlewares
renchap May 10, 2023
e8fc445
[Glitch] Enable ESLint react/no-deprecated
nschonni May 10, 2023
e6a7cfd
[Glitch] Add stricter ESLint rules for Typescript files
renchap May 10, 2023
602ae7f
[Glitch] Fix videos being improperly positioned on safari
ClearlyClaire May 10, 2023
d728222
[Glitch] Change "Sign in" to "Login"
Gargron May 10, 2023
4a1f4cb
[Glitch] Fix UI crash in moderation interface when opening the media …
c960657 May 11, 2023
b0ec3bf
[Glitch] Fix being unable to load past a full page of filtered posts …
ClearlyClaire May 16, 2023
f959f6c
Merge commit 'e60414792d86a99c0f401f3c1bab92ee37835d39' into glitch-s…
ClearlyClaire May 25, 2023
ba73f0e
[Glitch] Add polling and automatic redirection to `/start` on email c…
ClearlyClaire May 25, 2023
ad10989
Merge commit 'bec6a1cad4c509c53deb378c7ba984ba7e2de5a9' into glitch-s…
ClearlyClaire May 25, 2023
2e02d03
Merge commit '4a22e72b9b1b8f14792efcc649b0db8bc27f0df2' into glitch-s…
ClearlyClaire May 25, 2023
45d7358
Merge commit '8d6aea33260dedeacb3d22ac1a6d2f9cc3856a5e' into glitch-s…
ClearlyClaire May 25, 2023
3b375ee
[Glitch] Upgrade to React 18
renchap May 22, 2023
e2ab9d4
Merge commit 'e387175fc9a3ebfd72ab45ebfe43ecfabef7b0c3' into glitch-s…
ClearlyClaire May 25, 2023
892b3c1
[Glitch] Allow scripts in post embed previews
ClearlyClaire May 22, 2023
6746e5d
[Glitch] Rewrite `<Skeleton/>` as FC and TS
taichi221228 May 23, 2023
60c7e55
[Glitch] Rewrite `<TimelineHint />` as FC and TS
taichi221228 May 23, 2023
61f6cd4
Fix glitch-soc-only tests being broken because of test refactor
ClearlyClaire May 25, 2023
1347ca6
fixup! [Glitch] Upgrade to React 18
ClearlyClaire May 26, 2023
0222df6
Merge pull request #2236 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire May 27, 2023
9381f78
Merge commit '8f66126b1010e0aaaa8b5f2a2f4ea8a28824e2b7' into glitch-s…
ClearlyClaire May 28, 2023
6001f5f
[Glitch] Use the new JSX transform everywhere
ClearlyClaire May 28, 2023
8278907
Merge commit '5a16bd7bf4591feb852364da9b84407438c9b7d6' into glitch-s…
ClearlyClaire May 28, 2023
a0bc061
[Glitch] Use JSX syntax for Fragments
ClearlyClaire May 28, 2023
6dbd44f
Merge commit 'b896b16cb3c8626fbee12a7eda7f882114b1a040' into glitch-s…
ClearlyClaire May 28, 2023
8f380a3
[Glitch] Fix video player offering to expand in a lightbox when it's …
ClearlyClaire May 23, 2023
9e5278e
[Glitch] Add support for custom sign-up URLs
ClearlyClaire May 23, 2023
1cd7f5f
Merge commit 'd27216dc4616d80659c0cc5d2a55394e0e1ae874' into glitch-s…
ClearlyClaire May 28, 2023
7d7db89
Fix import order with ESLint
ClearlyClaire May 28, 2023
0e74667
Merge commit '391c089d0db58d731765dba730a5e1f2fe8570a6' into glitch-s…
ClearlyClaire May 28, 2023
017fbc7
[Glitch] Rewrite `<LoadGap />` as FC and TS
taichi221228 May 24, 2023
7bec63e
[Glitch] Fix `null` signUp URL handling from #25014
renchap May 24, 2023
e7dc375
[Glitch] Change share action from being in action bar to being in dro…
Gargron May 24, 2023
0669783
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire May 28, 2023
0009b4b
[Glitch] Update inconsistent `defaultMessage`
renchap May 24, 2023
6a59208
[Glitch] Fix export style of `<LoadGap />` based on `<Domain />`
taichi221228 May 25, 2023
382b2a5
[Glitch] Rewrite actions/modal and reducers/modal with typescript
takayamaki May 25, 2023
5ed48e6
Fix extraneous newlines
ClearlyClaire May 28, 2023
fca2dff
Merge pull request #2237 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 1, 2023
ee771f5
Fix closeModal invocation (#2239)
ClearlyClaire Jun 4, 2023
c22fc2f
Merge commit '00c222377db0e305ac3f4a15bf1c18eb89c1f45f' into glitch-s…
ClearlyClaire Jun 5, 2023
4993b6e
[Glitch] Handle Surrogate Pairs in truncate()
eai04191 May 29, 2023
5e876c2
[Glitch] Fix `null` signUp URL in various places
ClearlyClaire May 30, 2023
7fc1297
[Glitch] Bump eslint-plugin-jsdoc from 44.2.5 to 45.0.0
dependabot[bot] May 31, 2023
d907e79
Merge pull request #2242 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 5, 2023
85722a9
Merge commit '44cd88adc4e2f4028dcc2b08b98368f0dc90cee4' into glitch-s…
ClearlyClaire Jun 10, 2023
9e133e2
[Glitch] Upgrade react-intl
renchap May 31, 2023
93c7144
Merge commit 'b922ad7a1b4bc8d968d0df2c7f307d4fec53435d' into glitch-s…
ClearlyClaire Jun 10, 2023
7e25fd9
[Glitch] Translate CW, poll options and media descriptions
c960657 May 31, 2023
8188522
[Glitch] Fix prev/next buttons color in media viewer
renchap Jun 1, 2023
b27a9a5
Merge commit 'e9385e93e9b4601c87d1f5d6b8ddfd815f7aedcb' into glitch-s…
ClearlyClaire Jun 10, 2023
9af04d5
[Glitch] Add a confirmation screen when suspending a domain
ClearlyClaire Jun 1, 2023
aa57f7e
Merge commit '5fae2de454806730742b7be7435ae1c4fb97cf3c' into glitch-s…
ClearlyClaire Jun 10, 2023
a4d7a17
[Glitch] Fix using Date.now() instead of intl.now()
S-H-GAMELINKS Jun 1, 2023
734e186
Merge commit 'b0780cfeeda641645ea65da257a72ec507e71647' into glitch-s…
ClearlyClaire Jun 10, 2023
9e66c07
[Glitch] Fix `/share` and cleanup and reorganize frontend locale loading
renchap Jun 2, 2023
d8b0a73
Merge commit '1483a3ddfe74e4fb81d87447a1781943eab86c60' into glitch-s…
ClearlyClaire Jun 10, 2023
753385d
[Glitch] Fix spacing of middle dots in the detailed status meta section
j-f1 Jun 2, 2023
bf23afa
[Glitch] Add card with who invited you to join when displaying rules …
ClearlyClaire Jun 2, 2023
a8a30f1
[Glitch] Add exclusive lists
dariusk Jun 5, 2023
475185a
[Glitch] Fix design issues with recent react-intl upgrade
ClearlyClaire Jun 5, 2023
5a961f8
[Glitch] Fix not shown announcements in hometimeline.
S-H-GAMELINKS Jun 5, 2023
88c5ad3
[Glitch] Add data-nosnippet so Google doesn't use trending posts in s…
ClearlyClaire Jun 5, 2023
c48ec9c
Merge commit 'b85c387c5c0527b0ad31c27031a09d361826c5fc' into glitch-s…
ClearlyClaire Jun 10, 2023
83ae40e
[Glitch] Rewrite `<LoadMore />` as FC and TS
alfe Jun 6, 2023
fb0d2de
[Glitch] Change design of dropdowns in web UI
Gargron Jun 6, 2023
8c26d49
Merge commit '16dd3f08c1e5396d5f9ff3f13417901bc4e4b8b9' into glitch-s…
ClearlyClaire Jun 10, 2023
34efd1a
Switch to using a `common` runtime chunk rather than `locales`
ClearlyClaire Jun 10, 2023
42a0898
Merge commit '3a2a15c6ea4d4603469861ed9be09da12a122e45' into glitch-s…
ClearlyClaire Jun 10, 2023
20718a8
Fix some translation strings inconsistencies
ClearlyClaire Jun 10, 2023
af97a6a
Merge pull request #2246 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 11, 2023
fefdc32
[Glitch] Change "direct message" nomenclature to "private mention" in…
Plastikmensch Jun 11, 2023
65cbcce
Merge commit '39110d1d0af5e3d9cf452ae47496a52797249fd0' into glitch-s…
ClearlyClaire Jun 18, 2023
f815bd5
[Glitch] Change "bot" label to "automated"
Gargron Jun 11, 2023
cdec45e
[Glitch] Rewrite <LoadPending /> as FC and TS
alfe Jun 11, 2023
0a212cf
[Glitch] Add missing report category translation
renchap Jun 13, 2023
9bf6325
[Glitch] Rewrite `<LoadingIndicator/>` as FC and TS (#25364)
alfe Jun 13, 2023
b1b95dd
[Glitch] Rewrite `emoji_mart_data_light` as TS
taichi221228 Jun 13, 2023
d795c2c
[Glitch] Fix CAPTCHA page not following design pattern of sign-up flow
Gargron Jun 13, 2023
6c99479
Merge commit '9e245d147bcb2c72cc552ff8c276a1c34e2f686d' into glitch-s…
ClearlyClaire Jun 18, 2023
e597818
Fix glitch-soc-only test being broken by refactor of the surrounding …
ClearlyClaire Jun 18, 2023
3b04e39
[Glitch] Fix non-interactive upload container being given a `button` …
ClearlyClaire Jun 16, 2023
f3c2035
Merge pull request #2251 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 18, 2023
dc68306
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Jun 18, 2023
4ddb736
Merge pull request #2252 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 18, 2023
eba3411
Re-allow title attribute in <abbr> (#2254)
Plastikmensch Jun 19, 2023
178e151
Merge commit '55e7c08a83547424024bac311d5459cb82cf6dae' into glitch-s…
ClearlyClaire Jun 25, 2023
c71fc42
[Glitch] Rewrite `<AutosuggestHashtag />` as FC and TS
taichi221228 Jun 19, 2023
6fe345c
[Glitch] Change emoji picker icon
iparr Jun 21, 2023
222713a
[Glitch] Fix custom signup URL may not loaded
mgmn Jun 22, 2023
7d160d2
[Glitch] Fix j/k keyboard shortcuts on some status lists
ClearlyClaire Jun 22, 2023
6fb3425
[Glitch] Add onboarding prompt when home feed too slow in web UI
Gargron Jun 22, 2023
5def74a
[Glitch] Remove unique accounts condition from Home onboarding prompt
ClearlyClaire Jun 23, 2023
b052a7e
Merge pull request #2256 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 25, 2023
80a5c16
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Jun 27, 2023
2f99637
[Glitch] Fix search not being easily findable on smaller screens in w…
Gargron Jun 26, 2023
4faa4eb
[Glitch] Fix onboarding prompt flashing while home feed is loading in…
Gargron Jun 26, 2023
c43cfd2
[Glitch] Improve dismissable banner buttons when they dont fit on 1 line
renchap Jun 26, 2023
8b4df95
Merge pull request #2258 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jun 27, 2023
155fc45
Fixing an issue with a missing argument (#2261)
viviicat Jul 1, 2023
44e98a2
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Jul 2, 2023
b75aa6b
[Glitch] Remove the search button from UI header when logged out
ClearlyClaire Jun 28, 2023
2ba4773
[Glitch] Fix onboarding prompt being displayed because of disconnecti…
ClearlyClaire Jun 30, 2023
eb1cb82
[Glitch] Use an Immutable Record as the root state
renchap Jun 30, 2023
7cc2c1b
[Glitch] Change local and federated timelines to be in a single fireh…
ClearlyClaire Jul 1, 2023
c49e339
[Glitch] Change dropdown icon above compose form from ellipsis to bar…
Gargron Jul 2, 2023
587ddc2
[Glitch] Prevent duplicate concurrent calls of `/api/*/instance` in w…
mgmn Jul 2, 2023
9f3c3f5
Show local-only posts in “All” by default, and add back option to tog…
ClearlyClaire Jul 2, 2023
ed567c9
Merge pull request #2263 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 2, 2023
b422b5e
Fix showing local only toots in "All" (#2265)
Plastikmensch Jul 3, 2023
ed15893
Add regex filter back to firehose (#2266)
Plastikmensch Jul 3, 2023
5de49e7
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Jul 5, 2023
0a52716
[Glitch] Change labels of live feeds tabs in web UI
Gargron Jul 3, 2023
ac74374
[Glitch] Add at-symbol prepended to mention span title
forsamori Jul 3, 2023
c624680
[Glitch] Fix local live feeds does not expand
mgmn Jul 3, 2023
b3f2093
[Glitch] Add canonical link tags in web UI
Gargron Jul 5, 2023
a117c95
[Glitch] Add button to see results for polls in web UI
Gargron Jul 5, 2023
4719d88
[Glitch] Change button colors to increase hover/focus contrast and co…
Jul 3, 2023
c0fa85b
[Glitch] Fix regression of icon button colors in web UI
Gargron Jul 3, 2023
30ad9d9
Merge pull request #2272 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 5, 2023
ff7aae3
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Jul 6, 2023
c25ba31
Merge pull request #2274 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 6, 2023
513078d
Fix incorrect secondary button size (#2276)
ClearlyClaire Jul 7, 2023
b9aa228
Merge branch 'main' into glitch-soc/merge-upstream
ClearlyClaire Jul 7, 2023
a40529f
Merge pull request #2279 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 7, 2023
67055b0
Fix import order inconsistencies (#2289)
ClearlyClaire Jul 12, 2023
7e54a30
Merge commit '4534498a8e43f59980ee56e9938efab8580c78c8' into glitch-s…
ClearlyClaire Jul 12, 2023
0bfa4a9
[Glitch] Fix translate button position
renchap Jul 7, 2023
55ea791
[Glitch] Convert `<DismissableBanner>` to Typescript
renchap Jul 8, 2023
5b9e431
[Glitch] Rewrite `<ShortNumber />` as FC and TS
alfe Jul 8, 2023
9e311f9
[Glitch] simplify counters
takayamaki Jul 8, 2023
82eebd0
Merge commit '41a505513fb36f7c28c8d8a4270d5ee192169462' into glitch-s…
ClearlyClaire Jul 12, 2023
c250b37
[Glitch] Fix explore page being inaccessible when opted-out of trends…
Gargron Jul 8, 2023
dd0002e
Merge commit '610cf6c3713e414995ea1a57110db400ccb88dd2' into glitch-s…
ClearlyClaire Jul 12, 2023
71f8c45
[Glitch] Change label and design of sensitive and unavailable media i…
Gargron Jul 8, 2023
075887e
Merge commit 'ea10febd257b5b729a50aeb3218389763f5f4b97' into glitch-s…
ClearlyClaire Jul 12, 2023
c699dc0
[Glitch] Add `forward_to_domains` parameter to `POST /api/v1/reports`
ClearlyClaire Jul 10, 2023
c3af91c
[Glitch] Fix filters not applying to explore tab
ClearlyClaire Jul 10, 2023
15f6fa8
[Glitch] fix buttons showing inconsistent styles
Jul 11, 2023
2aadebc
Merge commit '8e0fd2d619dac93c193da6a762564244e5622498' into glitch-s…
ClearlyClaire Jul 12, 2023
ec95f62
[Glitch] Fix sounds not being loaded from assets host
Signez Jul 12, 2023
9ae60f8
Merge commit '82e477b184b5666fff7fb55933dce22ca2925db8' into glitch-s…
ClearlyClaire Jul 12, 2023
c2bfbf5
Fix various CSS issues
ClearlyClaire Jul 12, 2023
bb98d97
Merge pull request #2291 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 12, 2023
2d09653
Merge commit '0d7340380cf3094335d8bc67f7c465e2b154566a' into glitch-s…
ClearlyClaire Jul 13, 2023
95a1fde
Merge commit '73b64b89170cb72854a1709186c62ce31f476889' into glitch-s…
ClearlyClaire Jul 13, 2023
0870c7c
[Glitch] Upgrade to Prettier 3
ClearlyClaire Jul 13, 2023
177497b
Merge commit '3ed9b55cb3987e3d32c56f857cb6903ca8bec3d4' into glitch-s…
ClearlyClaire Jul 13, 2023
447ab7a
[Glitch] Convert Home timeline components to Typescript
renchap Jul 13, 2023
25571b1
Merge commit '5a3f174d561cbdc79a597cd2b9502ed058d372da' into glitch-s…
ClearlyClaire Jul 13, 2023
3be4f42
Fix incorrect types in DisplayName
ClearlyClaire Jul 13, 2023
18f5556
[Glitch] Upgrade to `typescript-eslint` v6
renchap Jul 13, 2023
98e5589
[Glitch] Fix follow link style in embeds
ClearlyClaire Jul 13, 2023
e271d01
Fix home timeline's regexp field
ClearlyClaire Jul 13, 2023
3952d17
Merge pull request #2296 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Jul 13, 2023
470ded3
Fix notifications not loading when slow mode active (#2292)
Plastikmensch Jul 13, 2023
a004718
Add eslint rule to forbid vanilla imports in glitch (#2293)
Plastikmensch Jul 13, 2023
d9adda1
Merge commit '71db616fed817893d0efa363f0e7dbfcf23866a0' into glitch-s…
ClearlyClaire Jul 13, 2023
a98b5c2
[Glitch] Fix embed dropdown menu item for unauthenticated users
ClearlyClaire Jul 13, 2023
8b22aa1
[Glitch] Fix dropdowns being disabled for logged out users in web UI
Gargron Jul 8, 2023
aa892ab
Remove layout glitch-soc settings
ClearlyClaire Jul 13, 2023
140e394
[Glitch] Change links in multi-column mode so tabs are open in single…
Signez Jul 13, 2023
add2d2b
[Glitch] Change “About” and “Privacy policy” links to open in a new t…
ClearlyClaire Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
250 changes: 238 additions & 12 deletions .env.production.sample
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,37 @@
# ----------
LOCAL_DOMAIN=example.com

# Use this only if you need to run mastodon on a different domain than the one used for federation.
# You can read more about this option on https://docs.joinmastodon.org/admin/config/#web-domain
# DO *NOT* USE THIS UNLESS YOU KNOW *EXACTLY* WHAT YOU ARE DOING.
# WEB_DOMAIN=mastodon.example.com

# Use this if you want to have several aliases handler@example1.com
# handler@example2.com etc. for the same user. LOCAL_DOMAIN should not
# be added. Comma separated values
# ALTERNATE_DOMAINS=example1.com,example2.com

# Use HTTP proxy for outgoing request (optional)
# http_proxy=http://gateway.local:8118
# Access control for hidden service.
# ALLOW_ACCESS_TO_HIDDEN_SERVICE=true

# Authorized fetch mode (optional)
# Require remote servers to authentify when fetching toots, see
# https://docs.joinmastodon.org/admin/config/#authorized_fetch
# AUTHORIZED_FETCH=true

# Limited federation mode (optional)
# Only allow federation with specific domains, see
# https://docs.joinmastodon.org/admin/config/#whitelist_mode
# LIMITED_FEDERATION_MODE=true

# Redis
# -----
REDIS_HOST=localhost
REDIS_PORT=6379


# PostgreSQL
# ----------
DB_HOST=/var/run/postgresql
Expand All @@ -29,29 +55,52 @@ DB_NAME=mastodon_production
DB_PASS=
DB_PORT=5432


# Elasticsearch (optional)
# ------------------------
ES_ENABLED=true
ES_HOST=localhost
ES_PORT=9200
#ES_ENABLED=true
#ES_HOST=localhost
#ES_PORT=9200
# Authentication for ES (optional)
ES_USER=elastic
ES_PASS=password
#ES_USER=elastic
#ES_PASS=password


# Secrets
# -------
# Make sure to use `rake secret` to generate secrets
# Generate each with the `RAILS_ENV=production bundle exec rake secret` task (`docker-compose run --rm web bundle exec rake secret` if you use docker compose)
# -------
SECRET_KEY_BASE=
OTP_SECRET=


# Web Push
# --------
# Generate with `rake mastodon:webpush:generate_vapid_key`
# Generate with `rake mastodon:webpush:generate_vapid_key` (first is the private key, second is the public one)
# You should only generate this once per instance. If you later decide to change it, all push subscription will
# be invalidated, requiring the users to access the website again to resubscribe.
# --------
VAPID_PRIVATE_KEY=
VAPID_PUBLIC_KEY=


# Registrations
# -------------

# Single user mode will disable registrations and redirect frontpage to the first profile
# SINGLE_USER_MODE=true

# Prevent registrations with following e-mail domains
# EMAIL_DOMAIN_DENYLIST=example1.com|example2.de|etc

# Only allow registrations with the following e-mail domains
# EMAIL_DOMAIN_ALLOWLIST=example1.com|example2.de|etc

#TODO move this
# Optionally change default language
# DEFAULT_LOCALE=de


# Sending mail
# ------------
SMTP_SERVER=
Expand All @@ -60,13 +109,190 @@ SMTP_LOGIN=
SMTP_PASSWORD=
SMTP_FROM_ADDRESS=notifications@example.com


# File storage (optional)
# -----------------------
S3_ENABLED=true
S3_BUCKET=files.example.com
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
S3_ALIAS_HOST=files.example.com
# The attachment host must allow cross origin request from WEB_DOMAIN or
# LOCAL_DOMAIN if WEB_DOMAIN is not set. For example, the server may have the
# following header field:
# Access-Control-Allow-Origin: https://192.168.1.123:9000/
# -----------------------
#S3_ENABLED=true
#S3_BUCKET=files.example.com
#AWS_ACCESS_KEY_ID=
#AWS_SECRET_ACCESS_KEY=
#S3_ALIAS_HOST=files.example.com

# Swift (optional)
# The attachment host must allow cross origin request - see the description
# above.
# SWIFT_ENABLED=true
# SWIFT_USERNAME=
# For Keystone V3, the value for SWIFT_TENANT should be the project name
# SWIFT_TENANT=
# SWIFT_PASSWORD=
# Some OpenStack V3 providers require PROJECT_ID (optional)
# SWIFT_PROJECT_ID=
# Keystone V2 and V3 URLs are supported. Use a V3 URL if possible to avoid
# issues with token rate-limiting during high load.
# SWIFT_AUTH_URL=
# SWIFT_CONTAINER=
# SWIFT_OBJECT_URL=
# SWIFT_REGION=
# Defaults to 'default'
# SWIFT_DOMAIN_NAME=
# Defaults to 60 seconds. Set to 0 to disable
# SWIFT_CACHE_TTL=

# Optional asset host for multi-server setups
# The asset host must allow cross origin request from WEB_DOMAIN or LOCAL_DOMAIN
# if WEB_DOMAIN is not set. For example, the server may have the
# following header field:
# Access-Control-Allow-Origin: https://example.com/
# CDN_HOST=https://assets.example.com

# Optional list of hosts that are allowed to serve media for your instance
# This is useful if you include external media in your custom CSS or about page,
# or if your data storage provider makes use of redirects to other domains.
# EXTRA_DATA_HOSTS=https://data.example1.com|https://data.example2.com

# Optional alias for S3 (e.g. to serve files on a custom domain, possibly using Cloudfront or Cloudflare)
# S3_ALIAS_HOST=

# Streaming API integration
# STREAMING_API_BASE_URL=


# External authentication (optional)
# ----------------------------------
# LDAP authentication (optional)
# LDAP_ENABLED=true
# LDAP_HOST=localhost
# LDAP_PORT=389
# LDAP_METHOD=simple_tls
# LDAP_BASE=
# LDAP_BIND_DN=
# LDAP_PASSWORD=
# LDAP_UID=cn
# LDAP_MAIL=mail
# LDAP_SEARCH_FILTER=(|(%{uid}=%{email})(%{mail}=%{email}))
# LDAP_UID_CONVERSION_ENABLED=true
# LDAP_UID_CONVERSION_SEARCH=., -
# LDAP_UID_CONVERSION_REPLACE=_

# PAM authentication (optional)
# PAM authentication uses for the email generation the "email" pam variable
# and optional as fallback PAM_DEFAULT_SUFFIX
# The pam environment variable "email" is provided by:
# https://github.com/devkral/pam_email_extractor
# PAM_ENABLED=true
# Fallback email domain for email address generation (LOCAL_DOMAIN by default)
# PAM_EMAIL_DOMAIN=example.com
# Name of the pam service (pam "auth" section is evaluated)
# PAM_DEFAULT_SERVICE=rpam
# Name of the pam service used for checking if an user can register (pam "account" section is evaluated) (nil (disabled) by default)
# PAM_CONTROLLED_SERVICE=rpam

# Global OAuth settings (optional) :
# If you have only one strategy, you may want to enable this
# OAUTH_REDIRECT_AT_SIGN_IN=true

# Optional CAS authentication (cf. omniauth-cas) :
# CAS_ENABLED=true
# CAS_URL=https://sso.myserver.com/
# CAS_HOST=sso.myserver.com/
# CAS_PORT=443
# CAS_SSL=true
# CAS_VALIDATE_URL=
# CAS_CALLBACK_URL=
# CAS_LOGOUT_URL=
# CAS_LOGIN_URL=
# CAS_UID_FIELD='user'
# CAS_CA_PATH=
# CAS_DISABLE_SSL_VERIFICATION=false
# CAS_UID_KEY='user'
# CAS_NAME_KEY='name'
# CAS_EMAIL_KEY='email'
# CAS_NICKNAME_KEY='nickname'
# CAS_FIRST_NAME_KEY='firstname'
# CAS_LAST_NAME_KEY='lastname'
# CAS_LOCATION_KEY='location'
# CAS_IMAGE_KEY='image'
# CAS_PHONE_KEY='phone'

# Optional SAML authentication (cf. omniauth-saml)
# SAML_ENABLED=true
# SAML_ACS_URL=http://localhost:3000/auth/auth/saml/callback
# SAML_ISSUER=https://example.com
# SAML_IDP_SSO_TARGET_URL=https://idp.testshib.org/idp/profile/SAML2/Redirect/SSO
# SAML_IDP_CERT=
# SAML_IDP_CERT_FINGERPRINT=
# SAML_NAME_IDENTIFIER_FORMAT=
# SAML_CERT=
# SAML_PRIVATE_KEY=
# SAML_SECURITY_WANT_ASSERTION_SIGNED=true
# SAML_SECURITY_WANT_ASSERTION_ENCRYPTED=true
# SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true
# SAML_ATTRIBUTES_STATEMENTS_UID="urn:oid:0.9.2342.19200300.100.1.1"
# SAML_ATTRIBUTES_STATEMENTS_EMAIL="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
# SAML_ATTRIBUTES_STATEMENTS_FULL_NAME="urn:oid:2.16.840.1.113730.3.1.241"
# SAML_ATTRIBUTES_STATEMENTS_FIRST_NAME="urn:oid:2.5.4.42"
# SAML_ATTRIBUTES_STATEMENTS_LAST_NAME="urn:oid:2.5.4.4"
# SAML_UID_ATTRIBUTE="urn:oid:0.9.2342.19200300.100.1.1"
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED=
# SAML_ATTRIBUTES_STATEMENTS_VERIFIED_EMAIL=


# Custom settings
# ---------------
# Various ways to customize Mastodon's behavior
# ---------------

# Maximum allowed character count
MAX_TOOT_CHARS=500

# Maximum number of pinned posts
MAX_PINNED_TOOTS=5

# Maximum allowed bio characters
MAX_BIO_CHARS=500

# Maximim number of profile fields allowed
MAX_PROFILE_FIELDS=4

# Maximum allowed display name characters
MAX_DISPLAY_NAME_CHARS=30

# Maximum allowed poll options
MAX_POLL_OPTIONS=5

# Maximum allowed poll option characters
MAX_POLL_OPTION_CHARS=100

# Maximum image and video/audio upload sizes
# Units are in bytes
# 1048576 bytes equals 1 megabyte
# MAX_IMAGE_SIZE=8388608
# MAX_VIDEO_SIZE=41943040

# Maximum search results to display
# Only relevant when elasticsearch is installed
# MAX_SEARCH_RESULTS=20

# Maximum hashtags to display
# Customize the number of hashtags shown in 'Explore'
# MAX_TRENDING_TAGS=10

# Maximum custom emoji file sizes
# If undefined or smaller than MAX_EMOJI_SIZE, the value
# of MAX_EMOJI_SIZE will be used for MAX_REMOTE_EMOJI_SIZE
# Units are in bytes
# MAX_EMOJI_SIZE=262144
# MAX_REMOTE_EMOJI_SIZE=262144

# Optional hCaptcha support
# HCAPTCHA_SECRET_KEY=
# HCAPTCHA_SITE_KEY=

# IP and session retention
# -----------------------
Expand Down
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,28 @@ module.exports = {
group: 'internal',
position: 'after',
},
{
pattern: '{flavours/glitch-soc/**}',
group: 'internal',
position: 'after',
},
],
pathGroupsExcludedImportTypes: [],
},
],

// Forbid imports from vanilla in glitch flavour
'import/no-restricted-paths': [
'error',
{
zones: [{
target: 'app/javascript/flavours/glitch/',
from: 'app/javascript/mastodon/',
message: 'Import from /flavours/glitch/ instead'
}]
}
],

'promise/always-return': 'off',
'promise/catch-or-return': [
'error',
Expand Down
26 changes: 5 additions & 21 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- 'main'
tags:
- '*'
pull_request:
paths:
- .github/workflows/build-image.yml
Expand All @@ -28,36 +26,22 @@ jobs:
- uses: docker/setup-qemu-action@v2
- uses: docker/setup-buildx-action@v2

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
if: github.repository == 'mastodon/mastodon' && github.event_name != 'pull_request'

- name: Log in to the Github Container registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
if: github.repository == 'mastodon/mastodon' && github.event_name != 'pull_request'
if: github.event_name != 'pull_request'

- uses: docker/metadata-action@v4
id: meta
with:
images: |
tootsuite/mastodon
ghcr.io/mastodon/mastodon
# Only tag with latest when ran against the latest stable branch
# This needs to be updated after each minor version release
flavor: |
latest=${{ startsWith(github.ref, 'refs/tags/v4.1.') }}
images: ghcr.io/${{ github.repository_owner }}/mastodon
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=edge,branch=main
type=pep440,pattern={{raw}}
type=pep440,pattern=v{{major}}.{{minor}}
type=ref,event=pr
type=sha,prefix=,format=long

- name: Generate version suffix
id: version_vars
Expand All @@ -72,7 +56,7 @@ jobs:
platforms: linux/amd64,linux/arm64
provenance: false
builder: ${{ steps.buildx.outputs.name }}
push: ${{ github.repository == 'mastodon/mastodon' && github.event_name != 'pull_request' }}
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down
Empty file added .gitmodules
Empty file.
13 changes: 13 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,16 @@ app/javascript/styles/mastodon/reset.scss

# Ignore the generated AUTHORS.md
AUTHORS.md

# Ignore glitch-soc emoji map file
/app/javascript/flavours/glitch/features/emoji/emoji_map.json

# Ignore glitch-soc locale files
/app/javascript/flavours/glitch/locales
/config/locales-glitch

# Ignore glitch-soc vendored CSS reset
app/javascript/flavours/glitch/styles/reset.scss

# Ignore win95 theme
app/javascript/styles/win95.scss
Loading
Loading