Skip to content

v4.10.0 #788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 406 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
406 commits
Select commit Hold shift + click to select a range
5b58b35
Update src/locales/en.json
adamant-al Apr 5, 2025
5c8d95f
Update src/locales/en.json
adamant-al Apr 5, 2025
de9df72
Update src/locales/en.json
adamant-al Apr 5, 2025
9f5ad7e
Update src/locales/en.json
adamant-al Apr 5, 2025
a22040c
Update src/locales/en.json
adamant-al Apr 5, 2025
6762aaa
fix: start sidebar width
S-FrontendDev Apr 5, 2025
2344f64
feat: save sidebar width
S-FrontendDev Apr 5, 2025
e6fac3f
fix: var name
S-FrontendDev Apr 5, 2025
670d7c2
fix: navigation logic
S-FrontendDev Apr 5, 2025
80c38ba
chore: use the same style for back button as in it was in chat room
skranee Apr 5, 2025
ada9c38
fix: saving aside width
S-FrontendDev Apr 6, 2025
cede7e1
fix: tx list
S-FrontendDev Apr 6, 2025
ca8c52d
feat: hide back button
S-FrontendDev Apr 6, 2025
8cae03f
feat: close chat by esc
S-FrontendDev Apr 6, 2025
1511a67
feat: disable draggable for nav
S-FrontendDev Apr 6, 2025
e5c9a1c
fix: mobile view
S-FrontendDev Apr 6, 2025
4b0a516
fix: active chat selection
S-FrontendDev Apr 6, 2025
c937db1
fix: change event for keyboard
S-FrontendDev Apr 6, 2025
ce2caa8
fix: esc behavior
S-FrontendDev Apr 6, 2025
c681d38
fix: emoji picker
S-FrontendDev Apr 6, 2025
f7e0215
fix: esc behavior for all chats subroutes
S-FrontendDev Apr 6, 2025
0ba55cd
fix: qr code - read from canvas
S-FrontendDev Apr 8, 2025
68fcc24
fix: qr code - remove unused
S-FrontendDev Apr 8, 2025
0c8d43f
fix: qr code - change jsdoc
S-FrontendDev Apr 8, 2025
de2e3c7
Merge pull request #756 from Adamant-im/chore/update-translation-strings
adamant-al Apr 8, 2025
5e583c8
Merge pull request #755 from Adamant-im/fix/warning-on-address-dialogs
adamant-al Apr 8, 2025
4d1e82c
fix: has-spinner instead of :has-spinner=true
skranee Apr 9, 2025
bc33c38
refactor: AppToolbarCentered to composition API
skranee Apr 9, 2025
cc02d1f
refactor: Chats to composition API
skranee Apr 9, 2025
087e45c
fix: define ts props and emits for AChatReplyPreview
S-FrontendDev Apr 9, 2025
7e6b937
fix: saving scroll
S-FrontendDev Apr 9, 2025
233a08a
feat: script setup
S-FrontendDev Apr 9, 2025
2de6b56
feat: change prop name
S-FrontendDev Apr 9, 2025
8dface8
fix: move classes to object
S-FrontendDev Apr 9, 2025
817f211
fix: change prop name
S-FrontendDev Apr 9, 2025
1ce03ce
fix: styles
S-FrontendDev Apr 9, 2025
51f349b
fix: move formatters to hooks
S-FrontendDev Apr 9, 2025
9d3970a
Merge branch 'dev' into feat/chats-one-screen
S-FrontendDev Apr 9, 2025
3fab53a
fix: remove extra line
S-FrontendDev Apr 9, 2025
84147d4
fix: getting from query
S-FrontendDev Apr 9, 2025
75c8ef1
fix: getting from query
S-FrontendDev Apr 9, 2025
dcccb65
fix: ts props
S-FrontendDev Apr 9, 2025
c83bdea
fix: add param for formatDate
S-FrontendDev Apr 9, 2025
72b775b
fix: ts fixes
S-FrontendDev Apr 9, 2025
76eb8ad
fix: ts
S-FrontendDev Apr 9, 2025
9b938a7
fix: ts
S-FrontendDev Apr 9, 2025
0c651ea
feat: switch case for title
S-FrontendDev Apr 9, 2025
9374b5b
feat: add ts fro PartnerInfo
S-FrontendDev Apr 9, 2025
641c156
fix: clear
S-FrontendDev Apr 9, 2025
3325c10
fix: add type for adamantChatMeta
S-FrontendDev Apr 9, 2025
6963f21
fix: move style
S-FrontendDev Apr 9, 2025
dcd8276
fix: no optional route.query
S-FrontendDev Apr 9, 2025
e694453
fix: ts emits
S-FrontendDev Apr 9, 2025
7af5ddb
fix: generateURI params
S-FrontendDev Apr 9, 2025
50901c8
fix: partnerinfo validator
S-FrontendDev Apr 9, 2025
8dff8a4
fix: remove container--with-app-toolbar class
S-FrontendDev Apr 9, 2025
99f66b8
feat(scripts/wallets.mjs): update `config/testnet.json` by `npm run w…
graycraft Apr 9, 2025
a350888
refactor: composition api
S-FrontendDev Apr 9, 2025
7fcdce4
chore(src/config): update configs by `npm run wallets:data:generate`
graycraft Apr 9, 2025
11260d6
fix: clear
S-FrontendDev Apr 9, 2025
fa69f0f
fix: ts
S-FrontendDev Apr 9, 2025
65403b2
chore(lib/constants/cryptos/data.json): update data by `npm run walle…
graycraft Apr 9, 2025
63e171d
fix: ts
S-FrontendDev Apr 9, 2025
6084506
fix: ts
S-FrontendDev Apr 9, 2025
ec6f948
fix: add revokeObjectURL
S-FrontendDev Apr 9, 2025
9dc0206
fix: ts errors, needed to touch another files too
skranee Apr 9, 2025
255aefa
refactor: remove console.log()
skranee Apr 9, 2025
97a369f
chore(src/config/testnet.json): update config by `npm run wallets:dat…
graycraft Apr 10, 2025
5295952
feat(src/config/index.js): add `testnet`
graycraft Apr 10, 2025
287899e
refactor: Nodes to composition and remove redundant variables
skranee Apr 10, 2025
20e8333
refactor: Votes to composition
skranee Apr 10, 2025
160f3f4
refactor: Wallets to composition
skranee Apr 10, 2025
06c2926
fix: pending tx fee
S-FrontendDev Apr 10, 2025
03dbdc8
chore(src/config/testnet.json): update config by `npm run wallets:dat…
graycraft Apr 10, 2025
e90ad90
fix(src/config/index.js): rely on `VITE_ADM_CONFIG_FILE` and use run …
graycraft Apr 10, 2025
43b1745
feat(package.json): add commands to run with testnet config
graycraft Apr 10, 2025
30080f5
fix: failed tx status
S-FrontendDev Apr 11, 2025
8f8b515
refactor: move spinner logic to hook
skranee Apr 11, 2025
9848da0
refactor: make a common BackButton component
skranee Apr 11, 2025
0ecd5c0
Merge pull request #753 from Adamant-im/chore/modern-build
bludnic Apr 11, 2025
cbe2e69
Merge pull request #747 from Adamant-im/feat/add-eye-icon-for-login-w…
bludnic Apr 11, 2025
c63fea5
refactor: remove props and use className variable
skranee Apr 11, 2025
36fbc47
hotfix: remove forgotten code
skranee Apr 11, 2025
af965b4
Merge pull request #758 from Adamant-im/feat/ui-same-back-buttons
bludnic Apr 11, 2025
41b8912
resolve conflicts
skranee Apr 11, 2025
4c9c344
Merge branch 'dev' into feat/chats-one-screen
S-FrontendDev Apr 12, 2025
89c089e
Merge branch 'dev' into fix/qr-code-reader
S-FrontendDev Apr 12, 2025
ab72a32
fix: classes for template
S-FrontendDev Apr 12, 2025
a9dc3cc
fix: review
S-FrontendDev Apr 12, 2025
6fa3065
refactor: remove watchEffect and use type Props
skranee Apr 12, 2025
61bfc56
fix: token fee calculate
S-FrontendDev Apr 12, 2025
1d29668
fix: electron build esm
S-FrontendDev Apr 12, 2025
141160e
Merge pull request #761 from Adamant-im/fix/tx-fee-pending
bludnic Apr 12, 2025
b3295d3
fix: add node prefix
S-FrontendDev Apr 13, 2025
e6db298
fix: add node prefix
S-FrontendDev Apr 13, 2025
0e2004c
Merge branch 'dev' into fix/failed-tx-status
S-FrontendDev Apr 13, 2025
eff33f0
fix: remove autofocus on field
skranee Apr 13, 2025
7546e71
Merge branch 'dev' into feat/spinner-when-restore
skranee Apr 13, 2025
1723b11
Merge pull request #763 from Adamant-im/fix/electron-build-esm
bludnic Apr 13, 2025
6ab1e71
Merge pull request #762 from Adamant-im/fix/failed-tx-status
bludnic Apr 13, 2025
9515d73
Merge remote-tracking branch 'origin/dev' into fix/password-field-fit
skranee Apr 14, 2025
fa3f55a
fix: label jerk
skranee Apr 14, 2025
9fdedd8
Merge branch 'dev' into feat/chats-one-screen
S-FrontendDev Apr 14, 2025
e93b3d7
fix: review changes
S-FrontendDev Apr 14, 2025
ef44818
fix: review changes
S-FrontendDev Apr 14, 2025
0af225f
fix: votes types
S-FrontendDev Apr 14, 2025
bc4327f
fix: clear
S-FrontendDev Apr 14, 2025
410151e
fix: app.vue composition api
S-FrontendDev Apr 14, 2025
e4fe5b1
chore: add pinia chat-state store
S-FrontendDev Apr 14, 2025
3d28329
chore: chatMenu composition api
S-FrontendDev Apr 14, 2025
dd96611
fix: ts
S-FrontendDev Apr 14, 2025
cb49925
fix: ts
S-FrontendDev Apr 14, 2025
a8f2ee2
fix: ts
S-FrontendDev Apr 14, 2025
9ab8a08
fix: ts
S-FrontendDev Apr 14, 2025
6b67816
chore: chat-toolbar composition
S-FrontendDev Apr 14, 2025
3bdd8fc
refactor: try manual autofocus
skranee Apr 14, 2025
4cef9cc
refactor: try put maximum-scale=1
skranee Apr 14, 2025
1c6f5fa
chore: options wrapper classes
S-FrontendDev Apr 14, 2025
7d0f86c
refactor: try put font-size to 16
skranee Apr 14, 2025
b8cb3c7
chore: remove unused class
S-FrontendDev Apr 14, 2025
f669fbf
chore: remove unused fallback
S-FrontendDev Apr 14, 2025
0e83658
chore: clear
S-FrontendDev Apr 14, 2025
961dd7b
Merge branch 'dev' into feat/spinner-when-restore
skranee Apr 14, 2025
818cd02
chore: refs to consts
S-FrontendDev Apr 14, 2025
59a7980
refactor: follow bem methodology
skranee Apr 14, 2025
0dc3a9f
Merge pull request #764 from Adamant-im/fix/password-field-fit
bludnic Apr 14, 2025
342509c
Merge branch 'dev' into feat/spinner-when-restore
skranee Apr 14, 2025
ed84249
fix: classes
S-FrontendDev Apr 15, 2025
526a4eb
fix: chat state reset
S-FrontendDev Apr 15, 2025
7ed79be
chore: change progress indicator props
S-FrontendDev Apr 15, 2025
6ff662a
fix: return zIndex for Progress Indicator
S-FrontendDev Apr 15, 2025
c43cd0a
refactor: optimize code, remove global type
skranee Apr 15, 2025
8c4176f
chore: home composition api
S-FrontendDev Apr 15, 2025
02a6944
fix: ts errors
S-FrontendDev Apr 15, 2025
3987362
refactor: ChatPreview to composition API
skranee Apr 15, 2025
543da5e
chore: remove deep style
S-FrontendDev Apr 15, 2025
84762d1
chore: remove unused vars
S-FrontendDev Apr 15, 2025
5d6cb70
chore: nodes composition api
S-FrontendDev Apr 15, 2025
6b00f03
chore: change classes render
S-FrontendDev Apr 15, 2025
8d4a1e6
fix: save options scroll
S-FrontendDev Apr 15, 2025
90d311d
Merge branch 'dev' into feat/chats-one-screen
S-FrontendDev Apr 15, 2025
8fd80b9
fix: add readonly property to messageOptions
skranee Apr 15, 2025
84b82a3
chore: app vue review changes
S-FrontendDev Apr 16, 2025
7723fd1
chore: code style
S-FrontendDev Apr 16, 2025
bea7ce3
chore: code style
S-FrontendDev Apr 16, 2025
e99ee69
chore: code style
S-FrontendDev Apr 16, 2025
f88e9fc
chore: add type
S-FrontendDev Apr 16, 2025
ae5a84a
chore: change hook
S-FrontendDev Apr 16, 2025
c4899ce
chore: remove typo
S-FrontendDev Apr 16, 2025
01dd19d
fix: computed inline
S-FrontendDev Apr 16, 2025
cead791
fix: don't show zero fee for pending
S-FrontendDev Apr 17, 2025
46861dc
chore: review fixes
S-FrontendDev Apr 17, 2025
e3a42bb
chore: review fixes
S-FrontendDev Apr 17, 2025
1b9d3d0
Merge branch 'dev' into fix/electron-linux-build
S-FrontendDev Apr 17, 2025
2d82f90
fix: esm support
S-FrontendDev Apr 17, 2025
d5f6b33
fix: get path by js
S-FrontendDev Apr 17, 2025
5d855b0
refactor(Chat): inline `isShowFreeTokensDialog` computed
bludnic Apr 18, 2025
9689d03
refactor(Chats.vue): inline `isShowChatStartDialog` computed
bludnic Apr 18, 2025
1e46a4f
chore: rename var
S-FrontendDev Apr 20, 2025
6efb055
fix: add transaction subroute
S-FrontendDev Apr 20, 2025
0d42119
feat: text does not reach icon and is centered
skranee Apr 20, 2025
ad8bb38
Merge remote-tracking branch 'origin/feat/chats-one-screen' into feat…
S-FrontendDev Apr 21, 2025
502d69d
fix: common component for account view, scroll save fixes
S-FrontendDev Apr 21, 2025
6372bb6
fix: navigation title
S-FrontendDev Apr 21, 2025
c7d78bd
fix: add event handler
S-FrontendDev Apr 21, 2025
66f14c8
fix: var rename
S-FrontendDev Apr 21, 2025
99ac985
refactor: simplify loading separator logic
skranee Apr 21, 2025
f846da2
fix: remove optional
S-FrontendDev Apr 21, 2025
5062f00
fix: remove comments
S-FrontendDev Apr 21, 2025
ab49b44
fix: add eng comments
S-FrontendDev Apr 21, 2025
3ad4b7b
Merge pull request #749 from Adamant-im/feat/chats-one-screen
bludnic Apr 21, 2025
2899c3a
Merge branch 'dev' into fix/pending-tx-status
S-FrontendDev Apr 21, 2025
b314e1a
Merge branch 'dev' into fix/qr-code-reader
S-FrontendDev Apr 21, 2025
678a979
Merge branch 'dev' into fix/password-field-fit
skranee Apr 22, 2025
a9e1ce3
refactor: use padding instead of margin
skranee Apr 22, 2025
680c329
refactor(package.json): use vite mode instead of custom env var; remo…
graycraft Apr 22, 2025
123818f
refactor(config/index.js): use vite mode instead of custom env var; r…
graycraft Apr 22, 2025
2215518
chore(config/test.json): remove test mode
graycraft Apr 22, 2025
1b7d79d
feat(.github/workflows/preview-testnet.yml): add workflow for build w…
graycraft Apr 22, 2025
0af5036
chore(.github/workflows/pwa-testnet.yml): rename from "preview" to "PWA"
graycraft Apr 22, 2025
a709f44
fix(.github/workflows/pwa-testnet.yml): use static sub domain
graycraft Apr 22, 2025
ae25303
Merge pull request #760 from Adamant-im/feature/adm-testnet-nodes
bludnic Apr 22, 2025
7d0012a
chore(pwa-testnet.yml): fix GH workflow
bludnic Apr 22, 2025
8274d29
fix: handling markdown headings
dvelikiy Apr 23, 2025
b03b2ca
Merge pull request #769 from Adamant-im/fix/markdown-headings
bludnic Apr 23, 2025
7b73a91
refactor: convert touched files to composition and resolve conflicts
skranee Apr 24, 2025
5802280
fix: transaction details style, statuses
S-FrontendDev Apr 24, 2025
07a6e09
fix: code style
S-FrontendDev Apr 24, 2025
b82d979
feat(.github/workflows/pwa-testnet-{dev,master}.yml): do two workflow…
graycraft Apr 24, 2025
a997fa6
Merge pull request #767 from Adamant-im/fix/password-field-fit
bludnic Apr 24, 2025
066f23a
Merge pull request #754 from Adamant-im/fix/electron-linux-build
bludnic Apr 24, 2025
e89dae4
fix: code style
S-FrontendDev Apr 24, 2025
e85bf37
Merge pull request #759 from Adamant-im/fix/qr-code-reader
bludnic Apr 24, 2025
feeb952
Merge pull request #766 from Adamant-im/fix/pending-tx-status
bludnic Apr 24, 2025
f6e6a2f
refactor(.github/workflows/pwa-testnet.yml): combine workflows; deter…
graycraft Apr 24, 2025
7e01407
Merge branch 'dev' into feat/spinner-when-restore
skranee Apr 24, 2025
8a2b4ab
refactor: simplify typing with as
skranee Apr 24, 2025
73d48ba
Merge pull request #746 from Adamant-im/feat/spinner-when-restore
bludnic Apr 24, 2025
f89a58a
Merge pull request #772 from Adamant-im/fix/failed-transaction-style
bludnic Apr 24, 2025
de295e9
fix: add top padding to login page
S-FrontendDev Apr 25, 2025
d4ad55d
Merge pull request #775 from Adamant-im/fix/chat-and-contacts-style
bludnic Apr 25, 2025
64b3da2
feat: update Android app icon
Linhead Apr 25, 2025
1925d9b
fix: formatting for markdown headings in chat list and notifications
dvelikiy Apr 24, 2025
b08265b
fix: wrap SendFunds into NavigationWrapper
S-FrontendDev Apr 26, 2025
8c91c2e
build(vite-pwa.config.ts): define global variable from process enviro…
graycraft Apr 26, 2025
908a1e5
chore(src/vite-env.d.ts): declare type of router history mode
graycraft Apr 26, 2025
c385547
fix(src/router/index.js): use environment variable to determine route…
graycraft Apr 26, 2025
3c209b8
fix(.github/workflows/github-pages.yml): set router history to "hash"…
graycraft Apr 26, 2025
effc405
fix(.github/workflows/github-pages.yml): append `VITE_ROUTER_HISTORY_…
graycraft Apr 26, 2025
054360b
fix(.github/workflows/github-pages.yml): set scoped `VITE_ROUTER_HIST…
graycraft Apr 26, 2025
af83217
fix(src/router/index.js): try without `window.__VITE_ROUTER_HISTORY_M…
graycraft Apr 26, 2025
fed6058
ci(.github/workflows/electron-*.yml): set `VITE_ROUTER_HISTORY_MODE` …
graycraft Apr 27, 2025
8d7bc01
chore(src/router/index.js): update comment for hash history routing
graycraft Apr 27, 2025
57f633d
chore(src/vite-env.d.ts): do not declare type of router history mode
graycraft Apr 27, 2025
1027d0d
fix: electron linux build get path by bash
S-FrontendDev Apr 27, 2025
6a5f6cb
feat: add transfer.page_title to locales
S-FrontendDev Apr 27, 2025
eac3d6d
Merge pull request #777 from Adamant-im/fix/wrapper-fixes
bludnic Apr 29, 2025
17ae4d1
feat: update ui login screen
Linhead Apr 24, 2025
3adf607
fix: code review fixes
Linhead Apr 24, 2025
798f43b
fix: code review fixes
Linhead Apr 25, 2025
ccaa97d
fix: after test fixes
Linhead Apr 28, 2025
09397b9
fix: after test fixes
Linhead Apr 29, 2025
bf005b6
fix: markdown list padding
dvelikiy Apr 29, 2025
a82184a
fix: potential fix favicon error in console on chat page
Linhead Apr 30, 2025
8f8dda5
Merge pull request #780 from Adamant-im/fix/markdown-list-padding
bludnic May 1, 2025
b256776
chore: update vite to v6
dvelikiy May 1, 2025
7784f15
chore(.env): add VITE_ROUTER_HISTORY_MODE
bludnic May 2, 2025
d784aaf
chore(GH Workflows): disable hash router for Electron apps
bludnic May 2, 2025
a5d198f
Merge pull request #774 from Adamant-im/fix/markdown-headings-2
bludnic May 2, 2025
e606f1f
Merge pull request #783 from Adamant-im/chore/update-vite-v6
bludnic May 2, 2025
b843e28
Merge pull request #773 from Adamant-im/feature/adm-testnet-nodes-upd…
bludnic May 2, 2025
1983d37
Merge pull request #778 from Adamant-im/feature/github-pages-hash-routes
bludnic May 2, 2025
fbf7cdd
Merge pull request #779 from Adamant-im/fix/linux-build
bludnic May 2, 2025
30f8b38
Merge pull request #781 from Adamant-im/bug/no-favicon-error-in-chat
bludnic May 4, 2025
954bba4
Merge pull request #776 from Adamant-im/feat/update-android-app-icon
bludnic May 4, 2025
726ee5c
Merge branch 'master' into dev
bludnic May 4, 2025
6b04b51
fix: cod-review fixes
Linhead May 5, 2025
9e8c091
build: add apk build for android
dvelikiy May 5, 2025
be53e3d
fix: fix bug with emoji section on github pages
Linhead May 8, 2025
0907329
fix: code-review fixes
Linhead May 8, 2025
e15d175
chore(GH Actions, Android): pass `androidreleasetype` as an argument
bludnic May 9, 2025
a38c7dd
Merge pull request #785 from Adamant-im/build/add-apk-build-android
bludnic May 9, 2025
9fc2b28
Merge pull request #787 from Adamant-im/bug/emoji-button-in-the-messa…
bludnic May 9, 2025
caeaf27
Merge pull request #771 from Adamant-im/feat/update-ui-login-screen
bludnic May 9, 2025
98ba317
fix: remove window max width
S-FrontendDev May 11, 2025
1f50687
chore: update passphrase's asterisk sign and margin for icons
adamant-al May 13, 2025
5254c1f
UI: Send messages faster
Linhead May 13, 2025
36e1a61
Merge pull request #790 from Adamant-im/feat/update-ui-login-screen-2
adamant-al May 16, 2025
380f23f
Merge pull request #791 from Adamant-im/ui/send-messages-faster
Linhead May 22, 2025
192eaf4
Merge pull request #789 from Adamant-im/fix/remove-window-max-size
S-FrontendDev May 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
VITE_I18N_LOCALE=en
VITE_I18N_FALLBACK_LOCALE=en
VITE_PUBLIC_PATH=
VITE_ROUTER_HISTORY_MODE=
16 changes: 13 additions & 3 deletions .github/workflows/capacitor-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
ANDROID_KEYSTORE_ALIAS: ${{ secrets.ANDROID_KEYSTORE_ALIAS }}
ANDROID_KEYSTORE_ALIAS_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_ALIAS_PASSWORD }}
ANDROID_RELEASE_TYPE: 'AAB' # APK or AAB

jobs:
release:
Expand Down Expand Up @@ -51,21 +50,32 @@ jobs:
base64 -d android/keystore.base64 > android/app.keystore
rm android/keystore.base64

- name: Build and Sign Android App 🛠️
- name: Build and Sign Android App (APK) 🛠️
run: |
npx cap sync
npx cap build android \
--keystorepath $ANDROID_KEYSTORE_PATH \
--keystorepass $ANDROID_KEYSTORE_PASSWORD \
--keystorealias $ANDROID_KEYSTORE_ALIAS \
--keystorealiaspass $ANDROID_KEYSTORE_ALIAS_PASSWORD \
--androidreleasetype $ANDROID_RELEASE_TYPE
--androidreleasetype APK

- name: Build and Sign Android App (AAB) 🛠️
run: |
npx cap sync
npx cap build android \
--keystorepath $ANDROID_KEYSTORE_PATH \
--keystorepass $ANDROID_KEYSTORE_PASSWORD \
--keystorealias $ANDROID_KEYSTORE_ALIAS \
--keystorealiaspass $ANDROID_KEYSTORE_ALIAS_PASSWORD \
--androidreleasetype AAB

- name: Save artifacts 💾
uses: actions/upload-artifact@v4
with:
name: android-release-app
path: |
android/app/build/outputs/apk/release/*
android/app/build/outputs/bundle/release/*

- name: Clean Keystore file 🧹
Expand Down
51 changes: 51 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: GitHub Pages
on:
push:
branches:
- master
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4

- name: Setup Node version 🍀
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Configure GitHub Pages ⚙️
uses: actions/configure-pages@v5

- name: Install dependencies 📦
run: npm ci

- name: Build PWA 🛠️
run: |
npm run schema:generate
npm run build
env:
VITE_PUBLIC_PATH: ${{ github.event.repository.name }}
VITE_ROUTER_HISTORY_MODE: hash

- name: Upload artifacts 📁
uses: actions/upload-pages-artifact@v3
with:
path: dist

- name: Deploy to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4
43 changes: 43 additions & 0 deletions .github/workflows/pwa-testnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: PWA Testnet Workflow

on:
push:
branches:
- dev
- master

env:
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}
PREVIEW_DOMAIN: https://${{ github.ref_name }}-adamant-testnet.surge.sh

jobs:
build-and-deploy-to-surge:
name: Build and Deploy with Testnet ADM nodes to surge
runs-on: ubuntu-latest
environment: testnet
steps:
- name: Checkout repository 🛎️
uses: actions/checkout@v4

- name: Setup Node version 🍀
uses: actions/setup-node@v4
with:
node-version: '20'

- name: Install dependencies ⚙️
run: npm ci

- name: Build PWA 🛠️
run: |
npm run schema:generate
npm run build:testnet

- name: Archive artifacts 📁
uses: actions/upload-artifact@v4
with:
path: dist

- name: Deploy to surge 🚀
run: |
npm install --global surge
surge ./dist ${{ env.PREVIEW_DOMAIN }} --token ${{ secrets.SURGE_TOKEN }}
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,25 @@ $ npm run android:build
To build on Windows you must install build tools for windows, it is easier to do this with [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) npm package.

For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

## Self-hosted

If you are unable to access [adm.im](https://adm.im) (e.g., due to censorship), you can run a self-hosted version of ADAMANT Messenger. We always encourage people to build it from source.

You can build and deploy the app to GitHub Pages. Follow the instructions below.

### Enable GH Actions

1. Fork the repository.
2. Go to the repository **Settings**.
3. Navigate to the **Pages** tab.
4. Set the source as **GitHub Actions**.

### Run GH Workflow

1. Go to the **Actions** tab.
2. Enable workflows.
3. Select the **GitHub Pages** workflow.
4. Click **Run workflow**.
5. Wait until the build succeeds.
6. Open ADAMANT Messenger at `username.github.io/adamant-im`
Binary file modified android/app/src/main/res/drawable-land-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-ldpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-night-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-night-ldpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-night-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-night-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-night-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-night-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-land-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-night/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-ldpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-night-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-night-ldpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-night-mdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-night-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-night-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-night-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-xhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-xxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable-port-xxxhdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified android/app/src/main/res/drawable/splash.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-ldpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
Binary file modified android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file modified android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Binary file modified android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary file modified capacitor/assets/icon.png
3 changes: 0 additions & 3 deletions commitlint.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { UserConfig } from '@commitlint/types'

const config: UserConfig = {
extends: ['@commitlint/config-conventional']
}

export default config
2 changes: 2 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ mac:
- arm64

afterSign: 'scripts/electron/notarize.cjs'
afterPack: 'scripts/electron/sandboxFix.mjs'


# Config for OSX dmg
dmg:
Expand Down
107 changes: 53 additions & 54 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,68 @@
<!-- Disables pull-to-refresh but allows overscroll glow effects.
overscroll-behavior-y: contain; -->
<html lang="en" style="overscroll-behavior-y: contain;">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="apple-itunes-app" content="app-id=1341473829">
<link rel="icon" href="favicon.ico">
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/img/icons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/icons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/icons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/icons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/img/icons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/img/icons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/img/icons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/img/icons/apple-touch-icon-152x152.png" />
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="/img/icons/apple-touch-icon-180x180.png" />
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="apple-itunes-app" content="app-id=1341473829">
<link rel="icon" href="/favicon.ico">
<link rel="mask-icon" href="/img/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/img/icons/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/img/icons/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/img/icons/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/img/icons/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/img/icons/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/img/icons/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/img/icons/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/img/icons/apple-touch-icon-152x152.png" />
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="/img/icons/apple-touch-icon-180x180.png" />

<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-128x128.png" sizes="128x128" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="/img/icons/favicons/favicon-128x128.png" sizes="128x128" />

<meta name="application-name" content="ADAMANT Messenger"/>
<meta name="msapplication-TileColor" content="#2b5797" />
<meta name="msapplication-TileImage" content="/img/icons/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="/img/icons/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="/img/icons/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="/img/icons/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="/img/icons/mstile-310x310.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<title>ADAMANT Messenger</title>
<meta name="application-name" content="ADAMANT Messenger"/>
<meta name="msapplication-TileColor" content="#2b5797" />
<meta name="msapplication-TileImage" content="/img/icons/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="/img/icons/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="/img/icons/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="/img/icons/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="/img/icons/mstile-310x310.png" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<title>ADAMANT Messenger</title>

<meta name="theme-color" content="#ffffff">
<meta name="theme-color" content="#ffffff">

<!--[if IE]><link rel="shortcut icon" href="/favicon.ico?v=2"><![endif]-->
<!--[if IE]><link rel="shortcut icon" href="/favicon.ico?v=2"><![endif]-->

<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#4A4A4A">
<meta name="apple-mobile-web-app-title" content="ADAMANT Messenger">
<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#4A4A4A">
<meta name="apple-mobile-web-app-title" content="ADAMANT Messenger">


</head>

<body style="background: repeating-linear-gradient(140deg, #191919, #191919 0.7px, #212121 0, #212121 5px);">
<noscript>
<strong>We're sorry but adamant-im doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app">
</head>

<div class="preloader">
<img src="/img/adamant-logo-transparent-512x512.png"
style="display: block;
max-width: 75%;
margin: auto;
max-height: 75%;
padding-top: 70px;
filter: invert(1);">
</img>
</div>
<body style="background: repeating-linear-gradient(140deg, #191919, #191919 0.7px, #212121 0, #212121 5px);">
<noscript>
<strong>We're sorry but adamant-im doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>

<div id="app">
<div class="preloader">
<img src="/img/adamant-logo-transparent-512x512.png"
style="display: block;
max-width: 75%;
margin: auto;
max-height: 75%;
padding-top: 70px;
filter: invert(1);"
/>
</div>
</div>

<script type="module" src="/src/main.ts"></script>
</body>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading