@striae-org/striae 3.0.4 → 3.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -6,13 +6,8 @@ Striae © 2025. All rights reserved.
6
6
 
7
7
  Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License in the repository’s LICENSE file.
8
8
 
9
- This product includes software developed by Stephen J. Lu.
10
-
11
9
  Attributions for bundled components:
12
10
 
13
11
  Portions of this product may include open-source software licensed under their respective licenses, including but not limited to: Remix, Cloudflare Workers, Firebase, Tailwind CSS, Vite, and other npm packages. License texts for third-party components are provided in their respective source files or in node_modules as applicable.
14
12
 
15
13
  No trademark rights are granted for “Striae” or any associated names or logos.
16
-
17
- The background image used in the application landing page and marketing materials is sourced from:
18
- Mattijssen, Erwin & Kerkhoff, Wim & Berger, Charles & Dror, Itiel & Stoel, Reinoud. (2016). Implementing context information management in forensic casework: Minimizing contextual bias in firearms examination. Science & Justice. 56. 113-122. <https://www.researchgate.net/publication/288700798_Implementing_context_information_management_in_forensic_casework_Minimizing_contextual_bias_in_firearms_examination>.
@@ -84,7 +84,7 @@
84
84
  border-radius: 3px;
85
85
  padding: var(--spaceXS) var(--spaceS);
86
86
  cursor: pointer;
87
- font-size: var(--fontSizeXS);
87
+ font-size: var(--fontSizeBodyXS);
88
88
  }
89
89
 
90
90
  .toggleButton:hover {
@@ -157,7 +157,7 @@
157
157
  }
158
158
 
159
159
  .previewLabel {
160
- font-size: var(--fontSizeXS);
160
+ font-size: var(--fontSizeBodyXS);
161
161
  color: var(--foreground);
162
162
  font-weight: 500;
163
163
  }
package/app/root.tsx CHANGED
@@ -30,11 +30,8 @@ export const links: LinksFunction = () => [
30
30
  rel: "stylesheet",
31
31
  href: "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap",
32
32
  },
33
- { rel: 'manifest', href: '/manifest.json' },
34
33
  { rel: 'icon', href: '/favicon.ico' },
35
34
  { rel: 'icon', href: '/favicon.svg', type: 'image/svg+xml' },
36
- { rel: 'shortcut_icon', href: '/shortcut.png', type: 'image/png', sizes: '64x64' },
37
- { rel: 'apple-touch-icon', href: '/icon-256.png', sizes: '256x256' },
38
35
  ];
39
36
 
40
37
  type AppTheme = 'dark' | 'light';
@@ -20,7 +20,6 @@ import { MFAVerification } from '~/components/auth/mfa-verification';
20
20
  import { MFAEnrollment } from '~/components/auth/mfa-enrollment';
21
21
  import { Icon } from '~/components/icon/icon';
22
22
  import styles from './login.module.css';
23
- import { baseMeta } from '~/utils/meta';
24
23
  import { Striae } from '~/routes/striae/striae';
25
24
  import { getUserData, createUser } from '~/utils/permissions';
26
25
  import { auditService } from '~/services/audit.service';
@@ -30,10 +29,13 @@ import { buildActionCodeSettings } from '~/utils/auth-action-settings';
30
29
  import { userHasMFA } from '~/utils/mfa';
31
30
 
32
31
  export const meta = () => {
33
- return baseMeta({
34
- title: 'Welcome to Striae',
35
- description: 'Login to your Striae account to access your projects and data',
36
- });
32
+ const titleText = 'Striae | Welcome to Striae';
33
+ const description = 'Login to your Striae account to access your projects and data';
34
+
35
+ return [
36
+ { title: titleText },
37
+ { name: 'description', content: description },
38
+ ];
37
39
  };
38
40
 
39
41
  const SUPPORTED_EMAIL_ACTION_MODES = new Set(['resetPassword', 'verifyEmail', 'recoverEmail']);
@@ -1,12 +1,14 @@
1
1
  import { Link } from '@remix-run/react';
2
- import { baseMeta } from '~/utils/meta';
3
2
  import styles from './mobilePrevented.module.css';
4
3
 
5
4
  export const meta = () => {
6
- return baseMeta({
7
- title: 'Desktop Required',
8
- description: 'Striae authentication is available on desktop devices only.',
9
- });
5
+ const titleText = 'Striae | Desktop Required';
6
+ const description = 'Striae authentication is available on desktop devices only.';
7
+
8
+ return [
9
+ { title: titleText },
10
+ { name: 'description', content: description },
11
+ ];
10
12
  };
11
13
 
12
14
  export const MobilePrevented = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@striae-org/striae",
3
- "version": "3.0.4",
3
+ "version": "3.0.5",
4
4
  "private": false,
5
5
  "description": "Cloud-native forensic annotation application for firearms identification (Remix + Cloudflare Workers).",
6
6
  "license": "Apache-2.0",
package/public/_headers CHANGED
@@ -2,12 +2,6 @@
2
2
  Cache-Control: public, max-age=3600, s-maxage=3600
3
3
  /favicon.svg
4
4
  Cache-Control: public, max-age=3600, s-maxage=3600
5
- /icon-256.png
6
- Cache-Control: public, max-age=3600, s-maxage=3600
7
- /icon-512.png
8
- Cache-Control: public, max-age=3600, s-maxage=3600
9
- /shortcut.png
10
- Cache-Control: public, max-age=3600, s-maxage=3600
11
5
  /*.css
12
6
  Cache-Control: public, max-age=31536000, immutable
13
7
  /*.js
@@ -20,9 +14,3 @@
20
14
  Cache-Control: public, max-age=31536000, immutable
21
15
  /*
22
16
  Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
23
- https://*.striae-cdz.pages.dev/*
24
- X-Robots-Tag: noindex
25
- https://*.striae-dev.pages.dev/*
26
- X-Robots-Tag: noindex
27
- https://*.striae.org/*
28
- X-Robots-Tag: noindex
@@ -905,13 +905,6 @@ update_wrangler_configs() {
905
905
  echo -e "${GREEN} ✅ app config.json updated${NC}"
906
906
  fi
907
907
 
908
- # Update app/config/meta-config.json
909
- if [ -f "app/config/meta-config.json" ]; then
910
- echo -e "${YELLOW} Updating app/config/meta-config.json...${NC}"
911
- sed -i "s|\"url\": \"[^\"]*\"|\"url\": \"https://$escaped_pages_custom_domain\"|g" app/config/meta-config.json
912
- echo -e "${GREEN} ✅ app meta-config.json updated${NC}"
913
- fi
914
-
915
908
  # Update app/config/firebase.ts
916
909
  if [ -f "app/config/firebase.ts" ]; then
917
910
  echo -e "${YELLOW} Updating app/config/firebase.ts...${NC}"