Commit graph

17 commits

Author SHA1 Message Date
Claire
71a3c1cb28 Fix prettifier/lint issues (#2066)
* Add glitch-soc locale files to prettierignore

* Run prettier on theme.yml

* Add glitch-soc emoji_map.json to .prettierignore

* Run prettier on config/i18n-tasks.yml
2023-01-04 18:38:45 +01:00
Claire
a3c10b6ced Change locales file generation to use JSON sources (#2028)
* Change locales file generation to use JSON sources

Instead of inheriting in JS files, set locale inheritance in the
theme's YML file, and inherit in the generated locale file, rather
than the source file.

* Convert glitch-soc JS translation files to JSON

Obtained running the following:

```sh
sed -i -z "s/import inherited from '.*';\s*\nconst messages = //" *.js
sed -i "s/\s*\/\/.*//" *.js
sed -i -z "s/;\s*export default .*/\n/" *.js
for i in *.js; do
  json5 $i | json_pp > ${i}on;
done
```

* Change `yarn manage:translations` to exclude any translation already defined upstream

* Run yarn manage:translations
2022-12-21 22:13:14 +01:00
Eugen Rochko
a0cf17883f [Glitch] Remove code for rendering public and hashtag timelines outside the web UI
Port 58c367fb47 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-10-28 19:24:02 +02:00
Claire
6ec8ae5723 Fix missing javascript in some admin pages 2022-02-12 00:10:28 +01:00
Eugen Rochko
2bd9f2c0e8 [Glitch] Add graphs and retention metrics to admin dashboard (#16829)
Port cad446611c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-10-14 21:45:01 +02:00
Claire
dfe64b8767 Use “public.js” pack for auth pages for form validation helpers 2020-12-10 13:01:51 +01:00
Thibaut Girka
254f94cb6b Fix menu in settings/admin pages 2019-09-30 17:01:16 +02:00
Thibaut Girka
e41c4ad61b Rename flavours/glitch/features/drawer to flavours/glitch/features/compose 2019-04-22 20:15:47 +02:00
Thibaut Girka
0ead513c58 Fix settings/flavours
Update theming system to use new paths for media files
2019-03-16 16:21:20 +01:00
Thibaut Girka
9b89a7b2f2 Port upstream's javascript to the error page 2019-02-17 12:27:01 +01:00
kibi!
be525dd4db Fix mailer to use webpack core 2018-01-15 21:17:03 -08:00
Gô Shoemake
056f52edac Load packs/public.js for glitch#admin 2018-01-12 18:51:52 -08:00
kibigo!
7a9aaf28c4 WIP <Compose> Refactor; 1000 tiny edits 2018-01-04 18:33:13 -08:00
kibigo!
a1c79ef544 Screenshot support for themes 2017-12-10 20:32:28 -08:00
kibigo!
99e8710095 Javascript intl8n flavour support 2017-12-10 11:08:04 -08:00
kibigo!
f9387aabaa Glitch doesn't have a home stylesheet anymore 2017-12-07 14:32:52 -08:00
kibigo!
882055afd0 Rename themes -> flavours ? ? 2017-12-03 23:26:40 -08:00
Renamed from app/javascript/themes/glitch/theme.yml (Browse further)