[struts-site] branch master updated (b2c9f05 -> f640084)
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git. from b2c9f05 Fixes link to the example app add 2cf4e1b A few manual indent fixes add 00387bb Fixes all indents by an algorithm add 4134f2c Fixes previous manual corrupted fixes add ead2104 Reverts IntelliJ added new lines at end of files new f640084 Merge pull request #27 from yasserzamani/indents_fix The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: source/core-developers/after-annotation.md | 8 +++ source/core-developers/alias-interceptor.md| 6 ++--- .../annotation-workflow-interceptor.md | 2 +- source/core-developers/annotations.md | 14 +-- source/core-developers/basic-validation.md | 8 +++ source/core-developers/before-annotation.md| 8 +++ source/core-developers/before-result-annotation.md | 8 +++ source/core-developers/chain-result.md | 4 ++-- source/core-developers/chaining-interceptor.md | 8 +++ source/core-developers/checkbox-interceptor.md | 4 ++-- source/core-developers/client-side-validation.md | 2 +- source/core-developers/client-validation.md| 4 ++-- .../conditionalvisitor-validator.md| 6 ++--- .../configuration-provider-and-configuration.md| 4 ++-- source/core-developers/conversion-annotation.md| 6 ++--- .../conversion-error-field-validator-annotation.md | 6 ++--- .../conversion-error-interceptor.md| 6 ++--- source/core-developers/conversion-validator.md | 8 +++ .../core-developers/create-if-null-annotation.md | 6 ++--- .../core-developers/create-session-interceptor.md | 6 ++--- .../core-developers/custom-validator-annotation.md | 8 +++ .../date-range-field-validator-annotation.md | 6 ++--- source/core-developers/date-validator.md | 6 ++--- source/core-developers/debugging-interceptor.md| 4 ++-- .../default-workflow-interceptor.md| 6 ++--- .../double-range-field-validator-annotation.md | 6 ++--- source/core-developers/double-validator.md | 6 ++--- source/core-developers/element-annotation.md | 6 ++--- .../core-developers/email-validator-annotation.md | 6 ++--- source/core-developers/email-validator.md | 6 ++--- source/core-developers/exception-interceptor.md| 10 .../execute-and-wait-interceptor.md| 6 ++--- .../expression-validator-annotation.md | 6 ++--- source/core-developers/expression-validator.md | 6 ++--- .../field-expression-validator-annotation.md | 6 ++--- .../core-developers/fieldexpression-validator.md | 6 ++--- source/core-developers/file-upload-interceptor.md | 6 ++--- source/core-developers/file-upload.md | 12 +- source/core-developers/i18n-interceptor.md | 6 ++--- source/core-developers/input-config-annotation.md | 6 ++--- .../int-range-field-validator-annotation.md| 6 ++--- source/core-developers/int-validator.md| 6 ++--- source/core-developers/key-annotation.md | 6 ++--- source/core-developers/key-property-annotation.md | 6 ++--- source/core-developers/logger-interceptor.md | 6 ++--- .../core-developers/message-store-interceptor.md | 6 ++--- source/core-developers/model-driven.md | 4 ++-- source/core-developers/namespace-annotation.md | 6 ++--- source/core-developers/object-factory.md | 6 ++--- .../parameter-filter-interceptor.md| 4 ++-- .../core-developers/parent-package-annotation.md | 4 ++-- source/core-developers/postback-result.md | 6 ++--- source/core-developers/prepare-interceptor.md | 6 ++--- .../pure-java-script-client-side-validation.md | 2 +- .../regex-field-validator-annotation.md| 6 ++--- source/core-developers/regex-validator.md | 6 ++--- .../required-field-validator-annotation.md | 6 ++--- .../required-string-validator-annotation.md| 6 ++--- source/core-developers/required-validator.md | 6 ++--- source/core-developers/requiredstring-validator.md | 6 ++--- source/core-developers/restful-action-mapper.md| 2 +- source/core-developers/result-annotation.md| 6 ++--- source/core-developers/roles-interceptor.md| 4 ++-- source/core-developers/scope-interceptor.md| 6 ++--- .../scoped-model-driven-interceptor.md | 6 ++--- .../core-developers/servlet-config-interceptor.md | 6 ++--- source/core-developers/short-validator.md | 6 ++
[struts-site] 01/01: Merge pull request #27 from yasserzamani/indents_fix
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git commit f640084859ea24f5b94b520a96a493e696fd4c7a Merge: b2c9f05 ead2104 Author: Lukasz Lenart AuthorDate: Tue Oct 10 06:57:16 2017 +0200 Merge pull request #27 from yasserzamani/indents_fix Fixes all indents by an algorithm source/core-developers/after-annotation.md | 8 +++ source/core-developers/alias-interceptor.md| 6 ++--- .../annotation-workflow-interceptor.md | 2 +- source/core-developers/annotations.md | 14 +-- source/core-developers/basic-validation.md | 8 +++ source/core-developers/before-annotation.md| 8 +++ source/core-developers/before-result-annotation.md | 8 +++ source/core-developers/chain-result.md | 4 ++-- source/core-developers/chaining-interceptor.md | 8 +++ source/core-developers/checkbox-interceptor.md | 4 ++-- source/core-developers/client-side-validation.md | 2 +- source/core-developers/client-validation.md| 4 ++-- .../conditionalvisitor-validator.md| 6 ++--- .../configuration-provider-and-configuration.md| 4 ++-- source/core-developers/conversion-annotation.md| 6 ++--- .../conversion-error-field-validator-annotation.md | 6 ++--- .../conversion-error-interceptor.md| 6 ++--- source/core-developers/conversion-validator.md | 8 +++ .../core-developers/create-if-null-annotation.md | 6 ++--- .../core-developers/create-session-interceptor.md | 6 ++--- .../core-developers/custom-validator-annotation.md | 8 +++ .../date-range-field-validator-annotation.md | 6 ++--- source/core-developers/date-validator.md | 6 ++--- source/core-developers/debugging-interceptor.md| 4 ++-- .../default-workflow-interceptor.md| 6 ++--- .../double-range-field-validator-annotation.md | 6 ++--- source/core-developers/double-validator.md | 6 ++--- source/core-developers/element-annotation.md | 6 ++--- .../core-developers/email-validator-annotation.md | 6 ++--- source/core-developers/email-validator.md | 6 ++--- source/core-developers/exception-interceptor.md| 10 .../execute-and-wait-interceptor.md| 6 ++--- .../expression-validator-annotation.md | 6 ++--- source/core-developers/expression-validator.md | 6 ++--- .../field-expression-validator-annotation.md | 6 ++--- .../core-developers/fieldexpression-validator.md | 6 ++--- source/core-developers/file-upload-interceptor.md | 6 ++--- source/core-developers/file-upload.md | 12 +- source/core-developers/i18n-interceptor.md | 6 ++--- source/core-developers/input-config-annotation.md | 6 ++--- .../int-range-field-validator-annotation.md| 6 ++--- source/core-developers/int-validator.md| 6 ++--- source/core-developers/key-annotation.md | 6 ++--- source/core-developers/key-property-annotation.md | 6 ++--- source/core-developers/logger-interceptor.md | 6 ++--- .../core-developers/message-store-interceptor.md | 6 ++--- source/core-developers/model-driven.md | 4 ++-- source/core-developers/namespace-annotation.md | 6 ++--- source/core-developers/object-factory.md | 6 ++--- .../parameter-filter-interceptor.md| 4 ++-- .../core-developers/parent-package-annotation.md | 4 ++-- source/core-developers/postback-result.md | 6 ++--- source/core-developers/prepare-interceptor.md | 6 ++--- .../pure-java-script-client-side-validation.md | 2 +- .../regex-field-validator-annotation.md| 6 ++--- source/core-developers/regex-validator.md | 6 ++--- .../required-field-validator-annotation.md | 6 ++--- .../required-string-validator-annotation.md| 6 ++--- source/core-developers/required-validator.md | 6 ++--- source/core-developers/requiredstring-validator.md | 6 ++--- source/core-developers/restful-action-mapper.md| 2 +- source/core-developers/result-annotation.md| 6 ++--- source/core-developers/roles-interceptor.md| 4 ++-- source/core-developers/scope-interceptor.md| 6 ++--- .../scoped-model-driven-interceptor.md | 6 ++--- .../core-developers/servlet-config-interceptor.md | 6 ++--- source/core-developers/short-validator.md | 6 ++--- .../static-parameters-interceptor.md | 6 ++--- .../string-length-field-validator-annotation.md| 6 ++--- source/core-developers/stringlength-validator.md | 6 ++--- source/core-developers/sunone-7-0.md | 4 ++-- source/core-developers/timer-interceptor.md| 6 ++--- source/core-developers/token-interc
[struts-site] branch master updated: Updates section about how to contribute and Google's Patch Award program
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new 19677d3 Updates section about how to contribute and Google's Patch Award program 19677d3 is described below commit 19677d36b8a7ccb2c7ff29db78e5666ec15b9c8f Author: Lukasz Lenart AuthorDate: Tue Oct 10 07:53:07 2017 +0200 Updates section about how to contribute and Google's Patch Award program --- source/submitting-patches.md | 77 +--- 1 file changed, 30 insertions(+), 47 deletions(-) diff --git a/source/submitting-patches.md b/source/submitting-patches.md index 38e6ff2..a8b07cd 100644 --- a/source/submitting-patches.md +++ b/source/submitting-patches.md @@ -11,20 +11,28 @@ title: Submitting patches ## Committers -Struts uses Git so you must install git client locally and then you can clone Struts repository: +Struts uses Git so you must install a git client locally and then you can clone Struts repository: -git clone https://git-wip-us.apache.org/repos/asf/struts.git +either using Apache GitBox + +git clone https://gitbox.apache.org/repos/asf/struts.git + +or GitHub + +git glone https://github.com/apache/struts.git and done! -Please remember that `master` branch should be used only for small fast commits, if you are working on a large -change it is better to do it on dedicated branch or even via GitHub (which is preferred). +Please remember that the `master` branch should be used only for small fast commits, if you are working on a large +change it is better to do it on a dedicated branch via GitHub. Please remember that pushing other branches to the repo +will replicate them to all the clones, that's why using GitHub is a preferred way. ## Non-committers -If you aren't a committer you must use this link below or mirror at GitHub +If you aren't a committer you can still the repo from Apache Gitbox but you won't be able push any changes to it. +That's why it is better to use GitHub -git clone git://git.apache.org/struts.git struts-copy +git clone https://gitbox.apache.org/repos/asf/struts.git ## Security patches @@ -40,25 +48,26 @@ We don't want to inform hackers before we can protect our users :-) ## Contributing with GitHub Using GitHub mirror is the simplest way to contribute to the Apache Struts if you are not a member -of Struts Committers group. +of the Struts Committers group. First you must have an account created at GitHub to be able perform the next step. If you don't, go ahead and create one just right now! Please remember to setup -[SSH keys](https://help.github.com/articles/generating-ssh-keys) and test them! +[SSH keys](https://help.github.com/articles/generating-ssh-keys) and test them! You don't have to use SSH Keys +and base only on user/password authentication. When ready go to [https://github.com/apache/struts](https://github.com/apache/struts) and click `Fork` button in top right corner. This will fork the Apache Struts' repository and will create your private (but public) repository with the source code. -Next step is to clone your the original repo locally +Next step is to clone the original repo locally -git g...@github.com:apache/struts.git +git glone https://github.com/apache/struts.git This will be an `origin`, you cannot push changes to the `origin` but don't worry, you will use your fork. Now is time to add your fork as a remote -git remote add fork g...@github.com:myusername/struts.git +git remote add fork https://github.com/my-username/struts.git Right now you should have two remotes defined for the repo, `origin` and `fork`, use below command to confirm that @@ -85,7 +94,7 @@ If you still need to change something, please remember to commit and push change git push -as `my-branch` was already connected with remote branch. +as `my-branch` was already connected with the remote branch. The final step is to open a Pull Request (short: PR) against the original Apache Struts repo. Go to the [Apache Struts mirror](https://github.com/apache/struts), then to [Pull request](https://github.com/apache/struts/pulls) @@ -96,7 +105,7 @@ your fork and branch to compare the differences with the Apache Struts' `master` Finally hit `Create Pull Request` button and you are done! -After your PR got accepted and merged you must clean up your local repo, please witch branch to `master` +After your PR got accepted and merged you must clean up your local repo, please switch your current branch to `master` git checkout master @@ -113,41 +122,11 @@ and you are ready to start working on another feature/issue. ### How to merge Pull Requests -This section is for committers only who want to merge incoming Pull Requests. Ple
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new 6d0e5be Updates production by Jenkins 6d0e5be is described below commit 6d0e5be88cd03e8a2ddcc65aa16f47b699c5c207 Author: jenkins AuthorDate: Tue Oct 10 05:53:50 2017 + Updates production by Jenkins --- content/submitting-patches.html | 92 ++--- 1 file changed, 31 insertions(+), 61 deletions(-) diff --git a/content/submitting-patches.html b/content/submitting-patches.html index 241f1de..a304850 100644 --- a/content/submitting-patches.html +++ b/content/submitting-patches.html @@ -143,22 +143,32 @@ Committers -Struts uses Git so you must install git client locally and then you can clone Struts repository: +Struts uses Git so you must install a git client locally and then you can clone Struts repository: -git clone https://git-wip-us.apache.org/repos/asf/struts.git +either using Apache GitBox + +git clone https://gitbox.apache.org/repos/asf/struts.git + + + +or GitHub + +git glone https://github.com/apache/struts.git and done! -Please remember that master branch should be used only for small fast commits, if you are working on a large -change it is better to do it on dedicated branch or even via GitHub (which is preferred). +Please remember that the master branch should be used only for small fast commits, if you are working on a large +change it is better to do it on a dedicated branch via GitHub. Please remember that pushing other branches to the repo +will replicate them to all the clones, that’s why using GitHub is a preferred way. Non-committers -If you aren’t a committer you must use this link below or mirror at GitHub +If you aren’t a committer you can still the repo from Apache Gitbox but you won’t be able push any changes to it. +That’s why it is better to use GitHub -git clone git://git.apache.org/struts.git struts-copy +git clone https://gitbox.apache.org/repos/asf/struts.git @@ -176,19 +186,20 @@ We don’t want to inform hackers before we can protect our users :-) Contributing with GitHub Using GitHub mirror is the simplest way to contribute to the Apache Struts if you are not a member -of Struts Committers group. +of the Struts Committers group. First you must have an account created at GitHub to be able perform the next step. If you don’t, go ahead and create one just right now! Please remember to setup -https://help.github.com/articles/generating-ssh-keys";>SSH keys and test them! +https://help.github.com/articles/generating-ssh-keys";>SSH keys and test them! You don’t have to use SSH Keys +and base only on user/password authentication. When ready go to https://github.com/apache/struts";>https://github.com/apache/struts and click Fork button in top right corner. This will fork the Apache Struts’ repository and will create your private (but public) repository with the source code. -Next step is to clone your the original repo locally +Next step is to clone the original repo locally -git g...@github.com:apache/struts.git +git glone https://github.com/apache/struts.git @@ -196,7 +207,7 @@ with the source code. Now is time to add your fork as a remote -git remote add fork g...@github.com:myusername/struts.git +git remote add fork https://github.com/my-username/struts.git @@ -237,7 +248,7 @@ git pull -as my-branch was already connected with remote branch. +as my-branch was already connected with the remote branch. The final step is to open a Pull Request (short: PR) against the original Apache Struts repo. Go to the https://github.com/apache/struts";>Apache Struts mirror, then to https://github.com/apache/struts/pulls";>Pull request @@ -248,7 +259,7 @@ your fork and branch to compare the differences with the Apache Struts’ Finally hit Create Pull Request button and you are done! -After your PR got accepted and merged you must clean up your local repo, please witch branch to master +After your PR got accepted and merged you must clean up your local repo, please switch your current branch to master git checkout master @@ -271,55 +282,11 @@ git pull How to merge Pull Requests -This section is for committers only who want to merge incoming Pull Requests. Please remember that the repo at GitHub -is read-only, we (committers) have limited rights to it. - -To merge PR please add GitHub as a new remote to your local copy - -git remote add github g...@github.com:apache/struts.git - - - -then you can fetch the PR locally and put it under a branch - -git fetch github pull/28/head:some-branch - - - -where - - - github is remote name - 28 is Pull Request id (https://github.com/apache/struts/pull/28) - some-branch local branch name, it can be the same as used to
[struts-site] branch master updated: Adds one more header
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new e78beb3 Adds one more header e78beb3 is described below commit e78beb3fb2ca8c1faa8e1afb629827158b6a10e5 Author: Lukasz Lenart AuthorDate: Tue Oct 10 08:51:11 2017 +0200 Adds one more header --- source/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/css/custom.css b/source/css/custom.css index 5e0878f..c3d9792 100644 --- a/source/css/custom.css +++ b/source/css/custom.css @@ -25,7 +25,7 @@ h6:hover .header-link { opacity: 1; } -h2:before, h3:before, h4:before { +h2:before, h3:before, h4:before, h5:before { content: ''; display: block; -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch asf-site updated: Updates production by Jenkins
This is an automated email from the ASF dual-hosted git repository. git-site-role pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/asf-site by this push: new 206302f Updates production by Jenkins 206302f is described below commit 206302ff1384bbe73f6ca66583fc1a94f53f2e2e Author: jenkins AuthorDate: Tue Oct 10 06:51:49 2017 + Updates production by Jenkins --- content/css/custom.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/css/custom.css b/content/css/custom.css index 0607ff1..db749c5 100644 --- a/content/css/custom.css +++ b/content/css/custom.css @@ -22,7 +22,7 @@ h6:hover .header-link { opacity: 1; } -h2:before, h3:before, h4:before { +h2:before, h3:before, h4:before, h5:before { content: ''; display: block; -- To stop receiving notification emails like this one, please contact ['"commits@struts.apache.org" '].
[struts-site] branch master updated: Simplifies anchors
This is an automated email from the ASF dual-hosted git repository. lukaszlenart pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/struts-site.git The following commit(s) were added to refs/heads/master by this push: new b946003 Simplifies anchors b946003 is described below commit b94600388d64c1d96daa3996a526e7684b59d84a Author: Lukasz Lenart AuthorDate: Tue Oct 10 08:43:15 2017 +0200 Simplifies anchors --- source/_layouts/core-developers.html | 14 -- source/_layouts/default.html | 14 -- source/_layouts/getting-started.html | 14 -- source/_layouts/maven-archetypes.html | 14 -- source/_layouts/plugin.html | 14 -- source/css/custom.css | 10 ++ source/download.html | 28 +--- source/downloads.html | 5 ++--- source/mail.md| 2 -- source/primer.md | 2 -- 10 files changed, 17 insertions(+), 100 deletions(-) diff --git a/source/_layouts/core-developers.html b/source/_layouts/core-developers.html index f8145a4..cf78bde 100644 --- a/source/_layouts/core-developers.html +++ b/source/_layouts/core-developers.html @@ -33,19 +33,5 @@ {% include footer.html %} - -$(function() { - return $("h2, h3, h4, h5, h6").each(function(i, el) { -var $el, id; -$el = $(el); -id = $el.attr('id'); -if (id) { - $el.removeAttr('id'); - return $el.before($("").addClass('anchor').attr('name', id)); -} - }); -}); - - diff --git a/source/_layouts/default.html b/source/_layouts/default.html index 34350bb..edf59a5 100644 --- a/source/_layouts/default.html +++ b/source/_layouts/default.html @@ -35,19 +35,5 @@ {% include footer.html %} - -$(function() { - return $("h2, h3, h4, h5, h6").each(function(i, el) { -var $el, id; -$el = $(el); -id = $el.attr('id'); -if (id) { - $el.removeAttr('id'); - return $el.before($("").addClass('anchor').attr('name', id)); -} - }); -}); - - diff --git a/source/_layouts/getting-started.html b/source/_layouts/getting-started.html index 7fc3035..b672f8f 100644 --- a/source/_layouts/getting-started.html +++ b/source/_layouts/getting-started.html @@ -33,19 +33,5 @@ {% include footer.html %} - -$(function() { - return $("h2, h3, h4, h5, h6").each(function(i, el) { -var $el, id; -$el = $(el); -id = $el.attr('id'); -if (id) { - $el.removeAttr('id'); - return $el.before($("").addClass('anchor').attr('name', id)); -} - }); -}); - - diff --git a/source/_layouts/maven-archetypes.html b/source/_layouts/maven-archetypes.html index 63a1002..7e59143 100644 --- a/source/_layouts/maven-archetypes.html +++ b/source/_layouts/maven-archetypes.html @@ -33,19 +33,5 @@ {% include footer.html %} - -$(function() { - return $("h2, h3, h4, h5, h6").each(function(i, el) { -var $el, id; -$el = $(el); -id = $el.attr('id'); -if (id) { - $el.removeAttr('id'); - return $el.before($("").addClass('anchor').attr('name', id)); -} - }); -}); - - diff --git a/source/_layouts/plugin.html b/source/_layouts/plugin.html index c9b3e60..6c3300a 100644 --- a/source/_layouts/plugin.html +++ b/source/_layouts/plugin.html @@ -33,19 +33,5 @@ {% include footer.html %} - -$(function() { - return $("h2, h3, h4, h5, h6").each(function(i, el) { -var $el, id; -$el = $(el); -id = $el.attr('id'); -if (id) { - $el.removeAttr('id'); - return $el.before($("").addClass('anchor').attr('name', id)); -} - }); -}); - - diff --git a/source/css/custom.css b/source/css/custom.css index 7a96649..5e0878f 100644 --- a/source/css/custom.css +++ b/source/css/custom.css @@ -15,7 +15,6 @@ h2, h3, h4, h5, h6 { position: relative; - display: inline-block; } h2:hover .header-link, @@ -26,10 +25,13 @@ h6:hover .header-link { opacity: 1; } -a.anchor { +h2:before, h3:before, h4:before { + content: ''; display: block; - height: 94px; - margin-top: -94px; + + margin-top: -108px; + padding-bottom: 108px; + visibility: hidden; } diff --git a/source/download.html b/source/download.html index 18dead5..65c543d 100644 --- a/source/download.html +++ b/source/download.html @@ -4,7 +4,6 @@ title: Download a Release --- Download a Release of Apache Struts - The Apache Struts web framework is a free open-source solution for creating @@ -17,8 +16,7 @@ title: Download a Release main distribution directory. -Mirror - +Mirror [if-any logo] @@ -59,11 +57,9 @@ title: Download a Release mirrors. -Full Releases - +Full Releases - -Struts {{ site.current_version }} +Struts {{ site.current_version }} http://struts.apache.org/";>Apache Struts {{ site.current_version }} is an elegant, extensible @@ -139,8 +135,7 @@ title: Download a Release - -Str