66 Commits

Author SHA1 Message Date
diondiondion
c3f254f170 [Glitch] Fix inversion of emoji colours based on dark/light mode
Port 591776d7addf2f40e20109a8c1eca46e082add60 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-12-05 20:05:32 +01:00
Echo
1faaa9706a [Glitch] Add UJS to buttons
Port 100b20f290a17f5a1616b982a903dfda4ae6e9c8 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-12-04 20:20:29 +01:00
Echo
17379b73f7 [Glitch] Replace Rails UJS library
Port 0d2e9522ffbfc045177b9b21a57c29d907fac635 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-11-30 17:48:45 +01:00
Echo
adfa407f6b [Glitch] Emoji: Remove final flag
Port 85d0cdb5f73850dc7474c5e2e64b3aa8513bd1d3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-28 22:34:14 +01:00
Eugen Rochko
0565eb62d6 [Glitch] Fix hashtags not being picked up when full-width hash sign is used
Port 779a1f84481ae9b73247083aa1573cc4e9e04cca to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-28 22:19:01 +01:00
Claire
3bd56b92c1
Reimplement misleading link tagging in new HTML handling code (#3254) 2025-10-28 21:59:53 +01:00
Echo
c4ef050eb6 [Glitch] Emoji: Account page
Port 6abda76d13b46c82741de8618e2c141b29fe5355 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:29:16 +02:00
Echo
d5ce785267 [Glitch] Allow modern_emojis to be enabled purely server-side
Port 68a36d5a57269e34c76305b49628a36a87c21b74 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:17:07 +02:00
Echo
0281768cfd [Glitch] Emoji: Link Replacement
Port ffac4cb05f5c5a8f91074c846b74fc1dd0c5faf3 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-08 18:16:38 +02:00
Brad Dunbar
752214622c [Glitch] Convert mastodon/initial_state to TypeScript
Port ac50e5eebc4300dacb6bef6b76e63e6569f12adc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-10-01 19:34:17 +02:00
Echo
8cccabb714 [Glitch] Adds new HTMLBlock component
Port e07b9dfdc12adb9c8b79d89f80049335053c3324 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-09-27 22:05:42 +02:00
Claire
500619ba4c [Glitch] Remove the outgoing_quotes feature flag, making the feature unconditional
Port e1f7847b64f8e963ad472a5fea91428cfd858910 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-09-24 18:37:55 +02:00
Echo
261edc8b87 [Glitch] Add basic HTML parser for converting strings to React components
Port 8a0d0025ffa73efa6a2f51743ba53515980bd409 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-09-11 12:16:15 +02:00
diondiondion
8ce1c8ab7c [Glitch] Fix missing icons and subtitle in mobile boost/quote menu
Port a5fbe2f5c18ce15d24cfc7060837d7ea6a6ff557 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-09-10 18:33:13 +02:00
Echo
2a593bd89e [Glitch] Allow editing status quote policy
Port 651e51a82eba542c4d8c3fec5edd16420ea1ff3e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-08-17 21:17:06 +02:00
Echo
0d54a47ec3 [Glitch] Emoji Rendering Efficiency
Port 6bca52453af3a4e76063e28e797f5e5b45ba74aa to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-08-01 22:17:21 +02:00
Echo
c5144c0c7d [Glitch] Modern Emoji: Use local storage to opt-in
Port b81670776fd757341f5ec9060b6341ec2b23af63 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-08-01 22:13:04 +02:00
Echo
ad0f2c5e02 [Glitch] Force modern emoji experimental to be dev mode only
Port dfaca794bf98e40954f1ef869f9c7e9274167d74 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-24 18:21:51 +02:00
Echo
ec412e1748 [Glitch] Enables cross-origin Web Workers
Port 7f9ad7eabf9d86731ce4af33a8d4a8d35ca3e077 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-07-24 18:14:25 +02:00
diondiondion
1f8378c12d [Glitch] fix: Prevent scrolling behind menus and modals in Safari iOS
Port c1ef1f62d549dc27eaff2756a92c8b38febc3b45 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-06-26 18:06:16 +02:00
diondiondion
0156ed6641 [Glitch] fix: Prevent content scrolling behind main menu (part 1)
Port c6dddbb66e5de5e0cd18eb0fe667c41aada764ba to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-06-25 19:46:18 +02:00
Claire
f49940db85 Merge commit 'c4f47adb49663f24ee80d9174ab24431a8c165c0' into glitch-soc/merge-upstream
Too many conflicts to list, because of webpack → vite migration.
2025-05-25 14:36:51 +02:00
Claire
b1e3939f91
Remove client-side uploaded image resizing (#3051) 2025-04-21 23:40:17 +02:00
Claire
6301287e73 [Glitch] Fix bookmarks and favourites not being filtered
Port 2eb6d815d63b91d4d3b6e7eb1a717350a7093e2b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-03-25 20:05:55 +01:00
Claire
53d07e2afe [Glitch] Fix filters not applying in detailed view
Port 8c3eeb4d29dd5ed492de3518eea51454d26c6e49 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2025-03-25 20:05:21 +01:00
Nick Schonning
61a0c58dee [Glitch] Enable ESLlint no-case-declarations
Port f91f077985eccf9933346052ce4ee532215099c6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-10-06 17:04:53 +02:00
Eugen Rochko
ba7b1f06c1 [Glitch] Fix too many requests caused by relationship look-ups in web UI
Port 70988519df66f0b8edeb6ca95140f1d3e436fea8 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-24 19:42:30 +02:00
renovate[bot]
17e3a12d3d [Glitch] Update typescript-eslint monorepo to v8 (major)
Port a27f7f4e561c9d2fe21d984059603d2f500c005b to glitch-soc

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-09-12 17:32:41 +02:00
Renaud Chaput
09929a42f7 [Glitch] Fix log out from user menu not working on Safari
Port c3e1d86d589d4f54df6d5b2752822aa7b577bf29 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-08-14 21:24:50 +02:00
Renaud Chaput
87b9b23025 [Glitch] Use integers and not numbers in notification policy API counters
Port b4d991adaa82e05a2dd95ae5c08bb374391ef568 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-05-01 17:12:57 +02:00
Matt Jankowski
00d72866a3 [Glitch] Use vanilla JS to get Rails CSRF values
Port 00d94f3ffabda89a2f955212e763cdba3f1f54c6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-03-13 19:17:59 +01:00
Eugen Rochko
13c9524436 [Glitch] Add notification policies and notification requests in web UI
Port c10bbf5fe3800f933c33fa19cf23b5ec4fb778ea to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-03-13 18:38:46 +01:00
Claire
82d28ac956
Merge pull request #2567 from ClearlyClaire/glitch-soc/ports/convert-utils-hashtags-typescript
Convert utils and hashtags to Typescript
2024-01-15 12:41:22 +01:00
Claire
50188ad211
[Glitch] Use helpers to check environment in frontend (#2571)
Port 277e6968f564ba24f59f9b2b370928c679e509cc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2024-01-15 12:16:05 +01:00
Josh Goldberg ✨
695dcc6ca8 [Glitch] Converted app/javascript/flavours/glitch/utils/ folder to TypeScript
Port 1142f4c79e3eaf4450ed727de0f480e300e8b9a2 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2024-01-14 19:22:39 +01:00
Claire
8b24a9a507 Fix missed relative import discrepancy 2023-11-15 12:53:21 +01:00
Claire
b1f0457cb8 Fix whitespace and comment discrepancies 2023-11-15 12:53:21 +01:00
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