web: Adding SQL and HTML bbcode

Revision 51
Adding SQL and HTML bbcode
Removing debug emails
Adding new Javascript build system
Adding hasimages image
Adding 4.0.7 uprade script
Finished fp_read and fp_popular
Updating FILEMODS
Modified showgroups to query for all profile fields, not just location (Will file a hook request once IB fixes tracker permissions)Changed Files:
[ul]
[li]vb4.facepunch.com/FILEMODS[/li][li]vb4.facepunch.com/fp/fp.less[/li][li]vb4.facepunch.com/fp/includes/bbcode.php[/li][li]vb4.facepunch.com/fp/includes/fp.php[/li][li]vb4.facepunch.com/fp_popular.php[/li][li]vb4.facepunch.com/fp_read.php[/li][li]vb4.facepunch.com/showgroups.php[/li][/ul]Added Files:
[ul]
[li]vb4.facepunch.com/fp/hasimages.png[/li][li]vb4.facepunch.com/fp/js/Facepunch/min/COPYRIGHT[/li][li]vb4.facepunch.com/fp/js/SyntaxHighlighter/shBrushLua.js[/li][li]vb4.facepunch.com/fp/js/buildjs.sh[/li][li]vb4.facepunch.com/fp/js/jQuery/tipsy/min/COPYRIGHT[/li][li]vb4.facepunch.com/fp/js/min.js[/li][li]vb4.facepunch.com/install/upgrade_407.php[/li][li]Array[/li][/ul]
Committed By John Du Hart

The amazing build system


if [ $1 = "nc" ] ; then

	echo "Building min.js"
	rm min.js
	touch min.js

	echo "`cat jQuery/tipsy/jquery.tipsy.js`" >> min.js
	echo "`cat XRegExp/XRegExp.js`" >> min.js
	echo "`cat SyntaxHighlighter/src/shCore.js`" >> min.js
	echo "`cat SyntaxHighlighter/src/shAutoloader.js`" >> min.js
	echo "`cat Facepunch/fp.js`" >> min.js

	echo "/* Built: `date` */" >> min.js

else

	echo "Compressing fp.js"
	java -jar ~/tools/yuicompressor.jar Facepunch/fp.js -o Facepunch/min/fp.min.js

	echo "Compressing tipsy"
	java -jar ~/tools/yuicompressor.jar jQuery/tipsy/jquery.tipsy.js -o jQuery/tipsy/min/jquery.tipsy.min.js

	echo "Compressing SH Brushes"
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/shBrushCpp.js -o SyntaxHighlighter/min/cpp.min.js
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/shBrushLua.js -o SyntaxHighlighter/min/lua.min.js
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/shBrushXml.js -o SyntaxHighlighter/min/xml.min.js
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/shBrushPhp.js -o SyntaxHighlighter/min/php.min.js
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/shBrushSql.js -o SyntaxHighlighter/min/sql.min.js

	echo "Compressing SH Core"
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/src/shCore.js -o SyntaxHighlighter/min/core.min.js
	java -jar ~/tools/yuicompressor.jar SyntaxHighlighter/src/shAutoloader.js -o SyntaxHighlighter/min/autoload.min.js
	java -jar ~/tools/yuicompressor.jar XRegExp/XRegExp.js -o XRegExp/min/xregexp.min.js

	echo "Building min.js"
	rm min.js
	touch min.js

	echo "`cat jQuery/tipsy/min/COPYRIGHT`" >> min.js
	echo "`cat jQuery/tipsy/min/jquery.tipsy.min.js`" >> min.js

	echo "`cat XRegExp/min/COPYRIGHT`" >> min.js
	echo "`cat XRegExp/min/xregexp.min.js`" >> min.js

	echo "`cat SyntaxHighlighter/min/COPYRIGHT`" >> min.js
	echo "`cat SyntaxHighlighter/min/core.min.js`" >> min.js
	echo "`cat SyntaxHighlighter/min/autoload.min.js`" >> min.js

	echo "`cat Facepunch/min/COPYRIGHT`" >> min.js
	echo "`cat Facepunch/min/fp.min.js`" >> min.js

	echo "/* Built: `date` */" >> min.js
fi

[editline]08:15PM[/editline]

Which puts this out

http://fpvb4.compwhizii.net/fp/js/min.js