chore: fix file permissions and ownership across project

- Changed ownership of all files to scheianu:scheianu
- Set directories to 755 permissions (rwxr-xr-x)
- Set files to 644 permissions (rw-r--r--)
- Made shell scripts executable (755)
- Allows development without requiring sudo for file modifications
- Improves development workflow and security
This commit is contained in:
Quality App Developer
2026-01-15 22:39:51 +02:00
parent 024430754c
commit a4262da7c9
94 changed files with 0 additions and 120 deletions

0
.dockerignore Executable file → Normal file
View File

0
.gitignore vendored Executable file → Normal file
View File

0
Dockerfile Executable file → Normal file
View File

View File

@@ -1,120 +0,0 @@
# 🚀 DigiServer Deployment - Quick Reference Card
## Instant Deployment
```bash
cd /path/to/digiserver-v2
./deploy.sh
```
That's it! ✅
---
## 📖 Documentation Files
| File | Purpose | Size |
|------|---------|------|
| [DEPLOYMENT_INDEX.md](DEPLOYMENT_INDEX.md) | Navigation guide | 8.1 KB |
| [DEPLOYMENT_README.md](DEPLOYMENT_README.md) | Complete guide | 9.4 KB |
| [DOCKER_EXEC_COMMANDS.md](DOCKER_EXEC_COMMANDS.md) | Command reference | 7.6 KB |
| [DEPLOYMENT_COMMANDS.md](DEPLOYMENT_COMMANDS.md) | Detailed guide | 6.8 KB |
---
## 🔧 Executable Scripts
| Script | Purpose | Time |
|--------|---------|------|
| [deploy.sh](deploy.sh) | Fully automated | 2-3 min |
| [setup_https.sh](setup_https.sh) | Semi-automated | 3-5 min |
---
## 🎯 Common Commands
### Check Status
```bash
docker-compose ps
```
### View Logs
```bash
docker-compose logs -f digiserver-app
```
### Verify HTTPS Configuration
```bash
docker-compose exec -T digiserver-app python /app/https_manager.py status
```
### Access the Application
```
https://digiserver.sibiusb.harting.intra
https://10.76.152.164
https://digiserver
```
### Default Login
```
Username: admin
Password: admin123
```
---
## 🆘 Troubleshooting
| Issue | Solution |
|-------|----------|
| Containers won't start | `docker-compose logs` |
| Migration fails | Check DB connection, see docs |
| HTTPS errors | Clear Caddy cache: `docker volume rm digiserver-v2_caddy-*` |
| Port conflict | `lsof -i :443` or change in docker-compose.yml |
See [DEPLOYMENT_README.md#-troubleshooting](DEPLOYMENT_README.md#-troubleshooting) for full guide.
---
## 🌍 Deploy on Different PC
1. Copy project files
2. Install Docker & Docker Compose
3. Run `./deploy.sh`
Done! 🎉
---
## 🔑 Customize Deployment
```bash
HOSTNAME=myserver \
DOMAIN=myserver.internal \
IP_ADDRESS=192.168.1.100 \
EMAIL=admin@example.com \
./deploy.sh
```
---
## 📚 Need More Help?
- **First time?** → [DEPLOYMENT_README.md](DEPLOYMENT_README.md)
- **Need a command?** → [DOCKER_EXEC_COMMANDS.md](DOCKER_EXEC_COMMANDS.md)
- **Lost?** → [DEPLOYMENT_INDEX.md](DEPLOYMENT_INDEX.md)
- **Troubleshooting?** → [DEPLOYMENT_README.md#-troubleshooting](DEPLOYMENT_README.md#-troubleshooting)
---
## ✨ What You Get
✅ Web application with admin dashboard
✅ HTTPS with self-signed certificates
✅ User management system
✅ Player & content management
✅ Fully configured & ready to use
---
**Ready to deploy?** `./deploy.sh` 🚀

0
app/app.py Executable file → Normal file
View File

0
app/blueprints/__init__.py Executable file → Normal file
View File

0
app/blueprints/api.py Executable file → Normal file
View File

0
app/blueprints/auth.py Executable file → Normal file
View File

0
app/blueprints/content.py Executable file → Normal file
View File

0
app/blueprints/content_old.py Executable file → Normal file
View File

0
app/blueprints/groups.py Executable file → Normal file
View File

0
app/blueprints/main.py Executable file → Normal file
View File

0
app/blueprints/players.py Executable file → Normal file
View File

0
app/blueprints/playlist.py Executable file → Normal file
View File

0
app/config.py Executable file → Normal file
View File

0
app/extensions.py Executable file → Normal file
View File

0
app/models/__init__.py Executable file → Normal file
View File

0
app/models/content.py Executable file → Normal file
View File

0
app/models/group.py Executable file → Normal file
View File

0
app/models/player.py Executable file → Normal file
View File

0
app/models/player_edit.py Executable file → Normal file
View File

0
app/models/player_feedback.py Executable file → Normal file
View File

0
app/models/player_user.py Executable file → Normal file
View File

0
app/models/playlist.py Executable file → Normal file
View File

0
app/models/server_log.py Executable file → Normal file
View File

0
app/models/user.py Executable file → Normal file
View File

0
app/static/icons/edit.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 294 B

After

Width:  |  Height:  |  Size: 294 B

0
app/static/icons/home.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 311 B

0
app/static/icons/info.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 329 B

0
app/static/icons/monitor.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 301 B

After

Width:  |  Height:  |  Size: 301 B

0
app/static/icons/moon.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 257 B

After

Width:  |  Height:  |  Size: 257 B

0
app/static/icons/playlist.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 259 B

After

Width:  |  Height:  |  Size: 259 B

0
app/static/icons/sun.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 651 B

0
app/static/icons/trash.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 334 B

After

Width:  |  Height:  |  Size: 334 B

0
app/static/icons/upload.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 345 B

0
app/static/icons/warning.svg Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 396 B

0
app/static/uploads/.gitkeep Executable file → Normal file
View File

0
app/templates/admin/admin.html Executable file → Normal file
View File

0
app/templates/admin/customize_logos.html Executable file → Normal file
View File

0
app/templates/admin/dependencies.html Executable file → Normal file
View File

0
app/templates/admin/editing_users.html Executable file → Normal file
View File

0
app/templates/admin/leftover_media.html Executable file → Normal file
View File

0
app/templates/admin/user_management.html Executable file → Normal file
View File

0
app/templates/auth/change_password.html Executable file → Normal file
View File

0
app/templates/auth/login.html Executable file → Normal file
View File

0
app/templates/auth/register.html Executable file → Normal file
View File

0
app/templates/base.html Executable file → Normal file
View File

0
app/templates/content/content_list.html Executable file → Normal file
View File

0
app/templates/content/content_list_new.html Executable file → Normal file
View File

0
app/templates/content/edit_content.html Executable file → Normal file
View File

0
app/templates/content/manage_playlist_content.html Executable file → Normal file
View File

0
app/templates/content/media_library.html Executable file → Normal file
View File

0
app/templates/content/upload_content.html Executable file → Normal file
View File

0
app/templates/content/upload_media.html Executable file → Normal file
View File

0
app/templates/dashboard.html Executable file → Normal file
View File

0
app/templates/errors/403.html Executable file → Normal file
View File

0
app/templates/errors/404.html Executable file → Normal file
View File

0
app/templates/errors/500.html Executable file → Normal file
View File

0
app/templates/groups/create_group.html Executable file → Normal file
View File

0
app/templates/groups/edit_group.html Executable file → Normal file
View File

0
app/templates/groups/group_fullscreen.html Executable file → Normal file
View File

0
app/templates/groups/groups_list.html Executable file → Normal file
View File

0
app/templates/groups/manage_group.html Executable file → Normal file
View File

0
app/templates/players/add_player.html Executable file → Normal file
View File

0
app/templates/players/edit_player.html Executable file → Normal file
View File

0
app/templates/players/edited_media.html Executable file → Normal file
View File

0
app/templates/players/manage_player.html Executable file → Normal file
View File

0
app/templates/players/player_fullscreen.html Executable file → Normal file
View File

0
app/templates/players/player_page.html Executable file → Normal file
View File

0
app/templates/players/players_list.html Executable file → Normal file
View File

0
app/templates/playlist/manage_playlist.html Executable file → Normal file
View File

0
app/utils/__init__.py Executable file → Normal file
View File

0
app/utils/group_player_management.py Executable file → Normal file
View File

0
app/utils/logger.py Executable file → Normal file
View File

0
app/utils/pptx_converter.py Executable file → Normal file
View File

0
app/utils/uploads.py Executable file → Normal file
View File

0
docker-compose.yml Executable file → Normal file
View File

0
fix_player_user_schema.py Executable file → Normal file
View File

0
migrations/add_player_user_table.py Executable file → Normal file
View File

0
migrations/migrate_player_user_global.py Executable file → Normal file
View File

0
old_code_documentation/.env.example Executable file → Normal file
View File

0
old_code_documentation/DOCKER.md Executable file → Normal file
View File

0
old_code_documentation/HTTPS_SETUP.md Executable file → Normal file
View File

View File

0
old_code_documentation/OPTIONAL_DEPENDENCIES.md Executable file → Normal file
View File

0
old_code_documentation/PLAYER_EDIT_MEDIA_API.md Executable file → Normal file
View File

0
old_code_documentation/README.md Executable file → Normal file
View File

0
old_code_documentation/add_muted_column.py Executable file → Normal file
View File

0
old_code_documentation/check_fix_player.py Executable file → Normal file
View File

0
old_code_documentation/migrate_add_edit_enabled.py Executable file → Normal file
View File

0
requirements.txt Executable file → Normal file
View File