Skip to content
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

Abodmicheal fist batch phase 2 #366

Open
wants to merge 718 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
718 commits
Select commit Hold shift + click to select a range
de3321e
fix var collision in vp data
eonwarped May 20, 2021
90c9cb4
Merge branch 'master' into scotty_hesmt
eonwarped May 20, 2021
625b399
add ads.txt for cine
eonwarped May 21, 2021
47384c5
Merge branch 'master' into scotty_multi
eonwarped May 21, 2021
e58866e
fix voting power display
eonwarped May 27, 2021
7d91436
Merge branch 'master' into scotty_multi
eonwarped May 27, 2021
2b781a9
pob ad
eonwarped May 31, 2021
347d67e
try get state endpoint
eonwarped May 31, 2021
6eb5f07
Merge branch 'master' into scotty_hesmt
eonwarped May 31, 2021
62c86a4
add category to state url detect
eonwarped May 31, 2021
6096249
fix get staye call
eonwarped May 31, 2021
29230d7
fix get state parent permlink ref
eonwarped May 31, 2021
59de908
disable missing keys, disable grey/stats
eonwarped Jun 2, 2021
25dc31b
fix loading for feed to content
eonwarped Jun 2, 2021
2808f49
rename to get_thread instead of get_state
eonwarped Jun 2, 2021
1659906
typo in refactor
eonwarped Jun 2, 2021
d987273
Add files via upload
eonwarped Jun 3, 2021
0a8748c
remove trailing slash in app url
eonwarped Jun 3, 2021
57f6f10
easy clean config when merging branches
eonwarped Jun 3, 2021
7ef157f
first smt config, clean up others
eonwarped Jun 7, 2021
c25e4ec
clean up older tribe configs
eonwarped Jun 7, 2021
8f07379
fix dunk config
eonwarped Jun 7, 2021
c93dec1
add root domain for dunk
eonwarped Jun 7, 2021
29e01b5
change HE endpoint
eonwarped Jun 7, 2021
6cbf637
add csp rule for api2 he
eonwarped Jun 7, 2021
fb2ddc4
fix err hiveData
eonwarped Jun 7, 2021
6dbf69b
remove steemit image urls
eonwarped Jun 7, 2021
e7e4b82
fix vote length
eonwarped Jun 8, 2021
ed61caf
remove tribe mute when not logged on
eonwarped Jun 8, 2021
29d947e
replace market with tribaldex
eonwarped Jun 8, 2021
368222a
allow cancellation of next page feed calls when changing location
eonwarped Jun 8, 2021
05df32d
import cancel method
eonwarped Jun 8, 2021
b020c1e
fix account history call
eonwarped Jun 10, 2021
0dfbeef
add pinned post irl
eonwarped Jun 11, 2021
82b0047
revert pob logo
eonwarped Jun 12, 2021
ea93355
Merge branch 'master' into scotty_multi
eonwarped Jun 12, 2021
5a6c77d
fix internal error due to undefined
eonwarped Jun 17, 2021
c4f16c3
Merge branch 'master' into scotty_hesmt
eonwarped Jun 17, 2021
f6dbcb1
second attempt to fix set hive on undefined error
eonwarped Jun 17, 2021
e2a471e
fix trailing commas
eonwarped Jun 17, 2021
3a4b5f8
fix undefined proxify call on extractmeta
eonwarped Jun 17, 2021
0808b8e
Merge branch 'master' into scotty_multi
eonwarped Jun 18, 2021
a30e6ca
Merge branch 'master' into scotty_hesmt
eonwarped Jun 19, 2021
ffff3d6
disable blacklist pob
eonwarped Jun 19, 2021
4774c64
Merge branch 'master' into scotty_multi
eonwarped Jun 19, 2021
71529c4
do not let unfetchable pinned posts bring down server
eonwarped Jun 30, 2021
6edf551
cent config and assets
eonwarped Jun 30, 2021
32674ac
fix cent icon
eonwarped Jun 30, 2021
a21ec87
remove duplicate theme
eonwarped Jun 30, 2021
ecf1f2b
fix logo
eonwarped Jun 30, 2021
d874317
use larger image
eonwarped Jun 30, 2021
a551e9f
beatcz assets and data
eonwarped Jul 1, 2021
bbad95e
beatcz assets
eonwarped Jul 1, 2021
7d28448
change domain centblog
eonwarped Jul 1, 2021
02dd3e7
do not show tribe mute button
eonwarped Jul 1, 2021
0f8921a
add hive communities
eonwarped Jul 1, 2021
3827bac
remove other trending tags for pob
eonwarped Jul 6, 2021
be3342c
try decode URI for hivesigner
eonwarped Jul 9, 2021
27908fb
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 9, 2021
3e7e65f
update hivesigner lib
eonwarped Jul 9, 2021
e365fb1
update packages hivesigner
eonwarped Jul 9, 2021
1b62369
Merge branch 'master' into scotty_multi
eonwarped Jul 10, 2021
2247381
Merge branch 'master' into scotty_multi
eonwarped Jul 10, 2021
11ab291
minor update for alive
eonwarped Jul 14, 2021
9d02f7e
dunk community add
eonwarped Jul 14, 2021
b15ef9c
Merge branch 'master' into scotty_hesmt
eonwarped Jul 14, 2021
0c622b0
add DEFAULT_URL to config
eonwarped Jul 19, 2021
2af7d9c
Merge branch 'master' into scotty_multi
eonwarped Jul 19, 2021
05f8ffb
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 19, 2021
1278f0c
fix Map addition to Topics
eonwarped Jul 19, 2021
4283d7c
Merge branch 'master' into scotty_hesmt
eonwarped Jul 19, 2021
c2b7aea
add another to ignore
eonwarped Jul 23, 2021
3b42665
Merge branch 'master' into scotty_multi
eonwarped Jul 23, 2021
9db2535
fix Map addition to Topics
eonwarped Jul 19, 2021
0ec2aca
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 23, 2021
75163ba
fix all solid upvote circle
eonwarped Jul 27, 2021
1808ce2
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 27, 2021
d97f25a
Merge branch 'master' into scotty_multi
eonwarped Jul 27, 2021
188de8c
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 27, 2021
3e39c30
actually fix solid upvoting animation on iphone
eonwarped Jul 27, 2021
d3be265
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 27, 2021
8de4454
use hive setting for user in missing Userpic case
eonwarped Jul 30, 2021
b2f029d
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jul 30, 2021
77471a8
hesmt config for BUIDL
eonwarped Aug 6, 2021
0baa7a5
restore color for buidl
eonwarped Aug 7, 2021
5029e58
bht gigs sidebar
eonwarped Aug 10, 2021
34fd28f
fix domain for new archonapp
eonwarped Aug 13, 2021
5b2b067
update config to remove unused
eonwarped Aug 30, 2021
2c9df1e
Add files via upload
eonwarped Sep 4, 2021
b576996
Update client_config.js
eonwarped Sep 4, 2021
c0ca5f9
Merge remote-tracking branch 'eonnitrous/scotty_multi' into scotty_multi
eonwarped Sep 4, 2021
de41a8b
update pob icon
eonwarped Oct 2, 2021
3c661d1
Merge branch 'master' into scotty_multi
eonwarped Oct 2, 2021
40a072f
change smt scot endpoint
eonwarped Oct 9, 2021
36c8608
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Oct 9, 2021
278fe82
Merge branch 'scotty_hesmt' into scotty_build2
eonwarped Oct 10, 2021
4a71690
Add files via upload
eonwarped Oct 11, 2021
789bd1d
fix json metadata app fetch
eonwarped Oct 11, 2021
feec6cf
Merge branch 'master' into scotty_multi
eonwarped Oct 11, 2021
ac0ac65
Merge remote-tracking branch 'eonnitrous/scotty_multi' into scotty_multi
eonwarped Oct 11, 2021
67eb34f
Merge branch 'master' into scotty_multi
eonwarped Oct 11, 2021
2db1ece
add proof of brain icon
eonwarped Oct 11, 2021
1d95af6
Add files via upload
eonwarped Oct 12, 2021
ba81d3d
add bene to proofofbrainio
eonwarped Oct 21, 2021
ff09bf0
fix estimate by using parseFloat on rshares
eonwarped Oct 26, 2021
91a69ff
Merge recent changes
eonwarped Oct 26, 2021
26f2f39
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Oct 26, 2021
b90dd21
Merge branch 'scotty_hesmt' into scotty_build2
eonwarped Oct 26, 2021
e6332eb
fix voting power estimate
eonwarped Oct 28, 2021
fc482b1
Merge branch 'scotty_hesmt' into scotty_build2
eonwarped Oct 28, 2021
4972e78
Merge branch 'master' into scotty_multi
eonwarped Oct 31, 2021
569836b
beatcz links
eonwarped Nov 21, 2021
332545a
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Nov 21, 2021
919c41a
try adding category to internal link
eonwarped Nov 24, 2021
43cd67e
use peakd links
eonwarped Nov 25, 2021
9a6fd00
use beatcz external links
eonwarped Nov 25, 2021
4ce57d6
change endpoint to ha.herpc.dtools.dev
eonwarped Dec 7, 2021
8fcde88
add ha node to csp rule
eonwarped Dec 7, 2021
8847f46
vyb assets
eonwarped Dec 18, 2021
cf0730f
Vyb assets
eonwarped Dec 18, 2021
1cfd057
Vyb assets
eonwarped Dec 18, 2021
56cef28
vyb config
eonwarped Dec 18, 2021
c12b1d6
fix typo
eonwarped Dec 18, 2021
91809f6
fix default url
eonwarped Dec 18, 2021
c583adf
typo in domain
eonwarped Dec 18, 2021
b054593
remove merge behavior, prefer smt scot indexer data
eonwarped Dec 23, 2021
1536edb
Merge branch 'master' into scotty_multi
eonwarped Dec 27, 2021
08d1112
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Dec 27, 2021
8357fb6
fix category on posts
eonwarped Dec 28, 2021
7574f3e
fix json metadata type overall, tags in particular
eonwarped Jan 4, 2022
b8f2630
json_metadata typo
eonwarped Jan 4, 2022
6da7af7
Merge branch 'master' into scotty_multi
eonwarped Jan 11, 2022
c4ff39d
Merge branch 'scotty_multi' into scotty_hesmt
eonwarped Jan 11, 2022
7dbe0c2
change smtscot to ha endpoint
eonwarped Jan 13, 2022
a6b87e1
change logo beatcz
eonwarped Jan 27, 2022
c43c1e5
fix token stats
eonwarped Feb 22, 2022
7d604ab
DarkMode update
abodmicheal Apr 12, 2022
bcb4599
DarkMode Update
abodmicheal Apr 12, 2022
be00494
Add files via upload
abodmicheal Apr 12, 2022
d3ef2b9
DarkMode Update
abodmicheal Apr 12, 2022
3647cc4
New Scotty Update
abodmicheal Apr 12, 2022
d3f7b90
update beatcz assets
eonwarped Apr 12, 2022
961b196
Add files via upload
abodmicheal Apr 12, 2022
b305212
update darkmode
abodmicheal Apr 12, 2022
7ac1bf6
index update
abodmicheal Apr 12, 2022
85cb43f
LitePaper Update
abodmicheal Apr 12, 2022
6e68d9b
Merge pull request #314 from abodmicheal/patch-1
abodmicheal Apr 12, 2022
4f155a5
extra assets
eonwarped Apr 14, 2022
69bf252
Merge branch 'scotty_hesmt' into scotty_build2
eonwarped Apr 14, 2022
4ba6cc9
Merge remote-tracking branch 'origin/scotty_build2' into scotty_build2
eonwarped Apr 14, 2022
6ea5e98
latest update
abodmicheal Apr 16, 2022
44a129e
Merge branch 'scotty_build2' into scotty_build2
abodmicheal Apr 16, 2022
f77576b
Merge pull request #315 from abodmicheal/scotty_build2
abodmicheal Apr 16, 2022
136db20
Delete DarkMode.jsx
abodmicheal Apr 16, 2022
e218a35
Update sidepanel
abodmicheal Apr 16, 2022
2c3d9a7
Merge pull request #316 from hive-engine/abodmicheal-patch-2
abodmicheal Apr 16, 2022
e41de8f
New Storage Ref
abodmicheal Apr 16, 2022
bf0a66c
Merge pull request #317 from hive-engine/abodmicheal-patch-3
abodmicheal Apr 16, 2022
32660a8
Latest Update
abodmicheal Apr 16, 2022
6bb5fce
Merge pull request #318 from hive-engine/abodmicheal-patch-3
abodmicheal Apr 16, 2022
5dcf1fa
new commit for App
abodmicheal Apr 17, 2022
5c08dbb
Merge branch 'scotty_build2' of https://github.com/abodmicheal/nitrou…
abodmicheal Apr 17, 2022
156dcd3
Merge branch 'scotty_build2' into scotty_build2
abodmicheal Apr 17, 2022
0c2f10b
Merge pull request #319 from abodmicheal/scotty_build2
abodmicheal Apr 17, 2022
79d352a
Update App.jsx
abodmicheal Apr 17, 2022
733c6b5
Merge pull request #320 from hive-engine/abodmicheal-patch-4
abodmicheal Apr 17, 2022
18572b6
Fixed Compilation Error
abodmicheal Apr 17, 2022
85d7bc5
Merge pull request #321 from hive-engine/abodmicheal-patch-4
abodmicheal Apr 17, 2022
1357f96
New Error Fixed
abodmicheal Apr 17, 2022
a283d10
Merge branch 'scotty_build2' of https://github.com/abodmicheal/nitrou…
abodmicheal Apr 17, 2022
3ee1795
Merge pull request #322 from abodmicheal/scotty_build2
abodmicheal Apr 17, 2022
64d7612
new commit
abodmicheal Apr 17, 2022
cc5fcbf
Merge pull request #323 from abodmicheal/scotty_build2
abodmicheal Apr 17, 2022
0200bb6
new babel cli
abodmicheal Apr 17, 2022
6f1cfe3
Merge pull request #324 from abodmicheal/scotty_build2
abodmicheal Apr 17, 2022
cf69ef7
Revert "new babel cli"
abodmicheal Apr 17, 2022
2f0d96c
Merge pull request #325 from hive-engine/revert-324-scotty_build2
abodmicheal Apr 17, 2022
a6c6fcb
Merge branch 'scotty_build2' into patch-2
abodmicheal Apr 17, 2022
170b9ce
Merge pull request #313 from abodmicheal/patch-2
abodmicheal Apr 17, 2022
1be28a1
new Update
abodmicheal Apr 17, 2022
94478f0
latest
abodmicheal Apr 17, 2022
6f70769
Add files via upload
abodmicheal Apr 17, 2022
997d745
latest
abodmicheal Apr 17, 2022
1dcc1ed
Merge new updated pull request #326 from abodmicheal/patch-1
abodmicheal Apr 17, 2022
b53f45c
remove lock file
eonwarped Apr 17, 2022
e495198
Update App.jsx
abodmicheal Apr 17, 2022
0a806b0
Merge branch 'scotty_build2' into abodmicheal-patch-1
abodmicheal Apr 17, 2022
946ca30
Merge pull request #327 from hive-engine/abodmicheal-patch-1
abodmicheal Apr 17, 2022
8711d71
revert changes from master without hostConfig
eonwarped Apr 18, 2022
2ebda25
Update index.jsx
abodmicheal Apr 18, 2022
c8ad236
Merge pull request #328 from hive-engine/abodmicheal-patch-4
abodmicheal Apr 18, 2022
9ee7147
new commit
abodmicheal Apr 18, 2022
2b1e166
Merge pull request #329 from abodmicheal/patch-1
abodmicheal Apr 18, 2022
1326e78
new
abodmicheal Apr 18, 2022
352467a
Merge pull request #330 from abodmicheal/patch-1
abodmicheal Apr 18, 2022
7fb3a11
new patch
abodmicheal Apr 18, 2022
811e724
new clean patch
abodmicheal Apr 19, 2022
ed8ae6e
Merge pull request #332 from abodmicheal/patch-1
abodmicheal Apr 19, 2022
4f1a245
new
abodmicheal Apr 19, 2022
2c1fd99
new commit
abodmicheal Apr 19, 2022
6b3652c
news
abodmicheal Apr 19, 2022
f38b629
new upload
abodmicheal Apr 19, 2022
eecd172
Merge pull request #333 from abodmicheal/patch-1
abodmicheal Apr 19, 2022
da52a91
revert to working statw
eonwarped Apr 19, 2022
93077e0
fresh start
abodmicheal Apr 19, 2022
665516f
Merge pull request #334 from hive-engine/abodmicheal-fresh-patch
abodmicheal Apr 19, 2022
8140485
fresh start update
abodmicheal Apr 19, 2022
497a923
Merge pull request #335 from hive-engine/abodmicheal-fresh-patch-1
abodmicheal Apr 19, 2022
c7662e5
link update
abodmicheal Apr 19, 2022
00fe292
Merge pull request #336 from hive-engine/abodmicheal-fresh-patch-2
abodmicheal Apr 19, 2022
00d998d
fresh update for DM
abodmicheal Apr 20, 2022
567f57b
Merge pull request #337 from hive-engine/abodmicheal-fresh-patch-3
abodmicheal Apr 20, 2022
ea9b09a
Update index.jsx
abodmicheal Apr 20, 2022
b8382bb
final
abodmicheal Apr 20, 2022
80bf35a
Merge pull request #338 from hive-engine/abodmicheal-fresh-patch-final-1
abodmicheal Apr 20, 2022
b34ba66
Update index.jsx
abodmicheal Apr 21, 2022
96b1507
Merge pull request #339 from hive-engine/abodmicheal-fresh-patch-final-2
abodmicheal Apr 21, 2022
e1bd770
Update Topics.jsx
abodmicheal May 4, 2022
105a6c5
Merge pull request #340 from hive-engine/abodmicheal-fresh-patch-new-1
abodmicheal May 4, 2022
1dd0d93
fix extra return
eonwarped May 5, 2022
4d776a4
Updated T
abodmicheal May 5, 2022
94761da
Merge pull request #341 from hive-engine/abodmicheal-fresh-patch-new-2
abodmicheal May 5, 2022
a2ad27e
new test
abodmicheal May 5, 2022
8a7e418
Merge pull request #342 from hive-engine/abodmicheal-patch-5
abodmicheal May 5, 2022
842b72d
small tweak
eonwarped May 9, 2022
793662d
Dark toggle label
abodmicheal Jun 24, 2022
561f9ec
Merge pull request #346 from abodmicheal/scotty_build2
abodmicheal Jun 24, 2022
da6ce4a
update assets
abodmicheal Jun 24, 2022
52888f1
Merge pull request #347 from abodmicheal/scotty_build2
abodmicheal Jun 24, 2022
17054a4
New update for build-it
abodmicheal Jun 28, 2022
990ef3a
Merge pull request #348 from abodmicheal/scotty_build2
abodmicheal Jun 28, 2022
0295335
Update faq.md
abodmicheal Jun 28, 2022
a25075e
Merge pull request #349 from abodmicheal/scotty_build2
abodmicheal Jun 28, 2022
1764945
NEW UPDATE
abodmicheal Jun 28, 2022
8c0ade4
Merge pull request #350 from abodmicheal/scotty_build2
abodmicheal Jun 28, 2022
7059fc5
new push
abodmicheal Jun 28, 2022
2cf4643
Merge pull request #351 from abodmicheal/scotty_build2
abodmicheal Jun 28, 2022
a2c53ff
package and yarn update
abodmicheal Jun 29, 2022
58c682e
Merge pull request #352 from abodmicheal/scotty_build2
abodmicheal Jun 29, 2022
3114f0c
new img
abodmicheal Jun 30, 2022
0bdf94e
Merge pull request #353 from abodmicheal/abodmicheal-fresh-patch-final-2
abodmicheal Jun 30, 2022
fa62ab1
Merge remote-tracking branch 'origin/abodmicheal-fresh-patch-final' i…
eonwarped Jun 30, 2022
8b7ebf3
Merge branch 'scotty_build2' into abodmicheal-fresh-patch-final
eonwarped Jun 30, 2022
c378c2f
first push
abodmicheal Jun 30, 2022
73b2a82
Merge pull request #354 from hive-engine/abodmicheal-first-patch-1
abodmicheal Jun 30, 2022
ffd64a9
first batch phase two final
abodmicheal Jun 30, 2022
c057c49
new t
abodmicheal Oct 5, 2024
95a9451
new komit
abodmicheal Oct 5, 2024
ab58308
try new lock file
eonwarped Oct 5, 2024
c85e2c5
new domain
abodmicheal Oct 5, 2024
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
25 changes: 16 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@ language: node_js
node_js:
- 12

services:
- docker

before_install:
#install heroku CLI
- wget -qO- https://toolbelt.heroku.com/install.sh | sh

script:
- yarn run test
- docker build -t registry.heroku.com/scotbuild/web .

deploy:
provider: script
script:
bash docker_push
on:
branch: scotty_build2

# safelist
branches:
only:
- master
- scotty_aaa
- scotty_actnearn
- scotty_bloque64
- scotty_pal
- scotty_spt
- scotty_steemcoinpan
- scotty_weedcash
- scotty_build2
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 development
FROM node:16.9.1 as development

WORKDIR /var/app

Expand All @@ -19,7 +19,7 @@ FROM development 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.9.1 as production

WORKDIR /var/app

Expand Down
122 changes: 122 additions & 0 deletions add_new.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@

echo $1 # lowercase token
echo $2 # app name

mkdir -p src/app/assets/static/$1
cp src/app/assets/static/dunk/manifest.json src/app/assets/static/$1/manifest.json
sed -i -e "s!dunk!$1!" src/app/assets/static/$1/manifest.json
sed -i -e "s!DunkSocial!$2!" src/app/assets/static/$1/manifest.json

THEMES=$(cat <<END_HEREDOC
\$themes: (
$1-light: (
colorAccent: \$color-$1,
colorAccentHover: \$color-$1,
colorAccentReverse: \$color-blue-black,
colorWhite: \$color-white,
backgroundColor: \$color-background-off-white,
backgroundColorEmphasis: \$color-background-almost-white,
backgroundColorOpaque: \$color-background-off-white,
backgroundTransparent: transparent,
moduleBackgroundColor: \$color-white,
menuBackgroundColor: \$color-background-dark,
moduleMediumBackgroundColor: \$color-transparent,
navBackgroundColor: \$color-white,
highlightBackgroundColor: #f3faf0,
tableRowEvenBackgroundColor: #f4f4f4,
border: 1px solid \$color-border-light,
borderLight: 1px solid \$color-border-light-lightest,
borderDark: 1px solid \$color-text-gray,
borderAccent: 1px solid \$color-$1,
borderDotted: 1px dotted \$color-border-light,
borderTransparent: transparent,
iconColorSecondary: #cacaca,
textColorPrimary: \$color-text-dark,
textColorSecondary: \$color-text-gray,
textColorAccent: \$color-$1,
textColorAccentHover: \$color-$1,
textColorError: \$color-text-red,
contentBorderAccent: \$color-$1,
buttonBackground: \$color-blue-black,
buttonBackgroundHover: \$color-$1,
buttonText: \$color-text-white,
buttonTextShadow: 0 1px 0 rgba(0,0,0,0.20),
buttonTextHover: \$color-white,
buttonBoxShadow: \$color-$1,
buttonBoxShadowHover: \$color-blue-black,
modalBackgroundColor: \$color-white,
modalTextColorPrimary: \$color-text-dark,
),
$1-dark: (
colorAccent: \$color-$1,
colorAccentHover: \$color-$1,
colorAccentReverse: \$color-white,
colorWhite: \$color-white,
backgroundColor: \$color-background-dark,
backgroundColorEmphasis: \$color-background-super-dark,
backgroundColorOpaque: \$color-blue-dark,
moduleBackgroundColor: \$color-background-dark,
backgroundTransparent: transparent,
menuBackgroundColor: \$color-blue-dark,
moduleMediumBackgroundColor: \$color-background-dark,
navBackgroundColor: \$color-background-dark,
highlightBackgroundColor: \$color-blue-black-darkest,
tableRowEvenBackgroundColor: #212C33,
border: 1px solid \$color-border-dark,
borderLight: 1px solid \$color-border-dark-lightest,
borderDark: 1px solid \$color-text-gray-light,
borderAccent: 1px solid \$color-$1,
borderDotted: 1px dotted \$color-border-dark,
borderTransparent: transparent,
iconColorSecondary: \$color-text-gray-light,
textColorPrimary: \$color-text-white,
textColorSecondary: \$color-text-gray-light,
textColorAccent: \$color-$1,
textColorAccentHover: \$color-$1,
textColorError: \$color-text-red,
contentBorderAccent: \$color-$1,
buttonBackground: \$color-white,
buttonBackgroundHover: \$color-$1,
buttonText: \$color-blue-dark,
buttonTextShadow: 0 1px 0 rgba(0,0,0,0),
buttonTextHover: \$color-white,
buttonBoxShadow: \$color-$1,
buttonBoxShadowHover: \$color-white,
inputPriceWarning: rgba(255, 153, 0, 0.83),
modalBackgroundColor: \$color-white,
modalTextColorPrimary: \$color-text-dark,
),
END_HEREDOC
)

sed -i -e "s!\$themes: (!$(echo "$THEMES" | sed ':a;N;$!ba;s/\n/\\n/g')!" src/app/assets/stylesheets/_themes.scss

THEMES2=$(cat <<END_HEREDOC

.theme-$1-light {
background-color: \$white;
color: \$color-text-dark;
@include MQ(M) {
background-color: \$color-background-off-white;
}
}

.theme-$1-dark {
background-color: \$color-background-dark;
color: \$color-text-white;
.button.hollow {
&:hover, &:focus {
border-color: \$color-$1;
color: \$color-$1;
outline-color: \$color-$1;
}
}
}
END_HEREDOC
)

echo "$THEMES2" >> src/app/assets/stylesheets/_themes.scss

echo "Find and place color in src/app/assets/stylesheets/_variables.scss"


9 changes: 9 additions & 0 deletions clean_config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

git checkout HEAD src/app/client_config.js

git rm -rf src/app/assets/images
git checkout HEAD src/app/assets/images
git rm -rf src/app/assets/static
git checkout HEAD src/app/assets/static
git checkout HEAD src/app/assets/stylesheets
1 change: 1 addition & 0 deletions config/custom-environment-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
}
},
"img_proxy_prefix": "SDC_IMAGE_PROXY_PREFIX",
"hive_img_proxy_prefix": "SDC_HIVE_IMAGE_PROXY_PREFIX",
"mixpanel": "SDC_MIXPANEL",
"notify": {
"gcm_key": "SDC_NOTIFY_GCM_KEY"
Expand Down
14 changes: 8 additions & 6 deletions config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"helmet": {
"directives": {
"childSrc": "'self' 3speak.tv emb.d.tube player.twitch.tv www.youtube.com staticxx.facebook.com w.soundcloud.com player.vimeo.com",
"connectSrc": "wss://ws.beechat.hive-engine.com https://beechat.hive-engine.com https://accounts.hive-engine.com https://history.steem-engine.net https://servedby.revive-adserver.net https://anyx.io https://steemd.minnowsupportproject.org https://cdn.snax.one https://api.hive-engine.com https://ha.herpc.dtools.dev https://api.steem-engine.net https://scot-api.hive-engine.com https://scot-api.steem-engine.net https://steemitimages.com https://images.hive.blog securepubads.g.doubleclick.net 'self' steemit.com https://api.steemit.com https://api.hive.blog api.blocktrades.us https://hivesigner.com https://pagead2.googlesyndication.com http://adservice.google.com https://www.google-analytics.com https://api.openhive.network https://www.reddit.com https://gist.github.com",
"connectSrc": "wss://ws.beechat.hive-engine.com https://beechat.hive-engine.com https://accounts.hive-engine.com https://history.steem-engine.net https://servedby.revive-adserver.net https://anyx.io https://steemd.minnowsupportproject.org https://cdn.snax.one https://smtscot.cryptoempirebot.com https://ha.smt-api.dtools.dev https://api.hive-engine.com https://api2.hive-engine.com https://ha.herpc.dtools.dev https://api.steem-engine.net https://hetest.cryptoempirebot.com https://scot-api.hive-engine.com https://scot-api.steem-engine.net https://steemitimages.com https://images.hive.blog securepubads.g.doubleclick.net 'self' steemit.com https://api.steemit.com https://api.hive.blog api.blocktrades.us https://hivesigner.com https://pagead2.googlesyndication.com http://adservice.google.com https://www.google-analytics.com https://api.openhive.network https://www.reddit.com https://gist.github.com",
"defaultSrc": "tpc.googlesyndication.com 'self' img.3speakcontent.online emb.d.tube www.youtube.com staticxx.facebook.com player.vimeo.com *.streamrail.com",
"fontSrc": "data: fonts.gstatic.com cdn.embedly.com",
"fontSrc": "data: 'self' fonts.gstatic.com cdn.embedly.com",
"frameAncestors": "'none'",
"frameSrc": "'self' googleads.g.doubleclick.net https:",
"imgSrc": "* data:",
Expand All @@ -21,6 +21,7 @@
"setAllHeaders": true
},
"img_proxy_prefix": "https://images.hive.blog/",
"hive_img_proxy_prefix": "https://images.hive.blog/",
"ipfs_prefix": false,
"mixpanel": false,
"notify": {
Expand All @@ -35,14 +36,15 @@
"session_cookie_key": "hive-dev",
"session_key": "haRYmEDmAndOgRempfLetIVI",
"site_domain": "hive.blog",
"upload_image": false,
"steemd_connection_client": "https://api.steemit.com",
"steemd_connection_server": "https://api.steemit.com",
"upload_image": "https://images.hive.blog",
"hive_upload_image": "https://images.hive.blog",
"steemd_connection_client": "https://api.hive.blog",
"steemd_connection_server": "https://api.hive.blog",
"hive_connection_client": "https://api.hive.blog",
"hive_connection_server": "https://api.hive.blog",
"steemd_use_appbase": true,
"chain_id": "0000000000000000000000000000000000000000000000000000000000000000",
"alternative_api_endpoints": "https://api.openhive.network https://api.hive.blog https://anyx.io",
"alternative_api_endpoints": "https://api.openhive.network https://api.hive.blog",
"failover_threshold": 3,
"address_prefix": "STM",
"conveyor_posting_wif": false,
Expand Down
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sudo docker build -t registry.heroku.com/scotbuild/web .

sudo docker push registry.heroku.com/scotbuild/web:latest

heroku container:release web --app scotbuild
7 changes: 7 additions & 0 deletions docker_push
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
echo "Docker Login"
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin registry.heroku.com
echo "Docker Push"
docker push registry.heroku.com/scotbuild/web:latest
echo "Heroku Release"
heroku container:release web --app scotbuild
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@babel/preset-react": "^7.0.0",
"@babel/register": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@hive-engine/sscjs": "^0.0.9",
"@hiveio/hive-js": "^2.0.4",
"@hiveio/hivescript": "^1.2.0",
"@livechat/ui-kit": "0.2.13",
Expand Down Expand Up @@ -145,7 +146,6 @@
"slate-trailing-block": "0.2.4",
"speakingurl": "9.0.0",
"squarify": "1.1.0",
"@hive-engine/sscjs": "^0.0.9",
"statsd-client": "0.4.2",
"steem": "0.7.9",
"steemscript": "1.1.1",
Expand Down Expand Up @@ -212,7 +212,7 @@
"koa-webpack-hot-middleware": "1.0.3",
"lint-staged": "6.0.0",
"mock-local-storage": "1.0.5",
"node-sass": "4.13.1",
"node-sass": "6.x.x",
"node-watch": "0.5.5",
"picturefill": "3.0.2",
"prettier": "1.8.2",
Expand All @@ -233,7 +233,7 @@
"webpack-livereload-plugin": "1"
},
"engines": {
"node": "12.x",
"node": "16.x",
"yarn": "1.x"
},
"lint-staged": {
Expand Down
6 changes: 3 additions & 3 deletions src/app/Main.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function runApp(initial_state) {
});

window.$STM_Config = config;
plugins(config);
plugins(config, initial_state.app.hostConfig);
if (initial_state.offchain.serverBusy) {
window.$STM_ServerBusy = true;
}
Expand Down Expand Up @@ -153,11 +153,11 @@ if (!window.Intl) {
window.IntlPolyfill = window.Intl = require('intl/dist/Intl');
require('intl/locale-data/jsonp/en-US.js');
require('intl/locale-data/jsonp/es.js');
require('intl/locale-data/jsonp/ru.js');
require('intl/locale-data/jsonp/fr.js');
require('intl/locale-data/jsonp/it.js');
require('intl/locale-data/jsonp/ko.js');
require('intl/locale-data/jsonp/ja.js');
require('intl/locale-data/jsonp/ko.js');
require('intl/locale-data/jsonp/ru.js');
Iso.bootstrap(runApp);
},
'IntlBundle'
Expand Down
3 changes: 3 additions & 0 deletions src/app/Translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ tt.registerTranslations('pl', require('app/locales/pl.json'));
tt.registerTranslations('ja', require('app/locales/counterpart/ja'));
tt.registerTranslations('ja', require('app/locales/ja.json'));

tt.registerTranslations('ua', require('app/locales/counterpart/ua'));
tt.registerTranslations('ua', require('app/locales/ua.json'));

if (process.env.NODE_ENV === 'production') {
tt.setFallbackLocale('en');
}
Expand Down
Loading