Claire
b13b71d1f5
Greatly simplify history management code ( #2230 )
...
Fixes #2220
This drops the ability to shift+click on “Back” to get back to a pinned
column, but that was inconsistent, broken, and undocumented.
This also brings us slightly closer to upstream.
2 years ago
Claire
56ac8eb6ea
[Glitch] Update style of captcha confirmation page to match sign-up form ( #2226 )
2 years ago
fusagiko / takayamaki
a19c1671af
Rewrite actions/modal and reducers/modal with typescript ( #24833 )
2 years ago
たいち ひ
ae0341c203
Fix export style of `<LoadGap />` based on `<Domain />` ( #25128 )
2 years ago
Renaud Chaput
169f141c4c
Update inconsistent `defaultMessage` ( #25114 )
2 years ago
Eugen Rochko
97235baa4f
Change share action from being in action bar to being in dropdown in web UI ( #25105 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
9be9f4f5e2
Fix `null` signUp URL handling from #25014 ( #25108 )
2 years ago
たいち ひ
6077f3e24c
Rewrite `<LoadGap />` as FC and TS ( #25042 )
2 years ago
Renaud Chaput
7b5a274836
Enforce import order with ESLint ( #25096 )
2 years ago
Claire
4d631fcfb7
Add support for custom sign-up URLs ( #25014 )
2 years ago
Claire
cbcf32777e
Fix video player offering to expand in a lightbox when it's in an iframe ( #25067 )
2 years ago
Renaud Chaput
abbc6dfcba
Use JSX syntax for Fragments ( #25093 )
2 years ago
Renaud Chaput
3b0c3e94e0
Use the new JSX transform ( #25064 )
2 years ago
たいち ひ
9cfab99590
Rewrite `<TimelineHint />` as FC and TS ( #25091 )
2 years ago
たいち ひ
0b87919abf
Rewrite `<Skeleton/>` as FC and TS ( #25055 )
2 years ago
Claire
18361ae0c5
Allow scripts in post embed previews ( #25071 )
2 years ago
Renaud Chaput
ab029328cf
Upgrade to React 18 ( #24916 )
2 years ago
Nick Schonning
26cdb19dc6
Remove duplicate JPG type ( #25054 )
2 years ago
Nick Schonning
c4f2b1e86a
Fix minor typos in comments and spec names ( #21831 )
2 years ago
Claire
0206081e40
Fix AvatarComposite and DisplayName referencing undefined props ( #2222 )
2 years ago
Claire
844d8e101e
Add hCaptcha support ( #25019 )
2 years ago
Claire
86961b5b7b
Add polling and automatic redirection to `/start` on email confirmation ( #25013 )
2 years ago
Claire
d2eef78d1c
Fix being unable to load past a full page of filtered posts in Home timeline ( #24930 )
2 years ago
Claire
74ff0cd2d5
Change composer highlight border size to be more noticeable ( #25010 )
2 years ago
Steven Munn
da2d3cc795
Fix spelling of "Lets" on the onboarding page after clicking the confirmation email ( #24959 )
...
Co-authored-by: Steven Munn <stevenjmunn@gmail.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
778fd4d29b
Fix UI crash in moderation interface when opening the media modal ( #24816 )
2 years ago
Emelia Smith
db07cfb150
Fix Onboarding Errors ( #24883 )
2 years ago
Eugen Rochko
d05ff56746
Change "Sign in" to "Login" ( #24942 )
2 years ago
Claire
de95d0ca8f
Fix videos being improperly positioned on safari ( #24943 )
2 years ago
Renaud Chaput
6a3211876c
Add stricter ESLint rules for Typescript files ( #24926 )
2 years ago
Nick Schonning
b0dd260a7a
Enable ESLint react/no-deprecated ( #24471 )
2 years ago
たいち ひ
2f09bbdfe0
Rewrite `logo.tsx` as FC ( #24909 )
2 years ago
Renaud Chaput
c9dfc55b22
Disable RTK safety middlewares ( #24936 )
2 years ago
Claire
abb99eca95
Remove our copy of image.d.ts as tsconfig already uses upstream's
2 years ago
Claire
e63a08bafd
Run prettier on Typescript files
...
Port 0886856bd2
to glitch-soc
2 years ago
Claire
710151baf4
Merge commit '0886856bd2adecedcad6fad9dcb86ed8069c46c0' into glitch-soc/merge-upstream
2 years ago
Renaud Chaput
487715a3e3
[Glitch] Type Redux store and middleware
...
Port d67de22458
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
b21d2eaeb6
[Glitch] Remove unused iOS agent sniffing function
...
Port d57be2731c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
e8415aa727
[Glitch] Rework polyfills loading
...
Port b640f89777
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
c5fb52eb23
[Glitch] Add more detailed type annotation for Account
...
Port a2e9b9d87d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
7f078e41c0
Merge commit 'd67de22458e599447c0d5c85ecbd6fb5aef9b4f4' into glitch-soc/merge-upstream
...
Conflicts:
- `.github/dependabot.yml`:
We deleted it.
Kept it removed.
- `app/javascript/packs/public.jsx`:
Upstream changed an import, we have slightly different ones.
Ported upstream changes.
2 years ago
fusagiko / takayamaki
a150bb4f2e
Add type annotation for DisplayName component ( #24752 )
2 years ago
fusagiko / takayamaki
cbca954632
Rename Image component to ServerHeroImage ( #24894 )
2 years ago
Claire
81b01c961b
Disable broken onboarding code
2 years ago
Renaud Chaput
d0545c950c
[Glitch] Enforce stricter rules for Typescript files
...
Port 85b3823e66
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
a7d51b92f3
[Glitch] Enforce React Rules of Hooks with eslint
...
Port b785500809
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
4e88d37759
[Glitch] Dont use CommonJS (`require`, `module.exports`) anywhere
...
Port 45146e3f3b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
5c4a012ac5
Merge commit '85b3823e6638719511f705ecdd7e5ba09248cf2f' into glitch-soc/merge-upstream
...
Conflicts:
- `app/javascript/packs/admin.jsx`:
Upstream reworked imports, but we had many changes.
Reworked imports as upstream did.
- `app/javascript/packs/public.jsx`:
Upstream reworked imports, but we had many changes.
Reworked imports as upstream did.
2 years ago
たいち ひ
8a2bb3fb99
[Glitch] Add TypeScript support for `mastodon` alias and image imports
...
Port 5f709b1601
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
43b38dc9e6
Copy hooks/useHovering.ts to glitch-soc
2 years ago
Claire
a0047223a5
Fix IconButton prop types in glitch-soc
2 years ago
Renaud Chaput
d8cae2752c
[Glitch] Mark `wheel` events on scrollable list as passive
...
Port b8d44c55fd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
fe8412bcf4
[Glitch] Rewrite Domain component as function component
...
Port 4ab18dee50
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
7630b904ee
[Glitch] Use LayoutType from is_mobile in actions/app
...
Port 01caf92d80
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
たいち ひ
bf45760e0b
[Glitch] Rewrite RadioButton component as FC
...
Port 13a16f3054
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
たいち ひ
3c62d50502
[Glitch] Rewrite Image component as function component
...
Port c1ccb55a59
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
たいち ひ
77edfc33ba
[Glitch] Rewrite <NotSignedInIndicator /> as FC
...
Port 23a97effdb
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
63c706d26f
Merge commit 'b8d44c55fd9264cdacf66c32541b4343e164bbfb' into glitch-soc/merge-upstream
...
Conflicts:
- `tsconfig.json`:
Upstream changed the config to properly process imports.
Glitch-soc had previously already done so.
Changed the config to better match upstream.
2 years ago
Nick Schonning
0886856bd2
Use Prettier for ESLint formatting TypeScript ( #23631 )
2 years ago
Renaud Chaput
d67de22458
Type Redux store and middleware ( #24843 )
2 years ago
Claire
da803512c9
Fix javascript on moderation interface ( #24933 )
2 years ago
Renaud Chaput
d57be2731c
Remove unused iOS agent sniffing function ( #24931 )
2 years ago
Renaud Chaput
b640f89777
Rework polyfills loading ( #24907 )
2 years ago
fusagiko / takayamaki
a2e9b9d87d
Add more detailed type annotation for Account ( #24815 )
2 years ago
Renaud Chaput
85b3823e66
Enforce stricter rules for Typescript files ( #24910 )
2 years ago
Renaud Chaput
b785500809
Enforce React Rules of Hooks with eslint ( #24911 )
2 years ago
Renaud Chaput
45146e3f3b
Dont use CommonJS (`require`, `module.exports`) anywhere ( #24913 )
2 years ago
Renaud Chaput
b8d44c55fd
Mark `wheel` events on scrollable list as passive ( #24914 )
2 years ago
Renaud Chaput
2354041cb7
[Glitch] Fixes build errors from some previous TS-related commits
...
Port e1985e14f6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
31e4da41ee
[Glitch] Rewrite actions/app.ts and reducers/missed_updates.ts with createAction
...
Port 9ed91c444e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
2c5141e5ed
[Glitch] Remove MastodonMap TS type
...
Port 7bc13c1ca3
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
ac97d77cb3
[Glitch] Add type annotation for some js files
...
Port 6fa4054a5d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
902b2175df
Copy Typescript type definitions to glitch-soc
2 years ago
Claire
9775d02a15
[Glitch] Fix incorrect import of redux store
...
Port d76495d080
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
5af7007906
[Glitch] use configureStore of redux-toolkit instead of createStore of redux
...
Port 69bd3a86f3
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
c10a2036bc
[Glitch] Add ALT badges to media that has alternative text in web UI
...
Port d6808a561e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
62f5d29c25
[Glitch] Change media elements to use aspect-ratio rather than compute height themselves
...
Port 8c43856691
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
319ff9bd71
[Glitch] Fix incorrect box shadow on avatar in thread view
...
Port 52ed627d9e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
e225a49255
[Glitch] Add type annotation for Blurhash component
...
Port fc4bb5ed66
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
cccf0bdace
[Glitch] Add type annotation for IconButton component
...
Port bee49de3db
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
348aed03cf
Merge commit '0d919f27beb6e4e7a562a6eed8f354415b5c217e' into glitch-soc/merge-upstream
...
Conflicts:
- `.github/dependabot.yml`:
Upstream made changes, but we had removed it.
Discarded upstream changes.
- `.rubocop_todo.yml`:
Upstream regenerated the file, we had some glitch-soc-specific ignores.
- `app/models/account_statuses_filter.rb`:
Minor upstream code style change where glitch-soc had slightly different code
due to handling of local-only posts.
Updated to match upstream's code style.
- `app/models/status.rb`:
Upstream moved ActiveRecord callback definitions, glitch-soc had an extra one.
Moved the definitions as upstream did.
- `app/services/backup_service.rb`:
Upstream rewrote a lot of the backup service, glitch-soc had changes because
of exporting local-only posts.
Took upstream changes and added back code to deal with local-only posts.
- `config/routes.rb`:
Upstream split the file into different files, while glitch-soc had a few
extra routes.
Extra routes added to `config/routes/settings.rb`, `config/routes/api.rb`
and `config/routes/admin.rb`
- `db/schema.rb`:
Upstream has new migrations, while glitch-soc had an extra migration.
Updated the expected serial number to match upstream's.
- `lib/mastodon/version.rb`:
Upstream added support to set version tags from environment variables, while
glitch-soc has an extra `+glitch` tag.
Changed the code to support upstream's feature but prepending a `+glitch`.
- `spec/lib/activitypub/activity/create_spec.rb`:
Minor code style change upstream, while glitch-soc has extra tests due to
`directMessage` handling.
Applied upstream's changes while keeping glitch-soc's extra tests.
- `spec/models/concerns/account_interactions_spec.rb`:
Minor code style change upstream, while glitch-soc has extra tests.
Applied upstream's changes while keeping glitch-soc's extra tests.
2 years ago
Claire
2847b0423b
Fix glitch-soc's thread line styling ( #2214 )
...
Thread lines were misaligned in glitch-soc because we have less padding and
larger avatar sizes.
2 years ago
fusagiko / takayamaki
dd098625f0
[Glitch] Add type annotation for RelativeTimestamp component
...
Port 90e4ab9f8f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
c17c65aa57
[Glitch] Rewrite Icon and IconWithBadge with typescript
...
Port 27a750cc04
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
5bfff5807a
[Glitch] Fix icons having an image role
...
Port c7924acf16
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
acc7cdc664
[Glitch] Fix audio player width in thread view
...
Port 9cf043f63a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning
55561098c4
[Glitch] Add eslint-plugin-jsdoc
...
Port 0224c3c0d9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
a9089a2458
[Glitch] Fix media description not being cleared
...
Port 6ccea199ca
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
2aaf3528ca
Merge commit 'd548faf69321260ab4c2a16759ca77773189126a' into glitch-soc/merge-upstream
...
Conflicts:
- `app/javascript/styles/mastodon/forms.scss`:
Conflict because we ran eslint autofix on upstream files.
- `config/initializers/content_security_policy.rb`:
Code style changes but we have a different version.
Kept our version.
- `streaming/index.js`:
Upstream fixed a typo close to glitch-soc-only code.
Applied upstream's changes.
2 years ago
Claire
c90f09d36f
Fix more JS linting issues ( #2212 )
...
* Fix uses of intl.formatMessages without default messages
* Ignore lint issue for ColumnLink button
2 years ago
fusagiko / takayamaki
4ab18dee50
Rewrite Domain component as function component ( #24896 )
2 years ago
fusagiko / takayamaki
01caf92d80
Use LayoutType from is_mobile in actions/app ( #24863 )
2 years ago
Claire
db240323f6
Fix some more JS linting issues ( #2211 )
...
* Minor refactor and linting fixup in `flavours/glitch/actions/accounts.js`
This is some added boilerplate but it's much more consistent with the remaining
of the code, and avoids the linting issue.
* Fix missing /privacy-policy link in DM warning because of wrongly-named import
* Fix unnecessary import
* Fix regexp in flavours/glitch/utils/hashtag.js
2 years ago
たいち ひ
5f709b1601
Add TypeScript support for `mastodon` alias and image imports ( #24895 )
2 years ago
たいち ひ
13a16f3054
Rewrite RadioButton component as FC ( #24897 )
2 years ago
たいち ひ
c1ccb55a59
Rewrite Image component as function component ( #24893 )
2 years ago
たいち ひ
23a97effdb
Rewrite <NotSignedInIndicator /> as FC ( #24903 )
2 years ago
たいち ひ
daecca565e
Rewrite <Check /> as FC ( #24901 )
2 years ago
Claire
12e8bcac9d
Fix some more Javascript linting issues and discrepancies with upstream ( #2209 )
...
* Fix typo in flavours/glitch/features/video/index.js
* Fix various linting issues and discrepancies with upstream
2 years ago
Claire
43c40b5df8
Fix thread lines not being properly updated when new posts are received ( #2210 )
2 years ago