Permalink
Browse files

add everything

  • Loading branch information...
1 parent df6b7ae commit a046a2030ef600c54d35b75e9bbdc079108befbe @frodeknutsen frodeknutsen committed Jan 2, 2016
Showing with 11,981 additions and 341 deletions.
  1. +4 −0 .bowerrc
  2. +1 −0 .gitattributes
  3. +16 −1 .gitignore
  4. +163 −0 Gruntfile.js
  5. +21 −340 LICENSE
  6. +45 −0 app/assets/js/destiny.js
  7. +512 −0 app/assets/sass/_account.scss
  8. +185 −0 app/assets/sass/_advisors.scss
  9. +108 −0 app/assets/sass/_grimoire.scss
  10. +18 −0 app/assets/sass/_mixins.scss
  11. +64 −0 app/assets/sass/_progressbar.scss
  12. +167 −0 app/assets/sass/_scaffolding.scss
  13. +40 −0 app/assets/sass/_variables.scss
  14. +59 −0 app/assets/sass/destiny.scss
  15. 0 app/commands/.gitkeep
  16. +190 −0 app/commands/DestinyManifestCommand.php
  17. +63 −0 app/commands/DestinyVersionCommand.php
  18. 0 app/controllers/.gitkeep
  19. +49 −0 app/controllers/AccountController.php
  20. +18 −0 app/controllers/BaseController.php
  21. +43 −0 app/controllers/HomeController.php
  22. 0 app/database/migrations/.gitkeep
  23. 0 app/database/production.sqlite
  24. 0 app/database/seeds/.gitkeep
  25. +17 −0 app/database/seeds/DatabaseSeeder.php
  26. +120 −0 app/destiny.php
  27. +72 −0 app/destiny/Account.php
  28. +55 −0 app/destiny/AccountStatistics.php
  29. +116 −0 app/destiny/Advisors.php
  30. +35 −0 app/destiny/Advisors/Activity.php
  31. +35 −0 app/destiny/Advisors/ActivityLevel.php
  32. +67 −0 app/destiny/Advisors/Arena.php
  33. +16 −0 app/destiny/Advisors/ArenaCollection.php
  34. +38 −0 app/destiny/Advisors/ArenaRound.php
  35. +56 −0 app/destiny/Advisors/Event.php
  36. +53 −0 app/destiny/Advisors/Reward.php
  37. +280 −0 app/destiny/Character.php
  38. +119 −0 app/destiny/Character/Activity.php
  39. +198 −0 app/destiny/Character/ActivityCollection.php
  40. +169 −0 app/destiny/Character/Inventory.php
  41. +80 −0 app/destiny/Character/InventoryBucket.php
  42. +241 −0 app/destiny/Character/InventoryItem.php
  43. +10 −0 app/destiny/Character/InventoryItemCollection.php
  44. +26 −0 app/destiny/Character/Perk.php
  45. +116 −0 app/destiny/Character/Progression.php
  46. +116 −0 app/destiny/Character/ProgressionCollection.php
  47. +21 −0 app/destiny/Character/Stat.php
  48. +15 −0 app/destiny/Character/StatCollection.php
  49. +42 −0 app/destiny/Character/Statistics.php
  50. +18 −0 app/destiny/CharacterCollection.php
  51. +16 −0 app/destiny/Collection.php
  52. +19 −0 app/destiny/Currency.php
  53. +13 −0 app/destiny/CurrencyCollection.php
  54. +76 −0 app/destiny/Definitions/Activity.php
  55. +35 −0 app/destiny/Definitions/ActivityBundle.php
  56. +53 −0 app/destiny/Definitions/ActivityType.php
  57. +17 −0 app/destiny/Definitions/CharacterClass.php
  58. +17 −0 app/destiny/Definitions/Definition.php
  59. +19 −0 app/destiny/Definitions/Destination.php
  60. +14 −0 app/destiny/Definitions/DirectorBook.php
  61. +12 −0 app/destiny/Definitions/EnemyRace.php
  62. +11 −0 app/destiny/Definitions/Gender.php
  63. +8 −0 app/destiny/Definitions/Grimoire.php
  64. +17 −0 app/destiny/Definitions/GrimoireCard.php
  65. +17 −0 app/destiny/Definitions/HistoricalStats.php
  66. +17 −0 app/destiny/Definitions/InventoryBucket.php
  67. +65 −0 app/destiny/Definitions/InventoryItem.php
  68. +20 −0 app/destiny/Definitions/Perk.php
  69. +11 −0 app/destiny/Definitions/Place.php
  70. +12 −0 app/destiny/Definitions/Progression.php
  71. +9 −0 app/destiny/Definitions/Race.php
  72. +13 −0 app/destiny/Definitions/SandboxPerk.php
  73. +12 −0 app/destiny/Definitions/ScriptedSkull.php
  74. +5 −0 app/destiny/Definitions/SpecialEvent.php
  75. +13 −0 app/destiny/Definitions/Stat.php
  76. +125 −0 app/destiny/Destiny.php
  77. +127 −0 app/destiny/DestinyClient.php
  78. +309 −0 app/destiny/DestinyManifest.php
  79. +128 −0 app/destiny/DestinyPlatform.php
  80. +83 −0 app/destiny/DestinyRequest.php
  81. +129 −0 app/destiny/Grimoire.php
  82. +219 −0 app/destiny/Grimoire/Card.php
  83. +18 −0 app/destiny/Grimoire/CardCollection.php
  84. +36 −0 app/destiny/Grimoire/CardStatus.php
  85. +22 −0 app/destiny/Grimoire/CardStatusCollection.php
  86. +40 −0 app/destiny/Grimoire/Image.php
  87. +23 −0 app/destiny/Grimoire/Model.php
  88. +43 −0 app/destiny/Grimoire/Page.php
  89. +19 −0 app/destiny/Grimoire/PageCollection.php
  90. +86 −0 app/destiny/Grimoire/Rank.php
  91. +25 −0 app/destiny/Grimoire/RankCollection.php
  92. +81 −0 app/destiny/Grimoire/Statistic.php
  93. +25 −0 app/destiny/Grimoire/StatisticCollection.php
  94. +33 −0 app/destiny/Grimoire/Theme.php
  95. +19 −0 app/destiny/Grimoire/ThemeCollection.php
  96. +147 −0 app/destiny/Model.php
  97. +78 −0 app/destiny/Player.php
  98. +18 −0 app/destiny/PlayerCollection.php
  99. +34 −0 app/destiny/ServiceProvider.php
  100. +10 −0 app/destiny/Skull.php
  101. +32 −0 app/destiny/Statistic.php
  102. +85 −0 app/destiny/StatisticsCollection.php
  103. +130 −0 app/filters.php
  104. +217 −0 app/helpers.php
  105. +20 −0 app/lang/en/pagination.php
  106. +24 −0 app/lang/en/reminders.php
  107. +55 −0 app/lang/en/stats.php
  108. +11 −0 app/lang/en/time.php
  109. +104 −0 app/lang/en/validation.php
  110. +17 −0 app/routes.php
  111. +15 −0 app/start/artisan.php
  112. +64 −0 app/start/global.php
  113. +3 −0 app/start/local.php
  114. +1 −0 app/storage/.gitignore
  115. +2 −0 app/storage/cache/.gitignore
  116. +2 −0 app/storage/debugbar/.gitignore
  117. +2 −0 app/storage/logs/.gitignore
  118. +2 −0 app/storage/meta/.gitignore
  119. +2 −0 app/storage/sessions/.gitignore
  120. +2 −0 app/storage/views/.gitignore
  121. +19 −0 app/tests/TestCase.php
  122. +7 −0 app/views/404.blade.php
  123. +178 −0 app/views/account.blade.php
  124. +29 −0 app/views/block/activity.blade.php
  125. +73 −0 app/views/block/advisor.blade.php
  126. +54 −0 app/views/block/arena.blade.php
  127. +38 −0 app/views/block/bucket.blade.php
  128. +10 −0 app/views/block/currency.blade.php
  129. +21 −0 app/views/block/plate.blade.php
  130. +19 −0 app/views/block/player.blade.php
  131. +16 −0 app/views/block/progress.blade.php
  132. +17 −0 app/views/block/progression.blade.php
  133. +274 −0 app/views/block/stats.blade.php
  134. +13 −0 app/views/block/timespan.blade.php
  135. +9 −0 app/views/block/weekly.blade.php
  136. +13 −0 app/views/character.blade.php
  137. +17 −0 app/views/error.blade.php
  138. +68 −0 app/views/grimoire.blade.php
  139. +73 −0 app/views/index.blade.php
  140. +89 −0 app/views/layout.blade.php
  141. +37 −0 app/views/search.blade.php
  142. +20 −0 app/views/select.blade.php
  143. +74 −0 artisan
  144. +75 −0 bootstrap/autoload.php
  145. +57 −0 bootstrap/paths.php
  146. +82 −0 bootstrap/start.php
  147. +25 −0 bower.json
  148. +55 −0 composer.json
  149. +2,460 −0 composer.lock
  150. +26 −0 package.json
  151. +18 −0 phpunit.xml
  152. +73 −0 public/.htaccess
  153. +1 −0 public/css/bootstrap.css.map
  154. +5 −0 public/css/bootstrap.min.css
  155. +5 −0 public/css/destiny.css
  156. +7 −0 public/css/destiny.css.map
  157. BIN public/favicon.ico
  158. BIN public/fonts/FontAwesome.otf
  159. BIN public/fonts/fontawesome-webfont.eot
  160. +520 −0 public/fonts/fontawesome-webfont.svg
  161. BIN public/fonts/fontawesome-webfont.ttf
  162. BIN public/fonts/fontawesome-webfont.woff
  163. BIN public/fonts/glyphicons-halflings-regular.eot
  164. +229 −0 public/fonts/glyphicons-halflings-regular.svg
  165. BIN public/fonts/glyphicons-halflings-regular.ttf
  166. BIN public/fonts/glyphicons-halflings-regular.woff
  167. BIN public/img/arc.png
  168. BIN public/img/kinetic.png
  169. BIN public/img/logo.png
  170. BIN public/img/psn.png
  171. BIN public/img/solar.png
  172. BIN public/img/void.png
  173. BIN public/img/xbl.png
  174. +49 −0 public/index.php
  175. +11 −0 public/js/destiny.js
  176. 0 public/packages/.gitkeep
  177. +2 −0 public/robots.txt
  178. +28 −0 readme.md
View
@@ -0,0 +1,4 @@
+{
+ "analytics": false,
+ "directory": "app/assets/vendor"
+}
View
@@ -0,0 +1 @@
+* text=auto
View
@@ -1,4 +1,19 @@
+/.idea
+/.sass-cache
/bootstrap/compiled.php
+/vendor
+/node_modules
+/app/assets/vendor
+/app/config/local/*
+/app/config/**/*
+/public/data
+composer.phar
.env.*.php
.env.php
-.env
+.environment.php
+.version.php
+_ide_helper.php
+.DS_Store
+Thumbs.db
+/app/storage/cookies
+/app/database/manifest/*
View
@@ -0,0 +1,163 @@
+module.exports = function (grunt) {
+
+ var fs = require('fs');
+ var path = require('path');
+
+ grunt.util.linefeed = '\n';
+
+ grunt.initConfig({
+ pkg: grunt.file.readJSON('package.json'),
+ absPath: path.resolve(),
+ buildPath: 'app/assets/build',
+ vendorPath: 'app/assets/vendor',
+
+ /*
+ sass: {
+ options: {
+ sourceComments: 'none',
+ outputStyle: 'compressed',
+ sourceMap: true,
+ includePaths: [
+ 'app/assets/vendor',
+ 'app/assets/vendor/bootstrap/assets/stylesheets'
+ ]
+ },
+ destiny: {
+ files: {
+ 'public/css/destiny.css': 'app/assets/sass/destiny.scss'
+ }
+ }
+ },
+ */
+ compass: {
+ options: {
+ force: true,
+ sourcemap: true,
+ sassDir: 'app/assets/sass',
+ cssDir: 'public/css',
+ imagesPath: 'assets/img',
+ noLineComments: true,
+ outputStyle: 'compressed',
+ importPath: [
+ 'app/assets/vendor',
+ 'app/assets/vendor/bootstrap/assets/stylesheets'
+ ]
+ /*
+ sourceComments: 'none',
+ outputStyle: 'compressed',
+ sourceMap: true,
+ */
+ },
+ destiny: {
+ files: {
+ 'public/css/destiny.css': 'app/assets/sass/destiny.scss'
+ }
+ }
+ },
+
+ uglify: {
+ jquery: {
+ src: [
+ '<%= vendorPath %>/jquery/dist/jquery.js',
+ '<%= vendorPath %>/jquery-ui/ui/minified/core.min.js',
+ '<%= vendorPath %>/jquery-ui/ui/minified/widget.min.js',
+ '<%= vendorPath %>/jquery-ui/ui/minified/mouse.min.js',
+ '<%= vendorPath %>/jquery-ui/ui/minified/draggable.min.js',
+ '<%= vendorPath %>/jquery-ui/ui/minified/datepicker.min.js',
+ '<%= vendorPath %>/jquery-ui/ui/minified/sortable.min.js',
+ '<%= vendorPath %>/jquery-cookie/jquery.cookie.js',
+ '<%= vendorPath %>/jquery-mousewheel/jquery.mousewheel.js',
+ '<%= vendorPath %>/jquery-mcustomscrollbar/jquery.mCustomScrollbar.js',
+ '<%= vendorPath %>/jquery-placeholder/jquery.placeholder.js'
+ ],
+ dest: '<%= buildPath %>/js/jquery.min.js'
+ },
+ bootstrap: {
+ src: [
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/transition.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/alert.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/button.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/carousel.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/collapse.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/dropdown.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/modal.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/tooltip.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/popover.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/scrollspy.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/tab.js',
+ '<%= vendorPath %>/bootstrap/assets/javascripts/bootstrap/affix.js'
+ ],
+ dest: '<%= buildPath %>/js/bootstrap.min.js'
+ },
+ libs: {
+ src: [
+ '<%= vendorPath %>/greensock/src/minified/TimelineMax.min.js',
+ '<%= vendorPath %>/greensock/src/minified/TweenMax.min.js'
+ ],
+ dest: '<%= buildPath %>/js/libs.min.js'
+ },
+ destiny: {
+ src: [
+ 'app/assets/js/destiny.js'
+ ],
+ dest: '<%= buildPath %>/js/destiny.min.js'
+ }
+ },
+
+ concat: {
+ destiny: {
+ src: [
+ '<%= buildPath %>/js/jquery.min.js',
+ '<%= buildPath %>/js/bootstrap.min.js',
+ '<%= buildPath %>/js/libs.min.js',
+ '<%= buildPath %>/js/destiny.min.js'
+ ],
+ dest: 'public/js/destiny.js'
+ }
+ },
+
+ clean: ['<%= buildPath %>'],
+
+ watch: {
+ styles: {
+ files: ['app/assets/sass/**/*.{scss,sass}'],
+ tasks: 'build-css'
+ },
+ scripts: {
+ files: ['app/assets/js/**/*.js'],
+ tasks: 'build-js'
+ },
+ livereload: {
+ files: [
+ 'app/controllers/**/*.php',
+ 'app/views/**/*.php',
+ 'app/views/**/*.html',
+ 'app/assets/img/metadata.json',
+ 'app/*.php',
+ 'app/destiny/**/*.php',
+ 'app/destiny/*.php',
+ 'public/css/**',
+ 'public/js/**',
+ 'public/img/**',
+ 'public/fonts/**',
+ ],
+ options: {
+ livereload: true
+ }
+ }
+ }
+ });
+
+ grunt.loadNpmTasks('grunt-contrib-clean');
+ grunt.loadNpmTasks('grunt-contrib-concat');
+ grunt.loadNpmTasks('grunt-contrib-uglify');
+ grunt.loadNpmTasks('grunt-contrib-watch');
+ grunt.loadNpmTasks('grunt-contrib-sass');
+ grunt.loadNpmTasks('grunt-contrib-compass');
+
+ grunt.registerTask('default', ['watch']);
+ grunt.registerTask('build', ['build-css', 'build-js']);
+ grunt.registerTask('build-css', ['compass']);
+ grunt.registerTask('build-js', ['uglify', 'concat', 'clean']);
+ //grunt.registerTask('build-js', ['uglify', 'concat']);
+}
Oops, something went wrong.

0 comments on commit a046a20

Please sign in to comment.