
# Never include config.php
/application/config/config.php
# ignore CAssetManager for debugging
/framework/web/CAssetManager.php

## Ignore any hidden folder/files (except explicitly defined)
## such as various IDE folders .idea .netbeans .vscode
## or development environment things like .vagrant etc
.*
!.htaccess
!.scrutinizer.yml
!.bowerrc
!.gitignore
!.gitattributes
!.editorconfig
!.travis.yml


# upload directory : whole except the index.html and readme.txt
/upload/*
!/upload/index.html
!/upload/admintheme/index.html
!/upload/labels/index.html
!/upload/labels/readme.txt
!/upload/surveys/index.html
!/upload/surveys/readme.txt
!/upload/templates/index.html
!/upload/templates/readme.txt
!/upload/themes/index.html
!/upload/themes/readme.txt
!/upload/themes/survey/index.html
!/upload/themes/question/readme.txt

# tmp directory : whole except the index.html for directory create
/tmp/*
!/tmp/index.html
!/tmp/assets/index.html
!/tmp/runtime/index.html
!/tmp/upload/index.html

# ignore plugins directory by default except LS plugin
# if you want to add a new distributed plugin : add the directory here
/plugins/*
!/plugins/index.html
!/plugins/Demo/
!/plugins/AuditLog/

#ignore old styles
/styles/

#ignore most of the js-build stuff
node_modules/
third_party/**/docs/
third_party/**/scripts/
third_party/**/tests/
third_party/**/scss/
third_party/**/less/
third_party/**/*.sh
third_party/**/*.md
third_party/**/gulpfile.js

# Test stuff
chromedriver

# RFC and commons directory and files
/.well-known/
/sitemap.xml
/robots.txt

# Some global "temporary files" (see
*~
*.map
ehthumbs.db
Thumbs.db


# miscellaneous
/application/controllers/admin/updater.php
/nbproject
*.un~
launch.json
enabletests

## Ignore test tmp files
/tests/data/tmp/**

## Ignore files and dependencies for testing
composer.lock
third_party/facebook/**/*
third_party/symfony/**/*
third_party/composer/installed\.json


## ignore Vagrantfile
Vagrantfile

## Exclude uploaded images in themes
themes/survey/default/files/*
themes/survey/material/files/*
themes/survey/monochrome/files/*
themes/survey/no_bootstrap/files/*

## But still push the preshipped ones
!themes/survey/*/files/logo.png
!themes/survey/*/files/logo_340.png
!themes/survey/*/files/logo_w_s.png
!themes/survey/*/files/pattern.png
!themes/survey/*/files/print_img_radio.png
