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
dependabot[bot]
c6d818d02f
Bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.5 ( #24922 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
dependabot[bot]
908c5598e0
Bump @typescript-eslint/parser from 5.59.2 to 5.59.5 ( #24921 )
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
eggplants
cf74d04f17
Fix wrong documentation link ( #24924 )
2 years ago
Renaud Chaput
b640f89777
Rework polyfills loading ( #24907 )
2 years ago
Claire
820ad34fe2
Merge pull request #2215 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2 years ago
Daniel M Brasil
f7b92ed93d
Add ability to block sign-ups from IP using the CLI ( #24870 )
2 years ago
Daniel M Brasil
1b1b940202
Fix uncaught `ActiveRecord::StatementInvalid` in Mastodon::IpBlocksCLI ( #24861 )
2 years ago
Renaud Chaput
33fff17ebb
Upgrade `uuid` to 9.0.0 ( #24917 )
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
cabc9e5979
Make Webpack fail on failed imports ( #24908 )
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
da25a0bd04
Fix rubocop issues in glitch-soc-specific code
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
Claire
64240e5dcd
Merge pull request #2213 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2 years ago
Eugen Rochko
b4845bcfaa
[Glitch] Fix n+1 query in settings migration
...
Port d548faf693
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
2946b30779
[Glitch] Fix transaction around settings migration
...
Port 140e0f0bb7
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
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