#-------------------------
# Operating Specific Junk Files
#-------------------------

# OS X
.DS_Store
.AppleDouble
.LSOverride

# OS X Thumbnails
._*

# Windows image file caches
Thumbs.db
ehthumbs.db
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# Linux
*~

# KDE directory preferences
.directory

# Linux trash folder which might appear on any partition or disk
.Trash-*

#-------------------------
# Environment Files
#-------------------------
# These should never be under version control,
# as it poses a security risk.
.env
.vagrant
Vagrantfile

#-------------------------
# Temporary Files
#-------------------------
/writable/cache/*
!/writable/cache/index.html

/writable/logs/*
!/writable/logs/index.html

/writable/session/*
!/writable/session/index.html

/writable/uploads/*
!/writable/uploads/index.html

/writable/debugbar/*
!/writable/debugbar/index.html

php_errors.log

#-------------------------
# User Guide Temp Files
#-------------------------
/user_guide_src/build/*
/user_guide_src/cilexer/build/*
/user_guide_src/cilexer/dist/*
/user_guide_src/cilexer/pycilexer.egg-info/*

#-------------------------
# Test Files
#-------------------------
/tests/coverage*

# Don't save phpunit under version control.
/phpunit

#-------------------------
# Composer
#-------------------------
vendor/

#-------------------------
# IDE / Development Files
#-------------------------

# Modules Testing
_modules/*

# phpenv local config
.php-version

# Jetbrains editors (PHPStorm, etc)
.idea/
*.iml

# NetBeans
/nbproject/
/build/
/nbbuild/
/dist/
/nbdist/
/nbactions.xml
/nb-configuration.xml
/.nb-gradle/

# Sublime Text
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project
.phpintel
/api/

# Visual Studio Code
.vscode/

/results/
/phpunit*.xml

#-------------------------
# iOS web (Tail/npm build lokal — jangan commit)
#-------------------------
public/ios/app/node_modules/
public/ios.zip
public/ios/ios-modif.zip

# Arsip / artefak besar di folder upload (backup lokal, bukan sumber kode)
public/assets/uploads/*.tar.gz
public/assets/uploads/bij_apps*.apk

# Isi upload runtime (foto, dokumen); di repo hanya placeholder index.html
/public/assets/uploads/absen/**
!/public/assets/uploads/absen/index.html
/public/assets/uploads/aktifitas/**
!/public/assets/uploads/aktifitas/index.html
/public/assets/uploads/berita/**
!/public/assets/uploads/berita/index.html
/public/assets/uploads/dokcuti/**
!/public/assets/uploads/dokcuti/index.html
/public/assets/uploads/gambar/**
!/public/assets/uploads/gambar/index.html
/public/assets/uploads/logo/**
!/public/assets/uploads/logo/index.html
/public/assets/uploads/pengguna/**
!/public/assets/uploads/pengguna/index.html
/public/assets/uploads/peserta/**
!/public/assets/uploads/peserta/index.html
