Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgraham committed May 16, 2015
0 parents commit f398162
Show file tree
Hide file tree
Showing 10,233 changed files with 1,396,453 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
120 changes: 120 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
root = true

[*]
end_of_line = lf
insert_final_newline = false
indent_style = space
indent_size = tab
indent_brace_style = K&R
tab_width = 4
charset = utf-8
trim_trailing_whitespace = false
max_line_length = 10000
quote_type = single
curly_bracket_next_line = false
spaces_around_operators = true
spaces_around_brackets = outside

[*.php]
insert_final_newline = true
trim_trailing_whitespace = true

[*.css]
indent_style = tab
tab_width = 3

[*.tpl]
indent_style = tab
quote_type = double
tab_width = 3

[*.js]
indent_style = tab
quote_type = single
tab_width = 3


# Some files should not be reformatted (NB: Max .editorconfig line length is 200)...
# git checkout -- _tests/simpletest data/editarea/edit_area_compressor.php data_custom/upload-crop/upload_crop_v1.2.php sources/diff.php sources/firephp.php sources/jsmin.php \
# sources/stemmer_EN.php sources_custom/GTranslate.php sources_custom/Swift-4.1.1 sources_custom/facebook sources_custom/geshi.php sources_custom/geshi sources_custom/getid3 \
# sources_custom/openid.php sources_custom/photobucket sources_custom/php-crossword sources_custom/programe sources_custom/sabredav sources_custom/vimeo.php


# PHPStorm settings (.idea/codeStyleSettings.xml)...

#<?xml version="1.0" encoding="UTF-8"?>
#<project version="4">
# <component name="ProjectCodeStyleSettingsManager">
# <option name="PER_PROJECT_SETTINGS">
# <value>
# <option name="OTHER_INDENT_OPTIONS">
# <value>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# <option name="SMART_TABS" value="false" />
# <option name="LABEL_INDENT_SIZE" value="0" />
# <option name="LABEL_INDENT_ABSOLUTE" value="false" />
# <option name="USE_RELATIVE_INDENTS" value="false" />
# </value>
# </option>
# <option name="LINE_SEPARATOR" value="&#10;" />
# <option name="HTML_ATTRIBUTE_WRAP" value="0" />
# <PHPCodeStyleSettings>
# <option name="ALIGN_PHPDOC_PARAM_NAMES" value="true" />
# <option name="PHPDOC_BLANK_LINE_BEFORE_TAGS" value="true" />
# <option name="LOWER_CASE_BOOLEAN_CONST" value="true" />
# <option name="LOWER_CASE_NULL_CONST" value="true" />
# </PHPCodeStyleSettings>
# <XML>
# <option name="XML_LEGACY_SETTINGS_IMPORTED" value="true" />
# </XML>
# <codeStyleSettings language="CSS">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# <codeStyleSettings language="JavaScript">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# <codeStyleSettings language="PHP">
# <option name="KEEP_BLANK_LINES_IN_DECLARATIONS" value="1" />
# <option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
# <option name="KEEP_BLANK_LINES_BEFORE_RBRACE" value="0" />
# <option name="ALIGN_MULTILINE_ARRAY_INITIALIZER_EXPRESSION" value="true" />
# <option name="IF_BRACE_FORCE" value="3" />
# <option name="DOWHILE_BRACE_FORCE" value="3" />
# <option name="WHILE_BRACE_FORCE" value="3" />
# <option name="FOR_BRACE_FORCE" value="3" />
# </codeStyleSettings>
# <codeStyleSettings language="SQL">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# <codeStyleSettings language="XML">
# <indentOptions>
# <option name="INDENT_SIZE" value="3" />
# <option name="CONTINUATION_INDENT_SIZE" value="3" />
# <option name="TAB_SIZE" value="3" />
# <option name="USE_TAB_CHARACTER" value="true" />
# </indentOptions>
# </codeStyleSettings>
# </value>
# </option>
# <option name="USE_PER_PROJECT_SETTINGS" value="true" />
# </component>
#</project>

57 changes: 57 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Autodetect most text files
* text=auto

# Definitively text files
*.TXT text
*.bat text
*.cms text
*.config text
*.crt text
*.css text
*.csv text
*.editfrom text
*.hdf text
*.htm text
*.html text
*.ini text
*.java text
*.js text
*.log text
*.php text
*.plist text
*.pre text
*.properties text
*.sh text
*.sql text
*.tpl text
*.txt text
*.xml text
*.xsd text

# Ensure those won't be messed up with
*.class binary
*.dat binary
*.db binary
*.dll binary
*.exe binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.swf binary
*.tar binary
*.tcp binary
*.ttf binary
*.wav binary
*.zip binary
*.lcd binary
*.mp3 binary
*.mp4 binary
*.png binary
*.xap binary
*.rws binary
*.multi binary
*.mf binary
*.kbd binary
*.aiml binary
*.alias binary
117 changes: 117 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
; Similar to stuff defined in sources/files.php, but defined in terms of what we want never to be in git
*.bak
._*
test_a
/safe_mode_temp/*.dat
/sources_custom/user_sync__customise.php
/www.pid
.DS_Store
*.lcd
*.tcp
*.tcd
*.gcd
/themes/*/templates_cached/*/*.js
/themes/*/templates_cached/*/*.css
/themes/*/templates_cached/*/*.tcp
/themes/*/templates_cached/*/*.gz
/data_custom/*log.php
/exports/*/*.tar
/exports/builds/*/*
/imports/*/*.tar
/data_custom/modules/chat/*.dat
/data_custom/modules/admin_stats/*.xml
/cms_sitemap.xml
/*.clpprj
/*.tmproj
/.project
/data_custom/latest_activity.txt
/hphp-static-cache
/hphp.files.list
/hphp
/*.dll
tmpfile__*
*.tmp
*~
/_vti*
*.log
error_log
thumbs.db
thumbs.db:encrypted
.ds_store
_old
gibb
gibberish
/bingsiteauth.xml
php.ini
/*.shtml
/uploads/auto_thumbs/*
/uploads/*/*__*.png
images_custom/*/*__*.png
default/images/*/*__*.png
/uploads/*/*__*.jpg
images_custom/*/*__*.jpg
default/images/*/*__*.jpg
/uploads/*/*__*.jpeg
images_custom/*/*__*.jpeg
default/images/*/*__*.jpeg

; The matched files should be blocked for the main Composr dev repository but not for Composr projects
/.htaccess
.idea
/data_custom/modules/google_appengine/*
!/data_custom/modules/google_appengine/index.html
/cron.yaml
/dos.yaml
/queue.yaml
/iirf.ini
/docs/api
*test.png
/info.php
/_config.php
/uploads/*/*
!/uploads/*/index.html
!/uploads/*/.htaccess
!/uploads/website_specific/*.csv
!/uploads/website_specific/*.sql
!/uploads/website_specific/compo.sr
/uploads/website_specific/compo.sr/private.pem
/uploads/website_specific/compo.sr/public.pem
; themes/[abcefghijklmnopqrstuvwxyz0123456789]*
*.[1234567890][1234567890][1234567890]*
pages/comcode_custom/*/*.txt
*/pages/comcode_custom/*/*.txt
!docs/pages/comcode_custom/*.txt
!adminzone/pages/comcode_custom/EN/comcode_whitelist.txt
!adminzone/pages/comcode_custom/EN/insults.txt
!adminzone/pages/comcode_custom/EN/referrals.txt
!adminzone/pages/comcode_custom/EN/website.txt
!buildr/pages/comcode_custom/EN/docs.txt
!buildr/pages/comcode_custom/EN/rules.txt
!buildr/pages/comcode_custom/EN/start.txt
!pages/comcode_custom/EN/_google_search.txt
!pages/comcode_custom/EN/_unslider_slide1.txt
!pages/comcode_custom/EN/_unslider_slide2.txt
!pages/comcode_custom/EN/_unslider_slide3.txt
!pages/comcode_custom/EN/_unslider_slide4.txt
!pages/comcode_custom/EN/_unslider_slide5.txt
!pages/comcode_custom/EN/_unslider_slide6.txt
!pages/comcode_custom/EN/keymap.txt
!pages/comcode_custom/EN/panel_right.txt
!pages/comcode_custom/EN/rules.txt
!site/pages/comcode_custom/EN/topsites.txt
pages/html_custom/*/*.htm
*/pages/html_custom/*/*.htm
/data_custom/spelling/personal_dicts/*.pws
/data_custom/spelling/personal_dicts/*.pwl
/themes/default/images_custom/*logo.png
/_tests/codechecker/functions.dat
/if_hosted_service.txt
/.htpasswd
/robots.txt
/closed.html
/closed.html.old
/sites
/db.sql
*.tempfile
/data_custom/modules/user_export/out.csv
/data_custom/execute_temp.php
26 changes: 26 additions & 0 deletions _config.php.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php
global $SITE_INFO;
$SITE_INFO['default_lang']='EN';
$SITE_INFO['db_type']='mysql';
$SITE_INFO['forum_type']='cns';
$SITE_INFO['domain']='{DOMAIN}';
$SITE_INFO['base_url']='{BASE_URL}';
$SITE_INFO['table_prefix']='cms_';
$SITE_INFO['admin_password']='{ADMIN_PASSWORD}';
$SITE_INFO['use_persistent']='0';
$SITE_INFO['db_site']='{DB_SITE}';
$SITE_INFO['db_site_host']='localhost';
$SITE_INFO['db_site_user']='{DB_SITE_USER}';
$SITE_INFO['db_site_password']='{DB_SITE_PASSWORD}';
$SITE_INFO['user_cookie']='cms_member_id';
$SITE_INFO['pass_cookie']='cms_member_hash';
$SITE_INFO['cookie_domain']='';
$SITE_INFO['cookie_path']='/';
$SITE_INFO['cookie_days']='120';
$SITE_INFO['db_forums']='{DB_SITE}';
$SITE_INFO['db_forums_host']='localhost';
$SITE_INFO['db_forums_user']='{DB_SITE_USER}';
$SITE_INFO['db_forums_password']='{DB_SITE_PASSWORD}';
$SITE_INFO['cns_table_prefix']='cms_';
$SITE_INFO['self_learning_cache'] = '1';

3 changes: 3 additions & 0 deletions _tests/cmstest/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
order deny,allow
deny from all

Loading

0 comments on commit f398162

Please sign in to comment.