james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [17/50] [abbrv] james-project git commit: JAMES-1994 Add content for homepage which build by Jekyll
Date Wed, 03 May 2017 10:41:03 GMT
JAMES-1994 Add content for homepage which build by Jekyll


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/91fdf04a
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/91fdf04a
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/91fdf04a

Branch: refs/heads/master
Commit: 91fdf04a218856f795ca64bf933b1b8ce3631fab
Parents: e0a4fd5
Author: quynhn <qnguyen@linagora.com>
Authored: Tue Apr 11 16:00:44 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed May 3 15:02:41 2017 +0700

----------------------------------------------------------------------
 src/homepage/Gemfile                            |   48 +
 src/homepage/_config.yml                        |   32 +
 .../_drafts/2016-08-30-James-3.0.markdown       |  258 ++
 src/homepage/_first/first.markdown              |   25 +
 src/homepage/_includes/footer.html              |   18 +
 src/homepage/_includes/header.html              |   18 +
 src/homepage/_layouts/default.html              |   36 +
 src/homepage/_layouts/post.html                 |   75 +
 .../2016-08-29-welcome-to-jekyll.markdown       |   26 +
 src/homepage/_posts/2016-09-09-test.markdown    |   25 +
 src/homepage/_site/Gemfile                      |   28 +
 src/homepage/_site/Gemfile.lock                 |   52 +
 src/homepage/_site/about.md                     |   58 +
 src/homepage/_site/assets/css/lightbox.css      |  206 +
 src/homepage/_site/assets/fonts/FontAwesome.otf |  Bin 0 -> 124988 bytes
 .../_site/assets/fonts/fontawesome-webfont.eot  |  Bin 0 -> 76518 bytes
 .../_site/assets/fonts/fontawesome-webfont.svg  |  685 +++
 .../_site/assets/fonts/fontawesome-webfont.ttf  |  Bin 0 -> 152796 bytes
 .../_site/assets/fonts/fontawesome-webfont.woff |  Bin 0 -> 90412 bytes
 .../assets/fonts/fontawesome-webfont.woff2      |  Bin 0 -> 71896 bytes
 src/homepage/_site/assets/images/close.png      |  Bin 0 -> 280 bytes
 src/homepage/_site/assets/images/loading.gif    |  Bin 0 -> 8476 bytes
 src/homepage/_site/assets/images/next.png       |  Bin 0 -> 1350 bytes
 src/homepage/_site/assets/images/prev.png       |  Bin 0 -> 1360 bytes
 src/homepage/_site/assets/js/github-fetch.js    |   53 +
 src/homepage/_site/assets/js/ie/PIE.htc         |   96 +
 src/homepage/_site/assets/js/ie/html5shiv.js    |    8 +
 src/homepage/_site/assets/js/ie/respond.min.js  |    6 +
 src/homepage/_site/assets/js/jquery.min.js      |    5 +
 .../_site/assets/js/jquery.scrollex.min.js      |    2 +
 .../_site/assets/js/jquery.scrolly.min.js       |    2 +
 src/homepage/_site/assets/js/lightbox.js        |  453 ++
 src/homepage/_site/assets/js/main.js            |  139 +
 src/homepage/_site/assets/js/skel.min.js        |    2 +
 src/homepage/_site/assets/js/util.js            |  587 +++
 src/homepage/_site/assets/main.css              |  452 ++
 src/homepage/_site/css/font-awesome.min.css     |    4 +
 src/homepage/_site/css/ie8.css                  |   66 +
 src/homepage/_site/css/ie9.css                  |   62 +
 src/homepage/_site/css/images/background.jpg    |  Bin 0 -> 769029 bytes
 src/homepage/_site/css/images/overlay.png       |  Bin 0 -> 20100 bytes
 src/homepage/_site/css/main.css                 | 4158 ++++++++++++++++++
 src/homepage/_site/css/test.html                |   17 +
 src/homepage/_site/elements.html                |  405 ++
 src/homepage/_site/feed.xml                     |   88 +
 src/homepage/_site/generic.html                 |   96 +
 src/homepage/_site/images/james-alt.svg         |   36 +
 .../_site/images/james-general-architecture.png |  Bin 0 -> 88466 bytes
 src/homepage/_site/images/james-imap-server.png |  Bin 0 -> 97620 bytes
 src/homepage/_site/images/james-logo.png        |  Bin 0 -> 4654 bytes
 src/homepage/_site/images/james-smtp-relay.png  |  Bin 0 -> 117823 bytes
 src/homepage/_site/images/james.svg             |  193 +
 src/homepage/_site/index.html                   |  284 ++
 .../_site/james/update/2016/09/09/test.html     |  117 +
 src/homepage/_site/posts.html                   |  122 +
 src/homepage/_site/welcome-jekyll.html          |  117 +
 src/homepage/about.md                           |   58 +
 src/homepage/assets/css/font-awesome.min.css    |    4 +
 src/homepage/assets/css/ie8.css                 |   66 +
 src/homepage/assets/css/ie9.css                 |   62 +
 src/homepage/assets/css/images/background.jpg   |  Bin 0 -> 769029 bytes
 src/homepage/assets/css/images/overlay.png      |  Bin 0 -> 20100 bytes
 src/homepage/assets/css/lightbox.css            |  206 +
 src/homepage/assets/css/main.css                | 4158 ++++++++++++++++++
 src/homepage/assets/css/test.html               |   17 +
 src/homepage/assets/fonts/FontAwesome.otf       |  Bin 0 -> 124988 bytes
 .../assets/fonts/fontawesome-webfont.eot        |  Bin 0 -> 76518 bytes
 .../assets/fonts/fontawesome-webfont.svg        |  685 +++
 .../assets/fonts/fontawesome-webfont.ttf        |  Bin 0 -> 152796 bytes
 .../assets/fonts/fontawesome-webfont.woff       |  Bin 0 -> 90412 bytes
 .../assets/fonts/fontawesome-webfont.woff2      |  Bin 0 -> 71896 bytes
 src/homepage/assets/images/close.png            |  Bin 0 -> 280 bytes
 src/homepage/assets/images/loading.gif          |  Bin 0 -> 8476 bytes
 src/homepage/assets/images/next.png             |  Bin 0 -> 1350 bytes
 src/homepage/assets/images/prev.png             |  Bin 0 -> 1360 bytes
 src/homepage/assets/js/github-fetch.js          |   53 +
 src/homepage/assets/js/ie/PIE.htc               |   96 +
 src/homepage/assets/js/ie/html5shiv.js          |    8 +
 src/homepage/assets/js/ie/respond.min.js        |    6 +
 src/homepage/assets/js/jquery.min.js            |    5 +
 src/homepage/assets/js/jquery.scrollex.min.js   |    2 +
 src/homepage/assets/js/jquery.scrolly.min.js    |    2 +
 src/homepage/assets/js/lightbox.js              |  453 ++
 src/homepage/assets/js/main.js                  |  139 +
 src/homepage/assets/js/skel.min.js              |    2 +
 src/homepage/assets/js/util.js                  |  587 +++
 src/homepage/elements.html                      |  377 ++
 src/homepage/feed.xml                           |   48 +
 src/homepage/images/james-alt.svg               |   36 +
 .../images/james-general-architecture.png       |  Bin 0 -> 88466 bytes
 src/homepage/images/james-imap-server.png       |  Bin 0 -> 97620 bytes
 src/homepage/images/james-logo.png              |  Bin 0 -> 4654 bytes
 src/homepage/images/james-smtp-relay.png        |  Bin 0 -> 117823 bytes
 src/homepage/images/james.svg                   |  193 +
 src/homepage/index.html                         |  240 +
 src/homepage/posts.html                         |   83 +
 96 files changed, 16746 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/Gemfile
----------------------------------------------------------------------
diff --git a/src/homepage/Gemfile b/src/homepage/Gemfile
new file mode 100644
index 0000000..1f0d3cd
--- /dev/null
+++ b/src/homepage/Gemfile
@@ -0,0 +1,48 @@
+#
+#    Licensed to the Apache Software Foundation (ASF) under one
+#    or more contributor license agreements. See the NOTICE file
+#    distributed with this work for additional information
+#    regarding copyright ownership. The ASF licenses this file
+#    to you under the Apache License, Version 2.0 (the
+#    "License"); you may not use this file except in compliance
+#    with the License. You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing,
+#    software distributed under the License is distributed on an
+#    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#    KIND, either express or implied. See the License for the
+#    specific language governing permissions and limitations
+#    under the License.
+#
+
+source 'https://rubygems.org'
+ruby RUBY_VERSION
+
+gem 'jekyll'
+
+#source "https://rubygems.org"
+
+# Hello! This is where you manage which Jekyll version is used to run.
+# When you want to use a different version, change it below, save the
+# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
+#
+#     bundle exec jekyll serve
+#
+# This will help ensure the proper Jekyll version is running.
+# Happy Jekylling!
+#gem "jekyll", "3.2.1"
+
+# This is the default theme for new Jekyll sites. You may change this to anything you like.
+gem "minima"
+
+# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
+# uncomment the line below. To upgrade, run `bundle update github-pages`.
+# gem "github-pages", group: :jekyll_plugins
+
+
+# If you have any plugins, put them here!
+# group :jekyll_plugins do
+#   gem "jekyll-github-metadata", "~> 1.0"
+# end

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_config.yml
----------------------------------------------------------------------
diff --git a/src/homepage/_config.yml b/src/homepage/_config.yml
new file mode 100644
index 0000000..5d659a5
--- /dev/null
+++ b/src/homepage/_config.yml
@@ -0,0 +1,32 @@
+# Welcome to Jekyll!
+#
+# This config file is meant for settings that affect your whole blog, values
+# which you are expected to set up once and rarely edit after that. If you find
+# yourself editing these this file very often, consider using Jekyll's data files
+# feature for the data you need to update frequently.
+#
+# For technical reasons, this file is *NOT* reloaded automatically when you use
+# 'jekyll serve'. If you change this file, please restart the server process.
+
+# Site settings
+# These are used to personalize your new site. If you look in the HTML files,
+# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
+# You can create any custom variable you would like, and they will be accessible
+# in the templates via {{ site.myvariable }}.
+title: James Website
+email: btellier@apache.org
+description: > # this means to ignore newlines until "baseurl:"
+  Write an awesome description for your new site here. You can edit this
+  line in _config.yml. It will appear in your document head meta (for
+  Google search results) and in your feed.xml site description.
+baseurl: "" # the subpath of your site, e.g. /blog
+url: "http://james.apache.org" # the base hostname & protocol for your site
+twitter_username: ApacheJames
+github_username:  apache
+
+# Build settings
+markdown: kramdown
+theme: minima
+
+# Plugins
+gems: []

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_drafts/2016-08-30-James-3.0.markdown
----------------------------------------------------------------------
diff --git a/src/homepage/_drafts/2016-08-30-James-3.0.markdown b/src/homepage/_drafts/2016-08-30-James-3.0.markdown
new file mode 100644
index 0000000..bd97519
--- /dev/null
+++ b/src/homepage/_drafts/2016-08-30-James-3.0.markdown
@@ -0,0 +1,258 @@
+---
+layout: post
+title:  "Apache James 3.0 Relase"
+date:   2016-10-20 16:00:00 +0200
+categories: install doc
+---
+This is the parent module for all Apache James artifacts. It contains useful values to be
inherited by other Maven projects.
+
+* the list of Apache James contributors, committers and PMC Members
+* Maven plugins managemnt section with common plugins used in the project
+* URL's and mailing-lists definitions for the project
+
+How to build and publish the website
+====================================
+
+ 1. Install Apache Maven 3.0.2+ and make its binary 'mvn' available on your PATH.
+    See http://maven.apache.org/download.html#Installation.
+ 2. run "mvn clean site"
+ 3. Test the built site in your browser from the {path}/target/site folder
+ 4. If everything looks OK, deploy the site using "mvn clean site-deploy".
+ 5. Wait for the changes to replicate to the Apache web server or setup 140.211.11.10:80
as
+    a proxy to review the changes (described here: http://www.apache.org/dev/project-site.html)
+
+To deploy the technical reports use the "-Psite-reports" profile.
+
+For wagon-ssh-external configuration see
+http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh-external.html
+
+
+Howto release via maven release plugin
+======================================
+
+See details on http://www.apache.org/dev/publishing-maven-artifacts.html
+
+In short, just follow the 'standard' process:
+
+* Prepare pom for release
+* publish snapshot
+* prepare release
+* stage the release for a vote (don't forget to close the staging repository)
+* vote
+* release
+
+Don't forget to add your key to http://www.apache.org/dist/james/KEYS
+
+    $ ssh people.apache.org
+    $ cd /www/www.apache.org/dist/james
+
+
+Howto check the compilation
+===========================
+
+In order to have a standard compilation environment, we introduce Dockerfiles.
+We need to check the compilation in both Java 6 & Java 8:
+- Java 6 is the historical Java release used in James.
+- Java 8 is used to compile the Cassandra backend.
+
+* Java 6
+First step, you have to build the Docker image
+$ docker build -t james/project dockerfiles/compilation/java-6
+
+In order to run the build, you have to launch the following command:
+$ docker run -v $PWD/.m2:/root/.m2 -v $PWD:/origin -v $PWD/dockerfiles/run/spring/destination:/destination
-t james/project -s SHA1
+
+Where:
+
+- $PWD/.m2:/root/.m2: is the first volume used to share the maven repository,
+as we don't want to download all dependencies on each build
+- $PWD/dockerfiles/run/spring/destination:/destination: is the third volume used to get the
compiled elements,
+as it is needed by the container that will run James.
+- SHA1 (optional): is the given git SHA1 of the james-project repository to build or trunk
if none.
+- -s option: given tests will not be played while building. Not specifying means play tests.
+
+* Java 8
+First step, you have to build the Docker image
+$ docker build -t james/project dockerfiles/compilation/java-8
+
+In order to run the build, you have to launch the following command:
+$ docker run -v $PWD/.m2:/root/.m2 -v $PWD:/origin -v $PWD/dockerfiles/run/spring/destination:/destination
-t james/project -s SHA1
+
+Where:
+
+- $PWD/.m2:/root/.m2: is the first volume used to share the maven repository,
+as we don't want to download all dependencies on each build
+- $PWD/dockerfiles/run/spring/destination:/destination: is the third volume used to get the
compiled elements,
+as it is needed by the container that will run James.
+- SHA1 (optional): is the given git SHA1 of the james-project repository to build or trunk
if none.
+- -s option: given tests will not be played while building. Not specifying means play tests.
+
+Some tests needs a DOCKER_HOST environment variable in order to be played, they will be ignored
if you don't provide this variable.
+If you wish to play them, you may use a command like the following (depending on your docker
configuration):
+$ docker run --env DOCKER_HOST=tcp://172.17.0.1:2376 -v $PWD/.m2:/root/.m2 -v $PWD:/origin
-v $PWD/dockerfiles/run/spring/destination:/destination -t james/project SHA1
+
+If you are using a a fresh installation of Docker, your DOCKER_HOST should be unix:///var/run/docker.sock
and you should mount this socket as a volume:
+$ docker run --env DOCKER_HOST=unix:///var/run/docker.sock -v /var/run/docker.sock:/var/run/docker.sock
-v $PWD/.m2:/root/.m2 -v $PWD:/origin -v $PWD/dockerfiles/run/spring/destination:/destination
-t james/project SHA1
+
+
+Howto run James in Docker
+=========================
+
+This feature available for two configurations :
+
+ * Java 8 + Guice + Cassandra + ElasticSearch
+ * Java 6 + Spring + JPA
+
+
+Run James with Java 8 + Guice + Cassandra + ElasticSearch
+=========================================================
+
+## Requirements
+Built artifacts should be in ./dockerfiles/run/guice/destination folder.
+If you haven't already:
+```bash
+$ docker build -t james/project dockerfiles/compilation/java-8
+$ docker run -v $HOME/.m2:/root/.m2 -v $PWD:/origin \
+  -v $PWD/dockerfiles/run/guice/destination:/destination \
+  -t james/project -s HEAD
+```
+
+## Howto ?
+You need a running **cassandra** in docker. To achieve this run :
+```bash
+$ docker run -d --name=cassandra cassandra:2.2.3
+```
+
+You need a running **ElasticSearch** in docker. To achieve this run :
+```bash
+$ docker run -d --name=elasticsearch elasticsearch:2.2.1
+```
+
+We need to provide the key we will use for TLS. For obvious reasons, this is not provided
in this git.
+
+Copy your TLS keys to `destination/run/guice/conf/keystore` or generate it using the following
command. The password must be `james72laBalle` to match default configuration.
+```bash
+$ keytool -genkey -alias james -keyalg RSA -keystore dockerfiles/run/guice/destination/conf/keystore
+```
+
+Then we need to build james container :
+```bash
+$ docker build -t james_run dockerfiles/run/guice/
+```
+
+To run this container :
+```bash
+$ docker run --hostname HOSTNAME -p "25:25" -p 80:80 -p "110:110" -p "143:143" -p "465:465"
-p "587:587" -p "993:993" --link cassandra:cassandra --link elasticsearch:elasticsearch --name
james_run -t james_run
+```
+
+Where :
+- HOSTNAME: is the hostname you want to give to your James container. This DNS entry will
be used to send mail to your James server.
+
+You can add an optional port binding to port 8000, to expose the webadmin server. Please
note that users are not authenticated on webadmin server, thus you should avoid exposing it
in production.
+
+Run James with Java 6 + Spring + JPA
+====================================
+
+* Requirements
+Built artifacts should be in ./dockerfiles/run/spring/destination folder.
+
+* Howto ?
+
+We need to provide the key we will use for TLS. For obvious reasons, this is not provided
in this git.
+
+Copy your TSL keys to destination/run/spring/conf/keystore or generate it using the following
command. The password must be james72laBalle to match default configuration.
+$ keytool -genkey -alias james -keyalg RSA -keystore dockerfiles/run/spring/destination/conf/keystore
+
+Then we need to build james container :
+$ docker build -t james_run dockerfiles/run/spring/
+
+To run this container :
+$ docker run --hostname HOSTNAME -p "25:25" -p "110:110" -p "143:143" -p "465:465" -p "587:587"
-p "993:993" --name james_run -t james_run
+
+Where :
+- HOSTNAME: is the hostname you want to give to your James container. This DNS entry will
be used to send mail to your James server.
+
+
+Useful commands
+===============
+
+The base command is different whether you choose guice flavor or spring :
+
+  * guice use : `docker exec james_run java -jar /root/james-cli.jar`
+  * spring use : `docker exec james_run /root/james-server-app-3.0.0-beta5-SNAPSHOT/bin/james-cli.sh`
+
+** How to add a domain ?
+# Add DOMAIN to 127.0.0.1 in your host /etc/hosts
+$ <your-command-here> -h 127.0.0.1 -p 9999 adddomain DOMAIN
+
+Where :
+- DOMAIN: is the domain you want to add.
+
+** How to add a user ?
+$ <your-command-here> -h 127.0.0.1 -p 9999 adduser USER_MAIL_ADDRESS PASSWORD
+
+Where :
+- USER_MAIL_ADDRESS: is the mail address that will be used by this user.
+- PASSWORD: is the password that will be used by this user.
+
+You can then just add DOMAIN to your /etc/hosts and you can connect to your james account
with for instance Thunderbird.
+
+** How to manage SIEVE scripts ?
+Each user can manage his SIEVE scripts threw the manage SIEVE mailet.
+
+To use the manage SIEVE mailet :
+
+ - You need to create the user sievemanager@DOMAIN ( if you don't, the SMTP server will check
the domain, recognize it, and look for an absent local user, and will generate an error ).
+ - You can send Manage Sieve commands by mail to sievemanager@DOMAIN. Your subject must contain
the command. Scripts needs to be added as attachments and need the ".sieve" extension.
+
+To activate a script for a user, you need the following combinaison :
+
+ - PUTSCRIPT scriptname
+ - SETACTIVE scriptname
+
+** I want to retrieve users and password from my previous container
+Some james data ( those non related to mailbox, eg : mail queue, domains, users, rrt, SIEVE
scripts, mail repositories ) are not yet supported by our Cassandra implementation.
+
+To keep these data when you run a new container, you can mount the following volume :
+ -v /root/james-server-app-3.0.0-beta5-SNAPSHOT/var:WORKDIR/destination/var
+
+Where :
+- WORKDIR: is the absolute path to your james-parent workdir.
+
+Beware : you will have concurrency issues if multiple containers are running on this single
volume.
+
+Running deployement Tests
+=========================
+
+We wrote some MPT (James' Mail Protocols Tests subproject) deployement tests to validate
a James
+deployement.
+
+It uses the External-James module, that uses environment variables to locate a remote
+IMAP server and run integration tests against it.
+
+For that, the target James Server needs to be configured with a domain domain and a user
imapuser
+with password password. Read above documentation to see how you can do this.
+
+You have to run MPT tests inside docker. As you need to use maven, the simplest option is
to
+use james/parent image, and override the entry point ( as git and maven are already configured
+there ) :
+$ docker run -t --entrypoint="/root/integration_tests.sh" -v $PWD/.m2:/root/.m2 -v $PWD:/origin
james/project JAMES_IP JAMES_PORT SHA1
+
+Where :
+ - JAMES_IP: IP address or DNS entry for your James server
+ - JAMES_PORT: Port allocated to James' IMAP port (should be 143).
+ - SHA1(optional): Branch to use in order to build integration tests or trunk
+
+
+Howto check the merge of a commit
+=================================
+
+First step, you have to build the Docker image
+$ docker build -t james/merge dockerfiles/merge
+
+In order to run the build, you have to launch the following command:
+$ docker run -v $PWD:/origin -t james/merge SHA1 RESULTING_BRANCH
+
+Where :
+- SHA1: is the given git SHA1 of the james-project repository to merge.
+- RESULTING_BRANCH: is the branch created when merging.

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_first/first.markdown
----------------------------------------------------------------------
diff --git a/src/homepage/_first/first.markdown b/src/homepage/_first/first.markdown
new file mode 100644
index 0000000..d4a153e
--- /dev/null
+++ b/src/homepage/_first/first.markdown
@@ -0,0 +1,25 @@
+---
+layout: first
+title:  "Test Post"
+date:   2016-09-09 16:13:22 +0200
+categories: james update
+---
+You'll find this post in your `_posts` directory. Go ahead and edit it and re-build the site
to see your changes. You can rebuild the site in many different ways, but the most common
way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when
a file is updated.
+
+To add new posts, simply add a file in the `_posts` directory that follows the convention
`YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the
source for this post to get an idea about how it works.
+
+Jekyll also offers powerful support for code snippets:
+
+{% highlight ruby %}
+def print_hi(name)
+  puts "Hi, #{name}"
+end
+print_hi('Tom')
+#=> prints 'Hi, Tom' to STDOUT.
+{% endhighlight %}
+
+Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll.
File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions,
you can ask them on [Jekyll Talk][jekyll-talk].
+
+[jekyll-docs]: http://jekyllrb.com/docs/home
+[jekyll-gh]:   https://github.com/jekyll/jekyll
+[jekyll-talk]: https://talk.jekyllrb.com/

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_includes/footer.html
----------------------------------------------------------------------
diff --git a/src/homepage/_includes/footer.html b/src/homepage/_includes/footer.html
new file mode 100644
index 0000000..7acdb43
--- /dev/null
+++ b/src/homepage/_includes/footer.html
@@ -0,0 +1,18 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_includes/header.html
----------------------------------------------------------------------
diff --git a/src/homepage/_includes/header.html b/src/homepage/_includes/header.html
new file mode 100644
index 0000000..7acdb43
--- /dev/null
+++ b/src/homepage/_includes/header.html
@@ -0,0 +1,18 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_layouts/default.html
----------------------------------------------------------------------
diff --git a/src/homepage/_layouts/default.html b/src/homepage/_layouts/default.html
new file mode 100644
index 0000000..1f21f32
--- /dev/null
+++ b/src/homepage/_layouts/default.html
@@ -0,0 +1,36 @@
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<!DOCTYPE html>
+	<html>
+		<head>
+			<title>{{ page.title }}</title>
+			<!-- link to main stylesheet-->
+			<link rel="stylesheet" type="text/css" href="assets/css/main.css">
+			<link rel="stylesheet" type="text/css" href="assets/css/font-awesome.min.css">
+			<link rel="stylesheet" type="text/css" href="assets/css/ie8.css">
+			<link rel="stylesheet" type="text/css" href="assets/css/ie9.css">
+
+
+
+		</head>
+		<body>
+		<!--<link href="css/main.css" rel="stylesheet">-->
+			{{ content }}
+		</body>
+	</html>

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_layouts/post.html
----------------------------------------------------------------------
diff --git a/src/homepage/_layouts/post.html b/src/homepage/_layouts/post.html
new file mode 100644
index 0000000..d38a92e
--- /dev/null
+++ b/src/homepage/_layouts/post.html
@@ -0,0 +1,75 @@
+---
+layout: default
+---
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements. See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership. The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied. See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<div id="wrapper" class="post-page">
+
+  <!-- Header -->
+    <header id="header" class="alt">
+      <h1><span class="icon fa-file-text-o"></span> {{ page.title }}</h1>
+      <p>{{ page.date | date: '%B %d, %Y' }}</p>
+    </header>
+
+  <!-- Main -->
+    <div id="main">
+
+      <!-- Content -->
+        <section id="content" class="main">
+
+          {{ content }}
+
+          <footer class="major special">
+            <hr>
+            <center>
+              <ul class="actions">
+                <li><a href="/index.html" class="button">Back to homepage</a></li>
+                <li><a href="/posts.html" class="button">Read More Posts</a></li>
+              </ul>
+            </center>
+          </footer>
+        </section>
+    </div>
+    <footer id="footer" class="major">
+      <section>
+        <h2>James</h2>
+        <ul class="no-padding">
+          <li class="no-padding"><a href="../#intro" class="active">About</a></li>
+          <li class="no-padding"><a href="../#first">Get Started</a></li>
+          <li class="no-padding"><a href="../#posts">Last Posts</a></li>
+          <li class="no-padding"><a href="../#second">Community</a></li>
+          <li class="no-padding"><a href="https://james.apache.org/"><span
class="fa fa-external-link"></span> Documentation</a></li>
+        </ul>
+      </section>
+      <section>
+        <h2>Connect</h2>
+        <ul class="icons">
+          <li><a href="http://twitter.com/ApacheJames" class="icon fa-twitter alt"><span
class="label">Twitter</span></a></li>
+          <li><a href="https://github.com/apache/james-project" class="icon fa-github
alt"><span class="label">GitHub</span></a></li>
+          <li><a href="http://james.apache.org/mail.html" class="icon fa-envelope-o
alt"><span class="label">Mailing-list</span></a></li>
+        </ul>
+      </section>
+      <section>
+        <h2>Copyright</h2>
+        <a href="http://www.apache.org/">Apache Licence Copyright</a><br/>
+        &copy;Untitled. Design: <a href="https://html5up.net">HTML5 UP</a>
+      </section>
+    </footer>
+</div>

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_posts/2016-08-29-welcome-to-jekyll.markdown
----------------------------------------------------------------------
diff --git a/src/homepage/_posts/2016-08-29-welcome-to-jekyll.markdown b/src/homepage/_posts/2016-08-29-welcome-to-jekyll.markdown
new file mode 100644
index 0000000..cbf2f9a
--- /dev/null
+++ b/src/homepage/_posts/2016-08-29-welcome-to-jekyll.markdown
@@ -0,0 +1,26 @@
+---
+layout: post
+title:  "Welcome to Jekyll"
+date:   2016-08-29 16:13:22 +0200
+permalink: /welcome-jekyll
+categories: james update
+---
+You'll find this post in your `_posts` directory. Go ahead and edit it and re-build the site
to see your changes. You can rebuild the site in many different ways, but the most common
way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when
a file is updated.
+
+To add new posts, simply add a file in the `_posts` directory that follows the convention
`YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the
source for this post to get an idea about how it works.
+
+Jekyll also offers powerful support for code snippets:
+
+{% highlight ruby %}
+def print_hi(name)
+  puts "Hi, #{name}"
+end
+print_hi('Tom')
+#=> prints 'Hi, Tom' to STDOUT.
+{% endhighlight %}
+
+Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll.
File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions,
you can ask them on [Jekyll Talk][jekyll-talk].
+
+[jekyll-docs]: http://jekyllrb.com/docs/home
+[jekyll-gh]:   https://github.com/jekyll/jekyll
+[jekyll-talk]: https://talk.jekyllrb.com/

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_posts/2016-09-09-test.markdown
----------------------------------------------------------------------
diff --git a/src/homepage/_posts/2016-09-09-test.markdown b/src/homepage/_posts/2016-09-09-test.markdown
new file mode 100644
index 0000000..b4511b8
--- /dev/null
+++ b/src/homepage/_posts/2016-09-09-test.markdown
@@ -0,0 +1,25 @@
+---
+layout: post
+title:  "Test Post"
+date:   2016-09-09 16:13:22 +0200
+categories: james update
+---
+You'll find this post in your `_posts` directory. Go ahead and edit it and re-build the site
to see your changes. You can rebuild the site in many different ways, but the most common
way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when
a file is updated.
+
+To add new posts, simply add a file in the `_posts` directory that follows the convention
`YYYY-MM-DD-name-of-post.ext` and includes the necessary front matter. Take a look at the
source for this post to get an idea about how it works.
+
+Jekyll also offers powerful support for code snippets:
+
+{% highlight ruby %}
+def print_hi(name)
+  puts "Hi, #{name}"
+end
+print_hi('Tom')
+#=> prints 'Hi, Tom' to STDOUT.
+{% endhighlight %}
+
+Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll.
File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions,
you can ask them on [Jekyll Talk][jekyll-talk].
+
+[jekyll-docs]: http://jekyllrb.com/docs/home
+[jekyll-gh]:   https://github.com/jekyll/jekyll
+[jekyll-talk]: https://talk.jekyllrb.com/

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_site/Gemfile
----------------------------------------------------------------------
diff --git a/src/homepage/_site/Gemfile b/src/homepage/_site/Gemfile
new file mode 100644
index 0000000..cd5f0cc
--- /dev/null
+++ b/src/homepage/_site/Gemfile
@@ -0,0 +1,28 @@
+source 'https://rubygems.org'
+ruby RUBY_VERSION
+
+gem 'jekyll'
+
+#source "https://rubygems.org"
+
+# Hello! This is where you manage which Jekyll version is used to run.
+# When you want to use a different version, change it below, save the
+# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
+#
+#     bundle exec jekyll serve
+#
+# This will help ensure the proper Jekyll version is running.
+# Happy Jekylling!
+#gem "jekyll", "3.2.1"
+
+# This is the default theme for new Jekyll sites. You may change this to anything you like.
+gem "minima"
+
+# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
+# uncomment the line below. To upgrade, run `bundle update github-pages`.
+# gem "github-pages", group: :jekyll_plugins
+
+# If you have any plugins, put them here!
+# group :jekyll_plugins do
+#   gem "jekyll-github-metadata", "~> 1.0"
+# end

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_site/Gemfile.lock
----------------------------------------------------------------------
diff --git a/src/homepage/_site/Gemfile.lock b/src/homepage/_site/Gemfile.lock
new file mode 100644
index 0000000..8946ff3
--- /dev/null
+++ b/src/homepage/_site/Gemfile.lock
@@ -0,0 +1,52 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    addressable (2.5.1)
+      public_suffix (~> 2.0, >= 2.0.2)
+    colorator (1.1.0)
+    ffi (1.9.18)
+    forwardable-extended (2.6.0)
+    jekyll (3.4.3)
+      addressable (~> 2.4)
+      colorator (~> 1.0)
+      jekyll-sass-converter (~> 1.0)
+      jekyll-watch (~> 1.1)
+      kramdown (~> 1.3)
+      liquid (~> 3.0)
+      mercenary (~> 0.3.3)
+      pathutil (~> 0.9)
+      rouge (~> 1.7)
+      safe_yaml (~> 1.0)
+    jekyll-sass-converter (1.5.0)
+      sass (~> 3.4)
+    jekyll-watch (1.5.0)
+      listen (~> 3.0, < 3.1)
+    kramdown (1.13.2)
+    liquid (3.0.6)
+    listen (3.0.6)
+      rb-fsevent (>= 0.9.3)
+      rb-inotify (>= 0.9.7)
+    mercenary (0.3.6)
+    minima (2.0.0)
+    pathutil (0.14.0)
+      forwardable-extended (~> 2.6)
+    public_suffix (2.0.5)
+    rb-fsevent (0.9.8)
+    rb-inotify (0.9.8)
+      ffi (>= 0.5.0)
+    rouge (1.11.1)
+    safe_yaml (1.0.4)
+    sass (3.4.23)
+
+PLATFORMS
+  ruby
+
+DEPENDENCIES
+  jekyll
+  minima
+
+RUBY VERSION
+   ruby 2.1.10p492
+
+BUNDLED WITH
+   1.14.6

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_site/about.md
----------------------------------------------------------------------
diff --git a/src/homepage/_site/about.md b/src/homepage/_site/about.md
new file mode 100644
index 0000000..0740bc8
--- /dev/null
+++ b/src/homepage/_site/about.md
@@ -0,0 +1,58 @@
+This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme,
as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
+
+You can find the source code for the Jekyll new theme at:
+{% include icon-github.html username="jekyll" %} /
+[minima](https://github.com/jekyll/minima)
+
+You can find the source code for Jekyll at
+{% include icon-github.html username="jekyll" %} /
+[jekyll](https://github.com/jekyll/jekyll)
+
+
+## How to post new articles on Jekyll
+
+
+#### The Posts Folder
+
+As explained on the [directory structure](https://jekyllrb.com/docs/structure/) page, the
_posts folder is where your blog posts will live:
+
+```
+.
+├── _drafts
+├── _includes
+├── _layouts
+├── _posts
+|   ├── 2007-10-29-why-every-programmer-should-play-nethack.md
+|   └── 2009-04-26-barcamp-boston-4-roundup.md
+├── _data
+├── _site
+├── .jekyll-metadata
+└── index.html
+```
+
+The files extension is Markdown.
+
+
+#### Front Matter
+
+
+The front matter is where Jekyll starts to get really cool. Any file that contains a YAML
front matter block will be processed by Jekyll as a special file. The front matter must be
the first thing in the file and must take the form of valid YAML set between triple-dashed
lines. Here is a basic example:
+
+```
+---
+layout: post
+title:  "Welcome to Jekyll"
+date:   2016-08-29 16:13:22 +0200
+tags: 
+---
+```
+
+* ```Layout``` attribute must be always Post to load the good HTM-CSS template of the page
+* ```Title``` attribute is free
+* ```Date``` attribute must be formatted like this: ```YYYY-MM-DD HH:MM:SS +/-TTTT```
+* ```tags``` attributes can be added to a post. Tags can be specified as a [YAML list](https://en.wikipedia.org/wiki/YAML#Basic_components)
or a space-separated string
+
+#### Warning!
+**The value is conditionning the display or not of the post at compilation, so is post date
means you must build site with jekyll after it to actually publish it.**
+
+No Content Management System here who's publish for you the post.

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_site/assets/css/lightbox.css
----------------------------------------------------------------------
diff --git a/src/homepage/_site/assets/css/lightbox.css b/src/homepage/_site/assets/css/lightbox.css
new file mode 100644
index 0000000..56d3cfb
--- /dev/null
+++ b/src/homepage/_site/assets/css/lightbox.css
@@ -0,0 +1,206 @@
+/* Preload images */
+body:after {
+  content: url(../images/close.png) url(../images/loading.gif) url(../images/prev.png) url(../images/next.png);
+  display: none;
+}
+
+body.lb-disable-scrolling {
+  overflow: hidden;
+}
+
+.lightboxOverlay {
+  position: absolute;
+  top: 0;
+  left: 0;
+  z-index: 9999;
+  background-color: black;
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
+  opacity: 0.8;
+  display: none;
+}
+
+.lightbox {
+  position: absolute;
+  left: 0;
+  width: 100%;
+  z-index: 10000;
+  text-align: center;
+  line-height: 0;
+  font-weight: normal;
+}
+
+.lightbox .lb-image {
+  display: block;
+  height: auto;
+  max-width: inherit;
+  border-radius: 3px;
+}
+
+.lightbox a img {
+  border: none;
+}
+
+.lb-outerContainer {
+  position: relative;
+  background-color: white;
+  *zoom: 1;
+  width: 250px;
+  height: 250px;
+  margin: 0 auto;
+  border-radius: 4px;
+}
+
+.lb-outerContainer:after {
+  content: "";
+  display: table;
+  clear: both;
+}
+
+.lb-container {
+  padding: 4px;
+}
+
+.lb-loader {
+  position: absolute;
+  top: 43%;
+  left: 0;
+  height: 25%;
+  width: 100%;
+  text-align: center;
+  line-height: 0;
+}
+
+.lb-cancel {
+  display: block;
+  width: 32px;
+  height: 32px;
+  margin: 0 auto;
+  background: url(../images/loading.gif) no-repeat;
+}
+
+.lb-nav {
+  position: absolute;
+  top: 0;
+  left: 0;
+  height: 100%;
+  width: 100%;
+  z-index: 10;
+}
+
+.lb-container > .nav {
+  left: 0;
+}
+
+.lb-nav a {
+  outline: none;
+  background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
+}
+
+.lb-prev, .lb-next {
+  height: 100%;
+  cursor: pointer;
+  display: block;
+}
+
+.lb-nav a.lb-prev {
+  width: 34%;
+  left: 0;
+  float: left;
+  background: url(../images/prev.png) left 48% no-repeat;
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
+  opacity: 0;
+  -webkit-transition: opacity 0.6s;
+  -moz-transition: opacity 0.6s;
+  -o-transition: opacity 0.6s;
+  transition: opacity 0.6s;
+}
+
+.lb-nav a.lb-prev:hover {
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
+  opacity: 1;
+}
+
+.lb-nav a.lb-next {
+  width: 64%;
+  right: 0;
+  float: right;
+  background: url(../images/next.png) right 48% no-repeat;
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
+  opacity: 0;
+  -webkit-transition: opacity 0.6s;
+  -moz-transition: opacity 0.6s;
+  -o-transition: opacity 0.6s;
+  transition: opacity 0.6s;
+}
+
+.lb-nav a.lb-next:hover {
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
+  opacity: 1;
+}
+
+.lb-dataContainer {
+  margin: 0 auto;
+  padding-top: 5px;
+  *zoom: 1;
+  width: 100%;
+  -moz-border-radius-bottomleft: 4px;
+  -webkit-border-bottom-left-radius: 4px;
+  border-bottom-left-radius: 4px;
+  -moz-border-radius-bottomright: 4px;
+  -webkit-border-bottom-right-radius: 4px;
+  border-bottom-right-radius: 4px;
+}
+
+.lb-dataContainer:after {
+  content: "";
+  display: table;
+  clear: both;
+}
+
+.lb-data {
+  padding: 0 4px;
+  color: #ccc;
+}
+
+.lb-data .lb-details {
+  width: 85%;
+  float: left;
+  text-align: left;
+  line-height: 1.1em;
+}
+
+.lb-data .lb-caption {
+  font-size: 13px;
+  font-weight: bold;
+  line-height: 1em;
+}
+
+.lb-data .lb-number {
+  display: block;
+  clear: left;
+  padding-bottom: 1em;
+  font-size: 12px;
+  color: #999999;
+}
+
+.lb-data .lb-close {
+  display: block;
+  float: right;
+  width: 30px;
+  height: 30px;
+  background: url(../images/close.png) top right no-repeat;
+  text-align: right;
+  outline: none;
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
+  opacity: 0.7;
+  -webkit-transition: opacity 0.2s;
+  -moz-transition: opacity 0.2s;
+  -o-transition: opacity 0.2s;
+  transition: opacity 0.2s;
+}
+
+.lb-data .lb-close:hover {
+  cursor: pointer;
+  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
+  opacity: 1;
+}

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_site/assets/fonts/FontAwesome.otf
----------------------------------------------------------------------
diff --git a/src/homepage/_site/assets/fonts/FontAwesome.otf b/src/homepage/_site/assets/fonts/FontAwesome.otf
new file mode 100644
index 0000000..d4de13e
Binary files /dev/null and b/src/homepage/_site/assets/fonts/FontAwesome.otf differ

http://git-wip-us.apache.org/repos/asf/james-project/blob/91fdf04a/src/homepage/_site/assets/fonts/fontawesome-webfont.eot
----------------------------------------------------------------------
diff --git a/src/homepage/_site/assets/fonts/fontawesome-webfont.eot b/src/homepage/_site/assets/fonts/fontawesome-webfont.eot
new file mode 100644
index 0000000..c7b00d2
Binary files /dev/null and b/src/homepage/_site/assets/fonts/fontawesome-webfont.eot differ


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message