Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
6b04fa8
Implemented multifeed along with follow functionality
emozilla Jul 29, 2022
f4a3ef6
Adjustments in the amount of processed posts for each feed
emozilla Jul 29, 2022
2af35a1
Implemented detection of pointnetwork gateway
emozilla Aug 18, 2022
4f995c6
Merge branch 'PZ-365' into feature/multifeed-support
emozilla Aug 19, 2022
ba64181
Implementation of functions for like data migration
emozilla Aug 26, 2022
084e81a
Merge branch 'migration/likes' into feature/multifeed-improvements
emozilla Aug 26, 2022
84bc97d
Enabled optimizations due to smartcontract size
emozilla Aug 26, 2022
dd2e070
Included names in feed tabs
emozilla Aug 26, 2022
41c5b3c
Refactor some smartcontract functions, delete unused ones
emozilla Aug 29, 2022
5b70b3d
Implemented validation when there are no posts
emozilla Aug 29, 2022
445f0fc
Implemented tooltips with descriptions for feed tabs
emozilla Aug 29, 2022
8b9bb75
Not filter in following feed if user has not followings
emozilla Aug 29, 2022
ee20ce1
Fixed smartcontract tests, included contract size plugin
emozilla Aug 30, 2022
fe11ad0
fixed getPaginatedPosts number overflow exception
emozilla Sep 1, 2022
ec2ff83
Search comments modifications only in latest blocks
emozilla Sep 13, 2022
7056050
Fixed emoji popup placement
emozilla Sep 13, 2022
b9b6368
WIP: refactoring
emozilla Sep 16, 2022
5394ddb
WIP: contract refactoring: Implemented thread functions
emozilla Sep 21, 2022
5d39775
WIP: Finished Thread functions
emozilla Sep 22, 2022
81a870e
Smartcontract: unified Comments and Post functions into single group …
emozilla Sep 23, 2022
c3775d4
Replaced and consolidation of content functions and addes more tests
emozilla Sep 27, 2022
2bb9ec0
Cleanup unused files and components
emozilla Sep 28, 2022
871bca2
Merge branch 'task/cleanup' into feature/multifeed-improvements
emozilla Sep 28, 2022
9398941
WIP: refactor reactions
emozilla Sep 29, 2022
1e93cb5
WIP: Improved content manipulation
emozilla Sep 30, 2022
85892ec
Included Followers functions
emozilla Sep 30, 2022
f2e98f1
Fix message.sender
emozilla Sep 30, 2022
be8036a
Included legacy Post functions
emozilla Sep 30, 2022
b94eb95
Merge branch 'features/latest' into feature/contract-refactoring
emozilla Sep 30, 2022
1910ab4
Added missing function for getting profiles
emozilla Sep 30, 2022
3030275
WIP: Migrating functions to new contract calls
emozilla Sep 30, 2022
cfd1a93
Implemented new functions in Post and Feed components
emozilla Oct 4, 2022
445267e
Implemented fetch reactions for requesting user
emozilla Oct 4, 2022
2462001
Update README
emozilla Oct 4, 2022
6c086a3
Fixed reaction events
emozilla Oct 4, 2022
96faed9
Set default thread to zero
emozilla Oct 4, 2022
4a99aeb
Fixed Flag/Unflag reaction
emozilla Oct 4, 2022
8adfbdb
Implemented comment functions
emozilla Oct 4, 2022
c26b846
Implemented reactions in Comments
emozilla Oct 4, 2022
0bb3915
WIP: placeholder for reactions in comments, improved event handling, …
emozilla Oct 6, 2022
c76f9bb
Fixed comments event handling
emozilla Oct 6, 2022
db045be
Comments reply implementation
emozilla Oct 6, 2022
dddc549
Fixed dialog prompt for comment delete
emozilla Oct 6, 2022
8c96fa1
Fixes to comment components
emozilla Oct 12, 2022
f0c838e
WIP: Thread implementation
emozilla Oct 12, 2022
f500db1
WIP: External contract support
emozilla Oct 12, 2022
073324b
Changes to support new deployment options
emozilla Oct 13, 2022
c4c7614
Decomposed smartcontract into domain-specific contracts
emozilla Oct 13, 2022
dc2342e
Changes in contract names
emozilla Oct 15, 2022
d811465
Updated dependencies
emozilla Oct 15, 2022
b064571
UI implementation for Tips
emozilla Oct 15, 2022
04f4de3
Avoid query state when comparing the same user
emozilla Oct 17, 2022
5d74912
UI Improvements for Post and Comment components
emozilla Oct 17, 2022
1eeae9b
Implemented ThreadManager function calls
emozilla Oct 19, 2022
3cff79d
WIP: Thread support
emozilla Oct 22, 2022
1613ac4
Fixed pagination for topic threads feeds
emozilla Nov 3, 2022
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ npm-debug.log*
.openzeppelin

/backup
/typechain
/typechain/*
coverage.json

15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is a React JS app. So you will need to install dependencies for it and run
Since this a React JS site it rquires to be built before it can be deployed as follows:

```
npm i
npm i --legacy-peer-deps
npm run build
```

Expand All @@ -33,4 +33,15 @@ To run the tests:

```
npm test
```
```

## Deploy external contracts

To deploy PointSocialTips (external contract) in development network:

```
npx hardhat compile
export BLOCKCHAIN_HOST=localhost
npx hardhat run hardhat/scripts/deploy-tips.ts --network development
```

6 changes: 0 additions & 6 deletions babel.config.js

This file was deleted.

2 changes: 2 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
9 changes: 9 additions & 0 deletions contracts/ISocialContacts.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
pragma experimental ABIEncoderV2;

interface ISocialContacts {
function isFollowing(address _owner, address _user) external view returns (bool);
function isBlocked(address _owner, address _user) external view returns (bool);
function followingCount(address _user) external view returns (uint256);
}
7 changes: 7 additions & 0 deletions contracts/ISocialTips.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0;
pragma experimental ABIEncoderV2;

interface ISocialTips {
function sendTip(address _to) external payable;
}
Loading