Commit Graph

377 Commits

Author SHA1 Message Date
@wwwjim
04d0ca5b72 createSlateActivityForEachSubscriber, createSlateObjectActivityForEachSubscriber 2020-11-26 00:00:33 -08:00
@wwwjim
8659025d18 zero warning design system builds 2020-11-25 15:53:25 -08:00
@wwwjim
021a0a4354 adjusted logging 2020-11-25 01:47:29 -08:00
@wwwjim
57b2f5e1a2 Single websocket create call, properly uses globals, cleans up logs 2020-11-24 19:39:35 -08:00
Martina
3bf2944565 added db cleanup methods 2020-11-22 18:32:42 -08:00
@wwwjim
4c09447788 fixes create-or-update-stats 2020-11-22 00:38:18 -08:00
@wwwjim
06c470df0d enables stats tracking 2020-11-22 00:10:05 -08:00
@wwwjim
ee6931befa removes power.info, power.health, fixes wallets, fixes filecoin scenes 2020-11-21 23:58:13 -08:00
@wwwjim
b331975d84 adds monitors for trusting a peer 2020-11-21 23:27:00 -08:00
@wwwjim
47f24ab8cf storageDealRecords instead of listStorageDealRecords 2020-11-21 17:23:56 -08:00
@wwwjim
82cbca5e5d use getOrCreate correctly by passing in an undefined thread name as the second argument 2020-11-21 14:25:29 -08:00
@wwwjim
2b01f9fca7 cleans up logging 2020-11-21 12:56:24 -08:00
@wwwjim
9de085ba36 buckets init still failing with await 2020-11-21 11:00:50 -08:00
@wwwjim
746876a2bc emergency takedown + simplifies to getOrCreate from Textile 2020-11-21 08:49:01 -08:00
Martina
ac35c005ca fixed duplication bug 2020-11-20 15:12:31 -08:00
Martina
715f464219 moved upload to userbehavior file 2020-11-20 15:12:31 -08:00
tarafanlin
dbd5515100 fixing function 2020-11-20 00:04:30 -08:00
tarafanlin
67408b94ac check env to see if in prod 2020-11-19 21:47:29 -08:00
tarafanlin
14bf4d3185 replace test slates ids with slates exists in prod 2020-11-19 18:29:29 -08:00
Martina
7ea0e8d99b edited code to accomodate cid instead of ipfs 2020-11-19 15:39:05 -08:00
Martina
5de86b0708 changed to accomodate new database changes 2020-11-19 14:14:34 -08:00
tarafanlin
f7b5e69bd4 file preview image uploader 2020-11-18 21:14:18 -08:00
Martina
d5eb844c99 added endpoint for updating file 2020-11-18 21:14:18 -08:00
Martina
f3c821f5a3 no longer two application header popups at once 2020-11-18 19:00:59 -08:00
Martina
8b33b787ea now deletes from all reposted slates when delete a file 2020-11-18 18:51:27 -08:00
martinalong
f3a3da38c8
Merge pull request #421 from filecoin-project/@tarafanlin/newprofile
empty profile view & styling tweaks
2020-11-18 15:59:56 -08:00
@wwwjim
eb701fd26e cleaner shouldViewerRedirect 2020-11-17 12:46:54 -08:00
@wwwjim
dcfa36fafa shouldViewerRedirect 2020-11-17 12:36:36 -08:00
Martina
eab3b898ac fixed external rerouting when not acutally logged in 2020-11-17 12:07:40 -08:00
jimmylee
83ba2b6a85 adds method to get libp2p tokens back when user accounts are deleted from Slate 2020-11-17 00:03:49 -08:00
jimmylee
36ebf5a823 create-orphan 2020-11-16 23:59:11 -08:00
jimmylee
48a93e10bd adds stubbed out stats table data 2020-11-16 23:57:22 -08:00
jimmylee
1acdf6dd39 prettier 2020-11-16 23:54:54 -08:00
jimmylee
bb01d4afd6 create-or-update-stats 2020-11-16 23:53:59 -08:00
tarafanlin
acd89f3e9e empty profile view & styling tweaks 2020-11-16 23:12:35 -08:00
Martina
349fc0f66a redirecting to in-client page automatic 2020-11-16 18:11:24 -08:00
@wwwjim
9f4cf83b04 adds more activity events 2020-11-16 00:30:40 -08:00
@wwwjim
1eaf6c140e Lands early version of activity/analytics categories 2020-11-16 00:07:11 -08:00
Martina
a7576b030b many misc improvements and fixes 2020-11-12 14:37:07 -08:00
jimmylee
c1ec3a982c finally lands default storage config for root bucket 2020-11-12 02:51:48 -08:00
Martina
ab15515df0 search v2 minus some tags 2020-11-10 17:46:03 -08:00
jimmylee
b93d36dc8f removes unused upload code from codebase now that we have https://github.com/slate-engineering/shovel 2020-11-07 17:16:56 -08:00
Martina
94f6645dd9 replaced rehydrate with webhooks 2020-10-30 16:17:55 -07:00
@wwwjim
3ba1f518c9 enforces an allowed host 2020-10-29 11:39:40 -07:00
@wwwjim
763bb14f72 get objects that have a CID from slates query 2020-10-28 23:03:12 -07:00
@wwwjim
5f3da97cce websockets: partial viewer updates are now supported 2020-10-26 21:41:42 -07:00
Martina
6b44cc6811 added backend for onboarding 2020-10-25 19:14:03 -07:00
@wwwjim
7169ebda8a adds pubsub resource uri placeholder 2020-10-24 13:05:13 -07:00
@wwwjim
15fa57c2df supports custom resource URIs for two upload endpoints 2020-10-23 03:34:31 -07:00
Martina
c35bfd4de8 small nits 2020-10-21 22:38:37 -07:00
Martina
a6a8f24dde slate layout finished 2020-10-21 15:54:01 -07:00
Martina
d2e002befe working on delete-reposts-by-cid 2020-10-21 13:26:17 -07:00
Martina
3786311d77 slate layout resize and move functions 2020-10-21 13:26:17 -07:00
@wwwjim
dda2ec8bf9 get all deals API call 2020-10-19 09:47:45 -07:00
@wwwjim
491a5bda8f follows textiles recommendation to not allow a deal under 100mb 2020-10-18 21:15:26 -07:00
jimmylee
ba5037da21 storage deals: every user can see a list of their storage deals and if they are retrievable 2020-10-18 12:53:59 -07:00
@wwwjim
d0c0d750e0 upload: don't force pushPath to do things it doesnt want to do 2020-10-10 15:24:05 -07:00
@wwwjim
b89062fa2c uploads: might have solved everything 2020-10-10 01:41:50 -07:00
@wwwjim
ba294b3043 speeds up filecoin-viewer by removing useless calls for now 2020-10-09 22:17:07 -07:00
@wwwjim
140db503eb uploads: signfiicant error handling improvements, catches error in client where failed uploads would be pushed into another operation 2020-10-09 22:12:28 -07:00
@wwwjim
e393b4aa62 105 second file upload limit to help catch issues 2020-10-09 18:22:03 -07:00
@wwwjim
10f2a4ac59 enforcing single concurrency to avoid maybe throwing bad data at buckets 2020-10-09 11:46:42 -07:00
@wwwjim
e15815e3b3 unpipe the pipe 2020-10-08 19:32:30 -07:00
@wwwjim
901c82f0c2 textile/hub 1.1.1 and nextjs 9.5.4 2020-10-08 17:40:26 -07:00
jimmylee
bdaed6c1f8 analytics: creates a file with user performance information 2020-10-08 14:19:15 -07:00
@wwwjim
beb49cd31e upload: cleans up error handling 2020-10-07 03:02:08 -07:00
@wwwjim
e7e2cc9ecf scripts: recreate-bucket-bug scaffolding 2020-10-06 12:07:43 -07:00
@wwwjim
51987e9112 removes unnecessary floor 2020-10-05 16:44:05 -07:00
@wwwjim
770679f407 patches: fixes some issues with getRandomSlateElementURL 2020-10-05 16:39:43 -07:00
CAKE
502dc9a856
Merge pull request #354 from toastts/@toastts/randomized-avatar
added randomized avatar fucntion
2020-10-05 16:30:58 -07:00
toast
09ad9cfa55 added randomized avatar function 2020-10-05 15:33:37 -07:00
@wwwjim
6826c3fef7 memory increase may fix it 2020-10-04 21:35:42 -07:00
Martina
e77b261a29 fixed linking bug 2020-09-28 21:50:11 -07:00
@wwwjim
da87e1ae60 settings: directory option 2020-09-28 14:30:18 -07:00
Martina
96f3f88665 allows duplicate slates now 2020-09-28 13:14:07 -07:00
@wwwjim
35a085f3fc all bucket deals are off cloned buckets, either open or encrypted based on user settings, user defaults are not to participate in automatic storage 2020-09-28 10:48:49 -07:00
@wwwjim
c3a0815a17 slate: removes unused method updateDataFilecoin 2020-09-27 15:34:28 -07:00
@wwwjim
ad7c573752 small refactor to getBucketAPIFromUserToken 2020-09-26 19:08:07 -07:00
@wwwjim
cd7a05c949 fixes bug with type 2020-09-26 17:40:32 -07:00
@wwwjim
490e9cffb5 filecoin: allow the option in user accounts for us to make filecoin deals on a user behalf, and also to encrypt or not encrypt 2020-09-26 16:40:50 -07:00
@wwwjim
99aa58f3f5 encrypted buckets: encrypted buckets in production 2020-09-25 10:40:54 -07:00
@wwwjim
a1aff048cf refactors: prepares for encrypted bucket 2020-09-24 23:42:28 -07:00
@wwwjim
92f5c32a16 fixes issue with looking at wrong bucket for items 2020-09-24 00:10:16 -07:00
@wwwjim
f6751bfe62 filecoin experience improvements 2020-09-23 12:46:56 -07:00
@wwwjim
7d76480340 v1: one off storage deal 2020-09-23 04:17:56 -07:00
@wwwjim
d1ef6534af new bucket for deal making 2020-09-23 02:46:59 -07:00
@wwwjim
8111960652 adjustments: lands some adjustments to storage deals on the Filecoin Network through slate before landing one-off deals 2020-09-22 19:35:56 -07:00
@wwwjim
d72d2147b0 only null is serializable 2020-09-22 18:24:00 -07:00
@wwwjim
c9d50047c4 getBucketAPIFromUserToken: updates, more logging 2020-09-22 17:34:17 -07:00
Andrew Hill
bf70a7f182
fix(code): move root init
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 15:19:44 -07:00
Andrew Hill
12a77dfa88
fix(code): no buckets
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 15:10:17 -07:00
Andrew Hill
ce39de2b25
fix(code): add const
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 15:08:15 -07:00
Andrew Hill
5cc3cc0f7e
fix(imports): adds ThreadID
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 15:05:58 -07:00
Andrew Hill
4d38b20ba6
fix(logs): add temp threadID log
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 14:56:55 -07:00
Andrew Hill
a143844f50
fix(api): correct return types
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 14:39:57 -07:00
Andrew Hill
4b2a7f5867
fix(api): bucket name no longer returned
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 14:39:13 -07:00
Andrew Hill
0cd90fce65
fix(lint): remove conflict flag
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 14:37:05 -07:00
Andrew Hill
157151ef57
fix(api): directly use thread client to generate bucket thread if not exist
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-22 14:35:49 -07:00
@wwwjim
7b10703821 buckets: elegant failure modes for bucket getOrCreate failures 2020-09-22 00:01:48 -07:00
@wwwjim
50e62a40be trying to catch what stalls downloads on production 2020-09-21 19:31:17 -07:00
@wwwjim
fd1452316b cleans up reporting 2020-09-21 18:06:26 -07:00
@wwwjim
3ba9962d81 guards every single textile call and provides concise reporting at each callsite 2020-09-21 17:36:45 -07:00
Martina
bcdc480d09 fixed ipfs / cid 2020-09-21 16:20:24 -07:00
Martina
3e2104e4c1 finished upload parallelization 2020-09-21 15:21:50 -07:00
Martina
29a8c0f685 endpoints work but not saving data to user 2020-09-21 15:21:50 -07:00
Martina
1881973493 refactored upload and drop to share an upload portion 2020-09-21 15:21:50 -07:00
Martina
f9d1092c76 before refactoring add-url and file-utilities 2020-09-21 15:21:50 -07:00
@wwwjim
77edea86e4 50gb to 4gb for now since no one is hitting 50 yet 2020-09-19 15:50:03 -07:00
@wwwjim
025241801d getOrCreate 2020-09-17 21:08:37 -07:00
@wwwjim
15c72de1ef here we go 2020-09-17 18:18:42 -07:00
CAKE
d30d1be565
Merge pull request #239 from filecoin-project/@textile/staging
@textile/staging - The Filecoin Branch
2020-09-17 14:15:05 -07:00
@wwwjim
a8bc911c80 0.7.1 2020-09-17 14:14:34 -07:00
Martina
73f8d31f96 added twitter to support 2020-09-17 11:37:29 -07:00
@wwwjim
6af315732a staging: all textile staging changes 2020-09-16 18:14:32 -07:00
Martina
d489c95c0b added amount stored to support message 2020-09-16 16:26:15 -07:00
@wwwjim
cef9ffbe79 support: adds webhook key env variable 2020-09-16 11:44:18 -07:00
Martina
1cbe038193 fixed user/slate deletion bug 2020-09-12 23:51:47 -07:00
Martina
aac943503f fixed navigation tooltip bug and various style improvements 2020-09-12 15:47:38 -07:00
Andrew Hill
0a4ce7cca9
chore(api): use path based ipfs gateway not subdomain
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-09-11 20:43:28 -07:00
jimmylee
b405cdddfd social: slack messages to fil-slate-social whenever an account is created or a user creates a slate 2020-09-10 20:28:23 -07:00
@wwwjim
91a2635446 strings: zeroPad method 2020-09-09 01:29:21 -07:00
@wwwjim
4daa910c44 env: adds a new environment variable in preparation for staging, if it exists, you will be using staging 2020-09-08 21:51:31 -07:00
Martina
afad702467 added followers viewing 2020-09-06 15:30:42 -07:00
@wwwjim
a5f4a23892 usernames: prevents any possibility of capitalization 2020-09-03 09:19:52 -07:00
@wwwjim
aa948a60f8 slate: back to a stable place 2020-09-02 23:00:02 -07:00
@wwwjim
11ada40c1e powergate: removes unused powergate methods 2020-09-02 18:00:13 -07:00
@wwwjim
ba48cfba21 slate: hopefully resolves issues 2020-09-02 17:35:41 -07:00
@wwwjim
a0d8fad3be CORS: removes redundant CORS configuration 2020-09-02 14:07:45 -07:00
@wwwjim
757e38f91e server: for retrieving sets, more elegant failures when the database connection limit is hit 2020-08-31 16:47:53 -07:00
martinalong
37f17fa51b
Revert "Revert "In-client profiles / slates + directory tab"" 2020-08-31 11:19:46 -07:00
martinalong
bf55712f86
Merge pull request #190 from filecoin-project/@martinalong/profiles
Serializer bug fix
2020-08-31 11:13:12 -07:00
Martina
2946328b47 serializer bug fix 2020-08-31 11:10:42 -07:00
martinalong
6cbb8b65cb
Revert "In-client profiles / slates + directory tab" 2020-08-30 22:08:40 -07:00
Martina
3621703d44 fix for pendingTrusted bug 2020-08-30 20:49:12 -07:00
jimmylee
004dc0a715 versions: nextjs 9.5.2, react 16.13.1, textilehub 0.6.2 2020-08-30 13:14:56 -07:00
jimmylee
9429e1c963 serializers: prevent explosions 2020-08-30 12:56:45 -07:00
jimmylee
e9deacda3c serializing: protects against new users making needless db requests 2020-08-30 12:10:01 -07:00
jimmylee
7e1131cd01 directory: finishes serializing owner and slates to users and slates 2020-08-30 02:07:21 -07:00
@wwwjim
a0082a7be5 sidebar: stubs out filecoin archive feature 2020-08-27 23:57:04 -07:00
@wwwjim
84061f07e2 serializers: user objects on trusted, pending trusted, subscriber objects 2020-08-27 21:34:50 -07:00
@wwwjim
76c9e5e10e serializer: adds a serialize for subscriptions for @martinalong to evaluate 2020-08-27 16:20:04 -07:00
@wwwjim
8039d31192 slates: adds an easy way to get every user and every slate (use with caution) 2020-08-27 15:05:20 -07:00
@wwwjim
ab15d09572 slates: deeplinking 2020-08-26 21:24:49 -07:00
@wwwjim
b76d7735dc trust: adds pending trust requests and verification step, completes integration example 2020-08-26 03:03:39 -07:00
@wwwjim
e96810d327 subscribe: catches corner cases, makes sure search does not reveal private slates 2020-08-25 20:32:40 -07:00
@wwwjim
0af4431bd3 integration: example subscribe and unsubscribe endpoints with ui example 2020-08-25 20:13:06 -07:00
@wwwjim
bcf7398939 search: safe search 2020-08-25 18:34:32 -07:00
@wwwjim
c5a9ba9294 search: lands fuzzy slatename and username search into one search endpoint 2020-08-25 18:27:05 -07:00
@wwwjim
785cecaeb6 viewer: adds trusted relationships, subscriptions, and activity to the viewer model 2020-08-25 15:24:01 -07:00
@wwwjim
d8c165e342 subscriptions: subscription endpoint for subscribing to a slate or user 2020-08-25 15:09:12 -07:00
@wwwjim
9b73c7f8f9 node_common: fixes issue with misnamed path 2020-08-25 14:26:03 -07:00
@wwwjim
8bd1d76c1f postgres: adds trusted relationship and activity queries 2020-08-25 14:23:45 -07:00
@wwwjim
1e628725fa slates: get-subscriptions-to-slate-id and get-subscriptions-to-user-id 2020-08-25 13:42:14 -07:00
@wwwjim
835898d5f9 subscriptions: queries for subscriptions 2020-08-25 13:26:15 -07:00
Andrew Hill
d5a3447dad
feat(api): skip ipfs subdomain redirect
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-08-25 10:46:41 -07:00
@wwwjim
5542f76888 slate: cleans up state, guarantees JSON response from endpoints, updates server code 2020-08-24 23:46:02 -07:00
@wwwjim
bd6dc4ca30 name: allows the option of adding your fullname 2020-08-24 22:00:32 -07:00
jimmylee
719bb49cb6 powergate: removes powergate temporarily 2020-08-23 23:32:26 -07:00
jimmylee
d466927624 hotfix: fixes server crashing conditions 2020-08-22 18:32:41 -07:00
@wwwjim
71dcb58a1b profiles: adds user bios 2020-08-21 22:45:50 -07:00
@wwwjim
42afbb8eaa refactors: textile service uptime check 2020-08-19 22:57:46 -07:00
Andrew Hill
b83ad03a47
fix(api): use newer getOrInit method
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-08-19 14:25:45 -07:00
Andrew Hill
c385d0d13e
fix(hub): update hub cli lib and use new crypto ident class
Signed-off-by: Andrew Hill <andrew@textile.io>
2020-08-19 13:44:53 -07:00
jimmylee
60a23a87e3 analytics: disables analytics temporarily 2020-08-16 22:34:30 -07:00
CAKE
41ef4c3e2f
Merge pull request #157 from filecoin-project/@colin/analytics-api-integration
Analytics API integration
2020-08-16 22:30:41 -07:00
jimmylee
9e4ca3d2ae uploads: finally streams work 2020-08-16 21:22:35 -07:00
uonai
ab825d4626 Analytics API integration 2020-08-16 20:59:06 -05:00
jimmylee
06814cd37f uploads: switches back to FS.createReadStream and uses busboy versus formidable 2020-08-16 02:23:02 -07:00
jimmylee
91f52e7ada uploads: captures error states more accurately 2020-08-15 18:32:38 -07:00
jimmylee
4007910627 uploads: removes readStreams and watermark, sends data straight to textile buckets and keeps nothing local. 2020-08-15 16:42:26 -07:00
jimmylee
2858d531e5 fetch: adds modified version of fetch with readable streams and progress 2020-08-14 03:10:14 -07:00
jimmylee
5462ecdd08 analytics: stubs out analytics manager for colin 2020-08-14 02:17:19 -07:00
jimmylee
d8a77f3578 slates: adjustments to slates table 2020-08-12 01:34:17 -07:00
@wwwjim
36fcc38bdc hotfix: fixes missing function argument 2020-08-10 22:19:02 -07:00
@wwwjim
2044b11803 authentication: adds new secrets 2020-08-10 22:15:39 -07:00
@wwwjim
e79f611fda slates: supports deleting slates 2020-08-06 19:17:49 -07:00
@wwwjim
6800d90de5 bytes: moves hardcoded byte calculation out of client 2020-08-03 19:45:59 -07:00
@wwwjim
59f64a2888 upload: lifts file upload restrictions, still needs testing 2020-08-03 18:35:31 -07:00
jimmylee
39e244897a slates: access denied for public & private slates, adds settings to slate pages 2020-08-02 16:29:11 -07:00
jimmylee
ab462f39c4 user-deletion: elegantly deletes slates and fixes bucket deletion 2020-08-02 15:06:46 -07:00
jimmylee
5d4f58eddc media object: adds PDF support, validation check to restrict certain uploads 2020-08-01 23:00:04 -07:00
jimmylee
4a842a0c42 cid-check: refactor 2020-08-01 17:13:19 -07:00
@wwwjim
934fd9d5f8 upload: refactor and improvement and shared code paths between API and upload in app 2020-07-31 17:17:07 -07:00
jimmylee
61be06634c node constants: updates grpcweb route https://grpcweb.slate.textile.io 2020-07-29 16:14:26 -07:00
@wwwjim
d1048382d7 api: lands get slate and add data to slate by id 2020-07-28 16:08:44 -07:00
@wwwjim
d3ac3599ed api keys: users can generate their own API keys now 2020-07-27 23:54:15 -07:00
@wwwjim
8315df0c04 slates: add image to slate 2020-07-27 01:33:39 -07:00
@wwwjim
e70c55f4e7 slates: creating slates 2020-07-26 18:51:51 -07:00
@wwwjim
7fcb19aa4f cleanup: spacing, new line 2020-07-25 23:42:22 -07:00
@wwwjim
a80ede160c slates: adds database retrieval, update, and creation methods 2020-07-24 17:16:35 -07:00
@wwwjim
dc25c0365a filecoin: cold storage supported, and many small bugfixes 2020-07-24 00:45:21 -07:00
@wwwjim
ad5fec1201 settings: adds loading states 2020-07-23 20:15:32 -07:00
@wwwjim
c21dca1884 library: refactor to support adding slates soon 2020-07-23 20:09:58 -07:00
@wwwjim
01d4a3dc50 cleanup: viewer 2020-07-23 17:29:44 -07:00
@wwwjim
f0cfe53c74 managers: introduces managers model for viewer 2020-07-23 17:22:22 -07:00
@wwwjim
730f5347c8 storage: integrates filecoin storage deals and cleans up powergate token setting 2020-07-23 16:56:50 -07:00
@wwwjim
9d5de9acbe deals: adds back storage deal page, simplifies file upload sidebar, adds loading state 2020-07-23 03:05:13 -07:00
@wwwjim
d11fe19bab reset password: loading states for edit account and sign in, adds reset password, adds validations to protect against light malice 2020-07-23 01:57:44 -07:00
@wwwjim
787fde8eda 0.0.6 - hosted 2020-07-22 18:25:19 -07:00
@wwwjim
711279d5b7 deploys: another attempt to catch production postgres issue by not using custom NODE_ENV for next 2020-07-22 17:07:54 -07:00