diff --git a/README.md b/README.md index d0c9ee6d1..caced0da1 100644 --- a/README.md +++ b/README.md @@ -15,21 +15,21 @@ electron/qml WebEngineView container. ## Features - * Phone registration - * Contact discovery - * Direct messages - * Group messages *mostly* - * Photo, video, audio and contact attachments in both direct and group mode - * Preview for photo and audio attachments - * Storing conversations - * Encrypted message store - * Desktop client provisioning/syncing *partially* +- Phone registration +- Contact discovery +- Direct messages +- Group messages _mostly_ +- Photo, video, audio and contact attachments in both direct and group mode +- Preview for photo and audio attachments +- Storing conversations +- Encrypted message store +- Desktop client provisioning/syncing _partially_ ### Planned - * Push notifications - * Most settings that are available in the Android app - * Encrypted phone calls +- Push notifications +- Most settings that are available in the Android app +- Encrypted phone calls There are still bugs and UI/UX quirks. @@ -37,22 +37,22 @@ There are still bugs and UI/UX quirks. Axolotl can be installed through different means. -| Package | Maintainer | Comment | -| ------- | ---------- | -------- | -| Get it from the OpenStore | nanu-c | For Ubuntu Touch | -| Get it from the Snap Store | nanu-c | For Ubuntu desktop | -| Download on Flathub | olof-nord | https://github.com/flathub/org.nanuc.Axolotl | -| mobian version | nuehm-arno | https://github.com/nanu-c/axolotl/releases
(Debian package in the Assets section)| +| Package | Maintainer | Comment | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------- | ------------------------------------------------------------------------------------- | +| Get it from the OpenStore | nanu-c | For Ubuntu Touch | +| Get it from the Snap Store | nanu-c | For Ubuntu desktop | +| Download on Flathub | olof-nord | https://github.com/flathub/org.nanuc.Axolotl | +| mobian version | nuehm-arno | https://github.com/nanu-c/axolotl/releases
(Debian package in the Assets section) | ## Building To find out how to build from source and install yourself, please see below. -* with Clickable: see [here](docs/INSTALL.md#clickable). -* with Snap: see [here](docs/INSTALL.md#snap). -* with Flatpak: see [here](docs/INSTALL.md#flatpak). -* with AppImage: see [here](docs/INSTALL.md#appimage). -* for Mobian: see [here](docs/INSTALL.md#mobian-or-debian-arm64-systems). +- with Clickable: see [here](docs/INSTALL.md#clickable). +- with Snap: see [here](docs/INSTALL.md#snap). +- with Flatpak: see [here](docs/INSTALL.md#flatpak). +- with AppImage: see [here](docs/INSTALL.md#appimage). +- for Mobian: see [here](docs/INSTALL.md#mobian-or-debian-arm64-systems). ### Manually @@ -70,8 +70,7 @@ sudo apt install golang-go nodejs npm build-essential Then, install axolotl go and npm dependencies. -*Note: Make sure to install the latest **node lts** version from [https://nodejs.org/](https://nodejs.org/).* - +_Note: Make sure to install the latest **node lts** version from [https://nodejs.org/](https://nodejs.org/)._ ```shell make build-dependencies @@ -90,27 +89,27 @@ When setting up for the first time and maybe occasionally later you need to upda ## Run flags -* `-axolotlWebDir` Specify the directory to use for axolotl-web. Defaults to "./axolotl-web/dist". -* `-e` for either - `lorca`-> native chromium (has to be installed), - `ut` -> runs in the ut enviroment, - `me` -> qmlscene, - `server` -> just run the webserver. Defaults to run with `electron`. -* `-eDebug` show developer console in electron mode -* `-version` Print version info -* `-host` Set the host to run the webserver from. Defaults to localhost. -* `-port` Set the port to run the webserver from. Defaults to 9080. +- `-axolotlWebDir` Specify the directory to use for axolotl-web. Defaults to "./axolotl-web/dist". +- `-e` for either + `lorca`-> native chromium (has to be installed), + `ut` -> runs in the ut enviroment, + `me` -> qmlscene, + `server` -> just run the webserver. Defaults to run with `electron`. +- `-eDebug` show developer console in electron mode +- `-version` Print version info +- `-host` Set the host to run the webserver from. Defaults to localhost. +- `-port` Set the port to run the webserver from. Defaults to 9080. ## Environment variables -* `AXOLOTL_WEB_DIR` Specify the directory to use for axolotl-web. This is used by `axolotl` during startup. -* `AXOLOTL_GUI_DIR` Specifies the directory used for GUI specifications. This is used by `axolotl` only when in `qt` mode. +- `AXOLOTL_WEB_DIR` Specify the directory to use for axolotl-web. This is used by `axolotl` during startup. +- `AXOLOTL_GUI_DIR` Specifies the directory used for GUI specifications. This is used by `axolotl` only when in `qt` mode. ## Contributing -* Please fill issues here on github https://github.com/nanu-c/axolotl/issues -* Help translate Axolotl to your language(s). For information how to translate, please see [TRANSLATE.md](docs/TRANSLATE.md). -* Contribute code by making PR's (pull requests) +- Please fill issues here on github https://github.com/nanu-c/axolotl/issues +- Help translate Axolotl to your language(s). For information how to translate, please see [TRANSLATE.md](docs/TRANSLATE.md). +- Contribute code by making PR's (pull requests) If you contribute new strings, please: diff --git a/SECURITY.md b/SECURITY.md index e9d577ba5..69f6889df 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -6,7 +6,7 @@ We are currently only supporting the latest version of axolotl ## Reporting a Vulnerability -Please send an e-mail to aaron@nanu-c.org explaining the vulnerability. +Please send an e-mail to aaron@nanu-c.org explaining the vulnerability. We as the devleopers of axolotl do our best to our knowledge to avoid vulnerabilities but we also make mistakes. -Axolotl run only by volunteers, so don't expect much in exchange, expect for gratful thanks in change log :). +Axolotl run only by volunteers, so don't expect much in exchange, expect for gratful thanks in change log :). You can always ask for some axolotl stickers. diff --git a/axolotl-web/.eslintrc.js b/axolotl-web/.eslintrc.js index 1a0e6ae97..3e06bcbdc 100644 --- a/axolotl-web/.eslintrc.js +++ b/axolotl-web/.eslintrc.js @@ -5,45 +5,41 @@ module.exports = { es2021: true, }, - - extends: [ - 'plugin:vue/vue3-recommended', - ], + extends: ["plugin:vue/vue3-recommended"], rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'comma-dangle': 'off', - 'class-methods-use-this': 'off', - 'import/no-unresolved': 'off', - 'import/extensions': 'off', - 'implicit-arrow-linebreak': 'off', - 'import/prefer-default-export': 'off', + "no-console": process.env.NODE_ENV === "production" ? "error" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", + "comma-dangle": "off", + "class-methods-use-this": "off", + "import/no-unresolved": "off", + "import/extensions": "off", + "implicit-arrow-linebreak": "off", + "import/prefer-default-export": "off", "vue/no-mutating-props": "off", "vue/singleline-html-element-content-newline": "off", "vue/max-attributes-per-line": "off", "vue/component-name-in-template-casing": "off", - "vue/html-self-closing": ["error", { - "html": { - "void": "any", - "normal": "always", - "component": "always" + "vue/html-self-closing": [ + "error", + { + html: { + void: "any", + normal: "always", + component: "always", + }, + svg: "always", + math: "always", }, - "svg": "always", - "math": "always" - }] - + ], }, overrides: [ { - files: [ - '**/__tests__/*.{j,t}s?(x)', - '**/tests/unit/**/*.spec.{j,t}s?(x)' - ], + files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"], env: { - mocha: true - } - } - ] + mocha: true, + }, + }, + ], }; diff --git a/axolotl-web/babel.config.js b/axolotl-web/babel.config.js index e9558405f..162a3ea97 100644 --- a/axolotl-web/babel.config.js +++ b/axolotl-web/babel.config.js @@ -1,5 +1,3 @@ module.exports = { - presets: [ - '@vue/cli-plugin-babel/preset' - ] -} + presets: ["@vue/cli-plugin-babel/preset"], +}; diff --git a/axolotl-web/gettext.config.js b/axolotl-web/gettext.config.js index 1031fab35..d00381e9b 100644 --- a/axolotl-web/gettext.config.js +++ b/axolotl-web/gettext.config.js @@ -11,12 +11,45 @@ module.exports = { potPath: "./textsecure.nanuc.pot", jsonPath: "../axolotl-web/translations/translations.json", locales: [ - "ar", "be", "bg", "cs", "da", "de", "el", "es", "fa", "fi", "fr", "hr", "hu", "in", - "it", "iw", "ja", "kn-rIN", "ko", "mk", "nb", "nl", "no", "pl", "pt-BR", "pt", "ro", "ru", - "sk", "sl", "sr", "sv", "ta", "tr", "vi", "zh-rCN" + "ar", + "be", + "bg", + "cs", + "da", + "de", + "el", + "es", + "fa", + "fi", + "fr", + "hr", + "hu", + "in", + "it", + "iw", + "ja", + "kn-rIN", + "ko", + "mk", + "nb", + "nl", + "no", + "pl", + "pt-BR", + "pt", + "ro", + "ru", + "sk", + "sl", + "sr", + "sv", + "ta", + "tr", + "vi", + "zh-rCN", ], flat: true, linguas: true, - silent: true + silent: true, }, }; diff --git a/axolotl-web/index.html b/axolotl-web/index.html index a14f0d73a..e26356aaf 100644 --- a/axolotl-web/index.html +++ b/axolotl-web/index.html @@ -1,29 +1,59 @@ - - - - + + + + axolotl-web -
+
- + - - - - - - + + + + + +
diff --git a/axolotl-web/src/assets/dark.scss b/axolotl-web/src/assets/dark.scss index e4afe5871..b32c12256 100644 --- a/axolotl-web/src/assets/dark.scss +++ b/axolotl-web/src/assets/dark.scss @@ -32,4 +32,4 @@ $sent-url: "check-circle-outline_dark.svg"; $delivered-url: "double-check_dark.svg"; $read-url: "double-check-filled_dark.svg"; -@import './style.scss'; +@import "./style.scss"; diff --git a/axolotl-web/src/assets/light.scss b/axolotl-web/src/assets/light.scss index 40a4e1ad0..be73a4436 100644 --- a/axolotl-web/src/assets/light.scss +++ b/axolotl-web/src/assets/light.scss @@ -21,4 +21,4 @@ $sent-url: "check-circle-outline.svg"; $delivered-url: "double-check.svg"; $read-url: "double-check-filled.svg"; -@import './style.scss'; +@import "./style.scss"; diff --git a/axolotl-web/src/assets/style.scss b/axolotl-web/src/assets/style.scss index ba5f4a8d3..fed317f06 100644 --- a/axolotl-web/src/assets/style.scss +++ b/axolotl-web/src/assets/style.scss @@ -99,14 +99,13 @@ $link-color: $primary; } @font-face { - font-family: 'ubuntu'; - src: url('fonts/ubuntu-r-webfont.woff2') format('woff2'), - url('fonts/ubuntu-r-webfont.woff') format('woff'); + font-family: "ubuntu"; + src: url("fonts/ubuntu-r-webfont.woff2") format("woff2"), + url("fonts/ubuntu-r-webfont.woff") format("woff"); font-weight: normal; font-style: normal; - } -body{ - font-size:14px; -} \ No newline at end of file +body { + font-size: 14px; +} diff --git a/axolotl-web/src/components/AddContactModal.vue b/axolotl-web/src/components/AddContactModal.vue index 6e6bdc6b2..0557cc858 100644 --- a/axolotl-web/src/components/AddContactModal.vue +++ b/axolotl-web/src/components/AddContactModal.vue @@ -13,17 +13,17 @@
diff --git a/axolotl-web/src/components/AddGroupMembersModal.vue b/axolotl-web/src/components/AddGroupMembersModal.vue index e12923659..a40938b2c 100644 --- a/axolotl-web/src/components/AddGroupMembersModal.vue +++ b/axolotl-web/src/components/AddGroupMembersModal.vue @@ -5,11 +5,7 @@ diff --git a/axolotl-web/src/components/ConfirmationModal.vue b/axolotl-web/src/components/ConfirmationModal.vue index 478c67390..79c72b2e0 100644 --- a/axolotl-web/src/components/ConfirmationModal.vue +++ b/axolotl-web/src/components/ConfirmationModal.vue @@ -11,12 +11,7 @@
@@ -30,7 +30,7 @@ type="text" class="form-control" placeholder="+44..." - > + />