Commit graph

26604 commits

Author SHA1 Message Date
Pyrox 33f5217fad [yarn]: Enable support for corepack offline installs
This is required to enable building from nix, as corepack cannot fetch the yarn version from npmjs.com during a build.
Thus, an offline version is required.

This also means that when upgrading yarn, also ensure to run `yarn fetch-yarn` to fetch the latest yarn version to the correct place, and commit that with your version bump.
This will ensure that the version in the repo is kept in sync with the version in package.json.
2023-11-19 01:12:51 +01:00
Jeder 054a40d5f4
[locales] Change default locale to en-US
Fixes settings page on jp-JP locale
2023-11-18 22:33:52 +01:00
Laura Hausmann b73a07011a
[backend] Backslash needs to be escaped in sqlLikeEscape 2023-11-18 19:46:37 +01:00
Laura Hausmann cca23bf5d9
[ci] Fix immutable cache breaking CI builds due to caching 2023-11-18 02:35:10 +01:00
Laura Hausmann 2231b9ca19
[yarn] Update .yarnrc.yml in focus-production 2023-11-17 01:52:56 +01:00
Laura Hausmann 64cffd2d68
[docker] Build with immutable lockfile and cache 2023-11-17 00:21:59 +01:00
Laura Hausmann a5b072016a
[docker] Copy all files in initial pass
Efficient layers in the build stage aren't really useful, as we're only uploading layers from the runtime stage anyway
2023-11-17 00:10:51 +01:00
Laura Hausmann 3a02f5492f
[docker] Fix yarn cache not being loaded due to missing files in dependency yarn pass 2023-11-17 00:08:18 +01:00
Laura Hausmann bf64af37af
Release: v2023.11.2 2023-11-16 23:03:44 +01:00
Laura Hausmann 9ee786e888
[mastodon-client] Verify scopes are identical between /oauth/authorize and /oauth/token instead of testing whether they are a subset 2023-11-16 20:37:21 +01:00
Laura Hausmann 3def0bdf7f
[docs] Update badges in README 2023-11-16 20:37:11 +01:00
Pyrox 1b10406474 [docs] Update nix development docs
Updates them to note you need to install git-lfs
Removes parts related to the rust parts of the environment that no longer exist
Also adds that if you have problems with the environment, you should join the matrix room and ping me.
2023-11-15 23:37:24 +01:00
Laura Hausmann e17f2659f5
[docs] Improve git-lfs disclaimers
Not all distros automatically run git lfs install, so we should advise users to do so themselves.
2023-11-15 21:32:42 +01:00
Laura Hausmann bea635620c
[yarn] Update .pnp.cjs 2023-11-15 19:35:02 +01:00
Laura Hausmann 258f15e842
[yarn] Fix another runtime peer dep 2023-11-15 19:31:15 +01:00
Laura Hausmann 4561461ab3
[yarn] Set pnpMode to strict 2023-11-15 19:31:15 +01:00
Laura Hausmann 67c4f65f31
[yarn] Fix buildtime peer deps 2023-11-15 19:29:21 +01:00
Laura Hausmann ed2050e6be
[yarn] Make dev script only build things once 2023-11-15 15:53:55 +01:00
Laura Hausmann 141c134698
[yarn] Fix dev script compatibility with yarn v4 2023-11-15 15:50:46 +01:00
Laura Hausmann c60414f347
[backend] Fix re2 imports 2023-11-15 15:17:35 +01:00
Laura Hausmann 20410b0543
[backend] Move back to upstream re2 dependency
Upstream accepted my patches for both re2 (fixing build on arm64-musl) and the install-artifact-from-github dependency (cutting down build times for architectures where prebuilts are available from ~2 minutes to ~2 seconds), so there's no reason to stick with our fork.
2023-11-15 15:12:59 +01:00
AntoineÐ f7111925af Translated using Weblate (French)
Currently translated at 100.0% (1860 of 1860 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/fr/
2023-11-14 21:00:04 +01:00
Laura Hausmann c6272c6482
[yarn] Upgrade to v4.0.2 2023-11-14 19:59:22 +01:00
Laura Hausmann b45be30d19
[mastodon-client] Fix scope parameter in /oauth/token 2023-11-14 17:19:17 +01:00
Laura Hausmann f2d7716f1a
[docs] Fix instructions on loading LFS data after cloning without git-lfs being installed 2023-11-12 19:55:49 +01:00
Laura Hausmann 0214b6c4c4
Update .gitattributes
This commit removes old gitattributes and adds a bunch of common binary file types to the file. This should minimize future accidental commits of binary data to the repository.
2023-11-10 20:08:43 +01:00
Laura Hausmann 188390f6e9
[docs] Don't recommend depth=1 for non-deployment-only docker clones
Due to the Git LFS migration this barely saves any disk space and it prevents users from switching branches
2023-11-10 19:19:11 +01:00
Pyrox 1a55a2404a
[flake] Allow building on arm systems, nodejs: 18 -> 20
This also changes from the `pkgs.yarn-berry` package to the `pkgs.corepack_20` package.

This allows us to use the package manager version from the package.json, negating the need to keep the nixpkgs `yarn-berry` package updated.
2023-11-10 12:49:41 -05:00
Laura Hausmann 6041f17c86
Build node-gyp dependencies with all available threads 2023-11-10 05:13:13 +01:00
Laura Hausmann 016e7dc752
[yarn] Upgrade to v4.0.1 2023-11-10 05:11:30 +01:00
Laura Hausmann ddb96686b2
Update ci-env Dockerfile 2023-11-10 04:32:28 +01:00
Laura Hausmann 4abab16b25
[docs] Add git-lfs disclaimers 2023-11-10 04:30:43 +01:00
Alexis 76db23855c
added more selective control over users show endpoint 2023-11-10 03:05:08 +01:00
AntoineÐ 84e8e095ec
#212 remove sub label 2023-11-10 02:05:03 +01:00
AntoineÐ 239d073a59
#212 i18n fix 2023-11-10 02:05:03 +01:00
AntoineÐ c33189bb63
#212 /about-iceshrimp grid links 2023-11-10 02:05:03 +01:00
AntoineÐ 5cfc5783fb
#212 Enhanced /about-iceshrimp 2023-11-10 02:05:03 +01:00
AntoineÐ 9b36a544d8
#225 Fix local only icon 2023-11-10 02:04:31 +01:00
Laura Hausmann 2baa787b72
[backend] Dynamically import redisClient in postgre.ts and dependencies
This fixes unnecessary redisClient instances being created during migration runs, which previously prevented the revertmigration command from exiting by itself due to a TypeORM inconsistency between migration:run and migration:revert.
2023-11-07 23:12:20 +01:00
Laura Hausmann 1488529228
[docs] Update bare metal install guide 2023-11-07 01:53:31 +01:00
Laura Hausmann ecb54be00b
Update COPYING 2023-11-07 00:09:27 +01:00
Laura Hausmann 0bf429488c
[yarn] Make regen-version log output nicer 2023-11-06 23:06:24 +01:00
Laura Hausmann 780cfcaa4d
[yarn] Allow overriding the revision for the regen-version script 2023-11-06 22:52:53 +01:00
Laura Hausmann 57b966d7c0
[yarn] Add regen-version script 2023-11-06 22:40:20 +01:00
Laura Hausmann 698584f7aa
[docker] Utilize focus-production script 2023-11-06 21:51:43 +01:00
Laura Hausmann 9e53d46b71
[yarn] Add focus-production script 2023-11-06 20:00:09 +01:00
AntoineÐ c033e54225 Translated using Weblate (French)
Currently translated at 100.0% (1856 of 1856 strings)

Translation: Iceshrimp/locales
Translate-URL: https://translate.iceshrimp.dev/projects/iceshrimp/locales/fr/
2023-11-06 12:00:03 +01:00
Laura Hausmann 1fa33f594d
[yarn] Patch in missing peer dependencies 2023-11-05 21:51:27 +01:00
Laura Hausmann fbd3259893
[docker] Remove all unnecessary dependencies from Dockerfile 2023-11-05 21:31:19 +01:00
Laura Hausmann 921bf1ca5f
Release: v2023.11.1 2023-11-05 18:23:07 +01:00