Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e90bdf8
♻️ translate sidebar headings
Fredkiss3 Nov 19, 2025
af4b9e8
✏️ fix typos
Fredkiss3 Nov 20, 2025
cd76fa0
✨add analytics endpoint
Fredkiss3 Nov 20, 2025
4ed4515
🚧 starting request analytics page
Fredkiss3 Nov 20, 2025
dc237b8
💬 update text message from the API
Fredkiss3 Nov 20, 2025
4879855
➕add react compiler
Fredkiss3 Nov 20, 2025
2bc82f4
✨add enpoint for getting all resource names
Fredkiss3 Nov 20, 2025
d6e8eb5
🧑‍💻add tailwind indicator component
Fredkiss3 Nov 20, 2025
5d1f81a
✨ world map
Fredkiss3 Nov 20, 2025
266fbb1
💄nicer colors
Fredkiss3 Nov 20, 2025
3801354
🚧 add country code flag emoji function
Fredkiss3 Nov 20, 2025
5fd6459
✨add top countries list
Fredkiss3 Nov 21, 2025
87a0dd2
♻️ remove click
Fredkiss3 Nov 21, 2025
d41bd30
🐛 filter by resource UI
Fredkiss3 Nov 21, 2025
7924f19
💄handle empty data
Fredkiss3 Nov 21, 2025
82cc514
🔨also export `driver` in the db driver generation script
Fredkiss3 Nov 21, 2025
a42d012
✨load logs per day
Fredkiss3 Nov 21, 2025
2082c5e
🚧 Add shadCN chart
Fredkiss3 Nov 21, 2025
2007437
🚧add css variables for chart
Fredkiss3 Nov 21, 2025
887a0ef
💄 chart for analytics
Fredkiss3 Nov 21, 2025
ba6defa
✨Add request by day chart
Fredkiss3 Nov 21, 2025
3f440f0
🏷️ fix type for SQLite
Fredkiss3 Nov 21, 2025
24adca6
♻️add auto refetch every 30 seconds
Fredkiss3 Nov 21, 2025
261f033
💄 remove chart animations
Fredkiss3 Nov 21, 2025
380e062
♻️export driver in `Dockerfile`
Fredkiss3 Nov 21, 2025
d118c6b
♻️also export build file
Fredkiss3 Nov 21, 2025
1b643fb
🐛 fix Dockerfile
Fredkiss3 Nov 21, 2025
6368b9d
♻️ use linechart
Fredkiss3 Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ RUN npm ci
COPY . .

RUN echo "export * from \"./$DATABASE\";" > server/db/index.ts
RUN echo "export const driver: \"pg\" | \"sqlite\" = \"$DATABASE\";" >> server/db/index.ts

RUN echo "export const build = \"$BUILD\" as any;" > server/build.ts
RUN echo "export const build = \"$BUILD\" as \"saas\" | \"enterprise\" | \"oss\";" > server/build.ts

# Copy the appropriate TypeScript configuration based on build type
RUN if [ "$BUILD" = "oss" ]; then cp tsconfig.oss.json tsconfig.json; \
Expand All @@ -30,9 +31,9 @@ RUN mkdir -p dist
RUN npm run next:build
RUN node esbuild.mjs -e server/index.ts -o dist/server.mjs -b $BUILD
RUN if [ "$DATABASE" = "pg" ]; then \
node esbuild.mjs -e server/setup/migrationsPg.ts -o dist/migrations.mjs; \
node esbuild.mjs -e server/setup/migrationsPg.ts -o dist/migrations.mjs; \
else \
node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs; \
node esbuild.mjs -e server/setup/migrationsSqlite.ts -o dist/migrations.mjs; \
fi

# test to make sure the build output is there and error if not
Expand Down
21 changes: 20 additions & 1 deletion messages/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,16 @@
"inviteEmailSent": "Send invite email to user",
"inviteValid": "Valid For",
"selectDuration": "Select duration",
"selectResource": "Select Resource",
"filterByResource": "Filter By Resource",
"resetFilters": "Reset Filters",
"totalBlocked": "Requests Blocked By Pangolin",
"totalRequests": "Total Requests",
"requestsByCountry": "Requests By Country",
"requestsByDay": "Requests By Day",
"blocked": "Blocked",
"allowed": "Allowed",
"topCountries": "Top Countries",
"accessRoleSelect": "Select role",
"inviteEmailSentDescription": "An email has been sent to the user with the access link below. They must access the link to accept the invitation.",
"inviteSentDescription": "The user has been invited. They must access the link below to accept the invitation.",
Expand Down Expand Up @@ -702,6 +712,7 @@
"resourceTransferSubmit": "Transfer Resource",
"siteDestination": "Destination Site",
"searchSites": "Search sites",
"countries": "Countries",
"accessRoleCreate": "Create Role",
"accessRoleCreateDescription": "Create a new role to group users and manage their permissions.",
"accessRoleCreateSubmit": "Create Role",
Expand Down Expand Up @@ -1163,7 +1174,11 @@
"sidebarLicense": "License",
"sidebarClients": "Clients",
"sidebarDomains": "Domains",
"sidebarGeneral": "General",
"sidebarLogAndAnalytics": "Log & Analytics",
"sidebarBluePrints": "Blueprints",
"sidebarOrganization": "Organization",
"sidebarLogsAnalytics": "Request Analytics",
"blueprints": "Blueprints",
"blueprintsDescription": "Apply declarative configurations and view previous runs",
"blueprintAdd": "Add Blueprint",
Expand Down Expand Up @@ -1998,6 +2013,7 @@
"clientMessageRemove": "Once removed, the client will no longer be able to connect to the site.",
"sidebarLogs": "Logs",
"request": "Request",
"requests": "Requests",
"logs": "Logs",
"logsSettingsDescription": "Monitor logs collected from this orginization",
"searchLogs": "Search logs...",
Expand All @@ -2023,6 +2039,7 @@
"ip": "IP",
"reason": "Reason",
"requestLogs": "Request Logs",
"requestAnalytics": "Request Analytics",
"host": "Host",
"location": "Location",
"actionLogs": "Action Logs",
Expand All @@ -2032,6 +2049,7 @@
"logRetention": "Log Retention",
"logRetentionDescription": "Manage how long different types of logs are retained for this organization or disable them",
"requestLogsDescription": "View detailed request logs for resources in this organization",
"requestAnalyticsDescription": "View detailed request analytics for resources in this organization",
"logRetentionRequestLabel": "Request Log Retention",
"logRetentionRequestDescription": "How long to retain request logs",
"logRetentionAccessLabel": "Access Log Retention",
Expand Down Expand Up @@ -2139,5 +2157,6 @@
"niceIdUpdateErrorDescription": "An error occurred while updating the Nice ID.",
"niceIdCannotBeEmpty": "Nice ID cannot be empty",
"enterIdentifier": "Enter identifier",
"identifier": "Identifier"
"identifier": "Identifier",
"noData": "No Data"
}
3 changes: 3 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const nextConfig: NextConfig = {
eslint: {
ignoreDuringBuilds: true
},
experimental: {
reactCompiler: true
},
output: "standalone"
};

Expand Down
Loading
Loading