Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
Release 0.3.0-alpha (#6)
Browse files Browse the repository at this point in the history
* Fixed workflows
* New teams page and left sidebar
* Fixed build labels
* New docs improvements
* Add activities chart to dashboard
  • Loading branch information
shlaikov authored May 24, 2023
1 parent 9936398 commit baba586
Show file tree
Hide file tree
Showing 21 changed files with 492 additions and 268 deletions.
37 changes: 19 additions & 18 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,25 @@
"files.saveConflictResolution": "overwriteFileOnDisk"
},
"extensions": [
"mikestead.dotenv",
"amiralizadeh9480.laravel-extra-intellisense",
"ryannaddy.laravel-artisan",
"onecentlin.laravel5-snippets",
"onecentlin.laravel-blade",
"xdebug.php-debug",
"bmewburn.vscode-intelephense-client",
"open-southeners.laravel-pint",
"marabesi.php-import-checker",
"Vue.volar",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"csstools.postcss",
"donjayamanne.githistory",
"bradlc.vscode-tailwindcss",
"ms-azuretools.vscode-docker",
"wix.vscode-import-cost"
]
"mikestead.dotenv",
"amiralizadeh9480.laravel-extra-intellisense",
"ryannaddy.laravel-artisan",
"onecentlin.laravel5-snippets",
"onecentlin.laravel-blade",
"xdebug.php-debug",
"bmewburn.vscode-intelephense-client",
"open-southeners.laravel-pint",
"marabesi.php-import-checker",
"Vue.volar",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"csstools.postcss",
"donjayamanne.githistory",
"bradlc.vscode-tailwindcss",
"ms-azuretools.vscode-docker",
"wix.vscode-import-cost",
"cssho.vscode-svgviewer"
]
}
},
"workspaceFolder": "/var/www/html",
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/app-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,4 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
FROM php:8.1-fpm

LABEL maintainer="Alexey Shlaikov (@shlaikov)"
LABEL org.opencontainers.image.source=https://github.com/shlaikov/camadmin
LABEL org.opencontainers.image.description="Comprehensive admin panel that provides advanced capabilities for managing and monitoring processes"
LABEL org.opencontainers.image.licenses=MIT

ARG APP_KEY
ARG NODE_VERSION=16
Expand Down Expand Up @@ -54,6 +57,7 @@ COPY docker/conf.d/nginx.conf /etc/nginx/sites-enabled/default

RUN composer install --optimize-autoloader --no-dev
RUN npm install && npm run build-client
RUN rm -rf node_modules

RUN chmod +x /var/www/docker/run.sh

Expand Down
9 changes: 4 additions & 5 deletions app/Http/Controllers/InstanceController.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use App\Data\InstanceData;
use App\Models\Instance;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\RedirectResponse;
use Inertia\Inertia;
use Inertia\Response as InertiaResponse;

Expand All @@ -23,11 +22,11 @@ public function create(): InertiaResponse
return Inertia::render('Instance/Create');
}

public function store(Instance $model, InstanceData $data): RedirectResponse
public function store(Instance $model, InstanceData $data): void
{
$model->create($data->all());
$instance = $model->create($data->all());

return redirect()->route('dashboard');
$this->flashMessage(message: "Instance $instance->name successfully created!");
}

public function show(string $id): InertiaResponse
Expand All @@ -54,7 +53,7 @@ public function delete(string $id, Instance $model): void
try {
$instance->delete();

$this->flashMessage(message: "Instance $instance->name is being deleted!");
$this->flashMessage(message: "Instance $instance->name successfully deleted!");
} catch (\Throwable $e) {
$this->flashMessage(message: $e->getMessage(), type: 'error');
}
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"business process",
"camunda"
],
"version": "0.2",
"version": "0.3",
"license": "MIT",
"require": {
"php": "^8.0.2",
Expand Down
39 changes: 20 additions & 19 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ public function up()
$table->string('url');
$table->string('tenant_id')->nullable();
$table->enum('authentication_type', [
'none',
'bearer',
'basic'
])->default('bearer');
])->default('none');
$table->boolean('has_counter')->default(false);
});
}
Expand Down
4 changes: 4 additions & 0 deletions docs/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@
* [📊 For Business Analytics](use-cases/for-business-analytics.md)
* [🖥 For Developers](use-cases/for-developers.md)
* [⚙ For System Analytics](use-cases/for-system-analytics.md)

## Terms of use

* [Privacy Policy](terms-of-use/privacy-policy.md)
18 changes: 18 additions & 0 deletions docs/terms-of-use/privacy-policy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Privacy Policy

### Use of Google Analytics Cookies ([camadmin.dev](https://camadmin.dev/) and [docs.camadmin.dev](https://docs.camadmin.dev/))

This Privacy Policy outlines how we use Google Analytics cookies on Camadmin public website. We are committed to protecting your privacy and ensuring that any information collected is used responsibly and in accordance with applicable laws and regulations. By using our website, you consent to the use of Google Analytics cookies as described in this policy.

1. Information Collection: When you visit Camadmin website, Google Analytics automatically collects certain information about your device, browsing actions, and patterns. This includes information such as your IP address, browser type, operating system, referring URLs, and the pages you visit on our site.
2. Use of Google Analytics Cookies: We use Google Analytics cookies to gather statistical information about the usage of Camadmin website. These cookies enable us to analyze website traffic, track user behavior, and gain insights into how our site is being used. This information helps us improve our website's performance, functionality, and user experience.
3. Data Sharing and Processing: The information collected by Google Analytics cookies is processed by Google and stored on their servers. Google may also share this information with third parties if required by law or when third parties process data on their behalf. We do not have control over the data processing activities conducted by Google or third parties. However, we ensure that any data sharing and processing comply with applicable data protection laws.
4. Cookie Management and Opt-out: You have the option to manage your cookie preferences and opt-out of Google Analytics cookies. You can adjust your browser settings to block or delete cookies. However, please note that disabling or deleting cookies may affect the functionality and performance of Camadmin website.
5. Data Retention: The data collected through Google Analytics cookies is retained for a limited period determined by Google. We do not retain or store this data on our servers.
6. Security Measures: We take appropriate security measures to protect the data collected through Google Analytics cookies. However, please be aware that no data transmission over the internet or storage method is 100% secure. While we strive to protect your information, we cannot guarantee its absolute security.
7. Updates to Privacy Policy: We may update this Privacy Policy from time to time to reflect changes in our practices or legal requirements. We encourage you to review this policy periodically for any updates.
8. Contact Us: If you have any questions or concerns regarding the use of Google Analytics cookies or our privacy practices, please contact us using the contact information provided on Camadmin website.

By using our Camadmin website and accepting this Privacy Policy, you acknowledge that you have read, understood, and consent to the collection and use of your information as described above.

Last Updated: 19 May 2023
Loading

0 comments on commit baba586

Please sign in to comment.