Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8623 commits
Select commit Hold shift + click to select a range
e66eba0
clean console log
Adesojisouljay Jul 18, 2023
0d12cd4
Merge branch 'development' of https://github.com/ecency/ecency-vision…
Adesojisouljay Jul 18, 2023
6ddccd3
fix logics
Adesojisouljay Jul 18, 2023
79d5015
New translations en-US.json (Russian)
feruzm Jul 18, 2023
b241c1e
New translations en-US.json (Romanian)
feruzm Jul 18, 2023
91065e3
New translations en-US.json (French)
feruzm Jul 18, 2023
bb79662
New translations en-US.json (Spanish)
feruzm Jul 18, 2023
43c9b1a
New translations en-US.json (Arabic)
feruzm Jul 18, 2023
90756fa
New translations en-US.json (Bulgarian)
feruzm Jul 18, 2023
487eac2
New translations en-US.json (Danish)
feruzm Jul 18, 2023
fcb7a1a
New translations en-US.json (German)
feruzm Jul 18, 2023
c2b9293
New translations en-US.json (Greek)
feruzm Jul 18, 2023
9f2cdd9
New translations en-US.json (Finnish)
feruzm Jul 18, 2023
a7f35c7
New translations en-US.json (Hebrew)
feruzm Jul 18, 2023
c0612ab
New translations en-US.json (Hungarian)
feruzm Jul 18, 2023
391d440
New translations en-US.json (Italian)
feruzm Jul 18, 2023
a6cfb38
New translations en-US.json (Japanese)
feruzm Jul 18, 2023
7b17af5
New translations en-US.json (Georgian)
feruzm Jul 18, 2023
5d02074
New translations en-US.json (Korean)
feruzm Jul 18, 2023
3f24fe5
New translations en-US.json (Kurdish)
feruzm Jul 18, 2023
be59625
New translations en-US.json (Lithuanian)
feruzm Jul 18, 2023
fde746e
New translations en-US.json (Dutch)
feruzm Jul 18, 2023
441a8fb
New translations en-US.json (Norwegian)
feruzm Jul 18, 2023
cd6bf8c
New translations en-US.json (Punjabi)
feruzm Jul 18, 2023
f606214
New translations en-US.json (Polish)
feruzm Jul 18, 2023
3ff6d67
New translations en-US.json (Portuguese)
feruzm Jul 18, 2023
e4d7e98
New translations en-US.json (Slovak)
feruzm Jul 18, 2023
c32f8b9
New translations en-US.json (Slovenian)
feruzm Jul 18, 2023
9989cf3
New translations en-US.json (Swedish)
feruzm Jul 18, 2023
dd41e21
New translations en-US.json (Turkish)
feruzm Jul 18, 2023
8e9e559
New translations en-US.json (Ukrainian)
feruzm Jul 18, 2023
fd80d47
New translations en-US.json (Chinese Simplified)
feruzm Jul 18, 2023
0616d41
New translations en-US.json (Chinese Traditional)
feruzm Jul 18, 2023
f35bfd8
New translations en-US.json (Urdu (Pakistan))
feruzm Jul 18, 2023
22c73ce
New translations en-US.json (Vietnamese)
feruzm Jul 18, 2023
0e01483
New translations en-US.json (Indonesian)
feruzm Jul 18, 2023
d653179
New translations en-US.json (Persian)
feruzm Jul 18, 2023
128bda8
New translations en-US.json (Tamil)
feruzm Jul 18, 2023
e9ccac7
New translations en-US.json (Bengali)
feruzm Jul 18, 2023
0588417
New translations en-US.json (Thai)
feruzm Jul 18, 2023
17e689b
New translations en-US.json (Croatian)
feruzm Jul 18, 2023
569880f
New translations en-US.json (Kazakh)
feruzm Jul 18, 2023
dc39d94
New translations en-US.json (Estonian)
feruzm Jul 18, 2023
79f36b9
New translations en-US.json (Latvian)
feruzm Jul 18, 2023
f5be603
New translations en-US.json (Azerbaijani)
feruzm Jul 18, 2023
ebe78b8
New translations en-US.json (Hindi)
feruzm Jul 18, 2023
06ad0cf
New translations en-US.json (Kyrgyz)
feruzm Jul 18, 2023
afccc61
New translations en-US.json (Malay)
feruzm Jul 18, 2023
aee5d64
New translations en-US.json (Filipino)
feruzm Jul 18, 2023
496f23f
New translations en-US.json (Uzbek)
feruzm Jul 18, 2023
948ccc8
New translations en-US.json (Serbian (Latin))
feruzm Jul 18, 2023
07c0194
New translations en-US.json (Nepali)
feruzm Jul 18, 2023
de0f95e
New translations en-US.json (Yoruba)
feruzm Jul 18, 2023
9a3fe09
New translations en-US.json (Nigerian Pidgin)
feruzm Jul 18, 2023
92cd356
New translations en-US.json (Urdu (India))
feruzm Jul 18, 2023
bcd0ed5
New translations en-US.json (Acehnese)
feruzm Jul 18, 2023
1f2d7b5
move date format function
Adesojisouljay Jul 18, 2023
7333b7f
Merge branch 'development' of https://github.com/ecency/ecency-vision…
Adesojisouljay Jul 18, 2023
d82c50a
New translations en-US.json (Spanish)
feruzm Jul 18, 2023
bc534bf
Points: Added query and used in ecency wallet component
dkildar Jul 18, 2023
cd313c2
Points: Get rid of old points store module
dkildar Jul 18, 2023
c7c3e55
Bump word-wrap from 1.2.3 to 1.2.4
dependabot[bot] Jul 19, 2023
3a6d13b
remove iframe
Adesojisouljay Jul 19, 2023
78f850e
Merge branch 'development' of https://github.com/ecency/ecency-vision…
Adesojisouljay Jul 19, 2023
b20baf2
Merge branch 'development' of https://github.com/ecency/ecency-vision…
Adesojisouljay Jul 19, 2023
d58e1e9
Points: Added retry delay
dkildar Jul 19, 2023
705b00e
User activity: Added user activity recorder
dkildar Jul 19, 2023
297835f
Fixed tests
dkildar Jul 19, 2023
90256b0
Merge pull request #1410 from ecency/feature/activity-points-queries
feruzm Jul 19, 2023
8a7eac4
Merge pull request #1407 from ecency/l10n_development
feruzm Jul 19, 2023
180831c
Merge pull request #1409 from ecency/dependabot/npm_and_yarn/word-wra…
feruzm Jul 19, 2023
7aad937
fix tag selctor styling
Adesojisouljay Jul 19, 2023
c1657f4
space between tags
Adesojisouljay Jul 20, 2023
8df3c1f
update exchange accounts
Adesojisouljay Jul 20, 2023
c88f97e
Merge branch 'development' of https://github.com/ecency/ecency-vision…
Adesojisouljay Jul 20, 2023
7d32ef5
Merge pull request #1404 from ecency/feat/followers-stats
feruzm Jul 20, 2023
8e444bb
Merge pull request #1391 from ecency/learn-more-about-boosting-and-pr…
feruzm Jul 20, 2023
a932416
New translations en-US.json (Russian)
feruzm Jul 20, 2023
99b3151
New translations en-US.json (Romanian)
feruzm Jul 20, 2023
3075859
New translations en-US.json (French)
feruzm Jul 20, 2023
8ad94a5
New translations en-US.json (Spanish)
feruzm Jul 20, 2023
09fceab
New translations en-US.json (Arabic)
feruzm Jul 20, 2023
c7a95e2
New translations en-US.json (Bulgarian)
feruzm Jul 20, 2023
e01ab9b
New translations en-US.json (Danish)
feruzm Jul 20, 2023
4023cc0
New translations en-US.json (German)
feruzm Jul 20, 2023
0403312
New translations en-US.json (Greek)
feruzm Jul 20, 2023
567b591
New translations en-US.json (Finnish)
feruzm Jul 20, 2023
4c34cd0
New translations en-US.json (Hebrew)
feruzm Jul 20, 2023
d0decb3
New translations en-US.json (Hungarian)
feruzm Jul 20, 2023
7affee9
New translations en-US.json (Italian)
feruzm Jul 20, 2023
7eabe00
New translations en-US.json (Japanese)
feruzm Jul 20, 2023
ae9ea84
New translations en-US.json (Georgian)
feruzm Jul 20, 2023
08dbc4f
New translations en-US.json (Korean)
feruzm Jul 20, 2023
d22fad0
New translations en-US.json (Kurdish)
feruzm Jul 20, 2023
85e65d3
New translations en-US.json (Lithuanian)
feruzm Jul 20, 2023
49ae143
New translations en-US.json (Dutch)
feruzm Jul 20, 2023
6de7296
New translations en-US.json (Norwegian)
feruzm Jul 20, 2023
2f75dcb
New translations en-US.json (Punjabi)
feruzm Jul 20, 2023
a66b735
New translations en-US.json (Polish)
feruzm Jul 20, 2023
af7c9ac
New translations en-US.json (Portuguese)
feruzm Jul 20, 2023
016bf58
New translations en-US.json (Slovak)
feruzm Jul 20, 2023
0de00d3
New translations en-US.json (Slovenian)
feruzm Jul 20, 2023
3224ba1
New translations en-US.json (Swedish)
feruzm Jul 20, 2023
1fc96a7
New translations en-US.json (Turkish)
feruzm Jul 20, 2023
61c8d27
New translations en-US.json (Ukrainian)
feruzm Jul 20, 2023
322ed7c
New translations en-US.json (Chinese Simplified)
feruzm Jul 20, 2023
814538c
New translations en-US.json (Chinese Traditional)
feruzm Jul 20, 2023
089d272
New translations en-US.json (Urdu (Pakistan))
feruzm Jul 20, 2023
316affc
New translations en-US.json (Vietnamese)
feruzm Jul 20, 2023
090b383
New translations en-US.json (Indonesian)
feruzm Jul 20, 2023
63957e5
New translations en-US.json (Persian)
feruzm Jul 20, 2023
a948e9c
New translations en-US.json (Tamil)
feruzm Jul 20, 2023
fc60e34
New translations en-US.json (Bengali)
feruzm Jul 20, 2023
98b5b20
New translations en-US.json (Thai)
feruzm Jul 20, 2023
ea4e502
New translations en-US.json (Croatian)
feruzm Jul 20, 2023
9fefe23
New translations en-US.json (Kazakh)
feruzm Jul 20, 2023
adcac9a
New translations en-US.json (Estonian)
feruzm Jul 20, 2023
138c619
New translations en-US.json (Latvian)
feruzm Jul 20, 2023
96adcf5
New translations en-US.json (Azerbaijani)
feruzm Jul 20, 2023
41e8961
New translations en-US.json (Hindi)
feruzm Jul 20, 2023
5dca827
New translations en-US.json (Kyrgyz)
feruzm Jul 20, 2023
afdc6d0
New translations en-US.json (Malay)
feruzm Jul 20, 2023
566bf4c
New translations en-US.json (Filipino)
feruzm Jul 20, 2023
fd2971c
New translations en-US.json (Uzbek)
feruzm Jul 20, 2023
2ee8775
New translations en-US.json (Serbian (Latin))
feruzm Jul 20, 2023
4fd486a
New translations en-US.json (Nepali)
feruzm Jul 20, 2023
2f4a041
New translations en-US.json (Yoruba)
feruzm Jul 20, 2023
572ae27
New translations en-US.json (Nigerian Pidgin)
feruzm Jul 20, 2023
f4d731a
New translations en-US.json (Urdu (India))
feruzm Jul 20, 2023
29e907d
New translations en-US.json (Acehnese)
feruzm Jul 20, 2023
d17569b
AMP: Added redis client for AMP pages
dkildar Jul 20, 2023
55989b1
AMP: Fixed AMP styles
dkildar Jul 20, 2023
3fdb76c
Merge pull request #1414 from ecency/feature/amp-cache
feruzm Jul 20, 2023
6d7acd6
fix package
feruzm Jul 20, 2023
f4fec71
linting
feruzm Jul 20, 2023
cd24d7b
adjust style for more components
Adesojisouljay Jul 20, 2023
0299535
New translations en-US.json (Spanish)
feruzm Jul 20, 2023
fcda7e2
Merge branch 'development' into feat/3speak-video-upload
feruzm Jul 21, 2023
7d5106c
Editor preview: fixed submit page preview
dkildar Jul 21, 2023
af28620
Merge pull request #1415 from ecency/bugfix/editor-preview
feruzm Jul 21, 2023
ba92218
improve UI
Adesojisouljay Jul 21, 2023
9f5c27f
style fixes
Adesojisouljay Jul 21, 2023
4b36100
style changes
Adesojisouljay Jul 21, 2023
ae6b29f
Merge pull request #1413 from ecency/l10n_development
feruzm Jul 21, 2023
7ef57ea
fixed empty list instance
Adesojisouljay Jul 21, 2023
ee4d147
update translation checks
Adesojisouljay Jul 21, 2023
d05b65f
Merge pull request #1412 from ecency/fix-tag-selector-bug
feruzm Jul 22, 2023
50387e7
Merge pull request #1388 from ecency/feat/memo-on-exchange-transfers
feruzm Jul 22, 2023
cb8d0bb
New translations en-US.json (Russian)
feruzm Jul 22, 2023
cecc5ee
New translations en-US.json (Romanian)
feruzm Jul 22, 2023
a665662
New translations en-US.json (French)
feruzm Jul 22, 2023
e81ad44
New translations en-US.json (Spanish)
feruzm Jul 22, 2023
a800f94
New translations en-US.json (Arabic)
feruzm Jul 22, 2023
a754a10
New translations en-US.json (Bulgarian)
feruzm Jul 22, 2023
3882a78
New translations en-US.json (Danish)
feruzm Jul 22, 2023
041408f
New translations en-US.json (German)
feruzm Jul 22, 2023
8f57cfb
New translations en-US.json (Greek)
feruzm Jul 22, 2023
323a4fa
New translations en-US.json (Finnish)
feruzm Jul 22, 2023
4b78c39
New translations en-US.json (Hebrew)
feruzm Jul 22, 2023
4c94c8b
New translations en-US.json (Hungarian)
feruzm Jul 22, 2023
e0d7020
New translations en-US.json (Italian)
feruzm Jul 22, 2023
858ecc1
New translations en-US.json (Japanese)
feruzm Jul 22, 2023
27de3a0
New translations en-US.json (Georgian)
feruzm Jul 22, 2023
9e915c2
New translations en-US.json (Korean)
feruzm Jul 22, 2023
eaadab1
New translations en-US.json (Kurdish)
feruzm Jul 22, 2023
65fd5f2
New translations en-US.json (Lithuanian)
feruzm Jul 22, 2023
fee4e00
New translations en-US.json (Dutch)
feruzm Jul 22, 2023
00d800a
New translations en-US.json (Norwegian)
feruzm Jul 22, 2023
c84fd9f
New translations en-US.json (Punjabi)
feruzm Jul 22, 2023
0e09603
New translations en-US.json (Polish)
feruzm Jul 22, 2023
846731b
New translations en-US.json (Portuguese)
feruzm Jul 22, 2023
48762e7
New translations en-US.json (Slovak)
feruzm Jul 22, 2023
4d57b01
New translations en-US.json (Slovenian)
feruzm Jul 22, 2023
82fc9bf
New translations en-US.json (Swedish)
feruzm Jul 22, 2023
e9fee34
New translations en-US.json (Turkish)
feruzm Jul 22, 2023
e2e9beb
New translations en-US.json (Ukrainian)
feruzm Jul 22, 2023
4279981
New translations en-US.json (Chinese Simplified)
feruzm Jul 22, 2023
e75c829
New translations en-US.json (Chinese Traditional)
feruzm Jul 22, 2023
79b1d59
New translations en-US.json (Urdu (Pakistan))
feruzm Jul 22, 2023
76c2a6c
New translations en-US.json (Vietnamese)
feruzm Jul 22, 2023
b8e5c9a
New translations en-US.json (Indonesian)
feruzm Jul 22, 2023
6405cd8
New translations en-US.json (Persian)
feruzm Jul 22, 2023
c3efdd3
New translations en-US.json (Tamil)
feruzm Jul 22, 2023
ca78b30
New translations en-US.json (Bengali)
feruzm Jul 22, 2023
547840c
New translations en-US.json (Thai)
feruzm Jul 22, 2023
c237f13
New translations en-US.json (Croatian)
feruzm Jul 22, 2023
cdf8808
New translations en-US.json (Kazakh)
feruzm Jul 22, 2023
b92fa69
New translations en-US.json (Estonian)
feruzm Jul 22, 2023
a3aaf59
New translations en-US.json (Latvian)
feruzm Jul 22, 2023
ce68b7e
New translations en-US.json (Azerbaijani)
feruzm Jul 22, 2023
2e08a58
New translations en-US.json (Hindi)
feruzm Jul 22, 2023
0ce17e8
New translations en-US.json (Kyrgyz)
feruzm Jul 22, 2023
c18b63a
New translations en-US.json (Malay)
feruzm Jul 22, 2023
f47df2f
New translations en-US.json (Filipino)
feruzm Jul 22, 2023
597fb05
New translations en-US.json (Uzbek)
feruzm Jul 22, 2023
d014772
New translations en-US.json (Serbian (Latin))
feruzm Jul 22, 2023
be96a44
New translations en-US.json (Nepali)
feruzm Jul 22, 2023
74f7c81
New translations en-US.json (Yoruba)
feruzm Jul 22, 2023
1eb1496
New translations en-US.json (Nigerian Pidgin)
feruzm Jul 22, 2023
328ece1
New translations en-US.json (Urdu (India))
feruzm Jul 22, 2023
126d93d
New translations en-US.json (Acehnese)
feruzm Jul 22, 2023
4dc80c8
redis config change
feruzm Jul 22, 2023
3d418cd
fix types and typo
feruzm Jul 22, 2023
9795c1f
redis version change
feruzm Jul 22, 2023
5c8ac79
version changes on actions
feruzm Jul 22, 2023
0da91dc
env fix
feruzm Jul 22, 2023
c824675
env fixx
feruzm Jul 22, 2023
15c29a8
compose version revert
feruzm Jul 22, 2023
cbcf213
env fixxx
feruzm Jul 22, 2023
7d57710
env fixxx
feruzm Jul 22, 2023
a5861c3
AMP: turn canonical url to ecency
dkildar Jul 22, 2023
2774d02
Merge pull request #1417 from ecency/feature/amp-canonical
feruzm Jul 22, 2023
3493cd4
env fix
feruzm Jul 22, 2023
8121bb6
env fix
feruzm Jul 22, 2023
5592d99
network fix
feruzm Jul 22, 2023
ca32012
network upd
feruzm Jul 22, 2023
b05de70
Editor preview: fixed duplicated lines
dkildar Jul 22, 2023
ab46309
Merge pull request #1418 from ecency/bugfix/editor-preview-dup-lines
feruzm Jul 22, 2023
3123e86
connection update
feruzm Jul 22, 2023
46ad2b8
connection updates
feruzm Jul 22, 2023
f7d0742
connection updated
feruzm Jul 22, 2023
828fc25
test loadbalancing
feruzm Jul 22, 2023
40641aa
test loadbalancing
feruzm Jul 22, 2023
c789e21
update conf
feruzm Jul 22, 2023
986bd55
update staging
feruzm Jul 22, 2023
596a194
client connect
feruzm Jul 22, 2023
8a5bec3
amp style fix
feruzm Jul 22, 2023
3ac8b05
update master ci
feruzm Jul 22, 2023
989ad3e
Merge pull request #1416 from ecency/l10n_development
feruzm Jul 22, 2023
bb4d180
confirm nsfw content
Adesojisouljay Jul 22, 2023
3988be0
port change
feruzm Jul 22, 2023
f8e59eb
remove reputation from amp
feruzm Jul 22, 2023
20714af
fix compose files
feruzm Jul 22, 2023
30159b8
fix load balancer proxy port
feruzm Jul 22, 2023
e84c415
Decks: fixed opening
dkildar Jul 23, 2023
60d6768
interface types
Adesojisouljay Jul 23, 2023
a7cecad
Merge pull request #1420 from ecency/bugfix/decks-opening
feruzm Jul 23, 2023
8de0916
Merge branch 'development' into feat/3speak-video-upload
feruzm Jul 24, 2023
7a920d3
fix self closing
feruzm Jul 24, 2023
1d1a5b6
fix linting and remove video from comments
feruzm Jul 24, 2023
120b934
improve style
Adesojisouljay Jul 24, 2023
eb0b8a1
Merge branch 'feat/3speak-video-upload' of https://github.com/ecency/…
Adesojisouljay Jul 24, 2023
9c7f5a9
clean logs
feruzm Jul 24, 2023
4f51976
status info
Adesojisouljay Jul 24, 2023
e23bc19
Merge branch 'feat/3speak-video-upload' of https://github.com/ecency/…
Adesojisouljay Jul 24, 2023
61dc69f
remove comments
Adesojisouljay Jul 24, 2023
f5ddc47
fix syntaxes
Adesojisouljay Jul 29, 2023
48acaff
clear console
Adesojisouljay Jul 29, 2023
eed2396
move function to api/threespeak
Adesojisouljay Jul 30, 2023
fa0854d
fix modal
Adesojisouljay Jul 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
**/node_modules
**/docker-compose.yml
**/docker-compose.production.yml
stats.json
113 changes: 113 additions & 0 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
name: Desktop-release

on:
push:
branches:
- desktop

jobs:
release-mac:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [macos-11]

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16

- name: npm install, lint and/or test
run: |
yarn
cd src/desktop
yarn

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
package_root: "./src/desktop/"
mac_certs: ${{ secrets.mac_certs }}
mac_certs_password: ${{ secrets.mac_certs_password }}
args: "--publish always"
max_attempts: "5"
env:
NODE_OPTIONS: '--max_old_space_size=4096'

release-win:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [windows-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16

- name: npm install, lint and/or test
run: |
yarn
cd src/desktop
yarn

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
package_root: "./src/desktop/"
windows_certs: ${{ secrets.windows_certs }}
windows_certs_password: ${{ secrets.windows_certs_password }}
args: "--publish always"
max_attempts: "5"
env:
NODE_OPTIONS: '--max_old_space_size=4096'

release-unix:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: Check out Git repository
uses: actions/checkout@v3

- name: Install Node.js, NPM and Yarn
uses: actions/setup-node@v3
with:
node-version: 16

- name: npm install, lint and/or test
run: |
yarn
cd src/desktop
yarn

- name: Build/release Electron app
uses: samuelmeuli/action-electron-builder@v1
with:
# GitHub token, automatically provided to the action
# (No need to define this secret in the repo settings)
github_token: ${{ secrets.github_token }}
package_root: "./src/desktop/"
args: "--publish always"
max_attempts: "5"
env:
NODE_OPTIONS: '--max_old_space_size=4096'
26 changes: 16 additions & 10 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint and/or test
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand Down Expand Up @@ -57,18 +57,20 @@ jobs:
uses: appleboy/ssh-action@master
env:
USE_PRIVATE: ${{secrets.USE_PRIVATE}}
REDIS_HOST_PASSWORD: ${{secrets.REDIS_HOST_PASSWORD}}
with:
host: ${{ secrets.SSH_HOST_EU }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
envs: USE_PRIVATE
envs: USE_PRIVATE, REDIS_HOST_PASSWORD
script: |
export USE_PRIVATE=$USE_PRIVATE
export REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
cd ~/vision-production
git pull origin master
docker pull ecency/vision:latest
docker stack deploy -c docker-compose.yml -c docker-compose.production.yml vis
docker-compose -f docker-compose.production.yml up -d

deploy-US:
needs: build
Expand All @@ -78,18 +80,20 @@ jobs:
uses: appleboy/ssh-action@master
env:
USE_PRIVATE: ${{secrets.USE_PRIVATE}}
REDIS_HOST_PASSWORD: ${{secrets.REDIS_HOST_PASSWORD}}
with:
host: ${{ secrets.SSH_HOST_US }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
envs: USE_PRIVATE
envs: USE_PRIVATE, REDIS_HOST_PASSWORD
script: |
export USE_PRIVATE=$USE_PRIVATE
export REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
cd ~/vision-production
git pull origin master
docker pull ecency/vision:latest
docker stack deploy -c docker-compose.yml -c docker-compose.production.yml vision
docker-compose -f docker-compose.production.yml up -d

deploy-SG:
needs: build
Expand All @@ -99,15 +103,17 @@ jobs:
uses: appleboy/ssh-action@master
env:
USE_PRIVATE: ${{secrets.USE_PRIVATE}}
REDIS_HOST_PASSWORD: ${{secrets.REDIS_HOST_PASSWORD}}
with:
host: ${{ secrets.SSH_HOST_SG }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
envs: USE_PRIVATE
envs: USE_PRIVATE, REDIS_HOST_PASSWORD
script: |
export USE_PRIVATE=$USE_PRIVATE
export REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
cd ~/vision-production
git pull origin master
docker pull ecency/vision:latest
docker stack deploy -c docker-compose.yml -c docker-compose.production.yml vision
docker-compose -f docker-compose.production.yml up -d
14 changes: 8 additions & 6 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: npm install, lint and/or test
Expand All @@ -29,7 +29,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v1
Expand Down Expand Up @@ -57,15 +57,17 @@ jobs:
uses: appleboy/ssh-action@master
env:
USE_PRIVATE: ${{secrets.USE_PRIVATE}}
REDIS_HOST_PASSWORD: ${{secrets.REDIS_HOST_PASSWORD}}
with:
host: ${{ secrets.SSH_STAGING_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
port: ${{ secrets.SSH_PORT }}
envs: USE_PRIVATE
envs: USE_PRIVATE, REDIS_HOST_PASSWORD
script: |
export USE_PRIVATE=$USE_PRIVATE
export REDIS_HOST_PASSWORD=$REDIS_HOST_PASSWORD
cd ~/vision-staging
git pull origin development
docker pull ecency/vision:development
docker stack deploy -c docker-compose.yml vision
docker-compose up -d
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ src/config.ts
.vscode

dev.sh
stats.json
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn precommit
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"semi": true,
"printWidth": 100,
"singleQuote": false,
"trailingComma": "none",
"tabWidth": 2
}
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:12.16.2 as base
FROM node:16.13.2 as base

WORKDIR /var/app

Expand All @@ -18,7 +18,7 @@ FROM base as dependencies
RUN yarn install --non-interactive --frozen-lockfile --ignore-optional --production

### BUILD MINIFIED PRODUCTION ##
FROM node:12.16.2-alpine as production
FROM node:16.13.2 as production

# Add Tini
ENV TINI_VERSION v0.18.0
Expand Down
41 changes: 37 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,49 @@ Feel free to test it out and submit improvements and pull requests.
- node ^12.0.0
- yarn

##### Clone
##### Clone

`$ git clone https://github.com/ecency/ecency-vision`

`$ cd ecency-vision`

##### Install dependencies

`$ yarn`

##### Edit config file or define environment variables

`$ nano src/config.ts`

##### Environment variables

* `USE_PRIVATE` - if instance has private api address and auth (0 or 1 value)
- `USE_PRIVATE` - if instance has private api address and auth (0 or 1 value)
- `HIVESIGNER_ID` - This is a special application Hive account. If unset, "ecency.app" is the account used.
- `HIVESIGNER_SECRET` - This is a secret your site shares with HIVE_SIGNER in order to communicate securely.

* `REDIS_URL` - support for caching amp pages

###### Hivesigner Variables

When setting up another service like Ecency with Ecency-vision software:

1. You may leave `HIVESIGNER_ID` and `HIVESIGNER_SECRET` environment variables unset and optionally set USE_PRIVATE=1 and leave "base" in the constants/defaults.json set to "https://ecency.com". Your new site will contain more features as it will use Ecency's private API. This is by far the easiest option.
2. You may change `base` to the URL of your own site, but you will have to set environment variables `HIVESIGNER_ID` and `HIVESIGNER_SECRET`; set USE_PRIVATE=0 as well as configure your the `HIVESIGNER_ID` account at the [Hivesigner website.](https://hivesigner.com/profile). Hivesigner will need a `secret`, in the form of a long lowercase hexadecimal number. The HIVESIGNER_SECRET should be set to this value.

###### Hivesigner Login Process

In order to validate a login, and do posting level operations, this software relies on Hivesigner. A user @alice will use login credentials to login to the site via one of several methods, but the site will communicate with Hivesigner and ask it to do all posting operations on behalf of @alice. Hivesigner can and will do this because both @alice will have given posting authority to the `HIVESIGNER_ID` user and the `HIVESIGNER_ID` user will have given its posting authority to Hivesigner.

##### Edit "default" values

If you are setting up your own website other than Ecency.com, you can still leave the value `base` as "https://ecency.com". However, you should change `name`, `title` and `twitterHandle`. There are also a lot of static pages that are Ecency specific.

##### Start website in dev

`$ yarn start`

##### Start desktop in dev

`$ cd src/desktop`
`$ yarn`
`$ yarn dev`
Expand All @@ -71,7 +95,9 @@ docker run -it --rm -p 3000:3000 ecency/vision:latest
```

Configure the instance using following environment variables:
* `USE_PRIVATE`

- `USE_PRIVATE`
- `REDIS_URL`

```bash
docker run -it --rm -p 3000:3000 -e USE_PRIVATE=1 ecency/vision:latest
Expand All @@ -89,6 +115,13 @@ docker stack deploy -c docker-compose.yml -c docker-compose.production.yml visio

[![Contributors](https://contrib.rocks/image?repo=ecency/ecency-vision)](https://github.com/ecency/ecency-vision/graphs/contributors)

## Note to DEVS

- Make PRs more clear with description, screenshots or videos, linking to issues, if no issue exist create one that describes PR and mention in PR. Reviewers may or may not run code, but PR should be reviewable even without running, visials helps there.
- PR should have title WIP, if it is not ready yet. Once ready, run yarn test and update all tests, make sure linting also done before requesting for review.
- Creating component?! Make sure to create simple tests, you can check other components for examples.
- Always make sure component and pages stay fast without unnecessary re-renders because those will slow down app/performance.
-

## Issues

Expand All @@ -98,7 +131,7 @@ If you find a security issue please report details to: security@ecency.com

We will evaluate the risk and make a patch available before filing the issue.

[//]: # 'LINKS'
[//]: # "LINKS"
[ecency_vision]: https://ecency.com
[ecency_desktop]: https://desktop.ecency.com
[ecency_alpha]: https://alpha.ecency.com
Expand Down
Loading