Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • cordeliaze/cesium
  • pfouque06/cesium
  • wellno1/cesium
  • 1000i100/cesium
  • vincentux/cesium
  • calbasi/cesium
  • thomasbromehead/cesium
  • matograine/cesium
  • clients/cesium-grp/cesium
  • cedricmenec/cesium
  • Pamplemousse/cesium
  • etienneleba/cesium
  • tnntwister/cesium
  • scanlegentil/cesium
  • morvanc/cesium
  • yyy/cesium
  • Axce/cesium
  • Bertrandbenj/cesium
  • Lupus/cesium
  • elmau/cesium
  • MartinDelille/cesium
  • tykayn/cesium
  • numeropi/cesium
  • Vivakvo/cesium
  • pokapow/cesium
  • pini-gh/cesium
  • anam/cesium
  • RavanH/cesium
  • bpresles/cesium
  • am97/cesium
  • tuxmain/cesium
  • jytou/cesium
  • oliviermaurice/cesium
  • 666titi999/cesium
  • Yvv/cesium
35 results
Show changes
Commits on Source (573)
{
"directory": "www/lib"
}
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
# http://git-scm.com/docs/gitignore # http://git-scm.com/docs/gitignore
/node_modules/ /node_modules/
/platforms/* /platforms/ios
#!/platforms/android /platforms/android
/resources/android/build/local.properties /resources/android/build/local.properties
/resources/android/build/*.keystore /resources/android/build/*.keystore
/resources/android/build/release-signing.properties /resources/android/build/release-signing.properties
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
/hooks/uglify-config.json /hooks/uglify-config.json
/hooks/after_prepare/uglify.js /hooks/after_prepare/uglify.js
/scripts/sdkmanager.log
/www/js/config.js /www/js/config.js
/www/dist /www/dist
/www/lib /www/lib
...@@ -44,3 +46,5 @@ ...@@ -44,3 +46,5 @@
/www/img/loader.gif /www/img/loader.gif
/www/img/search-icon.png /www/img/search-icon.png
/www/img/search-icon-mobile.png /www/img/search-icon-mobile.png
.run/*
# ---------------------------------------------------------------
# Global
# ---------------------------------------------------------------
# default image
image: node:12
# stages (main steps of pipeline)
stages: stages:
- build - build
- alt_build - alt_build
- publish - deploy
fast-build: # ---------------------------------------------------------------
stage: build # Global variables
image: $CI_REGISTRY_IMAGE # ---------------------------------------------------------------
variables:
CI_BUILD_IMAGE: $CI_REGISTRY_IMAGE/build:develop
# ---------------------------------------------------------------
# Jobs templates
# ---------------------------------------------------------------
.docker:
image: docker:latest
tags: [redshift]
services:
- docker:dind
before_script: before_script:
- mv /customCache/node_modules ./ - docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
- cp -rf /customCache/www ./ #- docker login -u "duniterteam" -p "$DUNITERTEAM_PASSWD"
- cp -rf /customCache/hooks ./ after_script:
- docker logout ${CI_REGISTRY}
#- docker logout
allow_failure: false
# ---------------------------------------------------------------
# Build jobs
# ---------------------------------------------------------------
.build:
stage: build
tags: [redshift]
script: script:
- node ./node_modules/gulp/bin/gulp webBuild - yarn install
- yarn run build:web
after_script: after_script:
- ls -la dist/web/ - ls -la dist/web/
- du -csh dist/web/ - du -csh dist/web/
...@@ -20,51 +53,63 @@ fast-build: ...@@ -20,51 +53,63 @@ fast-build:
paths: paths:
- dist/web - dist/web
expire_in: 60 minutes expire_in: 60 minutes
build:
extends: .build
image: ${CI_BUILD_IMAGE}
before_script:
- mv /tmp/.build-cache/node_modules ./
only: only:
- master - develop
- tags
failsafe-build: failsafe-build:
extends: .build
stage: alt_build stage: alt_build
when: on_failure when: on_failure
image: node:10 before_script:
script: - yarn global add gulp
- yarn
- node ./node_modules/gulp/bin/gulp config --env default
- node ./node_modules/gulp/bin/gulp webBuild
artifacts:
untracked: true
paths:
- dist/web
expire_in: 60 minutes
only: only:
- master - develop
- tags
docker-for-fast-build: docker:ci:
extends: .docker
stage: alt_build stage: alt_build
when: on_failure when: on_failure
allow_failure: true allow_failure: true
tags:
- doppler-docker
image: docker:latest
services:
- docker:dind
script: script:
- echo 'FROM node:10' > Dockerfile # Create the target directory
- echo 'WORKDIR /customCache' >> Dockerfile - mkdir -p dist/ci
- cd dist/ci
# Create the Dockerfile
- echo 'FROM node:12' > Dockerfile
- echo 'WORKDIR /tmp/.build-cache' >> Dockerfile
- echo 'COPY ./ ./' >> Dockerfile - echo 'COPY ./ ./' >> Dockerfile
- echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"`>/before.txt' >> Dockerfile # Store disk usage (before install)
- echo 'RUN yarn' >> Dockerfile - echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"` > /tmp/before.txt' >> Dockerfile
- echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"`>/after.txt' >> Dockerfile - echo 'RUN du -s `find /tmp/.cache/yarn -maxdepth 1 | egrep -v "^\.$"` >> /tmp/before.txt' >> Dockerfile
# Install dependencies
- echo 'RUN yarn global add gulp web-ext @ionic/cli' >> Dockerfile
- echo 'RUN yarn install' >> Dockerfile
# Store disk usage (after install)
- echo 'RUN du -s `find . -maxdepth 1 | egrep -v "^\.$"` > /tmp/after.txt' >> Dockerfile
- echo 'RUN du -s `find /tmp/.cache/yarn -maxdepth 1 | egrep -v "^\.$"` >> /tmp/after.txt' >> Dockerfile
# Force docker to detect any changes
- echo "RUN diff /tmp/before.txt /tmp/after.txt || true" >> Dockerfile
- echo 'WORKDIR /build' >> Dockerfile - echo 'WORKDIR /build' >> Dockerfile
- echo "RUN diff /before.txt /after.txt || true" >> Dockerfile # Build and push the CI image
- docker login -u "gitlab-ci-token" -p "$CI_BUILD_TOKEN" $CI_REGISTRY - docker build --no-cache -t ${CI_BUILD_IMAGE} .
- docker build --pull -t "$CI_REGISTRY_IMAGE" . - docker push ${CI_BUILD_IMAGE}
- docker push "$CI_REGISTRY_IMAGE" artifacts:
paths:
- dist/ci/Dockerfile
expire_in: 60 minutes
# ---------------------------------------------------------------
# Deploy jobs
# ---------------------------------------------------------------
pages: pages:
stage: publish stage: deploy
image: node:10
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
...@@ -76,8 +121,9 @@ pages: ...@@ -76,8 +121,9 @@ pages:
- public - public
only: only:
- master - master
mirror: mirror:
stage: publish stage: deploy
image: liaohuqiu/rsync image: liaohuqiu/rsync
before_script: before_script:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
...@@ -94,10 +140,8 @@ mirror: ...@@ -94,10 +140,8 @@ mirror:
only: only:
- master - master
release:
release-web: stage: deploy
stage: publish
image: node:10
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
script: script:
......
[submodule "dist/desktop"] [submodule "dist/desktop"]
path = dist/desktop path = dist/desktop
url = git@git.duniter.org:clients/cesium-grp/cesium-desktop.git url = git@git.duniter.org:clients/cesium-grp/cesium-desktop.git
[submodule "android"] [submodule "dist/android/sources"]
path = platforms/android path = dist/android/sources
url = git@git.duniter.org:clients/cesium-grp/cesium-android.git url = git@git.duniter.org:clients/cesium-grp/cesium-android.git
FROM ubuntu:18.04 FROM node:12
LABEL maintainer="benoit [dot] lavenier [at] e-is [dot] pro" LABEL maintainer="benoit [dot] lavenier [at] e-is [dot] pro"
LABEL version="1.7.0-rc1"
LABEL description="Cesium Wallet for Ğ1 libre currency"
ARG CESIUM_VER="1.7.0-rc1"
ENV DEBIAN_FRONTEND=noninteractive \ ENV DEBIAN_FRONTEND=noninteractive \
ANDROID_HOME=/opt/android-sdk-linux \ NODE_VERSION=16.17.0 \
NODE_VERSION=10.17.0 \ NPM_VERSION=8.3.0 \
NPM_VERSION=6.13.4 \ YARN_VERSION=1.22.17 \
IONIC_VERSION=5.4.13 \ IONIC_CLI_VERSION=6.20.9 \
CORDOVA_VERSION=9.0.0 \ CORDOVA_VERSION=10.0.0 \
GRADLE_VERSION=4.10.3 \ GRADLE_VERSION=6.5.1 \
GULP_VERSION=2.2.0 \ GULP_VERSION=4.0.2
ANDROID_NDK_VERSION=r19c \
ANDROID_SDK_VERSION=r29.0.0
# Install basics # Install basics
RUN apt-get update && \ RUN apk update && \
apt-get install -y git wget curl unzip build-essential software-properties-common ruby ruby-dev ruby-ffi gcc make python && \ apk add ca-certificates wget curl git && \
curl --retry 3 -SLO "http://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" && \ update-ca-certificates && \
tar -xzf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local --strip-components=1 && \ apk add --update python make g++
rm "node-v$NODE_VERSION-linux-x64.tar.gz"
# Install global nodeJS dependencies
RUN npm install -g npm@"$NPM_VERSION" && \
npm install -g yarn gulp@"$GULP_VERSION" cordova@"$CORDOVA_VERSION" ionic@"$IONIC_VERSION" && \
npm cache clear --force
#RUN npm install -g node-sass@^4.13.0
# Install Java JDK
RUN apt-get update && \
apt-get -y install openjdk-8-jdk-headless
# Install Android prerequisites
RUN echo ANDROID_HOME="${ANDROID_HOME}" >> /etc/environment && \
dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y --force-yes expect ant wget zipalign libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 qemu-kvm kmod && \
apt-get clean && \
apt-get autoclean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install Android SDK
#RUN cd /opt && \
# wget --output-document=android-sdk.tgz --quiet http://dl.google.com/android/android-sdk_"$ANDROID_SDK_VERSION"-linux.tgz && \
# tar xzf android-sdk.tgz && \
# rm -f android-sdk.tgz && \
# chown -R root. /opt
#
## Install Android NDK
#RUN cd /opt/ && \
# wget --output-document=android-ndk.zip --quiet https://dl.google.com/android/repository/android-ndk-"$ANDROID_NDK_VERSION"-linux-x86_64.zip && \
# unzip android-ndk.zip && \
# rm android-ndk.zip && \
# chown -R root. /opt
# Install Gradle
#RUN cd /opt/ && \
# wget https://services.gradle.org/distributions/gradle-"$GRADLE_VERSION"-bin.zip && \
# mkdir /opt/gradle && \
# unzip -d /opt/gradle gradle-"$GRADLE_VERSION"-bin.zip && \
# rm -rf gradle-$"GRADLE_VERSION"-bin.zip
# Setup environment
#ENV PATH ${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:/opt/tools:/opt/gradle/gradle-"$GRADLE_VERSION"/bin
# Install sdk elements # create group and user cesium
#COPY resources/android/build/tools /opt/tools RUN addgroup -S -g 1111 cesium && \
#RUN chmod u+x /opt/tools/*.sh adduser -SD -h /cesium -G cesium -u 1111 cesium
#RUN ["/opt/tools/android-accept-licenses.sh", "android update sdk --all --no-ui --filter platform-tools,tools,build-tools-29.0.0,android-29,build-tools-26.0.0,android-26,build-tools-25.0.0,android-25,extra-android-support,extra-android-m2repository,extra-google-m2repository"] #RUN mkdir -p /var/lib/cesium /etc/cesium && chown cesium:cesium /var/lib/cesium /etc/cesium
#RUN unzip ${ANDROID_HOME}/temp/*.zip -d ${ANDROID_HOME}
# Install global dependencies
RUN yarn global add gulp@"$GULP_VERSION" @ionic/cli@"$IONIC_CLI_VERSION"
# Install source code # copy source tree
#RUN git config --global user.email "user.name@domain.com" && \ COPY ./ ./
# git config --global user.name "User Name" && \
RUN git clone https://git.duniter.org/clients/cesium-grp/cesium.git && \
cd cesium && \
yarn install --ignore-engines
# Restore cordova platforms RUN test -f package.json || git clone https://github.com/duniter/cesium.git && cd cesium
RUN cd cesium && \
yarn run install-platforms
# TODO: Test First Build so that it will be faster later # Install project dependencies
## ionic cordova build android --prod --no-interactive --release # Workaround need for node-sass (- )see https://github.com/yarnpkg/yarn/issues/4867)
RUN yarn install --ignore-engines && \
yarn remove node-sass && yarn add node-sass
WORKDIR cesium WORKDIR /cesium
EXPOSE 8100 35729 EXPOSE 8100 35729
CMD ["yarn", "run", "start"] CMD ["yarn", "run", "start"]
...@@ -2,12 +2,25 @@ ...@@ -2,12 +2,25 @@
# Cesium # Cesium
- [Unhosted webapp](https://unhosted.org) client for any [Duniter](https://duniter.org) crypto-currency. Cesium is wallet client software for [Duniter](https://duniter.org) crypto-currency, like Ğ1.
- Manage your wallet, certify your friends, and more ! Cesium allow you to manage your wallet, certify your friends, and more!
- [Web site](https://cesium.app)
Cesium is an [Unhosted](https://unhosted.org) Progressive Web Application (PWA), using AngularJS and Ionic.
Please visit th Cesium web site: [cesium.app](https://cesium.app)
## Install ## Install
### As a web extension (Firefox, Chrome)
- Download the [latest extension release](https://github.com/duniter/cesium/releases/latest)
- Drag/drop the file into your browser;
- Confirm the installation.
That's it! A new button is appeared, on the top right corner.
### On desktop computer ### On desktop computer
- Download the [latest release](https://github.com/duniter/cesium/releases/latest) - Download the [latest release](https://github.com/duniter/cesium/releases/latest)
...@@ -27,85 +40,9 @@ ...@@ -27,85 +40,9 @@
* Manual installation: download then install the `.apk` from your smartphone; * Manual installation: download then install the `.apk` from your smartphone;
* [Play Store](https://play.google.com/store/apps/details?id=fr.duniter.cesium); * [Play Store](https://play.google.com/store/apps/details?id=fr.duniter.cesium);
- iOS - iOS
* Coming soon...; * [App Store](https://apps.apple.com/us/app/cesium-%C4%9F1/id1471028018);
### As a web site
#### First installation
Cesium can be easily installed on most web server :
- Download the [latest release](https://github.com/duniter/cesium/releases/latest) (file `cesium-vx.y.z-web.zip`);
- Unpack into an empty directory;
- Configure the web server engine (e.g. apache, nginx):
* Add a new virtual host, that use the directory as `web root`.
* Make sure the file `index.html` exist inside this directory.
#### Update to last version
On Linux distributions, an update script can be used to update your Cesium web site:
```
cd <CESIUM_WEB_ROOT>
curl -kL https://git.duniter.org/clients/cesium-grp/cesium/raw/master/install.sh | bash
```
or:
```
cd <CESIUM_WEB_ROOT>
wget -qO- https://git.duniter.org/clients/cesium-grp/cesium/raw/master/install.sh | bash
```
**Note**: You may need root permission to write files. If so just replace `| bash` with `| sudo bash`.
#### Changing default settings
To change default configuration, on a Cesium web site:
- Edit the file `config.js` in the web root directory, and change some properties:
```js
angular.module("cesium.config", [])
.constant("csConfig", {
"fallbackLanguage": "en",
"rememberMe": false,
"timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000,
"useLocalStorage": true,
"useRelative": true,
"decimalCount": 4,
"helptip": {
"enable": true,
"installDocUrl": "https://github.com/duniter/duniter/blob/master/doc/install-a-node.md"
},
"node": {
"host": "g1.duniter.org",
"port": "443"
},
"plugins": {
"es": {
"enable": "true",
"host": "g1.data.duniter.fr",
"port": "443"
}
},
"version": "1.3.7",
"build": "2019-04-02T08:27:57.915Z"
});
```
- Configure a Duniter node:
* set `node.host` and `node.port` to the default node address.
- Configure the optional extension for [Cesium+](https://git.duniter.org/clients/cesium-grp/cesium-plus-pod/)
* set `plugins.es.host` and `plugins.es.port` to the default Cesium+ Pod (aka ES) address.
* set `plugins.es.enable` with [true|false] to change the default extension state.
To learn more about configuration options, see the [detailed documentation](doc/configuration.md).
#### Yunohost package #### Yunohost package
...@@ -118,11 +55,14 @@ A [Development Guide](doc/development_guide.md) is available to learn : ...@@ -118,11 +55,14 @@ A [Development Guide](doc/development_guide.md) is available to learn :
- Development best practices. - Development best practices.
A [development tutorial](doc/fr/development_tutorial-01.md) (in French) is also available. A [development tutorial](doc/fr/development_tutorial-01.md) (in French) is also available.
The [first 3 lessons of the tutorial](doc/en/development_tutorial-01.md) have also been translated into english.
## Donate ## Donate
To help developers with donation, use the [Cesium Team Ğ1 account](https://g1.duniter.fr#/app/wot/CitdnuQgZ45tNFCagay7Wh12gwwHM8VLej1sWmfHWnQX/) (public key: `CitdnuQgZ45tNFCagay7Wh12gwwHM8VLej1sWmfHWnQX`) To help developers with donation, use the [Cesium Team Ğ1 account](https://demo.cesium.app#/app/wot/CitdnuQgZ45tNFCagay7Wh12gwwHM8VLej1sWmfHWnQX/) (public key: `CitdnuQgZ45tNFCagay7Wh12gwwHM8VLej1sWmfHWnQX`)
## License ## License
This software is distributed under [GNU AGPL-3.0](https://raw.github.com/duniter/cesium/master/LICENSE). This software is distributed under [GNU AGPL-3.0](https://raw.github.com/duniter/cesium/master/LICENSE).
\ No newline at end of file
Please read also our [privacy policy](./doc/privacy_policy.md).
\ No newline at end of file
{ {
"default": { "default": {
"cacheTimeMs": 300000, "cacheTimeMs": 300000,
"demo": false,
"readonly": false,
"fallbackLanguage": "en", "fallbackLanguage": "en",
"rememberMe": true, "rememberMe": true,
"showUDHistory": true, "showUDHistory": true,
"timeout": 40000, "timeout": 30000,
"timeWarningExpireMembership": 5184000, "timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000, "timeWarningExpire": 7776000,
"minConsensusPeerCount": 10,
"keepAuthIdle": 600, "keepAuthIdle": 600,
"useLocalStorage": true, "useLocalStorage": true,
"useRelative": false, "useRelative": false,
"expertMode": false, "expertMode": false,
"decimalCount": 2, "decimalCount": 2,
"httpsMode": false, "httpsMode": false,
"shareBaseUrl": "https://g1.duniter.fr", "shareBaseUrl": "https://demo.cesium.app/",
"helptip": { "helptip": {
"enable": true, "enable": true,
"installDocUrl": { "installDocUrl": {
"fr-FR": "https://duniter.org/fr/wiki/duniter/installer/", "fr-FR": "https://duniter.fr/wiki/doc/installer/",
"en": "https://duniter.org/en/wiki/duniter/install/" "en": "https://duniter.org/wiki/doc/install/"
} }
}, },
"license": { "license": {
"ca": "license/license_g1-ca",
"de-DE": "license/license_g1-de-DE",
"en": "license/license_g1-en", "en": "license/license_g1-en",
"fr-FR": "license/license_g1-fr-FR", "en-GB": "license/license_g1-en",
"eo-EO": "license/license_g1-eo-EO",
"es-ES": "license/license_g1-es-ES", "es-ES": "license/license_g1-es-ES",
"eo-EO": "license/license_g1-eo-EO" "fr-FR": "license/license_g1-fr-FR",
"it-IT": "license/license_g1-it-IT",
"pt-PT": "license/license_g1-pt-PT"
}, },
"node": { "feed": {
"host": "g1.duniter.org", "jsonFeed": {
"port": 443 "ca": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-ca.json",
"de-DE": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-de-DE.json",
"en": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-en.json",
"en-GB": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-en-GB.json",
"eo-EO": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-eo-EO.json",
"es-ES": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-es-ES.json",
"fr-FR": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-fr-FR.json",
"it-IT": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-it-IT.json",
"nl-NL": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-nl-NL.json",
"pt-PT": "https://raw.githubusercontent.com/duniter/cesium/master/doc/feed/1.1/feed-pt-PT.json"
},
"maxContentLength": 1300,
"maxAgeInMonths": 3,
"maxCount": 3
}, },
"fallbackNodes": [ "fallbackNodes": [
{ {
"host": "g1.cgeek.fr", "host": "g1.e-is.pro",
"port": 443 "port": 443
}, },
{ {
"host": "g1.monnaielibreoccitanie.org", "host": "vit.fdn.org",
"port": 443 "port": 443
}, },
{ {
"host": "g1.le-sou.org", "host": "g1.cgeek.fr",
"port": 443 "port": 443
}, },
{ {
"host": "g1.duniter.fr", "host": "g1.mithril.re",
"port": 443
}
],
"developers": [
{"name": "Benoit Lavenier", "pubkey": "38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE"}
],
"plugins":{
"es": {
"enable": true,
"askEnable": true,
"useRemoteStorage": true,
"host": "g1.data.duniter.fr",
"port": 443,
"fallbackNodes": [
{
"host": "g1.data.le-sou.org",
"port": 443
},
{
"host": "g1.data.duniter.fr",
"port": 443
}
],
"notifications": {
"txSent": true,
"txReceived": true,
"certSent": true,
"certReceived": true
},
"defaultCountry": "France"
}
}
},
"default_fr": {
"cacheTimeMs": 300000,
"fallbackLanguage": "fr",
"rememberMe": true,
"showUDHistory": true,
"timeout": 300000,
"timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000,
"keepAuthIdle": 600,
"useLocalStorage": true,
"useRelative": false,
"expertMode": false,
"decimalCount": 2,
"httpsMode": false,
"shareBaseUrl": "https://g1.duniter.fr",
"helptip": {
"enable": true,
"installDocUrl": {
"fr-FR": "https://duniter.org/fr/wiki/duniter/installer/",
"en": "https://duniter.org/en/wiki/duniter/install/"
}
},
"license": {
"fr-FR": "license/license_g1-fr-FR",
"en": "license/license_g1-en",
"es-ES": "license/license_g1-es-ES",
"eo-EO": "license/license_g1-eo-EO"
},
"node": {
"host": "g1.duniter.fr",
"port": 443
},
"fallbackNodes": [
{
"host": "g1.duniter.fr",
"port": 443 "port": 443
}, },
{ {
"host": "g1.monnaielibreoccitanie.org", "host": "g1.duniter.org",
"port": 443 "port": 443
}, },
{ {
"host": "g1.le-sou.org", "host": "g1.le-sou.org",
"port": 443 "port": 443
},
{
"host": "duniter.normandie-libre.fr",
"port": 443
},
{
"host": "g1.duniter.org",
"port": 443
} }
], ],
"developers": [
{"name": "Benoit Lavenier", "pubkey": "38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE"},
{"name": "Cédric Moreau", "pubkey": "2ny7YAdmzReQxAayyJZsyVYwYhVyax2thKcGknmQy5nQ"},
{"name": "Kapis", "pubkey": "24jaf8XhYZyDyUb7hMcy5qsanaHBC11AwPefcCQRBQNA"},
{"name": "Matograine", "pubkey": "CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd"}
],
"plugins":{ "plugins":{
"es": { "es": {
"enable": true, "enable": true,
"askEnable": true, "askEnable": true,
"useRemoteStorage": true, "useRemoteStorage": true,
"host": "g1.data.duniter.fr", "host": "g1.data.e-is.pro",
"port": 443, "port": 443,
"fallbackNodes": [ "fallbackNodes": [
{
"host": "g1.data.presles.fr",
"port": 443
},
{ {
"host": "g1.data.le-sou.org", "host": "g1.data.le-sou.org",
"port": 443 "port": 443
}, },
{ {
"host": "g1.data.duniter.fr", "host": "g1.data.brussels.ovh",
"port": 443 "port": 443
} },
],
"notifications": {
"txSent": true,
"txReceived": true,
"certSent": true,
"certReceived": true
},
"defaultCountry": "France"
}
}
},
"le-sou": {
"cacheTimeMs": 300000,
"fallbackLanguage": "fr-FR",
"defaultLanguage": "fr-FR",
"rememberMe": true,
"timeout": 30000,
"timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000,
"keepAuthIdle": 600,
"useLocalStorage": true,
"useRelative": false,
"expertMode": false,
"decimalCount": 2,
"httpsMode": false,
"shareBaseUrl": "https://g1.le-sou.org",
"helptip": {
"enable": true,
"installDocUrl": {
"fr-FR": "https://www.le-sou.org/devenir-noeud/",
"en": "https://duniter.org/en/wiki/duniter/install/"
}
},
"license": {
"fr-FR": "license/license_g1-fr-FR",
"en": "license/license_g1-en"
},
"node": {
"host": "g1.le-sou.org",
"port": 443
},
"fallbackNodes": [
{
"host": "g1.duniter.org",
"port": 443
},
{
"host": "g1.duniter.fr",
"port": 443
}
],
"plugins":{
"es": {
"enable": true,
"askEnable": true,
"useRemoteStorage": true,
"host": "g1.data.le-sou.org",
"port": 443,
"fallbackNodes": [
{ {
"host": "g1.data.le-sou.org", "host": "g1.data.pini.fr",
"port": 443 "port": 443
}, },
{ {
"host": "g1.data.duniter.fr", "host": "g1.data.mithril.re",
"port": 443
},
{
"host": "g1.data.e-is.pro",
"port": 443 "port": 443
} }
], ],
...@@ -230,50 +128,56 @@ ...@@ -230,50 +128,56 @@
} }
}, },
"g1-test": { "g1-test": {
"cacheTimeMs": 300000, "cacheTimeMs": 300000,
"demo": false,
"readonly": false,
"fallbackLanguage": "en", "fallbackLanguage": "en",
"rememberMe": true, "rememberMe": true,
"timeout": 300000, "showUDHistory": true,
"timeout": 30000,
"timeWarningExpireMembership": 5184000, "timeWarningExpireMembership": 5184000,
"timeWarningExpire": 7776000, "timeWarningExpire": 7776000,
"minConsensusPeerCount": -1,
"useLocalStorage": true, "useLocalStorage": true,
"useRelative": false, "useRelative": false,
"expertMode": true, "expertMode": true,
"decimalCount": 2, "decimalCount": 2,
"shareBaseUrl": "https://g1.duniter.fr", "httpsMode": false,
"shareBaseUrl": "https://g1-test.cesium.app",
"helptip": { "helptip": {
"enable": false, "enable": false,
"installDocUrl": { "installDocUrl": {
"fr-FR": "https://duniter.org/fr/wiki/duniter/installer/", "fr-FR": "https://duniter.fr/wiki/doc/installer/",
"en": "https://github.com/duniter/duniter/blob/master/doc/install-a-node.md" "en": "https://duniter.org/wiki/doc/install/"
} }
}, },
"node": { "node": {
"host": "gtest.jytou.fr", "host": "g1-test.duniter.org",
"port": 443 "port": 443
}, },
"fallbackNodes": [ "fallbackNodes": [
{ {
"host": "g1-test.cgeek.fr", "host": "gt.moul.re",
"port": 443 "port": 10902
},
{
"host": "gtest.jytou.fr",
"port": 443
}, },
{ {
"host": "g1-test.duniter.org", "host": "g1-test.duniter.org",
"port": 443 "port": 443
} }
], ],
"developers": [
{"name": "Benoit Lavenier", "pubkey": "38MEAZN68Pz1DTvT3tqgxx4yQP6snJCQhPqEFxbDk4aE"},
{"name": "Cédric Moreau", "pubkey": "2ny7YAdmzReQxAayyJZsyVYwYhVyax2thKcGknmQy5nQ"},
{"name": "Kapis", "pubkey": "24jaf8XhYZyDyUb7hMcy5qsanaHBC11AwPefcCQRBQNA"},
{"name": "Matograine", "pubkey": "CmFKubyqbmJWbhyH2eEPVSSs4H4NeXGDfrETzEnRFtPd"}
],
"plugins":{ "plugins":{
"es": { "es": {
"enable": true, "enable": false,
"askEnable": true, "askEnable": false,
"useRemoteStorage": true, "useRemoteStorage": false,
"host": "g1-test.data.duniter.fr", "host": "g1-test.data.e-is.pro",
"port": 443, "port": 443,
"notifications": { "notifications": {
"txSent": true, "txSent": true,
...@@ -288,6 +192,8 @@ ...@@ -288,6 +192,8 @@
"dev": { "dev": {
"cacheTimeMs": 300000, "cacheTimeMs": 300000,
"demo": false,
"readonly": false,
"fallbackLanguage": "fr-FR", "fallbackLanguage": "fr-FR",
"defaultLanguage": "fr-FR", "defaultLanguage": "fr-FR",
"rememberMe": true, "rememberMe": true,
...@@ -302,18 +208,21 @@ ...@@ -302,18 +208,21 @@
"helptip": { "helptip": {
"enable": false, "enable": false,
"installDocUrl": { "installDocUrl": {
"fr-FR": "https://duniter.org/fr/wiki/duniter/installer/", "fr-FR": "https://duniter.fr/wiki/doc/installer/",
"en": "https://duniter.org/en/wiki/duniter/install/" "en": "https://duniter.org/en/wiki/duniter/install/"
} }
}, },
"license": { "license": {
"fr-FR": "license/license_g1-fr-FR",
"en": "license/license_g1-en", "en": "license/license_g1-en",
"fr-FR": "license/license_g1-fr-FR",
"es-ES": "license/license_g1-es-ES", "es-ES": "license/license_g1-es-ES",
"eo-EO": "license/license_g1-eo-EO" "eo-EO": "license/license_g1-eo-EO",
"pt-PT": "license/license_g1-pt-PT",
"it-IT": "license/license_g1-it-IT",
"de-DE": "license/license_g1-de-DE"
}, },
"node": { "node": {
"host": "g1.duniter.fr", "host": "g1.e-is.pro",
"port": 443 "port": 443
}, },
"fallbackNodes": [{ "fallbackNodes": [{
...@@ -321,7 +230,7 @@ ...@@ -321,7 +230,7 @@
"port": 443 "port": 443
}, },
{ {
"host": "g1.duniter.fr", "host": "g1.e-is.pro",
"port": 443 "port": 443
} }
], ],
...@@ -338,7 +247,7 @@ ...@@ -338,7 +247,7 @@
"port": 443 "port": 443
}, },
{ {
"host": "g1.data.duniter.fr", "host": "g1.data.e-is.pro",
"port": 443 "port": 443
} }
], ],
...@@ -353,9 +262,6 @@ ...@@ -353,9 +262,6 @@
"graph": { "graph": {
"enable": true "enable": true
}, },
"neo4j": {
"enable": true
},
"rml9": { "rml9": {
"enable": true "enable": true
} }
...@@ -364,6 +270,8 @@ ...@@ -364,6 +270,8 @@
"dev_g1": { "dev_g1": {
"cacheTimeMs": 300000, "cacheTimeMs": 300000,
"demo": false,
"readonly": false,
"fallbackLanguage": "en", "fallbackLanguage": "en",
"rememberMe": true, "rememberMe": true,
"showUDHistory": true, "showUDHistory": true,
...@@ -378,13 +286,19 @@ ...@@ -378,13 +286,19 @@
"httpsMode": false, "httpsMode": false,
"helptip": { "helptip": {
"enable": false, "enable": false,
"installDocUrl": "https://github.com/duniter/duniter/blob/master/doc/install-a-node.md" "installDocUrl": {
"fr-FR": "https://duniter.fr/wiki/doc/installer/",
"en": "https://duniter.org/en/wiki/duniter/install/"
}
}, },
"license": { "license": {
"fr-FR": "license/license_g1-fr-FR.txt", "en": "license/license_g1-en",
"en": "license/license_g1-en.txt", "fr-FR": "license/license_g1-fr-FR",
"es-ES": "license/license_g1-es-ES", "es-ES": "license/license_g1-es-ES",
"eo-EO": "license/license_g1-eo-EO" "eo-EO": "license/license_g1-eo-EO",
"pt-PT": "license/license_g1-pt-PT",
"it-IT": "license/license_g1-it-IT",
"de-DE": "license/license_g1-de-DE"
}, },
"node": { "node": {
"host": "g1.duniter.org", "host": "g1.duniter.org",
...@@ -402,9 +316,6 @@ ...@@ -402,9 +316,6 @@
"graph": { "graph": {
"enable": true "enable": true
}, },
"neo4j": {
"enable": true
},
"rml9": { "rml9": {
"enable": true "enable": true
} }
......
{
"name": "cesium",
"private": "true",
"dependencies": {
"ionic": "driftyco/ionic-bower#1.3.5",
"ionic-material": "0.4.2",
"angular-messages": "~1.5.11",
"robotodraft": "1.1.0",
"angular": "^1.5.11",
"angular-moment": "^0.10.3",
"angular-animate": "^1.5.11",
"angular-sanitize": "^1.5.11",
"angular-resource": "1.5.11",
"angular-bind-notifier": "^1.1.11",
"angular-image-crop": "^2.0.0",
"angular-ui-router": "^0.2.18",
"angular-cache": "^4.6.0",
"ng-idle": "moribvndvs/ng-idle#^1.3.2",
"chart.js": "2.9.3",
"leaflet.awesome-markers": "2.0.2",
"leaflet-search": "2.7.2",
"angular-leaflet-directive": "^0.10.0",
"Leaflet.EasyButton": "^2.4.0",
"leaflet.loading": "Leaflet.loading#^0.1.24",
"ui-leaflet": "^2.0.0",
"leaflet.markercluster": "Leaflet.markercluster#0.5.0",
"Leaflet.FeatureGroup.SubGroup": "0.1.2",
"ion-digit-keyboard": "skol-pro/ion-digit-keyboard#973b90c2fc",
"angular-api": "E-IS/angular-api#0.3.0",
"angular-screenmatch": "^1.0.1",
"angular-file-saver": "^1.1.3",
"angular-simple-logger": "^0.1.7",
"angular-chart.js": "jtblin/angular-chart#1.1.1",
"angular-fullscreen": "E-IS/angular-fullscreen#1.0.2",
"leaflet": "0.7.7",
"moment": "^2.24.0",
"numeral": "1.5.6",
"underscore": "1.8.3",
"aes-js": "ricmoo/aes-js#3.1.2",
"ngCordova": "0.1.27-alpha",
"js-scrypt": "1.2.0",
"js-nacl": "1.3.2",
"angular-translate": "^2.18.1",
"socket.io-client": "^1.4.4"
},
"resolutions": {
"angular": "1.5.11",
"angular-animate": "^1.5.11",
"angular-sanitize": "^1.5.11",
"angular-ui-router": "0.2.18",
"angular-messages": "1.5.11",
"angular-api": "0.3.0",
"Leaflet.EasyButton": "~1.3.2",
"leaflet": "0.7.7",
"leaflet.markercluster": "0.5",
"Leaflet.FeatureGroup.SubGroup": "0.1.2",
"moment": ">=2.8.0 <2.11.0",
"numeral": "1.5.3",
"ionic": "1.3.5"
}
}
<?xml version='1.0' encoding='utf-8'?> <?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="105003" id="fr.duniter.cesium" ios-CFBundleIdentifier="org.duniter.cesium" version="1.5.3" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <widget android-versionCode="107140" id="fr.duniter.cesium" ios-CFBundleIdentifier="org.duniter.cesium" version="1.7.14" xmlns="http://www.w3.org/ns/widgets" xmlns:android="http://schemas.android.com/apk/res/android" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Cesium</name> <name>Cesium</name>
<description> <description>
An simple App for Duniter wallet An simple App for Duniter wallet
...@@ -15,9 +15,13 @@ ...@@ -15,9 +15,13 @@
<allow-intent href="sms:*" /> <allow-intent href="sms:*" />
<allow-intent href="mailto:*" /> <allow-intent href="mailto:*" />
<allow-intent href="geo:*" /> <allow-intent href="geo:*" />
<allow-intent href="june:*" />
<allow-intent href="web+june:*" />
<allow-navigation href="http://*/*" /> <allow-navigation href="http://*/*" />
<allow-navigation href="https://*/*" /> <allow-navigation href="https://*/*" />
<allow-navigation href="data:*" /> <allow-navigation href="data:*" />
<allow-navigation href="june:*" />
<allow-navigation href="web+june:*" />
<icon src="www/img/logo_96px.png" /> <icon src="www/img/logo_96px.png" />
<preference name="webviewbounce" value="false" /> <preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" /> <preference name="UIWebViewBounce" value="false" />
...@@ -28,22 +32,31 @@ ...@@ -28,22 +32,31 @@
<preference name="KeyboardResizeMode" value="ionic" /> <preference name="KeyboardResizeMode" value="ionic" />
<preference name="xwalkVersion" value="19" /> <preference name="xwalkVersion" value="19" />
<preference name="xwalkMultipleApk" value="false" /> <preference name="xwalkMultipleApk" value="false" />
<preference name="android-minSdkVersion" value="19" />
<preference name="android-targetSdkVersion" value="28" />
<preference name="StatusBarOverlaysWebView" value="false" /> <preference name="StatusBarOverlaysWebView" value="false" />
<preference name="StatusBarBackgroundColor" value="#000" /> <preference name="StatusBarBackgroundColor" value="#000" />
<preference name="StatusBarStyle" value="lightcontent" /> <preference name="StatusBarStyle" value="lightcontent" />
<allow-navigation href="*" /> <preference name="loadUrlTimeoutValue" value="700000" />
<hook src="scripts/hooks/before_prepare.js" type="before_prepare" />
<hook src="scripts/hooks/after_prepare.js" type="after_prepare" />
<hook src="scripts/hooks/before_compile.js" type="before_compile" />
<feature name="StatusBar"> <feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" /> <param name="ios-package" onload="true" value="CDVStatusBar" />
</feature> </feature>
<feature name="Device"> <feature name="Device">
<param name="android-package" onload="true" value="org.apache.cordova.device.Device" /> <param name="android-package" onload="true" value="org.apache.cordova.device.Device" />
</feature> </feature>
<feature name="MiniSodium"> <feature name="Custom URL scheme">
<param name="android-package" onload="true" value="me.lockate.plugins.MiniSodium" /> <param name="id" value="cordova-plugin-customurlscheme" />
<param name="url" value="https://github.com/EddyVerbruggen/Custom-URL-scheme.git" />
<variable name="URL_SCHEME" value="june" />
</feature> </feature>
<platform name="android"> <platform name="android">
<preference name="AndroidLaunchMode" value="singleTask" />
<preference name="AndroidInsecureFileModeEnabled" value="true" />
<preference name="android-minSdkVersion" value="22" />
<preference name="android-targetSdkVersion" value="33" />
<preference name="android-compileSdkVersion" value="33" />
<preference name="AndroidPersistentFileLocation" value="Compatibility" />
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" /> <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" /> <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" /> <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
...@@ -109,35 +122,40 @@ ...@@ -109,35 +122,40 @@
<edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription"> <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription">
<string>To choose a profile picture</string> <string>To choose a profile picture</string>
</edit-config> </edit-config>
<edit-config file="*-Info.plist" mode="merge" target="CFBundleURLSchemes">
<string>june</string>
</edit-config>
<config-file mode="add" parent="ITSAppUsesNonExemptEncryption" target="*-Info.plist"> <config-file mode="add" parent="ITSAppUsesNonExemptEncryption" target="*-Info.plist">
<false /> <false />
</config-file> </config-file>
</platform> </platform>
<platform name="osx"> <plugin name="cordova-plugin-camera" spec="^4.1.0">
<icon height="16" src="resources/osx/icon-16.png" width="16" /> <variable name="CAMERA_USAGE_DESCRIPTION" value="Add picture to the user profile" />
<icon height="32" src="resources/osx/icon-32.png" width="32" /> <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="Take a picture for the user profile" />
<icon height="64" src="resources/osx/icon-64.png" width="64" /> <variable name="ANDROID_SUPPORT_V4_VERSION" value="28.+" />
<icon height="128" src="resources/osx/icon-128.png" width="128" /> </plugin>
<icon height="256" src="resources/osx/icon-256.png" width="256" /> <plugin name="cordova-plugin-ionic-webview" spec="^4.2.1">
<icon height="512" src="resources/osx/icon-512.png" width="512" /> <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="28.+" />
<icon height="1024" src="resources/osx/icon-1024.png" width="1024" /> </plugin>
</platform> <plugin name="cordova-plugin-device" spec="^2.1.0" />
<engine name="android" spec="^6.4.0" />
<engine name="ios" spec="git+https://github.com/bpresles/cordova-ios.git#5.1.0" />
<plugin name="cordova-plugin-camera" spec="^4.1.0" />
<plugin name="cordova-plugin-console" spec="^1.1.0" />
<plugin name="cordova-plugin-device" spec="^2.0.3" />
<plugin name="cordova-plugin-dialogs" spec="^2.0.2" /> <plugin name="cordova-plugin-dialogs" spec="^2.0.2" />
<plugin name="cordova-plugin-secure-storage" spec="^3.0.2" /> <plugin name="cordova-clipboard" spec="^1.3.0" />
<plugin name="cordova-plugin-splashscreen" spec="^5.0.3" /> <plugin name="cordova-plugin-splashscreen" spec="^6.0.2" />
<plugin name="cordova-plugin-statusbar" spec="^2.4.3" /> <plugin name="cordova-plugin-statusbar" spec="^3.0.0" />
<plugin name="cordova-plugin-file" spec="^6.0.2" />
<plugin name="cordova-plugin-vibration" spec="^3.1.1" /> <plugin name="cordova-plugin-vibration" spec="^3.1.1" />
<plugin name="cordova-plugin-websocket" spec="^0.12.2" /> <plugin name="cordova-plugin-websocket" spec="^0.12.2" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.4" /> <plugin name="cordova-plugin-ionic-keyboard" spec="^2.2.0" />
<plugin name="cordova-plugin-x-toast" spec="^2.7.2" /> <plugin name="cordova-plugin-androidx-adapter" spec="^1.1.3" />
<plugin name="cordova-plugin-ionic-keyboard" spec="^2.2.1" /> <plugin name="cordova-plugin-x-toast" spec="^2.7.3" />
<plugin name="cordova-plugin-minisodium" spec="https://github.com/E-IS/cordova-plugin-minisodium.git#1.0.1" />
<plugin name="phonegap-plugin-barcodescanner" spec="^8.1.0"> <plugin name="phonegap-plugin-barcodescanner" spec="^8.1.0">
<variable name="CAMERA_USAGE_DESCRIPTION" value="To scan QRCode" /> <variable name="CAMERA_USAGE_DESCRIPTION" value="To scan QRCode" />
<variable name="ANDROID_SUPPORT_V4_VERSION" value="28.+" />
</plugin>
<plugin name="cordova-plugin-customurlscheme" spec="^5.0.2">
<variable name="URL_SCHEME" value="june" />
</plugin>
<plugin name="cordova-plugin-network-information" spec="~3.0.0">
</plugin> </plugin>
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
</widget> </widget>
Subproject commit 17788c85b43b1fa75287a80454349948068cc457
Subproject commit 2667bc6efab8ae2393ab57f330c33f7dedf99fe2 Subproject commit 4b5e3aef13e93c507fbf24c8aef832ada65f64ef
# Android Builds # Build Cesium for Android
Cesium can be build as Android App. Cesium can be build as an Android App.
Cesium use [Ionic Framework v1.7.16](http://ionicframework.com/docs/v1/) with some Apache Cordova plugins. Cesium use [Ionic Framework v1.7.16](http://ionicframework.com/docs/v1/) with some Apache Cordova plugins.
...@@ -16,9 +16,9 @@ After that you should be able to start the application using `npm start`, and to ...@@ -16,9 +16,9 @@ After that you should be able to start the application using `npm start`, and to
You can choose to install You can choose to install
- on Linux, install OpenJDK 8: - on Linux, install OpenJDK 11:
* ``sudo apt-get install openjdk-8-jdk`` * ``sudo apt-get install openjdk-11-jdk``
- or Oracle JDK 8 (all platforms supported): - or Oracle JDK 8 (all platforms supported):
......
# Build Cesium as a Desktop application
Cesium can be build as a standalone desktop application, for Linux (`.deb`), Windows (`.exe`) or MacOSx;
- Clone the [cesium-desktop](https://git.duniter.org/clients/cesium-grp/cesium-desktop) project locally;
- Follow this project documentation.
# Cesium docker image # Cesium docker image
> WARNING: This documentation need a review! (not up to date)
## Build ## Build
```bash ```bash
......
# iOS Builds # Build Cesium for iOS
Cesium can be build as desktop application for iOS. . Cesium can be build as desktop application for iOS. .
...@@ -60,7 +60,7 @@ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer ...@@ -60,7 +60,7 @@ sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
## Install Node JS ## Install Node JS
1. Install NVM (node.js version manager) : 1. Install NVM (node.js version manager) :
2. Install node.js v5 2. Install node.js 16
3. Install common node.js dependencies 3. Install common node.js dependencies
```bash ```bash
...@@ -70,7 +70,7 @@ export NVM_DIR="$HOME/.nvm" ...@@ -70,7 +70,7 @@ export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# Node.js # Node.js
nvm install 6 nvm install 16
# node-pre-gyp # node-pre-gyp
npm install -g nw-gyp node-pre-gyp npm install -g nw-gyp node-pre-gyp
...@@ -82,7 +82,7 @@ npm install -g nw-gyp node-pre-gyp ...@@ -82,7 +82,7 @@ npm install -g nw-gyp node-pre-gyp
2. Install global dependencies (see [Development Guide](./development_guide.md) for versions to used) : 2. Install global dependencies (see [Development Guide](./development_guide.md) for versions to used) :
``` ```
npm install -g yarn gulp cordova@9.0.0 ionic@1.7.16 npm install -g yarn gulp cordova @ionic/cli@6.20.9
``` ```
3. Install project dependencies : 3. Install project dependencies :
......
# Build Cesium as an unhosted web application
Cesium can be build as a simple web application, portable and runnable anywhere.
## Prerequisites
### Install the development environment
Follow all the steps defined in the [Development guide](./development_guide.md).
After that you should be able to start the application using `npm start`or `yarn start`, and to test it.
## Build the unhosted web application
- To create a compressed ZIP artifact, run:
```bash
cd cesium
gulp webBuild --release
```
A ZIP archive will be visible `dist/web/build/cesium-vx.y.z.zip`
## Publishing to a web site
Decompress the web archive, then open the `ìndex.html` file in your web browser.
\ No newline at end of file
# Build Cesium as a Web extension
Cesium can be build as Web extension, for Mozilla Firefox extension (`.xpi`) and Chrome/Chromium (`.crx`).
## Prerequisites
### Install the development environment
Follow all the steps defined in the [Development guide](./development_guide.md).
After that you should be able to start the application using `yarn run start`, and to test it.
## Build the web extension
- To create an uncompressed extension, use :
```bash
cd cesium
gulp build
gulp webExtCompile --release
```
The uncompressed web extension will be visible `dist/web/ext`
- To create a portable and compressed ZIP extension :
```bash
cd cesium
gulp build
gulp webExtBuild --release
```
The web extension is visible at `dist/web/build/cesium-vx.y.z-extension.zip`
> Remove the option `--release` to skip creation of minified CSS and JS files (and source maps)
## Publishing to Mozilla Addons
- Make sure you have `web-ext` installed. If not, run:
```bash
npm install -g web-ext
```
- Sign your extension :
```bash
# Define your credentials on addons.mozilla.org (your developer account)
export AMO_JWT_ISSUER = // username
export AMO_JWT_SECRET = // password
# Will archive and upload your extension
cd cesium
web-ext sign "--api-key=${AMO_JWT_ISSUER}" "--api-secret=${AMO_JWT_SECRET}" "--source-dir=dist/web/ext" "--artifacts-dir=${PROJECT_DIR}/dist/web/build" --id=${WEB_EXT_ID} --channel=listed
```
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
- [fix] Fix scale change, on the network TX graph - fix #835 - thanks to @jiemme2 - [fix] Fix scale change, on the network TX graph - fix #835 - thanks to @jiemme2
- [fix] Fix ES translation - thanks to @scanlegentil - [fix] Fix ES translation - thanks to @scanlegentil
- [fix] Fix NL translation - thanks to @RavanH - [fix] Fix NL translation - thanks to @RavanH
- [fix] Fix develepment guide - thanks to @BorisPAING - [fix] Fix development guide - thanks to @BorisPAING
## Android ## Android
......
...@@ -8,9 +8,8 @@ ...@@ -8,9 +8,8 @@
- [fix] Home: fix logout button icons, on small device - [fix] Home: fix logout button icons, on small device
- [fix] Menu: badge alignment on small device - [fix] Menu: badge alignment on small device
- [fix] Wot identity: better fab compose id (UID is not safe) - [fix] Wot identity: better fab compose id (UID is not safe)
- [fix] Wallet (secondary): fix show certification link (for large screen) - [fix] Secondary wallet: allow to see certifications
- [fix] Wallet (secondary): fix show certification link (for large screen) - [fix] Transfer: always hide the digitKeyboard when not a mobile device - fix #866
- [fix] Transfer: always hide the digitKeyboard when not a device - fix #866
- [fix] Network: add button to show Cesium+ network (if expert mode and Cesium+ plugin are enable) - [fix] Network: add button to show Cesium+ network (if expert mode and Cesium+ plugin are enable)
### Cesium+ plugin ### Cesium+ plugin
......
# Version v1.6.0
## All platforms
- [enh] Home: Add feed (news)
- [enh] Menu: new menu layout, and new icon for "My operations"
- [enh] Navigation: better performance, by adding a network cache (between session if enable in settings)
- [fix] Wallet: Fix freeze on "Loading..."
- [fix] Fix locale flags (and add a flag for Esperanto)
### Desktoo
- [enh] Upgrade to Chromium 80 (NWjs v0.44.4)
### Android
- [enh] Can toggle QR code into full screen
- [enh] Show more QRcode (on a identity page, in the transactions history)
- [fix] Android: revert to minSdkVersion=16
### Firefox and Chrome extension
- [enh] Allow to add Cesium as browser extension