Skip to content
Permalink
Browse files

Develop (#614)

* Rework modules and their documentation

* Bump version to 4.1.1

* Reset config.php again

* Fix test dummy by using version 0.0.0

* Get rid of Windows Phone theme tag
  • Loading branch information...
redaxmedia committed Sep 29, 2019
1 parent 08ac126 commit 83a04384fdff0093ce68c023a0b9867b03acdaa0
Showing with 136 additions and 148 deletions.
  1. +1 −1 composer.json
  2. +1 −1 languages/en.json
  3. +4 −4 modules/Ace/Ace.php
  4. +0 −1 modules/Ace/docs/Howto.phtml
  5. +1 −1 modules/AliasGenerator/AliasGenerator.php
  6. +1 −1 modules/Analytics/Analytics.php
  7. +20 −5 modules/Analytics/docs/Howto.phtml
  8. +1 −1 modules/Archive/Archive.php
  9. +1 −1 modules/Archive/docs/Howto.phtml
  10. +3 −3 modules/CallHome/CallHome.php
  11. +0 −3 modules/CallHome/docs/Howto.phtml
  12. +1 −1 modules/Contact/Contact.php
  13. +1 −1 modules/CssValidator/CssValidator.php
  14. +3 −3 modules/Debugger/Debugger.php
  15. +1 −1 modules/Debugger/docs/Howto.phtml
  16. +2 −2 modules/Demo/Demo.php
  17. +1 −1 modules/Dialog/Dialog.php
  18. +3 −3 modules/DirectoryLister/DirectoryLister.php
  19. +1 −1 modules/Disqus/Disqus.php
  20. +0 −1 modules/Disqus/docs/Howto.phtml
  21. +1 −1 modules/Experiments/Experiments.php
  22. +2 −2 modules/Experiments/docs/Howto.phtml
  23. +3 −3 modules/FeedGenerator/FeedGenerator.php
  24. +1 −1 modules/FeedGenerator/docs/Howto.phtml
  25. +1 −1 modules/FeedReader/FeedReader.php
  26. +1 −1 modules/FeedReader/docs/Howto.phtml
  27. +3 −3 modules/FormValidator/FormValidator.php
  28. +1 −1 modules/Gallery/Gallery.php
  29. +2 −2 modules/Gallery/docs/Howto.phtml
  30. +1 −1 modules/HtmlValidator/HtmlValidator.php
  31. +3 −3 modules/LiveReload/LiveReload.php
  32. +1 −1 modules/Maps/Maps.php
  33. +1 −1 modules/Maps/docs/Howto.phtml
  34. +1 −1 modules/PageCache/PageCache.php
  35. +33 −10 modules/Preview/Preview.php
  36. +1 −1 modules/Preview/docs/Howto.phtml
  37. +1 −1 modules/Preview/templates/code.phtml
  38. +8 −5 modules/Reporter/Reporter.php
  39. +2 −2 modules/Sitemap/Sitemap.php
  40. +3 −3 modules/SitemapXml/SitemapXml.php
  41. +1 −1 modules/SitemapXml/docs/Howto.phtml
  42. +1 −6 modules/SocialSharer/SocialSharer.php
  43. +4 −11 modules/SocialSharer/assets/styles/_icon.css
  44. +0 −1 modules/SocialSharer/assets/styles/_variable.css
  45. +0 −15 modules/SocialSharer/assets/styles/social-sharer.css
  46. +0 −12 modules/SocialSharer/docs/Howto.phtml
  47. +3 −3 modules/SyntaxHighlighter/SyntaxHighlighter.php
  48. +0 −1 modules/SyntaxHighlighter/docs/Howto.phtml
  49. +1 −1 modules/TableSorter/TableSorter.php
  50. +1 −1 modules/TestDummy/TestDummy.php
  51. +3 −3 modules/TextareaResizer/TextareaResizer.php
  52. +2 −2 modules/Tinymce/Tinymce.php
  53. +1 −1 modules/Tinymce/assets/styles/_skin.css
  54. +0 −1 modules/Tinymce/docs/Howto.phtml
  55. +1 −1 package.json
  56. +0 −1 tasks/webfont.js
  57. +0 −1 templates/admin/head.phtml
  58. +0 −1 templates/console/head.phtml
  59. +0 −1 templates/default/head.phtml
  60. +0 −1 templates/install/head.phtml
  61. +0 −1 templates/skeleton/head.phtml
  62. +1 −1 tests/unit-provider/Admin/View/ModuleTableTest_testRender.json
  63. +1 −1 tests/unit-provider/Model/ModuleTest_testCreateByArray.json
@@ -1,7 +1,7 @@
{
"name": "redaxscript/redaxscript",
"description": "A modern, ultra lightweight and rocket fast Content Management System",
"version": "4.1.0",
"version": "4.1.1",
"homepage": "https://redaxscript.com",
"license": "MIT",
"require":
@@ -3,7 +3,7 @@
{
"name": "Redaxscript",
"description": "Ultra lightweight Content Management System",
"version": "4.1.0",
"version": "4.1.1",
"homepage": "https://redaxscript.com"
},
"_language":
@@ -5,7 +5,7 @@
use Redaxscript\Module;
/**
* javascript powered code editor
* javascript powered html editor
*
* @since 2.6.0
*
@@ -27,8 +27,8 @@ class Ace extends Module\Module
'name' => 'Ace',
'alias' => 'Ace',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered code editor',
'version' => '4.1.0'
'description' => 'JavaScript powered HTML editor',
'version' => '4.1.1'
];
/**
@@ -55,7 +55,7 @@ public function renderStart() : void
->init('foot')
->appendFile(
[
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.1/ace.js',
'https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.6/ace.js',
'modules/Ace/assets/scripts/init.js',
'modules/Ace/dist/scripts/ace.min.js'
]);

This file was deleted.

@@ -28,7 +28,7 @@ class AliasGenerator extends Module\Module
'alias' => 'AliasGenerator',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered alias generator',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -28,7 +28,7 @@ class Analytics extends Module\Module
'alias' => 'Analytics',
'author' => 'Redaxmedia',
'description' => 'Integrate Google Analytics',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -1,8 +1,23 @@
<p class="rs-admin-text-documentation">Syntax for the data attribute powered event tracking:</p>
<p class="rs-admin-text-documentation">Set data attributes for event tracking:</p>

<pre class="rs-admin-js-code rs-admin-code-default html"><?php echo htmlspecialchars('<a class="rs-js-track-click"
data-category="{string}"
data-action="{string}"
data-label="{string}"
data-value="{string}">click</a>'); ?>
data-category="{string}"
data-action="{string}"
data-label="{string}"
data-value="{string}">click</a>'); ?>
</pre>

<p class="rs-admin-text-documentation">Define custom events as needed:</p>

<pre class="rs-admin-js-code rs-admin-code-default js">
rs.modules.Analytics =
{
optionArray:
{
selector:
{
focus: 'input.rs-js-track-focus'
}
}
}
</pre>
@@ -32,7 +32,7 @@ class Archive extends Module\Module
'alias' => 'Archive',
'author' => 'Redaxmedia',
'description' => 'Generate a archive tree',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -1,3 +1,3 @@
<p class="rs-admin-text-documentation">Syntax for your content:</p>

<pre class="rs-admin-js-code rs-admin-code-default html"><?php echo htmlspecialchars('<rs-module>Archive</rs-module>', ENT_QUOTES); ?></pre>
<pre class="rs-admin-js-code rs-admin-code-default html"><?php echo htmlspecialchars('<rs-module>Archive</rs-module>'); ?></pre>
@@ -7,7 +7,7 @@
use Redaxscript\Reader;
/**
* provide version and news updates
* provide version updates and news
*
* @since 2.2.0
*
@@ -29,8 +29,8 @@ class CallHome extends Module\Metadata
'name' => 'Call Home',
'alias' => 'CallHome',
'author' => 'Redaxmedia',
'description' => 'Provide version and news updates',
'version' => '4.1.0'
'description' => 'Provide version updates and news',
'version' => '4.1.1'
];
/**

This file was deleted.

@@ -27,7 +27,7 @@ class Contact extends Module\Module
'alias' => 'Contact',
'author' => 'Redaxmedia',
'description' => 'Simple contact form',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -30,7 +30,7 @@ class CssValidator extends Module\Metadata
'alias' => 'CssValidator',
'author' => 'Redaxmedia',
'description' => 'CSS validator for developers',
'version' => '4.1.0',
'version' => '4.1.1',
'access' => '[1]'
];
@@ -10,7 +10,7 @@
use function json_encode;
/**
* debugger
* debugger for developers
*
* @since 4.0.0
*
@@ -32,8 +32,8 @@ class Debugger extends Module\Module
'name' => 'Debugger',
'alias' => 'Debugger',
'author' => 'Redaxmedia',
'description' => 'Debugger',
'version' => '4.1.0',
'description' => 'Debugger for developers',
'version' => '4.1.1',
'access' => '[1]'
];
@@ -1 +1 @@
<p class="rs-admin-text-documentation">Open your browser console for the debug information.</p>
<p class="rs-admin-text-documentation">Open your JavaScript console for the debug information.</p>
@@ -31,8 +31,8 @@ class Demo extends Module\Metadata
'name' => 'Demo',
'alias' => 'Demo',
'author' => 'Redaxmedia',
'description' => 'Enable demo login',
'version' => '4.1.0'
'description' => 'Enable anonymous login',
'version' => '4.1.1'
];
/**
@@ -29,7 +29,7 @@ class Dialog extends Module\Module
'alias' => 'Dialog',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered dialog',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -21,7 +21,7 @@
use function str_replace;
/**
* list the files of a directory
* list files of a directory
*
* @since 2.6.0
*
@@ -43,8 +43,8 @@ class DirectoryLister extends Module\Metadata
'name' => 'Directory Lister',
'alias' => 'DirectoryLister',
'author' => 'Redaxmedia',
'description' => 'List the files of a directory',
'version' => '4.1.0'
'description' => 'List files of a directory',
'version' => '4.1.1'
];
/**
@@ -29,7 +29,7 @@ class Disqus extends Module\Module
'alias' => 'Disqus',
'author' => 'Redaxmedia',
'description' => 'Replace comments with Disqus',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**

This file was deleted.

@@ -29,7 +29,7 @@ class Experiments extends Module\Module
'alias' => 'Experiments',
'author' => 'Redaxmedia',
'description' => 'Integrate Google Experiments',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -1,4 +1,4 @@
<p class="rs-admin-text-documentation">Syntax to perform one action for each variation:</p>
<p class="rs-admin-text-documentation">Define one action for each variation:</p>

<pre class="rs-admin-js-code rs-admin-code-default js">
rs.modules.Experiments =
@@ -7,7 +7,7 @@ rs.modules.Experiments =
{
action:
[
() => console.log('no variation'),
() => console.log('variation 0'),
() => console.log('variation 1'),
() => console.log('variation 2')
]
@@ -10,7 +10,7 @@
use function strip_tags;
/**
* generate atom feeds from content
* generate atom feeds
*
* @since 2.3.0
*
@@ -32,8 +32,8 @@ class FeedGenerator extends Module\Module
'name' => 'Feed Generator',
'alias' => 'FeedGenerator',
'author' => 'Redaxmedia',
'description' => 'Generate Atom feeds from content',
'version' => '4.1.0'
'description' => 'Generate Atom feeds',
'version' => '4.1.1'
];
/**
@@ -1,3 +1,3 @@
<?php namespace Redaxscript\Template; ?>

<p class="rs-admin-text-documentation">Browse <a href="<?php echo Helper::getRegistry('parameterRoute'); ?>module/feed-generator/articles" class="rs-link-default">articles</a> <span>and</span> <a href="<?php echo Helper::getRegistry('parameterRoute'); ?>module/feed-generator/comments" class="rs-link-default">comments</a> for generated atom feeds.</p>
<p class="rs-admin-text-documentation">Browse <a href="<?php echo Helper::getRegistry('parameterRoute'); ?>module/feed-generator/articles" class="rs-admin-link-default">module/feed-generator/articles</a> and <a href="<?php echo Helper::getRegistry('parameterRoute'); ?>module/feed-generator/comments" class="rs-admin-link-default">module/feed-generator/comments</a> for generated atom feeds.</p>
@@ -30,7 +30,7 @@ class FeedReader extends Module\Metadata
'alias' => 'FeedReader',
'author' => 'Redaxmedia',
'description' => 'Read external RSS and Atom feeds',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -4,7 +4,7 @@
{
"FeedReader":
{
"url": "https://example.com/feed.atom",
"url": "https://domain.com/feed.atom",
"options":
{
"limit": 10
@@ -5,7 +5,7 @@
use Redaxscript\Module;
/**
* validate the form
* javascript powered form validation
*
* @since 4.0.0
*
@@ -27,8 +27,8 @@ class FormValidator extends Module\Module
'name' => 'Form Validator',
'alias' => 'FormValidator',
'author' => 'Redaxmedia',
'description' => 'Validate the form',
'version' => '4.1.0'
'description' => 'JavaScript powered form validation',
'version' => '4.1.1'
];
/**
@@ -47,7 +47,7 @@ class Gallery extends Module\Metadata
'alias' => 'Gallery',
'author' => 'Redaxmedia',
'description' => 'JavaScript powered gallery',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -14,7 +14,7 @@
}
</rs-module>'); ?></pre>

<p class="rs-admin-text-documentation">Syntax to create thumbs on each page refresh with reversed order:</p>
<p class="rs-admin-text-documentation">Create thumbs on each request with reversed order:</p>

<pre class="rs-admin-js-code rs-admin-code-default html"><?php echo htmlspecialchars('<rs-module>
{
@@ -30,7 +30,7 @@
}
</rs-module>'); ?></pre>

<p class="rs-admin-text-documentation">Syntax to remove thumbs:</p>
<p class="rs-admin-text-documentation">Remove thumbs on each request:</p>

<pre class="rs-admin-js-code rs-admin-code-default html"><?php echo htmlspecialchars('<rs-module>
{
@@ -30,7 +30,7 @@ class HtmlValidator extends Module\Metadata
'alias' => 'HtmlValidator',
'author' => 'Redaxmedia',
'description' => 'HTML validator for developers',
'version' => '4.1.0',
'version' => '4.1.1',
'access' => '[1]'
];
@@ -6,7 +6,7 @@
use Redaxscript\Reader;
/**
* live reload
* live reload for developers
*
* @since 3.3.0
*
@@ -28,8 +28,8 @@ class LiveReload extends Module\Metadata
'name' => 'Live Reload',
'alias' => 'LiveReload',
'author' => 'Redaxmedia',
'description' => 'Launch a local PHP server with live reload',
'version' => '4.1.0',
'description' => 'Live reload for developers',
'version' => '4.1.1',
'access' => '[1]'
];
@@ -31,7 +31,7 @@ class Maps extends Module\Module
'alias' => 'Maps',
'author' => 'Redaxmedia',
'description' => 'Integrate Google Maps',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**
@@ -9,4 +9,4 @@
"zoom": 5
}
}
</rs-module>', ENT_QUOTES); ?></pre>
</rs-module>'); ?></pre>
@@ -32,7 +32,7 @@ class PageCache extends Module\Metadata
'alias' => 'PageCache',
'author' => 'Redaxmedia',
'description' => 'High performance caching for pages',
'version' => '4.1.0'
'version' => '4.1.1'
];
/**

0 comments on commit 83a0438

Please sign in to comment.
You can’t perform that action at this time.