Permalink
Browse files

Moved all non-core modules out, must be installed by repository in 0.3.0

  • Loading branch information...
1 parent 4071690 commit 5a2c26ab7fbed3f4eed0c1b889b8011b6e423e7f @cliftonc committed Sep 24, 2011
Showing with 0 additions and 5,474 deletions.
  1. +0 −1 modules/community/README
  2. +0 −86 modules/community/devtools/devtools.js
  3. +0 −11 modules/community/devtools/package.json
  4. +0 −9 modules/community/devtools/templates/devtools.html
  5. +0 −6 modules/community/devtools/templates/events.html
  6. +0 −74 modules/community/disqus/disqus.js
  7. +0 −11 modules/community/disqus/package.json
  8. +0 −29 modules/community/disqus/templates/disqus.html
  9. +0 −363 modules/community/dox/dox.js
  10. +0 −279 modules/community/dox/dox.library.js
  11. +0 −14 modules/community/dox/package.json
  12. +0 −43 modules/community/dox/templates/document.html
  13. +0 −70 modules/community/dox/templates/list.html
  14. +0 −145 modules/community/feeds/feeds.expat.js
  15. +0 −334 modules/community/feeds/feeds.js
  16. +0 −18 modules/community/feeds/install.sh
  17. +0 −15 modules/community/feeds/package.json
  18. +0 −62 modules/community/google-analytics/google-analytics.js
  19. +0 −11 modules/community/google-analytics/package.json
  20. +0 −20 modules/community/google-analytics/templates/ga.html
  21. +0 −96 modules/community/media/media.js
  22. +0 −11 modules/community/media/package.json
  23. +0 −3 modules/community/media/templates/gallery.html
  24. +0 −3 modules/community/media/templates/list.html
  25. +0 −3 modules/community/media/templates/show.html
  26. +0 −68 modules/community/news/news.js
  27. +0 −11 modules/community/news/package.json
  28. +0 −11 modules/community/news/templates/breaking.html
  29. +0 −14 modules/community/pusher/package.json
  30. +0 −84 modules/community/pusher/pusher.js
  31. +0 −15 modules/community/pusher/templates/pusher.html
  32. +0 −11 modules/community/richforms/package.json
  33. +0 −128 modules/community/richforms/richforms.js
  34. BIN modules/community/richforms/static/css/Aristo/images/bg_fallback.png
  35. BIN modules/community/richforms/static/css/Aristo/images/icon_sprite.png
  36. BIN modules/community/richforms/static/css/Aristo/images/progress_bar.gif
  37. BIN modules/community/richforms/static/css/Aristo/images/slider_handles.png
  38. BIN modules/community/richforms/static/css/Aristo/images/ui-icons_222222_256x240.png
  39. BIN modules/community/richforms/static/css/Aristo/images/ui-icons_454545_256x240.png
  40. +0 −703 modules/community/richforms/static/css/Aristo/jquery-ui-1.8.7.custom.css
  41. +0 −782 modules/community/richforms/static/js/jquery-ui-1.8.10.custom.min.js
  42. +0 −574 modules/community/richforms/static/js/markitup/jquery.markitup.js
  43. BIN modules/community/richforms/static/js/markitup/sets/default/images/bold.png
  44. BIN modules/community/richforms/static/js/markitup/sets/default/images/clean.png
  45. BIN modules/community/richforms/static/js/markitup/sets/default/images/h1.png
  46. BIN modules/community/richforms/static/js/markitup/sets/default/images/h2.png
  47. BIN modules/community/richforms/static/js/markitup/sets/default/images/h3.png
  48. BIN modules/community/richforms/static/js/markitup/sets/default/images/h4.png
  49. BIN modules/community/richforms/static/js/markitup/sets/default/images/h5.png
  50. BIN modules/community/richforms/static/js/markitup/sets/default/images/h6.png
  51. BIN modules/community/richforms/static/js/markitup/sets/default/images/image.png
  52. BIN modules/community/richforms/static/js/markitup/sets/default/images/italic.png
  53. BIN modules/community/richforms/static/js/markitup/sets/default/images/link.png
  54. BIN modules/community/richforms/static/js/markitup/sets/default/images/list-bullet.png
  55. BIN modules/community/richforms/static/js/markitup/sets/default/images/list-item.png
  56. BIN modules/community/richforms/static/js/markitup/sets/default/images/list-numeric.png
  57. BIN modules/community/richforms/static/js/markitup/sets/default/images/paragraph.png
  58. BIN modules/community/richforms/static/js/markitup/sets/default/images/picture.png
  59. BIN modules/community/richforms/static/js/markitup/sets/default/images/preview.png
  60. BIN modules/community/richforms/static/js/markitup/sets/default/images/stroke.png
  61. +0 −62 modules/community/richforms/static/js/markitup/sets/default/set.js
  62. +0 −63 modules/community/richforms/static/js/markitup/sets/default/style.css
  63. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-container.png
  64. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-bbcode.png
  65. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-dotclear.png
  66. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-html.png
  67. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-json.png
  68. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-markdown.png
  69. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-textile.png
  70. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-wiki.png
  71. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor-xml.png
  72. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/bg-editor.png
  73. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/handle.png
  74. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/menu.png
  75. BIN modules/community/richforms/static/js/markitup/skins/markitup/images/submenu.png
  76. +0 −150 modules/community/richforms/static/js/markitup/skins/markitup/style.css
  77. BIN modules/community/richforms/static/js/markitup/skins/simple/images/handle.png
  78. BIN modules/community/richforms/static/js/markitup/skins/simple/images/menu.png
  79. BIN modules/community/richforms/static/js/markitup/skins/simple/images/submenu.png
  80. +0 −118 modules/community/richforms/static/js/markitup/skins/simple/style.css
  81. +0 −5 modules/community/richforms/static/js/markitup/templates/preview.css
  82. +0 −11 modules/community/richforms/static/js/markitup/templates/preview.html
  83. +0 −18 modules/community/richforms/templates/datepicker.script.html
  84. +0 −1 modules/community/richforms/templates/datepicker.style.html
  85. +0 −12 modules/community/richforms/templates/markitup.script.html
  86. +0 −3 modules/community/richforms/templates/markitup.style.html
  87. +0 −11 modules/community/sample-content/package.json
  88. +0 −230 modules/community/sample-content/sample-content.js
  89. BIN modules/community/sample-content/static/images/speed-boat_725x544.jpg
  90. +0 −288 modules/community/sample-content/templates/sample-content.html
  91. +0 −3 modules/community/sample-content/templates/template-all.jade
  92. +0 −11 modules/community/template/package.json
  93. +0 −208 modules/community/template/template.js
  94. +0 −11 modules/community/template/templates/templateAll.html
  95. +0 −4 modules/community/template/templates/templateShow.html
  96. +0 −14 modules/community/tweetstream/package.json
  97. +0 −22 modules/community/tweetstream/templates/tweetstream.html
  98. +0 −111 modules/community/tweetstream/tweetstream.js
@@ -1 +0,0 @@
-Modules provided by the community should be placed in this folder.
@@ -1,86 +0,0 @@
-/**
- * Developer Tools
- * This will create a block that displays:
- * - Timing for modules, as well as full page timing.
- * - Block structure for processed blocks on a page (useful for theming).
- */
-var rootpath = process.cwd() + '/',
- path = require('path'),
- calipso = require(path.join(rootpath, 'lib/calipso'));
-
-/**
- * Exports
- * Note that any hooks must be exposed here to be seen by Calipso
- */
-exports = module.exports = {
- init: init,
- route: route,
- last: true // Needs to run last
-};
-
-/**
- * Routing function, this is executed by Calipso in response to a http request (if enabled)
- */
-function route(req, res, module, app, next) {
-
- // Add dev tools view
- res.menu.admin.addMenuItem({name:'Development',path:'admin/dev',url:'#',description:'Dev tools ...',security:[]});
- res.menu.admin.addMenuItem({name:'Calipso Events',path:'admin/dev/events',url:'/admin/dev/events',description:'View events and event listeners ...',security:[]});
-
- // Router
- module.router.route(req, res, next);
-
-};
-
-
-/**
- * Initialisation function, this is executed by calipso as the application boots up
- */
-function init(module, app, next) {
-
- calipso.lib.step(
-
- function defineRoutes() {
-
- // Add a route to every page, notice the 'end:false' to ensure block further routing
- module.router.addRoute(/.*/, devTools, {
- end: false,
- template: 'devtools',
- block: 'footer.dev.tools'
- }, this.parallel());
-
- // Event Viewer
- module.router.addRoute('GET /admin/dev/events', devEvents, {
- end: false,
- template: 'events',
- block: 'content.dev.events'
- }, this.parallel());
-
- }, function done() {
-
- // Any schema configuration goes here
- next();
-
- });
-
-
-};
-
-/**
- * Every page block function
- */
-function devTools(req, res, template, block, next) {
-
- calipso.theme.renderItem(req, res, template, block, {blocks:res.renderedBlocks},next);
-
-};
-
-/**
- * View events and event listeners
- */
-function devEvents(req, res, template, block, next) {
-
- var sys = require('sys');
- calipso.theme.renderItem(req, res, template, block, {sys:sys,events:calipso.e.events},next);
-
-};
@@ -1,11 +0,0 @@
-{
- "name": "devtools",
- "description": "Start of developer tools module.",
- "version": "0.2.0",
- "homepage": "http://calip.so",
- "repository": {
- "type": "git",
- "url": "git://github.com/cliftonc/calipso-devtools.git"
- },
- "author": "Clifton Cunningham <clifton.cunningham@gmail.com> (cliftoncunningham.co.uk)"
-}
@@ -1,9 +0,0 @@
-<div class='devtools'>
- <div class='blocks'>
- Blocks on this page: <%
- for(var block in blocks.content) {
- %><%- block %> <%
- }
- %>
- </div>
-</div>
@@ -1,6 +0,0 @@
-<div class='devtools'>
-<h2>Calipso Events</h2>
-<pre class='prettyprint'>
-<%- sys.inspect(events,false,10,false) %>
-</pre>
-</div>
@@ -1,74 +0,0 @@
-/**
- * Disqus commenting
- */
-
-var rootpath = process.cwd() + '/',
- path = require('path'),
- calipso = require(path.join(rootpath, 'lib/calipso'));
-
-exports = module.exports = {
- init: init,
- route: route
-};
-
-function route(req, res, module, app, next) {
-
- // Routes
- module.router.route(req, res, next);
-
-};
-
-function init(module, app, next) {
-
- // Any pre-route config
- calipso.lib.step(
-
- function defineRoutes() {
-
- // Disqus on content pages
- module.router.addRoute(/^((?!content).*)html$/, disqus, {
- end: false,
- template: 'disqus',
- block: 'scripts.disqus'
- }, this.parallel());
-
- module.router.addRoute(/^(\/dox.*)/, disqus, {
- end: false,
- template: 'disqus',
- block: 'scripts.disqus'
- }, this.parallel());
-
-
- module.router.addRoute(/^(\/repo\/show.*)/, disqus, {
- end: false,
- template: 'disqus',
- block: 'scripts.disqus'
- }, this.parallel());
-
-
-
- }, function done() {
-
- // No initialisation?
- next();
-
- });
-
-};
-
-/**
- * Render the disqus javascript file using the settings stored within the environment configuration.
- */
-
-function disqus(req, res, template, block, next) {
-
- var disqusShortName = req.app.set('disqus-shortname');
- var disqusURL = req.app.set('server-url') + req.url;
- var disqusID = ''; // TODO
- calipso.theme.renderItem(req, res, template, block, {
- disqusShortName: disqusShortName,
- disqusURL: disqusURL,
- disqusID: disqusID
- },next);
-
-};
@@ -1,11 +0,0 @@
-{
- "name": "disqus",
- "description": "Adds disqus as the default commenting engine, applies by default to any content page (html suffix), but can be ammended to apply to other pages.",
- "version": "0.2.0",
- "homepage": "http://calip.so",
- "repository": {
- "type": "git",
- "url": "git://github.com/cliftonc/calipso-disqus.git"
- },
- "author": "Clifton Cunningham <clifton.cunningham@gmail.com> (cliftoncunningham.co.uk)"
-}
@@ -1,29 +0,0 @@
-<% if(disqusShortName) { %>
-
- <div id="disqus_thread"></div>
- <!-- Hard coded use of disqus -->
- <script type="text/javascript">
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
- var disqus_shortname = '<%- disqusShortName %>'; // required: replace example with your forum shortname
-
- // The following are highly recommended additional parameters. Remove the slashes in front to use.
- // var disqus_identifier = '<%- disqusID %>';
- var disqus_url = '<%- disqusURL %>';
-
- /* * * DON'T EDIT BELOW THIS LINE * * */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- </script>
- <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
- <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
-
-
-<% } else { %>
-
- <!-- DISQUS DISABLED AS NO SHORTNAME HAS BEEN DEFINED IN CONFIGURATION -->
-
-<% } %>
-
Oops, something went wrong.

0 comments on commit 5a2c26a

Please sign in to comment.