Claire
5323f0eeca
[Glitch] Fix incorrect proptypes from react-router-v5 update
...
Port 0ad66175bf59a34b03d9ab2347181548d07089ea to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-10-24 19:03:16 +02:00
Renaud Chaput
d6eacb79c6
[Glitch] Upgrade to react-router v5
...
Port 1b70d7ed7c0fd3a9fcf028bf76b8c62ac8b3897f to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-10-21 22:14:24 +02:00
Plastikmensch
ebfa184e74
Port search popout changes from upstream ( #2333 )
...
* [Glitch] Change search pop-out in web UI
Port 2b113764117c9ab98875141bcf1758ba8be58173 to glitch-soc
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
* [Glitch] Change logo version in header based on screen size in web UI
Port remaining change from 6028d047b9f7d14b2617f47b51f6098f686b1b4e to glitch-soc
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
* Rename `hashtags.js` to `hashtags.ts` and apply code style changes
Apply changes from e38b39194075bec88af2f3a5134137563024d391 (rename to ts), 51b83ed19536b06ce3f57b260400ecec2d1dd187 (code style change), 73b64b89170cb72854a1709186c62ce31f476889 (additional code style change)
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
* Remove strings for old search
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
---------
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-07-30 18:42:35 +02:00
Renaud Chaput
18f55567b0
[Glitch] Upgrade to typescript-eslint
v6
...
Port a7253075d10ee392fa12c69b0ffccdde6eee4062 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-07-13 14:51:24 +02:00
Claire
0870c7c95e
[Glitch] Upgrade to Prettier 3
...
Port 73b64b89170cb72854a1709186c62ce31f476889 to glitch-soc
2023-07-13 14:01:40 +02:00
dependabot[bot]
7fc1297c3e
[Glitch] Bump eslint-plugin-jsdoc from 44.2.5 to 45.0.0
...
Port 89d6341c80f5b6cb88ef7efd90622891200249f3 to glitch-soc
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-06-05 13:31:45 +02:00
Claire
7d7db8977b
Fix import order with ESLint
...
Port d27216dc4616d80659c0cc5d2a55394e0e1ae874 to glitch-soc
2023-05-28 16:38:10 +02:00
Claire
6001f5ff36
[Glitch] Use the new JSX transform everywhere
...
Port 8f66126b1010e0aaaa8b5f2a2f4ea8a28824e2b7 to glitch-soc
2023-05-28 14:18:43 +02:00
Claire
1347ca6eb0
fixup! [Glitch] Upgrade to React 18
2023-05-26 18:44:18 +02:00
Renaud Chaput
3b375ee395
[Glitch] Upgrade to React 18
...
Port 8d6aea33260dedeacb3d22ac1a6d2f9cc3856a5e to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-25 23:45:01 +02:00
Renaud Chaput
e6a7cfd12e
[Glitch] Add stricter ESLint rules for Typescript files
...
Port 5eeb40bdbe4d5e7c5c60788c0e10311f4d125853 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-25 21:43:19 +02:00
Claire
96e99e2170
Run prettier on Typescript files
...
Port 51b83ed19536b06ce3f57b260400ecec2d1dd187 to glitch-soc
2023-05-09 23:41:18 +02:00
fusagiko / takayamaki
e8243d5bbd
[Glitch] Add type annotation for some js files
...
Port e38b39194075bec88af2f3a5134137563024d391 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-08 22:15:00 +02:00
Nick Schonning
51479f5c28
[Glitch] Add eslint-plugin-jsdoc
...
Port f22b4e556c0e66465b87c57a2d5cf48452ead259 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-05-08 15:48:08 +02:00
Claire
16c5354b8c
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
2023-05-08 14:02:41 +02:00
fusagiko / takayamaki
66bda4713e
[Glitch] Allow ==
when null checking
...
Port c1a7e38d2b9504fe06716a56a1f6193686026c16 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-04-29 11:09:46 +02:00
Renaud Chaput
81ef21a0c8
[Glitch] Rename JSX files with proper .jsx
extension
...
Port 44a7d87cb1f5df953b6c14c16c59e2e4ead1bcb9 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:35:31 +01:00
Nick Schonning
6fdd596cc8
[Glitch] Enable ESLint Promise plugin defaults
...
Port 5e1c0c3d946bef488f8e156ed3b5034740e731df to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-19 10:53:18 +01:00
Nick Schonning
7e64eef73b
[Glitch] Enable ESLint no-useless-escape
...
Port db2c58d47ae0db8490a30cd3846f30e615c382b5 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-18 16:02:12 +01:00
Claire
3c451cf88f
[Glitch] Fix useless regular-expression character escape detected by CodeQL
2023-02-03 21:14:41 +01:00
Claire
155424e52f
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
c49213f0ea311daba590db1d7a14a641cbd9fe93 and a few others did.
2023-02-03 20:52:07 +01:00
Eugen Rochko
2d731dbde6
[Glitch] Add ability to view previous edits of a status in admin UI
...
Port f8ca3bb2a1dd648f41e8fea5b5eb87b53bc8d521 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Claire
b728b25c10
Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji
2022-10-11 12:43:19 +02:00
Claire
b75bf336bd
Move more modules from flavours/glitch/utils to flavours/glitch
2022-10-11 12:25:45 +02:00
Claire
2535ec4fcb
Remove unused redux_helpers
module
2022-10-11 12:15:29 +02:00
Claire
0f4a4d7527
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/compose/util/
2022-10-11 12:15:08 +02:00
Claire
7097a459be
Move flavours/glitch/utils/ready to flavours/glitch/ready
2022-10-11 11:31:11 +02:00
Claire
015e798394
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/
2022-10-11 11:31:11 +02:00
Claire
d3879c07b1
Rename flavours/glitch/util into flavours/glitch/utils
2022-10-11 11:31:11 +02:00