Permalink
Browse files

Updated to version 2.0.0

  • Loading branch information...
1 parent f0a1c73 commit 9ebd6bebdccc28c2624eed95217c38d9bd26fe49 @TimPietrusky committed Dec 10, 2013
Showing with 17,008 additions and 1 deletion.
  1. +2 −1 .gitignore
  2. +26 −0 .jshintrc
  3. +8 −0 CHANGELOG.md
  4. +314 −0 Gruntfile.js
  5. 0 README.md
  6. +38 −0 app/.htaccess
  7. +159 −0 app/api/code/Fonts.php
  8. +108 −0 app/api/code/Leet.php
  9. +83 −0 app/api/code/Request.php
  10. +378 −0 app/api/code/php-ga/GoogleAnalytics/Campaign.php
  11. +295 −0 app/api/code/php-ga/GoogleAnalytics/Config.php
  12. +180 −0 app/api/code/php-ga/GoogleAnalytics/CustomVariable.php
  13. +169 −0 app/api/code/php-ga/GoogleAnalytics/Event.php
  14. +39 −0 app/api/code/php-ga/GoogleAnalytics/Exception.php
  15. +536 −0 app/api/code/php-ga/GoogleAnalytics/Internals/ParameterHolder.php
  16. +109 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/EventRequest.php
  17. +239 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/HttpRequest.php
  18. +106 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/ItemRequest.php
  19. +108 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/PageviewRequest.php
  20. +363 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/Request.php
  21. +82 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/SocialInteractionRequest.php
  22. +108 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Request/TransactionRequest.php
  23. +105 −0 app/api/code/php-ga/GoogleAnalytics/Internals/Util.php
  24. +331 −0 app/api/code/php-ga/GoogleAnalytics/Internals/X10.php
  25. +180 −0 app/api/code/php-ga/GoogleAnalytics/Item.php
  26. +172 −0 app/api/code/php-ga/GoogleAnalytics/Page.php
  27. +161 −0 app/api/code/php-ga/GoogleAnalytics/Session.php
  28. +123 −0 app/api/code/php-ga/GoogleAnalytics/SocialInteraction.php
  29. +344 −0 app/api/code/php-ga/GoogleAnalytics/Tracker.php
  30. +252 −0 app/api/code/php-ga/GoogleAnalytics/Transaction.php
  31. +463 −0 app/api/code/php-ga/GoogleAnalytics/Visitor.php
  32. +167 −0 app/api/code/php-ga/LICENSE
  33. +16 −0 app/api/code/php-ga/autoload.php
  34. +5 −0 app/api/fonts/.htaccess
  35. +34 −0 app/api/fonts/brandico/brandico-extract.json
  36. +1 −0 app/api/fonts/brandico/brandico-min.css
  37. +40 −0 app/api/fonts/brandico/brandico.css
  38. BIN app/api/fonts/brandico/brandico.eot
  39. +153 −0 app/api/fonts/brandico/brandico.svg
  40. BIN app/api/fonts/brandico/brandico.ttf
  41. BIN app/api/fonts/brandico/brandico.woff
  42. +58 −0 app/api/fonts/build.js
  43. +2 −0 app/api/fonts/christmas/christmas.css
  44. BIN app/api/fonts/christmas/christmas.woff
  45. +286 −0 app/api/fonts/entypo/entypo-extract.json
  46. +1 −0 app/api/fonts/entypo/entypo-min.css
  47. +290 −0 app/api/fonts/entypo/entypo.css
  48. BIN app/api/fonts/entypo/entypo.eot
  49. +834 −0 app/api/fonts/entypo/entypo.svg
  50. BIN app/api/fonts/entypo/entypo.ttf
  51. BIN app/api/fonts/entypo/entypo.woff
  52. +60 −0 app/api/fonts/extract.js
  53. +1 −0 app/api/fonts/extract.txt
  54. +251 −0 app/api/fonts/fontawesome/fontawesome-extract.json
  55. +1 −0 app/api/fonts/fontawesome/fontawesome-min.css
  56. BIN app/api/fonts/fontawesome/fontawesome-webfont.eot
  57. +284 −0 app/api/fonts/fontawesome/fontawesome-webfont.svg
  58. BIN app/api/fonts/fontawesome/fontawesome-webfont.ttf
  59. BIN app/api/fonts/fontawesome/fontawesome-webfont.woff
  60. +289 −0 app/api/fonts/fontawesome/fontawesome.css
  61. +32 −0 app/api/fonts/fontelico/fontelico-extract.json
  62. +1 −0 app/api/fonts/fontelico/fontelico-min.css
  63. +38 −0 app/api/fonts/fontelico/fontelico.css
  64. BIN app/api/fonts/fontelico/fontelico.eot
  65. +146 −0 app/api/fonts/fontelico/fontelico.svg
  66. BIN app/api/fonts/fontelico/fontelico.ttf
  67. BIN app/api/fonts/fontelico/fontelico.woff
  68. BIN app/api/fonts/iconicfill/iconic_fill.eot
  69. +539 −0 app/api/fonts/iconicfill/iconic_fill.svg
  70. BIN app/api/fonts/iconicfill/iconic_fill.ttf
  71. BIN app/api/fonts/iconicfill/iconic_fill.woff
  72. +1 −0 app/api/fonts/iconicfill/iconicfill-min.css
  73. +160 −0 app/api/fonts/iconicfill/iconicfill.css
  74. BIN app/api/fonts/iconicstroke/iconic_stroke.eot
  75. +553 −0 app/api/fonts/iconicstroke/iconic_stroke.svg
  76. BIN app/api/fonts/iconicstroke/iconic_stroke.ttf
  77. BIN app/api/fonts/iconicstroke/iconic_stroke.woff
  78. +1 −0 app/api/fonts/iconicstroke/iconicstroke-min.css
  79. +160 −0 app/api/fonts/iconicstroke/iconicstroke.css
  80. +65 −0 app/api/fonts/maki/maki-extract.json
  81. +1 −0 app/api/fonts/maki/maki-min.css
  82. +72 −0 app/api/fonts/maki/maki.css
  83. BIN app/api/fonts/maki/maki.eot
  84. +209 −0 app/api/fonts/maki/maki.svg
  85. BIN app/api/fonts/maki/maki.ttf
  86. BIN app/api/fonts/maki/maki.woff
  87. +1 −0 app/api/fonts/meteocons/meteocons-min.css
  88. BIN app/api/fonts/meteocons/meteocons-webfont.eot
  89. +81 −0 app/api/fonts/meteocons/meteocons-webfont.svg
  90. BIN app/api/fonts/meteocons/meteocons-webfont.ttf
  91. BIN app/api/fonts/meteocons/meteocons-webfont.woff
  92. +11 −0 app/api/fonts/meteocons/meteocons.css
  93. BIN app/api/fonts/modernpictograms/modernpics-webfont.eot
  94. +139 −0 app/api/fonts/modernpictograms/modernpics-webfont.svg
  95. BIN app/api/fonts/modernpictograms/modernpics-webfont.ttf
  96. BIN app/api/fonts/modernpictograms/modernpics-webfont.woff
  97. +1 −0 app/api/fonts/modernpictograms/modernpictograms-min.css
  98. +105 −0 app/api/fonts/modernpictograms/modernpictograms.css
  99. +50 −0 app/api/fonts/openwebicons/openwebicons-extract.json
  100. +1 −0 app/api/fonts/openwebicons/openwebicons-min.css
  101. +48 −0 app/api/fonts/openwebicons/openwebicons.css
  102. BIN app/api/fonts/openwebicons/openwebicons.eot
  103. +74 −0 app/api/fonts/openwebicons/openwebicons.svg
  104. BIN app/api/fonts/openwebicons/openwebicons.ttf
  105. BIN app/api/fonts/openwebicons/openwebicons.woff
  106. +1 −0 app/api/fonts/sosa/sosa-min.css
  107. +118 −0 app/api/fonts/sosa/sosa.css
  108. BIN app/api/fonts/sosa/sosa.eot
  109. +242 −0 app/api/fonts/sosa/sosa.svg
  110. BIN app/api/fonts/sosa/sosa.ttf
  111. BIN app/api/fonts/sosa/sosa.woff
  112. +1 −0 app/api/fonts/stateface/stateface-min.css
  113. BIN app/api/fonts/stateface/stateface-regular-webfont.eot
  114. +95 −0 app/api/fonts/stateface/stateface-regular-webfont.svg
  115. BIN app/api/fonts/stateface/stateface-regular-webfont.ttf
  116. BIN app/api/fonts/stateface/stateface-regular-webfont.woff
  117. +218 −0 app/api/fonts/stateface/stateface.css
  118. +89 −0 app/api/fonts/typicons/typicons-extract.json
  119. +1 −0 app/api/fonts/typicons/typicons-min.css
  120. BIN app/api/fonts/typicons/typicons-regular-webfont.eot
  121. +159 −0 app/api/fonts/typicons/typicons-regular-webfont.svg
  122. BIN app/api/fonts/typicons/typicons-regular-webfont.ttf
  123. BIN app/api/fonts/typicons/typicons-regular-webfont.woff
  124. +98 −0 app/api/fonts/typicons/typicons.css
  125. +1 −0 app/api/fonts/websymbols/websymbols-min.css
  126. BIN app/api/fonts/websymbols/websymbols-regular-webfont.eot
  127. +108 −0 app/api/fonts/websymbols/websymbols-regular-webfont.svg
  128. BIN app/api/fonts/websymbols/websymbols-regular-webfont.ttf
  129. BIN app/api/fonts/websymbols/websymbols-regular-webfont.woff
  130. +16 −0 app/api/fonts/websymbols/websymbols.css
  131. +96 −0 app/api/fonts/zocial/zocial-extract.json
  132. +1 −0 app/api/fonts/zocial/zocial-min.css
  133. BIN app/api/fonts/zocial/zocial-regular-webfont.eot
  134. +145 −0 app/api/fonts/zocial/zocial-regular-webfont.svg
  135. BIN app/api/fonts/zocial/zocial-regular-webfont.ttf
  136. BIN app/api/fonts/zocial/zocial-regular-webfont.woff
  137. +100 −0 app/api/fonts/zocial/zocial.css
  138. +60 −0 app/api/index.php
  139. +358 −0 app/index.html
  140. +1 −0 app/skin/css/style.css
  141. 0 app/skin/fonts/.gitignore
  142. BIN app/skin/img/favicon.ico
  143. BIN app/skin/img/weloveiconfonts.ico
  144. BIN app/skin/img/weloveiconfonts.jpg
  145. BIN app/skin/img/weloveiconfonts_dribbble.jpg
  146. BIN app/skin/img/weloveiconfonts_dribbble_iconfont_nav.jpg
  147. 0 app/skin/js/.gitignore
  148. +13 −0 app/skin/js/scripts.min.js
  149. +30 −0 package.json
  150. +326 −0 src/js/core/main.js
  151. +85 −0 src/js/scripts.js
  152. +1,431 −0 src/js/vendor/backbone.js
  153. +2 −0 src/js/vendor/ga.js
  154. +6 −0 src/js/vendor/jquery-1.10.2.min.js
  155. +5 −0 src/js/vendor/libs.js
  156. +1,200 −0 src/js/vendor/underscore.js
  157. +254 −0 src/scss/core/_crystallo.scss
  158. +21 −0 src/scss/core/_hitman.scss
  159. +504 −0 src/scss/core/_weloveiconfonts.scss
  160. +21 −0 src/scss/modules/_app.scss
  161. 0 src/scss/modules/_breakpoints.scss
  162. 0 src/scss/modules/_buttons.scss
  163. +20 −0 src/scss/modules/_code.scss
  164. +10 −0 src/scss/modules/_defaults.scss
  165. +111 −0 src/scss/modules/_fonts.scss
  166. 0 src/scss/modules/_inputs.scss
  167. +9 −0 src/scss/modules/_lists.scss
  168. +37 −0 src/scss/modules/_misc.scss
  169. +51 −0 src/scss/modules/_print.scss
  170. +50 −0 src/scss/modules/_typography.scss
  171. +20 −0 src/scss/modules/_vars.scss
  172. +51 −0 src/scss/style.scss
View
3 .gitignore 100644 → 100755
@@ -1,3 +1,4 @@
.sass-cache/
sftp-config.json
-
+.ftppass
+node_modules/
View
@@ -0,0 +1,26 @@
+{
+ "node": true,
+ "browser": true,
+ "es5": true,
+ "esnext": true,
+ "bitwise": true,
+ "camelcase": true,
+ "curly": true,
+ "eqeqeq": true,
+ "immed": true,
+ "indent": 2,
+ "latedef": true,
+ "newcap": true,
+ "noarg": true,
+ "quotmark": "single",
+ "regexp": true,
+ "undef": true,
+ "unused": true,
+ "strict": true,
+ "trailing": false,
+ "smarttabs": true,
+ "globals" : {
+ "jQuery": true,
+ "Modernizr": true
+ }
+}
View
@@ -0,0 +1,8 @@
+# Changelog
+
+## 2.0.0 (10 December 2013)
+
+* Added Changelog
+* Added grunt support
+* Added new UI
+* Fixed some bugs
View
@@ -0,0 +1,314 @@
+/*!
+ * http://timpietrusky.com
+ * @author Tim Pietrusky
+ */
+
+'use strict';
+
+/**
+ * Livereload and connect variables
+ */
+var LIVERELOAD_PORT = 35729;
+var lrSnippet = require('connect-livereload')({
+ port: LIVERELOAD_PORT
+});
+var mountFolder = function (connect, dir) {
+ return connect.static(require('path').resolve(dir));
+};
+
+/**
+ * Grunt module
+ */
+module.exports = function (grunt) {
+
+ /**
+ * Dynamically load npm tasks
+ */
+ require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks);
+
+ /**
+ * FireShell Grunt config
+ */
+ grunt.initConfig({
+
+ pkg: grunt.file.readJSON('package.json'),
+
+
+
+
+
+ /**
+ * Set project info
+ */
+ project: {
+ src: 'src',
+ src_js_vendor : '<%= project.src %>/js/vendor',
+ app: 'app',
+ skin: '<%= project.app %>/skin',
+ css: [
+ '<%= project.src %>/scss/style.scss'
+ ],
+ js: [
+ '<%= project.src %>/js/vendor/libs.js',
+ '<%= project.src %>/js/vendor/ga.js',
+ '<%= project.src %>/js/core/*.js',
+ '<%= project.src %>/js/*.js'
+ ]
+ },
+
+
+
+
+
+ /**
+ * Project banner
+ * Dynamically appended to CSS/JS files
+ * Inherits text from package.json
+ */
+ tag: {
+ banner: '/*!\n' +
+ ' * <%= pkg.name %>\n' +
+ ' * <%= pkg.title %>\n' +
+ ' * <%= pkg.url %>\n' +
+ ' * @author <%= pkg.author %>\n' +
+ ' * @version <%= pkg.version %>\n' +
+ ' * Copyright <%= pkg.copyright %>. <%= pkg.license %> licensed.\n' +
+ ' */\n'
+ },
+
+
+
+
+
+ /**
+ * Connect port/livereload
+ * https://github.com/gruntjs/grunt-contrib-connect
+ * Starts a local webserver and injects
+ * livereload snippet
+ */
+ connect: {
+ options: {
+ port: '9000',
+ hostname: '*'
+ },
+ livereload: {
+ options: {
+ middleware: function (connect) {
+ return [lrSnippet, mountFolder(connect, 'app')];
+ }
+ }
+ }
+ },
+
+
+
+
+
+ /**
+ * JSHint
+ * https://github.com/gruntjs/grunt-contrib-jshint
+ * Manage the options inside .jshintrc file
+ */
+ jshint: {
+ files: ['src/js/*.js'],
+ options: {
+ jshintrc: '.jshintrc'
+ }
+ },
+
+
+
+
+
+ /**
+ * Concatenate JavaScript files
+ * https://github.com/gruntjs/grunt-contrib-concat
+ * Imports all .js files and appends project banner
+ */
+ concat: {
+ options: {
+ stripBanners: true,
+ nonull: true,
+ banner: '<%= tag.banner %>'
+ },
+ dev: {
+ files: {
+ '<%= project.skin %>/js/scripts.min.js': '<%= project.js %>'
+ }
+ }
+ },
+
+
+
+
+
+ /**
+ * Uglify (minify) JavaScript files
+ * https://github.com/gruntjs/grunt-contrib-uglify
+ * Compresses and minifies all JavaScript files into one
+ */
+ uglify: {
+ options: {
+ banner: "<%= tag.banner %>"
+ },
+ dist: {
+ files: {
+ '<%= project.skin %>/js/scripts.min.js': '<%= project.js %>'
+ }
+ }
+ },
+
+
+
+
+
+ /**
+ * Compile Sass/SCSS files
+ * https://github.com/gruntjs/grunt-contrib-sass
+ * Compiles all Sass/SCSS files and appends project banner
+ */
+ compass: {
+ dev: {
+ options: {
+ sassDir: '<%= project.src %>/scss',
+ cssDir: '<%= project.skin %>/css',
+ watch: true
+ }
+ },
+ dist: {
+ options: {
+ sassDir: '<%= project.src %>/scss',
+ cssDir: '<%= project.skin %>/css',
+ outputStyle: 'compressed',
+ environment: 'production'
+ }
+ }
+ },
+
+
+
+
+
+ /**
+ * Opens the web server in the browser
+ * https://github.com/jsoverson/grunt-open
+ */
+ open: {
+ server: {
+ path: 'http://weloveiconfonts.local'
+ }
+ },
+
+
+
+
+
+ /**
+ * Runs tasks against changed watched files
+ * https://github.com/gruntjs/grunt-contrib-watch
+ * Watching development files and run concat/compile tasks
+ * Livereload the browser once complete
+ */
+ watch: {
+ concat: {
+ files: '<%= project.src %>/js/{,*/}*.js',
+ tasks: ['concat:dev', 'jshint']
+ },
+ livereload: {
+ options: {
+ livereload: LIVERELOAD_PORT
+ },
+ files: [
+ '<%= project.app %>/{,*/}*.html',
+ '<%= project.skin %>/css/*.css',
+ '<%= project.skin %>/js/{,*/}*.js',
+ '<%= project.skin %>/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
+ ]
+ }
+ },
+
+
+
+
+
+ /*
+ * We use "compass watch" and "watch" at the same time
+ */
+ concurrent: {
+ target1: ['compass', 'watch']
+ },
+
+
+
+
+
+ /*
+ * Deploy to a server with FTP
+ */
+ ftpush: {
+ build: {
+ auth: {
+ host: '185.21.101.189',
+ port: 21,
+ authKey: 'key1'
+ },
+ src: 'app',
+ dest: '/var/www/beta.weloveiconfonts.com',
+ exclusions: ['app/.gitignore']
+ }
+ },
+
+
+
+
+
+ /*
+ * Deploy to a server with SFTP
+ */
+ 'sftp-deploy': {
+ build: {
+ auth: {
+ host: '185.21.101.189',
+ port: 22,
+ authKey: 'key1'
+ },
+ src: 'app',
+ dest: '/var/www/beta.weloveiconfonts.com',
+ exclusions: ['app/.gitignore'],
+ server_sep: '/'
+ }
+ },
+ });
+
+
+
+
+
+ /**
+ * Default task
+ * Run `grunt` on the command line
+ */
+ grunt.registerTask('default', [
+ 'jshint',
+ 'connect:livereload',
+ 'open',
+ 'concurrent:target1'
+ ]);
+
+
+
+
+
+ /**
+ * Build task
+ * Run `grunt build` on the command line
+ * Then compress all JS/CSS files
+ */
+ grunt.registerTask('build', [
+ 'compass:dist',
+ 'jshint',
+ 'uglify',
+ 'sftp-deploy'
+ ]);
+
+};
View
0 README.md 100644 → 100755
No changes.
View
@@ -0,0 +1,38 @@
+<IfModule mod_rewrite.c>
+ #RewriteEngine On
+
+ #RewriteCond %{HTTP_HOST} ^api\.
+ #RewriteCond %{REQUEST_URI} !^/api/$ [NC]
+ #RewriteCond %{REQUEST_FILENAME} !-f
+ #RewriteRule (.*) /api/$1 [L]
+
+ #RewriteCond %{HTTP_HOST} ^/api
+ #RewriteCond %{REQUEST_URI} !/api/$ [NC]
+ #RewriteCond %{REQUEST_FILENAME} !-f
+ #RewriteRule (.*) /api/$1 [L]
+
+ RewriteEngine On
+ RewriteBase /
+ RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
+ RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
+
+</IfModule>
+
+
+<IfModule mod_deflate.c>
+
+ # Compression
+ AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/javascript
+
+</IfModule>
+
+
+<IfModule mod_expires.c>
+
+ ## Expire after some time
+ <FilesMatch "\.(jpg|jpeg|gif|png|css|woff|js|eot|svg|ttf)$">
+ ExpiresActive on
+ ExpiresDefault "access plus 1 month"
+ </FilesMatch>
+
+</IfModule>
Oops, something went wrong.

0 comments on commit 9ebd6be

Please sign in to comment.